@opencode/core 0.0.0-dev-19767 → 0.0.0-dev-19768
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{worktree-2aet7wja.js → rpc-00x4qneg.js} +8 -8
- package/dist/chunks/{worktree-86v3dky3.js → rpc-03ya27h5.js} +25 -25
- package/dist/chunks/{worktree-kgy5z1s6.js → rpc-06bvpamw.js} +32 -32
- package/dist/chunks/{worktree-26k5bknw.js → rpc-06dxphr1.js} +4 -4
- package/dist/chunks/{worktree-vcy486hh.js → rpc-07b8vxfr.js} +17 -17
- package/dist/chunks/{worktree-415h19gn.js → rpc-0f2hvcp0.js} +3 -3
- package/dist/chunks/rpc-0mesazry.js +4 -0
- package/dist/chunks/{worktree-xrkx1905.js → rpc-0n0jwsa4.js} +15 -15
- package/dist/chunks/{worktree-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-9s8wz9g9.js → rpc-0pke5f7x.js} +3 -3
- package/dist/chunks/{worktree-0q0f95c6.js → rpc-0q0f95c6.js} +1 -1
- package/dist/chunks/{worktree-81gxmrf7.js → rpc-0xz2rdzt.js} +10 -10
- package/dist/chunks/{worktree-y394sqab.js → rpc-19psw4kw.js} +35 -35
- package/dist/chunks/{worktree-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-s0esgemt.js → rpc-1e47xjzc.js} +4 -4
- package/dist/chunks/{worktree-f17z2c8t.js → rpc-1hay94c8.js} +8 -8
- package/dist/chunks/{worktree-drdwtp1b.js → rpc-1qstprnj.js} +14 -14
- package/dist/chunks/{worktree-8sayz2ry.js → rpc-1rtae4b3.js} +4 -4
- package/dist/chunks/{worktree-21r38tys.js → rpc-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-6h73sxmp.js → rpc-2402vzrj.js} +5 -5
- package/dist/chunks/{worktree-h2pnfxb2.js → rpc-2a1gw4e3.js} +18 -18
- package/dist/chunks/{worktree-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-w5s35esc.js → rpc-2an2d3m2.js} +13 -13
- package/dist/chunks/{worktree-7dyhy7q1.js → rpc-2ckxww5x.js} +32 -32
- package/dist/chunks/{worktree-2kr5eys4.js → rpc-2gx3p52k.js} +2 -2
- package/dist/chunks/{worktree-89m3s2m0.js → rpc-30aq1584.js} +5 -5
- package/dist/chunks/{worktree-cwyz1c8d.js → rpc-31qexks3.js} +8 -8
- package/dist/chunks/{worktree-33w4ejhs.js → rpc-33w4ejhs.js} +2 -2
- package/dist/chunks/{worktree-d64tg2r5.js → rpc-385gehc9.js} +22 -22
- package/dist/chunks/{worktree-tajkn4gv.js → rpc-3dwcw46t.js} +9 -9
- package/dist/chunks/{worktree-3fc6dm20.js → rpc-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-0mczw89w.js → rpc-3jqbcwss.js} +5 -5
- package/dist/chunks/{worktree-m7fm29bt.js → rpc-3pj53k19.js} +7 -7
- package/dist/chunks/{worktree-w1kb69s9.js → rpc-3qbarsqj.js} +3 -3
- package/dist/chunks/{worktree-mn5995mw.js → rpc-3qqmmvpd.js} +5 -5
- package/dist/chunks/{worktree-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-zqx8wcya.js → rpc-3tq5qxbk.js} +6 -6
- package/dist/chunks/{worktree-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-2khg11rk.js → rpc-40rf1k3m.js} +42 -42
- package/dist/chunks/{worktree-xr43neyx.js → rpc-41dhw66n.js} +11 -11
- package/dist/chunks/{worktree-hpa29ags.js → rpc-41qxn9en.js} +11 -11
- package/dist/chunks/{worktree-q52v1zkd.js → rpc-441xk2wv.js} +11 -11
- package/dist/chunks/{worktree-ja7kfczc.js → rpc-4e8qszek.js} +28 -28
- package/dist/chunks/{worktree-7vt8smsy.js → rpc-4nc59ys8.js} +24 -24
- package/dist/chunks/{worktree-fqpen2k4.js → rpc-4qe7px6w.js} +12 -12
- package/dist/chunks/{worktree-nmmfddzk.js → rpc-4qtnyxmw.js} +12 -12
- package/dist/chunks/{worktree-tmezp53v.js → rpc-4v96es07.js} +11 -11
- package/dist/chunks/{worktree-ng27n122.js → rpc-51gh9mjg.js} +9 -9
- package/dist/chunks/{worktree-qqeeq2t9.js → rpc-57b9ws8p.js} +4 -4
- package/dist/chunks/{worktree-57ez7d0k.js → rpc-57ez7d0k.js} +2 -2
- package/dist/chunks/{worktree-9pnj26g7.js → rpc-59430qn2.js} +32 -32
- package/dist/chunks/{worktree-cdjzdxw3.js → rpc-5a2kpf64.js} +26 -26
- package/dist/chunks/{worktree-63vazbh0.js → rpc-5bwjhp8y.js} +13 -13
- package/dist/chunks/{worktree-kncab3ca.js → rpc-5d58ppw3.js} +8 -8
- package/dist/chunks/{worktree-5daktx2q.js → rpc-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-6t9jm67f.js → rpc-5nf8yzxg.js} +16 -16
- package/dist/chunks/{worktree-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-zart4t36.js → rpc-5x7c2wf2.js} +30 -30
- package/dist/chunks/{worktree-9hn6k4tm.js → rpc-5xtgfte3.js} +8 -8
- package/dist/chunks/{worktree-0yn9kbqd.js → rpc-63b7dk7a.js} +13 -13
- package/dist/chunks/{worktree-sybsj1vd.js → rpc-661x4vhc.js} +18 -18
- package/dist/chunks/{worktree-669tq793.js → rpc-669tq793.js} +1 -1
- package/dist/chunks/{worktree-fam2aybr.js → rpc-67hqntb1.js} +23 -23
- package/dist/chunks/{worktree-6hjx5zpb.js → rpc-6fatt4mk.js} +9 -9
- package/dist/chunks/{worktree-4hxng2fz.js → rpc-6hn9vftv.js} +100 -100
- package/dist/chunks/{worktree-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-jja466qr.js → rpc-6tfzq80j.js} +16 -16
- package/dist/chunks/rpc-6tr03act.js +478 -0
- package/dist/chunks/{worktree-necmxhx4.js → rpc-6xqrezwf.js} +23 -23
- package/dist/chunks/{worktree-wg7aatbm.js → rpc-6ztcfs7p.js} +9 -9
- package/dist/chunks/{worktree-w676nq5f.js → rpc-717ghxt8.js} +13 -13
- package/dist/chunks/{worktree-1bbkgx8g.js → rpc-73tb2d7t.js} +3 -3
- package/dist/chunks/{worktree-mwt0hxwz.js → rpc-77xv8qnb.js} +25 -25
- package/dist/chunks/{worktree-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-q001hfjm.js → rpc-7empqehg.js} +26 -26
- package/dist/chunks/{worktree-2hckyyez.js → rpc-7g1b9e87.js} +179 -179
- package/dist/chunks/{worktree-aswfnv87.js → rpc-7gxx14q2.js} +26 -26
- package/dist/chunks/{worktree-7s6gk46a.js → rpc-7w3s9kd0.js} +7 -7
- package/dist/chunks/{worktree-vb8m6727.js → rpc-7yts529q.js} +17 -17
- package/dist/chunks/{worktree-j972s74s.js → rpc-8443f5nj.js} +10 -10
- package/dist/chunks/{worktree-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-e7dyj58f.js → rpc-8fr063mm.js} +6 -6
- package/dist/chunks/{worktree-vtmwze1j.js → rpc-8ngn4amj.js} +13 -13
- package/dist/chunks/{worktree-8p4f9s12.js → rpc-8p4f9s12.js} +2 -2
- package/dist/chunks/{worktree-hwe7x4em.js → rpc-8q9myf25.js} +6 -6
- package/dist/chunks/{worktree-jq6rrm66.js → rpc-8tsgd2r8.js} +4 -4
- package/dist/chunks/{worktree-76kr4s17.js → rpc-8v81ap7w.js} +5 -5
- package/dist/chunks/{worktree-ma5b8j4s.js → rpc-8vw1s5ac.js} +27 -27
- package/dist/chunks/{worktree-7p34082x.js → rpc-90tmb45y.js} +18 -18
- package/dist/chunks/{worktree-ra1f23w6.js → rpc-97gjn119.js} +26 -26
- package/dist/chunks/{worktree-yta3sn21.js → rpc-9gdca3sp.js} +4 -4
- package/dist/chunks/{worktree-fzc0zagk.js → rpc-9jdzzeg8.js} +9 -9
- package/dist/chunks/{worktree-hnx402aw.js → rpc-9mnvft0v.js} +10 -10
- package/dist/chunks/{worktree-a1bz86dw.js → rpc-a1bz86dw.js} +3 -3
- package/dist/chunks/{worktree-99jpd8te.js → rpc-a2ek1kst.js} +18 -18
- package/dist/chunks/{worktree-jca4demv.js → rpc-a3r4dcrj.js} +2 -2
- package/dist/chunks/{worktree-kh43tbq9.js → rpc-a9kshccq.js} +26 -26
- package/dist/chunks/{worktree-aaet6srn.js → rpc-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-h4bptjw1.js → rpc-ajcq3rsy.js} +3 -3
- package/dist/chunks/{worktree-te6g59r9.js → rpc-azc3hc5h.js} +5 -5
- package/dist/chunks/{worktree-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-8s9esm8s.js → rpc-bk9n9jmm.js} +12 -12
- package/dist/chunks/{worktree-gynbp3j3.js → rpc-by79b0xz.js} +9 -9
- package/dist/chunks/{worktree-b97cbvw3.js → rpc-bz85s9hh.js} +1 -1
- package/dist/chunks/{worktree-hkygx1vj.js → rpc-ccerenm9.js} +25 -25
- package/dist/chunks/{worktree-cfpkc3c9.js → rpc-cfpkc3c9.js} +2 -2
- package/dist/chunks/{worktree-zcrspsvn.js → rpc-ckf8nxjz.js} +4 -4
- package/dist/chunks/{worktree-vtk7nzxk.js → rpc-cm2gcn74.js} +41 -41
- package/dist/chunks/{worktree-3k6sfp50.js → rpc-cpy6gm2a.js} +6 -6
- package/dist/chunks/{worktree-1amrr7ey.js → rpc-cw0rdypx.js} +3 -3
- package/dist/chunks/{worktree-qfqkpq0b.js → rpc-d1scngp8.js} +14 -14
- package/dist/chunks/rpc-d9rhtefz.js +252 -0
- package/dist/chunks/{worktree-ht336jn2.js → rpc-dapwe4r9.js} +31 -31
- package/dist/chunks/{worktree-151xc3da.js → rpc-dd4gamh2.js} +17 -17
- package/dist/chunks/rpc-decdbwb1.js +26 -0
- package/dist/chunks/{worktree-q9pnxbc2.js → rpc-dg8gsmcc.js} +18 -18
- package/dist/chunks/{worktree-cwa6csj7.js → rpc-djszqvmq.js} +9 -9
- package/dist/chunks/{worktree-fdcdwsmf.js → rpc-dpgzjw3q.js} +8 -8
- package/dist/chunks/{worktree-vfmzn6hv.js → rpc-dvdg9bhy.js} +46 -46
- package/dist/chunks/{worktree-bccs4bt1.js → rpc-dw280mng.js} +20 -20
- package/dist/chunks/{worktree-c7dfawsb.js → rpc-dz1g8w7a.js} +32 -32
- package/dist/chunks/{worktree-vcaqzj1m.js → rpc-e0k1f92f.js} +23 -23
- package/dist/chunks/{worktree-n4jz3xah.js → rpc-eadymk8b.js} +19 -19
- package/dist/chunks/{worktree-jwbs44k2.js → rpc-edh6544k.js} +44 -44
- package/dist/chunks/{worktree-ef5x83kb.js → rpc-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-5egw3kcn.js → rpc-ek5sz9e1.js} +10 -10
- package/dist/chunks/{worktree-y7x142mt.js → rpc-ep6z9mt6.js} +8 -8
- package/dist/chunks/{worktree-7rgj22wf.js → rpc-epepptxw.js} +32 -32
- package/dist/chunks/{worktree-erw5rpbs.js → rpc-erw5rpbs.js} +2 -2
- package/dist/chunks/{worktree-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-mkry6x9x.js → rpc-eyrmmecm.js} +17 -17
- package/dist/chunks/{worktree-xd9rknpb.js → rpc-ezfr3s8z.js} +15 -15
- package/dist/chunks/{worktree-krf6f92z.js → rpc-f535mys6.js} +1 -1
- package/dist/chunks/{worktree-f828m53h.js → rpc-f828m53h.js} +2 -2
- package/dist/chunks/{worktree-607tc6va.js → rpc-fcrkznn8.js} +5 -5
- package/dist/chunks/{worktree-e2qcy9fz.js → rpc-fvr26rhy.js} +24 -24
- package/dist/chunks/{worktree-fxbjtjnd.js → rpc-fxbjtjnd.js} +1 -1
- package/dist/chunks/{worktree-cw2x2bjr.js → rpc-fxwbeahb.js} +1 -1
- package/dist/chunks/{worktree-hw9rayzm.js → rpc-g3m59t07.js} +35 -35
- package/dist/chunks/{worktree-r424jv4c.js → rpc-g5s1rrt4.js} +4 -4
- package/dist/chunks/{worktree-d04advaa.js → rpc-g6rzz18z.js} +9 -9
- package/dist/chunks/{worktree-dc1e58jh.js → rpc-g6xkpydp.js} +43 -43
- package/dist/chunks/{worktree-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-wvgpkr3z.js → rpc-gebvexjm.js} +5 -5
- package/dist/chunks/{worktree-4gsbf2fy.js → rpc-gmjp8629.js} +19 -19
- package/dist/chunks/{worktree-vz8nqtp5.js → rpc-gnn011q2.js} +28 -28
- package/dist/chunks/{worktree-4vp46et4.js → rpc-gqft2nrr.js} +6 -6
- package/dist/chunks/{worktree-faj2svbs.js → rpc-gr1f03ws.js} +9 -9
- package/dist/chunks/{worktree-gv6a8nnw.js → rpc-gv6a8nnw.js} +2 -2
- package/dist/chunks/{worktree-g6nrwhst.js → rpc-gva4v50q.js} +11 -11
- package/dist/chunks/{worktree-qz1kxtc0.js → rpc-gyapv7tm.js} +20 -20
- package/dist/chunks/{worktree-cpj0znwe.js → rpc-h6r3nrb9.js} +4 -4
- package/dist/chunks/{worktree-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-bha4atvq.js → rpc-hfdr1yjj.js} +4 -4
- package/dist/chunks/{worktree-xrvwyrv1.js → rpc-hfkxt40j.js} +33 -33
- package/dist/chunks/{worktree-ndqsnc2r.js → rpc-hg8tmwnc.js} +37 -37
- package/dist/chunks/{worktree-gnjcy9v4.js → rpc-hq2ecabm.js} +27 -27
- package/dist/chunks/{worktree-9vh5rqp9.js → rpc-hqwen7m6.js} +3 -3
- package/dist/chunks/{worktree-cvw7k98w.js → rpc-hs0k9zzv.js} +9 -9
- package/dist/chunks/{worktree-4bgp2aek.js → rpc-hv3s9zhd.js} +36 -36
- package/dist/chunks/{worktree-bvnyc1t2.js → rpc-hza46zh2.js} +62 -62
- package/dist/chunks/{worktree-ss5j40bg.js → rpc-j13jypnt.js} +17 -17
- package/dist/chunks/{worktree-6kbabvtn.js → rpc-j23k1r36.js} +6 -6
- package/dist/chunks/{worktree-kqs2tyv4.js → rpc-j4vv2j34.js} +27 -27
- package/dist/chunks/{worktree-j56e64zr.js → rpc-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-t744w8jc.js → rpc-j5e1h5hs.js} +17 -17
- package/dist/chunks/{worktree-0kzr3yfx.js → rpc-j5tqr8d8.js} +7 -7
- package/dist/chunks/{worktree-z4cdtg64.js → rpc-jb048psh.js} +5 -5
- package/dist/chunks/{worktree-dbba7j6z.js → rpc-jddfrygf.js} +10 -10
- package/dist/chunks/{worktree-q3t37ft6.js → rpc-jexxy024.js} +3 -3
- package/dist/chunks/{worktree-d216944b.js → rpc-jfqtm2ew.js} +7 -7
- package/dist/chunks/{worktree-9vkyr3gp.js → rpc-jjdgzahf.js} +11 -11
- package/dist/chunks/{worktree-tkp03cf9.js → rpc-jjrn94s5.js} +11 -11
- package/dist/chunks/{worktree-9h6zs5c6.js → rpc-jn1kr1e6.js} +26 -26
- package/dist/chunks/rpc-jqh9b0xq.js +18 -0
- package/dist/chunks/{worktree-s8322d80.js → rpc-jtx211qb.js} +15 -15
- package/dist/chunks/{worktree-rgs851g5.js → rpc-jv01nqvq.js} +5 -5
- package/dist/chunks/{worktree-rx78v32q.js → rpc-jx9d81yp.js} +17 -17
- package/dist/chunks/{worktree-as812ba0.js → rpc-jzbdx67q.js} +29 -29
- package/dist/chunks/{worktree-gbnkcvp8.js → rpc-kd7h4dp8.js} +23 -23
- package/dist/chunks/{worktree-1c4g78wp.js → rpc-kfr15afm.js} +44 -44
- package/dist/chunks/{worktree-cax7e9hb.js → rpc-krct5xdr.js} +8 -8
- package/dist/chunks/{worktree-xw714m32.js → rpc-kt4y0cem.js} +18 -18
- package/dist/chunks/{worktree-z2bs4c1s.js → rpc-kxsbrv8e.js} +30 -30
- package/dist/chunks/{worktree-m3fdjcah.js → rpc-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-y35sf2j4.js → rpc-m9g140gf.js} +4 -4
- package/dist/chunks/{worktree-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-a8bn8zg0.js → rpc-magykp64.js} +4 -4
- package/dist/chunks/{worktree-m25ehp29.js → rpc-mavm30sz.js} +22 -22
- package/dist/chunks/{worktree-vvm2z6z1.js → rpc-mg7x2rv6.js} +13 -13
- package/dist/chunks/{worktree-byvb6gjv.js → rpc-mhvv609m.js} +17 -17
- package/dist/chunks/{worktree-j72rwyf1.js → rpc-mqfnncbp.js} +15 -15
- package/dist/chunks/{worktree-38bsz5b6.js → rpc-mvzc9sxt.js} +33 -33
- package/dist/chunks/{worktree-y7668axm.js → rpc-n5ne16bz.js} +22 -22
- package/dist/chunks/{worktree-dj68pnee.js → rpc-nb9p6b26.js} +4 -4
- package/dist/chunks/{worktree-1mjwcf4w.js → rpc-nhmc2t1k.js} +8 -8
- package/dist/chunks/{worktree-mzatw618.js → rpc-np07f3yb.js} +37 -37
- package/dist/chunks/{worktree-aa3v2t1f.js → rpc-nx57ndsc.js} +11 -11
- package/dist/chunks/{worktree-nzks3jc8.js → rpc-nzks3jc8.js} +3 -3
- package/dist/chunks/{worktree-p28j5sbe.js → rpc-p28j5sbe.js} +2 -2
- package/dist/chunks/{worktree-aeb4sny1.js → rpc-p3p972wa.js} +5 -5
- package/dist/chunks/{worktree-vy10ba8t.js → rpc-p5e71svx.js} +24 -24
- package/dist/chunks/{worktree-3zgscayf.js → rpc-pbsjr92h.js} +35 -35
- package/dist/chunks/{worktree-5c4wcsgy.js → rpc-pcsvgb1d.js} +76 -76
- package/dist/chunks/{worktree-p32pf1ka.js → rpc-pjbbry3y.js} +54 -54
- package/dist/chunks/{worktree-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-5q02cxx3.js → rpc-pmr4s4kc.js} +4 -4
- package/dist/chunks/{worktree-24dd53tp.js → rpc-pnv527nz.js} +9 -9
- package/dist/chunks/{worktree-jj06xv0y.js → rpc-pqek5mm2.js} +44 -44
- package/dist/chunks/{worktree-x3n1z10k.js → rpc-q107adn3.js} +22 -22
- package/dist/chunks/{worktree-7d7kf9r8.js → rpc-q16mtjj8.js} +13 -13
- package/dist/chunks/{worktree-j6mf8xpf.js → rpc-q33zykbw.js} +20 -20
- package/dist/chunks/{worktree-v4tzcak4.js → rpc-q61cgpyx.js} +19 -19
- package/dist/chunks/{worktree-351z34b3.js → rpc-qa6ap8y2.js} +10 -10
- package/dist/chunks/{worktree-0e1gq3bc.js → rpc-qae5j9tx.js} +13 -13
- package/dist/chunks/{worktree-0gkyeg4t.js → rpc-qb73q4j5.js} +27 -27
- package/dist/chunks/{worktree-pyv0448z.js → rpc-qh0vj5b9.js} +8 -8
- package/dist/chunks/{worktree-e9g3nry7.js → rpc-qktg6xag.js} +25 -25
- package/dist/chunks/{worktree-gmjq4p6e.js → rpc-qrvxy8qx.js} +12 -12
- package/dist/chunks/{worktree-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-sw0n0a6k.js → rpc-qtd9gqp3.js} +32 -32
- package/dist/chunks/{worktree-ka43yy4c.js → rpc-qv8k3wm0.js} +16 -16
- package/dist/chunks/{worktree-yp2x3t23.js → rpc-r8xr0va3.js} +4 -4
- package/dist/chunks/{worktree-rdw6cm16.js → rpc-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-h0j9vckn.js → rpc-rh2p6mtd.js} +92 -92
- package/dist/chunks/{worktree-hrtbhf2d.js → rpc-rq70gna5.js} +21 -21
- package/dist/chunks/{worktree-tmdzkf58.js → rpc-rwwy1xdt.js} +42 -42
- package/dist/chunks/{worktree-xkrbr206.js → rpc-s4anq1bw.js} +6 -6
- package/dist/chunks/{worktree-m6zv4rm2.js → rpc-s57t15fh.js} +19 -19
- package/dist/chunks/{worktree-eaj1djv9.js → rpc-s8d7rejh.js} +6 -6
- package/dist/chunks/{worktree-cr07tj7n.js → rpc-s8zy8myc.js} +5 -5
- package/dist/chunks/{worktree-n8j2gzbp.js → rpc-sg42avej.js} +6 -6
- package/dist/chunks/{worktree-vdgcs2tf.js → rpc-sgm8jqx6.js} +30 -30
- package/dist/chunks/{worktree-973s4paq.js → rpc-syp7yks4.js} +11 -11
- package/dist/chunks/{worktree-7svxd7hr.js → rpc-sypfrgdy.js} +32 -32
- package/dist/chunks/{worktree-zkgb1gnz.js → rpc-t3d1g0ha.js} +49 -49
- package/dist/chunks/{worktree-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-89znhe33.js → rpc-tcezcvh9.js} +4 -4
- package/dist/chunks/{worktree-tdstcens.js → rpc-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-166kng33.js → rpc-thjxzeng.js} +8 -8
- package/dist/chunks/{worktree-c78bbtc9.js → rpc-tn0aqsam.js} +5 -5
- package/dist/chunks/{worktree-tvtrv512.js → rpc-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-d9kvw835.js → rpc-v3ydn9tj.js} +6 -6
- package/dist/chunks/{worktree-gft05b0a.js → rpc-vatx7znk.js} +8 -8
- package/dist/chunks/{worktree-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-xn1g1etc.js → rpc-vgcdvw7k.js} +10 -10
- package/dist/chunks/{worktree-qz10dfen.js → rpc-vk8r472f.js} +9 -9
- package/dist/chunks/{worktree-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-97grsc5w.js → rpc-wf89y6c3.js} +11 -11
- package/dist/chunks/{worktree-58s60hfc.js → rpc-wfz590pn.js} +9 -9
- package/dist/chunks/{worktree-w8ykr7pr.js → rpc-wmaj8b0d.js} +40 -40
- package/dist/chunks/{worktree-5v9kt04s.js → rpc-ws473m72.js} +21 -21
- package/dist/chunks/{worktree-svenkxb1.js → rpc-wxa7yx13.js} +12 -12
- package/dist/chunks/{worktree-z8amnqnv.js → rpc-wyh7k2em.js} +11 -11
- package/dist/chunks/{worktree-1vk3brhq.js → rpc-wzqp383c.js} +11 -11
- package/dist/chunks/{worktree-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-rzd1wbq6.js → rpc-x76psje3.js} +18 -18
- package/dist/chunks/{worktree-ypmw8e4w.js → rpc-xjw2fkvc.js} +8 -8
- package/dist/chunks/{worktree-8vmd40gx.js → rpc-xtt9hgyv.js} +32 -32
- package/dist/chunks/{worktree-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-y71avatq.js → rpc-y71avatq.js} +1 -1
- package/dist/chunks/{worktree-ggex864g.js → rpc-yajvsn8f.js} +4 -4
- package/dist/chunks/{worktree-3ktbe3hf.js → rpc-ybhbtxjg.js} +6 -6
- package/dist/chunks/{worktree-wg1w1cgy.js → rpc-yk0m5prq.js} +4 -4
- package/dist/chunks/{worktree-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-yrznvahk.js → rpc-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-rb662jkw.js → rpc-z5qf6xj2.js} +12 -12
- package/dist/chunks/{worktree-z63w68vq.js → rpc-z63w68vq.js} +2 -2
- package/dist/chunks/{worktree-zeh9ct20.js → rpc-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-8pb4qd8n.js → rpc-zpb79gje.js} +25 -25
- package/dist/chunks/{worktree-q6xbbyq7.js → rpc-zpgjk8rp.js} +37 -37
- package/dist/chunks/{worktree-101vsq39.js → rpc-zprjnq06.js} +11 -11
- package/dist/chunks/{worktree-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-6x3wj1ns.js → rpc-zvxcd2m0.js} +47 -47
- package/dist/chunks/{worktree-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
- package/dist/chunks/{worktree-6wt9h67w.js → rpc-zz1fc49n.js} +57 -57
- 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 +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +95 -95
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- 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 +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- 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 +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- 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 +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- 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 +5 -5
- 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 +91 -91
- 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/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/worktree-6kdq0pjd.js +0 -4
- package/dist/chunks/worktree-q509s3k3.js +0 -18
- package/dist/chunks/worktree-r0hfn8wq.js +0 -252
- package/dist/chunks/worktree-vjkgxth0.js +0 -478
- package/dist/chunks/worktree-wbb80fv7.js +0 -26
- /package/dist/chunks/{worktree-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → rpc-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5qd3pb7m.js → rpc-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → rpc-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → rpc-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → rpc-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-twg0f83k.js → rpc-twg0f83k.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → rpc-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service76,
|
|
9
|
+
node80
|
|
10
|
+
} from "./rpc-qrvxy8qx.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service74,
|
|
13
|
+
node78
|
|
14
|
+
} from "./rpc-d1scngp8.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./rpc-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID6,
|
|
27
|
+
Service: () => Service44,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node47,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service44 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service76;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service74;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID6.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node47 = makeLocationNode({
|
|
144
|
+
service: Service44,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node80, Global.node, node78]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service44, Service44.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service69, Service69.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID6, Error3, Service44, node47, noopLayer2, exports_snapshot2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service74
|
|
9
|
+
} from "./rpc-d1scngp8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service52
|
|
12
|
+
} from "./rpc-fvr26rhy.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service17
|
|
16
|
+
} from "./rpc-90tmb45y.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
|
-
|
|
21
|
+
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-59430qn2.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service61
|
|
26
|
+
} from "./rpc-zz1fc49n.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service24
|
|
29
|
+
} from "./rpc-2a1gw4e3.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./rpc-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input7,
|
|
39
|
+
Output: () => Output7,
|
|
40
|
+
Plugin: () => Plugin8,
|
|
41
|
+
name: () => name7,
|
|
42
|
+
toModelContent: () => toModelContent4
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name7 = "grep";
|
|
48
|
+
var Input7 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input8 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output7 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin8 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service52;
|
|
90
|
+
const ripgrep = yield* Service17;
|
|
91
|
+
const location = yield* Service74;
|
|
92
|
+
const access = yield* Service24;
|
|
93
|
+
const permission = yield* Service61;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name7,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input7,
|
|
99
|
+
output: Output7,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name7,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -136,7 +136,7 @@ var Plugin10 = {
|
|
|
136
136
|
}))
|
|
137
137
|
}), Effect.map((result) => result.map((match) => Match2.make({
|
|
138
138
|
...match,
|
|
139
|
-
entry:
|
|
139
|
+
entry: Entry2.make({
|
|
140
140
|
...match.entry,
|
|
141
141
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
|
|
142
142
|
})
|
|
@@ -144,7 +144,7 @@ var Plugin10 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent4(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin10 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name7, Input7, Output7, toModelContent4, Plugin8, exports_grep };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./rpc-d1scngp8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service24
|
|
9
|
+
} from "./rpc-2a1gw4e3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service5
|
|
12
|
+
} from "./rpc-ws473m72.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service6
|
|
27
|
+
} from "./rpc-j5e1h5hs.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input12,
|
|
36
|
+
Plugin: () => Plugin13,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name12,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name12 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input12 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin13 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service6;
|
|
62
|
+
const access = yield* Service24;
|
|
63
|
+
const sessionInstructions = yield* Service5;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service74;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name12,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input12,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin9 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent6 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name12, Input12, Plugin13, toModelContent6, exports_read };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./rpc-19psw4kw.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID13.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-8443f5nj.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin15,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin15 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin20 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin20 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint3, Plugin15, exports_tinyfish };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node84
|
|
4
|
+
} from "./rpc-syp7yks4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./rpc-5nf8yzxg.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./rpc-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: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info31,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service72,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node76
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID16 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID16,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service72 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service80).db;
|
|
55
|
+
const bus = yield* Service77;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info31({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service72.of({
|
|
72
72
|
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))),
|
|
73
73
|
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))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info31({
|
|
80
|
+
id: ID16.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node76 = makeGlobalNode({ service: Service72, layer, deps: [node84, node81] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID16, OAuth3, Key4, Value2, Event19, Info31, Service72, node76, exports_credential };
|