@opencode/core 0.0.0-dev-19619 → 0.0.0-dev-19621
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 +78 -78
- package/dist/aisdk-native.js +92 -91
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{state-k3j9nvsf.js → location-activity-02sqczvg.js} +39 -39
- package/dist/chunks/{state-gmh1p7c3.js → location-activity-05qdzf61.js} +42 -42
- package/dist/chunks/{state-hzm9egg4.js → location-activity-0916jsyy.js} +10 -10
- package/dist/chunks/{state-ds6yvnwz.js → location-activity-0fd7a9tf.js} +20 -20
- package/dist/chunks/{state-6bhdwa4f.js → location-activity-0kjyq0mv.js} +9 -9
- package/dist/chunks/location-activity-0mesazry.js +4 -0
- package/dist/chunks/{state-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-0q0f95c6.js → location-activity-0q0f95c6.js} +1 -1
- package/dist/chunks/{state-ebvdhfn5.js → location-activity-0qfwhm5e.js} +12 -12
- package/dist/chunks/{state-hb432nf5.js → location-activity-0qv7mmtq.js} +10 -10
- package/dist/chunks/{state-d7pfk9kx.js → location-activity-13jep62n.js} +11 -11
- package/dist/chunks/{state-z87ss26s.js → location-activity-16tdh1fk.js} +8 -8
- package/dist/chunks/{state-jva4mgym.js → location-activity-179189h4.js} +4 -4
- package/dist/chunks/{state-f2n192rq.js → location-activity-1acjjqhc.js} +4 -4
- package/dist/chunks/{state-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
- package/dist/chunks/{state-qwjmgwmn.js → location-activity-1mkrhngc.js} +8 -8
- package/dist/chunks/{state-p1d46h3z.js → location-activity-1mnqxrzq.js} +24 -24
- package/dist/chunks/{state-hkha9254.js → location-activity-1q7p9dry.js} +4 -4
- package/dist/chunks/{state-dq66pm2h.js → location-activity-1qqdn15c.js} +6 -6
- package/dist/chunks/{state-21r38tys.js → location-activity-21r38tys.js} +1 -1
- package/dist/chunks/{state-2402vzrj.js → location-activity-2402vzrj.js} +1 -1
- package/dist/chunks/{state-g5akcga1.js → location-activity-24dcb14g.js} +1 -8
- package/dist/chunks/{state-2prd3etb.js → location-activity-277g6yhx.js} +30 -30
- package/dist/chunks/{state-29x78va6.js → location-activity-29x78va6.js} +2 -2
- package/dist/chunks/{state-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
- package/dist/chunks/{state-qx0y9v2b.js → location-activity-2acrqt2s.js} +13 -13
- package/dist/chunks/{state-nspxmzm8.js → location-activity-2gc3cgtr.js} +23 -23
- package/dist/chunks/{state-2k8khapm.js → location-activity-2k8khapm.js} +1 -1
- package/dist/chunks/{state-nhgnsbzd.js → location-activity-2pkx220b.js} +24 -24
- package/dist/chunks/{state-2p5y98w0.js → location-activity-3c019r4e.js} +6 -6
- package/dist/chunks/{state-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-hc844qg4.js → location-activity-3gs6qghn.js} +18 -18
- package/dist/chunks/{state-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-5k6red0j.js → location-activity-3qssm48j.js} +4 -4
- package/dist/chunks/{state-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-mx19mr1m.js → location-activity-3sxcm1y0.js} +28 -28
- package/dist/chunks/{state-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-v1kf15d2.js → location-activity-3wettdv3.js} +4 -10
- package/dist/chunks/{state-6r5csvev.js → location-activity-3xqxna90.js} +14 -14
- package/dist/chunks/{state-raec4cfz.js → location-activity-41kev6en.js} +12 -12
- package/dist/chunks/{state-hmw7b3xg.js → location-activity-47d03cme.js} +29 -29
- package/dist/chunks/{state-4dgbcxzg.js → location-activity-4dgbcxzg.js} +1 -1
- package/dist/chunks/{state-f9j6kmhz.js → location-activity-4dnstb87.js} +9 -9
- package/dist/chunks/{state-35g6mzst.js → location-activity-4gc7b6vq.js} +15 -15
- package/dist/chunks/location-activity-4v7qdvcn.js +18 -0
- package/dist/chunks/{state-mrx0gnf8.js → location-activity-4xdgprr9.js} +1 -1
- package/dist/chunks/{state-h7vn9w3e.js → location-activity-50w65075.js} +4 -4
- package/dist/chunks/{state-2fgn2we9.js → location-activity-57ez7d0k.js} +9 -9
- package/dist/chunks/{state-rp6tmztm.js → location-activity-58g3z28f.js} +19 -19
- package/dist/chunks/{state-a1bz86dw.js → location-activity-5c4hm403.js} +3 -3
- package/dist/chunks/{state-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
- package/dist/chunks/{state-db0wt107.js → location-activity-5hggf6n1.js} +8 -8
- package/dist/chunks/{state-qtkzm0vp.js → location-activity-5hk4b2g6.js} +8 -8
- package/dist/chunks/{state-qfmkjdkz.js → location-activity-5s2hkj65.js} +15 -15
- package/dist/chunks/{state-33b7aymv.js → location-activity-5sj01k15.js} +87 -87
- package/dist/chunks/{state-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
- package/dist/chunks/{state-cfm6v96c.js → location-activity-5wd4d272.js} +15 -15
- package/dist/chunks/{state-j7gh742f.js → location-activity-5zzxy0ms.js} +6 -6
- package/dist/chunks/{state-1a1r3f73.js → location-activity-6424bnfx.js} +9 -9
- package/dist/chunks/location-activity-64r3bpyt.js +26 -0
- package/dist/chunks/{state-n36sd619.js → location-activity-64yj1h16.js} +47 -47
- package/dist/chunks/{state-9yfa5vrp.js → location-activity-662habgj.js} +22 -22
- package/dist/chunks/{state-669tq793.js → location-activity-669tq793.js} +1 -1
- package/dist/chunks/{state-3shj2rdg.js → location-activity-67j4hdbe.js} +14 -14
- package/dist/chunks/{state-0xdeh7pz.js → location-activity-6858bak6.js} +15 -15
- package/dist/chunks/{state-76dkszc0.js → location-activity-6gg4hhkh.js} +20 -20
- package/dist/chunks/{state-89srvkns.js → location-activity-6hmxf5qy.js} +15 -15
- package/dist/chunks/{state-6msgmcgs.js → location-activity-6msgmcgs.js} +1 -1
- package/dist/chunks/{state-3s08q6xc.js → location-activity-6p102wjn.js} +20 -20
- package/dist/chunks/{state-q2tqwnr3.js → location-activity-74epasaf.js} +25 -25
- package/dist/chunks/{state-67zdakk3.js → location-activity-770gax1y.js} +10 -10
- package/dist/chunks/{state-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-ny5dfp0g.js → location-activity-7ma01p8d.js} +13 -13
- package/dist/chunks/{state-e3pb3krz.js → location-activity-7mhhry16.js} +2 -2
- package/dist/chunks/{state-73mx17hp.js → location-activity-7zaraywf.js} +5 -6
- package/dist/chunks/{state-bbth31rk.js → location-activity-81ejmews.js} +9 -9
- package/dist/chunks/{state-hc2ch4mw.js → location-activity-833nt6ba.js} +5 -5
- package/dist/chunks/{state-kkk4ycsn.js → location-activity-86w8gnaa.js} +32 -40
- package/dist/chunks/location-activity-8a7mdkfk.js +63 -0
- package/dist/chunks/{state-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
- package/dist/chunks/{state-3tsj5f46.js → location-activity-8ktevv00.js} +14 -15
- package/dist/chunks/{state-qbvf5jer.js → location-activity-8qen5wkx.js} +8 -8
- package/dist/chunks/{state-wfzjjtzq.js → location-activity-8tpwn33w.js} +4 -4
- package/dist/chunks/{state-g31yknb9.js → location-activity-8wpj8qe8.js} +5 -5
- package/dist/chunks/{state-yb0s1s95.js → location-activity-93jjj6k7.js} +54 -54
- package/dist/chunks/{state-e3mscyvg.js → location-activity-9h0fm6pv.js} +13 -13
- package/dist/chunks/{state-hk9khx82.js → location-activity-9n5n83y6.js} +13 -13
- package/dist/chunks/{state-324jz7fy.js → location-activity-9nzr847a.js} +4 -4
- package/dist/chunks/{state-29rcqgc7.js → location-activity-9rkj6e7r.js} +82 -82
- package/dist/chunks/{state-xe12cp59.js → location-activity-9s4zsea6.js} +5 -5
- package/dist/chunks/{state-1x75wf9g.js → location-activity-9w4ppqge.js} +5 -5
- package/dist/chunks/{state-s90d8d6b.js → location-activity-9yr2yfq4.js} +6 -6
- package/dist/chunks/{state-0wzb4xv0.js → location-activity-a2spgzjy.js} +11 -11
- package/dist/chunks/{state-tzfrkvh8.js → location-activity-a44jmwh5.js} +18 -18
- package/dist/chunks/{state-qagnz9a5.js → location-activity-a47f8vqp.js} +11 -11
- package/dist/chunks/{state-m8d7rwwq.js → location-activity-a7aqdefk.js} +8 -6
- package/dist/chunks/{state-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
- package/dist/chunks/{state-kp6q4vfw.js → location-activity-aarxr206.js} +37 -37
- package/dist/chunks/{state-3sjz8m0p.js → location-activity-b3mk7fqx.js} +30 -30
- package/dist/chunks/{state-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
- package/dist/chunks/{state-97tba3wc.js → location-activity-bbrq8xb6.js} +35 -35
- package/dist/chunks/{state-an7cqtb7.js → location-activity-bct739vz.js} +4 -4
- package/dist/chunks/{state-e5nv3ght.js → location-activity-bndc73cn.js} +5 -5
- package/dist/chunks/{state-zveeavy8.js → location-activity-bsmy1wga.js} +24 -24
- package/dist/chunks/{state-tc6j6x3q.js → location-activity-btzyv0k5.js} +10 -10
- package/dist/chunks/{state-d09006c3.js → location-activity-bydnjh3t.js} +9 -9
- package/dist/chunks/{state-51wwr1cb.js → location-activity-c37dq7f4.js} +7 -7
- package/dist/chunks/{state-1b89q7zg.js → location-activity-c50p721n.js} +13 -13
- package/dist/chunks/{state-dqmwfghx.js → location-activity-c78bbtc9.js} +5 -5
- package/dist/chunks/{state-ww06kf95.js → location-activity-cb8qsvm8.js} +13 -13
- package/dist/chunks/{state-97pyyzsd.js → location-activity-chs68zjw.js} +11 -11
- package/dist/chunks/{state-n5a5z38x.js → location-activity-cjkdazrq.js} +40 -40
- package/dist/chunks/{state-bqszwq89.js → location-activity-ck0ahkdp.js} +6 -6
- package/dist/chunks/{state-7b15y959.js → location-activity-cmwkp3r5.js} +8 -8
- package/dist/chunks/{state-a8279h33.js → location-activity-cnxzfnnh.js} +17 -17
- package/dist/chunks/{state-bccb6npm.js → location-activity-csf2jhsg.js} +4 -4
- package/dist/chunks/{state-wq4mgxca.js → location-activity-ctn2km86.js} +8 -8
- package/dist/chunks/{state-7qdpe4cb.js → location-activity-d18hzzdd.js} +9 -9
- package/dist/chunks/{state-nk4syya3.js → location-activity-d200zqk3.js} +27 -27
- package/dist/chunks/{state-d3tz2ej1.js → location-activity-d4he2qe1.js} +9 -9
- package/dist/chunks/{state-7zj5q8bn.js → location-activity-d80hd4ax.js} +9 -9
- package/dist/chunks/{state-tk4xefdg.js → location-activity-d8bv2r0j.js} +12 -12
- package/dist/chunks/{state-gz9zg84n.js → location-activity-d8r3vmz6.js} +17 -17
- package/dist/chunks/{state-p57dvf2n.js → location-activity-dg5bcj4q.js} +4 -4
- package/dist/chunks/{state-xw0r27ex.js → location-activity-dhmh7aw6.js} +4 -4
- package/dist/chunks/{state-8xd21chy.js → location-activity-dhwr7h25.js} +8 -8
- package/dist/chunks/{state-8p4f9s12.js → location-activity-dj2t23y0.js} +2 -2
- package/dist/chunks/{state-dpkg50ah.js → location-activity-dpkg50ah.js} +1 -1
- package/dist/chunks/{state-r3g16p04.js → location-activity-dyn4a6re.js} +11 -11
- package/dist/chunks/{state-se4nd5as.js → location-activity-e359ekz1.js} +10 -10
- package/dist/chunks/{state-d2jcwrqj.js → location-activity-e48547de.js} +9 -9
- package/dist/chunks/{state-vqjrrrw6.js → location-activity-e6tp1f32.js} +3 -11
- package/dist/chunks/{state-3jqje4at.js → location-activity-ea8d760j.js} +34 -34
- package/dist/chunks/location-activity-ebpp3bj8.js +500 -0
- package/dist/chunks/{state-jbqb2jwb.js → location-activity-eehws5bb.js} +18 -18
- package/dist/chunks/{state-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-3avsbw2y.js → location-activity-ef6128zr.js} +21 -21
- package/dist/chunks/{state-9jbjfr7m.js → location-activity-ehkt0pf5.js} +21 -9
- package/dist/chunks/{state-h61yhmmq.js → location-activity-ejz7gt9s.js} +16 -16
- package/dist/chunks/{state-ttpn01ps.js → location-activity-et2mx20r.js} +41 -41
- package/dist/chunks/{state-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
- package/dist/chunks/{state-nrs119em.js → location-activity-ewxvpahx.js} +13 -13
- package/dist/chunks/{state-cq37gk0t.js → location-activity-fab8hzt3.js} +4 -4
- package/dist/chunks/{state-r0r5a59z.js → location-activity-fcpfj2f6.js} +26 -18
- package/dist/chunks/{state-5f71spy3.js → location-activity-fgqbyqvh.js} +36 -36
- package/dist/chunks/{state-nc2qx4zy.js → location-activity-fk6x6sf2.js} +30 -30
- package/dist/chunks/{state-19vf66h0.js → location-activity-fm2qvscf.js} +4 -4
- package/dist/chunks/{state-d66s3x2y.js → location-activity-fq1tkef6.js} +8 -8
- package/dist/chunks/{state-sxmda080.js → location-activity-fs9jbr70.js} +3 -3
- package/dist/chunks/{state-py24y5k5.js → location-activity-fvq1ehz2.js} +20 -20
- package/dist/chunks/location-activity-fx7t016x.js +468 -0
- package/dist/chunks/{state-fxbjtjnd.js → location-activity-fxbjtjnd.js} +1 -1
- package/dist/chunks/{state-gzv4yv3q.js → location-activity-fxk3860w.js} +8 -8
- package/dist/chunks/{state-9wb1t077.js → location-activity-g7v47k8t.js} +3 -7
- package/dist/chunks/{state-ymawwaz8.js → location-activity-garm4tc5.js} +4 -4
- package/dist/chunks/{state-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-s16nmm85.js → location-activity-gegytf0k.js} +6 -6
- package/dist/chunks/{state-x6mn7k7a.js → location-activity-gt6bpx3h.js} +26 -26
- package/dist/chunks/{state-gv6a8nnw.js → location-activity-gv6a8nnw.js} +2 -2
- package/dist/chunks/{state-h03wrkyp.js → location-activity-h03wrkyp.js} +2 -2
- package/dist/chunks/{state-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-f828m53h.js → location-activity-hdnk95c8.js} +2 -2
- package/dist/chunks/{state-npkvcn11.js → location-activity-hr32vd4d.js} +10 -10
- package/dist/chunks/{state-bwpeaz3e.js → location-activity-htzvt3ag.js} +24 -24
- package/dist/chunks/{state-r5x6zcsm.js → location-activity-j028xdjb.js} +3 -3
- package/dist/chunks/{state-kytg702f.js → location-activity-j2dwpy9c.js} +11 -11
- package/dist/chunks/{state-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
- package/dist/chunks/{state-c74rwkq8.js → location-activity-j83edvzn.js} +20 -20
- package/dist/chunks/{state-kthsafvd.js → location-activity-jcvbpxrt.js} +6 -6
- package/dist/chunks/{state-v55354wq.js → location-activity-jjkms2e6.js} +1 -8
- package/dist/chunks/{state-tqwj4vg0.js → location-activity-jnvn036s.js} +27 -27
- package/dist/chunks/{state-t1pxv65t.js → location-activity-jsbxrgzy.js} +3 -3
- package/dist/chunks/{state-hkckt1bw.js → location-activity-jxt4v063.js} +11 -11
- package/dist/chunks/{state-pv445f03.js → location-activity-k61ay397.js} +27 -27
- package/dist/chunks/{state-qqjwcvaq.js → location-activity-k8mgps65.js} +20 -23
- package/dist/chunks/{state-64xmj3r0.js → location-activity-kdc6jnyv.js} +30 -30
- package/dist/chunks/{state-fd7qd9sy.js → location-activity-kkes6p7k.js} +15 -15
- package/dist/chunks/{state-a1jea0jw.js → location-activity-kn5tvdzd.js} +29 -29
- package/dist/chunks/{state-cfpkc3c9.js → location-activity-m0jqrx5p.js} +2 -2
- package/dist/chunks/{state-2bt6bea8.js → location-activity-m2d0j7c0.js} +9 -9
- package/dist/chunks/{state-2e147z16.js → location-activity-m45spv6b.js} +7 -52
- package/dist/chunks/{state-q34edmb6.js → location-activity-m7zgyvpn.js} +13 -13
- package/dist/chunks/{state-krmc1sjp.js → location-activity-m8sp6mz4.js} +4 -4
- package/dist/chunks/{state-q0dhpvqs.js → location-activity-m99v3cc8.js} +18 -18
- package/dist/chunks/{state-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-2a1p01cj.js → location-activity-mbs5e5av.js} +49 -49
- package/dist/chunks/{state-75p5n5ps.js → location-activity-mcdtcrmv.js} +22 -22
- package/dist/chunks/{state-56gdpj1q.js → location-activity-mfqp6xfm.js} +6 -6
- package/dist/chunks/location-activity-mfssdfvv.js +609 -0
- package/dist/chunks/{state-w21hr1ag.js → location-activity-mhgmrhvx.js} +9 -9
- package/dist/chunks/{state-n1t3wdzz.js → location-activity-mtfnb8p4.js} +8 -8
- package/dist/chunks/{state-yt0fqk68.js → location-activity-mtft99cd.js} +5 -5
- package/dist/chunks/{state-t7kxrzfv.js → location-activity-mx7bb7hv.js} +11 -11
- package/dist/chunks/{state-f5cp0sk0.js → location-activity-n60bb144.js} +7 -7
- package/dist/chunks/location-activity-n73vg02w.js +251 -0
- package/dist/chunks/{state-rn2343kj.js → location-activity-nh0rq1at.js} +61 -61
- package/dist/chunks/{state-e82z9tr0.js → location-activity-nhy5jxhy.js} +7 -7
- package/dist/chunks/{state-nng2ktcm.js → location-activity-nng2ktcm.js} +2 -2
- package/dist/chunks/{state-3w05p07m.js → location-activity-nrv5pzdz.js} +16 -16
- package/dist/chunks/{state-zmhc1ceh.js → location-activity-p1epjeyw.js} +4 -4
- package/dist/chunks/{state-fc7zbc5p.js → location-activity-p4cmyzqs.js} +8 -8
- package/dist/chunks/{state-3zevfmxv.js → location-activity-p9wvsgef.js} +1 -1
- package/dist/chunks/{state-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{state-0faq74rz.js → location-activity-qapjpsgn.js} +11 -11
- package/dist/chunks/{state-d3yf3xs0.js → location-activity-qc2dn5sv.js} +35 -35
- package/dist/chunks/{state-r402hwa6.js → location-activity-qg3g05ea.js} +1 -8
- package/dist/chunks/{state-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
- package/dist/chunks/{state-8pj4s1sz.js → location-activity-qt2yfpa3.js} +10 -10
- package/dist/chunks/{state-r9mregkx.js → location-activity-r9mregkx.js} +2 -2
- package/dist/chunks/{state-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
- package/dist/chunks/{state-xwm0ajsd.js → location-activity-rh3fxfj6.js} +3 -3
- package/dist/chunks/{state-rhjbct0v.js → location-activity-rhjbct0v.js} +1 -1
- package/dist/chunks/{state-35agz59w.js → location-activity-rph3zd4r.js} +4 -4
- package/dist/chunks/{state-6mp5kyz7.js → location-activity-rrzkscs6.js} +135 -135
- package/dist/chunks/{state-7bqgghcm.js → location-activity-s2b0pbwn.js} +37 -37
- package/dist/chunks/{state-s4enseaf.js → location-activity-s4enseaf.js} +2 -2
- package/dist/chunks/{state-ezc4vqg9.js → location-activity-s86c7pyr.js} +16 -16
- package/dist/chunks/{state-j4w3v36h.js → location-activity-sbkgsf4g.js} +15 -15
- package/dist/chunks/{state-3te25qqc.js → location-activity-sbqg3kz8.js} +54 -331
- package/dist/chunks/{state-3jwvk6df.js → location-activity-sc5vqhje.js} +11 -11
- package/dist/chunks/{state-2texzmrd.js → location-activity-skq13fc4.js} +24 -24
- package/dist/chunks/{state-sb225ygc.js → location-activity-svjhcw9a.js} +18 -18
- package/dist/chunks/{state-3sr08wap.js → location-activity-t3hjw8gy.js} +6 -6
- package/dist/chunks/{state-sw33f489.js → location-activity-t6gjch8v.js} +9 -9
- package/dist/chunks/{state-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
- package/dist/chunks/{state-sb6d7jsa.js → location-activity-td10rya3.js} +13 -13
- package/dist/chunks/{state-tdstcens.js → location-activity-tdstcens.js} +1 -1
- package/dist/chunks/{state-dd3vv6mw.js → location-activity-tfw1q3xt.js} +20 -20
- package/dist/chunks/{state-txxgpxvq.js → location-activity-tk20ndtt.js} +3 -3
- package/dist/chunks/{state-ryt7pzqc.js → location-activity-ts2x07a1.js} +1 -1
- package/dist/chunks/{state-kkvmk5mz.js → location-activity-tsvd8swj.js} +10 -10
- package/dist/chunks/{state-kxfmahn5.js → location-activity-tv502m7y.js} +20 -20
- package/dist/chunks/{state-tvtrv512.js → location-activity-tvtrv512.js} +1 -1
- package/dist/chunks/{state-agndh9mm.js → location-activity-twym31zm.js} +3 -3
- package/dist/chunks/{state-bjmdedkt.js → location-activity-v1q7vfww.js} +6 -6
- package/dist/chunks/{state-m4hmv5tv.js → location-activity-v2rse8td.js} +30 -30
- package/dist/chunks/{state-qhptap2d.js → location-activity-v8wfqh48.js} +14 -14
- package/dist/chunks/{state-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{state-qte5z7bc.js → location-activity-vmq7ehpy.js} +5 -5
- package/dist/chunks/{state-dfem2sdx.js → location-activity-vnqs2v2n.js} +2 -2
- package/dist/chunks/{state-t4c6n1n4.js → location-activity-vqhy7mcb.js} +9 -9
- package/dist/chunks/{state-c20khjev.js → location-activity-vsp1fds9.js} +4 -4
- package/dist/chunks/{state-9je39wvw.js → location-activity-vvwshk7d.js} +43 -43
- package/dist/chunks/{state-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
- package/dist/chunks/{state-bajjbck4.js → location-activity-w3mhw6sa.js} +27 -27
- package/dist/chunks/{state-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-wwr4cs06.js → location-activity-wc3cewcr.js} +11 -11
- package/dist/chunks/{state-xnvr041a.js → location-activity-wc3fc9cn.js} +1 -6
- package/dist/chunks/{state-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{state-d2y84238.js → location-activity-wnw4ypwe.js} +23 -23
- package/dist/chunks/{state-dfst6sb1.js → location-activity-wpea5dn8.js} +17 -17
- package/dist/chunks/{state-78b8w714.js → location-activity-ws7pr2ad.js} +24 -24
- package/dist/chunks/{state-xg3fmavg.js → location-activity-wt24dnah.js} +9 -9
- package/dist/chunks/{state-571v8kyd.js → location-activity-wtyjep1k.js} +32 -32
- package/dist/chunks/{state-wq66yabw.js → location-activity-wv4jkh9x.js} +44 -44
- package/dist/chunks/{state-n91phzgs.js → location-activity-wzast1kb.js} +13 -13
- package/dist/chunks/{state-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
- package/dist/chunks/{state-10q2fftm.js → location-activity-x6df8716.js} +8 -8
- package/dist/chunks/{state-1p637tnt.js → location-activity-xjty5wr6.js} +18 -18
- package/dist/chunks/{state-azcr6ymc.js → location-activity-xzz44w32.js} +20 -20
- package/dist/chunks/{state-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-8zrm0029.js → location-activity-y3hwqzcx.js} +29 -29
- package/dist/chunks/{state-xcmejnqk.js → location-activity-y4gdvsem.js} +8 -8
- package/dist/chunks/{state-097xh0r3.js → location-activity-yf74hprm.js} +32 -32
- package/dist/chunks/{state-mw934p8z.js → location-activity-yg6nt6v4.js} +8 -8
- package/dist/chunks/{state-29wq7zbx.js → location-activity-yk587snj.js} +15 -15
- package/dist/chunks/{state-cw6ezj50.js → location-activity-yppxx2jj.js} +24 -24
- package/dist/chunks/{state-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
- package/dist/chunks/{state-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-j7q006w5.js → location-activity-z7m0yey7.js} +14 -14
- package/dist/chunks/{state-zeh9ct20.js → location-activity-zeh9ct20.js} +2 -2
- package/dist/chunks/{state-fm5c3zy8.js → location-activity-zezwqwg8.js} +16 -16
- package/dist/chunks/{state-28kcw9hr.js → location-activity-zfj2pyyt.js} +34 -45
- package/dist/chunks/{state-j4265jp1.js → location-activity-zfpnhvxy.js} +41 -41
- package/dist/chunks/{state-68na6ghx.js → location-activity-zmxnz357.js} +11 -11
- package/dist/chunks/{state-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
- package/dist/chunks/{state-sy64ktx8.js → location-activity-zyb93ydj.js} +2 -2
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +210 -211
- package/dist/config/plugin/compaction.js +158 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -121
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +105 -105
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- 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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -132
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +350 -353
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -98
- package/dist/model.js +93 -93
- package/dist/models-dev.js +106 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +75 -75
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -94
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -89
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -89
- package/dist/plugin/provider/llmgateway.js +76 -89
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -89
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -89
- package/dist/plugin/provider.js +157 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -346
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +92 -92
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -129
- package/dist/session/context.js +150 -151
- package/dist/session/diff.js +87 -87
- 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 +219 -220
- package/dist/session/execution.js +125 -126
- package/dist/session/generate.js +151 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -130
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -114
- package/dist/session/runner/step.js +124 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +169 -170
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +154 -155
- package/dist/session/to-session-error.js +110 -111
- package/dist/session/transfer.js +213 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -215
- 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 +7 -7
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +123 -123
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +215 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +217 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/aisdk-native.d.ts +21 -13
- package/dist/types/mime.d.ts +1 -1
- package/dist/types/variant.d.ts +14 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +97 -0
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +342 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +95 -95
- package/package.json +9 -15
- package/dist/chunks/state-2118r6de.js +0 -26
- package/dist/chunks/state-5edc1x4t.js +0 -472
- package/dist/chunks/state-5r663aq2.js +0 -251
- package/dist/chunks/state-71n3th9c.js +0 -53
- package/dist/chunks/state-71q4at8m.js +0 -15
- package/dist/chunks/state-gyce5qg1.js +0 -18
- package/dist/chunks/state-h47he10w.js +0 -4
- package/dist/chunks/state-hrnqkpcd.js +0 -20
- package/dist/chunks/state-ph0fbfq2.js +0 -170
- package/dist/chunks/state-t8esaq1p.js +0 -118
- package/dist/chunks/state-vzy7bsbz.js +0 -331
- package/dist/plugin/provider/alibaba.js +0 -7
- package/dist/plugin/provider/openai-compatible.js +0 -6
- package/dist/plugin/variant.js +0 -98
- package/dist/types/plugin/provider/alibaba.d.ts +0 -1
- package/dist/types/plugin/provider/openai-compatible.d.ts +0 -1
- package/dist/types/plugin/variant.d.ts +0 -10
- /package/dist/chunks/{state-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-7w99qc9d.js → location-activity-7w99qc9d.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-922hggd3.js → location-activity-922hggd3.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e3qxr5gk.js → location-activity-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-twg0f83k.js → location-activity-twg0f83k.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./location-activity-z7m0yey7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make7
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make7 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service63;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make7, LoadError2, exports_module };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info22,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info22 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info22, exports_mcp5 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-p1epjeyw.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event20
|
|
7
|
+
} from "./location-activity-0fd7a9tf.js";
|
|
8
8
|
import {
|
|
9
9
|
ID13,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-cnxzfnnh.js";
|
|
12
12
|
import {
|
|
13
13
|
ID12,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-activity-mfssdfvv.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID5,
|
|
19
|
+
Input14,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-activity-74epasaf.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID5
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -241,7 +241,7 @@ var OpencodePlugin2 = define({
|
|
|
241
241
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
242
242
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
243
243
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
244
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
244
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
245
245
|
query: input.query,
|
|
246
246
|
providerID: descriptor.providerID
|
|
247
247
|
}));
|
|
@@ -262,7 +262,7 @@ var OpencodePlugin2 = define({
|
|
|
262
262
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
263
263
|
});
|
|
264
264
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
265
|
-
yield* bus.subscribe(
|
|
265
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
266
266
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
267
267
|
})
|
|
268
268
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service62
|
|
4
|
+
} from "./location-activity-qc2dn5sv.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin28,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin28 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service62;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -93,4 +93,4 @@ var Plugin42 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin28, exports_warming };
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
import {
|
|
2
|
+
node61
|
|
3
|
+
} from "./location-activity-kkes6p7k.js";
|
|
4
|
+
import {
|
|
5
|
+
node77
|
|
6
|
+
} from "./location-activity-wnw4ypwe.js";
|
|
7
|
+
import {
|
|
8
|
+
node76
|
|
9
|
+
} from "./location-activity-cnxzfnnh.js";
|
|
10
|
+
import {
|
|
11
|
+
node82,
|
|
12
|
+
boundNode2
|
|
13
|
+
} from "./location-activity-s86c7pyr.js";
|
|
14
|
+
import {
|
|
15
|
+
node75
|
|
16
|
+
} from "./location-activity-mfssdfvv.js";
|
|
17
|
+
import {
|
|
18
|
+
node57
|
|
19
|
+
} from "./location-activity-0kjyq0mv.js";
|
|
20
|
+
import {
|
|
21
|
+
node74
|
|
22
|
+
} from "./location-activity-fcpfj2f6.js";
|
|
23
|
+
import {
|
|
24
|
+
node37
|
|
25
|
+
} from "./location-activity-ef6128zr.js";
|
|
26
|
+
import {
|
|
27
|
+
configured8,
|
|
28
|
+
node66
|
|
29
|
+
} from "./location-activity-qc2dn5sv.js";
|
|
30
|
+
import {
|
|
31
|
+
node68
|
|
32
|
+
} from "./location-activity-yppxx2jj.js";
|
|
33
|
+
import {
|
|
34
|
+
node19
|
|
35
|
+
} from "./location-activity-9n5n83y6.js";
|
|
36
|
+
import {
|
|
37
|
+
node48
|
|
38
|
+
} from "./location-activity-4gc7b6vq.js";
|
|
39
|
+
import {
|
|
40
|
+
node21
|
|
41
|
+
} from "./location-activity-fk6x6sf2.js";
|
|
42
|
+
import {
|
|
43
|
+
node20
|
|
44
|
+
} from "./location-activity-kdc6jnyv.js";
|
|
45
|
+
import {
|
|
46
|
+
node56
|
|
47
|
+
} from "./location-activity-zfj2pyyt.js";
|
|
48
|
+
import {
|
|
49
|
+
node45
|
|
50
|
+
} from "./location-activity-662habgj.js";
|
|
51
|
+
import {
|
|
52
|
+
node47
|
|
53
|
+
} from "./location-activity-d18hzzdd.js";
|
|
54
|
+
import {
|
|
55
|
+
node36
|
|
56
|
+
} from "./location-activity-mbs5e5av.js";
|
|
57
|
+
import {
|
|
58
|
+
Service48,
|
|
59
|
+
node52
|
|
60
|
+
} from "./location-activity-9yr2yfq4.js";
|
|
61
|
+
import {
|
|
62
|
+
node33
|
|
63
|
+
} from "./location-activity-wzast1kb.js";
|
|
64
|
+
import {
|
|
65
|
+
node73
|
|
66
|
+
} from "./location-activity-1mkrhngc.js";
|
|
67
|
+
import {
|
|
68
|
+
node58
|
|
69
|
+
} from "./location-activity-cjkdazrq.js";
|
|
70
|
+
import {
|
|
71
|
+
node51
|
|
72
|
+
} from "./location-activity-9h0fm6pv.js";
|
|
73
|
+
import {
|
|
74
|
+
configured7,
|
|
75
|
+
node62
|
|
76
|
+
} from "./location-activity-mcdtcrmv.js";
|
|
77
|
+
import {
|
|
78
|
+
node26
|
|
79
|
+
} from "./location-activity-cb8qsvm8.js";
|
|
80
|
+
import {
|
|
81
|
+
node46
|
|
82
|
+
} from "./location-activity-1mnqxrzq.js";
|
|
83
|
+
import {
|
|
84
|
+
node35
|
|
85
|
+
} from "./location-activity-htzvt3ag.js";
|
|
86
|
+
import {
|
|
87
|
+
node38
|
|
88
|
+
} from "./location-activity-2pkx220b.js";
|
|
89
|
+
import {
|
|
90
|
+
node28
|
|
91
|
+
} from "./location-activity-7ma01p8d.js";
|
|
92
|
+
import {
|
|
93
|
+
node44
|
|
94
|
+
} from "./location-activity-bsmy1wga.js";
|
|
95
|
+
import {
|
|
96
|
+
node27
|
|
97
|
+
} from "./location-activity-5s2hkj65.js";
|
|
98
|
+
import {
|
|
99
|
+
node25
|
|
100
|
+
} from "./location-activity-9rkj6e7r.js";
|
|
101
|
+
import {
|
|
102
|
+
node80
|
|
103
|
+
} from "./location-activity-yf74hprm.js";
|
|
104
|
+
import {
|
|
105
|
+
node71
|
|
106
|
+
} from "./location-activity-sc5vqhje.js";
|
|
107
|
+
import {
|
|
108
|
+
node65
|
|
109
|
+
} from "./location-activity-d8bv2r0j.js";
|
|
110
|
+
import {
|
|
111
|
+
node63
|
|
112
|
+
} from "./location-activity-05qdzf61.js";
|
|
113
|
+
import {
|
|
114
|
+
node39
|
|
115
|
+
} from "./location-activity-5wd4d272.js";
|
|
116
|
+
import {
|
|
117
|
+
node81
|
|
118
|
+
} from "./location-activity-tfw1q3xt.js";
|
|
119
|
+
import {
|
|
120
|
+
node49
|
|
121
|
+
} from "./location-activity-74epasaf.js";
|
|
122
|
+
import {
|
|
123
|
+
node42
|
|
124
|
+
} from "./location-activity-s2b0pbwn.js";
|
|
125
|
+
import {
|
|
126
|
+
node23
|
|
127
|
+
} from "./location-activity-tv502m7y.js";
|
|
128
|
+
import {
|
|
129
|
+
node2
|
|
130
|
+
} from "./location-activity-b3mk7fqx.js";
|
|
131
|
+
import {
|
|
132
|
+
node16
|
|
133
|
+
} from "./location-activity-eehws5bb.js";
|
|
134
|
+
import {
|
|
135
|
+
node7,
|
|
136
|
+
bound2
|
|
137
|
+
} from "./location-activity-cmwkp3r5.js";
|
|
138
|
+
import {
|
|
139
|
+
node13
|
|
140
|
+
} from "./location-activity-a44jmwh5.js";
|
|
141
|
+
import {
|
|
142
|
+
node14
|
|
143
|
+
} from "./location-activity-58g3z28f.js";
|
|
144
|
+
import {
|
|
145
|
+
node11
|
|
146
|
+
} from "./location-activity-ejz7gt9s.js";
|
|
147
|
+
import {
|
|
148
|
+
node4
|
|
149
|
+
} from "./location-activity-zfpnhvxy.js";
|
|
150
|
+
import {
|
|
151
|
+
node3
|
|
152
|
+
} from "./location-activity-6p102wjn.js";
|
|
153
|
+
import {
|
|
154
|
+
node17
|
|
155
|
+
} from "./location-activity-ea8d760j.js";
|
|
156
|
+
import {
|
|
157
|
+
node15
|
|
158
|
+
} from "./location-activity-gt6bpx3h.js";
|
|
159
|
+
import {
|
|
160
|
+
node12
|
|
161
|
+
} from "./location-activity-nh0rq1at.js";
|
|
162
|
+
import {
|
|
163
|
+
__export
|
|
164
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
165
|
+
|
|
166
|
+
// src/instance.ts
|
|
167
|
+
var exports_instance = {};
|
|
168
|
+
__export(exports_instance, {
|
|
169
|
+
Instance: () => exports_instance,
|
|
170
|
+
Service: () => Service48,
|
|
171
|
+
graph: () => graph2,
|
|
172
|
+
layer: () => layer2,
|
|
173
|
+
node: () => node52
|
|
174
|
+
});
|
|
175
|
+
import { Effect, Layer } from "effect";
|
|
176
|
+
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
177
|
+
import { Node } from "@opencode/util/effect/app-node";
|
|
178
|
+
var nodes = [
|
|
179
|
+
node82,
|
|
180
|
+
node68,
|
|
181
|
+
node66,
|
|
182
|
+
node61,
|
|
183
|
+
node37,
|
|
184
|
+
node38,
|
|
185
|
+
node39,
|
|
186
|
+
node49,
|
|
187
|
+
node76,
|
|
188
|
+
node75,
|
|
189
|
+
node74,
|
|
190
|
+
node56,
|
|
191
|
+
node57,
|
|
192
|
+
node23,
|
|
193
|
+
node73,
|
|
194
|
+
node7,
|
|
195
|
+
node4,
|
|
196
|
+
node3,
|
|
197
|
+
node42,
|
|
198
|
+
node21,
|
|
199
|
+
node20,
|
|
200
|
+
node71,
|
|
201
|
+
node17,
|
|
202
|
+
node63,
|
|
203
|
+
node44,
|
|
204
|
+
node26,
|
|
205
|
+
node62,
|
|
206
|
+
node16,
|
|
207
|
+
node19,
|
|
208
|
+
node48,
|
|
209
|
+
node36,
|
|
210
|
+
node58,
|
|
211
|
+
node46,
|
|
212
|
+
node65,
|
|
213
|
+
node47,
|
|
214
|
+
node27,
|
|
215
|
+
node28,
|
|
216
|
+
node33,
|
|
217
|
+
node77,
|
|
218
|
+
node45,
|
|
219
|
+
node11,
|
|
220
|
+
node35,
|
|
221
|
+
node14,
|
|
222
|
+
node51,
|
|
223
|
+
node13,
|
|
224
|
+
node15,
|
|
225
|
+
node25,
|
|
226
|
+
node80,
|
|
227
|
+
node12,
|
|
228
|
+
node81,
|
|
229
|
+
node2
|
|
230
|
+
];
|
|
231
|
+
var graph2 = LayerNode.group(nodes);
|
|
232
|
+
var vanillaReplacements = [
|
|
233
|
+
node66.replace(configured8({ project: false, global: false })),
|
|
234
|
+
node62.replace(configured7({ project: false, global: false }))
|
|
235
|
+
];
|
|
236
|
+
function layer2(ref, options = {}) {
|
|
237
|
+
const startedAt = performance.now();
|
|
238
|
+
const replacements = [
|
|
239
|
+
...options.discovery === false ? vanillaReplacements : [],
|
|
240
|
+
...options.replacements ?? [],
|
|
241
|
+
node82.replace(boundNode2(ref, { discovery: options.discovery })),
|
|
242
|
+
node7.replace(bound2(options.plugins ?? []))
|
|
243
|
+
];
|
|
244
|
+
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
|
|
245
|
+
directory: ref.directory,
|
|
246
|
+
workspaceID: ref.workspaceID,
|
|
247
|
+
durationMs: Math.round(performance.now() - startedAt)
|
|
248
|
+
})));
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export { graph2, layer2, exports_instance };
|
|
@@ -1,116 +1,116 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-fs9jbr70.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-p1epjeyw.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionMessageTable2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-5c4hm403.js";
|
|
15
15
|
import {
|
|
16
16
|
prepare4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-activity-fab8hzt3.js";
|
|
18
18
|
import {
|
|
19
19
|
llmClient2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-5t3nmthw.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessage2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-gftt206x.js";
|
|
24
24
|
import {
|
|
25
25
|
StepFailedError2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-v1q7vfww.js";
|
|
27
27
|
import {
|
|
28
28
|
provenance2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-activity-csf2jhsg.js";
|
|
30
30
|
import {
|
|
31
31
|
decodeMessageRow2,
|
|
32
32
|
preview2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-activity-fq1tkef6.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
Service56,
|
|
36
|
+
node60
|
|
37
|
+
} from "./location-activity-67j4hdbe.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
39
|
+
Service26,
|
|
40
|
+
node30
|
|
41
|
+
} from "./location-activity-jxt4v063.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./location-activity-v2rse8td.js";
|
|
45
45
|
import {
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
make9
|
|
47
|
+
} from "./location-activity-5zzxy0ms.js";
|
|
48
48
|
import {
|
|
49
49
|
Service10,
|
|
50
50
|
node13
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./location-activity-a44jmwh5.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service21,
|
|
54
|
+
node25
|
|
55
|
+
} from "./location-activity-9rkj6e7r.js";
|
|
56
56
|
import {
|
|
57
57
|
serialized2,
|
|
58
58
|
nextPromotable2,
|
|
59
59
|
promote2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./location-activity-j83edvzn.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
62
|
+
Service12,
|
|
63
63
|
isUntitled2,
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
64
|
+
node15
|
|
65
|
+
} from "./location-activity-gt6bpx3h.js";
|
|
66
66
|
import {
|
|
67
67
|
DrainResult2,
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
68
|
+
Service46
|
|
69
|
+
} from "./location-activity-dhmh7aw6.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
71
|
+
node80
|
|
72
|
+
} from "./location-activity-yf74hprm.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
74
|
+
node65
|
|
75
|
+
} from "./location-activity-d8bv2r0j.js";
|
|
76
76
|
import {
|
|
77
77
|
Outcome2,
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
78
|
+
make8
|
|
79
|
+
} from "./location-activity-m99v3cc8.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./
|
|
81
|
+
Service29
|
|
82
|
+
} from "./location-activity-4v7qdvcn.js";
|
|
83
83
|
import {
|
|
84
|
-
|
|
85
|
-
} from "./
|
|
84
|
+
node23
|
|
85
|
+
} from "./location-activity-tv502m7y.js";
|
|
86
86
|
import {
|
|
87
87
|
MAX_STEPS_PROMPT2
|
|
88
|
-
} from "./
|
|
88
|
+
} from "./location-activity-y44na4kk.js";
|
|
89
89
|
import {
|
|
90
90
|
__export
|
|
91
|
-
} from "./
|
|
91
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
92
92
|
|
|
93
93
|
// src/session/runner/llm.ts
|
|
94
94
|
var exports_llm = {};
|
|
95
95
|
__export(exports_llm, {
|
|
96
96
|
SessionRunnerLLM: () => exports_llm,
|
|
97
|
-
node: () =>
|
|
97
|
+
node: () => node12
|
|
98
98
|
});
|
|
99
99
|
import { Message } from "@opencode/ai";
|
|
100
100
|
import { and, desc, eq, sql } from "drizzle-orm";
|
|
101
101
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
102
102
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
103
103
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
105
105
|
const bus = yield* Service80;
|
|
106
|
-
const store = yield*
|
|
107
|
-
const context = yield*
|
|
108
|
-
const modelTransport = yield*
|
|
106
|
+
const store = yield* Service56;
|
|
107
|
+
const context = yield* Service21;
|
|
108
|
+
const modelTransport = yield* Service26;
|
|
109
109
|
const db = (yield* Service81).db;
|
|
110
110
|
const compaction = yield* Service10;
|
|
111
|
-
const plugins = yield*
|
|
112
|
-
const title = yield*
|
|
113
|
-
const steps = yield*
|
|
111
|
+
const plugins = yield* Service29;
|
|
112
|
+
const title = yield* Service12;
|
|
113
|
+
const steps = yield* make8;
|
|
114
114
|
const titles = yield* FiberMap.make();
|
|
115
115
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
116
116
|
const sessionID = input.sessionID;
|
|
@@ -231,7 +231,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
231
231
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
232
232
|
const sessionID = first.session.id;
|
|
233
233
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
234
|
-
const retry = yield*
|
|
234
|
+
const retry = yield* make9(bus, sessionID);
|
|
235
235
|
let initial = first;
|
|
236
236
|
let recoverOverflow = true;
|
|
237
237
|
let recoverContinuation = true;
|
|
@@ -351,24 +351,24 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
});
|
|
354
|
-
return
|
|
354
|
+
return Service46.of({ drain });
|
|
355
355
|
}));
|
|
356
|
-
var
|
|
357
|
-
service:
|
|
356
|
+
var node12 = makeLocationNode({
|
|
357
|
+
service: Service46,
|
|
358
358
|
layer,
|
|
359
359
|
deps: [
|
|
360
360
|
node85,
|
|
361
361
|
llmClient2,
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
362
|
+
node25,
|
|
363
|
+
node30,
|
|
364
|
+
node60,
|
|
365
365
|
node13,
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
366
|
+
node23,
|
|
367
|
+
node15,
|
|
368
|
+
node80,
|
|
369
|
+
node65,
|
|
370
370
|
node86
|
|
371
371
|
]
|
|
372
372
|
});
|
|
373
373
|
|
|
374
|
-
export {
|
|
374
|
+
export { node12, exports_llm };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make14,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make14(tools) {
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make14, render3, exports_system_prompt };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-7w99qc9d.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|