@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,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-hs1x7rht.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service84,
|
|
12
12
|
node88
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-q13qta0d.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service83,
|
|
16
|
+
node87
|
|
17
|
+
} from "./permission-62p5vnps.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./permission-h2b79v29.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./permission-1dvck2a7.js";
|
|
24
24
|
import {
|
|
25
25
|
ID17,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
NotFoundError11
|
|
27
|
+
} from "./permission-ktbyy5ev.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref4
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./permission-kp71p0cs.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service44,
|
|
33
|
+
node46
|
|
34
|
+
} from "./permission-b8z51b6b.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./permission-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service43
|
|
41
|
+
} from "./permission-4hjzyf7t.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./permission-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput2,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
52
|
+
Event: () => Event6,
|
|
53
53
|
Info: () => Info6,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service42,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node44
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -73,7 +73,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
73
73
|
import { ChildProcess } from "effect/unstable/process";
|
|
74
74
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
|
-
var
|
|
76
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
78
|
var Info6 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event6 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service42 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service84;
|
|
100
100
|
const db = database.db;
|
|
101
|
-
const bus = yield*
|
|
101
|
+
const bus = yield* Service83;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service44;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
107
|
-
return yield* new
|
|
107
|
+
return yield* new NotFoundError11({ projectID });
|
|
108
108
|
return row;
|
|
109
109
|
});
|
|
110
110
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service43).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event6.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service42.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node44 = Node.makeGlobalNode({
|
|
260
|
+
service: Service42,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node,
|
|
262
|
+
deps: [FSUtil.node, node87, node88, AppProcess.node, node46]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2,
|
|
272
|
+
export { StrategyID2, CreateInput2, RemoveInput2, Info6, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service42, node44, exports_worktree2, OperationError2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-q13qta0d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service34
|
|
6
|
+
} from "./permission-9ae44cfy.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-6h37vygj.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-3sj8yt8v.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-7jtnznqz.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./permission-hqy46avb.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service18
|
|
21
|
+
} from "./permission-7xqm7vez.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./permission-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service34;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service18;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-4a7gy6vj.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./permission-2xnzgjvn.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-9t7a50xb.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./permission-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./permission-vn72gsba.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./permission-3sj8yt8v.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./permission-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID11,
|
|
3
|
-
|
|
3
|
+
Info18,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./permission-4a7gy6vj.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./permission-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-q13qta0d.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service83,
|
|
16
|
+
node87
|
|
17
|
+
} from "./permission-62p5vnps.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service81,
|
|
20
|
+
node85
|
|
21
|
+
} from "./permission-ktbyy5ev.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service34,
|
|
24
|
+
node36
|
|
25
|
+
} from "./permission-9ae44cfy.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./permission-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./permission-9e5bzkjp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node35
|
|
34
|
+
} from "./permission-t7k4jxvs.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./permission-vn72gsba.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./permission-ept765rp.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./permission-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node20
|
|
47
|
+
} from "./permission-xt6xxsa8.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node50
|
|
51
|
+
} from "./permission-1yqzzd83.js";
|
|
52
52
|
import {
|
|
53
53
|
NotFoundError7,
|
|
54
54
|
MessageNotFoundError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./permission-2xnzgjvn.js";
|
|
65
65
|
import {
|
|
66
66
|
ListInput4,
|
|
67
|
-
Service65,
|
|
68
|
-
node68
|
|
69
|
-
} from "./file-retention-5bvv5wt0.js";
|
|
70
|
-
import {
|
|
71
67
|
Service60,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
68
|
+
node64
|
|
69
|
+
} from "./permission-fzv62hvw.js";
|
|
74
70
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
78
|
-
import {
|
|
79
|
-
llmClient2
|
|
80
|
-
} from "./file-retention-5t3nmthw.js";
|
|
71
|
+
Service36,
|
|
72
|
+
node38
|
|
73
|
+
} from "./permission-dcsqhe5p.js";
|
|
81
74
|
import {
|
|
82
75
|
Service31,
|
|
83
76
|
node34
|
|
84
|
-
} from "./
|
|
77
|
+
} from "./permission-5qevsstt.js";
|
|
78
|
+
import {
|
|
79
|
+
llmClient2
|
|
80
|
+
} from "./permission-5t3nmthw.js";
|
|
81
|
+
import {
|
|
82
|
+
Service24,
|
|
83
|
+
node27
|
|
84
|
+
} from "./permission-dp98172p.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./permission-7jpwzvts.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./permission-g98wbq2x.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service44,
|
|
93
|
+
node46
|
|
94
|
+
} from "./permission-b8z51b6b.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service16,
|
|
100
|
+
node19
|
|
101
|
+
} from "./permission-v8t3y0s4.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service49,
|
|
104
|
+
node52
|
|
105
|
+
} from "./permission-bh0zzf2s.js";
|
|
106
106
|
import {
|
|
107
107
|
make13
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./permission-2fhksyd5.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./permission-6bax3wfe.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./permission-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -125,20 +125,20 @@ __export(exports_session, {
|
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
126
|
ID: () => ID11,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info18,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
|
-
ListInput: () =>
|
|
130
|
+
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
133
|
NotFoundError: () => NotFoundError7,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service15,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node18
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var
|
|
152
|
-
class
|
|
151
|
+
var ListInput3 = ListInput4;
|
|
152
|
+
class Service15 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
158
|
+
const bus = yield* Service83;
|
|
159
|
+
const projects = yield* Service81;
|
|
160
|
+
const execution = yield* Service31;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service24;
|
|
163
|
+
const store = yield* Service60;
|
|
164
|
+
const instances = yield* Service34;
|
|
165
|
+
const moves = yield* Service16;
|
|
166
|
+
const jobs = yield* Service36;
|
|
167
|
+
const environments = yield* Service49;
|
|
168
|
+
const locations = yield* Service44;
|
|
169
169
|
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service15.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service34, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service34, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node18 = Node.makeGlobalNode({
|
|
331
|
+
service: Service15,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node38,
|
|
335
|
+
node52,
|
|
336
336
|
node88,
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
node45,
|
|
337
|
+
node87,
|
|
338
|
+
node85,
|
|
340
339
|
node34,
|
|
340
|
+
node27,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
342
|
+
node64,
|
|
343
|
+
node36,
|
|
344
|
+
node35,
|
|
345
|
+
node19,
|
|
346
|
+
node20,
|
|
343
347
|
node46,
|
|
344
|
-
node47,
|
|
345
|
-
node23,
|
|
346
|
-
node26,
|
|
347
|
-
node49,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node50
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service15, node18, exports_session };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./permission-q13qta0d.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service83,
|
|
8
|
+
node87
|
|
9
|
+
} from "./permission-62p5vnps.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./permission-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./permission-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./permission-7jtnznqz.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service60,
|
|
21
|
+
node64
|
|
22
|
+
} from "./permission-fzv62hvw.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service18,
|
|
25
|
+
node21
|
|
26
|
+
} from "./permission-7xqm7vez.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./permission-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./permission-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service10,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer7,
|
|
42
|
+
node: () => node12
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service10 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
62
|
-
const bus = yield*
|
|
61
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service18;
|
|
65
|
+
const store = yield* Service60;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service10.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node12 = makeLocationNode({
|
|
151
|
+
service: Service10,
|
|
152
|
+
layer: layer7,
|
|
153
|
+
deps: [node87, llmClient2, node21, node64, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service10, isUntitled2, layer7, node12, exports_title };
|