@opencode/core 0.0.0-dev-393 → 0.0.0-dev-398
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 +88 -88
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +232 -232
- package/dist/bus.js +80 -80
- package/dist/chunks/{state-vbssec1d.js → repository-00qfdy27.js} +29 -29
- package/dist/chunks/{state-73gkfqd7.js → repository-00r8q0yt.js} +29 -29
- package/dist/chunks/{state-48m0p4qs.js → repository-0160n4e9.js} +6 -6
- package/dist/chunks/{state-034tev2y.js → repository-034tev2y.js} +2 -2
- package/dist/chunks/{state-vknx7eh1.js → repository-03h4ymk6.js} +4 -4
- package/dist/chunks/{state-rm34t0fx.js → repository-07nbfc86.js} +3 -3
- package/dist/chunks/{state-hvyxpd0d.js → repository-0anx5598.js} +21 -21
- package/dist/chunks/{state-0j7gp832.js → repository-0j7gp832.js} +1 -1
- package/dist/chunks/{state-1m0e4qdv.js → repository-0qn50e8a.js} +9 -9
- package/dist/chunks/{state-bzr3b510.js → repository-12vj2b1h.js} +13 -13
- package/dist/chunks/{state-px9xmdpy.js → repository-12w3gwbs.js} +9 -9
- package/dist/chunks/{state-wewpmm4b.js → repository-163d9n7a.js} +12 -12
- package/dist/chunks/{state-trx7nt34.js → repository-17f8cxnn.js} +15 -15
- package/dist/chunks/{state-1aqsckx4.js → repository-1aqsckx4.js} +1 -1
- package/dist/chunks/{state-1ep2p91f.js → repository-1ep2p91f.js} +2 -2
- package/dist/chunks/{state-kta770dd.js → repository-1f75kze0.js} +21 -21
- package/dist/chunks/{state-7pj2069b.js → repository-1mnq2rn5.js} +5 -5
- package/dist/chunks/{state-sf8nbxbe.js → repository-1vnt2h24.js} +19 -19
- package/dist/chunks/{state-641q1vjj.js → repository-1ww1rpnf.js} +59 -59
- package/dist/chunks/{state-1x2knyw4.js → repository-1x2knyw4.js} +1 -1
- package/dist/chunks/{state-yhfwd5gc.js → repository-1xpbhcsv.js} +35 -35
- package/dist/chunks/{state-1yq9hg58.js → repository-1yq9hg58.js} +1 -1
- package/dist/chunks/{state-b0573t9j.js → repository-1zy208v1.js} +13 -13
- package/dist/chunks/{state-7jen3kst.js → repository-20cae54x.js} +9 -9
- package/dist/chunks/{state-px7qpgcn.js → repository-229tvxdn.js} +4 -4
- package/dist/chunks/{state-qax8vj9h.js → repository-2fgrey3x.js} +11 -11
- package/dist/chunks/{state-bwfkpp7v.js → repository-2gw36y1w.js} +19 -19
- package/dist/chunks/{state-0smt5b1y.js → repository-2kkw9hyz.js} +6 -6
- package/dist/chunks/{state-2p60zmnr.js → repository-2p60zmnr.js} +2 -2
- package/dist/chunks/{state-np1324p3.js → repository-2pc2x7h5.js} +33 -33
- package/dist/chunks/{state-bthfbq8f.js → repository-2t113hd6.js} +6 -6
- package/dist/chunks/{state-31avdb49.js → repository-31avdb49.js} +3 -3
- package/dist/chunks/{state-nkkeh327.js → repository-38yzze0k.js} +12 -12
- package/dist/chunks/{state-19d303gc.js → repository-3cj3n7a2.js} +11 -11
- package/dist/chunks/{state-h8n75vy4.js → repository-3d3pvmxz.js} +12 -12
- package/dist/chunks/{state-vg3bhdbp.js → repository-3gfpnfqk.js} +1 -1
- package/dist/chunks/{state-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-rsjg3dzm.js → repository-3jf1xmra.js} +26 -26
- package/dist/chunks/{state-3nnrz6f6.js → repository-3nnrz6f6.js} +1 -1
- package/dist/chunks/{state-xz097ptw.js → repository-3rnx49f9.js} +8 -5
- package/dist/chunks/{state-d2k1f648.js → repository-3xx0nvzn.js} +5 -5
- package/dist/chunks/{state-40y6dtc2.js → repository-40y6dtc2.js} +1 -1
- package/dist/chunks/{state-qvg3z4qx.js → repository-42yrh4ar.js} +30 -30
- package/dist/chunks/{state-pmy97759.js → repository-43517qt4.js} +9 -9
- package/dist/chunks/{state-n15nns0h.js → repository-43ax85f5.js} +14 -14
- package/dist/chunks/{state-4k0twk1c.js → repository-43t800eb.js} +7 -7
- package/dist/chunks/{state-44pmzq9c.js → repository-44pmzq9c.js} +2 -2
- package/dist/chunks/{state-56ddg3xh.js → repository-4bh8py8c.js} +5 -5
- package/dist/chunks/{state-4dx1dgte.js → repository-4dx1dgte.js} +1 -1
- package/dist/chunks/{state-mdvtz8t2.js → repository-4ez1xyss.js} +27 -27
- package/dist/chunks/{state-4f25tdd0.js → repository-4f25tdd0.js} +1 -1
- package/dist/chunks/{state-gahey6n0.js → repository-4fs1ttzm.js} +35 -35
- package/dist/chunks/{state-4pyp9zr9.js → repository-4pyp9zr9.js} +1 -1
- package/dist/chunks/{state-g7jaz8th.js → repository-4sd5nkp5.js} +28 -28
- package/dist/chunks/{state-4v008n1t.js → repository-4v008n1t.js} +1 -1
- package/dist/chunks/{state-kcsn6986.js → repository-4wg58wk0.js} +13 -13
- package/dist/chunks/{state-rqysqgs5.js → repository-4wzs20xx.js} +3 -3
- package/dist/chunks/{state-7rn2tgva.js → repository-4zeh2781.js} +23 -23
- package/dist/chunks/{state-jc512s3p.js → repository-53qrs49z.js} +8 -8
- package/dist/chunks/{state-3n03ejdw.js → repository-53rrm9sf.js} +10 -10
- package/dist/chunks/{state-jrxc3jgt.js → repository-57q76zcw.js} +5 -5
- package/dist/chunks/{state-996qv2g3.js → repository-5e13b2kr.js} +1 -1
- package/dist/chunks/{state-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
- package/dist/chunks/{state-byd6yge4.js → repository-5rp489bd.js} +11 -11
- package/dist/chunks/{state-5ngvdyzg.js → repository-5rsxnmrp.js} +16 -16
- package/dist/chunks/{state-jjk0b4sp.js → repository-5sph470p.js} +11 -11
- package/dist/chunks/{state-8mw53c6m.js → repository-5zsangy9.js} +23 -23
- package/dist/chunks/{state-rf1cvd9q.js → repository-67xca3db.js} +7 -7
- package/dist/chunks/{state-zwgy8ndz.js → repository-687hq225.js} +53 -53
- package/dist/chunks/{state-5v42y69a.js → repository-6aekme1e.js} +5 -5
- package/dist/chunks/{state-6esdw8yj.js → repository-6esdw8yj.js} +1 -1
- package/dist/chunks/{state-fynmzd3d.js → repository-6gyvhx5a.js} +8 -8
- package/dist/chunks/{state-gv8f8cne.js → repository-6gzr7cf8.js} +24 -24
- package/dist/chunks/{state-s4sm4tqg.js → repository-6j0xgcj1.js} +5 -5
- package/dist/chunks/{state-47s8f065.js → repository-6j8sp8g6.js} +49 -49
- package/dist/chunks/{state-vnjc296t.js → repository-6q8jj3zs.js} +2 -2
- package/dist/chunks/{state-6m3cdbvc.js → repository-715ez6py.js} +26 -26
- package/dist/chunks/{state-vv26esct.js → repository-7389kptq.js} +11 -11
- package/dist/chunks/{state-3rz1gwbg.js → repository-73mp86fw.js} +10 -10
- package/dist/chunks/{state-e4sxjejc.js → repository-75t7768k.js} +18 -18
- package/dist/chunks/{state-w8qtt4th.js → repository-76cb1hcw.js} +4 -4
- package/dist/chunks/{state-b2kx2yqz.js → repository-79scnwzb.js} +10 -10
- package/dist/chunks/{state-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-kke5d6vq.js → repository-7d4wtrr4.js} +13 -13
- package/dist/chunks/{state-h7wqn8vn.js → repository-7g7rhba8.js} +4 -4
- package/dist/chunks/{state-7kr66rt3.js → repository-7kr66rt3.js} +1 -1
- package/dist/chunks/{state-q75c6g3b.js → repository-7mefzhmg.js} +9 -9
- package/dist/chunks/{state-a5fx33f2.js → repository-7nqkf5r1.js} +6 -6
- package/dist/chunks/{state-g6277kmk.js → repository-7qt7d24k.js} +1 -1
- package/dist/chunks/{state-0dct8czz.js → repository-7vk054hd.js} +12 -12
- package/dist/chunks/{state-7w2ypzdf.js → repository-7w2ypzdf.js} +1 -1
- package/dist/chunks/{state-ffy3twbs.js → repository-7xt82jmj.js} +18 -18
- package/dist/chunks/{state-ws94v0ha.js → repository-80j5eryf.js} +19 -19
- package/dist/chunks/{state-80mg3ag8.js → repository-80mg3ag8.js} +3 -3
- package/dist/chunks/{state-hb8y0qq0.js → repository-86ng5cw0.js} +4 -4
- package/dist/chunks/{state-89287pr7.js → repository-89287pr7.js} +1 -1
- package/dist/chunks/{state-8b3vzgkx.js → repository-8b3vzgkx.js} +1 -1
- package/dist/chunks/{state-4d2dtj2f.js → repository-8cg7mtm3.js} +4 -4
- package/dist/chunks/{state-v80n1jgs.js → repository-8jw5dp9j.js} +6 -6
- package/dist/chunks/{state-2kykchgf.js → repository-8p90nvs2.js} +15 -15
- package/dist/chunks/{state-wfs84ra6.js → repository-8t99kr38.js} +4 -4
- package/dist/chunks/{state-r58d8wgj.js → repository-8vm714rn.js} +34 -32
- package/dist/chunks/{state-8wtp7s3z.js → repository-8wtp7s3z.js} +1 -1
- package/dist/chunks/{state-90zstvax.js → repository-90zstvax.js} +1 -1
- package/dist/chunks/{state-zyfhsknv.js → repository-963hk181.js} +9 -9
- package/dist/chunks/{state-h3gs7wxb.js → repository-9e28vbjj.js} +36 -36
- package/dist/chunks/{state-t614117q.js → repository-9ed90ky0.js} +32 -32
- package/dist/chunks/{state-h4k0743s.js → repository-9myj1rt3.js} +2 -2
- package/dist/chunks/{state-hbjv2bz0.js → repository-a0d132hd.js} +12 -12
- package/dist/chunks/{state-w9bn5hmw.js → repository-a1qwck5h.js} +8 -8
- package/dist/chunks/{state-9wer7rt0.js → repository-a3a17e1e.js} +35 -35
- package/dist/chunks/{state-rte4cdn2.js → repository-a3tva24r.js} +21 -21
- package/dist/chunks/{state-hw7nk7v4.js → repository-a59kc8m4.js} +11 -11
- package/dist/chunks/{state-fe1ga2fx.js → repository-a5hf8tf4.js} +13 -13
- package/dist/chunks/{state-7c1acd8m.js → repository-ac1j90m4.js} +18 -18
- package/dist/chunks/{state-e2sg7jdv.js → repository-ad10dq2h.js} +26 -26
- package/dist/chunks/{state-an6hzmd3.js → repository-ak9xvm0n.js} +11 -11
- package/dist/chunks/{state-rs34vge8.js → repository-akc4t9gv.js} +30 -30
- package/dist/chunks/{state-mcz497rw.js → repository-an7p6n0m.js} +14 -14
- package/dist/chunks/{state-dcxawmaj.js → repository-ankbfx9c.js} +17 -17
- package/dist/chunks/{state-hdhewkmr.js → repository-axtwz132.js} +4 -4
- package/dist/chunks/{state-ayjs7tqn.js → repository-ayjs7tqn.js} +2 -2
- package/dist/chunks/{state-hvbybzt7.js → repository-b2ht1kmm.js} +14 -14
- package/dist/chunks/{state-hkkf7yjp.js → repository-b4z90bz3.js} +32 -32
- package/dist/chunks/{state-5nnwax6m.js → repository-b6vsg801.js} +5 -5
- package/dist/chunks/{state-7b0yxgp4.js → repository-b73pa457.js} +11 -11
- package/dist/chunks/{state-vmxsyvj6.js → repository-bhfd478d.js} +4 -4
- package/dist/chunks/{state-0a20qbkp.js → repository-bkycdrpd.js} +24 -24
- package/dist/chunks/{state-bnzx9dwt.js → repository-bnzx9dwt.js} +2 -2
- package/dist/chunks/{state-8g90eqn0.js → repository-bt7vp3wg.js} +7 -7
- package/dist/chunks/{state-qzm6zhs2.js → repository-bv5k4tct.js} +31 -31
- package/dist/chunks/{state-n4r92pqm.js → repository-bz9e4xwq.js} +30 -30
- package/dist/chunks/{state-0t098hqn.js → repository-ce5fknq2.js} +5 -5
- package/dist/chunks/{state-yetjgbjc.js → repository-cfq471k7.js} +37 -37
- package/dist/chunks/repository-cn9xv7mh.js +26 -0
- package/dist/chunks/{state-y6rtrkcm.js → repository-cqx1a29r.js} +18 -18
- package/dist/chunks/{state-mzfc5fp5.js → repository-csmjcn1q.js} +16 -16
- package/dist/chunks/{state-cwrgdav8.js → repository-cwrgdav8.js} +2 -2
- package/dist/chunks/{state-e2wtfr6s.js → repository-cxpktaf3.js} +2 -2
- package/dist/chunks/{state-t9pdq77j.js → repository-d1bq990r.js} +6 -6
- package/dist/chunks/{state-d4v9tmah.js → repository-d4v9tmah.js} +2 -2
- package/dist/chunks/{state-e3k523fc.js → repository-d5v2xrz0.js} +8 -8
- package/dist/chunks/{state-vjm7mjrg.js → repository-d6hk4npf.js} +84 -84
- package/dist/chunks/{state-qsn63thd.js → repository-dg3tysff.js} +6 -6
- package/dist/chunks/{state-7sysqgzb.js → repository-dmakv3jz.js} +4 -4
- package/dist/chunks/{state-sfn12v13.js → repository-dpraxfyb.js} +2 -2
- package/dist/chunks/{state-qf93q27e.js → repository-dqddngz4.js} +10 -10
- package/dist/chunks/{state-dt77769w.js → repository-dt77769w.js} +1 -1
- package/dist/chunks/{state-9sy1j1hj.js → repository-dv96216k.js} +4 -4
- package/dist/chunks/{state-3h8z8wz5.js → repository-dwrmbyqf.js} +4 -4
- package/dist/chunks/{state-36k98q34.js → repository-e7pmcp40.js} +11 -11
- package/dist/chunks/{state-e834z07m.js → repository-e834z07m.js} +1 -1
- package/dist/chunks/{state-6srxf2b1.js → repository-ecrcxjkp.js} +5 -5
- package/dist/chunks/{state-y4narh25.js → repository-egsrr66v.js} +8 -8
- package/dist/chunks/{state-85f9c9n5.js → repository-epxyk7zg.js} +13 -13
- package/dist/chunks/{state-xnyrm20a.js → repository-eqktjn3r.js} +7 -7
- package/dist/chunks/{state-eqw4pqj1.js → repository-eqw4pqj1.js} +2 -2
- package/dist/chunks/{state-m4yf5w44.js → repository-est5w5t7.js} +4 -4
- package/dist/chunks/repository-ev660z6k.js +18 -0
- package/dist/chunks/{state-bkd2snnm.js → repository-evxxbf4w.js} +22 -22
- package/dist/chunks/{state-jfmt1g8q.js → repository-ex7m7qe1.js} +8 -8
- package/dist/chunks/{state-sv909n4y.js → repository-f341sazs.js} +3 -3
- package/dist/chunks/{state-m3np4vj9.js → repository-fb1sejwy.js} +21 -21
- package/dist/chunks/{state-t0nz5sn8.js → repository-fbaygqc2.js} +18 -18
- package/dist/chunks/{state-fjrrbk94.js → repository-fbjqxkhq.js} +5 -5
- package/dist/chunks/{state-pwwe1nns.js → repository-fcwk9vhw.js} +17 -17
- package/dist/chunks/{state-fffv3p7h.js → repository-fffv3p7h.js} +1 -1
- package/dist/chunks/{state-fde7s928.js → repository-fhahebde.js} +4 -4
- package/dist/chunks/{state-jg9csdcz.js → repository-fsevz08s.js} +28 -28
- package/dist/chunks/{state-21tb34h2.js → repository-g1jn7dpj.js} +6 -6
- package/dist/chunks/{state-htep8p36.js → repository-g4f6ps2a.js} +9 -9
- package/dist/chunks/{state-90ct6wq4.js → repository-g5ajqn12.js} +4 -4
- package/dist/chunks/{state-gbjdnr5j.js → repository-gbjdnr5j.js} +2 -2
- package/dist/chunks/{state-frzebw3v.js → repository-gbkyg869.js} +36 -36
- package/dist/chunks/{state-aqxk7krm.js → repository-gfy59a16.js} +32 -32
- package/dist/chunks/{state-gmemj5zs.js → repository-gmemj5zs.js} +1 -1
- package/dist/chunks/{state-p3w2d4be.js → repository-gmqag8rw.js} +3 -3
- package/dist/chunks/{state-4wt7fhby.js → repository-h4z7h7ag.js} +8 -8
- package/dist/chunks/{state-zqsp8fck.js → repository-h78gmwm8.js} +7 -7
- package/dist/chunks/{state-zc7avgqx.js → repository-hfdx7xtc.js} +15 -15
- package/dist/chunks/{state-j2xdm5pc.js → repository-hg8tt10n.js} +48 -48
- package/dist/chunks/{state-hh7kjqtw.js → repository-hh7kjqtw.js} +1 -1
- package/dist/chunks/{state-hpg1pkwy.js → repository-hpg1pkwy.js} +1 -1
- package/dist/chunks/{state-hbnjngs9.js → repository-hppgwy0r.js} +162 -162
- package/dist/chunks/{state-agz3tzmp.js → repository-hva0766z.js} +46 -46
- package/dist/chunks/{state-hy8c1z76.js → repository-hw621kav.js} +8 -8
- package/dist/chunks/{state-pb811aet.js → repository-j6k5nchf.js} +3 -3
- package/dist/chunks/{state-7k20sj52.js → repository-j7vcdfrp.js} +7 -7
- package/dist/chunks/{state-452tx3w1.js → repository-jhq8j8y9.js} +11 -11
- package/dist/chunks/{state-an1qcwxm.js → repository-jjv3ebv6.js} +7 -7
- package/dist/chunks/{state-9hxvq81s.js → repository-jqgqc1vf.js} +18 -18
- package/dist/chunks/{state-jtnps1zs.js → repository-jtnps1zs.js} +2 -2
- package/dist/chunks/{state-c37n0erx.js → repository-k207nqnc.js} +13 -13
- package/dist/chunks/{state-wfdx5ztx.js → repository-k3cx6fhe.js} +4 -4
- package/dist/chunks/{state-1v3j17r1.js → repository-kd06wgjj.js} +17 -17
- package/dist/chunks/{state-qjrsxg5x.js → repository-kdtfz1k3.js} +21 -21
- package/dist/chunks/{state-c2dbbhpx.js → repository-kf43d1eq.js} +16 -16
- package/dist/chunks/{state-qfz6bxfd.js → repository-kj9n5bvh.js} +4 -4
- package/dist/chunks/{state-kt3bjfbg.js → repository-kt3bjfbg.js} +1 -1
- package/dist/chunks/{state-539dw32x.js → repository-ky55b5b1.js} +4 -4
- package/dist/chunks/{state-kzczzf4v.js → repository-kzczzf4v.js} +1 -1
- package/dist/chunks/{state-m1714858.js → repository-m1714858.js} +1 -1
- package/dist/chunks/{state-xay38q9g.js → repository-m2c0tfws.js} +28 -28
- package/dist/chunks/{state-a4h8tact.js → repository-m6cfdtf3.js} +4 -4
- package/dist/chunks/{state-faqpyehj.js → repository-m6erdz7g.js} +25 -25
- package/dist/chunks/{state-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-mb7mbhnz.js → repository-mb7mbhnz.js} +3 -3
- package/dist/chunks/{state-tjw6pmwz.js → repository-mjvy5yzf.js} +45 -45
- package/dist/chunks/{state-ehmn5k6t.js → repository-mpd288r4.js} +23 -23
- package/dist/chunks/{state-hktgtfdh.js → repository-mq45sd29.js} +28 -28
- package/dist/chunks/{state-1v2g13eq.js → repository-msd2a3qm.js} +4 -4
- package/dist/chunks/{state-kp4j94c3.js → repository-mtbbaj7x.js} +6 -6
- package/dist/chunks/{state-gfqgkchk.js → repository-mvg5jam3.js} +28 -28
- package/dist/chunks/{state-e255q57e.js → repository-mx6f7k3w.js} +31 -31
- package/dist/chunks/{state-9z88th0c.js → repository-n0026tak.js} +6 -6
- package/dist/chunks/{state-dd8xfryb.js → repository-n1yy3t2x.js} +69 -69
- package/dist/chunks/{state-h8xga5q6.js → repository-n5c9sy2r.js} +18 -18
- package/dist/chunks/{state-gcjdgkn2.js → repository-n7bnkb3p.js} +9 -9
- package/dist/chunks/{state-nah043kf.js → repository-nah043kf.js} +1 -1
- package/dist/chunks/{state-g3hn69cm.js → repository-nbh8p6ww.js} +28 -28
- package/dist/chunks/{state-qyf7yaea.js → repository-nbvp3f9m.js} +24 -24
- package/dist/chunks/{state-728a2w8f.js → repository-nf6qbft0.js} +32 -32
- package/dist/chunks/{state-9tjhwdqk.js → repository-nvh9azrc.js} +9 -9
- package/dist/chunks/{state-p015t6z3.js → repository-p015t6z3.js} +2 -2
- package/dist/chunks/{state-gr1m0gby.js → repository-p212j8y1.js} +15 -15
- package/dist/chunks/{state-qkc3z5ds.js → repository-p76me67c.js} +4 -4
- package/dist/chunks/{state-f4w02zpr.js → repository-pa3fs051.js} +9 -9
- package/dist/chunks/{state-s0ny4jqw.js → repository-pahg8g4d.js} +9 -9
- package/dist/chunks/{state-egfzd81v.js → repository-pbdkmj6p.js} +17 -17
- package/dist/chunks/{state-a0g2880y.js → repository-pgj56wr2.js} +17 -17
- package/dist/chunks/{state-kght8exf.js → repository-pjnewz4h.js} +15 -15
- package/dist/chunks/{state-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{state-fg9p65nk.js → repository-prq7xxp2.js} +6 -6
- package/dist/chunks/{state-9w88qcrs.js → repository-q315ntxc.js} +3 -3
- package/dist/chunks/{state-67kb74bv.js → repository-q52p8ber.js} +10 -10
- package/dist/chunks/{state-056p44da.js → repository-q58ddcyg.js} +18 -18
- package/dist/chunks/{state-p2zgsc1h.js → repository-qaxfcnsv.js} +11 -11
- package/dist/chunks/{state-sng0s06c.js → repository-qb2784ew.js} +13 -13
- package/dist/chunks/{state-kzdam8c6.js → repository-qk5sk9d1.js} +7 -7
- package/dist/chunks/{state-r3851nav.js → repository-qm58qbvp.js} +9 -9
- package/dist/chunks/{state-qp7r0hxv.js → repository-qp7r0hxv.js} +1 -1
- package/dist/chunks/{state-3ryz99p0.js → repository-qqg9c0kv.js} +4 -4
- package/dist/chunks/{state-qqvy8y24.js → repository-qqvy8y24.js} +1 -1
- package/dist/chunks/{state-rmv7fhs4.js → repository-qw2t3dzn.js} +6 -6
- package/dist/chunks/{state-r2sbm81b.js → repository-qwrwand2.js} +36 -36
- package/dist/chunks/{state-5d9nbz4j.js → repository-r7tfzb8e.js} +8 -8
- package/dist/chunks/{state-rb9dy4dg.js → repository-rb9dy4dg.js} +1 -1
- package/dist/chunks/{state-w8m2qkq0.js → repository-re3hbd1p.js} +8 -8
- package/dist/chunks/{state-t2jtqtvw.js → repository-rh83epcf.js} +38 -38
- package/dist/chunks/{state-apsxpycy.js → repository-rk9mn8f7.js} +21 -21
- package/dist/chunks/{state-rt5dr6hb.js → repository-rt5dr6hb.js} +1 -1
- package/dist/chunks/{state-a4bbeqg1.js → repository-rw8wdfk3.js} +10 -10
- package/dist/chunks/repository-s251z23y.js +261 -0
- package/dist/chunks/{state-mzm8bzzq.js → repository-s6h2s3rz.js} +4 -4
- package/dist/chunks/{state-w3yh1k6j.js → repository-s8tccdec.js} +4 -4
- package/dist/chunks/{state-sa3fpqfw.js → repository-sa3fpqfw.js} +2 -2
- package/dist/chunks/{state-j9dm8chg.js → repository-sa4ztjn1.js} +5 -5
- package/dist/chunks/{state-sbya78hr.js → repository-sbya78hr.js} +1 -1
- package/dist/chunks/{state-61qraad9.js → repository-scmk72rv.js} +5 -5
- package/dist/chunks/{state-eavcrtrz.js → repository-sdn2zcx3.js} +2 -2
- package/dist/chunks/{state-cy49dps4.js → repository-smhhrjeq.js} +24 -24
- package/dist/chunks/{state-svcy3p9a.js → repository-svcy3p9a.js} +1 -1
- package/dist/chunks/{state-szwm4crx.js → repository-szwm4crx.js} +4 -4
- package/dist/chunks/{state-bcyyfzcr.js → repository-t2ce5xch.js} +12 -12
- package/dist/chunks/{state-xzr21tmy.js → repository-t7q1s4jf.js} +40 -40
- package/dist/chunks/{state-mq52ddsp.js → repository-t9kr4kfh.js} +11 -11
- package/dist/chunks/{state-bnhkbqse.js → repository-tay525vg.js} +12 -12
- package/dist/chunks/{state-4mk899yb.js → repository-tcb8d6wv.js} +15 -15
- package/dist/chunks/{state-tczq8hjw.js → repository-tczq8hjw.js} +1 -1
- package/dist/chunks/{state-gxs71cxp.js → repository-tg7s7b5t.js} +4 -4
- package/dist/chunks/{state-j626ddfa.js → repository-tpx7g6md.js} +32 -32
- package/dist/chunks/{state-tr8x705m.js → repository-tr8x705m.js} +1 -1
- package/dist/chunks/{state-twssxy5n.js → repository-twssxy5n.js} +2 -2
- package/dist/chunks/{state-v0t96s7a.js → repository-v0t96s7a.js} +1 -1
- package/dist/chunks/{state-0csbgeh2.js → repository-v2gedntn.js} +9 -9
- package/dist/chunks/{state-v2r1d0zg.js → repository-v2r1d0zg.js} +1 -1
- package/dist/chunks/{state-nrtv0tdb.js → repository-v5da91pb.js} +10 -10
- package/dist/chunks/{state-f27d80qk.js → repository-v8bad55c.js} +17 -17
- package/dist/chunks/{state-r6a1wz6v.js → repository-vaaw7kac.js} +50 -50
- package/dist/chunks/{state-qvne8qvj.js → repository-vcrsdn8r.js} +14 -14
- package/dist/chunks/{state-8pjtyw4w.js → repository-vd9yn8w3.js} +21 -21
- package/dist/chunks/{state-y6n1sdeh.js → repository-vekvn0ce.js} +75 -75
- package/dist/chunks/{state-vjf35v1f.js → repository-vjf35v1f.js} +1 -1
- package/dist/chunks/{state-xxav5nwt.js → repository-vpdytt8w.js} +3 -3
- package/dist/chunks/{state-kac21e5p.js → repository-vsx6z3ef.js} +18 -18
- package/dist/chunks/{state-9rne3ehg.js → repository-vw0zhxcn.js} +15 -15
- package/dist/chunks/{state-76aqqymw.js → repository-vx6zbweh.js} +24 -24
- package/dist/chunks/{state-40za9wsf.js → repository-w2eysc6j.js} +9 -9
- package/dist/chunks/{state-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-nge6p6vt.js → repository-w52d91kq.js} +12 -12
- package/dist/chunks/{state-fznmdakp.js → repository-w687dnns.js} +4 -4
- package/dist/chunks/{state-ndnbjp53.js → repository-w7qzbdzf.js} +17 -17
- package/dist/chunks/{state-wakvkjy4.js → repository-wakvkjy4.js} +1 -1
- package/dist/chunks/{state-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{state-wegkxhrn.js → repository-wegkxhrn.js} +2 -2
- package/dist/chunks/repository-werwhw8f.js +549 -0
- package/dist/chunks/{state-5xemk3sw.js → repository-wexf2k6a.js} +14 -14
- package/dist/chunks/{state-pxhs3dky.js → repository-wh1wjwqr.js} +9 -9
- package/dist/chunks/{state-5pg8y8w0.js → repository-wn6m9687.js} +15 -15
- package/dist/chunks/{state-wnhgecwx.js → repository-wnhgecwx.js} +1 -1
- package/dist/chunks/{state-q1y1sb9f.js → repository-wsfx1sg6.js} +13 -13
- package/dist/chunks/{state-wvr8xscb.js → repository-wvr8xscb.js} +1 -1
- package/dist/chunks/{state-hdreqhvr.js → repository-ww2p0375.js} +3 -3
- package/dist/chunks/{state-05mm50vf.js → repository-wy9m61br.js} +9 -9
- package/dist/chunks/{state-n7m4s8k6.js → repository-x4edsjm2.js} +19 -19
- package/dist/chunks/{state-teav1bzy.js → repository-x7de2wha.js} +9 -9
- package/dist/chunks/{state-1afv7ask.js → repository-xa91xadg.js} +11 -11
- package/dist/chunks/{state-bstexjd6.js → repository-xd9cc171.js} +5 -5
- package/dist/chunks/{state-7g5zg8tv.js → repository-xdjqbh1q.js} +13 -13
- package/dist/chunks/{state-5m4ecct2.js → repository-xj1s8g0g.js} +27 -27
- package/dist/chunks/{state-3v0spw5n.js → repository-xp4s1g3x.js} +18 -18
- package/dist/chunks/{state-be10j6na.js → repository-xrhq19gq.js} +4 -4
- package/dist/chunks/{state-58rf0bjp.js → repository-xv0kd9hc.js} +16 -16
- package/dist/chunks/{state-kmrkjxcg.js → repository-y52vf7zr.js} +21 -21
- package/dist/chunks/{state-yara3q77.js → repository-yara3q77.js} +2 -2
- package/dist/chunks/{state-yb20nhc3.js → repository-yb20nhc3.js} +1 -1
- package/dist/chunks/{state-42qdq8te.js → repository-ygkrqd61.js} +16 -16
- package/dist/chunks/{state-sbz71ybr.js → repository-yjjyz0e3.js} +3 -3
- package/dist/chunks/{state-yr705xyq.js → repository-yr705xyq.js} +1 -1
- package/dist/chunks/{state-67wwskyb.js → repository-yts2a8qm.js} +4 -4
- package/dist/chunks/{state-x1vk2575.js → repository-yv39fqry.js} +9 -9
- package/dist/chunks/{state-yn2kpmvn.js → repository-zad8kfsb.js} +19 -19
- package/dist/chunks/{state-zfyb5tr4.js → repository-zdat2xwq.js} +4 -4
- package/dist/chunks/{state-ze75qvmd.js → repository-ze75qvmd.js} +3 -3
- package/dist/chunks/{state-zzsw4thw.js → repository-zftnqq30.js} +19 -19
- package/dist/chunks/{state-tjc4negf.js → repository-zfv1ake6.js} +21 -21
- package/dist/chunks/{state-e8c43dd8.js → repository-zfvn3r5d.js} +35 -35
- package/dist/chunks/{state-n1gmb7dt.js → repository-zqbtnvm2.js} +29 -29
- package/dist/chunks/{state-cfzf4vym.js → repository-zrmnbdg0.js} +28 -28
- package/dist/chunks/{state-dqhj5fe3.js → repository-zswszhjj.js} +13 -13
- package/dist/chunks/{state-5vvgeqy8.js → repository-zw2cn8hf.js} +8 -8
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +97 -97
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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 +105 -105
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +428 -428
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -106
- 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 +81 -81
- package/dist/file-access.js +156 -156
- package/dist/file-mutation.js +107 -107
- 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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +243 -243
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +117 -117
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +116 -116
- package/dist/git.js +11 -11
- 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 +112 -112
- 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/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +419 -419
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +172 -172
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +416 -416
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +107 -107
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +151 -151
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +395 -395
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +130 -130
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +106 -106
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +108 -108
- package/dist/plugin/provider/gitlab.js +107 -107
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +105 -105
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +132 -132
- package/dist/plugin/provider/opencode.js +132 -132
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +129 -129
- package/dist/plugin/provider/vllm.js +137 -137
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +210 -210
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +149 -149
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +405 -405
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +128 -128
- 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 +6 -6
- package/dist/plugin.js +243 -243
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +104 -104
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +108 -108
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +247 -247
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +167 -167
- package/dist/session/context.js +196 -196
- package/dist/session/diff.js +101 -101
- 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 +239 -239
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +198 -198
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +145 -145
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +141 -141
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +181 -181
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +235 -235
- package/dist/session/usage.js +1 -1
- package/dist/session.js +229 -229
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +147 -147
- package/dist/skill.js +156 -156
- package/dist/snapshot.js +102 -102
- 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 +178 -178
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +168 -168
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +162 -162
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +167 -167
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +233 -233
- package/dist/tool/plugin/skill.js +157 -157
- package/dist/tool/plugin/subagent.js +234 -234
- package/dist/tool/plugin/todo.js +153 -153
- package/dist/tool/plugin/webfetch.js +153 -153
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +159 -159
- package/dist/types/session/compaction.d.ts +2 -2
- package/dist/usage-limits.js +98 -98
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +97 -97
- package/dist/websearch.js +99 -99
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +105 -105
- package/package.json +8 -8
- package/dist/chunks/state-exkwt65j.js +0 -549
- package/dist/chunks/state-qmh7vbk2.js +0 -18
- package/dist/chunks/state-t27kz4yw.js +0 -261
- package/dist/chunks/state-wck9qmcv.js +0 -26
- /package/dist/chunks/{state-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kah00gy.js → repository-1kah00gy.js} +0 -0
- /package/dist/chunks/{state-1pevy3nx.js → repository-1pevy3nx.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2bv980vf.js → repository-2bv980vf.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4qk9sjk2.js → repository-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-5w3e23ze.js → repository-5w3e23ze.js} +0 -0
- /package/dist/chunks/{state-6agm2x70.js → repository-6agm2x70.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{state-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-7stb81gk.js → repository-7stb81gk.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{state-84wd9syh.js → repository-84wd9syh.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-beh6qq61.js → repository-beh6qq61.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cqv5kn06.js → repository-cqv5kn06.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ean2d8b5.js → repository-ean2d8b5.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fkpq3x5p.js → repository-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hcxmzztb.js → repository-hcxmzztb.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jwr30sdr.js → repository-jwr30sdr.js} +0 -0
- /package/dist/chunks/{state-jze0r7bz.js → repository-jze0r7bz.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-m18g726c.js → repository-m18g726c.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-nh4v3znn.js → repository-nh4v3znn.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-p71gwv9c.js → repository-p71gwv9c.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-t03h4f5z.js → repository-t03h4f5z.js} +0 -0
- /package/dist/chunks/{state-ty7weeps.js → repository-ty7weeps.js} +0 -0
- /package/dist/chunks/{state-ve7vex1e.js → repository-ve7vex1e.js} +0 -0
- /package/dist/chunks/{state-vtarvj67.js → repository-vtarvj67.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-8cg7mtm3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service88,
|
|
6
6
|
node91
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-7g7rhba8.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service77,
|
|
11
|
+
node79
|
|
12
|
+
} from "./repository-nbh8p6ww.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service85,
|
|
15
|
+
node88
|
|
16
|
+
} from "./repository-pgj56wr2.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service83,
|
|
19
|
+
node85
|
|
20
|
+
} from "./repository-smhhrjeq.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID19,
|
|
23
|
+
Service78,
|
|
24
|
+
node80
|
|
25
|
+
} from "./repository-mpd288r4.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create4
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-40y6dtc2.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID17,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service76,
|
|
34
|
+
node78
|
|
35
|
+
} from "./repository-mvg5jam3.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./repository-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError6,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service37,
|
|
53
53
|
Status: () => Status3,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
|
+
layer: () => layer15,
|
|
57
|
+
node: () => node41
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -104,21 +104,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
104
104
|
var endpointLoads = makeUnsafe2();
|
|
105
105
|
var cloneConfig = (config) => structuredClone(config);
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service37 extends Context.Service()("@opencode/MCP") {
|
|
108
108
|
}
|
|
109
|
-
var
|
|
109
|
+
var Options3 = Schema.Struct({
|
|
110
110
|
clientInfo: Schema.optional(Schema.Struct({
|
|
111
111
|
name: Schema.String,
|
|
112
112
|
version: Schema.String
|
|
113
113
|
}))
|
|
114
114
|
});
|
|
115
|
-
var
|
|
116
|
-
const location = yield*
|
|
117
|
-
const environment = yield*
|
|
115
|
+
var layer15 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service85;
|
|
117
|
+
const environment = yield* Service83;
|
|
118
118
|
const bus = yield* Service88;
|
|
119
|
-
const forms = yield*
|
|
120
|
-
const integration = yield*
|
|
121
|
-
const credentials = yield*
|
|
119
|
+
const forms = yield* Service78;
|
|
120
|
+
const integration = yield* Service76;
|
|
121
|
+
const credentials = yield* Service77;
|
|
122
122
|
const root = yield* Effect.scope;
|
|
123
123
|
const fork = yield* FiberSet.makeRuntime();
|
|
124
124
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -133,7 +133,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
133
133
|
return;
|
|
134
134
|
const remote = entry.config;
|
|
135
135
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
136
|
-
const integrationID =
|
|
136
|
+
const integrationID = ID17.make(suffix);
|
|
137
137
|
entry.integrationID = integrationID;
|
|
138
138
|
owned.add(integrationID);
|
|
139
139
|
const methodID = MethodID2.make(suffix);
|
|
@@ -149,7 +149,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
149
149
|
method: { id: methodID, type: "oauth", label: name },
|
|
150
150
|
authorize: () => Effect.gen(function* () {
|
|
151
151
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
152
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
152
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service77, credentials));
|
|
153
153
|
})
|
|
154
154
|
});
|
|
155
155
|
}).pipe(Scope.provide(scope));
|
|
@@ -164,12 +164,12 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
164
164
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
165
165
|
return;
|
|
166
166
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
167
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
167
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service77, credentials));
|
|
168
168
|
});
|
|
169
169
|
const elicitation = {
|
|
170
170
|
create: (input) => Effect.gen(function* () {
|
|
171
171
|
if (input.params.mode === "url") {
|
|
172
|
-
const formID =
|
|
172
|
+
const formID = ID19.create();
|
|
173
173
|
const elicitationID = input.params.elicitationId;
|
|
174
174
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
175
175
|
if (key)
|
|
@@ -272,7 +272,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
272
272
|
entry.scope = scope;
|
|
273
273
|
const authProvider = yield* connectProvider(entry);
|
|
274
274
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
275
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
275
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service83, environment), Scope.provide(scope));
|
|
276
276
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
277
277
|
if (Exit.isSuccess(result)) {
|
|
278
278
|
entry.client = result.value.connection;
|
|
@@ -373,7 +373,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
373
373
|
let closed = false;
|
|
374
374
|
const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
375
375
|
closed = true;
|
|
376
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
376
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service83, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
377
377
|
const register = Effect.gen(function* () {
|
|
378
378
|
if (closed) {
|
|
379
379
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -452,7 +452,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
452
452
|
yield* startServer(name, entry);
|
|
453
453
|
}).pipe(locks.withLock(name));
|
|
454
454
|
});
|
|
455
|
-
fork(bus.subscribe(
|
|
455
|
+
fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
456
456
|
const state = create4({
|
|
457
457
|
name: "mcp",
|
|
458
458
|
initial: () => ({
|
|
@@ -478,7 +478,7 @@ var layer16 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
478
478
|
}),
|
|
479
479
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
480
480
|
});
|
|
481
|
-
return
|
|
481
|
+
return Service37.of({
|
|
482
482
|
transform: state.transform,
|
|
483
483
|
reload: state.reload,
|
|
484
484
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -611,14 +611,14 @@ function mergeCatalogs(catalogs) {
|
|
|
611
611
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
612
612
|
});
|
|
613
613
|
}
|
|
614
|
-
function
|
|
614
|
+
function configured3(options) {
|
|
615
615
|
return makeLocationNode({
|
|
616
|
-
service:
|
|
617
|
-
layer:
|
|
618
|
-
deps: [
|
|
616
|
+
service: Service37,
|
|
617
|
+
layer: layer15(options),
|
|
618
|
+
deps: [node88, node85, node91, node80, node78, node79]
|
|
619
619
|
});
|
|
620
620
|
}
|
|
621
|
-
var
|
|
621
|
+
var node41 = configured3();
|
|
622
622
|
function toElicitationField(key, property, required) {
|
|
623
623
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
624
624
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -669,4 +669,4 @@ function toElicitationField(key, property, required) {
|
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
|
|
672
|
-
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2,
|
|
672
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError6, ToolCallError2, Service37, Options3, layer15, configured3, node41, exports_mcp4 };
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
4
|
var ID14 = Session.ID;
|
|
5
|
-
var
|
|
5
|
+
var Info21 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export { ID14,
|
|
7
|
+
export { ID14, Info21, SessionSchema2 };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-a59kc8m4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service88
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-7g7rhba8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID18,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Event18
|
|
11
|
+
} from "./repository-nbh8p6ww.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-s6h2s3rz.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID17,
|
|
17
17
|
MethodID2,
|
|
18
18
|
AuthorizationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-mvg5jam3.js";
|
|
20
20
|
import {
|
|
21
21
|
ID16
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./repository-y52vf7zr.js";
|
|
23
23
|
import {
|
|
24
24
|
Remote3,
|
|
25
25
|
Document3,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make31
|
|
27
|
+
} from "./repository-8t99kr38.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service71
|
|
30
|
+
} from "./repository-vaaw7kac.js";
|
|
31
31
|
import {
|
|
32
32
|
integrate2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-w52d91kq.js";
|
|
34
34
|
import {
|
|
35
35
|
defaultServer2,
|
|
36
36
|
server2,
|
|
37
37
|
headers2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./repository-kt3bjfbg.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
40
|
+
ID7,
|
|
41
41
|
Input15,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./repository-bv5k4tct.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import { Clock, Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -91,7 +91,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
91
91
|
}
|
|
92
92
|
function oauth(http) {
|
|
93
93
|
return {
|
|
94
|
-
integrationID:
|
|
94
|
+
integrationID: ID17.make("opencode"),
|
|
95
95
|
method: {
|
|
96
96
|
id: methodID,
|
|
97
97
|
type: "oauth",
|
|
@@ -159,7 +159,7 @@ var OpencodePlugin2 = define({
|
|
|
159
159
|
const bus = yield* Service88;
|
|
160
160
|
const client = yield* HttpClient.HttpClient;
|
|
161
161
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
162
|
-
const config = yield*
|
|
162
|
+
const config = yield* Service71;
|
|
163
163
|
const scope = yield* Scope.Scope;
|
|
164
164
|
const loading = Semaphore.makeUnsafe(1);
|
|
165
165
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -195,13 +195,13 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
});
|
|
196
196
|
let integrated;
|
|
197
197
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
198
|
-
yield* config.integration?.(
|
|
199
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID ===
|
|
198
|
+
yield* config.integration?.(ID17.make("opencode"), document) ?? Effect.void;
|
|
199
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID17.make("opencode"));
|
|
200
200
|
});
|
|
201
201
|
const publish = Effect.fnUntraced(function* (next) {
|
|
202
|
-
yield* integrate(next.remote && next.connection &&
|
|
203
|
-
integrationID:
|
|
204
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
202
|
+
yield* integrate(next.remote && next.connection && make31({
|
|
203
|
+
integrationID: ID17.make("opencode"),
|
|
204
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID18.make(next.connection.id) } : next.connection,
|
|
205
205
|
organization: next.organization,
|
|
206
206
|
info: next.remote
|
|
207
207
|
}));
|
|
@@ -276,7 +276,7 @@ var OpencodePlugin2 = define({
|
|
|
276
276
|
}
|
|
277
277
|
});
|
|
278
278
|
yield* ctx.websearch.transform((editor) => {
|
|
279
|
-
const provider =
|
|
279
|
+
const provider = ID7.make("opencode");
|
|
280
280
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
281
281
|
editor.add(search(provider, snapshot.connection));
|
|
282
282
|
});
|
|
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
|
|
|
328
328
|
onlyIfMissing: true
|
|
329
329
|
});
|
|
330
330
|
});
|
|
331
|
-
yield* bus.subscribe(
|
|
331
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID17.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
332
332
|
yield* poll();
|
|
333
333
|
})
|
|
334
334
|
});
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service39,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer17,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node43
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service39 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service39, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service42, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service39.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer17 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node43 = makeGlobalNode({ service: Service39, layer: layer17, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service39, makeLayer2, layer17, node43, exports_model_transport };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89,
|
|
3
3
|
node92
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-07nbfc86.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service81,
|
|
17
|
+
node: () => node83
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service81 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service89).db;
|
|
26
|
-
return
|
|
26
|
+
return Service81.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node83 = makeGlobalNode({ service: Service81, layer, deps: [node92] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service81, node83, exports_kv };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node81
|
|
4
|
+
} from "./repository-m2c0tfws.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make30,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-dv96216k.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions3 = {};
|
|
17
|
+
__export(exports_instructions3, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions3,
|
|
19
|
+
Service: () => Service31,
|
|
20
|
+
node: () => node35
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,18 +61,18 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service31 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const references = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
67
|
+
const references = yield* Service79;
|
|
68
|
+
return Service31.of({
|
|
69
69
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
70
70
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
71
71
|
name: reference.name,
|
|
72
72
|
path: reference.path,
|
|
73
73
|
description: reference.description
|
|
74
74
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
75
|
-
return
|
|
75
|
+
return make30({
|
|
76
76
|
key: Key3.make("core/reference-guidance"),
|
|
77
77
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
78
78
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
85
85
|
})
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
88
|
+
var node35 = makeLocationNode({ service: Service31, layer, deps: [node81] });
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Service31, node35, exports_instructions3 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names3,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names3() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names3, paths2, exports_protected };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service89
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-07nbfc86.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./repository-8jw5dp9j.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-ev660z6k.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-yv39fqry.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-00qfdy27.js";
|
|
16
16
|
import {
|
|
17
17
|
Service30
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-n1yy3t2x.js";
|
|
19
19
|
import {
|
|
20
20
|
retry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./repository-wnhgecwx.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,7 +32,7 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai/effect";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service52;
|
|
36
36
|
const database = yield* Service89;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./repository-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|