@opencode/core 0.0.0-dev-1004 → 0.0.0-dev-1006
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +88 -88
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +248 -248
- package/dist/bus.js +84 -84
- package/dist/chunks/{credential-aj7mw0zk.js → location-activity-034tev2y.js} +2 -2
- package/dist/chunks/{credential-xjbehpq7.js → location-activity-036txw5h.js} +38 -38
- package/dist/chunks/{credential-msy4mkex.js → location-activity-0ap3nk4h.js} +1 -1
- package/dist/chunks/{credential-p2hqt6ta.js → location-activity-0bqj9axw.js} +24 -24
- package/dist/chunks/{credential-69defqd1.js → location-activity-0gbkfwv3.js} +12 -12
- package/dist/chunks/{credential-ns8s7cjc.js → location-activity-0jp4gawy.js} +27 -27
- package/dist/chunks/{credential-0ma9gw4f.js → location-activity-0ma9gw4f.js} +2 -2
- package/dist/chunks/{credential-0mgprbja.js → location-activity-0php2d2a.js} +4 -4
- package/dist/chunks/{credential-q6a7h9km.js → location-activity-0qh3s10f.js} +7 -7
- package/dist/chunks/{credential-vg9s9h8s.js → location-activity-0wrwhcmp.js} +6 -6
- package/dist/chunks/{credential-h0yssxc7.js → location-activity-14drdhq5.js} +5 -5
- package/dist/chunks/{credential-c7gk57p6.js → location-activity-16jy4zqs.js} +4 -4
- package/dist/chunks/{credential-rmag2ptc.js → location-activity-17mrk389.js} +19 -19
- package/dist/chunks/location-activity-18zym5hf.js +577 -0
- package/dist/chunks/{credential-1aqsckx4.js → location-activity-1aqsckx4.js} +1 -1
- package/dist/chunks/{credential-5fpayf6t.js → location-activity-1dtgd1v9.js} +54 -54
- package/dist/chunks/{credential-27w5k9zf.js → location-activity-1ep2p91f.js} +2 -2
- package/dist/chunks/{credential-1bp4qf7s.js → location-activity-1ffc17a4.js} +20 -20
- package/dist/chunks/{credential-bzqtrcga.js → location-activity-1kqcq7rz.js} +16 -16
- package/dist/chunks/{credential-emq9wb0f.js → location-activity-1saqqvgd.js} +6 -6
- package/dist/chunks/{credential-xgpphdhn.js → location-activity-1t70zkxs.js} +19 -19
- package/dist/chunks/{credential-hy83edyq.js → location-activity-1whsth3s.js} +8 -8
- package/dist/chunks/{credential-1x2knyw4.js → location-activity-1x2knyw4.js} +1 -1
- package/dist/chunks/{credential-p7vhpwh8.js → location-activity-1yq9hg58.js} +5 -5
- package/dist/chunks/{credential-25h84942.js → location-activity-25h84942.js} +1 -1
- package/dist/chunks/{credential-805c1f0k.js → location-activity-28m0w1j1.js} +18 -18
- package/dist/chunks/{credential-prxtvhg4.js → location-activity-2bb11qyd.js} +4 -4
- package/dist/chunks/{credential-pejxdp0h.js → location-activity-2bgscxp5.js} +11 -11
- package/dist/chunks/{credential-qhvkfvq3.js → location-activity-2c6fpjes.js} +8 -8
- package/dist/chunks/{credential-9f1gxy4p.js → location-activity-2e673ws3.js} +16 -16
- package/dist/chunks/{credential-2fc7eemy.js → location-activity-2fc7eemy.js} +1 -1
- package/dist/chunks/{credential-9q8g9sv8.js → location-activity-2kg89srt.js} +4 -4
- package/dist/chunks/{credential-ad21tgm2.js → location-activity-2p60zmnr.js} +4 -4
- package/dist/chunks/{credential-e2excgfd.js → location-activity-2pvytf76.js} +16 -16
- package/dist/chunks/{credential-vctefzes.js → location-activity-2q5077kt.js} +23 -23
- package/dist/chunks/{credential-ktck1cjp.js → location-activity-2s9mae96.js} +6 -6
- package/dist/chunks/{credential-ak764ajh.js → location-activity-2w8j936f.js} +15 -15
- package/dist/chunks/{credential-fksxbt6d.js → location-activity-2z4801t0.js} +30 -30
- package/dist/chunks/{credential-jtjzb7np.js → location-activity-32s5n8c8.js} +11 -11
- package/dist/chunks/{credential-yyfnsqqp.js → location-activity-354vazbp.js} +18 -18
- package/dist/chunks/{credential-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{credential-tx04jx2g.js → location-activity-3jjdrzxy.js} +46 -46
- package/dist/chunks/{credential-q1jxsyht.js → location-activity-3q3rxtrh.js} +25 -25
- package/dist/chunks/{credential-xacrkbdt.js → location-activity-3qgwywyc.js} +4 -4
- package/dist/chunks/{credential-q9n1vrw5.js → location-activity-3qjf4v0s.js} +47 -57
- package/dist/chunks/{credential-b92pz1x8.js → location-activity-40w8wc8e.js} +20 -20
- package/dist/chunks/{credential-40y6dtc2.js → location-activity-40y6dtc2.js} +1 -1
- package/dist/chunks/{credential-w2eysc6j.js → location-activity-40za9wsf.js} +9 -9
- package/dist/chunks/{credential-twhtcdx9.js → location-activity-44pmzq9c.js} +4 -4
- package/dist/chunks/{credential-wrxchsw1.js → location-activity-45648h2d.js} +33 -33
- package/dist/chunks/{credential-grqyp38p.js → location-activity-475eg828.js} +27 -27
- package/dist/chunks/{credential-w7hbbgks.js → location-activity-48cta9rh.js} +11 -11
- package/dist/chunks/{credential-nb76m4x0.js → location-activity-49bhpe1g.js} +22 -22
- package/dist/chunks/{credential-4dx1dgte.js → location-activity-4dx1dgte.js} +1 -1
- package/dist/chunks/{credential-r542h3bh.js → location-activity-4f25tdd0.js} +5 -5
- package/dist/chunks/{credential-3jymkt4s.js → location-activity-4gmbvmjy.js} +4 -4
- package/dist/chunks/{credential-4krr2nde.js → location-activity-4krr2nde.js} +3 -3
- package/dist/chunks/{credential-4pyp9zr9.js → location-activity-4pyp9zr9.js} +1 -1
- package/dist/chunks/{credential-4v008n1t.js → location-activity-4v008n1t.js} +1 -1
- package/dist/chunks/{credential-b3g3aqmw.js → location-activity-52fwchf7.js} +25 -25
- package/dist/chunks/{credential-3y7thn0v.js → location-activity-52ntbn34.js} +13 -13
- package/dist/chunks/{credential-bsfkzme1.js → location-activity-531yazj3.js} +9 -9
- package/dist/chunks/{credential-q84cgs80.js → location-activity-58byp6sm.js} +2 -2
- package/dist/chunks/{credential-xe9e00bb.js → location-activity-5a1dhg38.js} +49 -54
- package/dist/chunks/location-activity-5k5nj8gp.js +273 -0
- package/dist/chunks/{credential-sn46mcdn.js → location-activity-5kz0xv0h.js} +37 -37
- package/dist/chunks/{credential-5m9w47nd.js → location-activity-5m9w47nd.js} +1 -1
- package/dist/chunks/{credential-38na79z9.js → location-activity-5nxhy19q.js} +33 -33
- package/dist/chunks/{credential-s47rahr7.js → location-activity-5whx36p1.js} +4 -4
- package/dist/chunks/{credential-3yepme2k.js → location-activity-61kc33fr.js} +25 -25
- package/dist/chunks/{credential-w3vqc4ke.js → location-activity-65q8c8cm.js} +8 -8
- package/dist/chunks/{credential-9t0jdeva.js → location-activity-6ft8wwe6.js} +7 -7
- package/dist/chunks/{credential-v5ncnv4t.js → location-activity-6sk4m11q.js} +5 -5
- package/dist/chunks/{credential-5sjr9qsx.js → location-activity-6stwjse6.js} +1 -1
- package/dist/chunks/{credential-qcgsdrc6.js → location-activity-6yfy5n3t.js} +23 -23
- package/dist/chunks/location-activity-6zjm2phc.js +18 -0
- package/dist/chunks/{credential-8eek74te.js → location-activity-741ytane.js} +33 -33
- package/dist/chunks/{credential-354fx284.js → location-activity-74cdw8a8.js} +7 -7
- package/dist/chunks/{credential-y6a06j25.js → location-activity-74mp1vgf.js} +18 -18
- package/dist/chunks/{credential-ft7qcbbq.js → location-activity-7726k2mw.js} +32 -32
- package/dist/chunks/{credential-s1xc4ekk.js → location-activity-7amcb1yk.js} +8 -8
- package/dist/chunks/{credential-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{credential-nymz80y4.js → location-activity-7dv5yvw2.js} +11 -11
- package/dist/chunks/{credential-azvvftyv.js → location-activity-7gpsemcn.js} +13 -13
- package/dist/chunks/{credential-qj0r543v.js → location-activity-7q1p6wfn.js} +87 -87
- package/dist/chunks/{credential-rbqby3cg.js → location-activity-7v4chcw1.js} +28 -28
- package/dist/chunks/{credential-7w2ypzdf.js → location-activity-7w2ypzdf.js} +1 -1
- package/dist/chunks/{credential-7weczvnd.js → location-activity-7weczvnd.js} +1 -1
- package/dist/chunks/{credential-p34p3xk6.js → location-activity-7yk84tpb.js} +12 -12
- package/dist/chunks/{credential-775hqbnd.js → location-activity-80mg3ag8.js} +3 -3
- package/dist/chunks/{credential-80pdk984.js → location-activity-80pdk984.js} +1 -1
- package/dist/chunks/{credential-fw4rbexg.js → location-activity-82rp75nk.js} +21 -21
- package/dist/chunks/{credential-36z7cf2k.js → location-activity-836m8h2z.js} +20 -20
- package/dist/chunks/{credential-w59zmpkb.js → location-activity-83swwkv2.js} +34 -34
- package/dist/chunks/{credential-85jq8dht.js → location-activity-85jq8dht.js} +1 -1
- package/dist/chunks/{credential-vhxdwn4d.js → location-activity-88r3kdbv.js} +6 -6
- package/dist/chunks/{credential-1am9j53p.js → location-activity-8eystaee.js} +17 -17
- package/dist/chunks/{credential-9yqjp86x.js → location-activity-8jkrp6cd.js} +6 -6
- package/dist/chunks/{credential-00hca34t.js → location-activity-8qp1esgh.js} +26 -26
- package/dist/chunks/{credential-bb3mmwvh.js → location-activity-8sxe6kv8.js} +2 -2
- package/dist/chunks/{credential-g4nkkych.js → location-activity-8w7xda6k.js} +9 -9
- package/dist/chunks/{credential-8wtp7s3z.js → location-activity-8wtp7s3z.js} +1 -1
- package/dist/chunks/{credential-8zv0xmg5.js → location-activity-8zv0xmg5.js} +1 -1
- package/dist/chunks/{credential-fdtc072c.js → location-activity-979b4hqg.js} +28 -28
- package/dist/chunks/{credential-6qnxced9.js → location-activity-9cdqf78a.js} +18 -18
- package/dist/chunks/{credential-teav1bzy.js → location-activity-9f3jsh1d.js} +9 -9
- package/dist/chunks/{credential-rxhq8qca.js → location-activity-9mxa4cjh.js} +35 -35
- package/dist/chunks/{credential-8j8rwswp.js → location-activity-9qqfewpb.js} +7 -7
- package/dist/chunks/{credential-wa54ss6a.js → location-activity-9thg964t.js} +16 -16
- package/dist/chunks/{credential-h9995skd.js → location-activity-9x25d76s.js} +29 -29
- package/dist/chunks/{credential-j1sr5f81.js → location-activity-a1r7vwb9.js} +7 -7
- package/dist/chunks/{credential-a3fn0gmm.js → location-activity-a3fn0gmm.js} +2 -2
- package/dist/chunks/{credential-5fyb9b1n.js → location-activity-a8g46mge.js} +11 -11
- package/dist/chunks/{credential-w4xw9ac5.js → location-activity-a9dgs2sa.js} +8 -8
- package/dist/chunks/{credential-hdtv1d2j.js → location-activity-adm3jx93.js} +18 -18
- package/dist/chunks/{credential-25z9cg8y.js → location-activity-ae8jp449.js} +18 -18
- package/dist/chunks/{credential-w1x9nqn5.js → location-activity-asxfbf1y.js} +59 -59
- package/dist/chunks/{credential-9qx40km9.js → location-activity-asz9vg60.js} +24 -24
- package/dist/chunks/{credential-ayfytmn9.js → location-activity-ayfytmn9.js} +2 -2
- package/dist/chunks/{credential-3cbjf1nt.js → location-activity-ayjs7tqn.js} +2 -2
- package/dist/chunks/{credential-2qy6fdx9.js → location-activity-b1p7ta8p.js} +15 -15
- package/dist/chunks/{credential-tp1jb13k.js → location-activity-b26ddj6h.js} +7 -7
- package/dist/chunks/{credential-yxc6v2xp.js → location-activity-b60jydh7.js} +23 -23
- package/dist/chunks/{credential-9c5mgtc6.js → location-activity-bcr8fy57.js} +19 -19
- package/dist/chunks/{credential-0g96rx69.js → location-activity-be5xpd1c.js} +4 -4
- package/dist/chunks/{credential-mnj8d42q.js → location-activity-bhm4w43j.js} +34 -34
- package/dist/chunks/{credential-bstexjd6.js → location-activity-bstexjd6.js} +1 -1
- package/dist/chunks/{credential-592vr7yv.js → location-activity-bsy5r68t.js} +8 -8
- package/dist/chunks/{credential-eh150pb0.js → location-activity-bt7extje.js} +10 -10
- package/dist/chunks/{credential-5bmt7y8n.js → location-activity-bv8casrj.js} +19 -19
- package/dist/chunks/{credential-aa2rmfwd.js → location-activity-c1dbva7x.js} +5 -5
- package/dist/chunks/{credential-8tnbd2hq.js → location-activity-c52z2jxv.js} +6 -6
- package/dist/chunks/{credential-c7cw818c.js → location-activity-c7cw818c.js} +2 -2
- package/dist/chunks/{credential-ar0c4xze.js → location-activity-cexe0pas.js} +3 -3
- package/dist/chunks/{credential-4deandmx.js → location-activity-cnh7rm97.js} +5 -5
- package/dist/chunks/{credential-xmx7xj34.js → location-activity-cpvd08na.js} +4 -4
- package/dist/chunks/{credential-yy8ps652.js → location-activity-cpykypt4.js} +7 -7
- package/dist/chunks/{credential-zz9e4rj2.js → location-activity-csdscq40.js} +44 -44
- package/dist/chunks/{credential-cwrgdav8.js → location-activity-cwrgdav8.js} +2 -2
- package/dist/chunks/{credential-pq098w7r.js → location-activity-d18eh2s9.js} +13 -13
- package/dist/chunks/{credential-pnwsrq7c.js → location-activity-d390zwf3.js} +8 -8
- package/dist/chunks/{credential-d4v9tmah.js → location-activity-d4v9tmah.js} +2 -2
- package/dist/chunks/{credential-4v746bqz.js → location-activity-d7d007bw.js} +5 -5
- package/dist/chunks/{credential-vmw8srhw.js → location-activity-db9vjd4h.js} +22 -22
- package/dist/chunks/{credential-9rqfe4ad.js → location-activity-dbatw319.js} +3 -3
- package/dist/chunks/{credential-gbqephc8.js → location-activity-dg4qy9tk.js} +4 -4
- package/dist/chunks/{credential-15qtk8ma.js → location-activity-dg5naf6e.js} +4 -4
- package/dist/chunks/{credential-wqjms20d.js → location-activity-dsv6ew1d.js} +4 -4
- package/dist/chunks/{credential-dt77769w.js → location-activity-dt77769w.js} +1 -1
- package/dist/chunks/{credential-qt088j3y.js → location-activity-e0wbdae3.js} +31 -31
- package/dist/chunks/{credential-fkvthwja.js → location-activity-e7r8vm5g.js} +3 -3
- package/dist/chunks/{credential-eqw4pqj1.js → location-activity-eqw4pqj1.js} +2 -2
- package/dist/chunks/{credential-1ks21344.js → location-activity-er9ekynk.js} +5 -5
- package/dist/chunks/{credential-2j5gsngc.js → location-activity-ew5j9xrq.js} +8 -8
- package/dist/chunks/location-activity-ewd5dj4h.js +26 -0
- package/dist/chunks/{credential-s7999qp9.js → location-activity-ezs0c9y4.js} +49 -49
- package/dist/chunks/{credential-tyq262q7.js → location-activity-f21dbz28.js} +6 -6
- package/dist/chunks/{credential-a94kxrsg.js → location-activity-f3sdtq9c.js} +6 -6
- package/dist/chunks/{credential-5kvk19j8.js → location-activity-f6ggk1hc.js} +17 -17
- package/dist/chunks/{credential-8gnpkz77.js → location-activity-fa4hay5d.js} +21 -21
- package/dist/chunks/{credential-fg9p65nk.js → location-activity-fg9p65nk.js} +2 -2
- package/dist/chunks/{credential-3je1hga9.js → location-activity-fhw2pgg6.js} +29 -29
- package/dist/chunks/{credential-wt4y1722.js → location-activity-fwpnj9qx.js} +4 -4
- package/dist/chunks/{credential-a5yvwn0e.js → location-activity-g45xrfxp.js} +11 -11
- package/dist/chunks/{credential-wjmrdndk.js → location-activity-g4negx18.js} +13 -13
- package/dist/chunks/{credential-anvcme1c.js → location-activity-g5ajqn12.js} +4 -4
- package/dist/chunks/{credential-kvh4vr9s.js → location-activity-g6ftdjab.js} +86 -86
- package/dist/chunks/location-activity-g75pdt5r.js +35 -0
- package/dist/chunks/{credential-3v50s0nm.js → location-activity-g9ndtp1p.js} +4 -4
- package/dist/chunks/{credential-gbjdnr5j.js → location-activity-gbjdnr5j.js} +2 -2
- package/dist/chunks/{credential-0jy2zvcy.js → location-activity-gcc66pm9.js} +2 -2
- package/dist/chunks/{credential-4997jhrf.js → location-activity-gck0tpt8.js} +30 -30
- package/dist/chunks/{credential-ghrv1g9c.js → location-activity-ghrv1g9c.js} +1 -1
- package/dist/chunks/{credential-pnss9np3.js → location-activity-gpfw2mwb.js} +14 -14
- package/dist/chunks/{credential-b56dzxtq.js → location-activity-gsksx4mq.js} +12 -12
- package/dist/chunks/{credential-46hjg8ty.js → location-activity-gwsf911p.js} +11 -11
- package/dist/chunks/{credential-tg7s7b5t.js → location-activity-gxs71cxp.js} +4 -4
- package/dist/chunks/{credential-54bdv6k2.js → location-activity-gxsev1a6.js} +18 -18
- package/dist/chunks/{credential-s1ysvp1k.js → location-activity-gydnjh5h.js} +14 -14
- package/dist/chunks/{credential-xga0z4ea.js → location-activity-h00z2s2c.js} +89 -89
- package/dist/chunks/{credential-hgzwgvze.js → location-activity-hgzwgvze.js} +2 -2
- package/dist/chunks/{credential-p20bsb8s.js → location-activity-htz7dg7w.js} +13 -13
- package/dist/chunks/{credential-ra6js1h8.js → location-activity-hy8c1z76.js} +8 -8
- package/dist/chunks/{credential-wt5gxk83.js → location-activity-j06qrm6w.js} +12 -12
- package/dist/chunks/{credential-wfdx5ztx.js → location-activity-jg11hrrc.js} +4 -4
- package/dist/chunks/{credential-n39h86hs.js → location-activity-jhhpxwy2.js} +23 -23
- package/dist/chunks/{credential-s26c8eb5.js → location-activity-jkdcm5hg.js} +4 -4
- package/dist/chunks/{credential-9vv9a05a.js → location-activity-jkgcjtxm.js} +16 -16
- package/dist/chunks/{credential-jm70asfg.js → location-activity-jm70asfg.js} +1 -1
- package/dist/chunks/{credential-nxvdyge2.js → location-activity-jpvj81f6.js} +5 -5
- package/dist/chunks/{credential-9k5gkedn.js → location-activity-jt2hdrqv.js} +15 -15
- package/dist/chunks/{credential-11npars9.js → location-activity-jtb9wsn0.js} +13 -13
- package/dist/chunks/{credential-5d7syypr.js → location-activity-jysge0h1.js} +3 -3
- package/dist/chunks/{credential-p4krgkf2.js → location-activity-jzh3ge5q.js} +4 -4
- package/dist/chunks/{credential-yhf1sz2d.js → location-activity-k110fg4g.js} +3 -3
- package/dist/chunks/{credential-j0jv7w74.js → location-activity-k1waw560.js} +145 -145
- package/dist/chunks/{credential-twbmqk1m.js → location-activity-ka8nssyv.js} +10 -10
- package/dist/chunks/{credential-babktaw3.js → location-activity-kbgs7tyr.js} +4 -4
- package/dist/chunks/{credential-6jwkkk94.js → location-activity-khj875dp.js} +9 -9
- package/dist/chunks/{credential-qfz6bxfd.js → location-activity-kj9n5bvh.js} +4 -4
- package/dist/chunks/{credential-8jmmxb0e.js → location-activity-kmv3f3m7.js} +19 -19
- package/dist/chunks/{credential-bd8fxhph.js → location-activity-kssg3tf8.js} +15 -15
- package/dist/chunks/{credential-kt3bjfbg.js → location-activity-kt3bjfbg.js} +1 -1
- package/dist/chunks/{credential-jmx1fkbt.js → location-activity-kwsahq80.js} +25 -25
- package/dist/chunks/{credential-kzczzf4v.js → location-activity-kzczzf4v.js} +1 -1
- package/dist/chunks/{credential-8hfctyyf.js → location-activity-kzdam8c6.js} +7 -7
- package/dist/chunks/{credential-m1714858.js → location-activity-m1714858.js} +1 -1
- package/dist/chunks/{credential-90q5qhdb.js → location-activity-m2vd902x.js} +15 -15
- package/dist/chunks/{credential-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{credential-8z6m94af.js → location-activity-mb7mbhnz.js} +3 -3
- package/dist/chunks/{credential-me215f18.js → location-activity-me215f18.js} +1 -1
- package/dist/chunks/{credential-ajccy6f8.js → location-activity-meb57g0v.js} +39 -39
- package/dist/chunks/{credential-e3g7pfyb.js → location-activity-med4ej7m.js} +45 -45
- package/dist/chunks/{credential-czg0m0ak.js → location-activity-mnenvpkc.js} +32 -32
- package/dist/chunks/{credential-t0769gxy.js → location-activity-mpanp81n.js} +2 -2
- package/dist/chunks/{credential-71k7ctms.js → location-activity-mwm26xn8.js} +14 -14
- package/dist/chunks/{credential-47dq66b6.js → location-activity-mzte040v.js} +17 -17
- package/dist/chunks/{credential-gnpaavd6.js → location-activity-n0yq61w2.js} +13 -13
- package/dist/chunks/{credential-t62dywgn.js → location-activity-n3j33rb6.js} +4 -4
- package/dist/chunks/{credential-4k5p921e.js → location-activity-n4z8s32d.js} +8 -8
- package/dist/chunks/{credential-66y77mm4.js → location-activity-n86se7kc.js} +4 -4
- package/dist/chunks/{credential-6kpa08r1.js → location-activity-nag9wnsf.js} +12 -12
- package/dist/chunks/{credential-nj6z228g.js → location-activity-np67b0gh.js} +49 -49
- package/dist/chunks/{credential-nm6ghvnx.js → location-activity-nr3pdzjw.js} +34 -34
- package/dist/chunks/{credential-sx8003dw.js → location-activity-nzhr0bsz.js} +37 -37
- package/dist/chunks/{credential-ss4sjk90.js → location-activity-nzxh1gty.js} +18 -18
- package/dist/chunks/{credential-y2gs1msq.js → location-activity-p3v9v06y.js} +16 -16
- package/dist/chunks/{credential-b3e7v6fs.js → location-activity-p548v14x.js} +5 -5
- package/dist/chunks/{credential-w9yha44v.js → location-activity-p5hhhdwh.js} +20 -20
- package/dist/chunks/{credential-kpnaey6t.js → location-activity-p6c721xh.js} +2 -2
- package/dist/chunks/{credential-f7ffr3cq.js → location-activity-pfa9vdyy.js} +3 -3
- package/dist/chunks/{credential-trhxst0e.js → location-activity-pgn6v1am.js} +8 -8
- package/dist/chunks/{credential-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{credential-dqzjygkc.js → location-activity-pxrqm68d.js} +6 -6
- package/dist/chunks/{credential-q42tzrxa.js → location-activity-q42tzrxa.js} +1 -1
- package/dist/chunks/{credential-9b5pg85y.js → location-activity-q4374hh0.js} +15 -15
- package/dist/chunks/{credential-psd3nv9h.js → location-activity-q46bzzdm.js} +13 -13
- package/dist/chunks/{credential-4k6c6r1r.js → location-activity-q56p5gvv.js} +22 -22
- package/dist/chunks/{credential-1g7j0a9m.js → location-activity-q77a18c3.js} +12 -12
- package/dist/chunks/{credential-530xg6vw.js → location-activity-q7srkfd6.js} +6 -6
- package/dist/chunks/{credential-0vs3dbw5.js → location-activity-q82snbcd.js} +10 -10
- package/dist/chunks/{credential-jp2sxs8y.js → location-activity-qbb3pf4w.js} +35 -30
- package/dist/chunks/{credential-z5fppbw1.js → location-activity-qc0bszbb.js} +8 -8
- package/dist/chunks/{credential-5pq5rkzh.js → location-activity-qem2pted.js} +13 -13
- package/dist/chunks/{credential-ek77yk18.js → location-activity-qjygeatn.js} +8 -8
- package/dist/chunks/{credential-qp7r0hxv.js → location-activity-qp7r0hxv.js} +1 -1
- package/dist/chunks/{credential-jqv2jgmd.js → location-activity-qt7bntq4.js} +5 -5
- package/dist/chunks/{credential-vtbxk92t.js → location-activity-r666fnn3.js} +21 -21
- package/dist/chunks/{credential-ht9sc8v8.js → location-activity-r8jxqrxz.js} +22 -22
- package/dist/chunks/{credential-8vtgcmn5.js → location-activity-rax2xyyq.js} +8 -8
- package/dist/chunks/{credential-rb9dy4dg.js → location-activity-rb9dy4dg.js} +1 -1
- package/dist/chunks/{credential-9pt1ykqm.js → location-activity-rch5ms09.js} +9 -9
- package/dist/chunks/{credential-rgc9cx3e.js → location-activity-rgc9cx3e.js} +2 -2
- package/dist/chunks/{credential-4vzr2b15.js → location-activity-rj7jtxy8.js} +3 -3
- package/dist/chunks/{credential-xdszv250.js → location-activity-rk6mb6yx.js} +10 -10
- package/dist/chunks/{credential-fqp5zfew.js → location-activity-rnn5wv6c.js} +19 -19
- package/dist/chunks/{credential-rt5dr6hb.js → location-activity-rt5dr6hb.js} +1 -1
- package/dist/chunks/{credential-zhaq39rh.js → location-activity-ry5mxg0h.js} +15 -15
- package/dist/chunks/{credential-wzt7548m.js → location-activity-ry96dt4n.js} +31 -31
- package/dist/chunks/{credential-y206cdae.js → location-activity-ryqtpnap.js} +43 -43
- package/dist/chunks/{credential-t7nbprsw.js → location-activity-s0nyf8p3.js} +3 -3
- package/dist/chunks/{credential-3tq6e218.js → location-activity-s15m782p.js} +7 -7
- package/dist/chunks/{credential-07vykwtp.js → location-activity-s1bg03qt.js} +8 -8
- package/dist/chunks/{credential-fypa34bc.js → location-activity-s4x7dwt1.js} +8 -8
- package/dist/chunks/{credential-5062s1vv.js → location-activity-s8qs2sey.js} +29 -29
- package/dist/chunks/{credential-sbya78hr.js → location-activity-sbya78hr.js} +1 -1
- package/dist/chunks/{credential-w7j3r3wx.js → location-activity-sj7nrpyn.js} +8 -8
- package/dist/chunks/{credential-wrr5tz1f.js → location-activity-spjzqks7.js} +10 -10
- package/dist/chunks/{credential-sqjzf8x2.js → location-activity-sqjzf8x2.js} +1 -1
- package/dist/chunks/{credential-zhy8bpzs.js → location-activity-ssk24mb7.js} +11 -11
- package/dist/chunks/{credential-svcy3p9a.js → location-activity-svcy3p9a.js} +1 -1
- package/dist/chunks/{credential-xjbsd7zy.js → location-activity-sx8acyer.js} +9 -9
- package/dist/chunks/{credential-1eysdvz9.js → location-activity-t2v7drcy.js} +14 -14
- package/dist/chunks/{credential-jv5ccajn.js → location-activity-t8erkws8.js} +5 -5
- package/dist/chunks/{credential-w9jtpvzd.js → location-activity-t9ad5bjg.js} +7 -7
- package/dist/chunks/{credential-tbpn7jtk.js → location-activity-tbpn7jtk.js} +1 -1
- package/dist/chunks/{credential-tczq8hjw.js → location-activity-tczq8hjw.js} +1 -1
- package/dist/chunks/{credential-h6z33c1x.js → location-activity-tddzw9c8.js} +17 -17
- package/dist/chunks/{credential-zxxach20.js → location-activity-tk20hhxs.js} +36 -36
- package/dist/chunks/{credential-3nnrz6f6.js → location-activity-tmc7xdjs.js} +4 -4
- package/dist/chunks/{credential-cn83tksa.js → location-activity-tqn66wjn.js} +5 -5
- package/dist/chunks/{credential-jht64jd1.js → location-activity-tr8x705m.js} +4 -4
- package/dist/chunks/{credential-tvtps2q9.js → location-activity-tvtps2q9.js} +1 -1
- package/dist/chunks/{credential-gpy31fc1.js → location-activity-tw7evty5.js} +30 -30
- package/dist/chunks/{credential-twssxy5n.js → location-activity-twssxy5n.js} +2 -2
- package/dist/chunks/{credential-8bgnr0we.js → location-activity-tz8eqr11.js} +9 -9
- package/dist/chunks/{credential-v2r1d0zg.js → location-activity-v2r1d0zg.js} +1 -1
- package/dist/chunks/location-activity-vgffa0d8.js +73 -0
- package/dist/chunks/{credential-vjf35v1f.js → location-activity-vjf35v1f.js} +1 -1
- package/dist/chunks/{credential-2ndfe4bv.js → location-activity-vnpmj9gb.js} +3 -3
- package/dist/chunks/{credential-agje4kmn.js → location-activity-vwcz1f45.js} +7 -7
- package/dist/chunks/{credential-fcxd13ss.js → location-activity-vxts9jpc.js} +3 -3
- package/dist/chunks/{credential-czn5hftq.js → location-activity-vz246x1q.js} +18 -18
- package/dist/chunks/{credential-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{credential-wr3re1en.js → location-activity-w687dnns.js} +4 -4
- package/dist/chunks/{credential-wakvkjy4.js → location-activity-wakvkjy4.js} +1 -1
- package/dist/chunks/{credential-sdvhb3e4.js → location-activity-wc7760q8.js} +6 -6
- package/dist/chunks/{credential-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{credential-nx4vzyjd.js → location-activity-wegkxhrn.js} +2 -2
- package/dist/chunks/{credential-26f4gad7.js → location-activity-wgsr3anh.js} +3 -3
- package/dist/chunks/{credential-tpxpf3r3.js → location-activity-wj99w536.js} +12 -12
- package/dist/chunks/{credential-542rvbkv.js → location-activity-wjm6jr28.js} +11 -11
- package/dist/chunks/{credential-2jcs6ehn.js → location-activity-wsbm6zeg.js} +31 -31
- package/dist/chunks/{credential-d7s7hfnh.js → location-activity-wvy6mn4a.js} +30 -30
- package/dist/chunks/{credential-qahwymqd.js → location-activity-x0vckz3v.js} +14 -14
- package/dist/chunks/{credential-bmf42nty.js → location-activity-xc18mn0p.js} +14 -14
- package/dist/chunks/{credential-rbg54dp1.js → location-activity-xdcpcrtr.js} +4 -4
- package/dist/chunks/{credential-963hk181.js → location-activity-xe6pezxp.js} +7 -7
- package/dist/chunks/{credential-d5mt4tbf.js → location-activity-xg6s2pem.js} +18 -18
- package/dist/chunks/{credential-xxschbft.js → location-activity-xjr6c8m4.js} +4 -4
- package/dist/chunks/{credential-tgqv0xxa.js → location-activity-xtjqjfs4.js} +11 -11
- package/dist/chunks/{credential-xvn8mnch.js → location-activity-xvn8mnch.js} +1 -1
- package/dist/chunks/{credential-kv2w3cqj.js → location-activity-y4b467cb.js} +14 -14
- package/dist/chunks/{credential-yb20nhc3.js → location-activity-yb20nhc3.js} +1 -1
- package/dist/chunks/{credential-r7x5hjb1.js → location-activity-ydzwp5m7.js} +20 -20
- package/dist/chunks/{credential-f3vw9xdq.js → location-activity-ykd94e19.js} +10 -15
- package/dist/chunks/{credential-j7d66c07.js → location-activity-ypx5jms9.js} +7 -7
- package/dist/chunks/{credential-yr705xyq.js → location-activity-yr705xyq.js} +1 -1
- package/dist/chunks/{credential-dy61dhjq.js → location-activity-yswzmj5q.js} +14 -14
- package/dist/chunks/{credential-w86cexdq.js → location-activity-yt5ww7rw.js} +25 -25
- package/dist/chunks/{credential-yvtc2x31.js → location-activity-yvtc2x31.js} +1 -1
- package/dist/chunks/{credential-fk4t2epv.js → location-activity-yvzmjn03.js} +22 -22
- package/dist/chunks/{credential-kydj2ye1.js → location-activity-yzevtn58.js} +3 -3
- package/dist/chunks/{credential-969z8gkc.js → location-activity-z2asqb59.js} +14 -14
- package/dist/chunks/{credential-vb6mr57d.js → location-activity-z6g4szpb.js} +8 -8
- package/dist/chunks/{credential-264jkf7y.js → location-activity-z6sratvn.js} +11 -11
- package/dist/chunks/{credential-jqtbw7h1.js → location-activity-z9d8hh7c.js} +13 -13
- package/dist/chunks/{credential-zm76zeev.js → location-activity-zawt1126.js} +6 -6
- package/dist/chunks/{credential-158gk55n.js → location-activity-zb9j3pvh.js} +18 -18
- package/dist/chunks/{credential-2merx6cy.js → location-activity-zbt9b71e.js} +11 -11
- package/dist/chunks/{credential-j9nxzz3g.js → location-activity-ze75qvmd.js} +3 -3
- package/dist/chunks/{credential-86t2hvpq.js → location-activity-zfar18d4.js} +6 -6
- package/dist/chunks/{credential-7hrb7b3y.js → location-activity-zgj0e9h8.js} +12 -12
- package/dist/chunks/{credential-fc6q08vh.js → location-activity-zhwbxxn5.js} +11 -11
- package/dist/chunks/{credential-0hw94rne.js → location-activity-zn8txwpw.js} +21 -21
- package/dist/chunks/{credential-by8ty0bx.js → location-activity-zpdbqgja.js} +4 -4
- package/dist/chunks/{credential-sgmgvnmb.js → location-activity-zpsfgpwr.js} +12 -15
- package/dist/chunks/{credential-zaqf23nz.js → location-activity-zrx0ycwa.js} +21 -21
- package/dist/chunks/{credential-qkykqagj.js → location-activity-zt9s6znf.js} +57 -57
- package/dist/chunks/{credential-7kyjmfwn.js → location-activity-zw1krsd1.js} +31 -31
- package/dist/chunks/{credential-kyb7ar3s.js → location-activity-zyg598m4.js} +38 -38
- package/dist/chunks/{credential-2c3sf92v.js → location-activity-zzt6nayt.js} +14 -14
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +240 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +145 -145
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +154 -154
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +130 -130
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +83 -83
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +106 -106
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +441 -441
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- 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 +83 -83
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +89 -89
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +253 -253
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +137 -131
- package/dist/form.js +95 -95
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- package/dist/git.js +9 -9
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +112 -112
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +432 -432
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +92 -92
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +183 -183
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +98 -98
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +124 -124
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +111 -111
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +410 -410
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +110 -110
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +161 -161
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +239 -239
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +420 -420
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +253 -253
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +106 -106
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +97 -97
- package/dist/repository-cache.js +91 -91
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +261 -261
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +248 -248
- package/dist/session/execution.js +165 -165
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +87 -87
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +248 -248
- package/dist/session/usage.js +3 -3
- package/dist/session.js +239 -239
- package/dist/shared-cache.js +5 -5
- 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 +15 -15
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +157 -157
- package/dist/snapshot.js +102 -102
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +186 -186
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +169 -169
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +169 -169
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +239 -239
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +169 -169
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +163 -163
- package/dist/types/app.d.ts +6 -4
- package/dist/types/codemode/tool.d.ts +3 -2
- package/dist/types/config/plugin/compaction.d.ts +2 -1
- package/dist/types/flag.d.ts +20 -6
- package/dist/types/instance.d.ts +3 -1
- package/dist/types/models-dev.d.ts +2 -1
- package/dist/types/plugin/host.d.ts +3 -2
- package/dist/types/plugin/internal.d.ts +3 -2
- package/dist/types/session/blob.d.ts +4 -6
- package/dist/types/session/model-request.d.ts +2 -1
- package/dist/types/tool/plugin/artifact.d.ts +2 -1
- package/dist/types/tool/plugin/schedule.d.ts +2 -1
- package/dist/types/tool/plugin/todo.d.ts +2 -1
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +9 -9
- package/dist/chunks/credential-1sqf876p.js +0 -35
- package/dist/chunks/credential-47mgcevd.js +0 -18
- package/dist/chunks/credential-8ff8x74f.js +0 -53
- package/dist/chunks/credential-a1x2x6bz.js +0 -265
- package/dist/chunks/credential-cfchw5ms.js +0 -571
- package/dist/chunks/credential-yg3w5a8j.js +0 -26
- /package/dist/chunks/{credential-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{credential-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{credential-108x4f4w.js → location-activity-108x4f4w.js} +0 -0
- /package/dist/chunks/{credential-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{credential-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{credential-1kah00gy.js → location-activity-1kah00gy.js} +0 -0
- /package/dist/chunks/{credential-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{credential-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{credential-2bv980vf.js → location-activity-2bv980vf.js} +0 -0
- /package/dist/chunks/{credential-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{credential-2n444ktb.js → location-activity-2n444ktb.js} +0 -0
- /package/dist/chunks/{credential-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{credential-3af0jn4w.js → location-activity-3af0jn4w.js} +0 -0
- /package/dist/chunks/{credential-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{credential-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{credential-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{credential-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{credential-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{credential-4qk9sjk2.js → location-activity-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{credential-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{credential-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{credential-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{credential-5w3e23ze.js → location-activity-5w3e23ze.js} +0 -0
- /package/dist/chunks/{credential-6agm2x70.js → location-activity-6agm2x70.js} +0 -0
- /package/dist/chunks/{credential-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{credential-6q2bdcd1.js → location-activity-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{credential-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{credential-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{credential-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{credential-84wd9syh.js → location-activity-84wd9syh.js} +0 -0
- /package/dist/chunks/{credential-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{credential-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{credential-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
- /package/dist/chunks/{credential-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{credential-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{credential-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{credential-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{credential-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{credential-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{credential-beh6qq61.js → location-activity-beh6qq61.js} +0 -0
- /package/dist/chunks/{credential-bhmrqjy3.js → location-activity-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{credential-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{credential-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{credential-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{credential-cqv5kn06.js → location-activity-cqv5kn06.js} +0 -0
- /package/dist/chunks/{credential-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{credential-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{credential-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{credential-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{credential-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{credential-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{credential-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{credential-ean2d8b5.js → location-activity-ean2d8b5.js} +0 -0
- /package/dist/chunks/{credential-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{credential-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{credential-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{credential-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{credential-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{credential-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{credential-fkpq3x5p.js → location-activity-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{credential-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{credential-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{credential-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{credential-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{credential-hcxmzztb.js → location-activity-hcxmzztb.js} +0 -0
- /package/dist/chunks/{credential-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{credential-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{credential-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{credential-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{credential-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{credential-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{credential-jwr30sdr.js → location-activity-jwr30sdr.js} +0 -0
- /package/dist/chunks/{credential-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{credential-m18g726c.js → location-activity-m18g726c.js} +0 -0
- /package/dist/chunks/{credential-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{credential-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{credential-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{credential-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{credential-nh4v3znn.js → location-activity-nh4v3znn.js} +0 -0
- /package/dist/chunks/{credential-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{credential-p71gwv9c.js → location-activity-p71gwv9c.js} +0 -0
- /package/dist/chunks/{credential-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{credential-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{credential-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{credential-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{credential-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{credential-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{credential-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{credential-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{credential-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{credential-syrav9an.js → location-activity-syrav9an.js} +0 -0
- /package/dist/chunks/{credential-t03h4f5z.js → location-activity-t03h4f5z.js} +0 -0
- /package/dist/chunks/{credential-ty7weeps.js → location-activity-ty7weeps.js} +0 -0
- /package/dist/chunks/{credential-ve7vex1e.js → location-activity-ve7vex1e.js} +0 -0
- /package/dist/chunks/{credential-vtarvj67.js → location-activity-vtarvj67.js} +0 -0
- /package/dist/chunks/{credential-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{credential-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{credential-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{credential-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{credential-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{credential-x4th4bpe.js → location-activity-x4th4bpe.js} +0 -0
- /package/dist/chunks/{credential-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{credential-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{credential-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{credential-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{credential-z0h12gs8.js → location-activity-z0h12gs8.js} +0 -0
- /package/dist/chunks/{credential-z5v4ffb3.js → location-activity-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{credential-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
- /package/dist/chunks/{credential-zxpyjp51.js → location-activity-zxpyjp51.js} +0 -0
- /package/dist/chunks/{credential-zz5vv3aq.js → location-activity-zz5vv3aq.js} +0 -0
|
@@ -1,39 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
node74
|
|
3
|
-
} from "./credential-1sqf876p.js";
|
|
4
1
|
import {
|
|
5
2
|
Service91,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
3
|
+
node92
|
|
4
|
+
} from "./location-activity-htz7dg7w.js";
|
|
8
5
|
import {
|
|
9
6
|
Service88,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
7
|
+
node89
|
|
8
|
+
} from "./location-activity-khj875dp.js";
|
|
12
9
|
import {
|
|
13
10
|
changes2,
|
|
14
11
|
create4
|
|
15
|
-
} from "./
|
|
16
|
-
import {
|
|
17
|
-
Service76,
|
|
18
|
-
node79
|
|
19
|
-
} from "./credential-11npars9.js";
|
|
12
|
+
} from "./location-activity-40y6dtc2.js";
|
|
20
13
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
14
|
+
Service92,
|
|
15
|
+
node93
|
|
16
|
+
} from "./location-activity-jtb9wsn0.js";
|
|
24
17
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
18
|
+
Service77,
|
|
19
|
+
node78
|
|
20
|
+
} from "./location-activity-vgffa0d8.js";
|
|
27
21
|
import {
|
|
28
22
|
detect2
|
|
29
|
-
} from "./
|
|
23
|
+
} from "./location-activity-4pyp9zr9.js";
|
|
30
24
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
25
|
+
Service20,
|
|
26
|
+
node23
|
|
27
|
+
} from "./location-activity-h00z2s2c.js";
|
|
34
28
|
import {
|
|
35
29
|
__export
|
|
36
|
-
} from "./
|
|
30
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
37
31
|
|
|
38
32
|
// src/artifact.ts
|
|
39
33
|
var exports_artifact2 = {};
|
|
@@ -41,23 +35,23 @@ __export(exports_artifact2, {
|
|
|
41
35
|
Artifact: () => exports_artifact2,
|
|
42
36
|
Capability: () => Capability2,
|
|
43
37
|
Content: () => Content2,
|
|
44
|
-
CreateInput: () =>
|
|
45
|
-
DisabledError: () =>
|
|
38
|
+
CreateInput: () => CreateInput5,
|
|
39
|
+
DisabledError: () => DisabledError3,
|
|
46
40
|
Event: () => Event6,
|
|
47
41
|
FileMissingError: () => FileMissingError2,
|
|
48
42
|
ID: () => ID7,
|
|
49
|
-
Info: () =>
|
|
43
|
+
Info: () => Info7,
|
|
50
44
|
InvalidError: () => InvalidError3,
|
|
51
45
|
LocalProviderID: () => LocalProviderID2,
|
|
52
46
|
NotFoundError: () => NotFoundError4,
|
|
53
|
-
Provider: () =>
|
|
47
|
+
Provider: () => Provider2,
|
|
54
48
|
ProviderError: () => ProviderError2,
|
|
55
49
|
ProviderID: () => ProviderID2,
|
|
56
|
-
ProviderNotFoundError: () =>
|
|
57
|
-
Service: () =>
|
|
58
|
-
UpdateInput: () =>
|
|
50
|
+
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
51
|
+
Service: () => Service19,
|
|
52
|
+
UpdateInput: () => UpdateInput3,
|
|
59
53
|
locate: () => locate2,
|
|
60
|
-
node: () =>
|
|
54
|
+
node: () => node22
|
|
61
55
|
});
|
|
62
56
|
import { randomUUID } from "node:crypto";
|
|
63
57
|
import fs from "node:fs/promises";
|
|
@@ -66,13 +60,13 @@ import { lookup } from "mime-types";
|
|
|
66
60
|
import {
|
|
67
61
|
Capability as Capability2,
|
|
68
62
|
Content as Content2,
|
|
69
|
-
CreateInput as
|
|
63
|
+
CreateInput as CreateInput5,
|
|
70
64
|
Event as Event6,
|
|
71
65
|
ID as ID7,
|
|
72
|
-
Info as
|
|
73
|
-
Provider as
|
|
66
|
+
Info as Info7,
|
|
67
|
+
Provider as Provider2,
|
|
74
68
|
ProviderID as ProviderID2,
|
|
75
|
-
UpdateInput as
|
|
69
|
+
UpdateInput as UpdateInput3
|
|
76
70
|
} from "@opencode/schema/artifact";
|
|
77
71
|
import { Global } from "@opencode/util/global";
|
|
78
72
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -80,7 +74,7 @@ import { Clock, Context, Effect, Layer, Option, Schema } from "effect";
|
|
|
80
74
|
var LocalProviderID2 = ProviderID2.make("local");
|
|
81
75
|
var ItemPrefix = "artifact:item:";
|
|
82
76
|
|
|
83
|
-
class
|
|
77
|
+
class DisabledError3 extends Schema.TaggedError()("Artifact.DisabledError", {}) {
|
|
84
78
|
get message() {
|
|
85
79
|
return "Artifacts are disabled; set experimental.artifacts in config";
|
|
86
80
|
}
|
|
@@ -103,7 +97,7 @@ class FileMissingError2 extends Schema.TaggedError()("Artifact.FileMissingError"
|
|
|
103
97
|
}
|
|
104
98
|
}
|
|
105
99
|
|
|
106
|
-
class
|
|
100
|
+
class ProviderNotFoundError2 extends Schema.TaggedError()("Artifact.ProviderNotFoundError", {
|
|
107
101
|
providerID: ProviderID2
|
|
108
102
|
}) {
|
|
109
103
|
get message() {
|
|
@@ -129,10 +123,10 @@ class ProviderError2 extends Schema.TaggedError()("Artifact.ProviderError", {
|
|
|
129
123
|
}
|
|
130
124
|
}
|
|
131
125
|
|
|
132
|
-
class
|
|
126
|
+
class Service19 extends Context.Service()("@opencode/Artifact") {
|
|
133
127
|
}
|
|
134
128
|
var StoredRecord = Schema.Struct({
|
|
135
|
-
info:
|
|
129
|
+
info: Info7,
|
|
136
130
|
directory: Schema.String,
|
|
137
131
|
projectID: Schema.String
|
|
138
132
|
});
|
|
@@ -145,14 +139,13 @@ var locate2 = (kv, id) => kv.get(ItemPrefix + id).pipe(Effect.map((stored) => {
|
|
|
145
139
|
const decoded = decodeStoredRecord(stored);
|
|
146
140
|
return Option.isSome(decoded) ? decoded.value.directory : undefined;
|
|
147
141
|
}));
|
|
148
|
-
var layer = Layer.effect(
|
|
142
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
149
143
|
const bus = yield* Service91;
|
|
150
|
-
const
|
|
144
|
+
const flags = yield* Service77;
|
|
151
145
|
const global = yield* Global.Service;
|
|
152
|
-
const kv = yield*
|
|
146
|
+
const kv = yield* Service92;
|
|
153
147
|
const location = yield* Service88;
|
|
154
|
-
const sessions = yield*
|
|
155
|
-
const flags = yield* resolver2;
|
|
148
|
+
const sessions = yield* Service20;
|
|
156
149
|
const rootDir = path.join(global.data, "artifacts");
|
|
157
150
|
const itemDir = (id) => path.join(rootDir, id);
|
|
158
151
|
const requireRecord = (id) => loadProjectRecord(kv, id, location.project.id).pipe(Effect.flatMap((existing) => existing ? Effect.succeed(existing) : Effect.fail(new NotFoundError4({ artifactID: id }))));
|
|
@@ -196,11 +189,8 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
196
189
|
}),
|
|
197
190
|
notify: changes2(snapshotProviders, () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid))
|
|
198
191
|
});
|
|
199
|
-
const isEnabled = Effect.fn("Artifact.enabled")(
|
|
200
|
-
|
|
201
|
-
return flags(entries).artifacts.enabled;
|
|
202
|
-
});
|
|
203
|
-
const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError4)));
|
|
192
|
+
const isEnabled = Effect.fn("Artifact.enabled")(() => flags.enabled("artifacts"));
|
|
193
|
+
const requireEnabled = () => isEnabled().pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError3)));
|
|
204
194
|
const activeDefaultID = () => {
|
|
205
195
|
const data = state.get();
|
|
206
196
|
return data.selection && data.providers.has(data.selection) ? data.selection : LocalProviderID2;
|
|
@@ -209,17 +199,17 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
209
199
|
const data = state.get();
|
|
210
200
|
const target = requested ?? activeDefaultID();
|
|
211
201
|
const found = data.providers.get(target);
|
|
212
|
-
return found ? Effect.succeed(found) : Effect.fail(new
|
|
202
|
+
return found ? Effect.succeed(found) : Effect.fail(new ProviderNotFoundError2({ providerID: target }));
|
|
213
203
|
};
|
|
214
204
|
const checkSession = (sessionID) => sessionID === undefined ? Effect.void : sessions.get(sessionID).pipe(Effect.asVoid);
|
|
215
|
-
return
|
|
205
|
+
return Service19.of({
|
|
216
206
|
transform: state.transform,
|
|
217
207
|
reload: state.reload,
|
|
218
208
|
enabled: isEnabled,
|
|
219
209
|
providers: Effect.fn("Artifact.providers")(function* () {
|
|
220
210
|
yield* requireEnabled();
|
|
221
211
|
const defaultID = activeDefaultID();
|
|
222
|
-
return Array.from(state.get().providers.values(), (provider) =>
|
|
212
|
+
return Array.from(state.get().providers.values(), (provider) => Provider2.make({
|
|
223
213
|
id: provider.id,
|
|
224
214
|
name: provider.name,
|
|
225
215
|
capabilities: [...provider.capabilities],
|
|
@@ -259,7 +249,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
259
249
|
const id = ID7.create();
|
|
260
250
|
const now = yield* Clock.currentTimeMillis;
|
|
261
251
|
const created = yield* provider.create({ id, title, entry, files, sessionID: input.sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
|
|
262
|
-
const info =
|
|
252
|
+
const info = Info7.make({
|
|
263
253
|
id,
|
|
264
254
|
provider: provider.id,
|
|
265
255
|
...input.sessionID === undefined ? {} : { sessionID: input.sessionID },
|
|
@@ -303,7 +293,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
303
293
|
const now = yield* Clock.currentTimeMillis;
|
|
304
294
|
const sessionID = input.sessionID ?? existing.info.sessionID;
|
|
305
295
|
const updated = yield* provider.update(id, { title, entry, files, sessionID }).pipe(Effect.mapError((cause) => new ProviderError2({ providerID: provider.id, cause })));
|
|
306
|
-
const info =
|
|
296
|
+
const info = Info7.make({
|
|
307
297
|
id,
|
|
308
298
|
provider: existing.info.provider,
|
|
309
299
|
...sessionID === undefined ? {} : { sessionID },
|
|
@@ -347,10 +337,10 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
347
337
|
})
|
|
348
338
|
});
|
|
349
339
|
}));
|
|
350
|
-
var
|
|
351
|
-
service:
|
|
340
|
+
var node22 = makeLocationNode({
|
|
341
|
+
service: Service19,
|
|
352
342
|
layer,
|
|
353
|
-
deps: [
|
|
343
|
+
deps: [node92, node78, Global.node, node93, node89, node23]
|
|
354
344
|
});
|
|
355
345
|
function encodeStringFiles(files) {
|
|
356
346
|
return Object.fromEntries(Object.entries(files).map(([filePath, content]) => [filePath, encoder.encode(content)]));
|
|
@@ -491,4 +481,4 @@ function readDirectoryFiles(baseDir) {
|
|
|
491
481
|
});
|
|
492
482
|
}
|
|
493
483
|
|
|
494
|
-
export { Capability2, Content2,
|
|
484
|
+
export { Capability2, Content2, CreateInput5, Event6, ID7, Info7, Provider2, ProviderID2, UpdateInput3, LocalProviderID2, DisabledError3, NotFoundError4, FileMissingError2, ProviderNotFoundError2, InvalidError3, ProviderError2, Service19, locate2, node22, exports_artifact2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node92
|
|
4
|
+
} from "./location-activity-htz7dg7w.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create4
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-40y6dtc2.js";
|
|
9
9
|
import {
|
|
10
10
|
key3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-xvn8mnch.js";
|
|
12
12
|
import {
|
|
13
13
|
ID17,
|
|
14
|
-
|
|
14
|
+
Service85,
|
|
15
15
|
node86,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Event18
|
|
17
|
+
} from "./location-activity-bcr8fy57.js";
|
|
18
18
|
import {
|
|
19
19
|
Service88,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
node89
|
|
21
|
+
} from "./location-activity-khj875dp.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider5 = {};
|
|
@@ -31,13 +31,13 @@ __export(exports_provider5, {
|
|
|
31
31
|
Compaction: () => Compaction3,
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
|
-
Event: () =>
|
|
34
|
+
Event: () => Event17,
|
|
35
35
|
ID: () => ID16,
|
|
36
36
|
Info: () => Info24,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider5,
|
|
39
39
|
Request: () => Request4,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service84,
|
|
41
41
|
Settings: () => Settings2,
|
|
42
42
|
Transport: () => Transport2,
|
|
43
43
|
aisdk: () => aisdk2,
|
|
@@ -331,7 +331,7 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
|
|
|
331
331
|
var decode = Schema.decodeUnknownSync(Legacy);
|
|
332
332
|
|
|
333
333
|
// src/provider.ts
|
|
334
|
-
import { Event as
|
|
334
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
335
335
|
var ID16 = Provider.ID;
|
|
336
336
|
var AISDK_PREFIX2 = "aisdk:";
|
|
337
337
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
@@ -579,7 +579,7 @@ var Transport2 = Provider.Transport;
|
|
|
579
579
|
var Settings2 = Provider.Settings;
|
|
580
580
|
var Info24 = Provider.Info;
|
|
581
581
|
|
|
582
|
-
class
|
|
582
|
+
class Service84 extends Context.Service()("@opencode/Provider") {
|
|
583
583
|
}
|
|
584
584
|
var definitions = new WeakMap;
|
|
585
585
|
function index(providerID, models) {
|
|
@@ -592,9 +592,9 @@ function index(providerID, models) {
|
|
|
592
592
|
definitions.set(models, indexes);
|
|
593
593
|
return result;
|
|
594
594
|
}
|
|
595
|
-
var layer = Layer.effect(
|
|
595
|
+
var layer = Layer.effect(Service84, Effect2.gen(function* () {
|
|
596
596
|
const bus = yield* Service91;
|
|
597
|
-
const integrations = yield*
|
|
597
|
+
const integrations = yield* Service85;
|
|
598
598
|
const location = yield* Service88;
|
|
599
599
|
const state = create4({
|
|
600
600
|
name: "provider",
|
|
@@ -713,8 +713,8 @@ var layer = Layer.effect(Service82, Effect2.gen(function* () {
|
|
|
713
713
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
714
714
|
});
|
|
715
715
|
});
|
|
716
|
-
yield* bus.subscribe([
|
|
717
|
-
return
|
|
716
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
|
|
717
|
+
return Service84.of({
|
|
718
718
|
transform: state.transform,
|
|
719
719
|
reload: state.reload,
|
|
720
720
|
get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -723,7 +723,7 @@ var layer = Layer.effect(Service82, Effect2.gen(function* () {
|
|
|
723
723
|
snapshot
|
|
724
724
|
});
|
|
725
725
|
}));
|
|
726
|
-
var node85 = makeLocationNode({ service:
|
|
726
|
+
var node85 = makeLocationNode({ service: Service84, layer, deps: [node92, node86, node89] });
|
|
727
727
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
728
728
|
const module = yield* Effect2.tryPromise({
|
|
729
729
|
try: () => {
|
|
@@ -745,4 +745,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
745
745
|
return module;
|
|
746
746
|
});
|
|
747
747
|
|
|
748
|
-
export { rewrite2, native2, exports_aisdk_native, ID16, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info24,
|
|
748
|
+
export { rewrite2, native2, exports_aisdk_native, ID16, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info24, Service84, node85, exports_provider5, Event17 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
load3
|
|
3
|
+
} from "./location-activity-tr8x705m.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/claude-agent/claude/fork.ts
|
|
9
9
|
var exports_fork = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_fork, {
|
|
|
12
12
|
create: () => create2
|
|
13
13
|
});
|
|
14
14
|
async function create2(sessionID, messageID) {
|
|
15
|
-
const { deleteSession, forkSession, getSessionMessages } = await
|
|
15
|
+
const { deleteSession, forkSession, getSessionMessages } = await load3();
|
|
16
16
|
const source = await getSessionMessages(sessionID);
|
|
17
17
|
const end = source.findIndex((message) => message.uuid === messageID);
|
|
18
18
|
if (end < 0)
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service94
|
|
3
|
+
} from "./location-activity-t2v7drcy.js";
|
|
4
4
|
import {
|
|
5
5
|
Service91
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-htz7dg7w.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service66
|
|
9
|
+
} from "./location-activity-8jkrp6cd.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-q42tzrxa.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError12,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-q7srkfd6.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service73
|
|
29
|
+
} from "./location-activity-kssg3tf8.js";
|
|
30
30
|
import {
|
|
31
31
|
SyntheticPayload2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service64
|
|
33
|
+
} from "./location-activity-s8qs2sey.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service63
|
|
36
|
+
} from "./location-activity-036txw5h.js";
|
|
37
37
|
import {
|
|
38
38
|
prepare2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-activity-nzxh1gty.js";
|
|
40
40
|
import {
|
|
41
41
|
stage2,
|
|
42
42
|
clear2,
|
|
43
43
|
commit2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./location-activity-28m0w1j1.js";
|
|
45
45
|
import {
|
|
46
46
|
start4
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./location-activity-8w7xda6k.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
} from "./
|
|
49
|
+
get5
|
|
50
|
+
} from "./location-activity-wj99w536.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/session/session.ts
|
|
56
56
|
var exports_session4 = {};
|
|
@@ -63,17 +63,17 @@ import { Event } from "@opencode/schema/event";
|
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
var make24 = Effect.fn("Session.make")(function* () {
|
|
65
65
|
const bus = yield* Service91;
|
|
66
|
-
const database = yield*
|
|
67
|
-
const store = yield*
|
|
68
|
-
const instances = yield*
|
|
69
|
-
const execution = yield*
|
|
70
|
-
const admission = yield*
|
|
66
|
+
const database = yield* Service94;
|
|
67
|
+
const store = yield* Service73;
|
|
68
|
+
const instances = yield* Service66;
|
|
69
|
+
const execution = yield* Service63;
|
|
70
|
+
const admission = yield* Service64;
|
|
71
71
|
const fs = yield* FSUtil.Service;
|
|
72
72
|
const scope = yield* Scope.Scope;
|
|
73
73
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
74
74
|
const session = yield* store.get(sessionID);
|
|
75
75
|
if (!session)
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new NotFoundError12({ sessionID });
|
|
77
77
|
return session;
|
|
78
78
|
});
|
|
79
79
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -155,7 +155,7 @@ var make24 = Effect.fn("Session.make")(function* () {
|
|
|
155
155
|
sessionID: session.id,
|
|
156
156
|
item
|
|
157
157
|
});
|
|
158
|
-
}).pipe(instances.provide(session), Effect.provideService(
|
|
158
|
+
}).pipe(instances.provide(session), Effect.provideService(Service94, database), Effect.provideService(FSUtil.Service, fs));
|
|
159
159
|
}).pipe(Effect.catchTag("SessionInbox.LifecycleConflict", () => new PromptConflictError2({ sessionID, messageID })));
|
|
160
160
|
if (input.resume !== false)
|
|
161
161
|
yield* execution.wake(sessionID);
|
|
@@ -164,7 +164,7 @@ var make24 = Effect.fn("Session.make")(function* () {
|
|
|
164
164
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
165
165
|
const session = yield* get(sessionID);
|
|
166
166
|
const running = yield* Effect.gen(function* () {
|
|
167
|
-
const started = yield* start4({ session, command: input.command }).pipe(Effect.provideService(
|
|
167
|
+
const started = yield* start4({ session, command: input.command }).pipe(Effect.provideService(Service66, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
168
168
|
text: `User shell command failed to start:
|
|
169
169
|
${input.command}
|
|
170
170
|
|
|
@@ -193,7 +193,7 @@ ${error.message}`,
|
|
|
193
193
|
});
|
|
194
194
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
195
195
|
const session = yield* get(sessionID);
|
|
196
|
-
const skill = yield*
|
|
196
|
+
const skill = yield* get5({ session, skill: input.skill }).pipe(Effect.provideService(Service66, instances));
|
|
197
197
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
198
198
|
sessionID,
|
|
199
199
|
id: skill.id,
|
|
@@ -250,13 +250,13 @@ ${error.message}`,
|
|
|
250
250
|
const session = yield* get(sessionID);
|
|
251
251
|
if (yield* execution.isActive(sessionID))
|
|
252
252
|
return yield* new BusyError2({ sessionID });
|
|
253
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
253
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service66, instances), Effect.provideService(Service94, database), Effect.provideService(Service91, bus));
|
|
254
254
|
});
|
|
255
255
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
256
256
|
const session = yield* get(sessionID);
|
|
257
257
|
if (yield* execution.isActive(sessionID))
|
|
258
258
|
return yield* new BusyError2({ sessionID });
|
|
259
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
259
|
+
yield* clear2(session).pipe(Effect.provideService(Service66, instances), Effect.provideService(Service91, bus));
|
|
260
260
|
return yield* execution.wake(sessionID);
|
|
261
261
|
});
|
|
262
262
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|