@opencode-ai/core 0.0.0-dev-19216 → 0.0.0-dev-19218
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{file-mutation-5e624tvg.js → pty-02ak2ead.js} +9 -9
- package/dist/chunks/{file-mutation-0e0xafbb.js → pty-0e0xafbb.js} +2 -2
- package/dist/chunks/{file-mutation-7dqw4kz8.js → pty-0jwsre1p.js} +5 -5
- package/dist/chunks/{file-mutation-v3gnfvgj.js → pty-0mnvrx0m.js} +11 -11
- package/dist/chunks/{file-mutation-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-mutation-0s9ayhjt.js → pty-0s9ayhjt.js} +1 -1
- package/dist/chunks/{file-mutation-tdpndm1c.js → pty-0t098hqn.js} +5 -5
- package/dist/chunks/{file-mutation-dfe8djrf.js → pty-0v53mg2y.js} +4 -4
- package/dist/chunks/{file-mutation-aa8vhsgg.js → pty-0wvznmtp.js} +7 -7
- package/dist/chunks/{file-mutation-k0g96r8n.js → pty-10gqde6b.js} +4 -4
- package/dist/chunks/{file-mutation-7ry09vv5.js → pty-14hmenm3.js} +3 -3
- package/dist/chunks/{file-mutation-1acjjqhc.js → pty-1acjjqhc.js} +1 -1
- package/dist/chunks/{file-mutation-1ct4r87x.js → pty-1ct4r87x.js} +1 -1
- package/dist/chunks/{file-mutation-jykcc5qa.js → pty-1ernzcqn.js} +8 -8
- package/dist/chunks/{file-mutation-evj94p3t.js → pty-1g9nsgpp.js} +13 -13
- package/dist/chunks/{file-mutation-ev7pq6rs.js → pty-1mrma768.js} +5 -5
- package/dist/chunks/{file-mutation-fz1pdqz4.js → pty-1n116cmy.js} +9 -9
- package/dist/chunks/{file-mutation-06qbn9zd.js → pty-1qw2s0et.js} +9 -9
- package/dist/chunks/{file-mutation-56gdpj1q.js → pty-1ygqh575.js} +9 -9
- package/dist/chunks/{file-mutation-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-2402vzrj.js → pty-2402vzrj.js} +1 -1
- package/dist/chunks/{file-mutation-29x78va6.js → pty-29x78va6.js} +2 -2
- package/dist/chunks/{file-mutation-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-0tqc2v94.js → pty-2dg218bv.js} +3 -3
- package/dist/chunks/{file-mutation-2ht70gj7.js → pty-2ht70gj7.js} +1 -1
- package/dist/chunks/{file-mutation-fdcmbayr.js → pty-2j8qyr6z.js} +20 -20
- package/dist/chunks/{file-mutation-w5gv9txn.js → pty-2m920r7z.js} +9 -9
- package/dist/chunks/{file-mutation-s3vrd4d2.js → pty-2n4y20qt.js} +23 -23
- package/dist/chunks/{file-mutation-w7a45d2w.js → pty-2nf37mnc.js} +23 -23
- package/dist/chunks/{file-mutation-fw416nha.js → pty-2pmtacce.js} +22 -22
- package/dist/chunks/{file-mutation-dds56zbh.js → pty-2vfx8thk.js} +29 -29
- package/dist/chunks/{file-mutation-r062cge9.js → pty-30jpz9d7.js} +43 -43
- package/dist/chunks/{file-mutation-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-3qzbfqsy.js → pty-3qzbfqsy.js} +2 -2
- package/dist/chunks/{file-mutation-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-ks0jjys9.js → pty-3tdaxant.js} +10 -10
- package/dist/chunks/{file-mutation-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-pjvn5h54.js → pty-3wfq9j39.js} +10 -10
- package/dist/chunks/{file-mutation-454k5vzh.js → pty-454k5vzh.js} +1 -1
- package/dist/chunks/{file-mutation-bfr8x9hg.js → pty-46e97tr7.js} +10 -10
- package/dist/chunks/{file-mutation-zjx20249.js → pty-47y1s5bh.js} +4 -4
- package/dist/chunks/{file-mutation-hzzs2yvs.js → pty-4jykd2y5.js} +27 -27
- package/dist/chunks/{file-mutation-2ed8104q.js → pty-4p1znhkg.js} +46 -46
- package/dist/chunks/{file-mutation-qfv34cas.js → pty-4pg0vty6.js} +19 -19
- package/dist/chunks/{file-mutation-4r2nyarf.js → pty-4r2nyarf.js} +1 -1
- package/dist/chunks/{file-mutation-64z8z5x5.js → pty-4z6b0fg6.js} +6 -6
- package/dist/chunks/{file-mutation-143qxyja.js → pty-507bb6ht.js} +24 -24
- package/dist/chunks/{file-mutation-0ek2w54z.js → pty-53fs9qt8.js} +7 -7
- package/dist/chunks/{file-mutation-ayghbyc9.js → pty-5586kr32.js} +16 -16
- package/dist/chunks/{file-mutation-e6yvemtv.js → pty-56wh323j.js} +69 -69
- package/dist/chunks/{file-mutation-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/pty-5ehapebv.js +22 -0
- package/dist/chunks/{file-mutation-5fmxt4p5.js → pty-5fmxt4p5.js} +1 -1
- package/dist/chunks/{file-mutation-npsbfqmn.js → pty-5h5ammfc.js} +31 -31
- package/dist/chunks/{file-mutation-5n978qtj.js → pty-5hf5s1km.js} +6 -6
- package/dist/chunks/{file-mutation-5jvc5tg2.js → pty-5jvc5tg2.js} +1 -1
- package/dist/chunks/{file-mutation-hgeb4s25.js → pty-5k3f87xj.js} +1 -1
- package/dist/chunks/{file-mutation-cq35m6me.js → pty-5rw6je3s.js} +3 -3
- package/dist/chunks/{file-mutation-20m0wqts.js → pty-6249xh7p.js} +15 -15
- package/dist/chunks/{file-mutation-vnj10zg0.js → pty-64dj7m14.js} +14 -14
- package/dist/chunks/{file-mutation-zjy9mrjh.js → pty-6bfbj7yp.js} +16 -16
- package/dist/chunks/{file-mutation-c8k27x3s.js → pty-6qs8r64n.js} +9 -9
- package/dist/chunks/{file-mutation-40jtjs1k.js → pty-6vfh6jv6.js} +11 -11
- package/dist/chunks/{file-mutation-3x6030n9.js → pty-711hfp6y.js} +2 -2
- package/dist/chunks/{file-mutation-72nftnjy.js → pty-72nftnjy.js} +2 -2
- package/dist/chunks/{file-mutation-mvfsc1pv.js → pty-73tb2d7t.js} +3 -3
- package/dist/chunks/{file-mutation-y61qnw8a.js → pty-741pxbc4.js} +12 -12
- package/dist/chunks/{file-mutation-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-4b1sg654.js → pty-7frnnqsf.js} +13 -13
- package/dist/chunks/{file-mutation-y1a5n2r0.js → pty-7g7xeaaj.js} +16 -16
- package/dist/chunks/{file-mutation-a1qwmqqw.js → pty-7htsbzpb.js} +9 -9
- package/dist/chunks/{file-mutation-rx7yndt1.js → pty-7tde96p8.js} +11 -11
- package/dist/chunks/{file-mutation-asb5ddgn.js → pty-7ttnvawf.js} +3 -3
- package/dist/chunks/{file-mutation-2e3b49a5.js → pty-7v562ate.js} +24 -24
- package/dist/chunks/{file-mutation-3sy3bhxh.js → pty-7w8fgasf.js} +8 -8
- package/dist/chunks/{file-mutation-0s535w00.js → pty-7xr84h2v.js} +33 -33
- package/dist/chunks/{file-mutation-09n63jss.js → pty-7zqwg6kj.js} +22 -22
- package/dist/chunks/{file-mutation-q36vtzqe.js → pty-80z8y3y4.js} +5 -5
- package/dist/chunks/{file-mutation-babn4frh.js → pty-81ehrcfm.js} +8 -8
- package/dist/chunks/{file-mutation-gkvt71jh.js → pty-82marhfk.js} +9 -9
- package/dist/chunks/{file-mutation-f9x6rp1j.js → pty-86s3977f.js} +1 -1
- package/dist/chunks/{file-mutation-c0gy5km3.js → pty-884h22he.js} +6 -6
- package/dist/chunks/{file-mutation-62z4m846.js → pty-88k962v0.js} +24 -24
- package/dist/chunks/{file-mutation-s38wv68t.js → pty-89kmej9k.js} +20 -20
- package/dist/chunks/{file-mutation-7cnkxtbd.js → pty-8edgm1mj.js} +9 -9
- package/dist/chunks/{file-mutation-zr1rg8va.js → pty-8jwyp78w.js} +20 -20
- package/dist/chunks/{file-mutation-renmeb8y.js → pty-8s92c8tr.js} +11 -11
- package/dist/chunks/{file-mutation-y4xjyrf3.js → pty-905bpmd9.js} +22 -22
- package/dist/chunks/{file-mutation-w19ppvv8.js → pty-90pvg1cb.js} +11 -11
- package/dist/chunks/{file-mutation-hhpzk61m.js → pty-93a8yfjt.js} +2 -2
- package/dist/chunks/{file-mutation-6e958v7x.js → pty-97f5v037.js} +4 -4
- package/dist/chunks/{file-mutation-y5h9vgb0.js → pty-9a9vdrp9.js} +6 -6
- package/dist/chunks/{file-mutation-bxnxw8jj.js → pty-9d4efts8.js} +5 -5
- package/dist/chunks/{file-mutation-01mh49p0.js → pty-9jwnwv4p.js} +7 -7
- package/dist/chunks/{file-mutation-nvm3xv8h.js → pty-9pt7wtrn.js} +34 -34
- package/dist/chunks/{file-mutation-qvbcabdc.js → pty-9qm9egsn.js} +2 -2
- package/dist/chunks/{file-mutation-5bch6tfs.js → pty-9x4fbkad.js} +13 -13
- package/dist/chunks/{file-mutation-a4rgs0hc.js → pty-a4rgs0hc.js} +2 -2
- package/dist/chunks/{file-mutation-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-thb62adn.js → pty-ab971jgm.js} +10 -10
- package/dist/chunks/{file-mutation-1dbh8d2n.js → pty-ac35785q.js} +11 -11
- package/dist/chunks/{file-mutation-yg7sb877.js → pty-ajtjthsy.js} +2 -2
- package/dist/chunks/{file-mutation-a2ew8a62.js → pty-b27vhd2z.js} +4 -4
- package/dist/chunks/{file-mutation-2phvqca6.js → pty-b3f9g3c4.js} +16 -16
- package/dist/chunks/{file-mutation-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-b9wsbatv.js → pty-b9wsbatv.js} +1 -1
- package/dist/chunks/{file-mutation-hnyf01b0.js → pty-bcezcar3.js} +5 -5
- package/dist/chunks/{file-mutation-vfhg49f4.js → pty-bctm2k87.js} +11 -11
- package/dist/chunks/{file-mutation-ny5fc873.js → pty-bgj6ghn2.js} +15 -15
- package/dist/chunks/{file-mutation-9b3te7cd.js → pty-bm94m7ab.js} +52 -52
- package/dist/chunks/{file-mutation-76smfv87.js → pty-c3se2jx9.js} +7 -7
- package/dist/chunks/{file-mutation-hn57h045.js → pty-ca7w653e.js} +4 -4
- package/dist/chunks/{file-mutation-nxepqw4e.js → pty-cdjpjpyn.js} +18 -18
- package/dist/chunks/{file-mutation-tgnthhz6.js → pty-cgw3eybt.js} +25 -25
- package/dist/chunks/{file-mutation-5mqca3xa.js → pty-ch16cpaq.js} +23 -23
- package/dist/chunks/{file-mutation-a9e4exys.js → pty-cmf1rkff.js} +35 -35
- package/dist/chunks/{file-mutation-b92pv2tj.js → pty-cyzwqsn0.js} +5 -5
- package/dist/chunks/{file-mutation-47cx0r01.js → pty-d4xx5d2s.js} +31 -31
- package/dist/chunks/{file-mutation-g2gt0w0k.js → pty-d72308c8.js} +2 -2
- package/dist/chunks/{file-mutation-897hzw7d.js → pty-da3q24vg.js} +9 -9
- package/dist/chunks/{file-mutation-kdrneqjw.js → pty-dfm27cy2.js} +27 -27
- package/dist/chunks/{file-mutation-v7r3cw40.js → pty-e12h8ecf.js} +29 -29
- package/dist/chunks/pty-e3ze3pba.js +4 -0
- package/dist/chunks/{file-mutation-7nxyxket.js → pty-e5b0qn1c.js} +1 -1
- package/dist/chunks/{file-mutation-cpy6gm2a.js → pty-e6hd9jay.js} +6 -6
- package/dist/chunks/{file-mutation-rhqk4sk8.js → pty-e892zrmk.js} +16 -16
- package/dist/chunks/{file-mutation-2bm7eph3.js → pty-ebky9brj.js} +23 -23
- package/dist/chunks/{file-mutation-ab39g6be.js → pty-ek4gey1d.js} +18 -18
- package/dist/chunks/{file-mutation-58hcpyay.js → pty-ene3c7ks.js} +33 -33
- package/dist/chunks/{file-mutation-ada40aw5.js → pty-et3de4js.js} +45 -45
- package/dist/chunks/{file-mutation-8yqh4j7k.js → pty-etwf05x9.js} +28 -28
- package/dist/chunks/{file-mutation-k1h3pd12.js → pty-ewtmwgg4.js} +10 -10
- package/dist/chunks/{file-mutation-j8swj2w1.js → pty-f1kgb3zy.js} +11 -11
- package/dist/chunks/{file-mutation-mkajv2tb.js → pty-f57y4gze.js} +6 -6
- package/dist/chunks/{file-mutation-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-fxypknc8.js → pty-fxypknc8.js} +1 -1
- package/dist/chunks/{file-mutation-986p65m9.js → pty-g41n1fn3.js} +5 -5
- package/dist/chunks/{file-mutation-c0yyaxk6.js → pty-g7ny5e8b.js} +17 -17
- package/dist/chunks/{file-mutation-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-2sj3c2ad.js → pty-gr5em4p7.js} +30 -30
- package/dist/chunks/{file-mutation-cfbbrnxq.js → pty-gsgaq1zt.js} +11 -11
- package/dist/chunks/{file-mutation-sbnvhk9g.js → pty-h2st8tcp.js} +4 -4
- package/dist/chunks/{file-mutation-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-wzn1pg97.js → pty-h79bpvg7.js} +9 -9
- package/dist/chunks/{file-mutation-35e7m4yx.js → pty-hdv55p63.js} +22 -22
- package/dist/chunks/{file-mutation-heyhwy2w.js → pty-heyhwy2w.js} +1 -1
- package/dist/chunks/{file-mutation-hjt4xg1x.js → pty-hjt4xg1x.js} +1 -1
- package/dist/chunks/{file-mutation-q68wbhj3.js → pty-hr77wr0b.js} +4 -4
- package/dist/chunks/{file-mutation-g2dy4bvs.js → pty-hrvm11jt.js} +3 -3
- package/dist/chunks/{file-mutation-htqkwcnv.js → pty-hse5trye.js} +10 -10
- package/dist/chunks/{file-mutation-sc1wqa8e.js → pty-hw1wew3t.js} +30 -30
- package/dist/chunks/{file-mutation-7w3s9kd0.js → pty-hyftv91s.js} +9 -9
- package/dist/chunks/{file-mutation-z3s9j4q6.js → pty-hzecryb5.js} +12 -12
- package/dist/chunks/{file-mutation-1kvgva6x.js → pty-jf4k1cyn.js} +24 -24
- package/dist/chunks/{file-mutation-dk2pae67.js → pty-jk6vqbyh.js} +16 -16
- package/dist/chunks/{file-mutation-e4gkhccc.js → pty-k3fabyz6.js} +6 -6
- package/dist/chunks/{file-mutation-k4bwy1x5.js → pty-k4bwy1x5.js} +1 -1
- package/dist/chunks/{file-mutation-kg06axw8.js → pty-kg06axw8.js} +1 -1
- package/dist/chunks/{file-mutation-3ap2p86d.js → pty-kjeb3nmt.js} +9 -9
- package/dist/chunks/{file-mutation-e94r4fk5.js → pty-kjr4wddc.js} +81 -81
- package/dist/chunks/{file-mutation-rwh0xq6p.js → pty-kthncd39.js} +15 -15
- package/dist/chunks/{file-mutation-3and2xxf.js → pty-kv6gb2vp.js} +32 -32
- package/dist/chunks/{file-mutation-kvsjn1dr.js → pty-kvsjn1dr.js} +2 -2
- package/dist/chunks/{file-mutation-4xymgjke.js → pty-kyma94wc.js} +18 -18
- package/dist/chunks/{file-mutation-fj5hcd03.js → pty-m1mbk97x.js} +35 -35
- package/dist/chunks/{file-mutation-ptrtafvx.js → pty-m307zcn4.js} +11 -11
- package/dist/chunks/{file-mutation-99vgbsyy.js → pty-m3fm0fm8.js} +5 -5
- package/dist/chunks/{file-mutation-sxhwk0c0.js → pty-m59e1w6s.js} +4 -4
- package/dist/chunks/{file-mutation-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-v8gy3pjr.js → pty-mcxg6pmm.js} +1 -1
- package/dist/chunks/{file-mutation-k0zpnkm5.js → pty-mdaqq3w0.js} +6 -6
- package/dist/chunks/{file-mutation-hjpabd42.js → pty-mgns2fdh.js} +20 -20
- package/dist/chunks/{file-mutation-ta5yt3rh.js → pty-mvzb9ve1.js} +32 -32
- package/dist/chunks/{file-mutation-enamxrz2.js → pty-mzjyw1z2.js} +2 -2
- package/dist/chunks/{file-mutation-xscz55ef.js → pty-n1s2d68q.js} +17 -17
- package/dist/chunks/{file-mutation-3jxqjar4.js → pty-n8025458.js} +26 -26
- package/dist/chunks/{file-mutation-fhbjhm8t.js → pty-ncj4tqnn.js} +49 -49
- package/dist/chunks/pty-ndaczkrh.js +460 -0
- package/dist/chunks/{file-mutation-mpsa3nes.js → pty-nebhatd7.js} +12 -12
- package/dist/chunks/{file-mutation-k3xp7ghz.js → pty-nryz0x3q.js} +20 -20
- package/dist/chunks/{file-mutation-0amw245z.js → pty-nsy86y99.js} +21 -21
- package/dist/chunks/{file-mutation-fke00733.js → pty-nx3e840r.js} +5 -5
- package/dist/chunks/{file-mutation-8ht03v18.js → pty-p0hhk82e.js} +4 -4
- package/dist/chunks/{file-mutation-mq3bjh81.js → pty-p41j5722.js} +22 -22
- package/dist/chunks/{file-mutation-dxyd6n6d.js → pty-p651nqaz.js} +169 -169
- package/dist/chunks/{file-mutation-kry5p3r0.js → pty-phbgm0bx.js} +37 -37
- package/dist/chunks/{file-mutation-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-ptg06ky0.js → pty-ps4zxkej.js} +8 -8
- package/dist/chunks/{file-mutation-w25meggd.js → pty-pxe384j3.js} +14 -14
- package/dist/chunks/pty-q509s3k3.js +18 -0
- package/dist/chunks/pty-qf3330hq.js +247 -0
- package/dist/chunks/{file-mutation-b9j3swwv.js → pty-qgr3x23c.js} +13 -13
- package/dist/chunks/{file-mutation-9pk3p303.js → pty-qm8ev4wm.js} +8 -8
- package/dist/chunks/{file-mutation-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-qxezqvzm.js → pty-qznxkkz3.js} +14 -14
- package/dist/chunks/{file-mutation-34m8n255.js → pty-r312re56.js} +6 -6
- package/dist/chunks/{file-mutation-r8dhm0tv.js → pty-r8dhm0tv.js} +1 -1
- package/dist/chunks/{file-mutation-rae26gbb.js → pty-rae26gbb.js} +1 -1
- package/dist/chunks/{file-mutation-998c6hc6.js → pty-rb4kytq8.js} +35 -35
- package/dist/chunks/{file-mutation-aeg24s2a.js → pty-rbqs1qrs.js} +3 -3
- package/dist/chunks/{file-mutation-dcgj9q88.js → pty-rc5masm7.js} +23 -23
- package/dist/chunks/{file-mutation-evj8e4hg.js → pty-rmcmbkys.js} +28 -28
- package/dist/chunks/{file-mutation-d4pvcjkk.js → pty-rmkf6stx.js} +18 -18
- package/dist/chunks/{file-mutation-ger17fbp.js → pty-rw81gdbg.js} +52 -52
- package/dist/chunks/{file-mutation-ypexc4gq.js → pty-rwert6h9.js} +41 -41
- package/dist/chunks/{file-mutation-85490285.js → pty-s1e2y8ed.js} +29 -29
- package/dist/chunks/{file-mutation-qbyj8qxd.js → pty-s3eqpch7.js} +1 -1
- package/dist/chunks/{file-mutation-kkxc5154.js → pty-s8g36k60.js} +4 -4
- package/dist/chunks/{file-mutation-8za182nc.js → pty-s8v1m6qw.js} +15 -15
- package/dist/chunks/{file-mutation-sba4qhjf.js → pty-sba4qhjf.js} +1 -1
- package/dist/chunks/{file-mutation-gd0bwbeh.js → pty-scwfkd84.js} +86 -86
- package/dist/chunks/{file-mutation-6tnfgw9a.js → pty-sfz1z5dy.js} +28 -28
- package/dist/chunks/{file-mutation-n0gbmnre.js → pty-sj291qve.js} +11 -11
- package/dist/chunks/{file-mutation-m5a4zvg4.js → pty-snbe917c.js} +37 -37
- package/dist/chunks/{file-mutation-0dy783fj.js → pty-srd1y0t3.js} +8 -8
- package/dist/chunks/{file-mutation-x7n6jb1w.js → pty-t0jn574h.js} +16 -16
- package/dist/chunks/{file-mutation-cr8sbmwr.js → pty-t3fqb5k3.js} +43 -43
- package/dist/chunks/{file-mutation-bgt6msk1.js → pty-t7rtampj.js} +2 -2
- package/dist/chunks/{file-mutation-6e593aan.js → pty-t85amdhp.js} +35 -35
- package/dist/chunks/{file-mutation-kbsyt50d.js → pty-t8xj1g1x.js} +33 -33
- package/dist/chunks/{file-mutation-f40w3zwy.js → pty-t9vc0pqt.js} +40 -40
- package/dist/chunks/{file-mutation-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-y8g99sqg.js → pty-tfx5kmkv.js} +23 -23
- package/dist/chunks/{file-mutation-tjykrgmx.js → pty-tjykrgmx.js} +1 -1
- package/dist/chunks/{file-mutation-4k7zmpk3.js → pty-tqf96xv0.js} +8 -8
- package/dist/chunks/{file-mutation-7m9tkefv.js → pty-tqh0pfhw.js} +11 -11
- package/dist/chunks/{file-mutation-xspyb9m3.js → pty-tqqej2s1.js} +8 -8
- package/dist/chunks/{file-mutation-6qvt79ej.js → pty-ttbnpp8r.js} +24 -24
- package/dist/chunks/{file-mutation-vhh9ar68.js → pty-ttmf2k06.js} +5 -5
- package/dist/chunks/{file-mutation-45a3e49b.js → pty-tz7455vq.js} +6 -6
- package/dist/chunks/{file-mutation-6t42cqx7.js → pty-v8jvsrpm.js} +30 -30
- package/dist/chunks/{file-mutation-etamtscj.js → pty-vtf99whk.js} +5 -5
- package/dist/chunks/{file-mutation-fvpasvjq.js → pty-w3gkes82.js} +4 -4
- package/dist/chunks/{file-mutation-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-dyqxbeha.js → pty-w8py3fd5.js} +11 -11
- package/dist/chunks/{file-mutation-wy24wt1k.js → pty-w8wgv6rg.js} +15 -15
- package/dist/chunks/{file-mutation-hpbtcqba.js → pty-wb29ggtc.js} +9 -9
- package/dist/chunks/{file-mutation-b2cva8t7.js → pty-wbqdy3jn.js} +39 -39
- package/dist/chunks/{file-mutation-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-y724s5yt.js → pty-wgxn7ww3.js} +4 -4
- package/dist/chunks/{file-mutation-0wvfwpx6.js → pty-x0daxr85.js} +24 -24
- package/dist/chunks/{file-mutation-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-k3b33mde.js → pty-xc5kjw43.js} +13 -13
- package/dist/chunks/{file-mutation-qswnket4.js → pty-xfd6xwx1.js} +18 -18
- package/dist/chunks/{file-mutation-vj79ke67.js → pty-xh3q8gxs.js} +25 -25
- package/dist/chunks/{file-mutation-7ng7exzm.js → pty-xqsy6kp0.js} +1 -1
- package/dist/chunks/{file-mutation-mfv0zw27.js → pty-xr5vwsd4.js} +9 -9
- package/dist/chunks/{file-mutation-kx9ynrf0.js → pty-xs18g0gs.js} +15 -15
- package/dist/chunks/{file-mutation-fmzy9ynz.js → pty-xy3betfq.js} +7 -7
- package/dist/chunks/{file-mutation-n8dztyn3.js → pty-xyz49mkx.js} +13 -13
- package/dist/chunks/{file-mutation-3jpejpk8.js → pty-y0cfrt5t.js} +18 -18
- package/dist/chunks/{file-mutation-vwq77r6c.js → pty-y11beshv.js} +32 -32
- package/dist/chunks/{file-mutation-vdve1s0m.js → pty-y18qbtn0.js} +3 -3
- package/dist/chunks/{file-mutation-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-hayn59kd.js → pty-y6hb7tkg.js} +27 -27
- package/dist/chunks/{file-mutation-2z0b56st.js → pty-y6nt3k22.js} +2 -2
- package/dist/chunks/{file-mutation-y71avatq.js → pty-y71avatq.js} +1 -1
- package/dist/chunks/{file-mutation-1fgze8hp.js → pty-yanx3py7.js} +19 -19
- package/dist/chunks/{file-mutation-yfbd16n1.js → pty-yfbd16n1.js} +2 -2
- package/dist/chunks/{file-mutation-shfaz11f.js → pty-ykcesz1b.js} +4 -4
- package/dist/chunks/{file-mutation-n27y30w6.js → pty-yt0vd8bd.js} +46 -46
- package/dist/chunks/{file-mutation-z48dvxa8.js → pty-yv9w4q4m.js} +1 -1
- package/dist/chunks/{file-mutation-z5wp74ca.js → pty-yvbzm87r.js} +13 -13
- package/dist/chunks/{file-mutation-ye0hwk1t.js → pty-yx4ch7q4.js} +9 -9
- package/dist/chunks/{file-mutation-d6k3vpm5.js → pty-yxn3jc82.js} +4 -4
- package/dist/chunks/{file-mutation-z1k01bn4.js → pty-z1k01bn4.js} +2 -2
- package/dist/chunks/{file-mutation-p33zfxh6.js → pty-z36c69bj.js} +25 -25
- package/dist/chunks/{file-mutation-gz5et4ap.js → pty-z3nmht85.js} +16 -16
- package/dist/chunks/{file-mutation-g8a6h08d.js → pty-z4t3eq4k.js} +12 -12
- package/dist/chunks/{file-mutation-kxnt8qcg.js → pty-zn2pq4p8.js} +5 -5
- package/dist/chunks/{file-mutation-nt2vsa9g.js → pty-zp3qwqf8.js} +25 -25
- package/dist/chunks/{file-mutation-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-mutation-3pt7nqe6.js → pty-zydqv254.js} +49 -49
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +68 -68
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +359 -359
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-mutation.js +89 -89
- 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 +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +350 -350
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +69 -69
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +347 -347
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +321 -321
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +336 -336
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +82 -82
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +126 -126
- package/dist/session/context.js +146 -146
- 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 +218 -218
- package/dist/session/execution.js +121 -121
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +12 -12
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +121 -121
- package/dist/session/projector.js +82 -82
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +118 -118
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +106 -106
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +88 -88
- 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 +120 -120
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +110 -110
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +106 -106
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- 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 +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +337 -337
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +7 -7
- package/dist/chunks/file-mutation-1x11rq2a.js +0 -18
- package/dist/chunks/file-mutation-7ctffjx1.js +0 -22
- package/dist/chunks/file-mutation-7zk4hah4.js +0 -4
- package/dist/chunks/file-mutation-h139r1mg.js +0 -460
- package/dist/chunks/file-mutation-ywgxakqv.js +0 -247
- /package/dist/chunks/{file-mutation-0fabt78z.js → pty-0fabt78z.js} +0 -0
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3t738kvx.js → pty-3t738kvx.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-41nvscxy.js → pty-41nvscxy.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-982e01ww.js → pty-982e01ww.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a1tpkmh4.js → pty-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-j935v87r.js → pty-j935v87r.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mntxs535.js → pty-mntxs535.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-p8qxwesx.js → pty-p8qxwesx.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-se0s1eqw.js → pty-se0s1eqw.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x1b8g1yb.js → pty-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → pty-z9919s4g.js} +0 -0
- /package/dist/chunks/{file-mutation-zbjnn3ac.js → pty-zbjnn3ac.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./pty-b3f9g3c4.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node83
|
|
9
|
+
} from "./pty-t8xj1g1x.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-tfx5kmkv.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event18,
|
|
34
|
+
ID: () => ID14,
|
|
35
|
+
Info: () => Info28,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
41
|
Ref: () => Ref3,
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
42
|
+
Service: () => Service76,
|
|
43
|
+
node: () => node81
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode-ai/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event18 } from "@opencode-ai/schema/integration";
|
|
65
|
+
var ID14 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info28 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -87,14 +87,14 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
87
87
|
}
|
|
88
88
|
var Ref3 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service76 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
97
|
-
const bus = yield*
|
|
95
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service78;
|
|
97
|
+
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
100
100
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info28.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service76.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node81 = makeLocationNode({
|
|
569
|
+
service: Service76,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node83, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref3, Service76, node81, exports_integration, Event18 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./pty-88k962v0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service49,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./pty-xyz49mkx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service62
|
|
11
|
+
} from "./pty-ek4gey1d.js";
|
|
12
12
|
import {
|
|
13
13
|
externalDirectoryPermission2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service65
|
|
15
|
+
} from "./pty-jk6vqbyh.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service40
|
|
18
|
+
} from "./pty-rw81gdbg.js";
|
|
19
19
|
import {
|
|
20
20
|
fileDiff2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-6prwharc.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/tool/plugin/write.ts
|
|
27
27
|
var exports_write = {};
|
|
28
28
|
__export(exports_write, {
|
|
29
|
-
Input: () =>
|
|
29
|
+
Input: () => Input9,
|
|
30
30
|
Output: () => Output7,
|
|
31
|
-
Plugin: () =>
|
|
31
|
+
Plugin: () => Plugin23,
|
|
32
32
|
WriteTool: () => exports_write,
|
|
33
|
-
name: () =>
|
|
34
|
-
toModelContent: () =>
|
|
33
|
+
name: () => name9,
|
|
34
|
+
toModelContent: () => toModelContent6
|
|
35
35
|
});
|
|
36
36
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
37
37
|
import { Effect, Schema } from "effect";
|
|
38
38
|
import { Bom } from "@opencode-ai/util/bom";
|
|
39
|
-
var
|
|
40
|
-
var
|
|
39
|
+
var name9 = "write";
|
|
40
|
+
var Input9 = Schema.Struct({
|
|
41
41
|
path: Schema.String.annotate({
|
|
42
42
|
description: "Path to the file to write to"
|
|
43
43
|
}),
|
|
@@ -49,24 +49,24 @@ var Output7 = Schema.Struct({
|
|
|
49
49
|
resource: Schema.String,
|
|
50
50
|
existed: Schema.Boolean
|
|
51
51
|
});
|
|
52
|
-
var
|
|
53
|
-
var
|
|
52
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
53
|
+
var Plugin23 = {
|
|
54
54
|
id: "opencode.tool.write",
|
|
55
55
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
56
|
-
const mutation = yield*
|
|
57
|
-
const fileMutation = yield*
|
|
58
|
-
const environment = yield*
|
|
59
|
-
const formatter = yield*
|
|
60
|
-
const permission = yield*
|
|
56
|
+
const mutation = yield* Service65;
|
|
57
|
+
const fileMutation = yield* Service49;
|
|
58
|
+
const environment = yield* Service50;
|
|
59
|
+
const formatter = yield* Service62;
|
|
60
|
+
const permission = yield* Service40;
|
|
61
61
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
62
|
-
name:
|
|
62
|
+
name: name9,
|
|
63
63
|
options: { codemode: false, permission: "edit" },
|
|
64
64
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
65
65
|
|
|
66
66
|
Missing parent directories are created automatically.
|
|
67
67
|
|
|
68
68
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
69
|
-
input:
|
|
69
|
+
input: Input9,
|
|
70
70
|
output: Output7,
|
|
71
71
|
execute: (input, context) => Effect.gen(function* () {
|
|
72
72
|
const source = {
|
|
@@ -101,9 +101,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
101
101
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
102
102
|
}
|
|
103
103
|
return result;
|
|
104
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
104
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
105
105
|
})).pipe(Effect.orDie);
|
|
106
106
|
})
|
|
107
107
|
};
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { name9, Input9, Output7, toModelContent6, Plugin23, exports_write };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/lsp.ts
|
|
6
6
|
var exports_lsp = {};
|
|
7
7
|
__export(exports_lsp, {
|
|
8
8
|
ConfigLSPV1: () => exports_lsp,
|
|
9
9
|
Disabled: () => Disabled2,
|
|
10
|
-
Entry: () =>
|
|
11
|
-
Info: () =>
|
|
10
|
+
Entry: () => Entry3,
|
|
11
|
+
Info: () => Info11,
|
|
12
12
|
builtinServerIds: () => builtinServerIds2,
|
|
13
13
|
requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
|
|
14
14
|
});
|
|
@@ -16,7 +16,7 @@ import { Schema } from "effect";
|
|
|
16
16
|
var Disabled2 = Schema.Struct({
|
|
17
17
|
disabled: Schema.Literal(true)
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Entry3 = Schema.Union([
|
|
20
20
|
Disabled2,
|
|
21
21
|
Schema.Struct({
|
|
22
22
|
command: Schema.mutable(Schema.Array(Schema.String)),
|
|
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
|
|
|
79
79
|
});
|
|
80
80
|
return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
|
|
81
81
|
});
|
|
82
|
-
var
|
|
82
|
+
var Info11 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
|
|
83
83
|
|
|
84
|
-
export { Disabled2,
|
|
84
|
+
export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info11, exports_lsp };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./pty-8edgm1mj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service36
|
|
6
|
+
} from "./pty-mdaqq3w0.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./pty-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-q509s3k3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service55
|
|
15
|
+
} from "./pty-qm8ev4wm.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-tz7455vq.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service39
|
|
23
|
+
} from "./pty-x0daxr85.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./pty-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service36;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service55;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service39;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -125,7 +125,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
125
125
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
126
126
|
if (!mime.startsWith("image/"))
|
|
127
127
|
return { data: Base64.make(data), mime };
|
|
128
|
-
const image = yield*
|
|
128
|
+
const image = yield* Service67;
|
|
129
129
|
const label = input.name ?? (input.uri.startsWith("data:") ? "inline attachment" : input.uri);
|
|
130
130
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
131
131
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make20,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-97f5v037.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-rw81gdbg.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service28,
|
|
13
|
+
node32
|
|
14
|
+
} from "./pty-bm94m7ab.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
name13
|
|
18
|
+
} from "./pty-kv6gb2vp.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
|
-
var
|
|
25
|
-
__export(
|
|
26
|
-
McpInstructions: () =>
|
|
27
|
-
Service: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
24
|
+
var exports_instructions2 = {};
|
|
25
|
+
__export(exports_instructions2, {
|
|
26
|
+
McpInstructions: () => exports_instructions2,
|
|
27
|
+
Service: () => Service23,
|
|
28
|
+
layer: () => layer10,
|
|
29
|
+
node: () => node28
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,16 +62,16 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service23 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer10 = Layer.effect(Service23, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service28;
|
|
69
|
+
return Service23.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make20({
|
|
75
75
|
key: Key3.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer12 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node28 = makeLocationNode({ service: Service23, layer: layer10, deps: [node32] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service23, layer10, node28, exports_instructions2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service72,
|
|
3
|
+
node77
|
|
4
|
+
} from "./pty-6bfbj7yp.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./pty-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Formatter: () =>
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
13
|
+
var exports_formatter3 = {};
|
|
14
|
+
__export(exports_formatter3, {
|
|
15
|
+
Formatter: () => exports_formatter3,
|
|
16
|
+
Service: () => Service62,
|
|
17
|
+
node: () => node66
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode-ai/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service62 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service72;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service62.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node66 = makeLocationNode({
|
|
91
|
+
service: Service62,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node77, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service62, node66, exports_formatter3 };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./pty-p8qxwesx.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service74,
|
|
9
|
+
node79
|
|
10
|
+
} from "./pty-46e97tr7.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service72,
|
|
13
|
+
node77
|
|
14
|
+
} from "./pty-6bfbj7yp.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./pty-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./pty-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: () => Service43,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node46,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode-ai/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-ai/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode-ai/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID6 } from "@opencode-ai/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode-ai/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 Service43 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service74;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service72;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service35, 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(Service35, 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(Service35, 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,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service43.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node46 = makeLocationNode({
|
|
139
|
+
service: Service43,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node79, Global.node, node77]
|
|
142
142
|
});
|
|
143
|
-
var
|
|
143
|
+
var noopLayer3 = Layer.succeed(Service43, Service43.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer2 = Layer.succeed(Service35, Service35.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error3({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID6, Error3, Service43, node46, noopLayer3, exports_snapshot2 };
|