@opencode/core 0.0.0-dev-21832 → 0.0.0-dev-21843
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 +83 -83
- package/dist/aisdk-native.js +94 -94
- package/dist/aisdk.js +100 -100
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{worktree-jneg3k74.js → location-activity-02pz8arg.js} +8 -8
- package/dist/chunks/{worktree-b6h3agk1.js → location-activity-033a0jkt.js} +3 -3
- package/dist/chunks/{worktree-aj7mw0zk.js → location-activity-034tev2y.js} +2 -2
- package/dist/chunks/{worktree-mzf7pqqe.js → location-activity-05x0v6vq.js} +7 -7
- package/dist/chunks/{worktree-sfzvze88.js → location-activity-0bmnjpfs.js} +6 -6
- package/dist/chunks/{worktree-zyz3pmwr.js → location-activity-0hdn0fa7.js} +8 -8
- package/dist/chunks/{worktree-tp98z23w.js → location-activity-0ms9wyx6.js} +14 -14
- package/dist/chunks/{worktree-rh3bv7hm.js → location-activity-0tvnnqrs.js} +6 -6
- package/dist/chunks/{worktree-3nnh6x8n.js → location-activity-0x36h70s.js} +30 -30
- package/dist/chunks/{worktree-11hfp36g.js → location-activity-11hfp36g.js} +1 -1
- package/dist/chunks/{worktree-ds26jgk3.js → location-activity-16atamx4.js} +5 -5
- package/dist/chunks/{worktree-qyk31xf6.js → location-activity-19m0w0bv.js} +26 -26
- package/dist/chunks/location-activity-1b4ezkbd.js +26 -0
- package/dist/chunks/{worktree-27w5k9zf.js → location-activity-1ep2p91f.js} +2 -2
- package/dist/chunks/{worktree-6hxyv8w6.js → location-activity-1kjz3a69.js} +18 -18
- package/dist/chunks/{worktree-jjg5yz1h.js → location-activity-1r150qaf.js} +9 -9
- package/dist/chunks/{worktree-krcgmfx1.js → location-activity-1tzjbzhg.js} +5 -5
- package/dist/chunks/{worktree-1x2knyw4.js → location-activity-1x2knyw4.js} +1 -1
- package/dist/chunks/{worktree-x564bgvm.js → location-activity-1yw8ef7d.js} +11 -11
- package/dist/chunks/{worktree-b5qn2jt5.js → location-activity-1zc1v7j6.js} +11 -11
- package/dist/chunks/{worktree-j0xszzq0.js → location-activity-2hp5yqxf.js} +30 -30
- package/dist/chunks/{worktree-30r67fxy.js → location-activity-2k60tzqy.js} +22 -22
- package/dist/chunks/{worktree-2z1j29yd.js → location-activity-2z1j29yd.js} +1 -1
- package/dist/chunks/{worktree-mn53dk4j.js → location-activity-30147ds3.js} +6 -6
- package/dist/chunks/{worktree-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-a5vkyr04.js → location-activity-3mahw19w.js} +31 -31
- package/dist/chunks/{worktree-8wezqzag.js → location-activity-3mwdbvs3.js} +23 -23
- package/dist/chunks/{worktree-kd4chd64.js → location-activity-3ryz99p0.js} +7 -7
- package/dist/chunks/{worktree-m30wvgj2.js → location-activity-3s22rsh1.js} +34 -34
- package/dist/chunks/{worktree-4f15exd5.js → location-activity-3s7a6tyr.js} +1 -1
- package/dist/chunks/{worktree-hhafapa0.js → location-activity-3t73xeyv.js} +2 -2
- package/dist/chunks/{worktree-8yqsymsg.js → location-activity-3xgpm2f0.js} +6 -6
- package/dist/chunks/{worktree-j78bae2j.js → location-activity-41kbj73v.js} +18 -18
- package/dist/chunks/{worktree-y35tw0d0.js → location-activity-42a3ps5p.js} +28 -28
- package/dist/chunks/{worktree-pbjge5gp.js → location-activity-487p98sc.js} +3 -3
- package/dist/chunks/{worktree-00cp3g78.js → location-activity-4avpmr6q.js} +46 -46
- package/dist/chunks/{worktree-z3dz6gn5.js → location-activity-4b68tag9.js} +4 -4
- package/dist/chunks/{worktree-s7e49xxs.js → location-activity-4drkv06w.js} +6 -6
- package/dist/chunks/{worktree-695afxk5.js → location-activity-4fkrdzv3.js} +20 -20
- package/dist/chunks/{worktree-q2d8rzza.js → location-activity-4sedpc32.js} +12 -12
- package/dist/chunks/{worktree-6k2rkf8h.js → location-activity-4sz2zbgb.js} +4 -4
- package/dist/chunks/{worktree-4v008n1t.js → location-activity-4v008n1t.js} +1 -1
- package/dist/chunks/{worktree-rdrpd67x.js → location-activity-4wqc8mqe.js} +5 -5
- package/dist/chunks/{worktree-4xvmh7wp.js → location-activity-4xvmh7wp.js} +3 -3
- package/dist/chunks/location-activity-4zjpcea3.js +517 -0
- package/dist/chunks/{worktree-9qpye6ef.js → location-activity-595k99j1.js} +11 -11
- package/dist/chunks/{worktree-5fy5wh6g.js → location-activity-59bxvgd1.js} +11 -11
- package/dist/chunks/{worktree-n3nby4kh.js → location-activity-5csg2dg3.js} +18 -18
- package/dist/chunks/{worktree-7e8scw2k.js → location-activity-5e4012f5.js} +32 -32
- package/dist/chunks/{worktree-w2eysc6j.js → location-activity-5enarcya.js} +6 -6
- package/dist/chunks/{worktree-5m9w47nd.js → location-activity-5m9w47nd.js} +1 -1
- package/dist/chunks/{worktree-b6vsg801.js → location-activity-5nnwax6m.js} +5 -5
- package/dist/chunks/{worktree-geqny0bq.js → location-activity-603khqbt.js} +7 -7
- package/dist/chunks/{worktree-06nywv30.js → location-activity-6095ntjv.js} +32 -32
- package/dist/chunks/{worktree-n5xdxtnj.js → location-activity-61a3p4gm.js} +6 -6
- package/dist/chunks/{worktree-bjhzkqyk.js → location-activity-61ennm6n.js} +4 -4
- package/dist/chunks/{worktree-erswfzqj.js → location-activity-6akkzwyq.js} +16 -16
- package/dist/chunks/{worktree-5p205wab.js → location-activity-6bg0td8b.js} +4 -4
- package/dist/chunks/{worktree-yt6kymc0.js → location-activity-6cssycs3.js} +4 -4
- package/dist/chunks/{worktree-6esdw8yj.js → location-activity-6esdw8yj.js} +1 -1
- package/dist/chunks/{worktree-4jj79f23.js → location-activity-6fpkxg3y.js} +8 -8
- package/dist/chunks/{worktree-ntp0y56p.js → location-activity-6j70ej2p.js} +35 -35
- package/dist/chunks/{worktree-d6sbn13z.js → location-activity-6jkbzxj9.js} +13 -13
- package/dist/chunks/{worktree-6pjqjmy2.js → location-activity-6pjqjmy2.js} +1 -1
- package/dist/chunks/{worktree-j7vbh7t2.js → location-activity-6q88zxvg.js} +3 -3
- package/dist/chunks/{worktree-ksj36tw4.js → location-activity-6z8136wj.js} +9 -9
- package/dist/chunks/{worktree-93wp6b6w.js → location-activity-7525bpb5.js} +7 -7
- package/dist/chunks/{worktree-76cb1hcw.js → location-activity-76cb1hcw.js} +1 -1
- package/dist/chunks/{worktree-86djksxe.js → location-activity-7a16ehjz.js} +16 -16
- package/dist/chunks/{worktree-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-z4rz3s0w.js → location-activity-7c3myc02.js} +18 -18
- package/dist/chunks/{worktree-24cx9b7z.js → location-activity-7e1vp0fn.js} +26 -26
- package/dist/chunks/{worktree-fp6jbq7y.js → location-activity-7v8d6x1k.js} +7 -7
- package/dist/chunks/{worktree-bdyzd1jt.js → location-activity-7vhm47zd.js} +16 -16
- package/dist/chunks/{worktree-7w2ypzdf.js → location-activity-7w2ypzdf.js} +1 -1
- package/dist/chunks/{worktree-f21hf6dz.js → location-activity-7z3rpvwm.js} +15 -16
- package/dist/chunks/{worktree-xxjr0q4c.js → location-activity-8212brpd.js} +3 -3
- package/dist/chunks/{worktree-wggsh2ew.js → location-activity-8324jf5j.js} +17 -17
- package/dist/chunks/{worktree-mkt943y8.js → location-activity-89wan0w5.js} +8 -8
- package/dist/chunks/{worktree-f4bg9t37.js → location-activity-8c14ptpj.js} +4 -4
- package/dist/chunks/{worktree-11aje976.js → location-activity-8ftr6dvn.js} +4 -4
- package/dist/chunks/{worktree-qravd527.js → location-activity-8hv3zzk0.js} +23 -23
- package/dist/chunks/{worktree-p58azk3d.js → location-activity-8jh9nkx4.js} +14 -14
- package/dist/chunks/{worktree-2bvfvv2f.js → location-activity-8k393grp.js} +9 -9
- package/dist/chunks/{worktree-abr51mnh.js → location-activity-8kc5h368.js} +8 -8
- package/dist/chunks/{worktree-x6bmqb9g.js → location-activity-8mr85aye.js} +20 -20
- package/dist/chunks/{worktree-yv6n3e4t.js → location-activity-8p48feyx.js} +8 -8
- package/dist/chunks/{worktree-0p25w9ph.js → location-activity-8shc1k29.js} +6 -6
- package/dist/chunks/{worktree-8wtp7s3z.js → location-activity-8wtp7s3z.js} +1 -1
- package/dist/chunks/{worktree-3akbsydm.js → location-activity-8zhftxja.js} +21 -21
- package/dist/chunks/{worktree-91rj84md.js → location-activity-91rj84md.js} +1 -1
- package/dist/chunks/{worktree-8qa3g5sa.js → location-activity-95krpnrr.js} +2 -2
- package/dist/chunks/{worktree-j1rq0xw8.js → location-activity-98ef583n.js} +11 -11
- package/dist/chunks/{worktree-dvj9ct8m.js → location-activity-998yhzzq.js} +3 -3
- package/dist/chunks/{worktree-9cx9sm2q.js → location-activity-9cx9sm2q.js} +1 -1
- package/dist/chunks/{worktree-mcbcg4yq.js → location-activity-9er42xsq.js} +11 -11
- package/dist/chunks/{worktree-jg3dfvq9.js → location-activity-9eyva995.js} +1 -1
- package/dist/chunks/{worktree-skkyj46b.js → location-activity-9smdxzvm.js} +17 -17
- package/dist/chunks/{worktree-rm75chpx.js → location-activity-9yq7r5dv.js} +33 -33
- package/dist/chunks/{worktree-e2x7gzav.js → location-activity-a0qbyar6.js} +5 -5
- package/dist/chunks/{worktree-qaky2rz3.js → location-activity-ab09fkn9.js} +21 -21
- package/dist/chunks/{worktree-f403h8b4.js → location-activity-agmsx4h5.js} +13 -13
- package/dist/chunks/{worktree-wcnxy81f.js → location-activity-am1hrvrn.js} +52 -52
- package/dist/chunks/{worktree-d85xqdn3.js → location-activity-awvkesrt.js} +22 -22
- package/dist/chunks/{worktree-3cbjf1nt.js → location-activity-ayjs7tqn.js} +2 -2
- package/dist/chunks/{worktree-b0mv4wxm.js → location-activity-b0mv4wxm.js} +2 -2
- package/dist/chunks/{worktree-wvyfhptm.js → location-activity-b5wpxwgz.js} +16 -16
- package/dist/chunks/{worktree-hn0qbz2m.js → location-activity-bdce97ys.js} +24 -24
- package/dist/chunks/{worktree-rc8w65gm.js → location-activity-bh8nc5br.js} +27 -27
- package/dist/chunks/{worktree-fsre0723.js → location-activity-bq7mp8wa.js} +38 -38
- package/dist/chunks/{worktree-43dhkpfn.js → location-activity-br701w79.js} +11 -11
- package/dist/chunks/{worktree-xd9cc171.js → location-activity-bstexjd6.js} +5 -5
- package/dist/chunks/{worktree-z8e9ff6b.js → location-activity-c1vxy3ef.js} +15 -15
- package/dist/chunks/{worktree-qyky1vbj.js → location-activity-cc7r2pny.js} +16 -16
- package/dist/chunks/{worktree-2nph1nr4.js → location-activity-ccjdn68k.js} +23 -23
- package/dist/chunks/{worktree-sq4s6wq1.js → location-activity-ct9w26td.js} +6 -6
- package/dist/chunks/{worktree-rkhtrhzc.js → location-activity-cz2ejaf5.js} +19 -19
- package/dist/chunks/{worktree-ax1j2da4.js → location-activity-czec1763.js} +13 -13
- package/dist/chunks/{worktree-s4cnera1.js → location-activity-d1549mka.js} +17 -17
- package/dist/chunks/{worktree-t65tnfxg.js → location-activity-d2npex55.js} +3 -3
- package/dist/chunks/{worktree-qpbq1ttd.js → location-activity-d2rkb4sa.js} +18 -18
- package/dist/chunks/{worktree-d4v9tmah.js → location-activity-d4v9tmah.js} +2 -2
- package/dist/chunks/{worktree-smrfb97d.js → location-activity-dc4f32k0.js} +12 -12
- package/dist/chunks/{worktree-k8f39ak3.js → location-activity-dczehs3t.js} +47 -47
- package/dist/chunks/{worktree-x29n1dd5.js → location-activity-dkp9dzpk.js} +24 -24
- package/dist/chunks/{worktree-mhmzddah.js → location-activity-dkqkergf.js} +9 -9
- package/dist/chunks/{worktree-bs5a9a9v.js → location-activity-dr7gjgjm.js} +5 -5
- package/dist/chunks/{worktree-e2ne77ac.js → location-activity-drvbhkez.js} +4 -4
- package/dist/chunks/{worktree-ewyr86ft.js → location-activity-dtnnd8wz.js} +27 -27
- package/dist/chunks/{worktree-fwfdmgk0.js → location-activity-dtqg9ce1.js} +5 -5
- package/dist/chunks/{worktree-6e20mv58.js → location-activity-e07q2w5p.js} +4 -4
- package/dist/chunks/{worktree-bgcmwhzg.js → location-activity-e0gtmwd9.js} +19 -19
- package/dist/chunks/{worktree-hkemg6xf.js → location-activity-e5zfxx7z.js} +6 -6
- package/dist/chunks/{worktree-7e510nwg.js → location-activity-e7690xe6.js} +11 -11
- package/dist/chunks/{worktree-e834z07m.js → location-activity-e834z07m.js} +1 -1
- package/dist/chunks/{worktree-edvcby6a.js → location-activity-efpq152p.js} +12 -12
- package/dist/chunks/{worktree-yxhh0eg2.js → location-activity-epnh506y.js} +2 -2
- package/dist/chunks/{worktree-95exz2bq.js → location-activity-f2175j9g.js} +13 -13
- package/dist/chunks/{worktree-9m513bsn.js → location-activity-f3pg34sc.js} +16 -16
- package/dist/chunks/{worktree-fffv3p7h.js → location-activity-fffv3p7h.js} +1 -1
- package/dist/chunks/{worktree-2hn3edqp.js → location-activity-fz89ngxz.js} +15 -15
- package/dist/chunks/{worktree-p9g6dw9y.js → location-activity-g11vyvkk.js} +90 -90
- package/dist/chunks/{worktree-ztf6n3de.js → location-activity-g42b6ca9.js} +4 -4
- package/dist/chunks/{worktree-g5h9c0rr.js → location-activity-g5h9c0rr.js} +2 -2
- package/dist/chunks/{worktree-pdt2ff5a.js → location-activity-g6ygjhqz.js} +8 -8
- package/dist/chunks/{worktree-e91b353h.js → location-activity-gbf1h0p6.js} +2 -2
- package/dist/chunks/{worktree-m3sy78y2.js → location-activity-gc3w7c14.js} +44 -44
- package/dist/chunks/{worktree-e50pjhb3.js → location-activity-gcy584ez.js} +16 -16
- package/dist/chunks/{worktree-a74nhg91.js → location-activity-gfhqxdr4.js} +20 -20
- package/dist/chunks/{worktree-zm3q4tch.js → location-activity-ggdadg23.js} +25 -25
- package/dist/chunks/{worktree-wzcykjgt.js → location-activity-ghfxwrd0.js} +74 -74
- package/dist/chunks/{worktree-aykhvqdn.js → location-activity-gpk4vna8.js} +11 -11
- package/dist/chunks/{worktree-dks4h55m.js → location-activity-gq3pb2ky.js} +57 -57
- package/dist/chunks/location-activity-grzehpz7.js +18 -0
- package/dist/chunks/{worktree-yrdnce5a.js → location-activity-h0bcja7y.js} +1 -1
- package/dist/chunks/{worktree-0pv1adqs.js → location-activity-h3yr6ymm.js} +6 -6
- package/dist/chunks/{worktree-6hasb7jx.js → location-activity-hajksvt1.js} +21 -21
- package/dist/chunks/{worktree-g7esga4v.js → location-activity-hfgk9wzg.js} +7 -7
- package/dist/chunks/{worktree-zqjghnyq.js → location-activity-hspcae4d.js} +26 -26
- package/dist/chunks/{worktree-ydsespw1.js → location-activity-hy8c1z76.js} +8 -8
- package/dist/chunks/{worktree-j113cymg.js → location-activity-j113cymg.js} +1 -1
- package/dist/chunks/{worktree-rtapny2j.js → location-activity-j1qbb91p.js} +19 -19
- package/dist/chunks/{worktree-cw1ztss7.js → location-activity-j1svzg7h.js} +19 -19
- package/dist/chunks/{worktree-hb5n2c5k.js → location-activity-j3xacg7z.js} +14 -14
- package/dist/chunks/{worktree-8kk74xj2.js → location-activity-j4691fhs.js} +12 -12
- package/dist/chunks/{worktree-adrm93f2.js → location-activity-j5awm6ww.js} +6 -6
- package/dist/chunks/{worktree-p8rd148r.js → location-activity-j72q7jsp.js} +2 -2
- package/dist/chunks/{worktree-xy4vra7r.js → location-activity-j9d7tr1v.js} +13 -13
- package/dist/chunks/{worktree-gcjdgkn2.js → location-activity-jcqm84fr.js} +9 -9
- package/dist/chunks/{worktree-8h6r4m67.js → location-activity-jhge9k7e.js} +31 -31
- package/dist/chunks/{worktree-rd5c3v22.js → location-activity-jnvbehxc.js} +25 -25
- package/dist/chunks/{worktree-z54qrd8r.js → location-activity-jq363kms.js} +4 -4
- package/dist/chunks/{worktree-j6grf6bb.js → location-activity-jr82jprn.js} +26 -26
- package/dist/chunks/{worktree-arbdk1zr.js → location-activity-jsfyp282.js} +21 -21
- package/dist/chunks/{worktree-kb4178cy.js → location-activity-jy367g8a.js} +10 -10
- package/dist/chunks/{worktree-yj3d1z1y.js → location-activity-jy8aw3fz.js} +24 -24
- package/dist/chunks/{worktree-vcpvdpk3.js → location-activity-k27hgwn3.js} +12 -12
- package/dist/chunks/{worktree-nbwz5qgq.js → location-activity-k6t2g0a3.js} +28 -28
- package/dist/chunks/{worktree-k814nvkf.js → location-activity-k814nvkf.js} +1 -1
- package/dist/chunks/{worktree-d30eyz0g.js → location-activity-k9brgbn2.js} +41 -41
- package/dist/chunks/{worktree-ssfehs1z.js → location-activity-kkqethq7.js} +4 -4
- package/dist/chunks/{worktree-5z2q9a8r.js → location-activity-knfxgszc.js} +21 -21
- package/dist/chunks/{worktree-kt3bjfbg.js → location-activity-kt3bjfbg.js} +1 -1
- package/dist/chunks/{worktree-3647s6zq.js → location-activity-kxbyk518.js} +6 -6
- package/dist/chunks/{worktree-m1714858.js → location-activity-m1714858.js} +1 -1
- package/dist/chunks/{worktree-z1dp9nz5.js → location-activity-m1vsf3wt.js} +7 -7
- package/dist/chunks/{worktree-w78kaheb.js → location-activity-m5t3njjp.js} +11 -11
- package/dist/chunks/{worktree-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-maspj1v3.js → location-activity-maspj1v3.js} +1 -1
- package/dist/chunks/{worktree-45t4pvv9.js → location-activity-msj7tqt3.js} +8 -8
- package/dist/chunks/{worktree-4fkatqpa.js → location-activity-mye58y5r.js} +11 -11
- package/dist/chunks/{worktree-5pq867hf.js → location-activity-myjk140s.js} +1 -1
- package/dist/chunks/{worktree-36p3y7jg.js → location-activity-n5b16bzg.js} +13 -13
- package/dist/chunks/{worktree-afmnpta1.js → location-activity-n6v2b7cw.js} +5 -5
- package/dist/chunks/{worktree-nah043kf.js → location-activity-nah043kf.js} +1 -1
- package/dist/chunks/{worktree-4sarpyhn.js → location-activity-nbmkd425.js} +24 -24
- package/dist/chunks/{worktree-p015t6z3.js → location-activity-p015t6z3.js} +2 -2
- package/dist/chunks/{worktree-cf3d3h2s.js → location-activity-p125zy0q.js} +14 -14
- package/dist/chunks/{worktree-p7vhpwh8.js → location-activity-p7vhpwh8.js} +1 -1
- package/dist/chunks/{worktree-s602p396.js → location-activity-p8pcbj49.js} +9 -9
- package/dist/chunks/{worktree-0s95dftc.js → location-activity-pfcqehyw.js} +5 -5
- package/dist/chunks/{worktree-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-97p8nte2.js → location-activity-pw0akqv8.js} +5 -5
- package/dist/chunks/{worktree-m6f7840m.js → location-activity-pybkjvpz.js} +28 -28
- package/dist/chunks/{worktree-8n09hdvs.js → location-activity-q1nnka74.js} +8 -8
- package/dist/chunks/{worktree-dz8hhvgv.js → location-activity-q46y00v4.js} +9 -9
- package/dist/chunks/{worktree-3dj841q6.js → location-activity-q8d6p094.js} +40 -40
- package/dist/chunks/{worktree-stn0kadw.js → location-activity-q8daycq1.js} +36 -36
- package/dist/chunks/{worktree-9c77wjje.js → location-activity-qjfw0xrc.js} +21 -21
- package/dist/chunks/{worktree-cd50e0wg.js → location-activity-qkas69ay.js} +11 -11
- package/dist/chunks/{worktree-p0wrzpeb.js → location-activity-qp0pjfax.js} +18 -18
- package/dist/chunks/{worktree-z6b1690w.js → location-activity-qzxvg6nn.js} +43 -43
- package/dist/chunks/{worktree-r0yr0wbs.js → location-activity-r0yr0wbs.js} +1 -1
- package/dist/chunks/{worktree-j28jswtw.js → location-activity-r1bpggkg.js} +15 -15
- package/dist/chunks/{worktree-w145qvk2.js → location-activity-r249qerf.js} +10 -10
- package/dist/chunks/{worktree-y82h6rr8.js → location-activity-r2f98fb0.js} +21 -21
- package/dist/chunks/{worktree-r542h3bh.js → location-activity-r542h3bh.js} +1 -1
- package/dist/chunks/{worktree-rb9dy4dg.js → location-activity-rb9dy4dg.js} +1 -1
- package/dist/chunks/{worktree-q066xmm0.js → location-activity-rgf5zwbc.js} +26 -26
- package/dist/chunks/{worktree-jjbrt4w4.js → location-activity-rk386mc4.js} +19 -19
- package/dist/chunks/{worktree-rt5dr6hb.js → location-activity-rt5dr6hb.js} +1 -1
- package/dist/chunks/{worktree-fepbbevx.js → location-activity-rzzj9a3f.js} +85 -85
- package/dist/chunks/{worktree-h9t23wpm.js → location-activity-s1zqtkx1.js} +9 -9
- package/dist/chunks/{worktree-t2n4qmf3.js → location-activity-s5g5aw75.js} +4 -4
- package/dist/chunks/{worktree-sa3fpqfw.js → location-activity-sa3fpqfw.js} +2 -2
- package/dist/chunks/{worktree-gbbgar44.js → location-activity-sfd0nrs4.js} +15 -15
- package/dist/chunks/{worktree-e9p3jgk6.js → location-activity-shx9aams.js} +25 -25
- package/dist/chunks/{worktree-24kf08q0.js → location-activity-sns7yv86.js} +30 -30
- package/dist/chunks/{worktree-wx8nkbb1.js → location-activity-spzfee89.js} +25 -25
- package/dist/chunks/{worktree-sqjzf8x2.js → location-activity-sqjzf8x2.js} +1 -1
- package/dist/chunks/{worktree-tczq8hjw.js → location-activity-tczq8hjw.js} +1 -1
- package/dist/chunks/{worktree-rn2kv32m.js → location-activity-tffz7380.js} +12 -12
- package/dist/chunks/{worktree-ad2qwzwg.js → location-activity-th0j3rqy.js} +51 -51
- package/dist/chunks/{worktree-3nnrz6f6.js → location-activity-tmc7xdjs.js} +4 -4
- package/dist/chunks/{worktree-hem0ycea.js → location-activity-tptq9ch4.js} +34 -34
- package/dist/chunks/{worktree-arz7hw7x.js → location-activity-ts7mkfs9.js} +2 -2
- package/dist/chunks/{worktree-x8rzfgrc.js → location-activity-tsnb3ney.js} +14 -14
- package/dist/chunks/{worktree-s6fqr474.js → location-activity-twadjf9w.js} +10 -10
- package/dist/chunks/{worktree-9n98ejx3.js → location-activity-twdxws5c.js} +35 -35
- package/dist/chunks/{worktree-twv2r8f4.js → location-activity-twv2r8f4.js} +2 -2
- package/dist/chunks/{worktree-rs5sv2a8.js → location-activity-v2ks0v8v.js} +10 -10
- package/dist/chunks/{worktree-v2r1d0zg.js → location-activity-v2r1d0zg.js} +1 -1
- package/dist/chunks/{worktree-vd3b3yk9.js → location-activity-vd3b3yk9.js} +1 -1
- package/dist/chunks/{worktree-d2dx6a7h.js → location-activity-vdxpn21v.js} +4 -4
- package/dist/chunks/{worktree-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-hthy47ds.js → location-activity-vhy7p45g.js} +18 -18
- package/dist/chunks/{worktree-w78vkh9t.js → location-activity-vm344f9z.js} +22 -22
- package/dist/chunks/{worktree-a8mb2d06.js → location-activity-vnnnn0es.js} +25 -25
- package/dist/chunks/{worktree-qyzf8248.js → location-activity-vymys6j6.js} +16 -16
- package/dist/chunks/{worktree-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-wakvkjy4.js → location-activity-wakvkjy4.js} +1 -1
- package/dist/chunks/{worktree-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-vta5p220.js → location-activity-wpa07s6k.js} +4 -4
- package/dist/chunks/{worktree-zweymgaq.js → location-activity-wqajr36m.js} +11 -11
- package/dist/chunks/{worktree-wr3re1en.js → location-activity-wr3re1en.js} +1 -1
- package/dist/chunks/{worktree-7a4k0486.js → location-activity-wstp8737.js} +6 -6
- package/dist/chunks/{worktree-n4q2bts1.js → location-activity-wxprmxtq.js} +29 -29
- package/dist/chunks/{worktree-dds9zz6p.js → location-activity-x26wqd07.js} +4 -4
- package/dist/chunks/{worktree-3e59rph2.js → location-activity-x3wrktsw.js} +9 -9
- package/dist/chunks/{worktree-6xsx1z0g.js → location-activity-xa2396zj.js} +26 -26
- package/dist/chunks/{worktree-6k95y278.js → location-activity-xm1hrz56.js} +14 -14
- package/dist/chunks/{worktree-0zpa3jfg.js → location-activity-xmh1d652.js} +25 -25
- package/dist/chunks/{worktree-80yrqs2x.js → location-activity-xwace2t1.js} +25 -25
- package/dist/chunks/{worktree-2fjys8ky.js → location-activity-y159kj1b.js} +2 -2
- package/dist/chunks/{worktree-rphf3yd4.js → location-activity-y7fvevzk.js} +27 -27
- package/dist/chunks/{worktree-yb20nhc3.js → location-activity-yb20nhc3.js} +1 -1
- package/dist/chunks/{worktree-hjpd440b.js → location-activity-yb8v32d2.js} +19 -19
- package/dist/chunks/{worktree-gdr92bwx.js → location-activity-ybsnzayh.js} +11 -11
- package/dist/chunks/{worktree-pnqk97j3.js → location-activity-yh80qtsd.js} +13 -13
- package/dist/chunks/{worktree-sz7p3par.js → location-activity-yhpern24.js} +17 -17
- package/dist/chunks/{worktree-setr6b4n.js → location-activity-ymtz0ncd.js} +40 -40
- package/dist/chunks/location-activity-ynhjqnw5.js +261 -0
- package/dist/chunks/{worktree-gsb6mw3d.js → location-activity-ynxbjwqk.js} +142 -142
- package/dist/chunks/{worktree-5nftfhq6.js → location-activity-yxw41t39.js} +39 -39
- package/dist/chunks/{worktree-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-7193gb3b.js → location-activity-z226nxt7.js} +5 -5
- package/dist/chunks/{worktree-z38nccrw.js → location-activity-z38nccrw.js} +1 -1
- package/dist/chunks/{worktree-2bzhzvzq.js → location-activity-z6sk7g2v.js} +5 -5
- package/dist/chunks/{worktree-vx60mxx6.js → location-activity-z8b6a6tg.js} +10 -10
- package/dist/chunks/{worktree-zyeyds15.js → location-activity-z8gfxwh4.js} +9 -9
- package/dist/chunks/{worktree-r73cphfz.js → location-activity-zjg58x4z.js} +9 -9
- package/dist/chunks/{worktree-zkg84ctx.js → location-activity-zkg84ctx.js} +1 -1
- package/dist/chunks/{worktree-gstbwwx4.js → location-activity-zqzv0jg6.js} +6 -6
- package/dist/chunks/{worktree-h2fy2dat.js → location-activity-zvgs83an.js} +15 -15
- package/dist/chunks/{worktree-42dtxe9w.js → location-activity-zyj6nmkw.js} +23 -23
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +87 -87
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +104 -104
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +137 -137
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +120 -120
- package/dist/config/plugin/provider.js +119 -119
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +107 -107
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +76 -76
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +53 -53
- package/dist/database/migration.js +55 -55
- 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 +92 -92
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +376 -376
- 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 +98 -98
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +98 -98
- 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 +76 -76
- package/dist/file-access.js +109 -109
- package/dist/file-mutation.js +99 -99
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +229 -229
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +107 -107
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +92 -92
- package/dist/generate.js +112 -112
- package/dist/git.js +9 -9
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +96 -96
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +367 -367
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +92 -92
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +77 -77
- package/dist/location-activity.js +159 -159
- package/dist/location-lifecycle.js +112 -112
- package/dist/location-service-map.js +91 -91
- package/dist/location-services.js +364 -364
- package/dist/location.js +92 -92
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +96 -96
- package/dist/mcp/index.js +114 -114
- package/dist/mcp/instructions.js +143 -143
- package/dist/mcp/oauth.js +82 -82
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +95 -95
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +96 -96
- package/dist/model-resolver.js +104 -104
- package/dist/model-retry.js +1 -1
- package/dist/model.js +103 -103
- package/dist/models-dev.js +112 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +94 -94
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +79 -79
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +105 -105
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +222 -222
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +337 -337
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +101 -101
- package/dist/plugin/module.js +120 -120
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +107 -107
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +95 -95
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +98 -98
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +100 -100
- package/dist/plugin/provider/gitlab.js +98 -98
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +82 -82
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +97 -97
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai-context-caps.js +95 -95
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode-legacy.js +103 -103
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +96 -96
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +83 -83
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +96 -96
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +95 -95
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +96 -96
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +91 -91
- package/dist/plugin/vcs/hg.js +91 -91
- package/dist/plugin/verbosity.js +98 -98
- package/dist/plugin/warming.js +116 -116
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +231 -231
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +94 -94
- package/dist/repository-cache.js +86 -86
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +100 -100
- package/dist/rpc.js +91 -91
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +78 -78
- package/dist/session/compaction.js +139 -139
- package/dist/session/context.js +167 -167
- package/dist/session/diff.js +93 -93
- 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 +224 -224
- package/dist/session/execution.js +133 -133
- package/dist/session/generate.js +169 -169
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +99 -99
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +102 -102
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +123 -123
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +135 -135
- package/dist/session/projector.js +93 -93
- package/dist/session/prompt.js +110 -110
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +99 -99
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +233 -233
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +105 -105
- package/dist/session/runner/publish-llm-event.js +118 -118
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +131 -131
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +110 -110
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +214 -214
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +169 -169
- package/dist/session/to-session-error.js +117 -117
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +11 -11
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +110 -110
- package/dist/skill.js +117 -117
- package/dist/snapshot.js +96 -96
- 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 +142 -142
- package/dist/tool/plugin/edit.js +125 -125
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +129 -129
- package/dist/tool/plugin/grep.js +129 -129
- package/dist/tool/plugin/mcp-resource.js +129 -129
- package/dist/tool/plugin/opencode.js +114 -114
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +108 -108
- package/dist/tool/plugin/read.js +130 -130
- package/dist/tool/plugin/shell.js +219 -219
- package/dist/tool/plugin/skill.js +116 -116
- package/dist/tool/plugin/subagent.js +221 -221
- package/dist/tool/plugin/todo.js +140 -140
- package/dist/tool/plugin/webfetch.js +118 -118
- package/dist/tool/plugin/websearch.js +115 -115
- package/dist/tool/plugin/write.js +125 -125
- package/dist/tool/read-filesystem.js +107 -107
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/usage-limits.js +93 -93
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +97 -97
- 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/variant.js +98 -98
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +92 -92
- package/dist/voice.js +92 -92
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +94 -94
- package/dist/worktree.js +103 -103
- package/package.json +8 -8
- package/dist/chunks/worktree-00yw50eq.js +0 -261
- package/dist/chunks/worktree-f8ma18fn.js +0 -18
- package/dist/chunks/worktree-wntn4vfk.js +0 -26
- package/dist/chunks/worktree-x2457qsk.js +0 -517
- /package/dist/chunks/{worktree-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2bv980vf.js → location-activity-2bv980vf.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5fjb7ams.js → location-activity-5fjb7ams.js} +0 -0
- /package/dist/chunks/{worktree-5qd3pb7m.js → location-activity-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-6q2bdcd1.js → location-activity-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-84wd9syh.js → location-activity-84wd9syh.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a058387c.js → location-activity-a058387c.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cqv5kn06.js → location-activity-cqv5kn06.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hcxmzztb.js → location-activity-hcxmzztb.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jwr30sdr.js → location-activity-jwr30sdr.js} +0 -0
- /package/dist/chunks/{worktree-jze0r7bz.js → location-activity-jze0r7bz.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-m18g726c.js → location-activity-m18g726c.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-pkyv6v7h.js → location-activity-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-ve7vex1e.js → location-activity-ve7vex1e.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wjj7prxr.js → location-activity-wjj7prxr.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z5v4ffb3.js → location-activity-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./location-activity-7a16ehjz.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
|
|
|
54
54
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service82;
|
|
58
58
|
const system = (() => {
|
|
59
59
|
if (options?.system === false)
|
|
60
60
|
return;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node91
|
|
4
|
+
} from "./location-activity-595k99j1.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node90
|
|
8
|
+
} from "./location-activity-7z3rpvwm.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event17,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
25
|
+
ID: () => ID15,
|
|
26
26
|
Info: () => Info26,
|
|
27
|
-
Key: () =>
|
|
27
|
+
Key: () => Key3,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service80,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node84
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,24 +36,24 @@ import { Credential } from "@opencode/schema/credential";
|
|
|
36
36
|
import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
|
-
var
|
|
39
|
+
var ID15 = Credential.ID;
|
|
40
40
|
var OAuth3 = Credential.OAuth;
|
|
41
|
-
var
|
|
41
|
+
var Key3 = Credential.Key;
|
|
42
42
|
var External2 = Credential.External;
|
|
43
43
|
var Value2 = Credential.Value;
|
|
44
|
-
var
|
|
44
|
+
var Event17 = Credential.Event;
|
|
45
45
|
|
|
46
46
|
class Info26 extends Schema.Class("Credential.Info")({
|
|
47
|
-
id:
|
|
47
|
+
id: ID15,
|
|
48
48
|
integrationID: Integration.ID,
|
|
49
49
|
label: Schema.String,
|
|
50
50
|
value: Value2
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service80 extends Context.Service()("@opencode/Credential") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
56
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
57
57
|
const db = (yield* Service87).db;
|
|
58
58
|
const bus = yield* Service86;
|
|
59
59
|
const decode = Schema.decodeUnknownSync(CredentialLegacy.Value);
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
71
71
|
const credential = stored(row);
|
|
72
72
|
return credential ? [credential] : [];
|
|
73
73
|
});
|
|
74
|
-
return
|
|
74
|
+
return Service80.of({
|
|
75
75
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
76
76
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
77
77
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -80,7 +80,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
80
80
|
}),
|
|
81
81
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
82
82
|
const credential = new Info26({
|
|
83
|
-
id: input.id ??
|
|
83
|
+
id: input.id ?? ID15.create(),
|
|
84
84
|
integrationID: input.integrationID,
|
|
85
85
|
label: input.label ?? "default",
|
|
86
86
|
value: input.value
|
|
@@ -111,9 +111,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
111
111
|
type: credential.value.type,
|
|
112
112
|
active: activated
|
|
113
113
|
});
|
|
114
|
-
yield* bus.publish(
|
|
114
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
115
115
|
if (activated)
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event17.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
117
117
|
return credential;
|
|
118
118
|
}),
|
|
119
119
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
133
133
|
})), Effect.orDie);
|
|
134
134
|
if (integrationID) {
|
|
135
135
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
136
|
-
yield* bus.publish(
|
|
136
|
+
yield* bus.publish(Event17.Switched, { integrationID, credentialID: id }, { global: true });
|
|
137
137
|
}
|
|
138
138
|
}),
|
|
139
139
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
165
165
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
166
166
|
});
|
|
167
167
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
168
|
-
yield* bus.publish(
|
|
168
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
169
169
|
}),
|
|
170
170
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
171
171
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -198,12 +198,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
198
198
|
active: removed.switched,
|
|
199
199
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
200
200
|
});
|
|
201
|
-
yield* bus.publish(
|
|
201
|
+
yield* bus.publish(Event17.Updated, {}, { global: true });
|
|
202
202
|
if (removed.switched)
|
|
203
|
-
yield* bus.publish(
|
|
203
|
+
yield* bus.publish(Event17.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
204
204
|
})
|
|
205
205
|
});
|
|
206
206
|
}));
|
|
207
|
-
var
|
|
207
|
+
var node84 = makeGlobalNode({ service: Service80, layer, deps: [node91, node90] });
|
|
208
208
|
|
|
209
|
-
export {
|
|
209
|
+
export { ID15, OAuth3, Key3, External2, Value2, Event17, Info26, Service80, node84, exports_credential };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service38,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node41
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service38 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service38, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service38.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service52, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node41 = makeGlobalNode({ service: Service38, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service38, node41, exports_environment };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-vd3b3yk9.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service8,
|
|
13
|
+
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service8 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service8.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node9 = makeLocationNode({ service: Service8, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service8, node9, exports_location_watcher_policy };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node90
|
|
4
|
+
} from "./location-activity-7z3rpvwm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node68
|
|
7
|
+
} from "./location-activity-5csg2dg3.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service2,
|
|
10
|
+
node3
|
|
11
|
+
} from "./location-activity-spzfee89.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service16
|
|
14
|
+
} from "./location-activity-1zc1v7j6.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service35
|
|
17
|
+
} from "./location-activity-grzehpz7.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
node23,
|
|
20
|
+
ID3
|
|
21
|
+
} from "./location-activity-2k60tzqy.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service3,
|
|
24
|
+
node4
|
|
25
|
+
} from "./location-activity-hy8c1z76.js";
|
|
26
26
|
import {
|
|
27
27
|
requirements2,
|
|
28
28
|
guarded2,
|
|
29
29
|
list2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-activity-4zjpcea3.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make3,
|
|
33
33
|
LoadError2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-activity-0ms9wyx6.js";
|
|
35
35
|
import {
|
|
36
36
|
Updated2,
|
|
37
37
|
Service4,
|
|
38
38
|
node5
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-activity-4sz2zbgb.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service5,
|
|
42
|
+
node6
|
|
43
|
+
} from "./location-activity-dkqkergf.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/plugin/supervisor.ts
|
|
49
49
|
var exports_supervisor = {};
|
|
50
50
|
__export(exports_supervisor, {
|
|
51
51
|
PluginSupervisor: () => exports_supervisor,
|
|
52
52
|
layer: () => layer3,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node2
|
|
54
54
|
});
|
|
55
55
|
import { Event } from "@opencode/schema/config";
|
|
56
56
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -127,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
127
127
|
failures: [
|
|
128
128
|
...failures.values(),
|
|
129
129
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
130
|
-
id:
|
|
130
|
+
id: ID3.make(plugin.id),
|
|
131
131
|
source: plugin.source ?? { type: "builtin" },
|
|
132
132
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
133
133
|
features: { server: true, ...plugin.features }
|
|
@@ -137,14 +137,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
137
137
|
};
|
|
138
138
|
});
|
|
139
139
|
var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
140
|
-
const managed = yield*
|
|
141
|
-
const registry = yield*
|
|
140
|
+
const managed = yield* Service16;
|
|
141
|
+
const registry = yield* Service35;
|
|
142
142
|
const sdk = yield* Service4;
|
|
143
|
-
const instance = yield*
|
|
144
|
-
const sources = yield*
|
|
145
|
-
const modules = yield*
|
|
143
|
+
const instance = yield* Service3;
|
|
144
|
+
const sources = yield* Service2;
|
|
145
|
+
const modules = yield* make3();
|
|
146
146
|
const bus = yield* Service86;
|
|
147
|
-
const updates = yield*
|
|
147
|
+
const updates = yield* Service5;
|
|
148
148
|
const internal = yield* list2();
|
|
149
149
|
let release = yield* registry.hold();
|
|
150
150
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -220,14 +220,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
220
220
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
221
221
|
}));
|
|
222
222
|
var nodeDeps = [
|
|
223
|
-
|
|
223
|
+
node23,
|
|
224
224
|
node5,
|
|
225
|
-
node6,
|
|
226
225
|
node4,
|
|
227
|
-
|
|
228
|
-
|
|
226
|
+
node3,
|
|
227
|
+
node6,
|
|
228
|
+
node90,
|
|
229
229
|
Npm.node,
|
|
230
|
-
|
|
230
|
+
node68,
|
|
231
231
|
requirements2
|
|
232
232
|
];
|
|
233
233
|
function pluginSource(target) {
|
|
@@ -235,6 +235,6 @@ function pluginSource(target) {
|
|
|
235
235
|
return { type: "local", path: target };
|
|
236
236
|
return { type: "package", target };
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var node2 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
|
|
239
239
|
|
|
240
|
-
export { layer3,
|
|
240
|
+
export { layer3, node2, exports_supervisor };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node90
|
|
4
|
+
} from "./location-activity-7z3rpvwm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service42,
|
|
7
|
+
node45
|
|
8
|
+
} from "./location-activity-th0j3rqy.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-2z1j29yd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
node65
|
|
15
|
-
} from "./worktree-d30eyz0g.js";
|
|
16
|
-
import {
|
|
17
|
-
Service66,
|
|
13
|
+
Service65,
|
|
18
14
|
node69
|
|
19
|
-
} from "./
|
|
15
|
+
} from "./location-activity-k9brgbn2.js";
|
|
16
|
+
import {
|
|
17
|
+
Service52,
|
|
18
|
+
node57
|
|
19
|
+
} from "./location-activity-vm344f9z.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service55,
|
|
22
|
+
node60
|
|
23
|
+
} from "./location-activity-m5t3njjp.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_MIMES2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-rk386mc4.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/mcp.ts
|
|
32
32
|
var exports_mcp3 = {};
|
|
33
33
|
__export(exports_mcp3, {
|
|
34
34
|
McpTool: () => exports_mcp3,
|
|
35
|
-
Service: () =>
|
|
36
|
-
layer: () =>
|
|
37
|
-
name: () =>
|
|
35
|
+
Service: () => Service40,
|
|
36
|
+
layer: () => layer17,
|
|
37
|
+
name: () => name15,
|
|
38
38
|
namespace: () => namespace2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node43
|
|
40
40
|
});
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -45,16 +45,16 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
45
45
|
import { extension } from "mime-types";
|
|
46
46
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
47
47
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
48
|
-
var
|
|
48
|
+
var name15 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service40 extends Context.Service()("@opencode/McpTool") {
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
const mcp = yield*
|
|
54
|
-
const tools = yield*
|
|
52
|
+
var layer17 = Layer.effect(Service40, Effect.gen(function* () {
|
|
53
|
+
const mcp = yield* Service42;
|
|
54
|
+
const tools = yield* Service52;
|
|
55
55
|
const bus = yield* Service86;
|
|
56
|
-
const permission = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const permission = yield* Service65;
|
|
57
|
+
const toolOutput = yield* Service55;
|
|
58
58
|
const lock = Semaphore.makeUnsafe(1);
|
|
59
59
|
let discovered = [];
|
|
60
60
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -69,7 +69,7 @@ var layer12 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
69
69
|
output: tool.outputSchema ?? {},
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
yield* permission.assert({
|
|
72
|
-
action:
|
|
72
|
+
action: name15(tool.server, tool.name),
|
|
73
73
|
resources: ["*"],
|
|
74
74
|
save: ["*"],
|
|
75
75
|
metadata: { input: input ?? {} },
|
|
@@ -111,7 +111,7 @@ var layer12 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
111
111
|
output: output(),
|
|
112
112
|
...content.length === 0 ? {} : { content }
|
|
113
113
|
};
|
|
114
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
114
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name15(tool.server, tool.name)}` })))
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
});
|
|
@@ -124,7 +124,7 @@ var layer12 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service40.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
129
|
var toContent = Effect.fnUntraced(function* (part, toolOutput) {
|
|
130
130
|
if (part.type === "text")
|
|
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
|
|
|
144
144
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
145
145
|
};
|
|
146
146
|
});
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
149
|
-
layer:
|
|
150
|
-
deps: [
|
|
147
|
+
var node43 = makeLocationNode({
|
|
148
|
+
service: Service40,
|
|
149
|
+
layer: layer17,
|
|
150
|
+
deps: [node57, node45, node90, node69, node60]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { namespace2,
|
|
153
|
+
export { namespace2, name15, Service40, layer17, node43, exports_mcp3 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service63
|
|
4
|
+
} from "./location-activity-4avpmr6q.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-6pjqjmy2.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service65
|
|
10
|
+
} from "./location-activity-k9brgbn2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/todo.ts
|
|
16
16
|
var exports_todo = {};
|
|
17
17
|
__export(exports_todo, {
|
|
18
18
|
Info: () => Info2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
Output: () =>
|
|
21
|
-
Plugin: () =>
|
|
19
|
+
Input: () => Input12,
|
|
20
|
+
Output: () => Output8,
|
|
21
|
+
Plugin: () => Plugin48,
|
|
22
22
|
TodoTool: () => exports_todo,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name12,
|
|
24
24
|
summarize: () => summarize2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -37,17 +37,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
|
|
|
37
37
|
`;
|
|
38
38
|
|
|
39
39
|
// src/tool/plugin/todo.ts
|
|
40
|
-
var
|
|
40
|
+
var name12 = "todowrite";
|
|
41
41
|
var Info2 = Schema.Struct({
|
|
42
42
|
content: Schema.String.annotate({ description: "Brief description of the task" }),
|
|
43
43
|
status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
|
|
44
44
|
description: "Current status of the task: pending, in_progress, completed, cancelled"
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var Input12 = Schema.Struct({
|
|
48
48
|
todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Output8 = Schema.Struct({
|
|
51
51
|
todos: Schema.Array(Info2)
|
|
52
52
|
});
|
|
53
53
|
var summarize2 = (todos) => {
|
|
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
|
|
|
61
61
|
const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
|
|
62
62
|
return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
|
|
63
63
|
};
|
|
64
|
-
var
|
|
64
|
+
var Plugin48 = {
|
|
65
65
|
id: "opencode.tool.todo",
|
|
66
66
|
effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
|
|
67
|
-
const config = yield*
|
|
68
|
-
const permission = yield*
|
|
67
|
+
const config = yield* Service63;
|
|
68
|
+
const permission = yield* Service65;
|
|
69
69
|
const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
|
|
70
70
|
const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
|
|
71
71
|
yield* ctx.tool.transform((editor) => {
|
|
72
72
|
if (!enabled())
|
|
73
73
|
return;
|
|
74
74
|
editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name12,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: todowrite_default,
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input12,
|
|
79
|
+
output: Output8,
|
|
80
80
|
execute: (input, context) => permission.assert({
|
|
81
|
-
action:
|
|
81
|
+
action: name12,
|
|
82
82
|
resources: ["*"],
|
|
83
83
|
save: ["*"],
|
|
84
84
|
sessionID: context.sessionID,
|
|
@@ -94,4 +94,4 @@ var Plugin8 = {
|
|
|
94
94
|
})
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
export {
|
|
97
|
+
export { name12, Info2, Input12, Output8, summarize2, Plugin48, exports_todo };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured7,
|
|
11
|
+
layer: () => layer20,
|
|
12
|
+
make: () => make19,
|
|
13
|
+
node: () => node56,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make19()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make19(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make25(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer20 = (input) => Layer.succeed(Metadata2, make19(input));
|
|
32
|
+
var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer20(input), deps: [] });
|
|
33
|
+
var node56 = configured7();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make19, useragent2, layer20, configured7, node56, exports_app };
|