@opencode/core 0.0.0-dev-20801 → 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/{location-service-map-s8d7rejh.js → kv-02nrjc1r.js} +8 -8
- package/dist/chunks/{location-service-map-x8gmk19p.js → kv-097cmpqj.js} +7 -7
- package/dist/chunks/{location-service-map-7mpn4658.js → kv-0f0v92e3.js} +11 -11
- package/dist/chunks/{location-service-map-dr0w99yk.js → kv-0jxpf7nz.js} +18 -18
- package/dist/chunks/{location-service-map-carj08b7.js → kv-0krxawfx.js} +10 -10
- package/dist/chunks/{location-service-map-0paq2nw3.js → kv-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-qne3fa44.js → kv-0r3c1bmw.js} +5 -5
- package/dist/chunks/{location-service-map-aner4yt8.js → kv-0rp0jwtv.js} +4 -4
- package/dist/chunks/{location-service-map-0vbcp93d.js → kv-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-service-map-8f283hkt.js → kv-179j5xfr.js} +32 -32
- package/dist/chunks/{location-service-map-jqpt2939.js → kv-18eahbmf.js} +22 -22
- package/dist/chunks/{location-service-map-9jm2baf7.js → kv-18na98pb.js} +11 -11
- package/dist/chunks/{location-service-map-1dvck2a7.js → kv-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-service-map-ywt8jp22.js → kv-1ffvrpkg.js} +6 -6
- package/dist/chunks/{location-service-map-qpb7bxgp.js → kv-1h7reqxf.js} +6 -6
- package/dist/chunks/{location-service-map-rgsaj6md.js → kv-1nhge9b3.js} +5 -5
- package/dist/chunks/{location-service-map-v8k59dvq.js → kv-1v945k49.js} +11 -11
- package/dist/chunks/{location-service-map-nm0vfxwf.js → kv-21m8jdjt.js} +15 -15
- package/dist/chunks/{location-service-map-xmkdm31h.js → kv-29jfy9fm.js} +33 -33
- package/dist/chunks/{location-service-map-7ze973h4.js → kv-2k12d77b.js} +20 -20
- package/dist/chunks/{location-service-map-fcrkznn8.js → kv-2k8khapm.js} +5 -5
- package/dist/chunks/{location-service-map-qmfan5p8.js → kv-2rvve3xk.js} +22 -22
- package/dist/chunks/{location-service-map-2vvh33eb.js → kv-2vvh33eb.js} +2 -2
- package/dist/chunks/{location-service-map-c9vfw4h0.js → kv-2ywftmzs.js} +13 -13
- package/dist/chunks/{location-service-map-h7s7r6s9.js → kv-31xfzrxg.js} +5 -5
- package/dist/chunks/{location-service-map-jy63csdy.js → kv-332k48pc.js} +16 -16
- package/dist/chunks/{location-service-map-wsh9mqvf.js → kv-35p4wqwd.js} +22 -22
- package/dist/chunks/{location-service-map-3fc6dm20.js → kv-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-3hepkmqq.js → kv-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-3hwn7j4h.js → kv-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-service-map-wdhzpvak.js → kv-3r5sjmkn.js} +9 -9
- package/dist/chunks/{location-service-map-3smtnn6g.js → kv-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-3tvqynh2.js → kv-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-92m6ady5.js → kv-3yxrtm4f.js} +25 -25
- package/dist/chunks/{location-service-map-3zsf4n22.js → kv-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-service-map-9np2jy3t.js → kv-4cbvgt05.js} +19 -19
- package/dist/chunks/kv-4hj7k2fv.js +26 -0
- package/dist/chunks/{location-service-map-1xf08g7c.js → kv-4k0mny89.js} +24 -24
- package/dist/chunks/{location-service-map-2ccvkpx1.js → kv-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-service-map-rpz6cytj.js → kv-55ecggx1.js} +36 -36
- package/dist/chunks/{location-service-map-6fg15rp7.js → kv-59b1e2pm.js} +21 -21
- package/dist/chunks/{location-service-map-pjy78br0.js → kv-5cc8s6k5.js} +8 -8
- package/dist/chunks/{location-service-map-5m9w47nd.js → kv-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-service-map-8tj6dfpd.js → kv-5nbem83a.js} +30 -30
- package/dist/chunks/{location-service-map-7c80c8sp.js → kv-5ncnyb2r.js} +43 -43
- package/dist/chunks/{location-service-map-e3qxr5gk.js → kv-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-service-map-tbm98svr.js → kv-5rmvgf7a.js} +11 -11
- package/dist/chunks/{location-service-map-sxt5p7a7.js → kv-5w6eanth.js} +9 -9
- package/dist/chunks/{location-service-map-nr86a4aa.js → kv-67tnw0sj.js} +32 -32
- package/dist/chunks/{location-service-map-ppgeajdt.js → kv-6aq6rxq6.js} +11 -11
- package/dist/chunks/{location-service-map-wk5z6jzv.js → kv-6hjx5zpb.js} +9 -9
- package/dist/chunks/{location-service-map-1p07q0wb.js → kv-6pc27hjz.js} +8 -8
- package/dist/chunks/{location-service-map-nw91k3fh.js → kv-6rm5yzkt.js} +4 -4
- package/dist/chunks/{location-service-map-44w12kf8.js → kv-6tge909y.js} +3 -3
- package/dist/chunks/{location-service-map-6xb47vfp.js → kv-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-service-map-31c79hqa.js → kv-70swtfkw.js} +13 -13
- package/dist/chunks/{location-service-map-71az546q.js → kv-71az546q.js} +2 -2
- package/dist/chunks/{location-service-map-58k5xxy9.js → kv-71bdkqs8.js} +24 -24
- package/dist/chunks/{location-service-map-k3kxt7h3.js → kv-74z377kx.js} +6 -6
- package/dist/chunks/{location-service-map-7bmhse3q.js → kv-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-thtzhryg.js → kv-7ejdeqms.js} +20 -20
- package/dist/chunks/{location-service-map-sbwbtvpe.js → kv-7k9f2xm5.js} +5 -5
- package/dist/chunks/{location-service-map-r7hb9m1a.js → kv-7kg1cej0.js} +5 -5
- package/dist/chunks/{location-service-map-c4xgbqak.js → kv-7vabrfjp.js} +19 -19
- package/dist/chunks/{location-service-map-6fnfe7br.js → kv-7zkwb82j.js} +24 -24
- package/dist/chunks/{location-service-map-72sxpf59.js → kv-82v73sw7.js} +3 -3
- package/dist/chunks/{location-service-map-55nzz6xb.js → kv-845yp122.js} +8 -8
- package/dist/chunks/{location-service-map-y5bmbxsz.js → kv-85mkkr1j.js} +15 -15
- package/dist/chunks/{location-service-map-mya54eym.js → kv-86kgdsfv.js} +40 -40
- package/dist/chunks/{location-service-map-4jpjqsrx.js → kv-89pw95xg.js} +17 -17
- package/dist/chunks/{location-service-map-zfs8ae4p.js → kv-8c7secgm.js} +4 -4
- package/dist/chunks/{location-service-map-jbhsa3d2.js → kv-8ck4qvpq.js} +11 -11
- package/dist/chunks/{location-service-map-2r9t25hy.js → kv-8e30trb4.js} +7 -7
- package/dist/chunks/{location-service-map-xsqp8vj3.js → kv-8f678fnw.js} +23 -23
- package/dist/chunks/{location-service-map-8m6m0r52.js → kv-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-service-map-qrnt87r4.js → kv-8nty2cvy.js} +34 -34
- package/dist/chunks/{location-service-map-kt85bzct.js → kv-8x2cscjj.js} +24 -24
- package/dist/chunks/{location-service-map-yzwajjfv.js → kv-8y0yg40f.js} +5 -5
- package/dist/chunks/{location-service-map-66m9kez4.js → kv-8yyjdjsz.js} +25 -25
- package/dist/chunks/{location-service-map-3jc17mvm.js → kv-90ry6nhj.js} +35 -35
- package/dist/chunks/{location-service-map-7cx595n2.js → kv-97aeaand.js} +9 -9
- package/dist/chunks/{location-service-map-71dgzv1y.js → kv-99hedzh4.js} +27 -27
- package/dist/chunks/{location-service-map-9e5bzkjp.js → kv-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-service-map-zdpjb49n.js → kv-9z1r8vb3.js} +49 -49
- package/dist/chunks/{location-service-map-ft5bq997.js → kv-a2w96xvv.js} +22 -22
- package/dist/chunks/{location-service-map-nf9x7vvg.js → kv-a3gjz6ta.js} +4 -4
- package/dist/chunks/{location-service-map-vvt30vkv.js → kv-a628wcjv.js} +11 -11
- package/dist/chunks/{location-service-map-hh2z7ns7.js → kv-aah5wtyj.js} +10 -10
- package/dist/chunks/{location-service-map-hwe7x4em.js → kv-acd4vkpt.js} +6 -6
- package/dist/chunks/{location-service-map-xabqshkb.js → kv-aevqq3v7.js} +41 -41
- package/dist/chunks/{location-service-map-hd2bethg.js → kv-aewm4t7v.js} +6 -6
- package/dist/chunks/{location-service-map-sp4rp1vg.js → kv-b1wktnxt.js} +11 -11
- package/dist/chunks/{location-service-map-zyk1yjk8.js → kv-b3f8fkhc.js} +5 -5
- package/dist/chunks/{location-service-map-0mevmm6k.js → kv-b3ptrng8.js} +3 -3
- package/dist/chunks/{location-service-map-f4fvt4fb.js → kv-b4qztptv.js} +14 -14
- package/dist/chunks/{location-service-map-m6k32p3q.js → kv-b4xjmrbp.js} +46 -46
- package/dist/chunks/{location-service-map-bh0zzf2s.js → kv-bh0zzf2s.js} +1 -1
- package/dist/chunks/{location-service-map-m72013sh.js → kv-bm142rwp.js} +15 -15
- package/dist/chunks/{location-service-map-rxs07z00.js → kv-bn0p8pab.js} +28 -28
- package/dist/chunks/{location-service-map-7c1dbfgq.js → kv-c32dxtt1.js} +2 -2
- package/dist/chunks/{location-service-map-23jc72tn.js → kv-ccthn8e8.js} +16 -16
- package/dist/chunks/{location-service-map-s5met55r.js → kv-cmmdg65p.js} +8 -8
- package/dist/chunks/{location-service-map-becgvfp5.js → kv-cyx8pe1r.js} +24 -24
- package/dist/chunks/{location-service-map-tpw6cwsb.js → kv-czfptnv9.js} +8 -8
- package/dist/chunks/{location-service-map-xg276sb2.js → kv-d0xs1264.js} +38 -38
- package/dist/chunks/kv-d6nt18tj.js +513 -0
- package/dist/chunks/{location-service-map-994b2pxg.js → kv-d9wzmzc3.js} +5 -5
- package/dist/chunks/{location-service-map-x661k3y3.js → kv-db2wf4at.js} +4 -4
- package/dist/chunks/{location-service-map-gffqj91w.js → kv-dda0p7y7.js} +9 -9
- package/dist/chunks/{location-service-map-b2kvt9pg.js → kv-dedjb6j5.js} +19 -19
- package/dist/chunks/{location-service-map-f8gz7yg5.js → kv-defnq6yq.js} +4 -4
- package/dist/chunks/{location-service-map-ba1chkmt.js → kv-df8znrks.js} +57 -57
- package/dist/chunks/{location-service-map-8tsdq50x.js → kv-dj68pnee.js} +4 -4
- package/dist/chunks/{location-service-map-yaf201e8.js → kv-dmj30839.js} +17 -17
- package/dist/chunks/{location-service-map-57b9ws8p.js → kv-drwq78ky.js} +5 -5
- package/dist/chunks/{location-service-map-46wz3f32.js → kv-ds834g89.js} +26 -26
- package/dist/chunks/{location-service-map-ctqxc5qb.js → kv-dxarthn3.js} +13 -13
- package/dist/chunks/{location-service-map-kne8f3cn.js → kv-e2hjzebn.js} +4 -4
- package/dist/chunks/{location-service-map-xrfewb9d.js → kv-ec8m5png.js} +11 -11
- package/dist/chunks/{location-service-map-eej6y6fw.js → kv-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-service-map-ef5x83kb.js → kv-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-service-map-xnhfr7vz.js → kv-erkwq75e.js} +20 -20
- package/dist/chunks/{location-service-map-rp3y8q2h.js → kv-etfe1zn9.js} +27 -27
- package/dist/chunks/{location-service-map-75vk4dpz.js → kv-ev1zapjj.js} +3 -3
- package/dist/chunks/{location-service-map-btk9fr07.js → kv-ewjmr5mk.js} +23 -23
- package/dist/chunks/{location-service-map-9cbg87x5.js → kv-exz5nhcy.js} +23 -23
- package/dist/chunks/{location-service-map-3vyq9jg0.js → kv-f03pzbe3.js} +14 -14
- package/dist/chunks/{location-service-map-h9wp8z5w.js → kv-f29mbr7f.js} +4 -4
- package/dist/chunks/{location-service-map-5twrj1xt.js → kv-f2xfasxy.js} +12 -12
- package/dist/chunks/{location-service-map-s72appec.js → kv-f2y0esh4.js} +23 -23
- package/dist/chunks/{location-service-map-jr72ype2.js → kv-f3a7f95v.js} +4 -4
- package/dist/chunks/kv-f81tjggh.js +18 -0
- package/dist/chunks/{location-service-map-7mhq6j8k.js → kv-fbwt6v8j.js} +12 -12
- package/dist/chunks/{location-service-map-5vbhpx63.js → kv-ffjgvd35.js} +40 -40
- package/dist/chunks/{location-service-map-kh1ckaj3.js → kv-fgtw61v5.js} +14 -14
- package/dist/chunks/{location-service-map-zta3kt9v.js → kv-fj958thf.js} +19 -19
- package/dist/chunks/{location-service-map-7ge0js6a.js → kv-fpzt6bzc.js} +18 -18
- package/dist/chunks/{location-service-map-ck8vrs8t.js → kv-fr3xav96.js} +9 -9
- package/dist/chunks/{location-service-map-qcedr0bd.js → kv-fr73h8xd.js} +17 -17
- package/dist/chunks/{location-service-map-wgqfafw9.js → kv-fywtqf87.js} +31 -31
- package/dist/chunks/{location-service-map-a3w7zwjp.js → kv-fz9v4nyy.js} +7 -7
- package/dist/chunks/{location-service-map-g686f6pq.js → kv-g686f6pq.js} +2 -2
- package/dist/chunks/{location-service-map-gd4qta3r.js → kv-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-xvaq9pn2.js → kv-ggv0c9x6.js} +19 -19
- package/dist/chunks/{location-service-map-scz9kh8s.js → kv-ghw176k1.js} +12 -12
- package/dist/chunks/{location-service-map-gk8qb678.js → kv-gk8qb678.js} +1 -1
- package/dist/chunks/{location-service-map-awfjv812.js → kv-gktrhw02.js} +1 -1
- package/dist/chunks/{location-service-map-k0w1apbg.js → kv-gm31ynds.js} +5 -5
- package/dist/chunks/{location-service-map-fwhecrey.js → kv-gn02s22d.js} +4 -4
- package/dist/chunks/{location-service-map-2eyh21c7.js → kv-gns61vxs.js} +17 -17
- package/dist/chunks/{location-service-map-q24zdy77.js → kv-gswrqrmx.js} +5 -5
- package/dist/chunks/{location-service-map-ttxdgb8t.js → kv-gv58btj9.js} +10 -10
- package/dist/chunks/{location-service-map-jmtk6pe3.js → kv-gw5h0ejx.js} +24 -24
- package/dist/chunks/{location-service-map-0mn8rd50.js → kv-gxn7v165.js} +4 -4
- package/dist/chunks/{location-service-map-dxpeytp7.js → kv-gxwd64za.js} +22 -22
- package/dist/chunks/{location-service-map-9xg5tdtq.js → kv-gy7jxges.js} +54 -54
- package/dist/chunks/{location-service-map-rgk6zsy7.js → kv-h1a3h9fj.js} +22 -22
- package/dist/chunks/{location-service-map-h2b79v29.js → kv-h2b79v29.js} +2 -2
- package/dist/chunks/{location-service-map-h6vf3j39.js → kv-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-gewe6jf6.js → kv-h8kakj28.js} +12 -12
- package/dist/chunks/{location-service-map-hgz4x7wa.js → kv-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-service-map-57snjcj7.js → kv-hw40zd5y.js} +13 -13
- package/dist/chunks/{location-service-map-awcdnv69.js → kv-j3wnve26.js} +36 -36
- package/dist/chunks/{location-service-map-j56e64zr.js → kv-j56e64zr.js} +1 -1
- package/dist/chunks/{location-service-map-7e7armbs.js → kv-j61gmbbd.js} +23 -23
- package/dist/chunks/{location-service-map-q4cx2nd9.js → kv-j78jacrw.js} +25 -25
- package/dist/chunks/{location-service-map-89embc53.js → kv-jwv7ab79.js} +6 -6
- package/dist/chunks/{location-service-map-qpm5hp9p.js → kv-jzbvpyra.js} +9 -9
- package/dist/chunks/{location-service-map-j9smc2b3.js → kv-k2gn8633.js} +40 -40
- package/dist/chunks/{location-service-map-bt5x3z5v.js → kv-kdn6ag71.js} +27 -27
- package/dist/chunks/{location-service-map-nwyx06m3.js → kv-kgvvfrqy.js} +9 -9
- package/dist/chunks/{location-service-map-vsm0c6m6.js → kv-khd2efa6.js} +14 -14
- package/dist/chunks/{location-service-map-0xc0wntc.js → kv-m31y1t78.js} +3 -3
- package/dist/chunks/{location-service-map-m3fdjcah.js → kv-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-service-map-v8zetzh7.js → kv-m3nz4q65.js} +16 -16
- package/dist/chunks/{location-service-map-m9w0rfyh.js → kv-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-gdv62nb9.js → kv-mcze36gg.js} +5 -5
- package/dist/chunks/{location-service-map-5ydghqfr.js → kv-mfvcxhke.js} +23 -23
- package/dist/chunks/{location-service-map-m3tby6h3.js → kv-mme951fp.js} +11 -11
- package/dist/chunks/{location-service-map-pvpckbfy.js → kv-mw52v8dk.js} +36 -36
- package/dist/chunks/{location-service-map-je13hchp.js → kv-mxcpkhvt.js} +44 -44
- package/dist/chunks/{location-service-map-z9x3zg0s.js → kv-n0dqmjd7.js} +26 -26
- package/dist/chunks/{location-service-map-361xt909.js → kv-n61013np.js} +8 -8
- package/dist/chunks/{location-service-map-s716ynet.js → kv-nhk4fd07.js} +11 -11
- package/dist/chunks/{location-service-map-5rzwp8tz.js → kv-nma959mg.js} +3 -3
- package/dist/chunks/{location-service-map-gf04c5rv.js → kv-nr1c2xed.js} +13 -13
- package/dist/chunks/{location-service-map-khmqacep.js → kv-ny8edt06.js} +4 -4
- package/dist/chunks/{location-service-map-pwpxvnsv.js → kv-pc2pm9fb.js} +8 -8
- package/dist/chunks/{location-service-map-ypmktead.js → kv-pe0mwqpx.js} +31 -31
- package/dist/chunks/{location-service-map-88hkx883.js → kv-pewbjeww.js} +12 -12
- package/dist/chunks/{location-service-map-pjvnvgmy.js → kv-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-pknna89w.js → kv-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-jsz5n3ba.js → kv-pn8qj2g4.js} +14 -14
- package/dist/chunks/{location-service-map-rpfdbzf4.js → kv-pnwf0k20.js} +31 -31
- package/dist/chunks/{location-service-map-n7d88tpn.js → kv-pt1ss6jy.js} +3 -3
- package/dist/chunks/{location-service-map-scyd4zqv.js → kv-pz68ah3r.js} +22 -22
- package/dist/chunks/{location-service-map-0j77ygfz.js → kv-q0xm7vwc.js} +6 -6
- package/dist/chunks/{location-service-map-yqc6bamn.js → kv-q5e7cmwt.js} +1 -1
- package/dist/chunks/{location-service-map-433skmxr.js → kv-q687e1zt.js} +13 -13
- package/dist/chunks/{location-service-map-dgaabqr5.js → kv-q6jgdmce.js} +18 -18
- package/dist/chunks/{location-service-map-3fbj0cxp.js → kv-q8jgnm4x.js} +5 -5
- package/dist/chunks/{location-service-map-dt89m1xn.js → kv-qaa9qhxv.js} +20 -20
- package/dist/chunks/{location-service-map-gqj8kawb.js → kv-qcyg9wsp.js} +20 -20
- package/dist/chunks/{location-service-map-706phk7x.js → kv-qmgn8zg7.js} +2 -2
- package/dist/chunks/{location-service-map-qnc92qwc.js → kv-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-service-map-jh5d2e01.js → kv-qpnaxz3q.js} +4 -4
- package/dist/chunks/{location-service-map-xhjk5q61.js → kv-qq88yzqh.js} +39 -39
- package/dist/chunks/{location-service-map-qsdy395h.js → kv-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-nhqnjw8w.js → kv-qwe2mhgr.js} +16 -16
- package/dist/chunks/{location-service-map-rt7sntmp.js → kv-qwyj34g8.js} +33 -33
- package/dist/chunks/{location-service-map-2sejkfem.js → kv-r2m716tb.js} +9 -9
- package/dist/chunks/{location-service-map-gr6vhd7y.js → kv-r8eecgky.js} +5 -5
- package/dist/chunks/{location-service-map-54ma36ye.js → kv-r94pvvab.js} +4 -4
- package/dist/chunks/{location-service-map-rdw6cm16.js → kv-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-service-map-vers3xd6.js → kv-rhf89g7g.js} +13 -13
- package/dist/chunks/{location-service-map-ah16e13m.js → kv-rj1q5wk1.js} +32 -32
- package/dist/chunks/{location-service-map-b1va8wh2.js → kv-rqmj2j1g.js} +32 -32
- package/dist/chunks/{location-service-map-ad2nqy1t.js → kv-rrcvy1kp.js} +11 -11
- package/dist/chunks/{location-service-map-ratrq7cm.js → kv-ryr25ayn.js} +4 -4
- package/dist/chunks/{location-service-map-87eyk158.js → kv-ryy1tv3k.js} +60 -60
- package/dist/chunks/{location-service-map-qa16p51s.js → kv-s8y61785.js} +22 -22
- package/dist/chunks/{location-service-map-b6y5gre9.js → kv-sc83fajd.js} +89 -89
- package/dist/chunks/{location-service-map-cw5hxmre.js → kv-sdj6ye0y.js} +6 -6
- package/dist/chunks/{location-service-map-b9dnqm0v.js → kv-swr8xay4.js} +14 -14
- package/dist/chunks/{location-service-map-7ak5snhj.js → kv-t26nt5g3.js} +3 -3
- package/dist/chunks/{location-service-map-tazgh4e4.js → kv-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-tcezcvh9.js → kv-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-service-map-tdstcens.js → kv-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-3tnzxa2y.js → kv-teg22ked.js} +8 -8
- package/dist/chunks/{location-service-map-ecyc96a7.js → kv-tejrpg58.js} +45 -45
- package/dist/chunks/{location-service-map-8w4e1847.js → kv-tfhpz3sz.js} +19 -19
- package/dist/chunks/{location-service-map-1fa42107.js → kv-thkq665f.js} +83 -83
- package/dist/chunks/{location-service-map-dbbdp4nt.js → kv-thzwf92f.js} +22 -22
- package/dist/chunks/{location-service-map-vgbf06ff.js → kv-tmm3eqes.js} +4 -4
- package/dist/chunks/{location-service-map-tyytaxap.js → kv-tyytaxap.js} +1 -1
- package/dist/chunks/{location-service-map-btvs9fn2.js → kv-v0es1rhs.js} +9 -9
- package/dist/chunks/kv-v10hv8b6.js +253 -0
- package/dist/chunks/{location-service-map-v7p4zvkq.js → kv-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-service-map-wzq12bc0.js → kv-vebh4w59.js} +13 -13
- package/dist/chunks/{location-service-map-veqvce7d.js → kv-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-ydfxryx4.js → kv-vgn8ffrp.js} +3 -3
- package/dist/chunks/{location-service-map-7rvtndc1.js → kv-vnm975cv.js} +24 -24
- package/dist/chunks/{location-service-map-ys8mr2ec.js → kv-vryt29t9.js} +15 -15
- package/dist/chunks/{location-service-map-ycw2k4m5.js → kv-vzbxwz1d.js} +11 -11
- package/dist/chunks/{location-service-map-vzs5sf6e.js → kv-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-service-map-84txncab.js → kv-w1eejvng.js} +5 -5
- package/dist/chunks/{location-service-map-w3wsvvr9.js → kv-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-sabhanq5.js → kv-w40gtye2.js} +1 -1
- package/dist/chunks/{location-service-map-wd87259q.js → kv-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-kad71q59.js → kv-wh45bpan.js} +15 -15
- package/dist/chunks/{location-service-map-6yz0wx8n.js → kv-wh6zw745.js} +5 -5
- package/dist/chunks/{location-service-map-ygxdexa0.js → kv-wjdah6d6.js} +11 -11
- package/dist/chunks/{location-service-map-1z6w7b3h.js → kv-wqv9pw60.js} +12 -12
- package/dist/chunks/{location-service-map-1165c09c.js → kv-wsh4qmqs.js} +3 -3
- package/dist/chunks/{location-service-map-1gdvatv8.js → kv-wyf9p2tq.js} +18 -18
- package/dist/chunks/{location-service-map-28zth9xm.js → kv-x67va1k1.js} +9 -9
- package/dist/chunks/{location-service-map-96d8sv6n.js → kv-x7hdbwj8.js} +22 -22
- package/dist/chunks/{location-service-map-ddfnwkqp.js → kv-x81akh75.js} +9 -9
- package/dist/chunks/{location-service-map-cv4t6fed.js → kv-xpbjw4w5.js} +36 -36
- package/dist/chunks/{location-service-map-3errj18w.js → kv-xtp6x8sm.js} +5 -5
- package/dist/chunks/{location-service-map-t2m7x8m9.js → kv-xwpskw4d.js} +3 -3
- package/dist/chunks/{location-service-map-y1fvbwt7.js → kv-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-j2jk7dpe.js → kv-y4stezpd.js} +7 -7
- package/dist/chunks/{location-service-map-y71avatq.js → kv-y71avatq.js} +1 -1
- package/dist/chunks/{location-service-map-k24w61n2.js → kv-y85ny7jm.js} +33 -33
- package/dist/chunks/{location-service-map-96kj8cwg.js → kv-yc8hc8f5.js} +8 -8
- package/dist/chunks/{location-service-map-gd0z3kav.js → kv-yhf5ra7e.js} +48 -48
- package/dist/chunks/{location-service-map-dtnrfw1y.js → kv-yk440vae.js} +11 -11
- package/dist/chunks/{location-service-map-1acjjqhc.js → kv-yp2x3t23.js} +4 -4
- package/dist/chunks/{location-service-map-bas1vgmj.js → kv-yphr3tm0.js} +69 -69
- package/dist/chunks/{location-service-map-ykbfgt2m.js → kv-yzn3yq27.js} +27 -27
- package/dist/chunks/{location-service-map-z0bkrqjs.js → kv-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-gzr50nfj.js → kv-z0nzgh6v.js} +33 -33
- package/dist/chunks/{location-service-map-gp5z9a0b.js → kv-z4n08jzm.js} +175 -175
- package/dist/chunks/{location-service-map-detd8ckx.js → kv-z6hj8gmz.js} +15 -15
- package/dist/chunks/{location-service-map-tr86pv5k.js → kv-za0530t8.js} +11 -11
- package/dist/chunks/{location-service-map-nq9xdcve.js → kv-zbac9cjn.js} +23 -23
- package/dist/chunks/{location-service-map-zr2ceqn5.js → kv-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-zxq2ej10.js → kv-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- 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 +116 -116
- 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 +117 -117
- 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 +116 -116
- 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 +122 -122
- 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 +367 -367
- 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 +94 -94
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +98 -98
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- 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 +5 -5
- package/dist/instance.js +358 -358
- package/dist/instruction-discovery.js +84 -84
- 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 +86 -86
- package/dist/job.js +77 -77
- 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 +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +355 -355
- package/dist/location.js +88 -88
- 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 +130 -130
- 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 +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- 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 +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 +4 -4
- 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 +96 -96
- 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 +77 -77
- 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 +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +91 -91
- package/dist/provider.js +100 -100
- 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 +90 -90
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- 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 +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- 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 +98 -98
- 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 +9 -9
- 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 +99 -99
- 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 +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- 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 +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +127 -127
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +94 -94
- 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 +121 -121
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +108 -108
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +113 -113
- 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 +14 -14
- 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 +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- 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 +95 -95
- package/package.json +8 -8
- package/dist/chunks/location-service-map-f5kdsmxt.js +0 -253
- package/dist/chunks/location-service-map-ghjcmzsq.js +0 -26
- package/dist/chunks/location-service-map-jqh9b0xq.js +0 -18
- package/dist/chunks/location-service-map-pvkdwwyp.js +0 -513
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → kv-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → kv-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → kv-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → kv-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → kv-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-24dcb14g.js → kv-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → kv-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → kv-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2bv980vf.js → kv-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → kv-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-34c7v6d4.js → kv-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → kv-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → kv-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3t0ybcrp.js → kv-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → kv-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → kv-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → kv-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → kv-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → kv-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → kv-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → kv-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → kv-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → kv-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-6q2bdcd1.js → kv-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → kv-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → kv-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → kv-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-84wd9syh.js → kv-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → kv-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → kv-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-8wj87zfr.js → kv-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → kv-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → kv-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → kv-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → kv-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → kv-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → kv-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → kv-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → kv-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → kv-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-bw78ga2c.js → kv-bw78ga2c.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → kv-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → kv-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → kv-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → kv-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → kv-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → kv-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → kv-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → kv-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → kv-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → kv-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → kv-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → kv-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → kv-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → kv-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → kv-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → kv-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → kv-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → kv-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → kv-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → kv-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → kv-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → kv-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → kv-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → kv-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jjkms2e6.js → kv-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → kv-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → kv-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jze0r7bz.js → kv-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → kv-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → kv-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → kv-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → kv-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → kv-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → kv-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-pyv0edze.js → kv-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → kv-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → kv-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → kv-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → kv-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → kv-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qg3g05ea.js → kv-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → kv-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → kv-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → kv-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → kv-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-ve7vex1e.js → kv-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → kv-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wc3fc9cn.js → kv-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → kv-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → kv-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → kv-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → kv-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → kv-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → kv-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → kv-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → kv-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z5v4ffb3.js → kv-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → kv-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node84
|
|
4
|
+
} from "./kv-pn8qj2g4.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event19,
|
|
18
|
+
ID: () => ID13,
|
|
19
|
+
Info: () => Info24,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service74,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node77
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event19 } from "@opencode/schema/agent";
|
|
29
|
+
var ID13 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID13.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info24 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service74 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service81;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
41
41
|
initial: () => ({ agents: new Map }),
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info24.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
64
64
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
65
65
|
if (configured)
|
|
66
66
|
return configured;
|
|
67
|
-
const build = selectable(data.agents.get(
|
|
67
|
+
const build = selectable(data.agents.get(ID13.make("build")));
|
|
68
68
|
if (build)
|
|
69
69
|
return build;
|
|
70
70
|
for (const agent of data.agents.values()) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service74.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,12 +81,12 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID13.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
88
88
|
if (id !== undefined) {
|
|
89
|
-
const selected =
|
|
89
|
+
const selected = ID13.make(id);
|
|
90
90
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
91
91
|
}
|
|
92
92
|
const info = selectedDefault();
|
|
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
var
|
|
104
|
+
var node77 = makeLocationNode({ service: Service74, layer, deps: [node84] });
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { ID13, Name3, defaultID2, Color2, Info24, Service74, node77, exports_agent4, Event19 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./kv-pyv0edze.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-m3fdjcah.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./kv-j78jacrw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./kv-acd4vkpt.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-f81tjggh.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service57;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service45), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node80
|
|
4
|
+
} from "./kv-ccthn8e8.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./kv-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service16,
|
|
17
|
+
node: () => node18
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service16 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service77;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service16.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node18 = makeLocationNode({
|
|
91
|
+
service: Service16,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node80, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service16, node18, exports_formatter2 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-db2wf4at.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./kv-pn8qj2g4.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./kv-qwyj34g8.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-fywtqf87.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID8,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service67
|
|
20
|
+
} from "./kv-pnwf0k20.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID6
|
|
23
|
+
} from "./kv-pe0mwqpx.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./kv-x7hdbwj8.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./kv-ec8m5png.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID13
|
|
33
|
+
} from "./kv-7zkwb82j.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
get4
|
|
36
|
+
} from "./kv-r94pvvab.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID9.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,8 +163,8 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
167
|
-
const bus = yield*
|
|
166
|
+
const providers = yield* Service67;
|
|
167
|
+
const bus = yield* Service81;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
170
170
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID8.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load3(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID8.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
yield* ctx.model.transform((models) => {
|
|
225
|
-
if (models.get(
|
|
226
|
-
models.update(
|
|
225
|
+
if (models.get(ID8.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID8.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
227
227
|
model.enabled = false;
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(
|
|
232
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
|
-
if (evt.model.providerID !==
|
|
235
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
236
236
|
return;
|
|
237
237
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
238
238
|
return;
|
|
@@ -241,23 +241,23 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
242
242
|
}));
|
|
243
243
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
247
247
|
return;
|
|
248
248
|
}));
|
|
249
249
|
const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
|
|
250
250
|
evt.headers["X-Interaction-Type"] = interaction;
|
|
251
|
-
evt.headers["X-Interaction-Id"] = session ?
|
|
251
|
+
evt.headers["X-Interaction-Id"] = session ? get4(session) : evt.sessionID;
|
|
252
252
|
if (interaction !== "conversation-agent")
|
|
253
253
|
evt.headers["x-initiator"] = "agent";
|
|
254
|
-
}), { providerID:
|
|
254
|
+
}), { providerID: ID8.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID13.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
268
268
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
|
-
}), { providerID:
|
|
271
|
+
}), { providerID: ID8.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
274
274
|
return;
|
|
275
275
|
const token = evt.request.headers.get("x-api-key");
|
|
276
276
|
if (!token)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
279
279
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
280
280
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID8.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID8.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-ec8m5png.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./kv-pn8qj2g4.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event17
|
|
10
|
+
} from "./kv-qwyj34g8.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./kv-fywtqf87.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID8
|
|
17
|
+
} from "./kv-pnwf0k20.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID6,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./kv-pe0mwqpx.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./kv-pjvnvgmy.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin/provider/digitalocean.ts
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID8.make("digitalocean");
|
|
31
|
+
var integrationID = ID9.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -116,7 +116,7 @@ var oauth = {
|
|
|
116
116
|
var DigitalOceanPlugin2 = define({
|
|
117
117
|
id: "opencode.provider.digitalocean",
|
|
118
118
|
effect: Effect.fn(function* (ctx) {
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service81;
|
|
120
120
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
121
121
|
const loading = Semaphore.makeUnsafe(1);
|
|
122
122
|
const loaded = { routers: [] };
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID6.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./kv-02nrjc1r.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./kv-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-9e5bzkjp.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./kv-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./kv-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID16,
|
|
6
|
+
Service76
|
|
7
|
+
} from "./kv-29jfy9fm.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./kv-pt1ss6jy.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./kv-kgvvfrqy.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./kv-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./kv-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service76;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID16.make(from),
|
|
91
|
+
to: ID16.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./kv-acd4vkpt.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./kv-f81tjggh.js";
|
|
7
7
|
import {
|
|
8
8
|
Service48
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./kv-90ry6nhj.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./kv-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./kv-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
25
|
+
const instances = yield* Service57;
|
|
26
26
|
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service48), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|