@opencode/core 0.0.0-dev-20213 → 0.0.0-dev-20215
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{permission-3vdha7ev.js → worktree-01nwxe82.js} +11 -11
- package/dist/chunks/{permission-kwy1393n.js → worktree-0bdrcw2s.js} +2 -2
- package/dist/chunks/{permission-427t97hr.js → worktree-0bfcnrg1.js} +1 -1
- package/dist/chunks/{permission-1mdmpwnd.js → worktree-0d4mnv31.js} +17 -17
- package/dist/chunks/{permission-0e93ex8d.js → worktree-0fzv9h34.js} +18 -18
- package/dist/chunks/{permission-7ajw325d.js → worktree-0j68vngr.js} +10 -10
- package/dist/chunks/{permission-qvz1qsfj.js → worktree-0k3fqexr.js} +7 -7
- package/dist/chunks/{permission-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{permission-6qr54s4x.js → worktree-0r0ksm42.js} +18 -18
- package/dist/chunks/{permission-dtjm6rxg.js → worktree-0rbtyk3w.js} +10 -10
- package/dist/chunks/{permission-4c7gxc1e.js → worktree-0v5qhdm7.js} +48 -48
- package/dist/chunks/{permission-y58vyra2.js → worktree-1arnrgt5.js} +8 -8
- package/dist/chunks/{permission-eq1pz5kg.js → worktree-1bbkgx8g.js} +3 -3
- package/dist/chunks/{permission-h4s9yzmg.js → worktree-1chzq234.js} +5 -5
- package/dist/chunks/{permission-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{permission-66d4mk0n.js → worktree-1ft64m98.js} +9 -9
- package/dist/chunks/{permission-azpvescy.js → worktree-1hgzjtp2.js} +8 -8
- package/dist/chunks/{permission-2f1p5z3m.js → worktree-1jvcwpzv.js} +4 -4
- package/dist/chunks/{permission-c3xmfx7z.js → worktree-1xpaaevk.js} +23 -23
- package/dist/chunks/{permission-dzwwpm14.js → worktree-1zj7c1b9.js} +35 -41
- package/dist/chunks/{permission-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{permission-sfw1rfb7.js → worktree-2384dzxb.js} +25 -25
- package/dist/chunks/{permission-6h73sxmp.js → worktree-2402vzrj.js} +5 -5
- package/dist/chunks/{permission-phg2e2sn.js → worktree-27zhgsem.js} +4 -4
- package/dist/chunks/{permission-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{permission-vyyd9re9.js → worktree-2gcp25fc.js} +27 -27
- package/dist/chunks/{permission-5mtpdy66.js → worktree-2ggx711d.js} +23 -23
- package/dist/chunks/{permission-2k8khapm.js → worktree-2k8khapm.js} +1 -1
- package/dist/chunks/{permission-2kfwyj8t.js → worktree-2sscpfbp.js} +36 -36
- package/dist/chunks/{permission-1ygqh575.js → worktree-33w4ejhs.js} +6 -6
- package/dist/chunks/{permission-b8z6cgx4.js → worktree-3c8jswt4.js} +23 -23
- package/dist/chunks/{permission-0j1gq5q0.js → worktree-3cvzpexn.js} +19 -19
- package/dist/chunks/{permission-qhqpvhks.js → worktree-3e18wkss.js} +33 -33
- package/dist/chunks/{permission-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-2yjs42jw.js → worktree-3he9s93f.js} +14 -14
- package/dist/chunks/{permission-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-e3vvqy9k.js → worktree-3j8dagdk.js} +33 -33
- package/dist/chunks/{permission-90yk3ysx.js → worktree-3k8b8397.js} +11 -11
- package/dist/chunks/{permission-f62qkzqr.js → worktree-3qaj82j9.js} +5 -5
- package/dist/chunks/{permission-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-j5b7jc6z.js → worktree-3t40p5r2.js} +14 -14
- package/dist/chunks/{permission-cbt43t9n.js → worktree-3t7mm76h.js} +20 -20
- package/dist/chunks/{permission-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-2e6ckx7j.js → worktree-3vhzm9vc.js} +15 -15
- package/dist/chunks/{permission-hhfcwf9e.js → worktree-3zkmgewa.js} +16 -16
- package/dist/chunks/{permission-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
- package/dist/chunks/{permission-4dgbcxzg.js → worktree-44h5tttr.js} +4 -4
- package/dist/chunks/worktree-4chajvys.js +252 -0
- package/dist/chunks/{permission-9cn86291.js → worktree-4da46de2.js} +27 -27
- package/dist/chunks/{permission-2f3cmjw6.js → worktree-4nhngmcq.js} +35 -35
- package/dist/chunks/{permission-v1phcrt4.js → worktree-51kfgev1.js} +15 -15
- package/dist/chunks/{permission-ckecvw8r.js → worktree-54tcyq79.js} +2 -2
- package/dist/chunks/{permission-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{permission-0s95rqpb.js → worktree-5kwfr1e0.js} +25 -25
- package/dist/chunks/{permission-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{permission-v7fphmzy.js → worktree-5xhdg7n0.js} +20 -20
- package/dist/chunks/{permission-nh53w5qr.js → worktree-5xv65hkg.js} +33 -33
- package/dist/chunks/{permission-edqzwk7r.js → worktree-60z3krt2.js} +13 -13
- package/dist/chunks/{permission-8ra6m1eq.js → worktree-659sfxq9.js} +13 -13
- package/dist/chunks/{permission-9n7em7a6.js → worktree-65tps2j5.js} +15 -15
- package/dist/chunks/{permission-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{permission-7zmt5esb.js → worktree-674nz3pn.js} +26 -26
- package/dist/chunks/{permission-8vkgrzpx.js → worktree-6893nb2p.js} +308 -308
- package/dist/chunks/{permission-3kc2a4v3.js → worktree-6f5meky0.js} +44 -44
- package/dist/chunks/worktree-6kdq0pjd.js +4 -0
- package/dist/chunks/{permission-1n2xgvd9.js → worktree-6krmax6q.js} +5 -5
- package/dist/chunks/{permission-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{permission-6ckptgem.js → worktree-72mty36f.js} +11 -11
- package/dist/chunks/{permission-atf3k7a1.js → worktree-7b6f2pz4.js} +3 -3
- package/dist/chunks/{permission-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-n8zrmqva.js → worktree-7eezvbx7.js} +24 -24
- package/dist/chunks/{permission-dh3byjre.js → worktree-7gt3e72m.js} +22 -22
- package/dist/chunks/{permission-kwdb2g4j.js → worktree-7sxxv0k9.js} +15 -15
- package/dist/chunks/{permission-xzf49dj8.js → worktree-7t5fpg5d.js} +12 -12
- package/dist/chunks/{permission-kd9ezq8v.js → worktree-80n4v3ph.js} +11 -11
- package/dist/chunks/{permission-0r7yqxbf.js → worktree-8cmvxv2n.js} +5 -5
- package/dist/chunks/{permission-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{permission-0cncm6aq.js → worktree-8m4g0388.js} +26 -26
- package/dist/chunks/{permission-d6xxazjr.js → worktree-8qbj2xnf.js} +16 -16
- package/dist/chunks/{permission-p8nvvwdr.js → worktree-92zh7pxv.js} +9 -9
- package/dist/chunks/{permission-sb7tcqzb.js → worktree-95v9dhdk.js} +14 -14
- package/dist/chunks/{permission-s4wvmj1w.js → worktree-961mqe0b.js} +11 -11
- package/dist/chunks/{permission-wfvt68ck.js → worktree-96ak3467.js} +15 -15
- package/dist/chunks/{permission-8dshm500.js → worktree-9e5ez0z2.js} +18 -24
- package/dist/chunks/{permission-fy4kd91z.js → worktree-9t5s1r97.js} +9 -9
- package/dist/chunks/{permission-ar2nsrmg.js → worktree-9zraknnh.js} +30 -30
- package/dist/chunks/{permission-gs3s1a1g.js → worktree-a2qe2ev9.js} +8 -8
- package/dist/chunks/{permission-pczk21ak.js → worktree-a4p2e6yr.js} +6 -6
- package/dist/chunks/{permission-3b4xyg7r.js → worktree-a8nvjzqv.js} +8 -8
- package/dist/chunks/{permission-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{permission-s1xcavbq.js → worktree-axtbgcsn.js} +5 -5
- package/dist/chunks/{permission-hcxar3dy.js → worktree-aybmmbc8.js} +31 -31
- package/dist/chunks/{permission-0kbqr9rx.js → worktree-b047h9s9.js} +17 -17
- package/dist/chunks/{permission-cysjgskk.js → worktree-b5pxe27k.js} +26 -26
- package/dist/chunks/{permission-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{permission-j83byb14.js → worktree-bct739vz.js} +4 -4
- package/dist/chunks/{permission-z07pqspn.js → worktree-bjtzbw4r.js} +3 -3
- package/dist/chunks/{permission-2f8yw4sv.js → worktree-bng40jb9.js} +9 -9
- package/dist/chunks/{permission-d87fqded.js → worktree-bqrh5ykt.js} +9 -9
- package/dist/chunks/{permission-gjmk74th.js → worktree-bw9zjykr.js} +6 -6
- package/dist/chunks/{permission-9qxp4dy9.js → worktree-c39c3jzn.js} +12 -12
- package/dist/chunks/{permission-w3nq1sqw.js → worktree-c8jj867k.js} +9 -9
- package/dist/chunks/{permission-3e4s6ymp.js → worktree-caszb10r.js} +24 -24
- package/dist/chunks/{permission-e7wwe935.js → worktree-cn3880dm.js} +3 -3
- package/dist/chunks/{permission-djszqvmq.js → worktree-cpneeje0.js} +9 -9
- package/dist/chunks/{permission-jfzzff3q.js → worktree-cxn44tg0.js} +3 -3
- package/dist/chunks/{permission-t6vsspdg.js → worktree-d216944b.js} +4 -4
- package/dist/chunks/{permission-bvma8vez.js → worktree-d4gc91s6.js} +16 -16
- package/dist/chunks/{permission-2w6fc0zt.js → worktree-d9s573fh.js} +7 -7
- package/dist/chunks/{permission-pjym4tm7.js → worktree-d9vsz0nw.js} +17 -17
- package/dist/chunks/{permission-277eer69.js → worktree-dj68pnee.js} +4 -4
- package/dist/chunks/{permission-dmqcgk4z.js → worktree-dmqcgk4z.js} +2 -2
- package/dist/chunks/{permission-3t5wgsns.js → worktree-dqt0xvez.js} +5 -8
- package/dist/chunks/{permission-xfkkasph.js → worktree-drwq78ky.js} +4 -4
- package/dist/chunks/{permission-akzxnx93.js → worktree-dt5mtb60.js} +11 -11
- package/dist/chunks/{permission-bcj24as6.js → worktree-dx2x7qh9.js} +35 -35
- package/dist/chunks/{permission-c3aqhckj.js → worktree-dx8w7vfp.js} +10 -10
- package/dist/chunks/{permission-bhjmc7t3.js → worktree-e14rzxnr.js} +33 -33
- package/dist/chunks/{permission-rjq23j7t.js → worktree-e32cc78a.js} +86 -86
- package/dist/chunks/{permission-waz4nkqe.js → worktree-e81dr17b.js} +4 -4
- package/dist/chunks/{permission-q83vp15h.js → worktree-e9r79r8d.js} +9 -9
- package/dist/chunks/{permission-rhjbct0v.js → worktree-eaj1djv9.js} +8 -8
- package/dist/chunks/{permission-ecfe7b91.js → worktree-ecfe7b91.js} +2 -2
- package/dist/chunks/{permission-bm1f71yt.js → worktree-eeaf82dq.js} +8 -8
- package/dist/chunks/{permission-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-6kda1prh.js → worktree-ejmtyfyw.js} +26 -26
- package/dist/chunks/{permission-a5zd3thz.js → worktree-ekhm0sea.js} +7 -7
- package/dist/chunks/{permission-ahnsdqkq.js → worktree-em8v7a32.js} +30 -30
- package/dist/chunks/{permission-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{permission-x9wbmrd5.js → worktree-ewbjc8wa.js} +21 -21
- package/dist/chunks/{permission-g8h1n5y5.js → worktree-ex8c9819.js} +9 -9
- package/dist/chunks/{permission-k9avtbwf.js → worktree-eyz64kwr.js} +7 -14
- package/dist/chunks/{permission-2wsqpdn5.js → worktree-ezg02vs1.js} +13 -13
- package/dist/chunks/{permission-6nkvgkq9.js → worktree-f1kzstbv.js} +26 -26
- package/dist/chunks/{permission-byy3mcv6.js → worktree-f77nxt0h.js} +22 -22
- package/dist/chunks/{permission-nq7qbqzc.js → worktree-f7j90zp2.js} +2 -2
- package/dist/chunks/{permission-ry74s6py.js → worktree-f9ag4zkz.js} +23 -23
- package/dist/chunks/{permission-30t0f9bf.js → worktree-fe8ssjsg.js} +174 -174
- package/dist/chunks/{permission-64j1dnk2.js → worktree-fex7j0m5.js} +13 -13
- package/dist/chunks/{permission-qtt8rjvb.js → worktree-fferps3m.js} +17 -17
- package/dist/chunks/{permission-b8hzf7nw.js → worktree-fgewnttk.js} +8 -8
- package/dist/chunks/{permission-b5q3ry10.js → worktree-fj30x8t9.js} +21 -21
- package/dist/chunks/{permission-dt5ft21v.js → worktree-fv23f2g8.js} +3 -3
- package/dist/chunks/{permission-5zgzw0qf.js → worktree-gafemadt.js} +89 -89
- package/dist/chunks/{permission-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-t23bgkkb.js → worktree-gdv4qzn0.js} +41 -41
- package/dist/chunks/{permission-94ek1h2f.js → worktree-gfvb90ym.js} +2 -2
- package/dist/chunks/{permission-wsa7qf31.js → worktree-ggceqynt.js} +11 -11
- package/dist/chunks/{permission-7t6cswfs.js → worktree-gken7ajx.js} +14 -14
- package/dist/chunks/{permission-001w0r38.js → worktree-gnhsmmqn.js} +6 -6
- package/dist/chunks/{permission-bwhsz0as.js → worktree-gpb9r3qt.js} +9 -9
- package/dist/chunks/{permission-68c3zqnv.js → worktree-gq56w217.js} +5 -5
- package/dist/chunks/{permission-fw2v9256.js → worktree-gs4tkc79.js} +8 -8
- package/dist/chunks/{permission-5ryghfxb.js → worktree-gx48bf3k.js} +8 -8
- package/dist/chunks/{permission-zbnnn9xp.js → worktree-gx5nrd37.js} +13 -13
- package/dist/chunks/{permission-gqaynh57.js → worktree-gyqt3txq.js} +18 -18
- package/dist/chunks/{permission-d159wxah.js → worktree-h22tcczk.js} +8 -8
- package/dist/chunks/{permission-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-m1av9y51.js → worktree-hdkzdw1f.js} +16 -16
- package/dist/chunks/{permission-5kvqrqtt.js → worktree-hnr8f6ws.js} +4 -4
- package/dist/chunks/{permission-ggn2q8wb.js → worktree-hxghybcg.js} +6 -6
- package/dist/chunks/{permission-v7s9yhmd.js → worktree-j3b38fkc.js} +5 -5
- package/dist/chunks/{permission-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{permission-nng2ktcm.js → worktree-jca4demv.js} +2 -2
- package/dist/chunks/{permission-tvgvprj8.js → worktree-jjk7p82s.js} +28 -28
- package/dist/chunks/{permission-ft0hsrhm.js → worktree-jwjamgbd.js} +22 -22
- package/dist/chunks/{permission-fhp4k3j9.js → worktree-jwtb7ds2.js} +54 -54
- package/dist/chunks/{permission-m9q6nt69.js → worktree-jypr9n4v.js} +24 -24
- package/dist/chunks/{permission-va5qff5x.js → worktree-jz5sxy2v.js} +6 -6
- package/dist/chunks/{permission-296txdq9.js → worktree-k33k5sgz.js} +1 -1
- package/dist/chunks/{permission-k3c624dm.js → worktree-k3c624dm.js} +3 -3
- package/dist/chunks/{permission-2b0a6zyh.js → worktree-k4xjzc9h.js} +7 -7
- package/dist/chunks/{permission-jp1j8mt2.js → worktree-k6qbet7y.js} +42 -42
- package/dist/chunks/{permission-c1w29199.js → worktree-k7s9b0vb.js} +3 -3
- package/dist/chunks/{permission-efhxkz2r.js → worktree-kbrhjmmj.js} +6 -22
- package/dist/chunks/{permission-hasdsx5m.js → worktree-kh5y7dsa.js} +26 -26
- package/dist/chunks/{permission-gs60z27v.js → worktree-kj6zq9q4.js} +8 -8
- package/dist/chunks/{permission-4wa8rwpk.js → worktree-kmnyjx2j.js} +20 -20
- package/dist/chunks/{permission-swpyer75.js → worktree-ktvcadya.js} +12 -12
- package/dist/chunks/{permission-r1najpkt.js → worktree-kvkgejfx.js} +14 -14
- package/dist/chunks/{permission-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{permission-52ydpxj4.js → worktree-m75a1scj.js} +11 -11
- package/dist/chunks/{permission-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-cavr175a.js → worktree-magykp64.js} +4 -4
- package/dist/chunks/{permission-bgbzcg1n.js → worktree-mjk1w6qm.js} +5 -5
- package/dist/chunks/{permission-sbfe9m0d.js → worktree-n3h0vr51.js} +8 -8
- package/dist/chunks/{permission-0te0zncg.js → worktree-n45vtd7p.js} +10 -10
- package/dist/chunks/{permission-baaqp4zd.js → worktree-n4r3xatb.js} +4 -4
- package/dist/chunks/{permission-9qepf6xg.js → worktree-n8zk10z2.js} +12 -12
- package/dist/chunks/{permission-s4sz7mfv.js → worktree-n9hm6cyq.js} +17 -17
- package/dist/chunks/{permission-0jq9fyba.js → worktree-njhqdk9p.js} +9 -9
- package/dist/chunks/{permission-zy255zeq.js → worktree-nn6yf1qt.js} +318 -318
- package/dist/chunks/{permission-p37cw4rj.js → worktree-p37cw4rj.js} +1 -1
- package/dist/chunks/{permission-3p3dzcr7.js → worktree-pc7a78kv.js} +72 -72
- package/dist/chunks/{permission-vy6b5em3.js → worktree-pcn71y31.js} +8 -8
- package/dist/chunks/{permission-mws41bry.js → worktree-pd6w8b01.js} +23 -23
- package/dist/chunks/{permission-0br3sbwn.js → worktree-pgp1nwjn.js} +4 -4
- package/dist/chunks/{permission-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{permission-wd3x2cqz.js → worktree-psazpmmj.js} +2 -2
- package/dist/chunks/{permission-mmnvkg4r.js → worktree-psf552px.js} +22 -22
- package/dist/chunks/{permission-by1p8q1p.js → worktree-pttk24fx.js} +54 -54
- package/dist/chunks/{permission-fv1d8yds.js → worktree-pvecmqrq.js} +48 -48
- package/dist/chunks/{permission-mzqkw4fg.js → worktree-q10fqe6z.js} +10 -10
- package/dist/chunks/{permission-ae12mqtr.js → worktree-q3d9qgrv.js} +5 -5
- package/dist/chunks/{permission-7w99qc9d.js → worktree-q3t37ft6.js} +3 -3
- package/dist/chunks/{permission-2gwzkvcr.js → worktree-q86ksqw5.js} +29 -29
- package/dist/chunks/{permission-dwd5gn3v.js → worktree-qany4v32.js} +39 -39
- package/dist/chunks/worktree-qc068m1q.js +18 -0
- package/dist/chunks/{permission-tts6w2c0.js → worktree-qecp8fbz.js} +11 -11
- package/dist/chunks/{permission-1sag5cbk.js → worktree-qgqfqnbd.js} +12 -12
- package/dist/chunks/worktree-qj6bq7hm.js +26 -0
- package/dist/chunks/{permission-bv5rrht5.js → worktree-qkk2rr8y.js} +38 -38
- package/dist/chunks/{permission-fdcp7117.js → worktree-qrevjn02.js} +32 -32
- package/dist/chunks/{permission-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-5yqs442z.js → worktree-qysgwets.js} +11 -11
- package/dist/chunks/{permission-2tdz4740.js → worktree-r23pbb8t.js} +26 -26
- package/dist/chunks/{permission-ej53mqpx.js → worktree-r5v4xwkj.js} +39 -39
- package/dist/chunks/{permission-444gg6f1.js → worktree-r775761k.js} +23 -23
- package/dist/chunks/{permission-1acjjqhc.js → worktree-r8xr0va3.js} +4 -4
- package/dist/chunks/{permission-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-rd9rk3dn.js → worktree-rf68yed4.js} +4 -4
- package/dist/chunks/{permission-2xwkyk0m.js → worktree-rkdvqggb.js} +5 -5
- package/dist/chunks/{permission-8sze2n9a.js → worktree-rkprpv83.js} +6 -6
- package/dist/chunks/{permission-z10j5g1a.js → worktree-rp0b7fvm.js} +30 -30
- package/dist/chunks/{permission-zeh9ct20.js → worktree-rq775frq.js} +2 -2
- package/dist/chunks/{permission-awhgk454.js → worktree-rxmj2525.js} +5 -5
- package/dist/chunks/{permission-cfgnp1rp.js → worktree-s1xp2azn.js} +32 -32
- package/dist/chunks/{permission-4y72ap3v.js → worktree-s2ynmxvy.js} +12 -12
- package/dist/chunks/{permission-syf57q56.js → worktree-s30fyz93.js} +4 -4
- package/dist/chunks/{permission-ycjqhn27.js → worktree-s6qgj9yb.js} +11 -11
- package/dist/chunks/{permission-5szfgc5e.js → worktree-s8h5ed1j.js} +17 -17
- package/dist/chunks/{permission-3vtdnh8g.js → worktree-shcgk7se.js} +6 -6
- package/dist/chunks/{permission-w54cm820.js → worktree-shhg5kc4.js} +21 -21
- package/dist/chunks/{permission-7qafvgtc.js → worktree-sqgjnw45.js} +1 -1
- package/dist/chunks/{permission-g3gqqgf2.js → worktree-sssfkgzr.js} +11 -11
- package/dist/chunks/{permission-1egaj4wt.js → worktree-swsbd73k.js} +15 -15
- package/dist/chunks/{permission-dj9sq318.js → worktree-t2vpa3bp.js} +5 -5
- package/dist/chunks/{permission-9hrb99b0.js → worktree-t2yvaxt4.js} +4 -4
- package/dist/chunks/{permission-3cemp78t.js → worktree-t4km5p4j.js} +23 -23
- package/dist/chunks/{permission-4phm5153.js → worktree-t4mbtemh.js} +5 -5
- package/dist/chunks/{permission-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{permission-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{permission-e8bjwr6g.js → worktree-tpp8915p.js} +32 -32
- package/dist/chunks/{permission-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{permission-ayqmgy5k.js → worktree-v75ben0y.js} +11 -11
- package/dist/chunks/{permission-bd96rvy0.js → worktree-vc7dggtw.js} +20 -20
- package/dist/chunks/{permission-jkv26egb.js → worktree-vdcyv8vc.js} +10 -10
- package/dist/chunks/{permission-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-pyqpzv5h.js → worktree-vkxhpebf.js} +9 -9
- package/dist/chunks/{permission-274ea90s.js → worktree-vrxvw0ry.js} +43 -43
- package/dist/chunks/{permission-fad6j005.js → worktree-vtgtp4yy.js} +8 -8
- package/dist/chunks/{permission-07770t2t.js → worktree-vx8g7p8m.js} +8 -8
- package/dist/chunks/{permission-m3zza4qd.js → worktree-vz7d5c1g.js} +8 -8
- package/dist/chunks/{permission-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{permission-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
- package/dist/chunks/{permission-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-j15mfg1p.js → worktree-w4arg62q.js} +6 -6
- package/dist/chunks/{permission-ecw0cacm.js → worktree-w7ams0n7.js} +43 -43
- package/dist/chunks/{permission-7tfdw4kn.js → worktree-waa26gy5.js} +19 -19
- package/dist/chunks/{permission-n75dgb1y.js → worktree-wagw3cnt.js} +36 -36
- package/dist/chunks/{permission-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{permission-jyjnbdry.js → worktree-wedrxhxr.js} +6 -6
- package/dist/chunks/{permission-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{permission-5v6ecpn9.js → worktree-x3x9tpbc.js} +17 -17
- package/dist/chunks/{permission-01ffsn2j.js → worktree-xg31f8ct.js} +15 -15
- package/dist/chunks/{permission-0qxhqs63.js → worktree-xycfn4ya.js} +20 -20
- package/dist/chunks/{permission-6aesvrx9.js → worktree-xznnvfjn.js} +20 -20
- package/dist/chunks/{permission-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-9f7mwg51.js → worktree-y2zgx20r.js} +3 -3
- package/dist/chunks/{permission-y71avatq.js → worktree-y71avatq.js} +1 -1
- package/dist/chunks/{permission-13apfhb0.js → worktree-ya6t0hrg.js} +20 -20
- package/dist/chunks/{permission-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{permission-yrznvahk.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{permission-w491vddx.js → worktree-yskbjwxr.js} +25 -25
- package/dist/chunks/{permission-5x1p32da.js → worktree-ytnjtmra.js} +3 -3
- package/dist/chunks/{permission-2cmr90kh.js → worktree-yvpmtcpk.js} +7 -7
- package/dist/chunks/{permission-gv6a8nnw.js → worktree-yyb7tjpc.js} +2 -2
- package/dist/chunks/{permission-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-z63w68vq.js → worktree-z63w68vq.js} +2 -2
- package/dist/chunks/{permission-mvksx64m.js → worktree-zfps0aje.js} +4 -4
- package/dist/chunks/{permission-ktajhw28.js → worktree-zj4nggsa.js} +35 -35
- package/dist/chunks/{permission-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- 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 +79 -79
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +140 -140
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -106
- package/dist/file-mutation.js +94 -94
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +106 -106
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +94 -94
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +161 -161
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- 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 +96 -96
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +6 -8
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +5 -117
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +138 -138
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +91 -91
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/file-access.d.ts +0 -5
- package/dist/types/location-services.d.ts +0 -1
- package/dist/types/session/error.d.ts +0 -4
- package/dist/types/session/runner/index.d.ts +2 -2
- package/dist/types/session/runner/retry.d.ts +0 -5
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +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 +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -14
- package/dist/chunks/permission-4v7qdvcn.js +0 -18
- package/dist/chunks/permission-9mjahchf.js +0 -252
- package/dist/chunks/permission-g3ch1sn9.js +0 -26
- package/dist/chunks/permission-qapv375x.js +0 -4
- package/dist/location-mutation.js +0 -118
- package/dist/types/location-mutation.d.ts +0 -3
- package/dist/types/util/array.d.ts +0 -1
- package/dist/types/util/process-lock-ffi.bun.d.ts +0 -12
- package/dist/types/util/process-lock-ffi.node.d.ts +0 -12
- package/dist/types/util/process-lock-ffi.workerd.d.ts +0 -12
- package/dist/types/util/process-lock.d.ts +0 -20
- package/dist/util/array.js +0 -12
- package/dist/util/process-lock-ffi.bun.js +0 -51
- package/dist/util/process-lock-ffi.node.js +0 -44
- package/dist/util/process-lock-ffi.workerd.js +0 -10
- package/dist/util/process-lock.js +0 -121
- /package/dist/chunks/{permission-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-34c7v6d4.js → worktree-34c7v6d4.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service80
|
|
8
|
+
} from "./worktree-3he9s93f.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service48
|
|
11
|
+
} from "./worktree-7eezvbx7.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./worktree-65tps2j5.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service20,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-60z3krt2.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service75
|
|
22
|
+
} from "./worktree-pttk24fx.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service51,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./worktree-9e5ez0z2.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./worktree-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./worktree-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input9,
|
|
39
|
+
Output: () => Output6,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin11,
|
|
42
|
+
name: () => name9,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name9 = "patch";
|
|
89
|
+
var Input9 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output6 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin11 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service48;
|
|
112
|
+
const access = yield* Service51;
|
|
113
|
+
const fileMutation = yield* Service20;
|
|
114
|
+
const formatter = yield* Service13;
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const permission = yield* Service75;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name9,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input9,
|
|
122
|
+
output: Output6,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin20 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent5(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name9, Input9, Applied2, Output6, toModelContent5, Plugin11, exports_patch };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-6893nb2p.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-e14rzxnr.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve4
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve4(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -491,4 +491,4 @@ var PROTOCOLS = {
|
|
|
491
491
|
[aisdk2("@ai-sdk/cohere")]: cohere
|
|
492
492
|
};
|
|
493
493
|
|
|
494
|
-
export {
|
|
494
|
+
export { resolve4, exports_variant };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service35,
|
|
3
|
+
node39
|
|
4
|
+
} from "./worktree-ejmtyfyw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions4 = {};
|
|
17
17
|
__export(exports_instructions4, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions4,
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
Service: () => Service31,
|
|
20
|
+
node: () => node34
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,19 +57,19 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service31 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service35;
|
|
64
|
+
return Service31.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
72
|
-
key:
|
|
71
|
+
return make21({
|
|
72
|
+
key: Key4.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node34 = makeLocationNode({ service: Service31, layer, deps: [node39] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service31, node34, exports_instructions4 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Info20,
|
|
6
|
-
|
|
6
|
+
ID7,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-gyqt3txq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service42
|
|
11
|
+
} from "./worktree-gdv4qzn0.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin33,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin33 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
433
|
editor.add(Info20.make({
|
|
434
|
-
id:
|
|
434
|
+
id: ID7.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
440
|
editor.add(Info20.make({
|
|
441
|
-
id:
|
|
441
|
+
id: ID7.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service42;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin33, exports_skill2 };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-t2yvaxt4.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service67,
|
|
8
|
+
node71
|
|
9
|
+
} from "./worktree-0j68vngr.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event9,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service46,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node49,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service46 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event9 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service67;
|
|
81
81
|
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event9.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service46.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event9.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event9.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node49 = makeGlobalNode({ service: Service46, layer, deps: [httpClient, node71, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service46, Event9, inspect2, resolve3, node49, exports_wellknown };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-t2yvaxt4.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service80,
|
|
12
|
+
node84
|
|
13
|
+
} from "./worktree-3he9s93f.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info3,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service14,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node17
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info3, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service14 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info3));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service14.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node17 = makeLocationNode({
|
|
168
|
+
service: Service14,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node84, node87]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, Service14, node17, exports_vcs };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-pvecmqrq.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-7b6f2pz4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-t2yvaxt4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./worktree-bw9zjykr.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service45
|
|
16
|
+
} from "./worktree-aybmmbc8.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./worktree-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./worktree-eyz64kwr.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./worktree-bjtzbw4r.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./worktree-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service62;
|
|
46
46
|
const database = yield* Service84;
|
|
47
47
|
const bus = yield* Service83;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service45;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service62;
|
|
78
78
|
const bus = yield* Service83;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service45;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|