@opencode/core 0.0.0-dev-20801 → 0.0.0-dev-20802
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 +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +70 -70
- package/dist/chunks/{location-service-map-y5bmbxsz.js → generate-040e300p.js} +15 -15
- package/dist/chunks/{location-service-map-9jm2baf7.js → generate-0a2k6nt6.js} +11 -11
- package/dist/chunks/{location-service-map-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-v8k59dvq.js → generate-0rhrd1mx.js} +11 -11
- package/dist/chunks/{location-service-map-0vbcp93d.js → generate-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-service-map-btk9fr07.js → generate-0vf0d06q.js} +20 -20
- package/dist/chunks/{location-service-map-7ze973h4.js → generate-10k4sbeq.js} +18 -18
- package/dist/chunks/generate-14316e4k.js +26 -0
- package/dist/chunks/{location-service-map-detd8ckx.js → generate-15jngqt8.js} +15 -15
- package/dist/chunks/{location-service-map-f8gz7yg5.js → generate-15qqjdee.js} +4 -4
- package/dist/chunks/{location-service-map-3fbj0cxp.js → generate-17r4ge8p.js} +5 -5
- package/dist/chunks/{location-service-map-xrfewb9d.js → generate-19e0e7kb.js} +11 -11
- package/dist/chunks/{location-service-map-1acjjqhc.js → generate-1acjjqhc.js} +1 -1
- package/dist/chunks/{location-service-map-b2kvt9pg.js → generate-1dddtqd5.js} +16 -16
- package/dist/chunks/{location-service-map-1dvck2a7.js → generate-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-service-map-rp3y8q2h.js → generate-1ktrwf6z.js} +27 -27
- package/dist/chunks/{location-service-map-cv4t6fed.js → generate-1wbfy9nd.js} +33 -33
- package/dist/chunks/{location-service-map-scyd4zqv.js → generate-26587ab8.js} +19 -19
- package/dist/chunks/{location-service-map-1165c09c.js → generate-27kcfysw.js} +3 -3
- package/dist/chunks/{location-service-map-7c1dbfgq.js → generate-2bsqqbxy.js} +2 -2
- package/dist/chunks/{location-service-map-dgaabqr5.js → generate-2gmwdz7g.js} +18 -18
- package/dist/chunks/{location-service-map-fcrkznn8.js → generate-2k8khapm.js} +5 -5
- package/dist/chunks/{location-service-map-zfs8ae4p.js → generate-2m8jawch.js} +4 -4
- package/dist/chunks/{location-service-map-0mevmm6k.js → generate-2mxs6sby.js} +3 -3
- package/dist/chunks/{location-service-map-2r9t25hy.js → generate-2q5xcbmg.js} +9 -9
- package/dist/chunks/{location-service-map-2vvh33eb.js → generate-2vvh33eb.js} +2 -2
- package/dist/chunks/{location-service-map-bas1vgmj.js → generate-2xmqvr3q.js} +69 -69
- package/dist/chunks/{location-service-map-ctqxc5qb.js → generate-301myjse.js} +13 -13
- package/dist/chunks/{location-service-map-rt7sntmp.js → generate-31ps3q9w.js} +28 -28
- package/dist/chunks/{location-service-map-j9smc2b3.js → generate-322rzpbc.js} +45 -45
- package/dist/chunks/generate-333bp4jv.js +513 -0
- package/dist/chunks/{location-service-map-58k5xxy9.js → generate-35p1319m.js} +19 -19
- package/dist/chunks/{location-service-map-qrnt87r4.js → generate-39yv08j4.js} +34 -34
- package/dist/chunks/{location-service-map-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-yqc6bamn.js → generate-3g8j9he4.js} +1 -1
- package/dist/chunks/{location-service-map-qpb7bxgp.js → generate-3gf64ef1.js} +9 -9
- package/dist/chunks/{location-service-map-kad71q59.js → generate-3h20cfpd.js} +15 -15
- package/dist/chunks/{location-service-map-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-3hwn7j4h.js → generate-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-service-map-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-service-map-nwyx06m3.js → generate-40948mfj.js} +9 -9
- package/dist/chunks/{location-service-map-t2m7x8m9.js → generate-48ph987b.js} +3 -3
- package/dist/chunks/{location-service-map-bh0zzf2s.js → generate-4c2df9zx.js} +8 -8
- package/dist/chunks/{location-service-map-7mhq6j8k.js → generate-4casdgny.js} +15 -15
- package/dist/chunks/{location-service-map-pwpxvnsv.js → generate-4fmhce0x.js} +8 -8
- package/dist/chunks/{location-service-map-nhqnjw8w.js → generate-4j3ft02p.js} +16 -16
- package/dist/chunks/{location-service-map-2ccvkpx1.js → generate-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-service-map-rxs07z00.js → generate-4wyasqq7.js} +24 -24
- package/dist/chunks/{location-service-map-gzr50nfj.js → generate-4x4w4sp7.js} +27 -27
- package/dist/chunks/{location-service-map-nq9xdcve.js → generate-53vb5svr.js} +20 -20
- package/dist/chunks/{location-service-map-54ma36ye.js → generate-54ma36ye.js} +1 -1
- package/dist/chunks/{location-service-map-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-service-map-vsm0c6m6.js → generate-5mmsq6kg.js} +11 -11
- package/dist/chunks/{location-service-map-e3qxr5gk.js → generate-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-service-map-awfjv812.js → generate-5sc16h8r.js} +1 -1
- package/dist/chunks/{location-service-map-nr86a4aa.js → generate-64xnz7ka.js} +29 -29
- package/dist/chunks/{location-service-map-66m9kez4.js → generate-693hse5b.js} +21 -21
- package/dist/chunks/{location-service-map-3errj18w.js → generate-6bxyve5m.js} +5 -5
- package/dist/chunks/{location-service-map-qa16p51s.js → generate-6c4htm7n.js} +33 -33
- package/dist/chunks/{location-service-map-r7hb9m1a.js → generate-6k9bjkax.js} +5 -5
- package/dist/chunks/{location-service-map-89embc53.js → generate-6mscxrv1.js} +6 -6
- package/dist/chunks/{location-service-map-gffqj91w.js → generate-6n4b0dsb.js} +9 -9
- package/dist/chunks/{location-service-map-433skmxr.js → generate-6vw57f10.js} +13 -13
- package/dist/chunks/{location-service-map-ft5bq997.js → generate-6wahjjvf.js} +28 -28
- package/dist/chunks/{location-service-map-6xb47vfp.js → generate-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-service-map-zdpjb49n.js → generate-6yd3w0ys.js} +49 -49
- package/dist/chunks/{location-service-map-71az546q.js → generate-71az546q.js} +2 -2
- package/dist/chunks/{location-service-map-ad2nqy1t.js → generate-7202g8q2.js} +11 -11
- package/dist/chunks/{location-service-map-qmfan5p8.js → generate-738x26ds.js} +18 -18
- package/dist/chunks/{location-service-map-3jc17mvm.js → generate-77ec2k6j.js} +43 -43
- package/dist/chunks/{location-service-map-m72013sh.js → generate-79n8fvy3.js} +15 -15
- package/dist/chunks/{location-service-map-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-wdhzpvak.js → generate-7eta88nt.js} +9 -9
- package/dist/chunks/{location-service-map-4jpjqsrx.js → generate-7f6317t0.js} +15 -15
- package/dist/chunks/{location-service-map-1fa42107.js → generate-7gwye6wj.js} +87 -87
- package/dist/chunks/{location-service-map-m3tby6h3.js → generate-7n6g46wz.js} +11 -11
- package/dist/chunks/{location-service-map-72sxpf59.js → generate-82v73sw7.js} +3 -3
- package/dist/chunks/{location-service-map-84txncab.js → generate-84txncab.js} +1 -1
- package/dist/chunks/{location-service-map-gd0z3kav.js → generate-879bespx.js} +46 -46
- package/dist/chunks/{location-service-map-ttxdgb8t.js → generate-8dze8v7x.js} +10 -10
- package/dist/chunks/{location-service-map-a3w7zwjp.js → generate-8hf6kcjf.js} +7 -7
- package/dist/chunks/{location-service-map-8m6m0r52.js → generate-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-service-map-1p07q0wb.js → generate-8sze2n9a.js} +8 -8
- package/dist/chunks/{location-service-map-8tsdq50x.js → generate-8tsdq50x.js} +1 -1
- package/dist/chunks/{location-service-map-n7d88tpn.js → generate-8whp40kv.js} +3 -3
- package/dist/chunks/{location-service-map-ydfxryx4.js → generate-93487tfc.js} +3 -3
- package/dist/chunks/{location-service-map-9e5bzkjp.js → generate-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-service-map-b1va8wh2.js → generate-9x0fhj46.js} +29 -29
- package/dist/chunks/{location-service-map-s5met55r.js → generate-9y0w708y.js} +8 -8
- package/dist/chunks/{location-service-map-xsqp8vj3.js → generate-9y1vnk5a.js} +19 -19
- package/dist/chunks/{location-service-map-dtnrfw1y.js → generate-9ywfjm2b.js} +11 -11
- package/dist/chunks/{location-service-map-fwhecrey.js → generate-a09syp6w.js} +4 -4
- package/dist/chunks/{location-service-map-ck8vrs8t.js → generate-a0ev9wka.js} +9 -9
- package/dist/chunks/{location-service-map-s716ynet.js → generate-a6vqmxzv.js} +19 -19
- package/dist/chunks/{location-service-map-ygxdexa0.js → generate-acbhb36m.js} +11 -11
- package/dist/chunks/{location-service-map-hwe7x4em.js → generate-acd4vkpt.js} +6 -6
- package/dist/chunks/{location-service-map-jqpt2939.js → generate-avrb5a8f.js} +24 -24
- package/dist/chunks/{location-service-map-gr6vhd7y.js → generate-axbdymsv.js} +5 -5
- package/dist/chunks/{location-service-map-8tj6dfpd.js → generate-az8074cz.js} +33 -33
- package/dist/chunks/{location-service-map-bt5x3z5v.js → generate-b344f494.js} +24 -24
- package/dist/chunks/{location-service-map-5vbhpx63.js → generate-b5g2j3tj.js} +35 -35
- package/dist/chunks/{location-service-map-hh2z7ns7.js → generate-b823c9yx.js} +3 -3
- package/dist/chunks/{location-service-map-28zth9xm.js → generate-b8njymce.js} +11 -11
- package/dist/chunks/{location-service-map-7ge0js6a.js → generate-bd1g5m32.js} +15 -15
- package/dist/chunks/{location-service-map-361xt909.js → generate-bfegkxfd.js} +8 -8
- package/dist/chunks/{location-service-map-rgsaj6md.js → generate-bjys04xw.js} +5 -5
- package/dist/chunks/{location-service-map-7cx595n2.js → generate-bmr56wjg.js} +9 -9
- package/dist/chunks/{location-service-map-rpfdbzf4.js → generate-br4sv010.js} +27 -27
- package/dist/chunks/{location-service-map-awcdnv69.js → generate-bt7cwyy0.js} +33 -33
- package/dist/chunks/{location-service-map-qcedr0bd.js → generate-bxr6w0mz.js} +18 -18
- package/dist/chunks/{location-service-map-nm0vfxwf.js → generate-bzbna6mv.js} +12 -12
- package/dist/chunks/{location-service-map-2sejkfem.js → generate-c765mh8b.js} +9 -9
- package/dist/chunks/{location-service-map-wzq12bc0.js → generate-c9pqxe3v.js} +10 -10
- package/dist/chunks/{location-service-map-23jc72tn.js → generate-ccefhs0k.js} +16 -16
- package/dist/chunks/{location-service-map-f4fvt4fb.js → generate-cdgzgd7n.js} +13 -13
- package/dist/chunks/{location-service-map-kne8f3cn.js → generate-ckf8nxjz.js} +4 -4
- package/dist/chunks/generate-ctefx7dc.js +18 -0
- package/dist/chunks/{location-service-map-8f283hkt.js → generate-d1rc2nk5.js} +26 -26
- package/dist/chunks/{location-service-map-ah16e13m.js → generate-d2bht23z.js} +25 -25
- package/dist/chunks/{location-service-map-994b2pxg.js → generate-d9wzmzc3.js} +5 -5
- package/dist/chunks/{location-service-map-jy63csdy.js → generate-dddma69r.js} +11 -11
- package/dist/chunks/{location-service-map-dr0w99yk.js → generate-ddw8adtm.js} +15 -15
- package/dist/chunks/{location-service-map-rgk6zsy7.js → generate-dhrjbyf3.js} +20 -20
- package/dist/chunks/{location-service-map-88hkx883.js → generate-dktjxkrs.js} +12 -12
- package/dist/chunks/{location-service-map-sabhanq5.js → generate-dph8383f.js} +1 -1
- package/dist/chunks/{location-service-map-c4xgbqak.js → generate-dtg8b4t8.js} +19 -19
- package/dist/chunks/{location-service-map-96d8sv6n.js → generate-e24bfe0t.js} +9 -9
- package/dist/chunks/{location-service-map-gdv62nb9.js → generate-e5me55ct.js} +5 -5
- package/dist/chunks/{location-service-map-5rzwp8tz.js → generate-ed1g29hy.js} +3 -3
- package/dist/chunks/{location-service-map-xhjk5q61.js → generate-ee5neqfh.js} +44 -44
- package/dist/chunks/{location-service-map-eej6y6fw.js → generate-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-service-map-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-service-map-96kj8cwg.js → generate-eka1fpr9.js} +5 -5
- package/dist/chunks/{location-service-map-ddfnwkqp.js → generate-eswdjwz9.js} +6 -6
- package/dist/chunks/{location-service-map-k24w61n2.js → generate-exn49f6t.js} +33 -33
- package/dist/chunks/{location-service-map-kt85bzct.js → generate-f78h0asq.js} +24 -24
- package/dist/chunks/{location-service-map-gp5z9a0b.js → generate-f918t7qj.js} +176 -176
- package/dist/chunks/{location-service-map-cw5hxmre.js → generate-fa8r0rz5.js} +6 -6
- package/dist/chunks/{location-service-map-xg276sb2.js → generate-ffavjqnh.js} +30 -30
- package/dist/chunks/{location-service-map-scz9kh8s.js → generate-fx7ts4ez.js} +20 -20
- package/dist/chunks/{location-service-map-46wz3f32.js → generate-g0bjxtbg.js} +25 -25
- package/dist/chunks/{location-service-map-jsz5n3ba.js → generate-g761bshh.js} +4 -4
- package/dist/chunks/{location-service-map-87eyk158.js → generate-g8jhqdkc.js} +53 -53
- package/dist/chunks/{location-service-map-ycw2k4m5.js → generate-g8ytx0e6.js} +11 -11
- package/dist/chunks/{location-service-map-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-xnhfr7vz.js → generate-ggz0m51f.js} +16 -16
- package/dist/chunks/{location-service-map-ys8mr2ec.js → generate-gjan9s6w.js} +13 -13
- package/dist/chunks/{location-service-map-gk8qb678.js → generate-gk8qb678.js} +1 -1
- package/dist/chunks/{location-service-map-h2b79v29.js → generate-h2b79v29.js} +2 -2
- package/dist/chunks/{location-service-map-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-wk5z6jzv.js → generate-h71w788e.js} +9 -9
- package/dist/chunks/{location-service-map-h7s7r6s9.js → generate-h7s7r6s9.js} +2 -2
- package/dist/chunks/{location-service-map-m6k32p3q.js → generate-h8rj5qwg.js} +43 -43
- package/dist/chunks/{location-service-map-zyk1yjk8.js → generate-hdkng2sj.js} +5 -5
- package/dist/chunks/{location-service-map-hgz4x7wa.js → generate-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-service-map-j2jk7dpe.js → generate-hske5dj9.js} +7 -7
- package/dist/chunks/{location-service-map-s72appec.js → generate-ht8444m6.js} +19 -19
- package/dist/chunks/{location-service-map-1xf08g7c.js → generate-hxewdwg8.js} +24 -24
- package/dist/chunks/{location-service-map-sxt5p7a7.js → generate-hxv1t72c.js} +9 -9
- package/dist/chunks/{location-service-map-c9vfw4h0.js → generate-j0rgmbg7.js} +13 -13
- package/dist/chunks/{location-service-map-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{location-service-map-7e7armbs.js → generate-j5gt8vhk.js} +17 -17
- package/dist/chunks/{location-service-map-ecyc96a7.js → generate-j9h5cm9j.js} +31 -31
- package/dist/chunks/{location-service-map-sp4rp1vg.js → generate-j9jrzkwn.js} +7 -7
- package/dist/chunks/{location-service-map-z9x3zg0s.js → generate-j9jwzdws.js} +20 -20
- package/dist/chunks/{location-service-map-55nzz6xb.js → generate-jmy78ssg.js} +8 -8
- package/dist/chunks/{location-service-map-8w4e1847.js → generate-jqj7zyty.js} +13 -13
- package/dist/chunks/{location-service-map-3tnzxa2y.js → generate-jvmnqq03.js} +8 -8
- package/dist/chunks/{location-service-map-k0w1apbg.js → generate-k1n0z3hy.js} +5 -5
- package/dist/chunks/{location-service-map-gf04c5rv.js → generate-k6aqg0zs.js} +13 -13
- package/dist/chunks/{location-service-map-dbbdp4nt.js → generate-k7x7nhss.js} +19 -19
- package/dist/chunks/{location-service-map-zta3kt9v.js → generate-kd1kqg9s.js} +19 -19
- package/dist/chunks/{location-service-map-92m6ady5.js → generate-kev5c8bq.js} +23 -23
- package/dist/chunks/{location-service-map-khmqacep.js → generate-khmqacep.js} +1 -1
- package/dist/chunks/{location-service-map-jr72ype2.js → generate-kq8dkyzh.js} +4 -4
- package/dist/chunks/{location-service-map-ypmktead.js → generate-kqwemc59.js} +27 -27
- package/dist/chunks/{location-service-map-v8zetzh7.js → generate-kr4k7vnq.js} +16 -16
- package/dist/chunks/{location-service-map-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-service-map-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-mya54eym.js → generate-mh7gztz7.js} +32 -32
- package/dist/chunks/{location-service-map-75vk4dpz.js → generate-mmfkfzad.js} +3 -3
- package/dist/chunks/{location-service-map-x8gmk19p.js → generate-mr30ete2.js} +10 -10
- package/dist/chunks/{location-service-map-h9wp8z5w.js → generate-n1n192bv.js} +4 -4
- package/dist/chunks/{location-service-map-sbwbtvpe.js → generate-ne3x5nt0.js} +5 -5
- package/dist/chunks/{location-service-map-57snjcj7.js → generate-nedy3yz4.js} +12 -12
- package/dist/chunks/{location-service-map-pvpckbfy.js → generate-nrgzng8j.js} +31 -31
- package/dist/chunks/{location-service-map-tpw6cwsb.js → generate-p4mj4rdp.js} +8 -8
- package/dist/chunks/{location-service-map-706phk7x.js → generate-p5p5kne1.js} +2 -2
- package/dist/chunks/{location-service-map-b6y5gre9.js → generate-pb6a046z.js} +91 -91
- package/dist/chunks/{location-service-map-2eyh21c7.js → generate-pe54yqh1.js} +21 -21
- package/dist/chunks/{location-service-map-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-wgqfafw9.js → generate-pnv261zh.js} +23 -23
- package/dist/chunks/{location-service-map-gqj8kawb.js → generate-pseda3cm.js} +17 -17
- package/dist/chunks/{location-service-map-0j77ygfz.js → generate-q0xm7vwc.js} +6 -6
- package/dist/chunks/{location-service-map-xmkdm31h.js → generate-q4td9s0w.js} +32 -32
- package/dist/chunks/{location-service-map-9np2jy3t.js → generate-q67wf555.js} +17 -17
- package/dist/chunks/{location-service-map-1z6w7b3h.js → generate-qkw4ez0w.js} +9 -9
- package/dist/chunks/{location-service-map-qnc92qwc.js → generate-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-service-map-7rvtndc1.js → generate-qrr9gjr3.js} +20 -20
- package/dist/chunks/{location-service-map-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-pjy78br0.js → generate-qw22mnpd.js} +11 -11
- package/dist/chunks/{location-service-map-5ydghqfr.js → generate-qzns6vt9.js} +9 -9
- package/dist/chunks/{location-service-map-gewe6jf6.js → generate-r6qqhb6g.js} +10 -10
- package/dist/chunks/{location-service-map-g686f6pq.js → generate-r70na3yp.js} +9 -9
- package/dist/chunks/{location-service-map-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-service-map-9cbg87x5.js → generate-rfnwqbfv.js} +17 -17
- package/dist/chunks/{location-service-map-ba1chkmt.js → generate-rhfcyxnv.js} +54 -54
- package/dist/chunks/{location-service-map-44w12kf8.js → generate-rm3zrwxy.js} +3 -3
- package/dist/chunks/{location-service-map-k3kxt7h3.js → generate-rqcbxq1a.js} +6 -6
- package/dist/chunks/{location-service-map-q24zdy77.js → generate-s9k62k39.js} +5 -5
- package/dist/chunks/{location-service-map-7ak5snhj.js → generate-saxf499t.js} +3 -3
- package/dist/chunks/{location-service-map-jbhsa3d2.js → generate-sb991zfj.js} +11 -11
- package/dist/chunks/{location-service-map-vgbf06ff.js → generate-sdvaebnw.js} +4 -4
- package/dist/chunks/{location-service-map-yzwajjfv.js → generate-sn7hzvv7.js} +5 -5
- package/dist/chunks/{location-service-map-ratrq7cm.js → generate-sxz6gkc3.js} +7 -7
- package/dist/chunks/{location-service-map-s8d7rejh.js → generate-t550f9t1.js} +4 -4
- package/dist/chunks/{location-service-map-jh5d2e01.js → generate-t7f2k8tj.js} +4 -4
- package/dist/chunks/{location-service-map-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-service-map-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-je13hchp.js → generate-tnt8nry7.js} +39 -39
- package/dist/chunks/{location-service-map-b9dnqm0v.js → generate-tsm7hcv0.js} +11 -11
- package/dist/chunks/{location-service-map-6fg15rp7.js → generate-tvvfzefx.js} +16 -16
- package/dist/chunks/{location-service-map-tyytaxap.js → generate-tyytaxap.js} +1 -1
- package/dist/chunks/{location-service-map-btvs9fn2.js → generate-v0es1rhs.js} +9 -9
- package/dist/chunks/{location-service-map-v7p4zvkq.js → generate-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-service-map-6fnfe7br.js → generate-v92qdyrs.js} +21 -21
- package/dist/chunks/{location-service-map-vers3xd6.js → generate-vd2f6n4d.js} +10 -10
- package/dist/chunks/{location-service-map-aner4yt8.js → generate-ve5n98md.js} +4 -4
- package/dist/chunks/{location-service-map-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/generate-vf4z5rkp.js +253 -0
- package/dist/chunks/{location-service-map-0xc0wntc.js → generate-vhdmqtqh.js} +3 -3
- package/dist/chunks/{location-service-map-tbm98svr.js → generate-vpskenec.js} +11 -11
- package/dist/chunks/{location-service-map-xvaq9pn2.js → generate-vq6jpek4.js} +14 -14
- package/dist/chunks/{location-service-map-qpm5hp9p.js → generate-vvvwe9ad.js} +7 -7
- package/dist/chunks/{location-service-map-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-service-map-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-q4cx2nd9.js → generate-w7sz1ggq.js} +24 -24
- package/dist/chunks/{location-service-map-dt89m1xn.js → generate-wadsfb69.js} +22 -22
- package/dist/chunks/{location-service-map-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-carj08b7.js → generate-wh6pa4pr.js} +10 -10
- package/dist/chunks/{location-service-map-6yz0wx8n.js → generate-wh6zw745.js} +5 -5
- package/dist/chunks/{location-service-map-nf9x7vvg.js → generate-wj65xewz.js} +4 -4
- package/dist/chunks/{location-service-map-jmtk6pe3.js → generate-x3rbkyt7.js} +27 -27
- package/dist/chunks/{location-service-map-x661k3y3.js → generate-x661k3y3.js} +1 -1
- package/dist/chunks/{location-service-map-becgvfp5.js → generate-xf6aj12n.js} +24 -24
- package/dist/chunks/{location-service-map-57b9ws8p.js → generate-xfkkasph.js} +7 -7
- package/dist/chunks/{location-service-map-ykbfgt2m.js → generate-xknnwx45.js} +15 -15
- package/dist/chunks/{location-service-map-3vyq9jg0.js → generate-xmm8saee.js} +14 -14
- package/dist/chunks/{location-service-map-5twrj1xt.js → generate-xp6q4xkk.js} +12 -12
- package/dist/chunks/{location-service-map-9xg5tdtq.js → generate-xrees0gn.js} +42 -42
- package/dist/chunks/{location-service-map-7c80c8sp.js → generate-xx3sz52v.js} +42 -42
- package/dist/chunks/{location-service-map-thtzhryg.js → generate-xz8qpa4w.js} +15 -15
- package/dist/chunks/{location-service-map-tr86pv5k.js → generate-xzn4drzt.js} +11 -11
- package/dist/chunks/{location-service-map-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-71dgzv1y.js → generate-y3n5sn10.js} +13 -13
- package/dist/chunks/{location-service-map-nw91k3fh.js → generate-y5rf7nzv.js} +4 -4
- package/dist/chunks/{location-service-map-y71avatq.js → generate-y71avatq.js} +1 -1
- package/dist/chunks/{location-service-map-qne3fa44.js → generate-ygdna4kr.js} +5 -5
- package/dist/chunks/{location-service-map-1gdvatv8.js → generate-yjc008f4.js} +18 -18
- package/dist/chunks/{location-service-map-kh1ckaj3.js → generate-ymhyrcjp.js} +17 -17
- package/dist/chunks/{location-service-map-0mn8rd50.js → generate-yn8wqzsv.js} +4 -4
- package/dist/chunks/{location-service-map-rpz6cytj.js → generate-yvdzrz44.js} +27 -27
- package/dist/chunks/{location-service-map-ywt8jp22.js → generate-ywt8jp22.js} +2 -2
- package/dist/chunks/{location-service-map-hd2bethg.js → generate-ywyadd6g.js} +6 -6
- package/dist/chunks/{location-service-map-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-yaf201e8.js → generate-z19r9xh1.js} +17 -17
- package/dist/chunks/{location-service-map-wsh9mqvf.js → generate-zm8pnepa.js} +17 -17
- package/dist/chunks/{location-service-map-ppgeajdt.js → generate-zn71smsj.js} +14 -14
- package/dist/chunks/{location-service-map-dxpeytp7.js → generate-zqmy6ekg.js} +25 -25
- package/dist/chunks/{location-service-map-xabqshkb.js → generate-zqva63ms.js} +42 -42
- package/dist/chunks/{location-service-map-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-service-map-vvt30vkv.js → generate-zy2kf3ba.js} +11 -11
- package/dist/chunks/{location-service-map-31c79hqa.js → generate-zy2s649b.js} +9 -9
- package/dist/chunks/{location-service-map-7mpn4658.js → generate-zz5gkwhc.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +86 -86
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- 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 +96 -96
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +71 -71
- 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 +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +92 -92
- 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 +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +70 -70
- package/dist/location-activity.js +132 -132
- 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 +104 -104
- 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 +92 -92
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +89 -89
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +1 -1
- 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 +116 -116
- 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 +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +98 -98
- 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 +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- 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 +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- 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 +2 -2
- 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 +1 -1
- 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 +124 -124
- 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 +104 -104
- 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 +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +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 +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +109 -109
- 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 +127 -127
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +110 -110
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +119 -119
- 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 +5 -5
- 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 +90 -90
- package/dist/websearch.js +81 -81
- 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 +83 -83
- 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 → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2bv980vf.js → generate-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-34c7v6d4.js → generate-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3t0ybcrp.js → generate-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-84wd9syh.js → generate-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-bw78ga2c.js → generate-bw78ga2c.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-pyv0edze.js → generate-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./generate-tnt8nry7.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info27,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service81,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node85,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info27, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service81 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node85 = LayerNode.unbound(Service81, tags.values.location);
|
|
27
|
+
var layer = (ref) => Layer.effect(Service81, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service82;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory);
|
|
30
|
-
return
|
|
30
|
+
return Service81.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service79, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service81,
|
|
39
39
|
layer: layer(ref),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node86]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info27, Ref4, response2, Service81, node85, boundNode2, exports_location };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78,
|
|
3
3
|
node82
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-b823c9yx.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-8whp40kv.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service77,
|
|
20
|
+
make: () => make21,
|
|
21
|
+
node: () => node81
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service77 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,7 +83,7 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var make21 = Effect.gen(function* () {
|
|
87
87
|
const kv = yield* Service78;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
@@ -342,7 +342,7 @@ var make19 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service77.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make19 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service77, make21);
|
|
358
|
+
var node81 = makeGlobalNode({ service: Service77, layer, deps: [node82] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service77, make21, node81, exports_job };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service55,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service55 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service55, exports_runner };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service41,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service41 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service41.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service41, awaitActivation2, exports_service };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./generate-xf6aj12n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service20,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-j0rgmbg7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service15
|
|
11
|
+
} from "./generate-040e300p.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service61
|
|
14
|
+
} from "./generate-g8jhqdkc.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service21
|
|
17
|
+
} from "./generate-yjc008f4.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
28
|
Input: () => Input11,
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
29
|
+
Output: () => Output7,
|
|
30
|
+
Plugin: () => Plugin31,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
32
|
name: () => name11,
|
|
33
|
-
toModelContent: () =>
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
@@ -42,21 +42,21 @@ var Input11 = Schema.Struct({
|
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output7 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin31 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service21;
|
|
56
|
+
const fileMutation = yield* Service20;
|
|
57
|
+
const environment = yield* Service59;
|
|
58
|
+
const formatter = yield* Service15;
|
|
59
|
+
const permission = yield* Service61;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
61
|
name: name11,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
@@ -66,7 +66,7 @@ Missing parent directories are created automatically.
|
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
68
|
input: Input11,
|
|
69
|
-
output:
|
|
69
|
+
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export { name11, Input11,
|
|
101
|
+
export { name11, Input11, Output7, toModelContent5, Plugin31, exports_write };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-g761bshh.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service42,
|
|
7
|
+
node45
|
|
8
|
+
} from "./generate-xrees0gn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node64
|
|
12
|
+
} from "./generate-g8jhqdkc.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service52,
|
|
15
|
+
node55
|
|
16
|
+
} from "./generate-f78h0asq.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service40,
|
|
26
|
+
layer: () => layer17,
|
|
27
27
|
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node44
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service40 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer17 = Layer.effect(Service40, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service42;
|
|
42
|
+
const tools = yield* Service52;
|
|
43
43
|
const bus = yield* Service84;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service61;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer16 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service40.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node44 = makeLocationNode({
|
|
124
|
+
service: Service40,
|
|
125
|
+
layer: layer17,
|
|
126
|
+
deps: [node55, node45, node88, node64]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name14,
|
|
129
|
+
export { namespace2, name14, Service40, layer17, node44, exports_mcp3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-g761bshh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./generate-ccefhs0k.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service42
|
|
10
|
+
} from "./generate-xrees0gn.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command2 = {};
|
|
17
17
|
__export(exports_command2, {
|
|
18
18
|
CommandPlugin: () => exports_command2,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin46
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin46 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service81;
|
|
200
|
+
const mcp = yield* Service42;
|
|
201
201
|
const bus = yield* Service84;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin46, exports_command2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-g761bshh.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service81,
|
|
12
|
+
node85
|
|
13
|
+
} from "./generate-ccefhs0k.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service80,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node84
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service80 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service84;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service81;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service81, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service80.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node84 = makeLocationNode({ service: Service80, layer, deps: [node88, node85] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service80, node84, exports_rpc, define2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-19e0e7kb.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-g761bshh.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./generate-31ps3q9w.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-x661k3y3.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-pnv261zh.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service16
|
|
21
|
+
} from "./generate-wh6pa4pr.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID11,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-br4sv010.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-kqwemc59.js";
|
|
30
30
|
import {
|
|
31
31
|
ID4,
|
|
32
32
|
Input13,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./generate-vq6jpek4.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -105,7 +105,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
105
105
|
}
|
|
106
106
|
function oauth(http) {
|
|
107
107
|
return {
|
|
108
|
-
integrationID:
|
|
108
|
+
integrationID: ID12.make("opencode"),
|
|
109
109
|
method: {
|
|
110
110
|
id: methodID,
|
|
111
111
|
type: "oauth",
|
|
@@ -172,7 +172,7 @@ var OpencodePlugin2 = define({
|
|
|
172
172
|
const bus = yield* Service84;
|
|
173
173
|
const client = yield* HttpClient.HttpClient;
|
|
174
174
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
175
|
-
const managed = yield*
|
|
175
|
+
const managed = yield* Service16;
|
|
176
176
|
const scope = yield* Scope.Scope;
|
|
177
177
|
const loading = Semaphore.makeUnsafe(1);
|
|
178
178
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -221,7 +221,7 @@ var OpencodePlugin2 = define({
|
|
|
221
221
|
providers.update(providerID, (provider) => {
|
|
222
222
|
if (source && source.provider !== provider)
|
|
223
223
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
224
|
-
provider.integrationID =
|
|
224
|
+
provider.integrationID = ID12.make("opencode");
|
|
225
225
|
if (item.canonical !== undefined)
|
|
226
226
|
provider.canonical = item.canonical;
|
|
227
227
|
if (item.name !== undefined)
|
|
@@ -287,7 +287,7 @@ var OpencodePlugin2 = define({
|
|
|
287
287
|
sourceConnection: snapshot.connection
|
|
288
288
|
});
|
|
289
289
|
}
|
|
290
|
-
const item = providers.get(
|
|
290
|
+
const item = providers.get(ID11.opencode);
|
|
291
291
|
if (!item)
|
|
292
292
|
return;
|
|
293
293
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -299,7 +299,7 @@ var OpencodePlugin2 = define({
|
|
|
299
299
|
});
|
|
300
300
|
});
|
|
301
301
|
yield* ctx.model.transform((models) => {
|
|
302
|
-
const item = models.provider.get(
|
|
302
|
+
const item = models.provider.get(ID11.opencode);
|
|
303
303
|
if (!item)
|
|
304
304
|
return;
|
|
305
305
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -388,10 +388,10 @@ var OpencodePlugin2 = define({
|
|
|
388
388
|
});
|
|
389
389
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
390
390
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
391
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
391
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID11.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
392
392
|
});
|
|
393
393
|
yield* guard(snapshot);
|
|
394
|
-
yield* bus.subscribe(
|
|
394
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
395
395
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
396
396
|
})
|
|
397
397
|
});
|