@opencode/core 0.0.0-dev-20831 → 0.0.0-dev-20834
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{persistent-pty-e14jwtmp.js → file-retention-09zggdyt.js} +13 -13
- package/dist/chunks/{persistent-pty-p6r2aq8t.js → file-retention-0baxf3qk.js} +20 -20
- package/dist/chunks/{persistent-pty-0vbcp93d.js → file-retention-0emb60td.js} +2 -2
- package/dist/chunks/{persistent-pty-m6dfkh4w.js → file-retention-0krxawfx.js} +10 -10
- package/dist/chunks/{persistent-pty-0paq2nw3.js → file-retention-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-g0e7481p.js → file-retention-0pfse9yr.js} +8 -8
- package/dist/chunks/{persistent-pty-ykj0gtdh.js → file-retention-0xszypc3.js} +13 -13
- package/dist/chunks/{persistent-pty-cf44fsv6.js → file-retention-0y7gj0ff.js} +11 -11
- package/dist/chunks/{persistent-pty-qp9vg2jq.js → file-retention-127b9nq3.js} +2 -2
- package/dist/chunks/{persistent-pty-0zdym56s.js → file-retention-19ezngz8.js} +9 -9
- package/dist/chunks/{persistent-pty-mpye8y33.js → file-retention-1d0a00dk.js} +9 -9
- package/dist/chunks/{persistent-pty-mx2cfqsv.js → file-retention-1t8nbnc8.js} +9 -9
- package/dist/chunks/{persistent-pty-zxxyec0p.js → file-retention-1yd7h3h8.js} +11 -11
- package/dist/chunks/{persistent-pty-tgr3sw9p.js → file-retention-1zbxw6g6.js} +29 -29
- package/dist/chunks/{persistent-pty-7etbtvrg.js → file-retention-205764cr.js} +82 -82
- package/dist/chunks/{persistent-pty-fhs0xn1t.js → file-retention-2f3b0eee.js} +3 -3
- package/dist/chunks/{persistent-pty-k1rn6435.js → file-retention-2p4kjt8q.js} +34 -34
- package/dist/chunks/{persistent-pty-nganhbx0.js → file-retention-2rh0r89e.js} +10 -10
- package/dist/chunks/{persistent-pty-ps96y3dp.js → file-retention-2rjtfhxz.js} +5 -5
- package/dist/chunks/{persistent-pty-2vvh33eb.js → file-retention-2vvh33eb.js} +2 -2
- package/dist/chunks/{persistent-pty-1nwxscpy.js → file-retention-35ng7dkh.js} +5 -5
- package/dist/chunks/{persistent-pty-f456mqff.js → file-retention-3b1zfvjw.js} +15 -15
- package/dist/chunks/{persistent-pty-qbqbaz6q.js → file-retention-3ewed21c.js} +4 -4
- package/dist/chunks/{persistent-pty-3fc6dm20.js → file-retention-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-cphsypwy.js → file-retention-3fyz7qaw.js} +26 -26
- package/dist/chunks/{persistent-pty-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-9hn6k4tm.js → file-retention-3hfr6h8q.js} +8 -8
- package/dist/chunks/{persistent-pty-3hwn7j4h.js → file-retention-3hwn7j4h.js} +2 -2
- package/dist/chunks/{persistent-pty-3smtnn6g.js → file-retention-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → file-retention-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-89eza7wr.js → file-retention-3wn4phez.js} +13 -13
- package/dist/chunks/{persistent-pty-ra3p1t16.js → file-retention-3xbdyzrb.js} +5 -5
- package/dist/chunks/{persistent-pty-569s51gv.js → file-retention-3y6bymm2.js} +27 -27
- package/dist/chunks/{persistent-pty-3zsf4n22.js → file-retention-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-yyqwftvn.js → file-retention-4422vz2f.js} +8 -8
- package/dist/chunks/{persistent-pty-64wq75pw.js → file-retention-488qxk2j.js} +4 -4
- package/dist/chunks/{persistent-pty-sxbw7s6f.js → file-retention-4a03djxh.js} +24 -24
- package/dist/chunks/{persistent-pty-xd5pbsdm.js → file-retention-4b41py0a.js} +11 -11
- package/dist/chunks/{persistent-pty-hnv2pp8r.js → file-retention-4fdqsqvt.js} +14 -14
- package/dist/chunks/{persistent-pty-zze9cfmm.js → file-retention-4g2ckqh5.js} +32 -32
- package/dist/chunks/file-retention-4htyneym.js +513 -0
- package/dist/chunks/{persistent-pty-4z58m4b4.js → file-retention-4j4tgtq5.js} +4 -4
- package/dist/chunks/{persistent-pty-sbgx06h9.js → file-retention-4jreprph.js} +11 -11
- package/dist/chunks/{persistent-pty-2ccvkpx1.js → file-retention-4ts7tf6z.js} +2 -2
- package/dist/chunks/{persistent-pty-6zz29p9f.js → file-retention-4z1qw0cm.js} +30 -30
- package/dist/chunks/{persistent-pty-gsd95hce.js → file-retention-510j0jrr.js} +15 -15
- package/dist/chunks/{persistent-pty-8vhvath1.js → file-retention-51bjw4cg.js} +10 -10
- package/dist/chunks/{persistent-pty-54ma36ye.js → file-retention-54ma36ye.js} +1 -1
- package/dist/chunks/{persistent-pty-ezr5zw50.js → file-retention-5kxw9wf8.js} +25 -25
- package/dist/chunks/{persistent-pty-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-e3qxr5gk.js → file-retention-5qd3pb7m.js} +2 -2
- package/dist/chunks/{persistent-pty-cmd80gk0.js → file-retention-6182wfyb.js} +28 -28
- package/dist/chunks/{persistent-pty-8km2h22m.js → file-retention-62jgd0zs.js} +45 -45
- package/dist/chunks/{persistent-pty-6hf42gwj.js → file-retention-63m3gqfd.js} +14 -14
- package/dist/chunks/{persistent-pty-a5mn6de8.js → file-retention-6cxpbzdr.js} +22 -22
- package/dist/chunks/{persistent-pty-kkrhqh6v.js → file-retention-6ep6a5ed.js} +6 -6
- package/dist/chunks/{persistent-pty-na2yjdh0.js → file-retention-6vjbkxrh.js} +34 -34
- package/dist/chunks/{persistent-pty-bphmfkp7.js → file-retention-6wttv4yr.js} +4 -4
- package/dist/chunks/{persistent-pty-6xb47vfp.js → file-retention-6xb47vfp.js} +1 -1
- package/dist/chunks/{persistent-pty-8813t3ja.js → file-retention-6y85s76z.js} +51 -51
- package/dist/chunks/{persistent-pty-68j1m62m.js → file-retention-71j5xc97.js} +1 -1
- package/dist/chunks/{persistent-pty-89xxfcnj.js → file-retention-74qahwj1.js} +3 -3
- package/dist/chunks/{persistent-pty-e8e8f3ja.js → file-retention-77sdyb01.js} +43 -43
- package/dist/chunks/{persistent-pty-nsrqd5vn.js → file-retention-78e2w1qk.js} +4 -4
- package/dist/chunks/{persistent-pty-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-84txncab.js → file-retention-84txncab.js} +1 -1
- package/dist/chunks/{persistent-pty-b4tw85s5.js → file-retention-84tzk9gr.js} +16 -16
- package/dist/chunks/{persistent-pty-nnc7vpek.js → file-retention-87bt86w6.js} +24 -24
- package/dist/chunks/{persistent-pty-ts4rn5wj.js → file-retention-899g5tqj.js} +5 -5
- package/dist/chunks/{persistent-pty-7nzg23qc.js → file-retention-8cnt8pfy.js} +10 -10
- package/dist/chunks/{persistent-pty-42qnv940.js → file-retention-8g6zh8va.js} +30 -30
- package/dist/chunks/{persistent-pty-8gxqpgph.js → file-retention-8gxqpgph.js} +1 -1
- package/dist/chunks/{persistent-pty-tazea7qp.js → file-retention-8m2djmtw.js} +35 -35
- package/dist/chunks/{persistent-pty-8m6m0r52.js → file-retention-8m6m0r52.js} +1 -1
- package/dist/chunks/{persistent-pty-2rx9dk58.js → file-retention-8pe453er.js} +20 -20
- package/dist/chunks/{persistent-pty-cexy6923.js → file-retention-8w0wb2m0.js} +3 -3
- package/dist/chunks/{persistent-pty-2m4gzwzp.js → file-retention-8wc8e1vx.js} +22 -22
- package/dist/chunks/{persistent-pty-a45pyh1f.js → file-retention-8xek67h3.js} +3 -3
- package/dist/chunks/{persistent-pty-avs8edt6.js → file-retention-90ppn450.js} +11 -11
- package/dist/chunks/file-retention-9516fs8v.js +26 -0
- package/dist/chunks/{persistent-pty-634seer4.js → file-retention-9b8znkve.js} +46 -46
- package/dist/chunks/{persistent-pty-t5rwxd7y.js → file-retention-9bnen21x.js} +28 -28
- package/dist/chunks/{persistent-pty-0tzy42a9.js → file-retention-9c3np669.js} +8 -8
- package/dist/chunks/{persistent-pty-zz23ack4.js → file-retention-9e1ngwx3.js} +12 -12
- package/dist/chunks/{persistent-pty-hv8vheb4.js → file-retention-9nq7gfm0.js} +3 -3
- package/dist/chunks/{persistent-pty-e8kqavre.js → file-retention-9nsgat1s.js} +33 -33
- package/dist/chunks/{persistent-pty-6c8xqbzr.js → file-retention-a3qgxz2n.js} +3 -3
- package/dist/chunks/{persistent-pty-8ztybvde.js → file-retention-a5z0m542.js} +12 -12
- package/dist/chunks/{persistent-pty-s538wvfd.js → file-retention-a642qhrr.js} +20 -20
- package/dist/chunks/{persistent-pty-yka93msf.js → file-retention-a7am0sdb.js} +62 -62
- package/dist/chunks/{persistent-pty-84q8ddyg.js → file-retention-ad1yxw88.js} +39 -39
- package/dist/chunks/{persistent-pty-6z6j1hvd.js → file-retention-adypwc73.js} +13 -13
- package/dist/chunks/{persistent-pty-sjaxrz5m.js → file-retention-afyx3ry4.js} +10 -10
- package/dist/chunks/{persistent-pty-g6q22p7g.js → file-retention-anv3t5st.js} +35 -35
- package/dist/chunks/{persistent-pty-qftzrsf9.js → file-retention-as6yw527.js} +32 -32
- package/dist/chunks/{persistent-pty-0e0f2wa7.js → file-retention-as9v0b3j.js} +25 -25
- package/dist/chunks/{persistent-pty-1jb7jqa2.js → file-retention-b0qyykvd.js} +11 -11
- package/dist/chunks/{persistent-pty-q1rsbgjb.js → file-retention-b2jhwvsg.js} +11 -11
- package/dist/chunks/{persistent-pty-b3f8fkhc.js → file-retention-b3f8fkhc.js} +2 -2
- package/dist/chunks/{persistent-pty-vcb8c7ee.js → file-retention-bb8g0qdm.js} +16 -16
- package/dist/chunks/{persistent-pty-qxyen8t8.js → file-retention-bg39yvwa.js} +32 -32
- package/dist/chunks/{persistent-pty-fyav22tq.js → file-retention-bndcmk4h.js} +9 -9
- package/dist/chunks/{persistent-pty-90y2bcva.js → file-retention-btgwfx7q.js} +15 -15
- package/dist/chunks/{persistent-pty-738f4ns0.js → file-retention-c0mdwdcy.js} +46 -46
- package/dist/chunks/{persistent-pty-rj3eygr5.js → file-retention-c41wscbt.js} +2 -2
- package/dist/chunks/{persistent-pty-jvp385my.js → file-retention-c6j0b0f3.js} +4 -4
- package/dist/chunks/{persistent-pty-sxcaecc0.js → file-retention-c7zza6wf.js} +3 -3
- package/dist/chunks/{persistent-pty-sa8ekw3f.js → file-retention-c8ax2afj.js} +2 -2
- package/dist/chunks/{persistent-pty-144fxwck.js → file-retention-c8dwxvt7.js} +25 -25
- package/dist/chunks/{persistent-pty-vck5jyqy.js → file-retention-cc4mce2f.js} +11 -11
- package/dist/chunks/{persistent-pty-nx42me8w.js → file-retention-cfswb10x.js} +9 -9
- package/dist/chunks/{persistent-pty-6dnepcx2.js → file-retention-cw0z4tmd.js} +35 -35
- package/dist/chunks/{persistent-pty-52wkb7v6.js → file-retention-cwt22yzj.js} +4 -4
- package/dist/chunks/{persistent-pty-kar50817.js → file-retention-d0j74p3h.js} +4 -4
- package/dist/chunks/{persistent-pty-vxywbpnc.js → file-retention-d1eznf62.js} +11 -11
- package/dist/chunks/{persistent-pty-sghgg3s0.js → file-retention-d6jd5w6y.js} +89 -89
- package/dist/chunks/{persistent-pty-x661k3y3.js → file-retention-db2wf4at.js} +4 -4
- package/dist/chunks/{persistent-pty-xa9kdnre.js → file-retention-dbznwjgv.js} +13 -13
- package/dist/chunks/{persistent-pty-wv7c6n2j.js → file-retention-dm4q1yny.js} +10 -10
- package/dist/chunks/{persistent-pty-w851cde3.js → file-retention-dqy2tp9k.js} +27 -27
- package/dist/chunks/{persistent-pty-drwq78ky.js → file-retention-drwq78ky.js} +1 -1
- package/dist/chunks/{persistent-pty-ydgy0jv4.js → file-retention-dzpmeesh.js} +6 -6
- package/dist/chunks/{persistent-pty-a2zybenq.js → file-retention-e5s30dd1.js} +19 -19
- package/dist/chunks/{persistent-pty-rhjbct0v.js → file-retention-eaj1djv9.js} +8 -8
- package/dist/chunks/{persistent-pty-955crbjz.js → file-retention-eb1jdc1h.js} +6 -6
- package/dist/chunks/{persistent-pty-wrazxve0.js → file-retention-ee9sbmyj.js} +5 -5
- package/dist/chunks/{persistent-pty-eej6y6fw.js → file-retention-eej6y6fw.js} +2 -2
- package/dist/chunks/{persistent-pty-ef5x83kb.js → file-retention-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-9cv60dsd.js → file-retention-ek2cpxs9.js} +40 -40
- package/dist/chunks/{persistent-pty-w2h15q85.js → file-retention-er2gc1eb.js} +5 -5
- package/dist/chunks/{persistent-pty-c1fqxshp.js → file-retention-es1vcfrp.js} +3 -3
- package/dist/chunks/{persistent-pty-02xr1zsh.js → file-retention-et7d9hth.js} +8 -8
- package/dist/chunks/{persistent-pty-r8xr0va3.js → file-retention-f2n192rq.js} +4 -4
- package/dist/chunks/{persistent-pty-vn1b2x6c.js → file-retention-f2x01zrg.js} +16 -16
- package/dist/chunks/{persistent-pty-z5j4efsn.js → file-retention-f3v9xntj.js} +50 -50
- package/dist/chunks/{persistent-pty-faewp65y.js → file-retention-f44pex6g.js} +17 -17
- package/dist/chunks/{persistent-pty-0gwkcvrc.js → file-retention-f9799dk3.js} +36 -36
- package/dist/chunks/{persistent-pty-2k8khapm.js → file-retention-fcrkznn8.js} +5 -5
- package/dist/chunks/{persistent-pty-x7hadnwb.js → file-retention-fg6588f2.js} +11 -11
- package/dist/chunks/{persistent-pty-r94ff4c7.js → file-retention-fjdv25w0.js} +2 -2
- package/dist/chunks/{persistent-pty-kqx1b4hy.js → file-retention-fkdqe6sr.js} +4 -4
- package/dist/chunks/{persistent-pty-dmfebxy7.js → file-retention-fvatpktr.js} +22 -22
- package/dist/chunks/{persistent-pty-hzecydg6.js → file-retention-fz2zj4hf.js} +14 -14
- package/dist/chunks/{persistent-pty-wvf4y7rr.js → file-retention-g23n40bc.js} +20 -20
- package/dist/chunks/{persistent-pty-hp24zg0v.js → file-retention-gazvg4k1.js} +19 -19
- package/dist/chunks/{persistent-pty-dxjhrr1d.js → file-retention-gbc5vfb0.js} +21 -21
- package/dist/chunks/{persistent-pty-gd4qta3r.js → file-retention-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-gk8qb678.js → file-retention-gk8qb678.js} +1 -1
- package/dist/chunks/{persistent-pty-vhyre1cv.js → file-retention-gkmqvhxg.js} +5 -5
- package/dist/chunks/{persistent-pty-8bve28yq.js → file-retention-gpetme3g.js} +19 -19
- package/dist/chunks/{persistent-pty-vh135k6x.js → file-retention-gv3w2mnf.js} +16 -16
- package/dist/chunks/{persistent-pty-h9d22378.js → file-retention-gyatvtq5.js} +15 -15
- package/dist/chunks/{persistent-pty-wd47s8yt.js → file-retention-h2z4rg15.js} +17 -17
- package/dist/chunks/{persistent-pty-h6vf3j39.js → file-retention-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-h7s7r6s9.js → file-retention-h7s7r6s9.js} +2 -2
- package/dist/chunks/{persistent-pty-dzse07y5.js → file-retention-h896pcm5.js} +6 -6
- package/dist/chunks/{persistent-pty-0hvbv0av.js → file-retention-ha18z2nf.js} +3 -3
- package/dist/chunks/{persistent-pty-hgz4x7wa.js → file-retention-hgz4x7wa.js} +1 -1
- package/dist/chunks/{persistent-pty-61q6e95h.js → file-retention-hhbxcxzx.js} +9 -9
- package/dist/chunks/{persistent-pty-fxaymqdw.js → file-retention-hq3c8me3.js} +4 -4
- package/dist/chunks/{persistent-pty-1djs0tvz.js → file-retention-hrn2e2cq.js} +7 -7
- package/dist/chunks/file-retention-ht5y0zrb.js +18 -0
- package/dist/chunks/{persistent-pty-91qna3x0.js → file-retention-j09zfasm.js} +3 -3
- package/dist/chunks/{persistent-pty-h9azkfyn.js → file-retention-j2waf9cs.js} +35 -35
- package/dist/chunks/{persistent-pty-j56e64zr.js → file-retention-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-8zz30m54.js → file-retention-j5vdk2nm.js} +21 -21
- package/dist/chunks/{persistent-pty-nd4tfyg0.js → file-retention-jjwt9gb5.js} +9 -9
- package/dist/chunks/{persistent-pty-j4pfkapa.js → file-retention-jsnqh7m7.js} +31 -31
- package/dist/chunks/{persistent-pty-58cqhhht.js → file-retention-k2cn82en.js} +18 -18
- package/dist/chunks/{persistent-pty-14d24921.js → file-retention-k4er45wq.js} +28 -28
- package/dist/chunks/{persistent-pty-y5pr3jtj.js → file-retention-kc2kdpx6.js} +5 -5
- package/dist/chunks/{persistent-pty-4vfrtg94.js → file-retention-kfmd4715.js} +11 -11
- package/dist/chunks/{persistent-pty-cpav9ert.js → file-retention-kktyxbes.js} +36 -36
- package/dist/chunks/{persistent-pty-pjsfg289.js → file-retention-km2dy84g.js} +29 -29
- package/dist/chunks/{persistent-pty-rm2gr2zw.js → file-retention-kntvvv3m.js} +9 -9
- package/dist/chunks/{persistent-pty-9thege9a.js → file-retention-kzaa9j73.js} +18 -18
- package/dist/chunks/{persistent-pty-8hdcmxy1.js → file-retention-kztp5bb7.js} +23 -23
- package/dist/chunks/{persistent-pty-3pxm667c.js → file-retention-m2xv92hs.js} +28 -28
- package/dist/chunks/{persistent-pty-rthjw13s.js → file-retention-m5pjbwfj.js} +21 -21
- package/dist/chunks/{persistent-pty-e0hy65w0.js → file-retention-m8szg13e.js} +18 -18
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-7rk69q0z.js → file-retention-mht6fzqr.js} +6 -6
- package/dist/chunks/{persistent-pty-5epte933.js → file-retention-mtpeagzc.js} +3 -3
- package/dist/chunks/{persistent-pty-701ma3hz.js → file-retention-mtpnd04z.js} +13 -13
- package/dist/chunks/{persistent-pty-8v692fxg.js → file-retention-mxrk3mt9.js} +20 -20
- package/dist/chunks/{persistent-pty-qxrb0a0w.js → file-retention-n23r96zb.js} +18 -18
- package/dist/chunks/{persistent-pty-gex86280.js → file-retention-n986wkj7.js} +20 -20
- package/dist/chunks/{persistent-pty-f4mdd15q.js → file-retention-narne4vj.js} +28 -28
- package/dist/chunks/{persistent-pty-zfth3bf2.js → file-retention-nc3f3641.js} +13 -13
- package/dist/chunks/{persistent-pty-d5xadgfy.js → file-retention-nq6b8sn7.js} +7 -7
- package/dist/chunks/{persistent-pty-agxmfjyz.js → file-retention-nr1jsxbb.js} +12 -12
- package/dist/chunks/{persistent-pty-q0n7r88m.js → file-retention-ntdsb4sm.js} +67 -67
- package/dist/chunks/{persistent-pty-5tdr691p.js → file-retention-p2htxkwn.js} +50 -50
- package/dist/chunks/{persistent-pty-ynmknp8q.js → file-retention-p8x5jtpv.js} +11 -11
- package/dist/chunks/{persistent-pty-3r587zht.js → file-retention-p958k833.js} +12 -12
- package/dist/chunks/{persistent-pty-2prrfhe7.js → file-retention-pf36ngag.js} +29 -29
- package/dist/chunks/{persistent-pty-v0es1rhs.js → file-retention-pg7ds6pa.js} +9 -9
- package/dist/chunks/{persistent-pty-wdg4dznf.js → file-retention-phy95ygf.js} +190 -190
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → file-retention-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-y73n6frr.js → file-retention-pnpsbpqe.js} +35 -35
- package/dist/chunks/{persistent-pty-5vz17b4s.js → file-retention-pxtk0cfj.js} +31 -31
- package/dist/chunks/{persistent-pty-stbxd7bn.js → file-retention-pyhbbpbt.js} +12 -12
- package/dist/chunks/{persistent-pty-0j77ygfz.js → file-retention-q0xm7vwc.js} +6 -6
- package/dist/chunks/{persistent-pty-eh6ej367.js → file-retention-q32ypgm9.js} +5 -5
- package/dist/chunks/{persistent-pty-s3rjfqbz.js → file-retention-q36p9frd.js} +11 -11
- package/dist/chunks/{persistent-pty-f0d3kyvk.js → file-retention-qfsp3spe.js} +6 -6
- package/dist/chunks/{persistent-pty-qnc92qwc.js → file-retention-qnc92qwc.js} +1 -1
- package/dist/chunks/{persistent-pty-qsdy395h.js → file-retention-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-pp537qc4.js → file-retention-r0me9bt4.js} +24 -24
- package/dist/chunks/{persistent-pty-90shh64c.js → file-retention-r71rxd12.js} +9 -9
- package/dist/chunks/{persistent-pty-93224vja.js → file-retention-rc1szs54.js} +6 -6
- package/dist/chunks/{persistent-pty-6894dtb6.js → file-retention-rcf5ber5.js} +15 -15
- package/dist/chunks/{persistent-pty-rdw6cm16.js → file-retention-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-5gz9c728.js → file-retention-reqhyh1n.js} +18 -18
- package/dist/chunks/{persistent-pty-m8w6th39.js → file-retention-rey5gbxv.js} +9 -9
- package/dist/chunks/{persistent-pty-160dstxj.js → file-retention-rht56gq3.js} +27 -27
- package/dist/chunks/{persistent-pty-6pc27hjz.js → file-retention-rkprpv83.js} +6 -6
- package/dist/chunks/{persistent-pty-xax0y1c2.js → file-retention-rmpaafn0.js} +3 -3
- package/dist/chunks/{persistent-pty-5bcesxs9.js → file-retention-rqkhqp7e.js} +50 -50
- package/dist/chunks/{persistent-pty-4gkdfnn9.js → file-retention-rryv107s.js} +23 -23
- package/dist/chunks/{persistent-pty-gpk600j1.js → file-retention-s375a249.js} +11 -11
- package/dist/chunks/{persistent-pty-14gpq9b7.js → file-retention-s63bptf5.js} +49 -49
- package/dist/chunks/{persistent-pty-2k9fjx65.js → file-retention-s7nv2rwz.js} +5 -5
- package/dist/chunks/{persistent-pty-a2ew8a62.js → file-retention-sxz6gkc3.js} +7 -7
- package/dist/chunks/{persistent-pty-syv4x271.js → file-retention-syv4x271.js} +1 -1
- package/dist/chunks/{persistent-pty-3pk3ecam.js → file-retention-sz2s795h.js} +17 -17
- package/dist/chunks/{persistent-pty-sbd1m1b7.js → file-retention-szpchd2k.js} +29 -29
- package/dist/chunks/{persistent-pty-t7yfe90q.js → file-retention-t31977c4.js} +46 -46
- package/dist/chunks/{persistent-pty-tazgh4e4.js → file-retention-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-nk0sw8df.js → file-retention-tb55w3zn.js} +4 -4
- package/dist/chunks/{persistent-pty-grey5ade.js → file-retention-tcdqrpth.js} +32 -32
- package/dist/chunks/{persistent-pty-89znhe33.js → file-retention-tcezcvh9.js} +4 -4
- package/dist/chunks/{persistent-pty-tdstcens.js → file-retention-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-rert0e01.js → file-retention-tkb22qbm.js} +2 -2
- package/dist/chunks/{persistent-pty-pjkmwrrf.js → file-retention-tt42txng.js} +34 -34
- package/dist/chunks/{persistent-pty-jbhnyrkm.js → file-retention-ttrrbgy7.js} +16 -16
- package/dist/chunks/{persistent-pty-3a83a0n4.js → file-retention-tx9w5tca.js} +8 -8
- package/dist/chunks/{persistent-pty-5fec3t3w.js → file-retention-txm3e8qz.js} +9 -9
- package/dist/chunks/{persistent-pty-tyytaxap.js → file-retention-tyytaxap.js} +1 -1
- package/dist/chunks/{persistent-pty-n1a1n825.js → file-retention-v6p1va2s.js} +8 -8
- package/dist/chunks/{persistent-pty-v7p4zvkq.js → file-retention-v7p4zvkq.js} +2 -2
- package/dist/chunks/{persistent-pty-aat6v70y.js → file-retention-va0t4kz9.js} +38 -38
- package/dist/chunks/{persistent-pty-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-fkn54x0f.js → file-retention-vf3hczs7.js} +11 -11
- package/dist/chunks/{persistent-pty-1j1f6xcv.js → file-retention-vj2ecn42.js} +14 -14
- package/dist/chunks/{persistent-pty-vzs5sf6e.js → file-retention-vzs5sf6e.js} +1 -1
- package/dist/chunks/{persistent-pty-sncdfffp.js → file-retention-w3mhtfan.js} +14 -14
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-sbvtryh7.js → file-retention-w9fhzwa2.js} +12 -12
- package/dist/chunks/{persistent-pty-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/file-retention-wn6mh0j0.js +253 -0
- package/dist/chunks/{persistent-pty-syp6aatx.js → file-retention-wp65gj9n.js} +24 -24
- package/dist/chunks/{persistent-pty-cdxr622n.js → file-retention-ws8esjg0.js} +4 -4
- package/dist/chunks/{persistent-pty-x2aynqqh.js → file-retention-x2aynqqh.js} +2 -2
- package/dist/chunks/{persistent-pty-g866pcx9.js → file-retention-x2ptdt6d.js} +11 -11
- package/dist/chunks/{persistent-pty-jka8wpce.js → file-retention-x39hqzbj.js} +8 -8
- package/dist/chunks/{persistent-pty-bfh6ts0t.js → file-retention-xbmxr8cj.js} +23 -23
- package/dist/chunks/{persistent-pty-dqtqfvp1.js → file-retention-xfasz2x5.js} +20 -20
- package/dist/chunks/{persistent-pty-gd0tnyjc.js → file-retention-xt4njr3s.js} +1 -1
- package/dist/chunks/{persistent-pty-cw4cmn70.js → file-retention-xw1d7hen.js} +1 -1
- package/dist/chunks/{persistent-pty-wt8rq1bh.js → file-retention-xx5yc3y6.js} +6 -6
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → file-retention-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-j8m1p4p1.js → file-retention-y5rf7nzv.js} +4 -4
- package/dist/chunks/{persistent-pty-y71avatq.js → file-retention-y71avatq.js} +1 -1
- package/dist/chunks/{persistent-pty-x7zkx1rm.js → file-retention-yb9nt5p7.js} +42 -42
- package/dist/chunks/{persistent-pty-fkpjc2rv.js → file-retention-ybh1hh3b.js} +11 -11
- package/dist/chunks/{persistent-pty-z1e0ewtp.js → file-retention-yef4zb9s.js} +5 -5
- package/dist/chunks/{persistent-pty-gmtsq7zw.js → file-retention-yn1bbvnp.js} +11 -11
- package/dist/chunks/{persistent-pty-ywt8jp22.js → file-retention-ywt8jp22.js} +2 -2
- package/dist/chunks/{persistent-pty-atfs7mew.js → file-retention-ywy11t7c.js} +27 -27
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-r91gjw8r.js → file-retention-zabh3f4w.js} +16 -16
- package/dist/chunks/{persistent-pty-y0mc46pw.js → file-retention-zn5v3n4q.js} +9 -9
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → file-retention-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-ja3e6986.js → file-retention-zsrhk7tm.js} +8 -8
- package/dist/chunks/{persistent-pty-zxq2ej10.js → file-retention-zxq2ej10.js} +1 -1
- package/dist/chunks/{persistent-pty-e6bj23tj.js → file-retention-zy2dfdqm.js} +17 -17
- package/dist/chunks/{persistent-pty-yx87fey7.js → file-retention-zyg5mbp5.js} +17 -17
- 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 +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- 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 +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +93 -93
- 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 +359 -359
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +97 -97
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- 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 +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -103
- 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 +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- 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 +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +226 -226
- 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 +115 -115
- 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 +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +93 -93
- 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 +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- 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 +124 -124
- package/dist/tool/read-filesystem.js +98 -98
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +9 -9
- package/dist/chunks/persistent-pty-24d7twmp.js +0 -253
- package/dist/chunks/persistent-pty-94sdztrq.js +0 -513
- package/dist/chunks/persistent-pty-hqrz8ks6.js +0 -26
- package/dist/chunks/persistent-pty-v1faaxn9.js +0 -18
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → file-retention-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → file-retention-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3t0ybcrp.js → file-retention-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-bw78ga2c.js → file-retention-bw78ga2c.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-m18g726c.js → file-retention-m18g726c.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-pkyv6v7h.js → file-retention-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{persistent-pty-pyv0edze.js → file-retention-pyv0edze.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID17,
|
|
3
|
+
Service82
|
|
4
|
+
} from "./file-retention-dqy2tp9k.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service79
|
|
7
|
+
} from "./file-retention-gv3w2mnf.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service62
|
|
10
|
+
} from "./file-retention-62jgd0zs.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service46,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-84tzk9gr.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service27
|
|
17
|
+
} from "./file-retention-d6jd5w6y.js";
|
|
18
18
|
import {
|
|
19
19
|
Service10
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-0y7gj0ff.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-8m6m0r52.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command = {};
|
|
30
30
|
__export(exports_command, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin16
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin16 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service62;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,11 +54,11 @@ var Plugin25 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service79;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
59
|
+
const shell = yield* Service46;
|
|
60
|
+
const sessions = yield* Service27;
|
|
61
|
+
const agents = yield* Service82;
|
|
62
62
|
const subagents = yield* Service10;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
@@ -80,7 +80,7 @@ var Plugin25 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID17.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin16, exports_command };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
17
|
+
var exports_instructions3 = {};
|
|
18
|
+
__export(exports_instructions3, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions3,
|
|
20
20
|
make: () => make13,
|
|
21
21
|
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
@@ -109,11 +109,11 @@ ${render2(current)}`;
|
|
|
109
109
|
return delta;
|
|
110
110
|
return replacement;
|
|
111
111
|
}
|
|
112
|
-
var key =
|
|
112
|
+
var key = Key4.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
114
|
var make13 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make21({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
@@ -125,4 +125,4 @@ var make13 = (inventory) => {
|
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { render2, update3, make13,
|
|
128
|
+
export { render2, update3, make13, exports_instructions3 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-9nq7gfm0.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service84,
|
|
10
|
+
node88
|
|
11
|
+
} from "./file-retention-w9fhzwa2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service81,
|
|
14
|
+
node85
|
|
15
|
+
} from "./file-retention-nr1jsxbb.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID16,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info27,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event19,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-pg7ds6pa.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-retention-c41wscbt.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-c8ax2afj.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID15,
|
|
40
|
+
Info: () => Info26,
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service80,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node84,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID15 = ID16;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info26 = Info27;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
|
-
class
|
|
66
|
-
projectID:
|
|
65
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
+
projectID: ID15
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service80 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,11 +98,11 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service81;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service84;
|
|
106
106
|
const db = (yield* Service85).db;
|
|
107
107
|
const announcing = new Set;
|
|
108
108
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
112
112
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
113
113
|
const changed = replaced ?? unarchived;
|
|
114
114
|
if (changed)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event19.Updated, fromRow(changed));
|
|
116
116
|
if (!project.vcs)
|
|
117
117
|
return project;
|
|
118
118
|
const directories = [
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID15.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -171,9 +171,9 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
171
171
|
time_updated: Date.now()
|
|
172
172
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
173
173
|
if (!row)
|
|
174
|
-
return yield* new
|
|
174
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
175
175
|
const project = fromRow(row);
|
|
176
|
-
yield* bus.publish(
|
|
176
|
+
yield* bus.publish(Event19.Updated, project);
|
|
177
177
|
return project;
|
|
178
178
|
});
|
|
179
179
|
const activated = new Map;
|
|
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
184
184
|
activated.set(projectID, now);
|
|
185
185
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
186
186
|
if (row)
|
|
187
|
-
yield* bus.publish(
|
|
187
|
+
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID15.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID15.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID15.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
229
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
239
239
|
return;
|
|
240
240
|
const node = result.stdout.toString("utf8").split(`
|
|
241
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
242
|
-
return node ?
|
|
242
|
+
return node ? ID15.make(node) : undefined;
|
|
243
243
|
});
|
|
244
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
245
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
248
248
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
249
249
|
return {
|
|
250
250
|
previous,
|
|
251
|
-
id: id ??
|
|
251
|
+
id: id ?? ID15.global,
|
|
252
252
|
directory: worktree,
|
|
253
253
|
vcs: { type: "hg", store }
|
|
254
254
|
};
|
|
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
265
265
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
266
266
|
return yield* persist({
|
|
267
267
|
previous,
|
|
268
|
-
id: id ??
|
|
268
|
+
id: id ?? ID15.global,
|
|
269
269
|
directory: repo.worktree,
|
|
270
270
|
canonical,
|
|
271
271
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
return yield* persist({
|
|
282
|
-
id:
|
|
282
|
+
id: ID15.make(Hash.fast(`directory:${directory}`)),
|
|
283
283
|
directory,
|
|
284
284
|
canonical: directory,
|
|
285
285
|
vcs: undefined
|
|
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
288
288
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
289
289
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
290
290
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
291
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
291
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID15.global))).all().pipe(Effect.orDie);
|
|
292
292
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
293
293
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
294
294
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
301
301
|
return;
|
|
302
302
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
303
303
|
if (row)
|
|
304
|
-
yield* bus.publish(
|
|
304
|
+
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service80.of({ list, update, activate, resolve, sweep });
|
|
308
308
|
}));
|
|
309
|
-
var
|
|
310
|
-
service:
|
|
309
|
+
var node84 = makeGlobalNode({
|
|
310
|
+
service: Service80,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [
|
|
312
|
+
deps: [node88, node89, FSUtil.node, node85, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
316
316
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
317
|
-
const project = yield*
|
|
317
|
+
const project = yield* Service80;
|
|
318
318
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
319
319
|
})),
|
|
320
|
-
deps: [
|
|
320
|
+
deps: [node84]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export {
|
|
323
|
+
export { ID15, Vcs2, Current2, Info26, UpdateInput3, NotFoundError10, root2, Service80, node84, sweepNode2, exports_project };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info10,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info10 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info19 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info10, exports_provider2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info13
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info13 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info18 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info13, exports_command4 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-9nq7gfm0.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-tkb22qbm.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID13,
|
|
17
|
+
Info: () => Info23,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service77,
|
|
21
|
+
node: () => node81
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID13 = PermissionSaved.ID;
|
|
29
|
+
var Info23 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service77 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service85).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID13.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service77.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node81 = makeGlobalNode({ service: Service77, layer, deps: [node89] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID13, Info23, ListInput5, AddInput2, Service77, node81, exports_saved };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-9nq7gfm0.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service84,
|
|
8
|
+
node88
|
|
9
|
+
} from "./file-retention-w9fhzwa2.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-2vvh33eb.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-90ppn450.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service76,
|
|
21
|
+
node80
|
|
22
|
+
} from "./file-retention-vj2ecn42.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service30,
|
|
25
|
+
node33
|
|
26
|
+
} from "./file-retention-205764cr.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service11,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer7,
|
|
42
|
+
node: () => node13
|
|
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 Service11 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(Service11, Effect.gen(function* () {
|
|
62
|
+
const bus = yield* Service84;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service30;
|
|
65
|
+
const store = yield* Service76;
|
|
66
66
|
const db = (yield* Service85).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 Service11.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [
|
|
150
|
+
var node13 = makeLocationNode({
|
|
151
|
+
service: Service11,
|
|
152
|
+
layer: layer7,
|
|
153
|
+
deps: [node88, llmClient2, node33, node80, node89]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service11, isUntitled2, layer7, node13, exports_title };
|