@opencode/core 0.0.0-dev-20802 → 0.0.0-dev-20803
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 +82 -82
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +76 -76
- package/dist/chunks/{generate-t550f9t1.js → kv-02nrjc1r.js} +8 -8
- package/dist/chunks/{generate-mr30ete2.js → kv-097cmpqj.js} +10 -10
- package/dist/chunks/{generate-zz5gkwhc.js → kv-0f0v92e3.js} +11 -11
- package/dist/chunks/{generate-ddw8adtm.js → kv-0jxpf7nz.js} +18 -18
- package/dist/chunks/{generate-wh6pa4pr.js → kv-0krxawfx.js} +10 -10
- package/dist/chunks/{generate-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{generate-ygdna4kr.js → kv-0r3c1bmw.js} +5 -5
- package/dist/chunks/{generate-ve5n98md.js → kv-0rp0jwtv.js} +4 -4
- package/dist/chunks/{generate-0vbcp93d.js → kv-0vbcp93d.js} +2 -2
- package/dist/chunks/{generate-d1rc2nk5.js → kv-179j5xfr.js} +32 -32
- package/dist/chunks/{generate-avrb5a8f.js → kv-18eahbmf.js} +29 -29
- package/dist/chunks/{generate-0a2k6nt6.js → kv-18na98pb.js} +11 -11
- package/dist/chunks/{generate-1dvck2a7.js → kv-1dvck2a7.js} +2 -2
- package/dist/chunks/{generate-ywt8jp22.js → kv-1ffvrpkg.js} +6 -6
- package/dist/chunks/{generate-3gf64ef1.js → kv-1h7reqxf.js} +9 -9
- package/dist/chunks/{generate-bjys04xw.js → kv-1nhge9b3.js} +5 -5
- package/dist/chunks/{generate-0rhrd1mx.js → kv-1v945k49.js} +8 -8
- package/dist/chunks/{generate-bzbna6mv.js → kv-21m8jdjt.js} +15 -15
- package/dist/chunks/{generate-q4td9s0w.js → kv-29jfy9fm.js} +21 -21
- package/dist/chunks/{generate-10k4sbeq.js → kv-2k12d77b.js} +20 -20
- package/dist/chunks/{generate-2k8khapm.js → kv-2k8khapm.js} +1 -1
- package/dist/chunks/{generate-738x26ds.js → kv-2rvve3xk.js} +17 -17
- package/dist/chunks/{generate-2vvh33eb.js → kv-2vvh33eb.js} +2 -2
- package/dist/chunks/{generate-j0rgmbg7.js → kv-2ywftmzs.js} +13 -13
- package/dist/chunks/{generate-h7s7r6s9.js → kv-31xfzrxg.js} +5 -5
- package/dist/chunks/{generate-dddma69r.js → kv-332k48pc.js} +16 -16
- package/dist/chunks/{generate-zm8pnepa.js → kv-35p4wqwd.js} +20 -20
- package/dist/chunks/{generate-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-3hwn7j4h.js → kv-3hwn7j4h.js} +2 -2
- package/dist/chunks/{generate-7eta88nt.js → kv-3r5sjmkn.js} +9 -9
- package/dist/chunks/{generate-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-kev5c8bq.js → kv-3yxrtm4f.js} +21 -21
- package/dist/chunks/{generate-3zsf4n22.js → kv-3zsf4n22.js} +1 -1
- package/dist/chunks/{generate-q67wf555.js → kv-4cbvgt05.js} +19 -19
- package/dist/chunks/kv-4hj7k2fv.js +26 -0
- package/dist/chunks/{generate-hxewdwg8.js → kv-4k0mny89.js} +18 -18
- package/dist/chunks/{generate-4ts7tf6z.js → kv-4ts7tf6z.js} +2 -2
- package/dist/chunks/{generate-yvdzrz44.js → kv-55ecggx1.js} +36 -36
- package/dist/chunks/{generate-tvvfzefx.js → kv-59b1e2pm.js} +21 -21
- package/dist/chunks/{generate-qw22mnpd.js → kv-5cc8s6k5.js} +11 -11
- package/dist/chunks/{generate-5m9w47nd.js → kv-5m9w47nd.js} +1 -1
- package/dist/chunks/{generate-az8074cz.js → kv-5nbem83a.js} +35 -35
- package/dist/chunks/{generate-xx3sz52v.js → kv-5ncnyb2r.js} +45 -45
- package/dist/chunks/{generate-vpskenec.js → kv-5rmvgf7a.js} +11 -11
- package/dist/chunks/{generate-hxv1t72c.js → kv-5w6eanth.js} +9 -9
- package/dist/chunks/{generate-64xnz7ka.js → kv-67tnw0sj.js} +32 -32
- package/dist/chunks/{generate-zn71smsj.js → kv-6aq6rxq6.js} +14 -14
- package/dist/chunks/{generate-h71w788e.js → kv-6hjx5zpb.js} +9 -9
- package/dist/chunks/{generate-8sze2n9a.js → kv-6pc27hjz.js} +2 -2
- package/dist/chunks/{generate-y5rf7nzv.js → kv-6rm5yzkt.js} +4 -4
- package/dist/chunks/{generate-rm3zrwxy.js → kv-6tge909y.js} +3 -3
- package/dist/chunks/{generate-6xb47vfp.js → kv-6xb47vfp.js} +1 -1
- package/dist/chunks/{generate-zy2s649b.js → kv-70swtfkw.js} +10 -10
- package/dist/chunks/{generate-71az546q.js → kv-71az546q.js} +2 -2
- package/dist/chunks/{generate-35p1319m.js → kv-71bdkqs8.js} +24 -24
- package/dist/chunks/{generate-rqcbxq1a.js → kv-74z377kx.js} +4 -4
- package/dist/chunks/{generate-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-xz8qpa4w.js → kv-7ejdeqms.js} +14 -14
- package/dist/chunks/{generate-ne3x5nt0.js → kv-7k9f2xm5.js} +5 -5
- package/dist/chunks/{generate-6k9bjkax.js → kv-7kg1cej0.js} +5 -5
- package/dist/chunks/{generate-dtg8b4t8.js → kv-7vabrfjp.js} +13 -13
- package/dist/chunks/{generate-v92qdyrs.js → kv-7zkwb82j.js} +24 -24
- package/dist/chunks/{generate-82v73sw7.js → kv-82v73sw7.js} +3 -3
- package/dist/chunks/{generate-jmy78ssg.js → kv-845yp122.js} +6 -6
- package/dist/chunks/{generate-040e300p.js → kv-85mkkr1j.js} +15 -15
- package/dist/chunks/{generate-mh7gztz7.js → kv-86kgdsfv.js} +40 -40
- package/dist/chunks/{generate-7f6317t0.js → kv-89pw95xg.js} +17 -17
- package/dist/chunks/{generate-2m8jawch.js → kv-8c7secgm.js} +4 -4
- package/dist/chunks/{generate-sb991zfj.js → kv-8ck4qvpq.js} +8 -8
- package/dist/chunks/{generate-2q5xcbmg.js → kv-8e30trb4.js} +7 -7
- package/dist/chunks/{generate-9y1vnk5a.js → kv-8f678fnw.js} +21 -21
- package/dist/chunks/{generate-8m6m0r52.js → kv-8m6m0r52.js} +1 -1
- package/dist/chunks/{generate-39yv08j4.js → kv-8nty2cvy.js} +32 -32
- package/dist/chunks/{generate-f78h0asq.js → kv-8x2cscjj.js} +22 -22
- package/dist/chunks/{generate-sn7hzvv7.js → kv-8y0yg40f.js} +5 -5
- package/dist/chunks/{generate-693hse5b.js → kv-8yyjdjsz.js} +22 -22
- package/dist/chunks/{generate-77ec2k6j.js → kv-90ry6nhj.js} +47 -47
- package/dist/chunks/{generate-bmr56wjg.js → kv-97aeaand.js} +4 -4
- package/dist/chunks/{generate-y3n5sn10.js → kv-99hedzh4.js} +22 -22
- package/dist/chunks/{generate-9e5bzkjp.js → kv-9e5bzkjp.js} +3 -3
- package/dist/chunks/{generate-6yd3w0ys.js → kv-9z1r8vb3.js} +49 -49
- package/dist/chunks/{generate-6wahjjvf.js → kv-a2w96xvv.js} +26 -26
- package/dist/chunks/{generate-wj65xewz.js → kv-a3gjz6ta.js} +4 -4
- package/dist/chunks/{generate-zy2kf3ba.js → kv-a628wcjv.js} +11 -11
- package/dist/chunks/{generate-b823c9yx.js → kv-aah5wtyj.js} +10 -10
- package/dist/chunks/{generate-acd4vkpt.js → kv-acd4vkpt.js} +1 -1
- package/dist/chunks/{generate-zqva63ms.js → kv-aevqq3v7.js} +42 -42
- package/dist/chunks/{generate-ywyadd6g.js → kv-aewm4t7v.js} +6 -6
- package/dist/chunks/{generate-j9jrzkwn.js → kv-b1wktnxt.js} +9 -9
- package/dist/chunks/{generate-hdkng2sj.js → kv-b3f8fkhc.js} +5 -5
- package/dist/chunks/{generate-2mxs6sby.js → kv-b3ptrng8.js} +3 -3
- package/dist/chunks/{generate-cdgzgd7n.js → kv-b4qztptv.js} +16 -16
- package/dist/chunks/{generate-h8rj5qwg.js → kv-b4xjmrbp.js} +42 -42
- package/dist/chunks/{generate-4c2df9zx.js → kv-bh0zzf2s.js} +8 -8
- package/dist/chunks/{generate-79n8fvy3.js → kv-bm142rwp.js} +15 -15
- package/dist/chunks/{generate-4wyasqq7.js → kv-bn0p8pab.js} +29 -29
- package/dist/chunks/{generate-2bsqqbxy.js → kv-c32dxtt1.js} +2 -2
- package/dist/chunks/{generate-ccefhs0k.js → kv-ccthn8e8.js} +14 -14
- package/dist/chunks/{generate-9y0w708y.js → kv-cmmdg65p.js} +8 -8
- package/dist/chunks/{generate-xf6aj12n.js → kv-cyx8pe1r.js} +24 -24
- package/dist/chunks/{generate-p4mj4rdp.js → kv-czfptnv9.js} +8 -8
- package/dist/chunks/{generate-ffavjqnh.js → kv-d0xs1264.js} +38 -38
- package/dist/chunks/{generate-333bp4jv.js → kv-d6nt18tj.js} +317 -317
- package/dist/chunks/{generate-d9wzmzc3.js → kv-d9wzmzc3.js} +5 -5
- package/dist/chunks/{generate-x661k3y3.js → kv-db2wf4at.js} +4 -4
- package/dist/chunks/{generate-6n4b0dsb.js → kv-dda0p7y7.js} +9 -9
- package/dist/chunks/{generate-1dddtqd5.js → kv-dedjb6j5.js} +19 -19
- package/dist/chunks/{generate-15qqjdee.js → kv-defnq6yq.js} +4 -4
- package/dist/chunks/{generate-rhfcyxnv.js → kv-df8znrks.js} +52 -52
- package/dist/chunks/{generate-8tsdq50x.js → kv-dj68pnee.js} +4 -4
- package/dist/chunks/{generate-z19r9xh1.js → kv-dmj30839.js} +15 -15
- package/dist/chunks/{generate-xfkkasph.js → kv-drwq78ky.js} +4 -4
- package/dist/chunks/{generate-g0bjxtbg.js → kv-ds834g89.js} +26 -26
- package/dist/chunks/{generate-301myjse.js → kv-dxarthn3.js} +13 -13
- package/dist/chunks/{generate-ckf8nxjz.js → kv-e2hjzebn.js} +4 -4
- package/dist/chunks/{generate-19e0e7kb.js → kv-ec8m5png.js} +11 -11
- package/dist/chunks/{generate-eej6y6fw.js → kv-eej6y6fw.js} +2 -2
- package/dist/chunks/{generate-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-ggz0m51f.js → kv-erkwq75e.js} +20 -20
- package/dist/chunks/{generate-1ktrwf6z.js → kv-etfe1zn9.js} +22 -22
- package/dist/chunks/{generate-mmfkfzad.js → kv-ev1zapjj.js} +3 -3
- package/dist/chunks/{generate-0vf0d06q.js → kv-ewjmr5mk.js} +16 -16
- package/dist/chunks/{generate-rfnwqbfv.js → kv-exz5nhcy.js} +21 -21
- package/dist/chunks/{generate-xmm8saee.js → kv-f03pzbe3.js} +14 -14
- package/dist/chunks/{generate-n1n192bv.js → kv-f29mbr7f.js} +4 -4
- package/dist/chunks/{generate-xp6q4xkk.js → kv-f2xfasxy.js} +10 -10
- package/dist/chunks/{generate-ht8444m6.js → kv-f2y0esh4.js} +30 -30
- package/dist/chunks/{generate-kq8dkyzh.js → kv-f3a7f95v.js} +4 -4
- package/dist/chunks/kv-f81tjggh.js +18 -0
- package/dist/chunks/{generate-4casdgny.js → kv-fbwt6v8j.js} +13 -13
- package/dist/chunks/{generate-b5g2j3tj.js → kv-ffjgvd35.js} +36 -36
- package/dist/chunks/{generate-ymhyrcjp.js → kv-fgtw61v5.js} +17 -17
- package/dist/chunks/{generate-kd1kqg9s.js → kv-fj958thf.js} +19 -19
- package/dist/chunks/{generate-bd1g5m32.js → kv-fpzt6bzc.js} +12 -12
- package/dist/chunks/{generate-a0ev9wka.js → kv-fr3xav96.js} +9 -9
- package/dist/chunks/{generate-bxr6w0mz.js → kv-fr73h8xd.js} +13 -13
- package/dist/chunks/{generate-pnv261zh.js → kv-fywtqf87.js} +33 -33
- package/dist/chunks/{generate-8hf6kcjf.js → kv-fz9v4nyy.js} +7 -7
- package/dist/chunks/{generate-r70na3yp.js → kv-g686f6pq.js} +9 -9
- package/dist/chunks/{generate-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-vq6jpek4.js → kv-ggv0c9x6.js} +21 -21
- package/dist/chunks/{generate-fx7ts4ez.js → kv-ghw176k1.js} +20 -20
- package/dist/chunks/{generate-gk8qb678.js → kv-gk8qb678.js} +1 -1
- package/dist/chunks/{generate-5sc16h8r.js → kv-gktrhw02.js} +1 -1
- package/dist/chunks/{generate-k1n0z3hy.js → kv-gm31ynds.js} +5 -5
- package/dist/chunks/{generate-a09syp6w.js → kv-gn02s22d.js} +4 -4
- package/dist/chunks/{generate-pe54yqh1.js → kv-gns61vxs.js} +21 -21
- package/dist/chunks/{generate-s9k62k39.js → kv-gswrqrmx.js} +5 -5
- package/dist/chunks/{generate-8dze8v7x.js → kv-gv58btj9.js} +10 -10
- package/dist/chunks/{generate-x3rbkyt7.js → kv-gw5h0ejx.js} +14 -14
- package/dist/chunks/{generate-yn8wqzsv.js → kv-gxn7v165.js} +4 -4
- package/dist/chunks/{generate-zqmy6ekg.js → kv-gxwd64za.js} +21 -21
- package/dist/chunks/{generate-xrees0gn.js → kv-gy7jxges.js} +52 -52
- package/dist/chunks/{generate-dhrjbyf3.js → kv-h1a3h9fj.js} +22 -22
- package/dist/chunks/{generate-h2b79v29.js → kv-h2b79v29.js} +2 -2
- package/dist/chunks/{generate-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-r6qqhb6g.js → kv-h8kakj28.js} +12 -12
- package/dist/chunks/{generate-hgz4x7wa.js → kv-hgz4x7wa.js} +1 -1
- package/dist/chunks/{generate-nedy3yz4.js → kv-hw40zd5y.js} +7 -7
- package/dist/chunks/{generate-bt7cwyy0.js → kv-j3wnve26.js} +30 -30
- package/dist/chunks/{generate-j56e64zr.js → kv-j56e64zr.js} +1 -1
- package/dist/chunks/{generate-j5gt8vhk.js → kv-j61gmbbd.js} +23 -23
- package/dist/chunks/{generate-w7sz1ggq.js → kv-j78jacrw.js} +28 -28
- package/dist/chunks/{generate-6mscxrv1.js → kv-jwv7ab79.js} +6 -6
- package/dist/chunks/{generate-vvvwe9ad.js → kv-jzbvpyra.js} +9 -9
- package/dist/chunks/{generate-322rzpbc.js → kv-k2gn8633.js} +43 -43
- package/dist/chunks/{generate-b344f494.js → kv-kdn6ag71.js} +30 -30
- package/dist/chunks/{generate-40948mfj.js → kv-kgvvfrqy.js} +3 -3
- package/dist/chunks/{generate-5mmsq6kg.js → kv-khd2efa6.js} +14 -14
- package/dist/chunks/{generate-vhdmqtqh.js → kv-m31y1t78.js} +3 -3
- package/dist/chunks/{generate-m3fdjcah.js → kv-m3fdjcah.js} +1 -1
- package/dist/chunks/{generate-kr4k7vnq.js → kv-m3nz4q65.js} +12 -12
- package/dist/chunks/{generate-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-e5me55ct.js → kv-mcze36gg.js} +5 -5
- package/dist/chunks/{generate-qzns6vt9.js → kv-mfvcxhke.js} +23 -23
- package/dist/chunks/{generate-7n6g46wz.js → kv-mme951fp.js} +7 -7
- package/dist/chunks/{generate-nrgzng8j.js → kv-mw52v8dk.js} +32 -32
- package/dist/chunks/{generate-tnt8nry7.js → kv-mxcpkhvt.js} +25 -25
- package/dist/chunks/{generate-j9jwzdws.js → kv-n0dqmjd7.js} +11 -11
- package/dist/chunks/{generate-bfegkxfd.js → kv-n61013np.js} +8 -8
- package/dist/chunks/{generate-a6vqmxzv.js → kv-nhk4fd07.js} +16 -16
- package/dist/chunks/{generate-ed1g29hy.js → kv-nma959mg.js} +3 -3
- package/dist/chunks/{generate-k6aqg0zs.js → kv-nr1c2xed.js} +8 -8
- package/dist/chunks/{generate-khmqacep.js → kv-ny8edt06.js} +4 -4
- package/dist/chunks/{generate-4fmhce0x.js → kv-pc2pm9fb.js} +8 -8
- package/dist/chunks/{generate-kqwemc59.js → kv-pe0mwqpx.js} +35 -35
- package/dist/chunks/{generate-dktjxkrs.js → kv-pewbjeww.js} +12 -12
- package/dist/chunks/{generate-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{generate-g761bshh.js → kv-pn8qj2g4.js} +14 -14
- package/dist/chunks/{generate-br4sv010.js → kv-pnwf0k20.js} +35 -35
- package/dist/chunks/{generate-8whp40kv.js → kv-pt1ss6jy.js} +3 -3
- package/dist/chunks/{generate-26587ab8.js → kv-pz68ah3r.js} +22 -22
- package/dist/chunks/{generate-q0xm7vwc.js → kv-q0xm7vwc.js} +2 -2
- package/dist/chunks/{generate-3g8j9he4.js → kv-q5e7cmwt.js} +1 -1
- package/dist/chunks/{generate-6vw57f10.js → kv-q687e1zt.js} +13 -13
- package/dist/chunks/{generate-2gmwdz7g.js → kv-q6jgdmce.js} +16 -16
- package/dist/chunks/{generate-17r4ge8p.js → kv-q8jgnm4x.js} +5 -5
- package/dist/chunks/{generate-wadsfb69.js → kv-qaa9qhxv.js} +22 -22
- package/dist/chunks/{generate-pseda3cm.js → kv-qcyg9wsp.js} +20 -20
- package/dist/chunks/{generate-p5p5kne1.js → kv-qmgn8zg7.js} +2 -2
- package/dist/chunks/{generate-qnc92qwc.js → kv-qnc92qwc.js} +1 -1
- package/dist/chunks/{generate-t7f2k8tj.js → kv-qpnaxz3q.js} +4 -4
- package/dist/chunks/{generate-ee5neqfh.js → kv-qq88yzqh.js} +42 -42
- package/dist/chunks/{generate-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-4j3ft02p.js → kv-qwe2mhgr.js} +12 -12
- package/dist/chunks/{generate-31ps3q9w.js → kv-qwyj34g8.js} +33 -33
- package/dist/chunks/{generate-c765mh8b.js → kv-r2m716tb.js} +5 -5
- package/dist/chunks/{generate-axbdymsv.js → kv-r8eecgky.js} +5 -5
- package/dist/chunks/{generate-54ma36ye.js → kv-r94pvvab.js} +4 -4
- package/dist/chunks/{generate-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-vd2f6n4d.js → kv-rhf89g7g.js} +14 -14
- package/dist/chunks/{generate-d2bht23z.js → kv-rj1q5wk1.js} +32 -32
- package/dist/chunks/{generate-9x0fhj46.js → kv-rqmj2j1g.js} +22 -22
- package/dist/chunks/{generate-7202g8q2.js → kv-rrcvy1kp.js} +11 -11
- package/dist/chunks/{generate-sxz6gkc3.js → kv-ryr25ayn.js} +7 -7
- package/dist/chunks/{generate-g8jhqdkc.js → kv-ryy1tv3k.js} +50 -50
- package/dist/chunks/{generate-6c4htm7n.js → kv-s8y61785.js} +35 -35
- package/dist/chunks/{generate-pb6a046z.js → kv-sc83fajd.js} +74 -74
- package/dist/chunks/{generate-fa8r0rz5.js → kv-sdj6ye0y.js} +4 -4
- package/dist/chunks/{generate-tsm7hcv0.js → kv-swr8xay4.js} +14 -14
- package/dist/chunks/{generate-saxf499t.js → kv-t26nt5g3.js} +3 -3
- package/dist/chunks/{generate-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-tcezcvh9.js → kv-tcezcvh9.js} +1 -1
- package/dist/chunks/{generate-tdstcens.js → kv-tdstcens.js} +1 -1
- package/dist/chunks/{generate-jvmnqq03.js → kv-teg22ked.js} +8 -8
- package/dist/chunks/{generate-j9h5cm9j.js → kv-tejrpg58.js} +44 -44
- package/dist/chunks/{generate-jqj7zyty.js → kv-tfhpz3sz.js} +19 -19
- package/dist/chunks/{generate-7gwye6wj.js → kv-thkq665f.js} +81 -81
- package/dist/chunks/{generate-k7x7nhss.js → kv-thzwf92f.js} +15 -15
- package/dist/chunks/{generate-sdvaebnw.js → kv-tmm3eqes.js} +4 -4
- package/dist/chunks/{generate-tyytaxap.js → kv-tyytaxap.js} +1 -1
- package/dist/chunks/{generate-v0es1rhs.js → kv-v0es1rhs.js} +2 -2
- package/dist/chunks/{generate-vf4z5rkp.js → kv-v10hv8b6.js} +141 -141
- package/dist/chunks/{generate-v7p4zvkq.js → kv-v7p4zvkq.js} +2 -2
- package/dist/chunks/{generate-c9pqxe3v.js → kv-vebh4w59.js} +13 -13
- package/dist/chunks/{generate-veqvce7d.js → kv-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-93487tfc.js → kv-vgn8ffrp.js} +3 -3
- package/dist/chunks/{generate-qrr9gjr3.js → kv-vnm975cv.js} +19 -19
- package/dist/chunks/{generate-gjan9s6w.js → kv-vryt29t9.js} +15 -15
- package/dist/chunks/{generate-g8ytx0e6.js → kv-vzbxwz1d.js} +11 -11
- package/dist/chunks/{generate-vzs5sf6e.js → kv-vzs5sf6e.js} +1 -1
- package/dist/chunks/{generate-84txncab.js → kv-w1eejvng.js} +5 -5
- package/dist/chunks/{generate-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-dph8383f.js → kv-w40gtye2.js} +1 -1
- package/dist/chunks/{generate-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{generate-3h20cfpd.js → kv-wh45bpan.js} +15 -15
- package/dist/chunks/{generate-wh6zw745.js → kv-wh6zw745.js} +2 -2
- package/dist/chunks/{generate-acbhb36m.js → kv-wjdah6d6.js} +11 -11
- package/dist/chunks/{generate-qkw4ez0w.js → kv-wqv9pw60.js} +8 -8
- package/dist/chunks/{generate-27kcfysw.js → kv-wsh4qmqs.js} +3 -3
- package/dist/chunks/{generate-yjc008f4.js → kv-wyf9p2tq.js} +18 -18
- package/dist/chunks/{generate-b8njymce.js → kv-x67va1k1.js} +11 -11
- package/dist/chunks/{generate-e24bfe0t.js → kv-x7hdbwj8.js} +22 -22
- package/dist/chunks/{generate-eswdjwz9.js → kv-x81akh75.js} +9 -9
- package/dist/chunks/{generate-1wbfy9nd.js → kv-xpbjw4w5.js} +26 -26
- package/dist/chunks/{generate-6bxyve5m.js → kv-xtp6x8sm.js} +5 -5
- package/dist/chunks/{generate-48ph987b.js → kv-xwpskw4d.js} +3 -3
- package/dist/chunks/{generate-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-hske5dj9.js → kv-y4stezpd.js} +7 -7
- package/dist/chunks/{generate-y71avatq.js → kv-y71avatq.js} +1 -1
- package/dist/chunks/{generate-exn49f6t.js → kv-y85ny7jm.js} +31 -31
- package/dist/chunks/{generate-eka1fpr9.js → kv-yc8hc8f5.js} +8 -8
- package/dist/chunks/{generate-879bespx.js → kv-yhf5ra7e.js} +48 -48
- package/dist/chunks/{generate-9ywfjm2b.js → kv-yk440vae.js} +11 -11
- package/dist/chunks/{generate-1acjjqhc.js → kv-yp2x3t23.js} +4 -4
- package/dist/chunks/{generate-2xmqvr3q.js → kv-yphr3tm0.js} +68 -68
- package/dist/chunks/{generate-xknnwx45.js → kv-yzn3yq27.js} +27 -27
- package/dist/chunks/{generate-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-4x4w4sp7.js → kv-z0nzgh6v.js} +28 -28
- package/dist/chunks/{generate-f918t7qj.js → kv-z4n08jzm.js} +163 -163
- package/dist/chunks/{generate-15jngqt8.js → kv-z6hj8gmz.js} +15 -15
- package/dist/chunks/{generate-xzn4drzt.js → kv-za0530t8.js} +9 -9
- package/dist/chunks/{generate-53vb5svr.js → kv-zbac9cjn.js} +23 -23
- package/dist/chunks/{generate-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +86 -86
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +86 -86
- package/dist/database/database.js +67 -67
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +75 -75
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.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/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +215 -215
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- 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 +100 -100
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +104 -104
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +355 -355
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +103 -103
- package/dist/models-dev.js +108 -108
- 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 +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +126 -126
- package/dist/plugin/provider/local.js +123 -123
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +126 -126
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +126 -126
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +219 -219
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +86 -86
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +95 -95
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +106 -106
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- 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 +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +204 -204
- 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 +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +103 -103
- 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 +129 -129
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +110 -110
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +3 -3
- 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/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/generate-14316e4k.js +0 -26
- package/dist/chunks/generate-ctefx7dc.js +0 -18
- /package/dist/chunks/{generate-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → kv-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2bv980vf.js → kv-2bv980vf.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-34c7v6d4.js → kv-34c7v6d4.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3t0ybcrp.js → kv-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5qd3pb7m.js → kv-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-6q2bdcd1.js → kv-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-84wd9syh.js → kv-84wd9syh.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-bw78ga2c.js → kv-bw78ga2c.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jze0r7bz.js → kv-jze0r7bz.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-pyv0edze.js → kv-pyv0edze.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-ve7vex1e.js → kv-ve7vex1e.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → kv-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → kv-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z5v4ffb3.js → kv-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,131 +1,131 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service84,
|
|
7
|
-
node88
|
|
8
|
-
} from "./generate-g761bshh.js";
|
|
3
|
+
node85
|
|
4
|
+
} from "./kv-ec8m5png.js";
|
|
9
5
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./generate-v92qdyrs.js";
|
|
6
|
+
Service81,
|
|
7
|
+
node84
|
|
8
|
+
} from "./kv-pn8qj2g4.js";
|
|
14
9
|
import {
|
|
15
10
|
ID13,
|
|
11
|
+
Service74,
|
|
12
|
+
node77
|
|
13
|
+
} from "./kv-7zkwb82j.js";
|
|
14
|
+
import {
|
|
15
|
+
ID10,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./kv-qwyj34g8.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID9,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service68,
|
|
24
|
+
node71
|
|
25
|
+
} from "./kv-fywtqf87.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./kv-z5v4ffb3.js";
|
|
29
29
|
import {
|
|
30
30
|
Info27,
|
|
31
31
|
Ref4,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
35
|
-
import {
|
|
36
|
-
ID11,
|
|
37
|
-
Service72,
|
|
38
|
-
node76
|
|
39
|
-
} from "./generate-br4sv010.js";
|
|
40
|
-
import {
|
|
41
|
-
Service70,
|
|
42
|
-
node73
|
|
43
|
-
} from "./generate-zz5gkwhc.js";
|
|
32
|
+
Service77,
|
|
33
|
+
node80
|
|
34
|
+
} from "./kv-ccthn8e8.js";
|
|
44
35
|
import {
|
|
36
|
+
ID8,
|
|
45
37
|
Service67,
|
|
46
38
|
node70
|
|
47
|
-
} from "./
|
|
48
|
-
import {
|
|
49
|
-
Service78,
|
|
50
|
-
node82
|
|
51
|
-
} from "./generate-b823c9yx.js";
|
|
39
|
+
} from "./kv-pnwf0k20.js";
|
|
52
40
|
import {
|
|
53
41
|
Service66,
|
|
54
42
|
node69
|
|
55
|
-
} from "./
|
|
43
|
+
} from "./kv-0f0v92e3.js";
|
|
56
44
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./generate-kqwemc59.js";
|
|
45
|
+
Service45,
|
|
46
|
+
node48
|
|
47
|
+
} from "./kv-j78jacrw.js";
|
|
61
48
|
import {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
Service42,
|
|
66
|
-
node45
|
|
67
|
-
} from "./generate-xrees0gn.js";
|
|
49
|
+
Service83,
|
|
50
|
+
node87
|
|
51
|
+
} from "./kv-aah5wtyj.js";
|
|
68
52
|
import {
|
|
69
53
|
Service65,
|
|
70
54
|
node68
|
|
71
|
-
} from "./
|
|
55
|
+
} from "./kv-5w6eanth.js";
|
|
72
56
|
import {
|
|
57
|
+
ID6,
|
|
73
58
|
Service61,
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
59
|
+
node63
|
|
60
|
+
} from "./kv-pe0mwqpx.js";
|
|
61
|
+
import {
|
|
62
|
+
ID7
|
|
63
|
+
} from "./kv-a2w96xvv.js";
|
|
76
64
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
65
|
+
Service36,
|
|
66
|
+
node39
|
|
67
|
+
} from "./kv-gy7jxges.js";
|
|
68
|
+
import {
|
|
69
|
+
Service73,
|
|
70
|
+
node76
|
|
71
|
+
} from "./kv-cmmdg65p.js";
|
|
72
|
+
import {
|
|
73
|
+
Service70,
|
|
74
|
+
node73
|
|
75
|
+
} from "./kv-ryy1tv3k.js";
|
|
76
|
+
import {
|
|
77
|
+
Service46,
|
|
78
|
+
node49
|
|
79
|
+
} from "./kv-8x2cscjj.js";
|
|
80
80
|
import {
|
|
81
81
|
Source4,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service54,
|
|
83
|
+
node57
|
|
84
|
+
} from "./kv-18eahbmf.js";
|
|
85
85
|
import {
|
|
86
86
|
Info7,
|
|
87
87
|
Service43,
|
|
88
88
|
node46
|
|
89
|
-
} from "./
|
|
89
|
+
} from "./kv-n0dqmjd7.js";
|
|
90
90
|
import {
|
|
91
91
|
Service30,
|
|
92
92
|
node33
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./kv-sc83fajd.js";
|
|
94
|
+
import {
|
|
95
|
+
Service79,
|
|
96
|
+
node82
|
|
97
|
+
} from "./kv-z0nzgh6v.js";
|
|
94
98
|
import {
|
|
95
99
|
Service29,
|
|
96
100
|
node32
|
|
97
|
-
} from "./
|
|
98
|
-
import {
|
|
99
|
-
Service80,
|
|
100
|
-
node84
|
|
101
|
-
} from "./generate-ddw8adtm.js";
|
|
101
|
+
} from "./kv-0jxpf7nz.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service25,
|
|
104
|
+
node28
|
|
105
|
+
} from "./kv-gns61vxs.js";
|
|
106
106
|
import {
|
|
107
107
|
ID4,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./
|
|
108
|
+
Service28,
|
|
109
|
+
node31
|
|
110
|
+
} from "./kv-ggv0c9x6.js";
|
|
111
111
|
import {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
} from "./
|
|
112
|
+
Service27,
|
|
113
|
+
node30
|
|
114
|
+
} from "./kv-fj958thf.js";
|
|
115
115
|
import {
|
|
116
116
|
StrategyID2,
|
|
117
117
|
Info5,
|
|
118
118
|
ListEntry3,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
} from "./
|
|
119
|
+
Service26,
|
|
120
|
+
node29
|
|
121
|
+
} from "./kv-mw52v8dk.js";
|
|
122
122
|
import {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
} from "./
|
|
123
|
+
Service24,
|
|
124
|
+
node27
|
|
125
|
+
} from "./kv-2rvve3xk.js";
|
|
126
126
|
import {
|
|
127
127
|
__export
|
|
128
|
-
} from "./
|
|
128
|
+
} from "./kv-9rqn6x4v.js";
|
|
129
129
|
|
|
130
130
|
// src/plugin/host.ts
|
|
131
131
|
var exports_host = {};
|
|
@@ -143,30 +143,30 @@ var mutable = (value) => value;
|
|
|
143
143
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
144
144
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
145
145
|
const app = yield* Metadata2;
|
|
146
|
-
const agents = yield*
|
|
147
|
-
const aisdk = yield*
|
|
148
|
-
const providers = yield*
|
|
149
|
-
const models = yield*
|
|
150
|
-
const commands = yield*
|
|
151
|
-
const bus = yield*
|
|
152
|
-
const integration = yield*
|
|
153
|
-
const kv = yield*
|
|
154
|
-
const mcp = yield*
|
|
155
|
-
const location = yield*
|
|
156
|
-
const reference = yield*
|
|
157
|
-
const rpc = yield*
|
|
146
|
+
const agents = yield* Service74;
|
|
147
|
+
const aisdk = yield* Service66;
|
|
148
|
+
const providers = yield* Service67;
|
|
149
|
+
const models = yield* Service61;
|
|
150
|
+
const commands = yield* Service45;
|
|
151
|
+
const bus = yield* Service81;
|
|
152
|
+
const integration = yield* Service68;
|
|
153
|
+
const kv = yield* Service83;
|
|
154
|
+
const mcp = yield* Service36;
|
|
155
|
+
const location = yield* Service77;
|
|
156
|
+
const reference = yield* Service54;
|
|
157
|
+
const rpc = yield* Service29;
|
|
158
158
|
const skill = yield* Service43;
|
|
159
|
-
const tools = yield*
|
|
160
|
-
const vcs = yield*
|
|
161
|
-
const websearch = yield*
|
|
162
|
-
const generate = yield*
|
|
163
|
-
const permission = yield*
|
|
164
|
-
const hooks = yield*
|
|
159
|
+
const tools = yield* Service46;
|
|
160
|
+
const vcs = yield* Service25;
|
|
161
|
+
const websearch = yield* Service28;
|
|
162
|
+
const generate = yield* Service24;
|
|
163
|
+
const permission = yield* Service70;
|
|
164
|
+
const hooks = yield* Service73;
|
|
165
165
|
const sessions = yield* Service30;
|
|
166
|
-
const persistentPty = yield*
|
|
167
|
-
const locations = yield*
|
|
168
|
-
const worktrees = yield*
|
|
169
|
-
const worktreeStrategies = yield*
|
|
166
|
+
const persistentPty = yield* Service79;
|
|
167
|
+
const locations = yield* Service65;
|
|
168
|
+
const worktrees = yield* Service26;
|
|
169
|
+
const worktreeStrategies = yield* Service27;
|
|
170
170
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
171
171
|
const locationInfo = () => new Info27({
|
|
172
172
|
directory: location.directory,
|
|
@@ -175,15 +175,15 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
175
175
|
});
|
|
176
176
|
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
177
177
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
178
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
178
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID7.make(input.location.workspace)
|
|
179
179
|
});
|
|
180
180
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
181
181
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
182
182
|
const decodeWorktree = Schema.decodeUnknownEffect(Info5);
|
|
183
183
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
184
184
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
185
|
-
const location = yield*
|
|
186
|
-
const agents = yield*
|
|
185
|
+
const location = yield* Service77;
|
|
186
|
+
const agents = yield* Service74;
|
|
187
187
|
return {
|
|
188
188
|
location: new Info27({
|
|
189
189
|
directory: location.directory,
|
|
@@ -217,10 +217,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
217
217
|
transform: (callback) => agents.transform((editor) => {
|
|
218
218
|
callback({
|
|
219
219
|
list: () => mutable(editor.list()),
|
|
220
|
-
get: (id) => mutable(editor.get(
|
|
221
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
222
|
-
update: (id, update) => editor.update(
|
|
223
|
-
remove: (id) => editor.remove(
|
|
220
|
+
get: (id) => mutable(editor.get(ID13.make(id))),
|
|
221
|
+
default: (id) => editor.default(id === undefined ? undefined : ID13.make(id)),
|
|
222
|
+
update: (id, update) => editor.update(ID13.make(id), update),
|
|
223
|
+
remove: (id) => editor.remove(ID13.make(id))
|
|
224
224
|
});
|
|
225
225
|
})
|
|
226
226
|
},
|
|
@@ -254,22 +254,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
254
254
|
},
|
|
255
255
|
provider: {
|
|
256
256
|
list: () => response(providers.available()),
|
|
257
|
-
get: (input) => providers.get(
|
|
257
|
+
get: (input) => providers.get(ID8.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
|
|
258
258
|
reload: providers.reload,
|
|
259
259
|
transform: (callback) => providers.transform((editor) => {
|
|
260
260
|
callback({
|
|
261
261
|
list: editor.list,
|
|
262
|
-
get: (id) => editor.get(
|
|
262
|
+
get: (id) => editor.get(ID8.make(id)),
|
|
263
263
|
add: (definition) => editor.add({
|
|
264
264
|
...definition,
|
|
265
|
-
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id:
|
|
265
|
+
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID10.make(definition.sourceConnection.id) } : definition.sourceConnection
|
|
266
266
|
}),
|
|
267
|
-
update: (id, update) => editor.update(
|
|
268
|
-
remove: (id) => editor.remove(
|
|
267
|
+
update: (id, update) => editor.update(ID8.make(id), update),
|
|
268
|
+
remove: (id) => editor.remove(ID8.make(id)),
|
|
269
269
|
models: {
|
|
270
|
-
set: (id, models) => editor.models.set(
|
|
271
|
-
update: (providerID, modelID, update) => editor.models.update(
|
|
272
|
-
remove: (providerID, modelID) => editor.models.remove(
|
|
270
|
+
set: (id, models) => editor.models.set(ID8.make(id), models),
|
|
271
|
+
update: (providerID, modelID, update) => editor.models.update(ID8.make(providerID), ID6.make(modelID), update),
|
|
272
|
+
remove: (providerID, modelID) => editor.models.remove(ID8.make(providerID), ID6.make(modelID))
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
})
|
|
@@ -279,17 +279,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
279
279
|
default: () => response(models.default()),
|
|
280
280
|
reload: models.reload,
|
|
281
281
|
transform: (callback) => models.transform((editor) => callback({
|
|
282
|
-
list: (providerID) => editor.list(providerID === undefined ? undefined :
|
|
283
|
-
get: (providerID, modelID) => editor.get(
|
|
284
|
-
update: (providerID, modelID, update) => editor.update(
|
|
285
|
-
remove: (providerID, modelID) => editor.remove(
|
|
282
|
+
list: (providerID) => editor.list(providerID === undefined ? undefined : ID8.make(providerID)),
|
|
283
|
+
get: (providerID, modelID) => editor.get(ID8.make(providerID), ID6.make(modelID)),
|
|
284
|
+
update: (providerID, modelID, update) => editor.update(ID8.make(providerID), ID6.make(modelID), update),
|
|
285
|
+
remove: (providerID, modelID) => editor.remove(ID8.make(providerID), ID6.make(modelID)),
|
|
286
286
|
default: {
|
|
287
287
|
get: editor.default.get,
|
|
288
|
-
set: (providerID, modelID) => editor.default.set(
|
|
288
|
+
set: (providerID, modelID) => editor.default.set(ID8.make(providerID), ID6.make(modelID))
|
|
289
289
|
},
|
|
290
290
|
provider: {
|
|
291
291
|
list: editor.provider.list,
|
|
292
|
-
get: (id) => editor.provider.get(
|
|
292
|
+
get: (id) => editor.provider.get(ID8.make(id))
|
|
293
293
|
}
|
|
294
294
|
}))
|
|
295
295
|
},
|
|
@@ -312,20 +312,20 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
312
312
|
integration: {
|
|
313
313
|
list: () => response(integration.list()),
|
|
314
314
|
get: Effect.fn(function* (input) {
|
|
315
|
-
const item = yield* integration.get(
|
|
315
|
+
const item = yield* integration.get(ID9.make(input.integrationID));
|
|
316
316
|
if (!item)
|
|
317
317
|
return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
|
|
318
318
|
return yield* response(Effect.succeed(item));
|
|
319
319
|
}),
|
|
320
320
|
connect: {
|
|
321
321
|
key: (input) => integration.connection.key({
|
|
322
|
-
integrationID:
|
|
322
|
+
integrationID: ID9.make(input.integrationID),
|
|
323
323
|
key: input.key,
|
|
324
324
|
answer: input.answer,
|
|
325
325
|
label: input.label
|
|
326
326
|
}),
|
|
327
327
|
external: (input) => integration.connection.external({
|
|
328
|
-
integrationID:
|
|
328
|
+
integrationID: ID9.make(input.integrationID),
|
|
329
329
|
methodID: MethodID2.make(input.methodID),
|
|
330
330
|
answer: input.answer,
|
|
331
331
|
label: input.label
|
|
@@ -333,60 +333,60 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
333
333
|
},
|
|
334
334
|
oauth: {
|
|
335
335
|
connect: (input) => response(integration.oauth.connect({
|
|
336
|
-
integrationID:
|
|
336
|
+
integrationID: ID9.make(input.integrationID),
|
|
337
337
|
methodID: MethodID2.make(input.methodID),
|
|
338
338
|
answer: input.answer,
|
|
339
339
|
label: input.label
|
|
340
340
|
})),
|
|
341
341
|
status: (input) => response(integration.oauth.status({
|
|
342
|
-
integrationID:
|
|
342
|
+
integrationID: ID9.make(input.integrationID),
|
|
343
343
|
attemptID: AttemptID2.make(input.attemptID)
|
|
344
344
|
})),
|
|
345
345
|
complete: (input) => integration.oauth.complete({
|
|
346
|
-
integrationID:
|
|
346
|
+
integrationID: ID9.make(input.integrationID),
|
|
347
347
|
attemptID: AttemptID2.make(input.attemptID),
|
|
348
348
|
code: input.code
|
|
349
349
|
}),
|
|
350
350
|
cancel: (input) => integration.oauth.cancel({
|
|
351
|
-
integrationID:
|
|
351
|
+
integrationID: ID9.make(input.integrationID),
|
|
352
352
|
attemptID: AttemptID2.make(input.attemptID)
|
|
353
353
|
})
|
|
354
354
|
},
|
|
355
355
|
command: {
|
|
356
356
|
connect: (input) => response(integration.command.connect({
|
|
357
|
-
integrationID:
|
|
357
|
+
integrationID: ID9.make(input.integrationID),
|
|
358
358
|
methodID: MethodID2.make(input.methodID),
|
|
359
359
|
label: input.label
|
|
360
360
|
})),
|
|
361
361
|
status: (input) => response(integration.command.status({
|
|
362
|
-
integrationID:
|
|
362
|
+
integrationID: ID9.make(input.integrationID),
|
|
363
363
|
attemptID: AttemptID2.make(input.attemptID)
|
|
364
364
|
})),
|
|
365
365
|
cancel: (input) => integration.command.cancel({
|
|
366
|
-
integrationID:
|
|
366
|
+
integrationID: ID9.make(input.integrationID),
|
|
367
367
|
attemptID: AttemptID2.make(input.attemptID)
|
|
368
368
|
})
|
|
369
369
|
},
|
|
370
370
|
reload: integration.reload,
|
|
371
371
|
connection: {
|
|
372
|
-
active: (id) => integration.connection.active(
|
|
373
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
372
|
+
active: (id) => integration.connection.active(ID9.make(id)),
|
|
373
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID10.make(connection.id) } : connection),
|
|
374
374
|
status: (input) => integration.connection.status({
|
|
375
|
-
integrationID:
|
|
376
|
-
connection: input.connection.type === "credential" ? { ...input.connection, id:
|
|
375
|
+
integrationID: ID9.make(input.integrationID),
|
|
376
|
+
connection: input.connection.type === "credential" ? { ...input.connection, id: ID10.make(input.connection.id) } : input.connection,
|
|
377
377
|
status: input.status
|
|
378
378
|
})
|
|
379
379
|
},
|
|
380
380
|
transform: (callback) => integration.transform((editor) => {
|
|
381
381
|
callback({
|
|
382
382
|
list: () => mutable(editor.list()),
|
|
383
|
-
get: (id) => mutable(editor.get(
|
|
384
|
-
update: (id, update) => editor.update(
|
|
385
|
-
remove: (id) => editor.remove(
|
|
383
|
+
get: (id) => mutable(editor.get(ID9.make(id))),
|
|
384
|
+
update: (id, update) => editor.update(ID9.make(id), update),
|
|
385
|
+
remove: (id) => editor.remove(ID9.make(id)),
|
|
386
386
|
method: {
|
|
387
|
-
list: (id) => editor.method.list(
|
|
387
|
+
list: (id) => editor.method.list(ID9.make(id)),
|
|
388
388
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
389
|
-
remove: (id, method) => editor.method.remove(
|
|
389
|
+
remove: (id, method) => editor.method.remove(ID9.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
390
390
|
}
|
|
391
391
|
});
|
|
392
392
|
})
|
|
@@ -396,8 +396,8 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
396
396
|
const ref = locationRef(input);
|
|
397
397
|
if (ref && !isCurrentLocation(ref))
|
|
398
398
|
return Effect.gen(function* () {
|
|
399
|
-
const location = yield*
|
|
400
|
-
const mcp = yield*
|
|
399
|
+
const location = yield* Service77;
|
|
400
|
+
const mcp = yield* Service36;
|
|
401
401
|
return {
|
|
402
402
|
location: new Info27({
|
|
403
403
|
directory: location.directory,
|
|
@@ -551,31 +551,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
551
551
|
return context;
|
|
552
552
|
});
|
|
553
553
|
var requirements3 = LayerNode.group([
|
|
554
|
-
node74,
|
|
555
|
-
node67,
|
|
556
|
-
node73,
|
|
557
|
-
node76,
|
|
558
|
-
node75,
|
|
559
|
-
node70,
|
|
560
|
-
node88,
|
|
561
|
-
node77,
|
|
562
|
-
node82,
|
|
563
|
-
node45,
|
|
564
554
|
node85,
|
|
565
|
-
|
|
555
|
+
node77,
|
|
556
|
+
node69,
|
|
557
|
+
node70,
|
|
558
|
+
node63,
|
|
559
|
+
node48,
|
|
566
560
|
node84,
|
|
561
|
+
node71,
|
|
562
|
+
node87,
|
|
563
|
+
node39,
|
|
564
|
+
node80,
|
|
565
|
+
node57,
|
|
566
|
+
node32,
|
|
567
567
|
node46,
|
|
568
|
-
|
|
569
|
-
node26,
|
|
570
|
-
node27,
|
|
568
|
+
node49,
|
|
571
569
|
node28,
|
|
570
|
+
node31,
|
|
572
571
|
node29,
|
|
573
572
|
node30,
|
|
574
|
-
|
|
575
|
-
|
|
573
|
+
node27,
|
|
574
|
+
node73,
|
|
575
|
+
node76,
|
|
576
576
|
node33,
|
|
577
|
-
|
|
578
|
-
|
|
577
|
+
node82,
|
|
578
|
+
node68
|
|
579
579
|
]);
|
|
580
580
|
function storage2(kv, pluginID) {
|
|
581
581
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -602,7 +602,7 @@ function methodImplementation(input) {
|
|
|
602
602
|
if ("authorize" in input) {
|
|
603
603
|
const refresh = input.refresh;
|
|
604
604
|
return {
|
|
605
|
-
integrationID:
|
|
605
|
+
integrationID: ID9.make(input.integrationID),
|
|
606
606
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
607
607
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
608
608
|
if (authorization.mode === "auto") {
|
|
@@ -622,24 +622,24 @@ function methodImplementation(input) {
|
|
|
622
622
|
}
|
|
623
623
|
if (input.method.type === "env") {
|
|
624
624
|
return {
|
|
625
|
-
integrationID:
|
|
625
|
+
integrationID: ID9.make(input.integrationID),
|
|
626
626
|
method: input.method
|
|
627
627
|
};
|
|
628
628
|
}
|
|
629
629
|
if (input.method.type === "command") {
|
|
630
630
|
return {
|
|
631
|
-
integrationID:
|
|
631
|
+
integrationID: ID9.make(input.integrationID),
|
|
632
632
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
633
633
|
};
|
|
634
634
|
}
|
|
635
635
|
if (input.method.type === "external") {
|
|
636
636
|
return {
|
|
637
|
-
integrationID:
|
|
637
|
+
integrationID: ID9.make(input.integrationID),
|
|
638
638
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
639
639
|
};
|
|
640
640
|
}
|
|
641
641
|
return {
|
|
642
|
-
integrationID:
|
|
642
|
+
integrationID: ID9.make(input.integrationID),
|
|
643
643
|
method: input.method
|
|
644
644
|
};
|
|
645
645
|
}
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./kv-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service62,
|
|
8
|
+
node64
|
|
9
|
+
} from "./kv-cyx8pe1r.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-3yxrtm4f.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./kv-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service3,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node4,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service3 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service62;
|
|
335
|
+
return Service3.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node4 = makeLocationNode({ service: Service3, layer, deps: [node64] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service3, read2, node4, exports_read_filesystem };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./kv-b4xjmrbp.js";
|
|
4
4
|
import {
|
|
5
5
|
Service7
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-r2m716tb.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin39
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin39 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service50;
|
|
26
26
|
const policy = yield* Service7;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
@@ -35,4 +35,4 @@ var Plugin5 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin39, exports_location_watcher2 };
|