@opencode/core 0.0.0-dev-20437 → 0.0.0-dev-20438
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{filesystem-2yn03772.js → location-activity-013kkmhx.js} +32 -32
- package/dist/chunks/{filesystem-cz58kz68.js → location-activity-0ccsqmrt.js} +6 -6
- package/dist/chunks/{filesystem-sjrg0510.js → location-activity-0p53prm6.js} +48 -48
- package/dist/chunks/{filesystem-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-skzznzbs.js → location-activity-0tv3788e.js} +13 -13
- package/dist/chunks/{filesystem-0vbcp93d.js → location-activity-0vbcp93d.js} +2 -2
- package/dist/chunks/{filesystem-40n4jky6.js → location-activity-0ym7r8mw.js} +1 -1
- package/dist/chunks/{filesystem-cd88demr.js → location-activity-0zyth360.js} +32 -32
- package/dist/chunks/{filesystem-eyf4e8bx.js → location-activity-12s86yt8.js} +24 -24
- package/dist/chunks/{filesystem-6mnjs94f.js → location-activity-13x5be7d.js} +4 -4
- package/dist/chunks/{filesystem-bxthwjhd.js → location-activity-168rayw8.js} +32 -32
- package/dist/chunks/{filesystem-fybjktbt.js → location-activity-1bvbmmvc.js} +3 -3
- package/dist/chunks/{filesystem-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-ey93rq2c.js → location-activity-1dmjvyat.js} +21 -21
- package/dist/chunks/{filesystem-1dvck2a7.js → location-activity-1dvck2a7.js} +2 -2
- package/dist/chunks/{filesystem-72373yy7.js → location-activity-1sp0f250.js} +17 -17
- package/dist/chunks/{filesystem-ttjpp0qf.js → location-activity-20ae1her.js} +50 -50
- package/dist/chunks/{filesystem-21r38tys.js → location-activity-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-n335nty0.js → location-activity-23wv2yv2.js} +36 -36
- package/dist/chunks/{filesystem-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-9b186pma.js → location-activity-2vxn4jvt.js} +16 -16
- package/dist/chunks/{filesystem-xv03hvvc.js → location-activity-387akm7g.js} +31 -31
- package/dist/chunks/{filesystem-fpq5n6b2.js → location-activity-3ayksf6x.js} +19 -19
- package/dist/chunks/{filesystem-j1qc8r1v.js → location-activity-3brme500.js} +23 -23
- package/dist/chunks/{filesystem-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-x1c2mckn.js → location-activity-3warsx0r.js} +15 -15
- package/dist/chunks/{filesystem-r1x1110x.js → location-activity-3wdmthx5.js} +28 -28
- package/dist/chunks/{filesystem-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-a4ae1mqs.js → location-activity-427t97hr.js} +1 -1
- package/dist/chunks/{filesystem-bzs6kdmy.js → location-activity-461wd1d0.js} +20 -20
- package/dist/chunks/{filesystem-ygdna4kr.js → location-activity-47jkzegy.js} +5 -5
- package/dist/chunks/{filesystem-s5met55r.js → location-activity-4a0nv7mx.js} +8 -8
- package/dist/chunks/{filesystem-3v5tjer0.js → location-activity-4ace32q9.js} +9 -9
- package/dist/chunks/{filesystem-7yz2xr1t.js → location-activity-4ag28tvb.js} +42 -42
- package/dist/chunks/{filesystem-zfa7ynd8.js → location-activity-4cvdhpp6.js} +11 -11
- package/dist/chunks/{filesystem-hp3qwkn2.js → location-activity-4d9g26n8.js} +9 -9
- package/dist/chunks/{filesystem-csehsh8k.js → location-activity-4g9sn0hd.js} +9 -9
- package/dist/chunks/{filesystem-r1ha4sdk.js → location-activity-4q8c29wx.js} +24 -24
- package/dist/chunks/{filesystem-jth1hnpz.js → location-activity-4t8sa2h8.js} +25 -25
- package/dist/chunks/{filesystem-4ts7tf6z.js → location-activity-4ts7tf6z.js} +2 -2
- package/dist/chunks/{filesystem-gf8xtkbh.js → location-activity-4xgypxew.js} +11 -11
- package/dist/chunks/{filesystem-e2tkn9w7.js → location-activity-4xkavr62.js} +1 -1
- package/dist/chunks/{filesystem-77bwnxcq.js → location-activity-51n75hm5.js} +27 -27
- package/dist/chunks/{filesystem-rrpq0de9.js → location-activity-52qcnbw8.js} +12 -12
- package/dist/chunks/{filesystem-54ma36ye.js → location-activity-54ma36ye.js} +1 -1
- package/dist/chunks/{filesystem-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
- package/dist/chunks/location-activity-5jmm9x8c.js +252 -0
- package/dist/chunks/{filesystem-03qp45f7.js → location-activity-5jrbfcyk.js} +7 -7
- package/dist/chunks/{filesystem-2117cf5j.js → location-activity-5n55knm9.js} +16 -16
- package/dist/chunks/{filesystem-ze807gy0.js → location-activity-5pf9ep4a.js} +9 -9
- package/dist/chunks/{filesystem-2y34zzjz.js → location-activity-5qkxfyep.js} +4 -4
- package/dist/chunks/{filesystem-czy4wnbd.js → location-activity-5s60bk36.js} +4 -4
- package/dist/chunks/{filesystem-vt2nsqzf.js → location-activity-5shqexee.js} +9 -9
- package/dist/chunks/{filesystem-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-jx72pgsy.js → location-activity-5x2srj5g.js} +24 -24
- package/dist/chunks/{filesystem-v12tw1kt.js → location-activity-5z79hspz.js} +15 -15
- package/dist/chunks/{filesystem-mgm2328f.js → location-activity-5znh4mes.js} +10 -10
- package/dist/chunks/{filesystem-669tq793.js → location-activity-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-8x85r25d.js → location-activity-6hs7gpy0.js} +16 -16
- package/dist/chunks/{filesystem-xdrba4jw.js → location-activity-6n4b0dsb.js} +9 -9
- package/dist/chunks/{filesystem-3ykdjwsk.js → location-activity-70z78qrv.js} +8 -8
- package/dist/chunks/{filesystem-71az546q.js → location-activity-71az546q.js} +2 -2
- package/dist/chunks/{filesystem-1sprwmy8.js → location-activity-71p0rrcv.js} +2 -2
- package/dist/chunks/{filesystem-18x8m27a.js → location-activity-74m0mdts.js} +44 -21
- package/dist/chunks/{filesystem-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-gedjwras.js → location-activity-7dfvnasr.js} +15 -15
- package/dist/chunks/{filesystem-0jwsre1p.js → location-activity-7dqw4kz8.js} +5 -5
- package/dist/chunks/{filesystem-vjnb44yt.js → location-activity-7w99qc9d.js} +3 -3
- package/dist/chunks/{filesystem-wq913sbs.js → location-activity-7x41vzpg.js} +16 -16
- package/dist/chunks/{filesystem-v9m3g1t2.js → location-activity-7xgtyd0c.js} +8 -8
- package/dist/chunks/{filesystem-rcf4x2xx.js → location-activity-7z64gv7w.js} +15 -15
- package/dist/chunks/{filesystem-fqh1qya1.js → location-activity-7zb6m6m6.js} +17 -17
- package/dist/chunks/{filesystem-f15hrzrf.js → location-activity-82nwqgf6.js} +17 -17
- package/dist/chunks/{filesystem-w1eejvng.js → location-activity-84txncab.js} +5 -5
- package/dist/chunks/{filesystem-0mbr7zrx.js → location-activity-8546h873.js} +9 -9
- package/dist/chunks/{filesystem-13bwbegs.js → location-activity-8aa1j6tz.js} +6 -6
- package/dist/chunks/{filesystem-ksmsdbk6.js → location-activity-8b5t820v.js} +4 -4
- package/dist/chunks/{filesystem-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-3r9vx1gf.js → location-activity-8hzx03zf.js} +11 -11
- package/dist/chunks/{filesystem-q80vxeqa.js → location-activity-8xy6e01v.js} +18 -18
- package/dist/chunks/{filesystem-fpq9acqp.js → location-activity-93ygb5af.js} +5 -5
- package/dist/chunks/{filesystem-qvb3nf84.js → location-activity-9c3np669.js} +8 -8
- package/dist/chunks/{filesystem-fnce5adh.js → location-activity-9d7yennp.js} +23 -23
- package/dist/chunks/{filesystem-9e5bzkjp.js → location-activity-9e5bzkjp.js} +3 -3
- package/dist/chunks/{filesystem-3y2v64q1.js → location-activity-9fe2kmt5.js} +32 -32
- package/dist/chunks/{filesystem-fs3nq2yz.js → location-activity-9h2rc1t3.js} +20 -20
- package/dist/chunks/{filesystem-0jtsdzd6.js → location-activity-9srgxtjw.js} +3 -3
- package/dist/chunks/{filesystem-5vxg51km.js → location-activity-9y8sjkfk.js} +31 -31
- package/dist/chunks/{filesystem-16efbqx1.js → location-activity-a08f9n0s.js} +15 -15
- package/dist/chunks/{filesystem-fer7p6e5.js → location-activity-a67n9w4q.js} +11 -11
- package/dist/chunks/{filesystem-magykp64.js → location-activity-a8bn8zg0.js} +4 -4
- package/dist/chunks/{filesystem-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-m36dkgq1.js → location-activity-abyzjd1a.js} +24 -24
- package/dist/chunks/{filesystem-vh0ct6km.js → location-activity-aevmhcqb.js} +17 -17
- package/dist/chunks/{filesystem-e2hjzebn.js → location-activity-afdssyjb.js} +4 -4
- package/dist/chunks/{filesystem-q55sjswm.js → location-activity-b2z6sqk1.js} +25 -25
- package/dist/chunks/{filesystem-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-km7yg6gp.js → location-activity-bav0gcv6.js} +4 -4
- package/dist/chunks/{filesystem-ntd8bhev.js → location-activity-bdrq32gk.js} +24 -24
- package/dist/chunks/{filesystem-9a0r6qpw.js → location-activity-bevnnnsv.js} +24 -24
- package/dist/chunks/{filesystem-6bctz05c.js → location-activity-bq2zwxzx.js} +6 -6
- package/dist/chunks/{filesystem-v79100zg.js → location-activity-bv494vzy.js} +89 -89
- package/dist/chunks/{filesystem-q4tdxfva.js → location-activity-bvjbzbxw.js} +4 -4
- package/dist/chunks/{filesystem-p7xtj0az.js → location-activity-bwft6xh4.js} +28 -28
- package/dist/chunks/location-activity-by5v678g.js +18 -0
- package/dist/chunks/{filesystem-fqcgpcra.js → location-activity-bydnjh3t.js} +9 -9
- package/dist/chunks/{filesystem-570xzm8z.js → location-activity-c0kq5c65.js} +6 -6
- package/dist/chunks/{filesystem-rmw2jszq.js → location-activity-c3v84mxk.js} +12 -12
- package/dist/chunks/{filesystem-0hx3wrkq.js → location-activity-c686hzmv.js} +28 -28
- package/dist/chunks/{filesystem-en65dp82.js → location-activity-ccjr1fy8.js} +15 -15
- package/dist/chunks/location-activity-ch4bgybv.js +26 -0
- package/dist/chunks/{filesystem-3mg3kbvc.js → location-activity-chne5d4k.js} +22 -22
- package/dist/chunks/{filesystem-8v6pyhej.js → location-activity-cmwkp3r5.js} +8 -8
- package/dist/chunks/{filesystem-dpk2q23m.js → location-activity-cnq2rzms.js} +8 -8
- package/dist/chunks/{filesystem-3k6sfp50.js → location-activity-cpy6gm2a.js} +6 -6
- package/dist/chunks/{filesystem-9m60jvq0.js → location-activity-crtch92j.js} +25 -25
- package/dist/chunks/{filesystem-q3ztap5c.js → location-activity-cs1f4g5e.js} +14 -14
- package/dist/chunks/{filesystem-mxzx5kg9.js → location-activity-cvqq8e7f.js} +8 -8
- package/dist/chunks/{filesystem-rejyrjqj.js → location-activity-cx60b00e.js} +8 -8
- package/dist/chunks/{filesystem-d4he2qe1.js → location-activity-d4he2qe1.js} +2 -2
- package/dist/chunks/{filesystem-99pzt4jy.js → location-activity-d6adpm0j.js} +6 -6
- package/dist/chunks/{filesystem-284z5c3g.js → location-activity-d8kerrv3.js} +11 -11
- package/dist/chunks/{filesystem-m8pgzgtv.js → location-activity-dd5b1xzg.js} +19 -19
- package/dist/chunks/{filesystem-dpkg50ah.js → location-activity-dpkg50ah.js} +1 -1
- package/dist/chunks/{filesystem-aapnq670.js → location-activity-drf7xjjx.js} +26 -26
- package/dist/chunks/{filesystem-rnpnebxd.js → location-activity-dtyr9rt1.js} +3 -3
- package/dist/chunks/{filesystem-eqhsfx8j.js → location-activity-e3sabqe4.js} +3 -3
- package/dist/chunks/{filesystem-qbxnrrty.js → location-activity-e7rfq5qk.js} +9 -9
- package/dist/chunks/{filesystem-fzg55a4d.js → location-activity-ecssc3j3.js} +42 -42
- package/dist/chunks/{filesystem-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-69db790d.js → location-activity-ekbj836z.js} +37 -37
- package/dist/chunks/{filesystem-926kcrbn.js → location-activity-ep5ny9ht.js} +3 -3
- package/dist/chunks/{filesystem-6j8v6d3j.js → location-activity-esg4x70t.js} +40 -40
- package/dist/chunks/{filesystem-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-hab5jpb1.js → location-activity-f1ra0m0z.js} +51 -51
- package/dist/chunks/{filesystem-04z6gqcg.js → location-activity-fga4yx3c.js} +16 -11
- package/dist/chunks/{filesystem-qqc5b8jm.js → location-activity-fgz6j41s.js} +17 -17
- package/dist/chunks/{filesystem-y1g4qk85.js → location-activity-fpvt9pzn.js} +12 -12
- package/dist/chunks/{filesystem-9ty99bx7.js → location-activity-fxwn5ngs.js} +12 -12
- package/dist/chunks/{filesystem-036ns257.js → location-activity-fz73d78w.js} +26 -26
- package/dist/chunks/{filesystem-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-8fswdrtm.js → location-activity-gfhe8pce.js} +26 -26
- package/dist/chunks/{filesystem-srq8z0b0.js → location-activity-gh5z95q3.js} +9 -9
- package/dist/chunks/{filesystem-9emmf9qt.js → location-activity-gmp6dy48.js} +8 -8
- package/dist/chunks/{filesystem-ph7yx3mv.js → location-activity-gw63jqqf.js} +69 -69
- package/dist/chunks/{filesystem-gxc58qt5.js → location-activity-h04e8859.js} +11 -11
- package/dist/chunks/{filesystem-h2b79v29.js → location-activity-h2b79v29.js} +2 -2
- package/dist/chunks/{filesystem-0var7w7b.js → location-activity-h436ppra.js} +16 -16
- package/dist/chunks/{filesystem-gmmdfr2g.js → location-activity-h4ckqw4f.js} +8 -8
- package/dist/chunks/{filesystem-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-kkp8zx71.js → location-activity-h90v2x9d.js} +4 -4
- package/dist/chunks/{filesystem-wecqtg5s.js → location-activity-hdkng2sj.js} +5 -5
- package/dist/chunks/{filesystem-fv69kr5x.js → location-activity-hscka7hn.js} +10 -10
- package/dist/chunks/{filesystem-w5zzhgd0.js → location-activity-htjw9qza.js} +4 -4
- package/dist/chunks/{filesystem-2b2kdvct.js → location-activity-hwvn274f.js} +13 -13
- package/dist/chunks/{filesystem-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-ayq4cb10.js → location-activity-j8cf0za3.js} +44 -44
- package/dist/chunks/{filesystem-dxp61821.js → location-activity-jaa4fdzc.js} +11 -11
- package/dist/chunks/{filesystem-9w4ppqge.js → location-activity-jgttmm4a.js} +5 -5
- package/dist/chunks/{filesystem-gnra7rc5.js → location-activity-jhas32jn.js} +12 -12
- package/dist/chunks/{filesystem-qb03crtp.js → location-activity-jmprfg3g.js} +11 -11
- package/dist/chunks/{filesystem-rqbby9tc.js → location-activity-jtzr5nqe.js} +9 -9
- package/dist/chunks/{filesystem-40gv55tz.js → location-activity-jwkehejh.js} +45 -45
- package/dist/chunks/{filesystem-htbac61m.js → location-activity-k0ptakpd.js} +9 -9
- package/dist/chunks/{filesystem-nzks3jc8.js → location-activity-k3c624dm.js} +3 -3
- package/dist/chunks/{filesystem-4n25jbh7.js → location-activity-k8f3jam7.js} +5 -5
- package/dist/chunks/{filesystem-10w0d6yc.js → location-activity-kf5h6vpd.js} +7 -7
- package/dist/chunks/{filesystem-1vjvsfvk.js → location-activity-kfxyjhp2.js} +3 -3
- package/dist/chunks/{filesystem-10j2s16v.js → location-activity-kne781sm.js} +8 -8
- package/dist/chunks/{filesystem-wytcdbr4.js → location-activity-m13ydf9z.js} +10 -10
- package/dist/chunks/{filesystem-ekrjqnnp.js → location-activity-m195fq1w.js} +5 -5
- package/dist/chunks/{filesystem-m3fdjcah.js → location-activity-m3fdjcah.js} +1 -1
- package/dist/chunks/{filesystem-n8gabnpz.js → location-activity-m6anyv5q.js} +18 -18
- package/dist/chunks/{filesystem-k1qrnqst.js → location-activity-m6f3t844.js} +8 -8
- package/dist/chunks/{filesystem-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-mazbtkaa.js → location-activity-mazbtkaa.js} +2 -2
- package/dist/chunks/{filesystem-6vzgdzvk.js → location-activity-mcrs9awc.js} +3 -3
- package/dist/chunks/{filesystem-vdqezpb9.js → location-activity-mdyre9yd.js} +11 -11
- package/dist/chunks/{filesystem-56gdpj1q.js → location-activity-mfqp6xfm.js} +6 -6
- package/dist/chunks/{filesystem-y6bex35g.js → location-activity-mpk0rfs5.js} +4 -4
- package/dist/chunks/{filesystem-8a1fg79c.js → location-activity-mqqjwdys.js} +18 -18
- package/dist/chunks/{filesystem-t5qt6q14.js → location-activity-mry7vpv6.js} +24 -24
- package/dist/chunks/{filesystem-n7vf5rt3.js → location-activity-mtqh9dqc.js} +17 -17
- package/dist/chunks/{filesystem-v1fb46qy.js → location-activity-n3vdfxem.js} +15 -15
- package/dist/chunks/{filesystem-v2a7x3en.js → location-activity-n7jbqchd.js} +1 -1
- package/dist/chunks/{filesystem-wg48xxpp.js → location-activity-neea60rm.js} +45 -45
- package/dist/chunks/{filesystem-bvpw04s5.js → location-activity-nfxpb5dx.js} +12 -12
- package/dist/chunks/{filesystem-2j3vk6t2.js → location-activity-nj4ky6pp.js} +6 -6
- package/dist/chunks/{filesystem-nsj1xyps.js → location-activity-nm81pwyf.js} +15 -15
- package/dist/chunks/{filesystem-xa3h9a9a.js → location-activity-nv4gkq3e.js} +12 -12
- package/dist/chunks/{filesystem-vgepzxbh.js → location-activity-pc4b88sv.js} +4 -4
- package/dist/chunks/{filesystem-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-ahvq88ye.js → location-activity-pn47xatw.js} +11 -11
- package/dist/chunks/{filesystem-2p2n3666.js → location-activity-pqpddsgd.js} +42 -42
- package/dist/chunks/{filesystem-n39mkyex.js → location-activity-pzpmh04d.js} +24 -24
- package/dist/chunks/{filesystem-3z06kyty.js → location-activity-pzvtwmjk.js} +2 -2
- package/dist/chunks/{filesystem-4260m7mp.js → location-activity-q0aq4jyk.js} +33 -33
- package/dist/chunks/{filesystem-q0xm7vwc.js → location-activity-q0xm7vwc.js} +2 -2
- package/dist/chunks/{filesystem-94xx3qtf.js → location-activity-q1wpv2xk.js} +10 -10
- package/dist/chunks/{filesystem-qwqewt7m.js → location-activity-q6g600bf.js} +18 -18
- package/dist/chunks/{filesystem-bzn1wj9e.js → location-activity-qdhcz93t.js} +21 -21
- package/dist/chunks/{filesystem-qnc92qwc.js → location-activity-qnc92qwc.js} +1 -1
- package/dist/chunks/{filesystem-502acak7.js → location-activity-qpfa68ge.js} +25 -25
- package/dist/chunks/{filesystem-wp4j34tg.js → location-activity-qpfeccey.js} +7 -7
- package/dist/chunks/{filesystem-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-a1gpj94z.js → location-activity-r5x6zcsm.js} +3 -3
- package/dist/chunks/{filesystem-g30v9gca.js → location-activity-r8nt63pt.js} +41 -41
- package/dist/chunks/{filesystem-c9wk9zmw.js → location-activity-r8pwahr2.js} +23 -23
- package/dist/chunks/{filesystem-5t1mqahn.js → location-activity-r8vf5qjb.js} +18 -18
- package/dist/chunks/{filesystem-r8xr0va3.js → location-activity-r8xr0va3.js} +1 -1
- package/dist/chunks/{filesystem-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-axs6pdy0.js → location-activity-reg6q42h.js} +5 -5
- package/dist/chunks/{filesystem-kt7s2gck.js → location-activity-rmfz3p6f.js} +12 -12
- package/dist/chunks/{filesystem-t0wjhbzp.js → location-activity-rr1rfcmd.js} +15 -15
- package/dist/chunks/{filesystem-xvzn4eft.js → location-activity-s1r5nc7c.js} +28 -28
- package/dist/chunks/{filesystem-zspyrcp2.js → location-activity-s306g3tw.js} +10 -10
- package/dist/chunks/{filesystem-rhjbct0v.js → location-activity-s8d7rejh.js} +4 -4
- package/dist/chunks/{filesystem-pgcyf0hj.js → location-activity-sn9ex3zr.js} +37 -37
- package/dist/chunks/{filesystem-t8qw8ht6.js → location-activity-snj9fk4t.js} +4 -4
- package/dist/chunks/{filesystem-z9917bqf.js → location-activity-snn5f3r6.js} +2 -2
- package/dist/chunks/{filesystem-ayxfxvv4.js → location-activity-svhjjg87.js} +11 -11
- package/dist/chunks/{filesystem-v5dkyp31.js → location-activity-sxz6gkc3.js} +7 -7
- package/dist/chunks/{filesystem-d2czbp48.js → location-activity-syf57q56.js} +4 -4
- package/dist/chunks/{filesystem-p4jmp3zn.js → location-activity-syrsg1sz.js} +12 -12
- package/dist/chunks/{filesystem-k5n7mtkn.js → location-activity-t01ewf6t.js} +11 -11
- package/dist/chunks/{filesystem-517w8nej.js → location-activity-t56wdhdf.js} +34 -34
- package/dist/chunks/{filesystem-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-89znhe33.js → location-activity-tcezcvh9.js} +4 -4
- package/dist/chunks/{filesystem-wz6s39r0.js → location-activity-tchy2as6.js} +10 -10
- package/dist/chunks/{filesystem-tdstcens.js → location-activity-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-xmjkc9yk.js → location-activity-tnsze0n8.js} +1 -1
- package/dist/chunks/{filesystem-w92k2e0p.js → location-activity-ts23464c.js} +6 -6
- package/dist/chunks/{filesystem-tvtrv512.js → location-activity-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-sx3bpmv2.js → location-activity-v2wt6c2y.js} +11 -11
- package/dist/chunks/{filesystem-w1xfvgnx.js → location-activity-vdgnc14j.js} +5 -5
- package/dist/chunks/{filesystem-sx1n432n.js → location-activity-ve4pfa0n.js} +4 -4
- package/dist/chunks/{filesystem-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-dwq6ryhm.js → location-activity-vevatqc6.js} +5 -5
- package/dist/chunks/{filesystem-53srf1q3.js → location-activity-vjpgqszb.js} +24 -24
- package/dist/chunks/{filesystem-nqdd843g.js → location-activity-vknz3fdy.js} +24 -24
- package/dist/chunks/location-activity-vks69f2x.js +507 -0
- package/dist/chunks/{filesystem-6pms16j6.js → location-activity-vyq9csrv.js} +8 -8
- package/dist/chunks/{filesystem-p0zwa1vv.js → location-activity-vzcf69rs.js} +13 -13
- package/dist/chunks/{filesystem-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-vzs5sf6e.js → location-activity-vzs5sf6e.js} +1 -1
- package/dist/chunks/{filesystem-57b9ws8p.js → location-activity-w19d8598.js} +4 -4
- package/dist/chunks/{filesystem-6yz0wx8n.js → location-activity-w2h15q85.js} +5 -5
- package/dist/chunks/{filesystem-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-knevfgda.js → location-activity-wa9g86nq.js} +4 -4
- package/dist/chunks/{filesystem-rbvf45af.js → location-activity-wbkd39me.js} +17 -17
- package/dist/chunks/{filesystem-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-dxwm750g.js → location-activity-wgn1zfzh.js} +2 -2
- package/dist/chunks/{filesystem-jm5d91qr.js → location-activity-wkewke0s.js} +1 -1
- package/dist/chunks/{filesystem-a6cwp1se.js → location-activity-wmdp66cc.js} +8 -8
- package/dist/chunks/{filesystem-pbdx9thr.js → location-activity-wwrr712y.js} +27 -27
- package/dist/chunks/{filesystem-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-xsv69pbv.js → location-activity-x3ybpqrt.js} +145 -145
- package/dist/chunks/{filesystem-ddrhvhgz.js → location-activity-xdd1d9m7.js} +3 -3
- package/dist/chunks/{filesystem-eh197s02.js → location-activity-xfg4qeas.js} +21 -21
- package/dist/chunks/{filesystem-hvcykgb7.js → location-activity-xh8f9mrx.js} +13 -13
- package/dist/chunks/{filesystem-xkntkrq7.js → location-activity-xkntkrq7.js} +2 -2
- package/dist/chunks/{filesystem-jaf6ynan.js → location-activity-xxp8q6mk.js} +11 -11
- package/dist/chunks/{filesystem-f05k46e0.js → location-activity-y0e75je0.js} +33 -33
- package/dist/chunks/{filesystem-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-cze0x14q.js → location-activity-y4d2frg5.js} +18 -18
- package/dist/chunks/{filesystem-hzdb9pk6.js → location-activity-ymdy55xw.js} +9 -9
- package/dist/chunks/{filesystem-k2kkzz2w.js → location-activity-ynbd608n.js} +1 -1
- package/dist/chunks/{filesystem-mmpp2d0a.js → location-activity-ynpv3czn.js} +15 -15
- package/dist/chunks/{filesystem-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-y3afyytz.js → location-activity-ysf7degs.js} +8 -8
- package/dist/chunks/{filesystem-249qvrry.js → location-activity-ysfphsa6.js} +85 -85
- package/dist/chunks/{filesystem-wwgj8rat.js → location-activity-yztx57rc.js} +3 -3
- package/dist/chunks/{filesystem-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-sza2hw6f.js → location-activity-z1wxjw4c.js} +17 -17
- package/dist/chunks/{filesystem-as7cf5zz.js → location-activity-zfs8ae4p.js} +4 -4
- package/dist/chunks/{filesystem-1g7rajnm.js → location-activity-zgzn6emv.js} +20 -10
- package/dist/chunks/{filesystem-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-0bpfe0ke.js → location-activity-ztb965kt.js} +12 -12
- package/dist/chunks/{filesystem-wz13sdny.js → location-activity-zw7rn1n2.js} +22 -22
- package/dist/chunks/{filesystem-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
- package/dist/chunks/{filesystem-1t2yejss.js → location-activity-zxvea2vw.js} +11 -11
- package/dist/chunks/{filesystem-4gmk1bet.js → location-activity-zxxmssfm.js} +33 -33
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +99 -99
- 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 +3 -3
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +83 -83
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +9 -9
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/vcs.d.ts +6 -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 +5 -5
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/filesystem-33q1jrjr.js +0 -507
- package/dist/chunks/filesystem-619r8v3y.js +0 -18
- package/dist/chunks/filesystem-arh3zgt8.js +0 -26
- package/dist/chunks/filesystem-f7z0fqgw.js +0 -252
- /package/dist/chunks/{filesystem-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-34c7v6d4.js → location-activity-34c7v6d4.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5qd3pb7m.js → location-activity-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → location-activity-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → location-activity-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-1bvbmmvc.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-bav0gcv6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service62,
|
|
11
|
+
node65
|
|
12
|
+
} from "./location-activity-z1wxjw4c.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service60,
|
|
15
15
|
node63
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-activity-93ygb5af.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-activity-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
make18
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-activity-r8xr0va3.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service58
|
|
26
|
+
} from "./location-activity-afdssyjb.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service65,
|
|
29
|
+
node68
|
|
30
|
+
} from "./location-activity-nv4gkq3e.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-activity-vdgnc14j.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-activity-q6g600bf.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service57,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer20,
|
|
47
|
+
node: () => node61,
|
|
48
48
|
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service57 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer20 = Layer.effect(Service57, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service65;
|
|
64
|
+
const instances = yield* Service60;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service62;
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,7 +76,7 @@ var layer22 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service58.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
@@ -104,7 +104,7 @@ var layer22 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service57.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer22 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node61 = makeGlobalNode({
|
|
127
|
+
service: Service57,
|
|
128
|
+
layer: layer20,
|
|
129
|
+
deps: [node68, node63, node87, node88, node65]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer3 = Layer.succeed(
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service57, Service57.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service55, Service55.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service57, terminal2, layer20, node61, noopLayer3, exports_execution };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-mpk0rfs5.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-bav0gcv6.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event17
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-7x41vzpg.js";
|
|
11
11
|
import {
|
|
12
12
|
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-1dmjvyat.js";
|
|
15
15
|
import {
|
|
16
16
|
ID12,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service72
|
|
20
|
+
} from "./location-activity-chne5d4k.js";
|
|
21
21
|
import {
|
|
22
22
|
ID11
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-9d7yennp.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./location-activity-82nwqgf6.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-activity-8hzx03zf.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID9
|
|
33
|
+
} from "./location-activity-dd5b1xzg.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-activity-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -163,7 +163,7 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
166
|
+
const providers = yield* Service72;
|
|
167
167
|
const bus = yield* Service83;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
@@ -182,7 +182,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
183
|
const provider = yield* providers.get(ID12.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load2(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -208,7 +208,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -257,7 +257,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-8hzx03zf.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-bav0gcv6.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event17
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-7x41vzpg.js";
|
|
11
11
|
import {
|
|
12
12
|
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-1dmjvyat.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
20
|
ID12,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-chne5d4k.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-54ma36ye.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/openai.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -162,7 +162,7 @@ var headless = (app) => ({
|
|
|
162
162
|
}),
|
|
163
163
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
164
164
|
});
|
|
165
|
-
var
|
|
165
|
+
var OpenAIPlugin2 = define({
|
|
166
166
|
id: "opencode.provider.openai",
|
|
167
167
|
effect: Effect.fn(function* (ctx) {
|
|
168
168
|
const bus = yield* Service83;
|
|
@@ -329,4 +329,4 @@ function claim(token) {
|
|
|
329
329
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { OpenAIPlugin2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-1bvbmmvc.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-71az546q.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info22,
|
|
18
18
|
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service66,
|
|
21
|
+
node: () => node69
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info22 = PermissionSaved.Info;
|
|
30
30
|
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service66 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID8.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service66.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node69 = makeGlobalNode({ service: Service66, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID8, Info22, ListInput5, AddInput2, Service66, node69, exports_saved };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./location-activity-vjpgqszb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./location-activity-93ygb5af.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-by5v678g.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service60;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service80), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-1bvbmmvc.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node79
|
|
8
|
+
} from "./location-activity-2vxn4jvt.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service71,
|
|
13
|
+
node74
|
|
14
|
+
} from "./location-activity-9d7yennp.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID9,
|
|
17
|
+
Service67,
|
|
18
|
+
node70
|
|
19
|
+
} from "./location-activity-dd5b1xzg.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-activity-bq2zwxzx.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-activity-s8d7rejh.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-activity-syf57q56.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-activity-gmp6dy48.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service65,
|
|
34
|
+
node68
|
|
35
|
+
} from "./location-activity-nv4gkq3e.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-activity-20ae1her.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
make16
|
|
41
|
+
} from "./location-activity-4cvdhpp6.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service44,
|
|
44
|
+
node47
|
|
45
|
+
} from "./location-activity-abyzjd1a.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service37,
|
|
48
|
+
node40
|
|
49
|
+
} from "./location-activity-6hs7gpy0.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service52,
|
|
52
|
+
node55
|
|
53
|
+
} from "./location-activity-4q8c29wx.js";
|
|
54
54
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
55
|
+
Service39,
|
|
56
|
+
node42
|
|
57
|
+
} from "./location-activity-qpfa68ge.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
59
|
+
Service38,
|
|
60
|
+
node41
|
|
61
|
+
} from "./location-activity-xfg4qeas.js";
|
|
62
62
|
import {
|
|
63
63
|
Service36,
|
|
64
64
|
node39
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./location-activity-5pf9ep4a.js";
|
|
66
66
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service35,
|
|
68
|
+
node38
|
|
69
|
+
} from "./location-activity-wbkd39me.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service31,
|
|
72
|
+
node35
|
|
73
|
+
} from "./location-activity-nm81pwyf.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service32,
|
|
76
|
+
node36
|
|
77
|
+
} from "./location-activity-387akm7g.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
79
|
+
Service61,
|
|
80
|
+
node64
|
|
81
|
+
} from "./location-activity-xh8f9mrx.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service29,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node32
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service29 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
99
|
-
const builtins = yield*
|
|
100
|
-
const model = yield*
|
|
97
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service67;
|
|
99
|
+
const builtins = yield* Service37;
|
|
100
|
+
const model = yield* Service71;
|
|
101
101
|
const db = (yield* Service84).db;
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
104
|
-
const location = yield*
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
108
|
-
const request = yield*
|
|
102
|
+
const discovery = yield* Service44;
|
|
103
|
+
const entries = yield* Service31;
|
|
104
|
+
const location = yield* Service76;
|
|
105
|
+
const mcpInstructions = yield* Service38;
|
|
106
|
+
const mcpTools = yield* Service39;
|
|
107
|
+
const models = yield* Service61;
|
|
108
|
+
const request = yield* Service32;
|
|
109
109
|
const referenceInstructions = yield* Service36;
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
110
|
+
const skillInstructions = yield* Service35;
|
|
111
|
+
const store = yield* Service65;
|
|
112
|
+
const registry = yield* Service52;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID9.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
165
165
|
session,
|
|
166
166
|
agent: { ...agent, info: agent.info },
|
|
167
167
|
instructions: combine2([
|
|
168
|
-
|
|
168
|
+
make16(loaded.tools.codeModeCatalog),
|
|
169
169
|
loaded.mcp,
|
|
170
170
|
loaded.references,
|
|
171
171
|
loaded.skills,
|
|
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
188
188
|
tools: selection.tools
|
|
189
189
|
};
|
|
190
190
|
});
|
|
191
|
-
return
|
|
191
|
+
return Service29.of({ select, load, resolveModel, selectTitle, request });
|
|
192
192
|
}));
|
|
193
193
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
194
|
-
var
|
|
195
|
-
service:
|
|
194
|
+
var node32 = makeLocationNode({
|
|
195
|
+
service: Service29,
|
|
196
196
|
layer,
|
|
197
197
|
deps: [
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
node70,
|
|
199
|
+
node74,
|
|
200
200
|
node88,
|
|
201
|
+
node40,
|
|
202
|
+
node47,
|
|
201
203
|
node35,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
node34,
|
|
206
|
-
node36,
|
|
204
|
+
node79,
|
|
205
|
+
node41,
|
|
206
|
+
node42,
|
|
207
207
|
node39,
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
208
|
+
node64,
|
|
209
|
+
node36,
|
|
210
|
+
node68,
|
|
211
|
+
node38,
|
|
212
|
+
node55
|
|
213
213
|
]
|
|
214
214
|
});
|
|
215
215
|
|
|
216
|
-
export {
|
|
216
|
+
export { Service29, node32, exports_context };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-0p53prm6.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|