@opencode/core 0.0.0-dev-20686 → 0.0.0-dev-20688
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{file-retention-dhxjrn4z.js → permission-0e0fe8yx.js} +9 -9
- package/dist/chunks/{file-retention-8qyxgmca.js → permission-0escwrsj.js} +11 -11
- package/dist/chunks/{file-retention-0paq2nw3.js → permission-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-0vbcp93d.js → permission-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-retention-30846h32.js → permission-0xezjjjn.js} +8 -8
- package/dist/chunks/{file-retention-04b42xsk.js → permission-10dv2xfs.js} +43 -43
- package/dist/chunks/{file-retention-0q5g7n77.js → permission-194t0rba.js} +22 -22
- package/dist/chunks/{file-retention-1dazxqgg.js → permission-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-1dvck2a7.js → permission-1dvck2a7.js} +2 -2
- package/dist/chunks/{file-retention-d9wzmzc3.js → permission-1nwxscpy.js} +5 -5
- package/dist/chunks/{file-retention-33kqnb84.js → permission-1q5xzxex.js} +17 -17
- package/dist/chunks/{file-retention-mbt5cw93.js → permission-1t5dys3y.js} +13 -13
- package/dist/chunks/{file-retention-j7ektg2c.js → permission-1vasm310.js} +46 -46
- package/dist/chunks/{file-retention-rjk8fnxb.js → permission-1y7qakgj.js} +35 -35
- package/dist/chunks/{file-retention-rf6cmkn1.js → permission-1y9xp183.js} +11 -11
- package/dist/chunks/{file-retention-a1ekkk6g.js → permission-1yqzzd83.js} +10 -10
- package/dist/chunks/{file-retention-j57qcdj3.js → permission-1ywvxz94.js} +17 -17
- package/dist/chunks/{file-retention-2a5m3afh.js → permission-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-w14eggg5.js → permission-2ebsrpgv.js} +17 -17
- package/dist/chunks/{file-retention-gj10t9en.js → permission-2fhksyd5.js} +30 -30
- package/dist/chunks/{file-retention-f5gy8qwh.js → permission-2k64ycz1.js} +8 -8
- package/dist/chunks/{file-retention-x9qn77dj.js → permission-2t17veph.js} +35 -35
- package/dist/chunks/{file-retention-1n632r5x.js → permission-2xnzgjvn.js} +3 -3
- package/dist/chunks/{file-retention-kqx66hb9.js → permission-36nz8rj0.js} +26 -26
- package/dist/chunks/{file-retention-3fc6dm20.js → permission-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-3hepkmqq.js → permission-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-9jwk2z16.js → permission-3p7z255n.js} +28 -28
- package/dist/chunks/{file-retention-n1n192bv.js → permission-3sj8yt8v.js} +4 -4
- package/dist/chunks/{file-retention-3smtnn6g.js → permission-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → permission-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-3zsf4n22.js → permission-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-retention-zcs7pzqw.js → permission-41mbax9f.js} +26 -26
- package/dist/chunks/{file-retention-arz7hw7x.js → permission-4a7gy6vj.js} +2 -2
- package/dist/chunks/{file-retention-cpqeyayh.js → permission-4ad028th.js} +6 -6
- package/dist/chunks/{file-retention-na6tqg4t.js → permission-4cay6e5n.js} +21 -21
- package/dist/chunks/{file-retention-ae3ekk0y.js → permission-4hjzyf7t.js} +21 -21
- package/dist/chunks/{file-retention-f9nevmwk.js → permission-4j24z8gn.js} +11 -11
- package/dist/chunks/{file-retention-n37c4crj.js → permission-4nj4bn9q.js} +8 -8
- package/dist/chunks/{file-retention-4ts7tf6z.js → permission-4ts7tf6z.js} +2 -2
- package/dist/chunks/{file-retention-820kspmq.js → permission-4x0gkadg.js} +22 -22
- package/dist/chunks/{file-retention-ptx056q3.js → permission-4za9axf7.js} +20 -20
- package/dist/chunks/{file-retention-54ma36ye.js → permission-54ma36ye.js} +1 -1
- package/dist/chunks/{file-retention-vbpjx0bg.js → permission-55p2ap5f.js} +5 -5
- package/dist/chunks/{file-retention-qykya8vg.js → permission-5bdqp5q2.js} +30 -30
- package/dist/chunks/{file-retention-5daktx2q.js → permission-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-5m9w47nd.js → permission-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-retention-5a9zanfr.js → permission-5qevsstt.js} +39 -39
- package/dist/chunks/{file-retention-5t3nmthw.js → permission-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-gh5z95q3.js → permission-5tcm9639.js} +9 -9
- package/dist/chunks/{file-retention-s6d08xqn.js → permission-5v0382rn.js} +8 -8
- package/dist/chunks/{file-retention-ey888tbp.js → permission-5vevbavy.js} +15 -15
- package/dist/chunks/{file-retention-3g8j9he4.js → permission-5w9yjztw.js} +1 -1
- package/dist/chunks/{file-retention-ytkq3k3g.js → permission-60h8n1mb.js} +9 -9
- package/dist/chunks/{file-retention-7jc2cdj1.js → permission-62p5vnps.js} +12 -12
- package/dist/chunks/{file-retention-2ma8f05f.js → permission-64ft88kd.js} +27 -27
- package/dist/chunks/{file-retention-jbtmhr82.js → permission-6bax3wfe.js} +11 -11
- package/dist/chunks/permission-6h37vygj.js +18 -0
- package/dist/chunks/{file-retention-wtdswasp.js → permission-6h72t1h6.js} +10 -10
- package/dist/chunks/{file-retention-x0r517r6.js → permission-6jyk02px.js} +14 -14
- package/dist/chunks/{file-retention-9ye852qw.js → permission-6m32jaa6.js} +10 -10
- package/dist/chunks/{file-retention-4ffr5ypj.js → permission-6p20k3wd.js} +28 -28
- package/dist/chunks/{file-retention-6cj95z3h.js → permission-6sgfaakk.js} +23 -23
- package/dist/chunks/{file-retention-at46jfrx.js → permission-6tnrh5ya.js} +22 -22
- package/dist/chunks/{file-retention-6xb47vfp.js → permission-6xb47vfp.js} +1 -1
- package/dist/chunks/{file-retention-71az546q.js → permission-71az546q.js} +2 -2
- package/dist/chunks/{file-retention-0f5x9ggt.js → permission-71ct72cd.js} +4 -4
- package/dist/chunks/{file-retention-23kkzav6.js → permission-72n81e5t.js} +15 -15
- package/dist/chunks/{file-retention-kjwsf0xt.js → permission-7332sqjz.js} +15 -15
- package/dist/chunks/{file-retention-70he5k1a.js → permission-77jgmqn4.js} +18 -18
- package/dist/chunks/{file-retention-cwa6csj7.js → permission-79qaa2kf.js} +9 -9
- package/dist/chunks/{file-retention-fda9q8n1.js → permission-7a87wzr4.js} +27 -27
- package/dist/chunks/{file-retention-7bmhse3q.js → permission-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-pmzay1jn.js → permission-7dhnq9pm.js} +37 -37
- package/dist/chunks/{file-retention-83wsadg5.js → permission-7jpwzvts.js} +12 -12
- package/dist/chunks/{file-retention-vr81r1wp.js → permission-7jtnznqz.js} +8 -8
- package/dist/chunks/{file-retention-3rndcht0.js → permission-7kdajcy6.js} +86 -86
- package/dist/chunks/{file-retention-w9c6j00y.js → permission-7m6c6kjp.js} +29 -29
- package/dist/chunks/{file-retention-938z0aze.js → permission-7t7dp16p.js} +23 -23
- package/dist/chunks/{file-retention-hkw265ex.js → permission-7xqm7vez.js} +82 -82
- package/dist/chunks/{file-retention-w1eejvng.js → permission-84txncab.js} +5 -5
- package/dist/chunks/{file-retention-8d7r5vzw.js → permission-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-j8d73t99.js → permission-8vs0yxbt.js} +42 -42
- package/dist/chunks/{file-retention-4jvpaqy4.js → permission-8x7y6wyf.js} +32 -32
- package/dist/chunks/{file-retention-094k6nq6.js → permission-8y4537ag.js} +16 -16
- package/dist/chunks/{file-retention-bfzhmb2g.js → permission-8yan9qxg.js} +23 -23
- package/dist/chunks/{file-retention-ve6nm2s5.js → permission-9ae44cfy.js} +6 -6
- package/dist/chunks/{file-retention-9e5bzkjp.js → permission-9e5bzkjp.js} +3 -3
- package/dist/chunks/permission-9ekewq9g.js +253 -0
- package/dist/chunks/{file-retention-64dv7wa4.js → permission-9mjxwsxw.js} +13 -13
- package/dist/chunks/{file-retention-s8d7rejh.js → permission-9t7a50xb.js} +4 -4
- package/dist/chunks/{file-retention-9qrc8kph.js → permission-a41s0txc.js} +5 -5
- package/dist/chunks/{file-retention-2c25w9p0.js → permission-a8nwbtm7.js} +4 -4
- package/dist/chunks/{file-retention-aaet6srn.js → permission-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-edexehs9.js → permission-abgm0z3p.js} +28 -28
- package/dist/chunks/{file-retention-mxvxcxwy.js → permission-addxnjmp.js} +4 -4
- package/dist/chunks/{file-retention-zzmbjfh5.js → permission-aeqh8ayv.js} +3 -3
- package/dist/chunks/{file-retention-mdyte87w.js → permission-b209fthr.js} +4 -4
- package/dist/chunks/{file-retention-b3f8fkhc.js → permission-b3f8fkhc.js} +2 -2
- package/dist/chunks/{file-retention-9fyy27dk.js → permission-b4n2fnz4.js} +32 -32
- package/dist/chunks/{file-retention-b6gygkdw.js → permission-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-kd48n5vs.js → permission-b8z51b6b.js} +9 -9
- package/dist/chunks/{file-retention-4y79czg2.js → permission-b92n5frd.js} +16 -16
- package/dist/chunks/{file-retention-ygrct2xs.js → permission-b9dn5hn6.js} +29 -29
- package/dist/chunks/{file-retention-srq67sk8.js → permission-bcnrsvht.js} +5 -5
- package/dist/chunks/{file-retention-nxb06eb5.js → permission-bddzygnv.js} +11 -11
- package/dist/chunks/{file-retention-hwgkyev7.js → permission-bfdd4cb4.js} +10 -10
- package/dist/chunks/{file-retention-w49382pb.js → permission-bh0zzf2s.js} +8 -8
- package/dist/chunks/{file-retention-50fv3yjs.js → permission-by8n9qt3.js} +22 -22
- package/dist/chunks/{file-retention-zm4ck3vc.js → permission-c2dh82xc.js} +15 -15
- package/dist/chunks/{file-retention-zafm009k.js → permission-c44f928x.js} +4 -4
- package/dist/chunks/{file-retention-904an80t.js → permission-c9q7qt0j.js} +18 -18
- package/dist/chunks/{file-retention-s609sw4r.js → permission-cac7ewr5.js} +13 -13
- package/dist/chunks/{file-retention-2pbjjxkv.js → permission-cfsjj92n.js} +10 -10
- package/dist/chunks/{file-retention-dktpvhqt.js → permission-cgfw62c1.js} +36 -36
- package/dist/chunks/{file-retention-4j03jpg8.js → permission-d381vkkz.js} +3 -3
- package/dist/chunks/{file-retention-g0wmaxy9.js → permission-d602qkab.js} +25 -25
- package/dist/chunks/{file-retention-d3r92nc5.js → permission-dcsqhe5p.js} +16 -16
- package/dist/chunks/{file-retention-gd9q1fb3.js → permission-dcxc4avz.js} +11 -11
- package/dist/chunks/{file-retention-yvgnd6da.js → permission-dgb6jywt.js} +5 -5
- package/dist/chunks/{file-retention-750g53k3.js → permission-dka3w8mh.js} +32 -32
- package/dist/chunks/{file-retention-1ffbm2jk.js → permission-dp98172p.js} +11 -11
- package/dist/chunks/{file-retention-dpkg50ah.js → permission-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-retention-yb1jef8c.js → permission-dv3pa25w.js} +11 -11
- package/dist/chunks/{file-retention-jrpn6x2x.js → permission-e0qhp09y.js} +15 -15
- package/dist/chunks/{file-retention-krp44vcd.js → permission-e1my5csp.js} +42 -42
- package/dist/chunks/{file-retention-y5nh7e22.js → permission-e6bjgdpg.js} +11 -11
- package/dist/chunks/{file-retention-03xyy9gs.js → permission-ec3traks.js} +6 -6
- package/dist/chunks/{file-retention-ef5x83kb.js → permission-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-64yxt7jn.js → permission-ept765rp.js} +15 -15
- package/dist/chunks/{file-retention-3ss2yntf.js → permission-eq1hrfg7.js} +13 -13
- package/dist/chunks/{file-retention-be4ddzaj.js → permission-er1qgfv5.js} +23 -23
- package/dist/chunks/{file-retention-etq0c3wd.js → permission-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-znqtm8yx.js → permission-ev8h0xdf.js} +13 -13
- package/dist/chunks/permission-evmw8smx.js +26 -0
- package/dist/chunks/{file-retention-r6qhg5cx.js → permission-f08ext3y.js} +18 -18
- package/dist/chunks/{file-retention-7c5mdn1c.js → permission-fcwad6q9.js} +9 -9
- package/dist/chunks/{file-retention-n7m69k8w.js → permission-fgpjp61f.js} +12 -12
- package/dist/chunks/{file-retention-g8pw0xsb.js → permission-fh55fhvv.js} +18 -18
- package/dist/chunks/{file-retention-2e6ycnq2.js → permission-fp7za5pf.js} +4 -4
- package/dist/chunks/{file-retention-0aneshm7.js → permission-fv6ke7h7.js} +17 -17
- package/dist/chunks/{file-retention-bgapsv9a.js → permission-fvqrnts2.js} +72 -72
- package/dist/chunks/{file-retention-5bvv5wt0.js → permission-fzv62hvw.js} +12 -12
- package/dist/chunks/{file-retention-gq1kxapj.js → permission-g49y9ve0.js} +22 -22
- package/dist/chunks/permission-g769z57k.js +507 -0
- package/dist/chunks/{file-retention-3yef2cta.js → permission-g98wbq2x.js} +8 -8
- package/dist/chunks/{file-retention-gd4qta3r.js → permission-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-b674v2dg.js → permission-gj71zhbs.js} +5 -5
- package/dist/chunks/{file-retention-kr41r1s2.js → permission-gp7q2fb6.js} +37 -37
- package/dist/chunks/{file-retention-dagpcw60.js → permission-grrb6rgh.js} +11 -11
- package/dist/chunks/{file-retention-09hj56x9.js → permission-gwvgyx32.js} +35 -35
- package/dist/chunks/{file-retention-h2b79v29.js → permission-h2b79v29.js} +2 -2
- package/dist/chunks/{file-retention-q0n3fxgm.js → permission-h2nd8448.js} +3 -3
- package/dist/chunks/{file-retention-srm8s2qm.js → permission-h5xe2w86.js} +11 -11
- package/dist/chunks/{file-retention-h6vf3j39.js → permission-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-acw72k0x.js → permission-h8k3cc2z.js} +9 -9
- package/dist/chunks/{file-retention-pasrzgnm.js → permission-hnfjkn81.js} +11 -11
- package/dist/chunks/{file-retention-d1wgwwpz.js → permission-hqy46avb.js} +31 -31
- package/dist/chunks/{file-retention-cstv7mkv.js → permission-hs1x7rht.js} +12 -12
- package/dist/chunks/{file-retention-b929sp55.js → permission-htpvgqrd.js} +8 -8
- package/dist/chunks/{file-retention-crgh4fce.js → permission-hvcytzw6.js} +3 -3
- package/dist/chunks/{file-retention-jantjze8.js → permission-hwqmtcgc.js} +175 -175
- package/dist/chunks/{file-retention-mhkvc446.js → permission-j028xdjb.js} +3 -3
- package/dist/chunks/{file-retention-pvr6cp49.js → permission-j1wcwcqm.js} +1 -1
- package/dist/chunks/{file-retention-ybqw3e3v.js → permission-j4jzm50g.js} +3 -3
- package/dist/chunks/{file-retention-j56e64zr.js → permission-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-2x9pw9ke.js → permission-j7g61wp1.js} +11 -11
- package/dist/chunks/{file-retention-zwrdb9pw.js → permission-j8n9y25r.js} +18 -18
- package/dist/chunks/{file-retention-hm31tfx1.js → permission-jasp3a05.js} +1 -1
- package/dist/chunks/{file-retention-17sdckqj.js → permission-jbgk0j3b.js} +37 -37
- package/dist/chunks/{file-retention-8h3wwz5z.js → permission-jct8zyk7.js} +8 -8
- package/dist/chunks/{file-retention-473qxj02.js → permission-jf6zwwv4.js} +12 -12
- package/dist/chunks/{file-retention-wknvrshc.js → permission-k1ez0b74.js} +15 -15
- package/dist/chunks/{file-retention-0eb38e45.js → permission-k6dq1brx.js} +24 -24
- package/dist/chunks/{file-retention-dzbjpkzp.js → permission-kd4hf263.js} +6 -6
- package/dist/chunks/{file-retention-fqy13z6k.js → permission-kegfba9d.js} +7 -7
- package/dist/chunks/{file-retention-wmns5nf0.js → permission-keykcebr.js} +4 -4
- package/dist/chunks/{file-retention-xe9nhgdy.js → permission-kk8nc0y1.js} +32 -32
- package/dist/chunks/{file-retention-fa9q739j.js → permission-kp71p0cs.js} +16 -16
- package/dist/chunks/{file-retention-205pr9zd.js → permission-kpgf9q78.js} +48 -48
- package/dist/chunks/{file-retention-ey8ksrh3.js → permission-ktbyy5ev.js} +32 -32
- package/dist/chunks/{file-retention-dpw5yek7.js → permission-kx5fe73z.js} +5 -5
- package/dist/chunks/{file-retention-he1kwnjy.js → permission-kxq2p9qz.js} +18 -18
- package/dist/chunks/{file-retention-g7bg1e3j.js → permission-kzb338hs.js} +1 -1
- package/dist/chunks/{file-retention-m3fdjcah.js → permission-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-retention-hwm35mvz.js → permission-m7ddwx6z.js} +5 -5
- package/dist/chunks/{file-retention-m9w0rfyh.js → permission-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-33w4ejhs.js → permission-mfqp6xfm.js} +9 -9
- package/dist/chunks/{file-retention-mjymc32g.js → permission-mjymc32g.js} +1 -1
- package/dist/chunks/{file-retention-0pgs73yf.js → permission-mrdraj1e.js} +45 -45
- package/dist/chunks/{file-retention-v71jy9y0.js → permission-n16w7qmw.js} +11 -11
- package/dist/chunks/{file-retention-wtqemd4y.js → permission-ngvvcwvc.js} +9 -9
- package/dist/chunks/{file-retention-3bc8czyk.js → permission-nyqx1cb3.js} +5 -5
- package/dist/chunks/{file-retention-1f0b6d85.js → permission-p1ebg76v.js} +21 -21
- package/dist/chunks/{file-retention-g2arkee0.js → permission-p1mtf012.js} +1 -1
- package/dist/chunks/{file-retention-1ajx6rf5.js → permission-p37cw4rj.js} +8 -8
- package/dist/chunks/{file-retention-mv92nc0c.js → permission-p9bmne11.js} +33 -33
- package/dist/chunks/{file-retention-hh66qvd1.js → permission-pdtchp93.js} +39 -39
- package/dist/chunks/{file-retention-xsgjgyxe.js → permission-pgdq0m2s.js} +8 -8
- package/dist/chunks/{file-retention-pgp1nwjn.js → permission-pgp1nwjn.js} +1 -1
- package/dist/chunks/{file-retention-f76zd4y3.js → permission-pgr4yc5g.js} +25 -25
- package/dist/chunks/{file-retention-pjvnvgmy.js → permission-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → permission-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-7qnnmmsd.js → permission-pq1y2hcf.js} +3 -3
- package/dist/chunks/{file-retention-8sze2n9a.js → permission-py3kkmfq.js} +6 -6
- package/dist/chunks/{file-retention-q0xm7vwc.js → permission-q0xm7vwc.js} +2 -2
- package/dist/chunks/{file-retention-vczt2j2e.js → permission-q13qta0d.js} +3 -3
- package/dist/chunks/{file-retention-myekv2e1.js → permission-q1c6gfm2.js} +15 -15
- package/dist/chunks/{file-retention-3qhw393j.js → permission-qekf5hrq.js} +24 -24
- package/dist/chunks/{file-retention-qgn6gcr1.js → permission-qgn6gcr1.js} +1 -1
- package/dist/chunks/{file-retention-h41w6thw.js → permission-qn2n7y4a.js} +22 -22
- package/dist/chunks/{file-retention-qnc92qwc.js → permission-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-retention-qsdy395h.js → permission-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-xyafkbt0.js → permission-qxjc9qry.js} +3 -3
- package/dist/chunks/{file-retention-6r09hpxq.js → permission-r4911mqy.js} +32 -32
- package/dist/chunks/{file-retention-xnj07x5h.js → permission-rant3mzz.js} +19 -19
- package/dist/chunks/{file-retention-jvm6vmtm.js → permission-rbajd19e.js} +8 -8
- package/dist/chunks/{file-retention-34x5nqhx.js → permission-rcn26dve.js} +7 -7
- package/dist/chunks/{file-retention-rdw6cm16.js → permission-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-a2x2qtap.js → permission-rjvz70e4.js} +35 -35
- package/dist/chunks/{file-retention-6ykcajx2.js → permission-s1aw5bev.js} +32 -32
- package/dist/chunks/{file-retention-gdgxkkph.js → permission-s6zybq5r.js} +16 -16
- package/dist/chunks/{file-retention-mna3rst0.js → permission-sbgmbffx.js} +11 -11
- package/dist/chunks/{file-retention-k0v1pxzb.js → permission-sgehztvb.js} +24 -24
- package/dist/chunks/{file-retention-a8skskqr.js → permission-spe59mq4.js} +33 -33
- package/dist/chunks/{file-retention-jvf3yq6v.js → permission-t2az9yje.js} +4 -4
- package/dist/chunks/{file-retention-13e7bc6k.js → permission-t6x88b6v.js} +8 -8
- package/dist/chunks/{file-retention-5ryzkr0h.js → permission-t7k4jxvs.js} +23 -23
- package/dist/chunks/{file-retention-wsb67xeh.js → permission-t9ew0xaf.js} +9 -9
- package/dist/chunks/{file-retention-tazgh4e4.js → permission-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-89znhe33.js → permission-tcezcvh9.js} +4 -4
- package/dist/chunks/{file-retention-tdstcens.js → permission-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-sxz6gkc3.js → permission-tkmwgdpd.js} +4 -4
- package/dist/chunks/{file-retention-5dxg2j8v.js → permission-tvrc96b9.js} +9 -9
- package/dist/chunks/{file-retention-rzwhqm3a.js → permission-tzd3vmzq.js} +3 -3
- package/dist/chunks/{file-retention-tg7bkhef.js → permission-v0es1rhs.js} +7 -7
- package/dist/chunks/{file-retention-46gkjvds.js → permission-v8t3y0s4.js} +55 -55
- package/dist/chunks/{file-retention-1ph8kh9q.js → permission-vdaa9jq8.js} +44 -44
- package/dist/chunks/{file-retention-veqvce7d.js → permission-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-03ewy0w1.js → permission-vk0x6560.js} +22 -22
- package/dist/chunks/{file-retention-y5chagx8.js → permission-vmjkjp9j.js} +29 -29
- package/dist/chunks/{file-retention-8rg5szvb.js → permission-vn72gsba.js} +4 -4
- package/dist/chunks/{file-retention-fa14k2vq.js → permission-vn9jm4n9.js} +6 -6
- package/dist/chunks/{file-retention-vzs5sf6e.js → permission-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-retention-nqxj0yn4.js → permission-w0tfgnf2.js} +2 -2
- package/dist/chunks/{file-retention-a1dq5efv.js → permission-w2a3dqpw.js} +7 -7
- package/dist/chunks/{file-retention-57myy5jh.js → permission-w39jehkq.js} +5 -5
- package/dist/chunks/{file-retention-w3wsvvr9.js → permission-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-2ymj8j9z.js → permission-w6yct1ma.js} +8 -8
- package/dist/chunks/{file-retention-yq3jnmtb.js → permission-wchyddks.js} +5 -5
- package/dist/chunks/{file-retention-wd87259q.js → permission-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-mbf8d5kt.js → permission-wdzwwd6b.js} +12 -12
- package/dist/chunks/{file-retention-5kw0n2ma.js → permission-wh3mwy9y.js} +8 -8
- package/dist/chunks/{file-retention-09fyqd88.js → permission-wqkxk58t.js} +11 -11
- package/dist/chunks/{file-retention-6ny0zgt8.js → permission-wy8aqc21.js} +17 -17
- package/dist/chunks/{file-retention-y072d9hw.js → permission-wya7aw3d.js} +3 -3
- package/dist/chunks/{file-retention-x9hm1kyg.js → permission-wysk03ww.js} +25 -25
- package/dist/chunks/{file-retention-r6pqrcmr.js → permission-x10hayvc.js} +27 -27
- package/dist/chunks/{file-retention-37p191wt.js → permission-x28x78cy.js} +2 -2
- package/dist/chunks/{file-retention-m7g7tjth.js → permission-x4v5kfsj.js} +26 -26
- package/dist/chunks/{file-retention-xfkkasph.js → permission-xfkkasph.js} +1 -1
- package/dist/chunks/{file-retention-1m3hxyx8.js → permission-xhj2809n.js} +50 -50
- package/dist/chunks/{file-retention-xkntkrq7.js → permission-xkntkrq7.js} +2 -2
- package/dist/chunks/{file-retention-bcb25nnb.js → permission-xt6xxsa8.js} +19 -19
- package/dist/chunks/{file-retention-tx92n959.js → permission-xxndcd6m.js} +4 -4
- package/dist/chunks/{file-retention-y1fvbwt7.js → permission-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-cd4hwype.js → permission-y1ha0vpq.js} +38 -38
- package/dist/chunks/{file-retention-n2srvep7.js → permission-y6mhz57t.js} +4 -4
- package/dist/chunks/{file-retention-rhraev7y.js → permission-yp2x3t23.js} +4 -4
- package/dist/chunks/{file-retention-8sy4spaq.js → permission-ytd2x2sg.js} +41 -41
- package/dist/chunks/{file-retention-z0bkrqjs.js → permission-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-5xrkpdm9.js → permission-z1apv2nw.js} +27 -27
- package/dist/chunks/{file-retention-vnn4j5gh.js → permission-z5vtzp1p.js} +9 -9
- package/dist/chunks/{file-retention-jahc66mj.js → permission-zd8pcyp5.js} +12 -12
- package/dist/chunks/{file-retention-zz29563v.js → permission-zmeaqj18.js} +24 -24
- package/dist/chunks/{file-retention-zr2ceqn5.js → permission-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-hes1j7ga.js → permission-zvwz45r0.js} +9 -9
- package/dist/chunks/{file-retention-zxq2ej10.js → permission-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- 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 +363 -363
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- 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 +91 -91
- 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 +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- 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 +75 -75
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +1 -1
- 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 +115 -115
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +114 -114
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +114 -114
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +72 -72
- 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 +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- 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 +114 -114
- 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 +6 -6
- 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 +222 -222
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- 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 +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- 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 +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- 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 +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +206 -206
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- 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 -8
- package/dist/chunks/file-retention-q4txbv8h.js +0 -507
- package/dist/chunks/file-retention-q509s3k3.js +0 -18
- package/dist/chunks/file-retention-qssvdjk7.js +0 -26
- package/dist/chunks/file-retention-r199w3eq.js +0 -253
- /package/dist/chunks/{file-retention-0qkdqm5v.js → permission-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → permission-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → permission-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → permission-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → permission-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → permission-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → permission-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → permission-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → permission-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-34c7v6d4.js → permission-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → permission-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → permission-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3t0ybcrp.js → permission-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → permission-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → permission-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → permission-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → permission-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → permission-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → permission-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → permission-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → permission-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → permission-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-5qd3pb7m.js → permission-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → permission-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-6q2bdcd1.js → permission-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → permission-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → permission-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → permission-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → permission-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → permission-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → permission-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → permission-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → permission-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → permission-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → permission-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → permission-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → permission-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → permission-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → permission-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → permission-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → permission-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → permission-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → permission-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → permission-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → permission-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → permission-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → permission-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → permission-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → permission-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → permission-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → permission-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → permission-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → permission-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → permission-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → permission-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → permission-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → permission-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → permission-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → permission-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → permission-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → permission-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → permission-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → permission-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → permission-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → permission-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → permission-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → permission-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → permission-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → permission-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → permission-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → permission-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → permission-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → permission-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → permission-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → permission-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → permission-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → permission-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → permission-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → permission-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → permission-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → permission-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → permission-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → permission-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → permission-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → permission-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → permission-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → permission-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → permission-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → permission-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → permission-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → permission-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → permission-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → permission-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → permission-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → permission-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → permission-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → permission-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-q13qta0d.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service83,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node87,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service83 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
83
|
+
service: Service83,
|
|
84
84
|
deps: [node88],
|
|
85
|
-
layer: Layer.effect(
|
|
85
|
+
layer: Layer.effect(Service83, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service83.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node87 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service83, configured12, node87, exports_bus };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./permission-62p5vnps.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID16,
|
|
20
|
+
Info: () => Info26,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service79,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer25,
|
|
29
|
+
node: () => node83,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID16 = Form.ID;
|
|
39
|
+
var Info26 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID16
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID16
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID16,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service79 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer25 = Layer.effect(Service79, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID16.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer23 = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service79.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node83 = makeLocationNode({ service: Service79, layer: layer25, deps: [node87] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID16, Info26, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer25, node83, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID3,
|
|
6
|
+
Service29
|
|
7
|
+
} from "./permission-6sgfaakk.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-4a7gy6vj.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-2xnzgjvn.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./permission-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./permission-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service29;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID3.make(from),
|
|
91
|
+
to: ID3.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./permission-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service17,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service17 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service17.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service17, awaitActivation2, exports_service };
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service80
|
|
13
|
+
} from "./permission-kp71p0cs.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./permission-sgehztvb.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./permission-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin20,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin20 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service80;
|
|
35
35
|
if (location.vcs && location.vcs.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -475,4 +475,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
475
475
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
476
476
|
});
|
|
477
477
|
|
|
478
|
-
export {
|
|
478
|
+
export { Plugin20, exports_git };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service51
|
|
4
|
+
} from "./permission-mrdraj1e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service71
|
|
7
|
+
} from "./permission-q1c6gfm2.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell = {};
|
|
17
|
+
__export(exports_shell, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell,
|
|
19
|
+
Plugin: () => Plugin16
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin16 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service51;
|
|
27
|
+
const shell = yield* Service71;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin41 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin16, exports_shell };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./permission-kp71p0cs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names4
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names4 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service80;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names4, discover3, exports_discovery2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./permission-62p5vnps.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-q1c6gfm2.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError9,
|
|
20
|
+
Options: () => Options9,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
22
|
+
Service: () => Service70,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
24
|
available: () => available3,
|
|
25
|
-
configured: () =>
|
|
25
|
+
configured: () => configured10,
|
|
26
26
|
layer: () => layer22,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node74
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,25 +36,25 @@ import { Global } from "@opencode/util/global";
|
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
38
|
import { available as available3 } from "#persistent-pty-binary";
|
|
39
|
-
var
|
|
39
|
+
var Options9 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError9 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service70 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
57
|
-
const bus = yield*
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service70, Effect.gen(function* () {
|
|
57
|
+
const bus = yield* Service83;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
60
60
|
const runFork = Effect.runForkWith(context);
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service61, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError9({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service61, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service61, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service70.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -260,16 +260,16 @@ var makeLayer = (options = {}) => Layer.effect(Service61, Effect.gen(function* (
|
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
262
|
var layer22 = makeLayer();
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
263
|
+
var configured10 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service70,
|
|
265
265
|
layer: options === undefined ? layer22 : makeLayer(options),
|
|
266
|
-
deps: [
|
|
266
|
+
deps: [node87, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node74 = configured10();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options9, UnavailableError2, NotFoundError9, Service70, layer22, configured10, node74, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./permission-hs1x7rht.js";
|
|
11
|
+
import {
|
|
8
12
|
Service80,
|
|
9
13
|
node84
|
|
10
|
-
} from "./
|
|
11
|
-
import {
|
|
12
|
-
Service78,
|
|
13
|
-
node82
|
|
14
|
-
} from "./file-retention-fa9q739j.js";
|
|
14
|
+
} from "./permission-kp71p0cs.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./permission-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./permission-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error2,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID3,
|
|
27
|
+
Service: () => Service29,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node32,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,7 +34,7 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID3 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service29 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID3.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service29.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node32 = makeLocationNode({
|
|
144
|
+
service: Service29,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service29, Service29.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -163,4 +163,4 @@ function failure(operation, cause) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID3, Error2, Service29, node32, noopLayer2, exports_snapshot2 };
|