@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,33 +1,33 @@
|
|
|
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
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service41
|
|
15
|
+
} from "./location-activity-yt5ww7rw.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
MessageNotFoundError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-activity-q7srkfd6.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionMessageTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-activity-mb7mbhnz.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeMessageRowSync2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-activity-rk6mb6yx.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/session/revert.ts
|
|
33
33
|
var exports_revert = {};
|
|
@@ -40,11 +40,11 @@ __export(exports_revert, {
|
|
|
40
40
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
41
41
|
import { Effect } from "effect";
|
|
42
42
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
43
|
-
const instances = yield*
|
|
44
|
-
const database = yield*
|
|
43
|
+
const instances = yield* Service66;
|
|
44
|
+
const database = yield* Service94;
|
|
45
45
|
const bus = yield* Service91;
|
|
46
46
|
return yield* Effect.gen(function* () {
|
|
47
|
-
const snapshot = yield*
|
|
47
|
+
const snapshot = yield* Service41;
|
|
48
48
|
const original = input.session.revert?.snapshot ?? (yield* snapshot.capture());
|
|
49
49
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
50
50
|
const restore = new Map;
|
|
@@ -72,10 +72,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
72
72
|
}).pipe(instances.provide(input.session));
|
|
73
73
|
});
|
|
74
74
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
75
|
-
const instances = yield*
|
|
75
|
+
const instances = yield* Service66;
|
|
76
76
|
const bus = yield* Service91;
|
|
77
77
|
yield* Effect.gen(function* () {
|
|
78
|
-
const snapshot = yield*
|
|
78
|
+
const snapshot = yield* Service41;
|
|
79
79
|
if (!session.revert)
|
|
80
80
|
return;
|
|
81
81
|
const original = session.revert.snapshot;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
scan4,
|
|
3
3
|
scanPowerShell2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-8zv0xmg5.js";
|
|
5
5
|
import {
|
|
6
6
|
name17,
|
|
7
7
|
ps2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-q56p5gvv.js";
|
|
9
9
|
import {
|
|
10
10
|
match3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-1aqsckx4.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/shell/parse.ts
|
|
17
17
|
var exports_parse = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service79
|
|
4
|
+
} from "./location-activity-ezs0c9y4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service60
|
|
7
|
+
} from "./location-activity-7dv5yvw2.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-tvtps2q9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin31
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin31 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service79;
|
|
27
|
+
const output = yield* Service60;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin33 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin31, exports_tool_output };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
make5
|
|
3
|
+
} from "./location-activity-32s5n8c8.js";
|
|
4
4
|
import {
|
|
5
5
|
HEADER2,
|
|
6
6
|
SESSION_HEADER2,
|
|
7
7
|
FORK_HEADER2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-yr705xyq.js";
|
|
9
9
|
import {
|
|
10
10
|
AGENT_OPTION2,
|
|
11
11
|
INSTRUCTIONS_OPTION2,
|
|
12
|
-
|
|
12
|
+
make11,
|
|
13
13
|
utility2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-kj9n5bvh.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/plugin/provider/claude-agent/language-model/claude-agent-language-model.ts
|
|
20
20
|
var exports_claude_agent_language_model = {};
|
|
@@ -56,8 +56,8 @@ class Model2 {
|
|
|
56
56
|
const sessionID = primary ? session : undefined;
|
|
57
57
|
const sourceID = primary ? headers[FORK_HEADER2] : branch ? session : undefined;
|
|
58
58
|
const offered = primary || branch ? tools : [];
|
|
59
|
-
const convert =
|
|
60
|
-
const system = primary || branch ?
|
|
59
|
+
const convert = make5(offered);
|
|
60
|
+
const system = primary || branch ? make11(agent, instructions) : utility2(options.prompt);
|
|
61
61
|
let cancelled = false;
|
|
62
62
|
let task;
|
|
63
63
|
const stream = new ReadableStream({
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-2kg89srt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info20
|
|
9
|
+
} from "./location-activity-d390zwf3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info18
|
|
12
|
+
} from "./location-activity-cpvd08na.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info19
|
|
15
|
+
} from "./location-activity-t8erkws8.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-1yq9hg58.js";
|
|
19
19
|
import {
|
|
20
20
|
Info22
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-activity-ayfytmn9.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-activity-dg4qy9tk.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,12 +98,12 @@ function normalize3(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info18, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
105
105
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
106
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
106
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info20, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
107
107
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
108
108
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
109
109
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -117,7 +117,7 @@ function normalize3(input) {
|
|
|
117
117
|
model: migratedSmallModel,
|
|
118
118
|
...legacyAgents.title
|
|
119
119
|
};
|
|
120
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
120
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info20, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
121
121
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
122
122
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
123
123
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -220,7 +220,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
220
220
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
221
221
|
return;
|
|
222
222
|
}
|
|
223
|
-
const server = decodeValue(
|
|
223
|
+
const server = decodeValue(Info19, value, path, diagnostics);
|
|
224
224
|
if (server !== undefined)
|
|
225
225
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
226
226
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission2 = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_permission2, {
|
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission2,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info21,
|
|
12
12
|
Object: () => Object2,
|
|
13
13
|
Rule: () => Rule3
|
|
14
14
|
});
|
|
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
22
|
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info21 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2, Rule3,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule3, Info21, exports_permission2 };
|
|
@@ -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/probe.ts
|
|
9
9
|
var exports_probe = {};
|
|
@@ -38,7 +38,7 @@ var run2 = Effect.fn("ClaudeProbe.run")(function* (options) {
|
|
|
38
38
|
const stop = Promise.withResolvers();
|
|
39
39
|
return yield* Effect.acquireUseRelease(Effect.tryPromise({
|
|
40
40
|
try: async () => {
|
|
41
|
-
const { query } = await
|
|
41
|
+
const { query } = await load3();
|
|
42
42
|
return query({ prompt: waitFor(stop.promise), options: { ...options, persistSession: false } });
|
|
43
43
|
},
|
|
44
44
|
catch: (cause) => new ProbeError2({ cause })
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./location-activity-e0wbdae3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/tool/plugin/write.ts
|
|
9
9
|
var exports_write = {};
|
|
10
10
|
__export(exports_write, {
|
|
11
|
-
Input: () =>
|
|
12
|
-
Output: () =>
|
|
13
|
-
Plugin: () =>
|
|
11
|
+
Input: () => Input5,
|
|
12
|
+
Output: () => Output3,
|
|
13
|
+
Plugin: () => Plugin44,
|
|
14
14
|
WriteTool: () => exports_write,
|
|
15
|
-
name: () =>
|
|
15
|
+
name: () => name5,
|
|
16
16
|
toModelContent: () => toModelContent3
|
|
17
17
|
});
|
|
18
18
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
|
-
var
|
|
21
|
-
var
|
|
20
|
+
var name5 = "write";
|
|
21
|
+
var Input5 = Schema.Struct({
|
|
22
22
|
path: Schema.String.annotate({
|
|
23
23
|
description: "Path to the file to write to"
|
|
24
24
|
}),
|
|
25
25
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
26
26
|
});
|
|
27
|
-
var
|
|
27
|
+
var Output3 = Schema.Struct({
|
|
28
28
|
operation: Schema.Literal("write"),
|
|
29
29
|
target: Schema.String,
|
|
30
30
|
resource: Schema.String,
|
|
31
31
|
existed: Schema.Boolean
|
|
32
32
|
});
|
|
33
33
|
var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
34
|
-
var
|
|
34
|
+
var Plugin44 = {
|
|
35
35
|
id: "opencode.tool.write",
|
|
36
36
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
37
|
-
const fileWrite = yield*
|
|
37
|
+
const fileWrite = yield* Service51;
|
|
38
38
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
39
|
-
name:
|
|
39
|
+
name: name5,
|
|
40
40
|
options: { codemode: false, permission: "edit" },
|
|
41
41
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
42
42
|
|
|
43
43
|
Missing parent directories are created automatically.
|
|
44
44
|
|
|
45
45
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
46
|
-
input:
|
|
47
|
-
output:
|
|
46
|
+
input: Input5,
|
|
47
|
+
output: Output3,
|
|
48
48
|
execute: (input, context) => Effect.gen(function* () {
|
|
49
49
|
const written = yield* fileWrite.write(input, context);
|
|
50
50
|
return {
|
|
@@ -58,4 +58,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
58
58
|
})
|
|
59
59
|
};
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { name5, Input5, Output3, toModelContent3, Plugin44, exports_write };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
server2,
|
|
3
3
|
headers2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-kt3bjfbg.js";
|
|
5
5
|
import {
|
|
6
6
|
ID17,
|
|
7
|
-
|
|
7
|
+
Service85,
|
|
8
8
|
node86
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-bcr8fy57.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/usage-limits.ts
|
|
15
15
|
var exports_usage_limits = {};
|
|
16
16
|
__export(exports_usage_limits, {
|
|
17
|
-
Info: () =>
|
|
18
|
-
Service: () =>
|
|
19
|
-
UnavailableError: () =>
|
|
17
|
+
Info: () => Info10,
|
|
18
|
+
Service: () => Service44,
|
|
19
|
+
UnavailableError: () => UnavailableError4,
|
|
20
20
|
UsageLimits: () => exports_usage_limits,
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
21
|
+
layer: () => layer18,
|
|
22
|
+
node: () => node46
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
25
|
import { Money } from "@opencode/schema/money";
|
|
@@ -29,23 +29,23 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
29
29
|
import { httpClient } from "@opencode/util/effect/app-node-platform";
|
|
30
30
|
import { Context, Duration, Effect, Layer, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var Info10 = UsageLimits.Info;
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError4 extends Schema.TaggedError()("UsageLimits.UnavailableError", {
|
|
35
35
|
message: Schema.String
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service44 extends Context.Service()("@opencode/UsageLimits") {
|
|
40
40
|
}
|
|
41
|
-
var
|
|
42
|
-
const integrations = yield*
|
|
41
|
+
var layer18 = Layer.effect(Service44, Effect.gen(function* () {
|
|
42
|
+
const integrations = yield* Service85;
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
44
44
|
const get = Effect.fn("UsageLimits.get")(function* () {
|
|
45
45
|
const connection = yield* integrations.connection.active(ID17.make("opencode"));
|
|
46
46
|
if (!connection)
|
|
47
47
|
return;
|
|
48
|
-
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
48
|
+
const credential = yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError4({ message: error.message })));
|
|
49
49
|
if (!credential || credential.type === "external")
|
|
50
50
|
return;
|
|
51
51
|
const workspaceID = credential.metadata?.orgID;
|
|
@@ -54,7 +54,7 @@ var layer9 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
54
54
|
const server = server2(credential);
|
|
55
55
|
const [budgets, go] = yield* Effect.all([readBudgets(http, server, credential), readGo(http, server, credential, workspaceID)], { concurrency: 2 }).pipe(Effect.timeoutOrElse({
|
|
56
56
|
duration: Duration.seconds(15),
|
|
57
|
-
orElse: () => Effect.fail(new
|
|
57
|
+
orElse: () => Effect.fail(new UnavailableError4({ message: "OpenCode Console usage limits timed out" }))
|
|
58
58
|
}));
|
|
59
59
|
return {
|
|
60
60
|
workspace: {
|
|
@@ -66,11 +66,11 @@ var layer9 = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
66
66
|
budgets
|
|
67
67
|
};
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service44.of({ get });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
72
|
-
service:
|
|
73
|
-
layer:
|
|
71
|
+
var node46 = makeLocationNode({
|
|
72
|
+
service: Service44,
|
|
73
|
+
layer: layer18,
|
|
74
74
|
deps: [node86, httpClient]
|
|
75
75
|
});
|
|
76
76
|
var ConsoleBudget = Schema.Struct({
|
|
@@ -117,17 +117,17 @@ function readBudgets(http, server, credential) {
|
|
|
117
117
|
picked: budget.picked,
|
|
118
118
|
shared: budget.shared,
|
|
119
119
|
resetsAt: budget.resetsAt.getTime()
|
|
120
|
-
}))))), Effect.scoped, Effect.mapError((error) => new
|
|
120
|
+
}))))), Effect.scoped, Effect.mapError((error) => new UnavailableError4({ message: `OpenCode Console budgets are unavailable: ${error.message}` })));
|
|
121
121
|
}
|
|
122
122
|
function readGo(http, server, credential, workspaceID) {
|
|
123
123
|
return HttpClient.withScope(http).execute(HttpClientRequest.get(`${new URL(server).origin}/zen/go/v1/usage`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(credential.type === "oauth" ? credential.access : credential.key), HttpClientRequest.setHeader("x-opencode-org-id", workspaceID))).pipe(Effect.flatMap((response) => response.status === 403 ? Effect.succeed(undefined) : HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(GoUsage)), Effect.map((body) => ({
|
|
124
124
|
rolling: meter(body.usage.rolling),
|
|
125
125
|
weekly: meter(body.usage.weekly),
|
|
126
126
|
monthly: meter(body.usage.monthly)
|
|
127
|
-
})))), Effect.scoped, Effect.mapError((error) => new
|
|
127
|
+
})))), Effect.scoped, Effect.mapError((error) => new UnavailableError4({ message: `OpenCode Go usage is unavailable: ${error.message}` })));
|
|
128
128
|
}
|
|
129
129
|
function meter(value) {
|
|
130
130
|
return { percent: value.percent, limited: value.status === "rate-limited", resetsAt: value.resetsAt.getTime() };
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
export {
|
|
133
|
+
export { Info10, UnavailableError4, Service44, layer18, node46, exports_usage_limits };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
policy3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-2fc7eemy.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionEvent2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-ec1grn59.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make21,
|
|
17
17
|
policy: () => policy2
|
|
18
18
|
});
|
|
19
19
|
import { isRetryable as isRetryable2 } from "@opencode/ai/effect";
|
|
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
39
39
|
return { retry: true, attempt: next.attempt, delay: normalized };
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
|
-
var
|
|
42
|
+
var make21 = (bus, sessionID) => Effect.gen(function* () {
|
|
43
43
|
const decide = yield* policy2(sessionID);
|
|
44
44
|
const wait = (input) => Effect.gen(function* () {
|
|
45
45
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -56,4 +56,4 @@ var make5 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
56
56
|
return { decide, wait };
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export { isRetryable2, policy2,
|
|
59
|
+
export { isRetryable2, policy2, make21, exports_retry };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service88
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-khj875dp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./location-activity-ezs0c9y4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service52
|
|
9
|
+
} from "./location-activity-n0yq61w2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make19
|
|
12
|
+
} from "./location-activity-dbatw319.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-tvtps2q9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin22
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,11 +29,11 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin22 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service79;
|
|
36
|
+
const formatter = yield* Service52;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const location = yield* Service88;
|
|
@@ -44,7 +44,7 @@ var Plugin30 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make19({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin22, exports_formatter };
|