@opencode/core 0.0.0-dev-20076 → 0.0.0-dev-20077
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{file-retention-yvvvp4gn.js → persistent-pty-00x4qneg.js} +8 -8
- package/dist/chunks/{file-retention-76j44xz4.js → persistent-pty-09pa4m3v.js} +31 -31
- package/dist/chunks/{file-retention-cqdgmx8n.js → persistent-pty-0ar9x5a3.js} +27 -27
- package/dist/chunks/{file-retention-ezwgvxy6.js → persistent-pty-0g3je6g8.js} +15 -15
- package/dist/chunks/{file-retention-h6kzzfz4.js → persistent-pty-0j290fjy.js} +2 -2
- package/dist/chunks/{file-retention-awnng6aw.js → persistent-pty-0j8mf7cg.js} +3 -3
- package/dist/chunks/{file-retention-57ez7d0k.js → persistent-pty-0ke265bw.js} +5 -5
- package/dist/chunks/persistent-pty-0mesazry.js +4 -0
- package/dist/chunks/{file-retention-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-cybbce78.js → persistent-pty-0q07yjwe.js} +15 -15
- package/dist/chunks/{file-retention-qq9k8xwf.js → persistent-pty-0qmb29gv.js} +37 -37
- package/dist/chunks/{file-retention-e6hmchc5.js → persistent-pty-0r7yqxbf.js} +5 -5
- package/dist/chunks/{file-retention-pmsv8f6n.js → persistent-pty-0rxys545.js} +2 -2
- package/dist/chunks/{file-retention-4b052jb4.js → persistent-pty-0sz7h9zd.js} +15 -15
- package/dist/chunks/{file-retention-4w5f3qm5.js → persistent-pty-0xezjjjn.js} +8 -8
- package/dist/chunks/{file-retention-pjzp5jm9.js → persistent-pty-131medm0.js} +32 -32
- package/dist/chunks/{file-retention-ph5whc14.js → persistent-pty-1dazxqgg.js} +5 -5
- package/dist/chunks/{file-retention-h27jqpzg.js → persistent-pty-1jap1q27.js} +27 -27
- package/dist/chunks/{file-retention-rg4p5e11.js → persistent-pty-1nwp9f3z.js} +32 -32
- package/dist/chunks/{file-retention-f96ctyse.js → persistent-pty-1tbcb674.js} +9 -9
- package/dist/chunks/{file-retention-b7vm23fg.js → persistent-pty-1xntmtej.js} +28 -28
- package/dist/chunks/{file-retention-3p2dz6q4.js → persistent-pty-1zsz5cte.js} +12 -12
- package/dist/chunks/{file-retention-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{file-retention-hgz4x7wa.js → persistent-pty-2a5m3afh.js} +4 -4
- package/dist/chunks/{file-retention-r4m6sj2t.js → persistent-pty-2ap5w51g.js} +46 -46
- package/dist/chunks/{file-retention-t0fxg8b9.js → persistent-pty-2f0bjgcj.js} +5 -5
- package/dist/chunks/{file-retention-vrssy5kh.js → persistent-pty-2gbcq7ge.js} +13 -13
- package/dist/chunks/{file-retention-tq0ny4gr.js → persistent-pty-2hzw9kex.js} +18 -18
- package/dist/chunks/{file-retention-qgn6gcr1.js → persistent-pty-2k8khapm.js} +5 -5
- package/dist/chunks/{file-retention-0bftx5a5.js → persistent-pty-2pbd4axt.js} +79 -79
- package/dist/chunks/{file-retention-136ah40c.js → persistent-pty-2vk85jev.js} +11 -11
- package/dist/chunks/{file-retention-savsd166.js → persistent-pty-2xkrv8r8.js} +50 -50
- package/dist/chunks/{file-retention-rty2yphq.js → persistent-pty-33nwj033.js} +43 -43
- package/dist/chunks/{file-retention-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-retention-0vdkq15g.js → persistent-pty-3h2x9zep.js} +1 -1
- package/dist/chunks/{file-retention-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-rqdsjm6x.js → persistent-pty-3jgsjshs.js} +25 -25
- package/dist/chunks/{file-retention-vjgtykma.js → persistent-pty-3n9k99kr.js} +9 -9
- package/dist/chunks/{file-retention-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-retention-5carfvj1.js → persistent-pty-4697qq0h.js} +2 -2
- package/dist/chunks/{file-retention-v9vsdr5e.js → persistent-pty-4bbdhcnf.js} +47 -47
- package/dist/chunks/{file-retention-1tmvwee5.js → persistent-pty-4hcxqz1j.js} +8 -8
- package/dist/chunks/{file-retention-7aqpe3z3.js → persistent-pty-4mgmwwhc.js} +18 -18
- package/dist/chunks/{file-retention-x7c67s47.js → persistent-pty-4mpw8txs.js} +5 -5
- package/dist/chunks/{file-retention-ma37n9mc.js → persistent-pty-4r3r3wqp.js} +3 -3
- package/dist/chunks/{file-retention-kkr60pt3.js → persistent-pty-50t6b855.js} +6 -6
- package/dist/chunks/{file-retention-ckecvw8r.js → persistent-pty-54tcyq79.js} +2 -2
- package/dist/chunks/{file-retention-mfqp6xfm.js → persistent-pty-56gdpj1q.js} +6 -6
- package/dist/chunks/{file-retention-j31v3zf1.js → persistent-pty-59z0gf60.js} +19 -19
- package/dist/chunks/{file-retention-013zbbfs.js → persistent-pty-5b9pa3q7.js} +10 -10
- package/dist/chunks/{file-retention-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-5ekn9679.js → persistent-pty-5ekn9679.js} +1 -1
- package/dist/chunks/{file-retention-7ma666fp.js → persistent-pty-5mhrsa16.js} +4 -4
- package/dist/chunks/{file-retention-cfvy20zr.js → persistent-pty-5n6xt7h3.js} +9 -9
- package/dist/chunks/{file-retention-h0n36h3s.js → persistent-pty-5p0mp6ge.js} +1 -1
- package/dist/chunks/{file-retention-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-kf2ta3ye.js → persistent-pty-5w50106y.js} +20 -20
- package/dist/chunks/{file-retention-gzjk9fnj.js → persistent-pty-5yae57x6.js} +26 -26
- package/dist/chunks/{file-retention-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-zfjgpsdd.js → persistent-pty-69c49fy8.js} +24 -24
- package/dist/chunks/{file-retention-h38jpad5.js → persistent-pty-6kj2kzkg.js} +7 -7
- package/dist/chunks/{file-retention-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-retention-68y7phbn.js → persistent-pty-74rrnwt7.js} +12 -12
- package/dist/chunks/{file-retention-vtg6dttc.js → persistent-pty-79sb0qv2.js} +14 -14
- package/dist/chunks/{file-retention-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-60kb57hy.js → persistent-pty-7dz95w49.js} +19 -19
- package/dist/chunks/{file-retention-hvgp7k47.js → persistent-pty-7ndvrzgb.js} +20 -20
- package/dist/chunks/{file-retention-4v7r6s0x.js → persistent-pty-7npttpkb.js} +22 -22
- package/dist/chunks/{file-retention-k2egtdaq.js → persistent-pty-7p0ydzsf.js} +9 -9
- package/dist/chunks/{file-retention-8rvbch5b.js → persistent-pty-7x9j1zsm.js} +7 -7
- package/dist/chunks/{file-retention-9dz39q6x.js → persistent-pty-83tqnnyb.js} +11 -11
- package/dist/chunks/{file-retention-q9xx8pp8.js → persistent-pty-8cw38amn.js} +19 -19
- package/dist/chunks/{file-retention-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-739g7xpm.js → persistent-pty-8nqnatqw.js} +138 -138
- package/dist/chunks/{file-retention-ssh52gjb.js → persistent-pty-8pv6180c.js} +7 -7
- package/dist/chunks/{file-retention-sw1mxqw6.js → persistent-pty-8qf8qbfj.js} +8 -8
- package/dist/chunks/{file-retention-ma0e9v7m.js → persistent-pty-8s07ccs3.js} +32 -32
- package/dist/chunks/{file-retention-1agwz8aa.js → persistent-pty-8vm1nfxe.js} +37 -37
- package/dist/chunks/{file-retention-kyngf2ah.js → persistent-pty-8x24e6zw.js} +3 -3
- package/dist/chunks/{file-retention-mp0x0ve6.js → persistent-pty-8xqgb62y.js} +13 -13
- package/dist/chunks/{file-retention-2nxpygkr.js → persistent-pty-95ntde08.js} +21 -21
- package/dist/chunks/{file-retention-gjy9kcm5.js → persistent-pty-978gy482.js} +8 -8
- package/dist/chunks/{file-retention-vtxr0yy2.js → persistent-pty-9cyfspf3.js} +5 -5
- package/dist/chunks/{file-retention-wt002vfw.js → persistent-pty-9fy1pcrd.js} +10 -10
- package/dist/chunks/{file-retention-vtbecytz.js → persistent-pty-9ppvxvx2.js} +14 -14
- package/dist/chunks/{file-retention-4qrxzr33.js → persistent-pty-9qp60kxg.js} +20 -20
- package/dist/chunks/{file-retention-y8x91hrb.js → persistent-pty-9r70zj9f.js} +3 -3
- package/dist/chunks/{file-retention-ws1m066q.js → persistent-pty-9sfevq5x.js} +15 -15
- package/dist/chunks/persistent-pty-9sh4wc5j.js +18 -0
- package/dist/chunks/{file-retention-bwz5vyq0.js → persistent-pty-9wnraymz.js} +13 -13
- package/dist/chunks/{file-retention-gv7n655z.js → persistent-pty-a2q4hhkc.js} +18 -18
- package/dist/chunks/{file-retention-ky3seynh.js → persistent-pty-a3r4dcrj.js} +2 -2
- package/dist/chunks/{file-retention-hv1rr3m3.js → persistent-pty-a4r3ry0g.js} +20 -20
- package/dist/chunks/{file-retention-9xsfwcg4.js → persistent-pty-a5vb42nz.js} +25 -25
- package/dist/chunks/{file-retention-7sk5kyxr.js → persistent-pty-a6mwbtq0.js} +4 -4
- package/dist/chunks/{file-retention-a28va38p.js → persistent-pty-aaet6srn.js} +8 -8
- package/dist/chunks/{file-retention-brcqjxp1.js → persistent-pty-aakph5ea.js} +12 -12
- package/dist/chunks/{file-retention-yrxt8wb8.js → persistent-pty-agwz5jq8.js} +68 -68
- package/dist/chunks/{file-retention-t5ymyahf.js → persistent-pty-aj1cmtrn.js} +22 -22
- package/dist/chunks/{file-retention-sc7mjsx7.js → persistent-pty-an4t2was.js} +24 -24
- package/dist/chunks/{file-retention-e0vnyvwh.js → persistent-pty-b09qp47b.js} +10 -10
- package/dist/chunks/{file-retention-h2r7bbkd.js → persistent-pty-b1h1c68h.js} +8 -8
- package/dist/chunks/{file-retention-ew6xy3kj.js → persistent-pty-b2m85fba.js} +11 -11
- package/dist/chunks/{file-retention-3hwn7j4h.js → persistent-pty-b6gygkdw.js} +5 -5
- package/dist/chunks/{file-retention-k75f346z.js → persistent-pty-bc7x5p7s.js} +7 -7
- package/dist/chunks/{file-retention-mrkjr00d.js → persistent-pty-bhscgnbe.js} +26 -26
- package/dist/chunks/{file-retention-v155ndty.js → persistent-pty-bhv2qxb3.js} +6 -6
- package/dist/chunks/{file-retention-7e2yy7bx.js → persistent-pty-bjn91642.js} +4 -4
- package/dist/chunks/{file-retention-z07pqspn.js → persistent-pty-bjtzbw4r.js} +3 -3
- package/dist/chunks/{file-retention-4ptehb38.js → persistent-pty-bx27tg5g.js} +15 -15
- package/dist/chunks/{file-retention-p10hfn84.js → persistent-pty-bxf6ahcf.js} +12 -12
- package/dist/chunks/{file-retention-9q2dq694.js → persistent-pty-bzd9xh3w.js} +9 -9
- package/dist/chunks/{file-retention-fc8s73xt.js → persistent-pty-c15wgtb8.js} +19 -19
- package/dist/chunks/{file-retention-g6q9qykm.js → persistent-pty-d4he2qe1.js} +9 -9
- package/dist/chunks/{file-retention-4xzzvc1x.js → persistent-pty-d7hggpe0.js} +16 -16
- package/dist/chunks/{file-retention-t9zs3egg.js → persistent-pty-dfe8djrf.js} +4 -4
- package/dist/chunks/{file-retention-6xw3seg4.js → persistent-pty-dfzjqex4.js} +5 -5
- package/dist/chunks/{file-retention-dg2cj1yd.js → persistent-pty-dg2cj1yd.js} +1 -1
- package/dist/chunks/{file-retention-dpkg50ah.js → persistent-pty-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-retention-6477640v.js → persistent-pty-dydfzrfg.js} +3 -3
- package/dist/chunks/{file-retention-azms3gmy.js → persistent-pty-dz39j9yq.js} +29 -29
- package/dist/chunks/{file-retention-7h93y3jd.js → persistent-pty-e1a8gcn8.js} +11 -11
- package/dist/chunks/{file-retention-rnzy20mt.js → persistent-pty-e4jg4zfm.js} +17 -17
- package/dist/chunks/{file-retention-ypvayta9.js → persistent-pty-e8p1kpnk.js} +3 -3
- package/dist/chunks/{file-retention-cr07tj7n.js → persistent-pty-ead3g9p8.js} +5 -5
- package/dist/chunks/{file-retention-s8d7rejh.js → persistent-pty-eaj1djv9.js} +6 -6
- package/dist/chunks/{file-retention-9kbs75gn.js → persistent-pty-ecnmd6j5.js} +18 -18
- package/dist/chunks/{file-retention-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-retention-2f8p2v54.js → persistent-pty-ehdcnawv.js} +20 -20
- package/dist/chunks/{file-retention-cy9y9za1.js → persistent-pty-em8t1d4b.js} +32 -32
- package/dist/chunks/{file-retention-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-retention-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-repb58am.js → persistent-pty-eyaegrqq.js} +6 -6
- package/dist/chunks/{file-retention-tnyz8ww6.js → persistent-pty-fdjyeynq.js} +6 -6
- package/dist/chunks/{file-retention-4kr5mqj0.js → persistent-pty-fevnpa4j.js} +21 -21
- package/dist/chunks/{file-retention-fqmzt9nn.js → persistent-pty-fmhgq1sm.js} +24 -24
- package/dist/chunks/{file-retention-y56ehv6b.js → persistent-pty-fqcgpcra.js} +9 -9
- package/dist/chunks/{file-retention-qmhwq76t.js → persistent-pty-fqdw0qb0.js} +13 -13
- package/dist/chunks/{file-retention-amcfr32s.js → persistent-pty-g2dc85z0.js} +6 -6
- package/dist/chunks/{file-retention-jh4dq78w.js → persistent-pty-g4de2dpr.js} +17 -17
- package/dist/chunks/{file-retention-css2w393.js → persistent-pty-g7gngde7.js} +7 -7
- package/dist/chunks/{file-retention-g07zt90z.js → persistent-pty-g9se4cjc.js} +32 -32
- package/dist/chunks/{file-retention-053cybx6.js → persistent-pty-gbpvysbe.js} +12 -12
- package/dist/chunks/{file-retention-wa8jxbkg.js → persistent-pty-gc5brfvv.js} +32 -32
- package/dist/chunks/{file-retention-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-94ek1h2f.js → persistent-pty-gfvb90ym.js} +2 -2
- package/dist/chunks/{file-retention-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-retention-ksp53khy.js → persistent-pty-gwrhg37m.js} +30 -30
- package/dist/chunks/{file-retention-6jq4c9x7.js → persistent-pty-gy4yc5qs.js} +10 -10
- package/dist/chunks/{file-retention-2j7wsrwg.js → persistent-pty-h0yyr0gy.js} +10 -10
- package/dist/chunks/{file-retention-nwzjzhhc.js → persistent-pty-h18k85sj.js} +45 -45
- package/dist/chunks/{file-retention-4dgbcxzg.js → persistent-pty-h6r3nrb9.js} +4 -4
- package/dist/chunks/{file-retention-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-scw2ekxw.js → persistent-pty-h75wmkrs.js} +11 -11
- package/dist/chunks/{file-retention-7g57k9pp.js → persistent-pty-h9p2zxhd.js} +28 -28
- package/dist/chunks/{file-retention-krmp0vwn.js → persistent-pty-hcha2833.js} +11 -11
- package/dist/chunks/{file-retention-tyd90661.js → persistent-pty-hq1v3zy8.js} +4 -4
- package/dist/chunks/{file-retention-tv6fr57g.js → persistent-pty-htcezajs.js} +11 -11
- package/dist/chunks/{file-retention-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-m16z5xgj.js → persistent-pty-j6dx4cjd.js} +1 -1
- package/dist/chunks/{file-retention-t2f6sps2.js → persistent-pty-jbnt79dx.js} +20 -20
- package/dist/chunks/{file-retention-gajvcqmf.js → persistent-pty-jc8m90n4.js} +30 -30
- package/dist/chunks/{file-retention-b3rc9xq5.js → persistent-pty-jdd6ya46.js} +10 -10
- package/dist/chunks/{file-retention-xxynqx5z.js → persistent-pty-jexxy024.js} +2 -2
- package/dist/chunks/{file-retention-ratrq7cm.js → persistent-pty-jfqtm2ew.js} +4 -4
- package/dist/chunks/{file-retention-98dhkg4b.js → persistent-pty-jgaqdvsy.js} +17 -17
- package/dist/chunks/{file-retention-aj2111eg.js → persistent-pty-jh8z11nh.js} +36 -36
- package/dist/chunks/{file-retention-s9h1avrm.js → persistent-pty-jqnmytps.js} +21 -21
- package/dist/chunks/{file-retention-sn2197kq.js → persistent-pty-jtefkk5f.js} +25 -25
- package/dist/chunks/{file-retention-xkzzg3p1.js → persistent-pty-jv7ffsz1.js} +15 -15
- package/dist/chunks/{file-retention-hvb7b1k8.js → persistent-pty-jwkmn8w3.js} +3 -3
- package/dist/chunks/{file-retention-sx1yqcbh.js → persistent-pty-jx35jf7z.js} +20 -20
- package/dist/chunks/{file-retention-28tx5a5b.js → persistent-pty-k0h4vbz7.js} +24 -24
- package/dist/chunks/{file-retention-bbr0ecrm.js → persistent-pty-k2mdnn2s.js} +11 -11
- package/dist/chunks/{file-retention-k3c624dm.js → persistent-pty-k3c624dm.js} +3 -3
- package/dist/chunks/{file-retention-k53npxr2.js → persistent-pty-k53npxr2.js} +1 -1
- package/dist/chunks/{file-retention-p6j5c0dx.js → persistent-pty-k7k6eexb.js} +25 -25
- package/dist/chunks/{file-retention-k1qrnqst.js → persistent-pty-k8aese3t.js} +8 -8
- package/dist/chunks/{file-retention-a54wp4v4.js → persistent-pty-kfh0cw1f.js} +8 -8
- package/dist/chunks/{file-retention-n2srvep7.js → persistent-pty-kkp8zx71.js} +4 -4
- package/dist/chunks/{file-retention-tn0keqwc.js → persistent-pty-krxy378t.js} +6 -6
- package/dist/chunks/{file-retention-sfn2jqx5.js → persistent-pty-kv0rj397.js} +29 -29
- package/dist/chunks/{file-retention-rp4daw2c.js → persistent-pty-kwhxm0rt.js} +84 -84
- package/dist/chunks/{file-retention-29yjzs39.js → persistent-pty-m030b1ec.js} +24 -24
- package/dist/chunks/{file-retention-nq7qbqzc.js → persistent-pty-m2d0j7c0.js} +9 -9
- package/dist/chunks/{file-retention-6a3zafpc.js → persistent-pty-m2eqy9a3.js} +8 -8
- package/dist/chunks/{file-retention-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-retention-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-jw80jp6b.js → persistent-pty-magykp64.js} +4 -4
- package/dist/chunks/{file-retention-ttt144n2.js → persistent-pty-mcnp5paj.js} +22 -22
- package/dist/chunks/{file-retention-7exmdcvp.js → persistent-pty-mg5rbkhq.js} +14 -14
- package/dist/chunks/{file-retention-e981czdn.js → persistent-pty-msks4rpe.js} +9 -9
- package/dist/chunks/{file-retention-rjkx1558.js → persistent-pty-mtg6ts2t.js} +48 -48
- package/dist/chunks/{file-retention-msnvgge2.js → persistent-pty-mtzk9mcs.js} +11 -11
- package/dist/chunks/{file-retention-mhkvc446.js → persistent-pty-mvfsc1pv.js} +3 -3
- package/dist/chunks/{file-retention-zee1rnkq.js → persistent-pty-n4r3xatb.js} +4 -4
- package/dist/chunks/{file-retention-hfb3twc5.js → persistent-pty-n7rbchxd.js} +30 -30
- package/dist/chunks/{file-retention-awaee7qt.js → persistent-pty-ndqtf2h8.js} +4 -4
- package/dist/chunks/{file-retention-j1x1sn3n.js → persistent-pty-nms3vxe4.js} +16 -16
- package/dist/chunks/{file-retention-g58k0yz2.js → persistent-pty-nppa2k1t.js} +15 -15
- package/dist/chunks/persistent-pty-ntfxyrp8.js +26 -0
- package/dist/chunks/{file-retention-yk950sz5.js → persistent-pty-nwsnnm7q.js} +12 -12
- package/dist/chunks/{file-retention-tpw6cwsb.js → persistent-pty-p42hj8p8.js} +8 -8
- package/dist/chunks/{file-retention-m3ebeh4f.js → persistent-pty-p7zyvqxs.js} +5 -5
- package/dist/chunks/persistent-pty-peathsrz.js +507 -0
- package/dist/chunks/{file-retention-0ft9cg2j.js → persistent-pty-pf2hb43r.js} +4 -4
- package/dist/chunks/{file-retention-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-wd3x2cqz.js → persistent-pty-psazpmmj.js} +2 -2
- package/dist/chunks/{file-retention-tp2f02fq.js → persistent-pty-pv3n2ae1.js} +16 -16
- package/dist/chunks/{file-retention-r4aa4m0k.js → persistent-pty-px6v4n28.js} +4 -4
- package/dist/chunks/{file-retention-6pc27hjz.js → persistent-pty-py3kkmfq.js} +6 -6
- package/dist/chunks/{file-retention-ewkprqrz.js → persistent-pty-q0x8zzpj.js} +16 -16
- package/dist/chunks/{file-retention-5xpznt2d.js → persistent-pty-q7azfttr.js} +4 -4
- package/dist/chunks/{file-retention-gx3bsgbr.js → persistent-pty-q7hsqcry.js} +25 -25
- package/dist/chunks/{file-retention-sh5cyp0z.js → persistent-pty-qdyeg9tz.js} +29 -29
- package/dist/chunks/{file-retention-3917zmsm.js → persistent-pty-qe4kd680.js} +12 -12
- package/dist/chunks/{file-retention-41wzkj33.js → persistent-pty-qhexs5yx.js} +14 -14
- package/dist/chunks/{file-retention-8hddrz6y.js → persistent-pty-qpf5xtm9.js} +6 -6
- package/dist/chunks/{file-retention-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-m5xa4xm2.js → persistent-pty-qsky8txg.js} +43 -43
- package/dist/chunks/{file-retention-az5wxh9j.js → persistent-pty-qt6mstr8.js} +11 -11
- package/dist/chunks/{file-retention-w5bfhdvm.js → persistent-pty-rbhtsr62.js} +6 -6
- package/dist/chunks/{file-retention-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-retention-r8xr0va3.js → persistent-pty-rhraev7y.js} +4 -4
- package/dist/chunks/{file-retention-kwagda8j.js → persistent-pty-s13hgdhw.js} +10 -10
- package/dist/chunks/{file-retention-j67eyxhk.js → persistent-pty-sd9ps8hc.js} +32 -32
- package/dist/chunks/{file-retention-h63arcwz.js → persistent-pty-se3n0aez.js} +35 -35
- package/dist/chunks/{file-retention-mvr5bn4j.js → persistent-pty-sh3cnwks.js} +12 -12
- package/dist/chunks/{file-retention-gar1kgy6.js → persistent-pty-smyzvreh.js} +24 -24
- package/dist/chunks/{file-retention-zm2y9yb3.js → persistent-pty-sqgptjkv.js} +6 -6
- package/dist/chunks/{file-retention-kmssrs7f.js → persistent-pty-sv56s9vz.js} +4 -4
- package/dist/chunks/{file-retention-rgkm1ghw.js → persistent-pty-svvemcs6.js} +8 -8
- package/dist/chunks/{file-retention-mjm950tt.js → persistent-pty-sw03m82y.js} +34 -34
- package/dist/chunks/{file-retention-e9zqkyac.js → persistent-pty-t7vxnrsg.js} +10 -10
- package/dist/chunks/{file-retention-g9kevcwd.js → persistent-pty-t8xra3xv.js} +10 -10
- package/dist/chunks/{file-retention-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-gyc1mqyt.js → persistent-pty-teryqt5v.js} +3 -3
- package/dist/chunks/{file-retention-tfg9eqy2.js → persistent-pty-tg4v6ybm.js} +8 -8
- package/dist/chunks/{file-retention-8rse1bz0.js → persistent-pty-thfsr13d.js} +23 -23
- package/dist/chunks/{file-retention-yer1ws18.js → persistent-pty-tjhtcc6s.js} +8 -8
- package/dist/chunks/{file-retention-2vqpzfka.js → persistent-pty-tp9rhsw7.js} +33 -33
- package/dist/chunks/{file-retention-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{file-retention-2daz2v6c.js → persistent-pty-v7w3wckr.js} +33 -33
- package/dist/chunks/{file-retention-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-b8hpyb2b.js → persistent-pty-vrgxsb1e.js} +13 -13
- package/dist/chunks/{file-retention-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-b971s22s.js → persistent-pty-w0ekr5w4.js} +4 -4
- package/dist/chunks/{file-retention-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-xk5yp3rz.js → persistent-pty-w3wzfs1e.js} +26 -26
- package/dist/chunks/{file-retention-31hetm60.js → persistent-pty-w7trrfxg.js} +4 -4
- package/dist/chunks/{file-retention-sgwh5nyn.js → persistent-pty-was7srj9.js} +8 -8
- package/dist/chunks/{file-retention-y0mc46pw.js → persistent-pty-wbt9zsn3.js} +9 -9
- package/dist/chunks/{file-retention-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-484azhyv.js → persistent-pty-x2659m4s.js} +18 -18
- package/dist/chunks/{file-retention-s76c0ttp.js → persistent-pty-xc9wkb25.js} +17 -17
- package/dist/chunks/{file-retention-drwq78ky.js → persistent-pty-xfkkasph.js} +4 -4
- package/dist/chunks/{file-retention-1fq49j2d.js → persistent-pty-xga9dy9m.js} +18 -18
- package/dist/chunks/persistent-pty-xjrs478y.js +252 -0
- package/dist/chunks/{file-retention-pc4b88sv.js → persistent-pty-xs53z2pm.js} +4 -4
- package/dist/chunks/{file-retention-jcmwmbwz.js → persistent-pty-xwmca76c.js} +1 -1
- package/dist/chunks/{file-retention-4e3kc42d.js → persistent-pty-xy3zq42w.js} +15 -15
- package/dist/chunks/{file-retention-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-vp54qpx1.js → persistent-pty-y7kpdk7a.js} +19 -19
- package/dist/chunks/{file-retention-hya5ekxn.js → persistent-pty-y8vstp7v.js} +1 -1
- package/dist/chunks/{file-retention-wxffcvth.js → persistent-pty-ybhbtxjg.js} +3 -3
- package/dist/chunks/{file-retention-v6gb7zv2.js → persistent-pty-ycjb11n5.js} +6 -6
- package/dist/chunks/{file-retention-8gsbz1zp.js → persistent-pty-ymfjs49y.js} +15 -15
- package/dist/chunks/{file-retention-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{file-retention-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{file-retention-3bc8czyk.js → persistent-pty-zd30eb5w.js} +5 -5
- package/dist/chunks/{file-retention-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-retention-11gyv0qx.js → persistent-pty-zjstjz92.js} +11 -11
- package/dist/chunks/{file-retention-691kgrwj.js → persistent-pty-zqfjm1r3.js} +9 -9
- package/dist/chunks/{file-retention-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-bv6943e1.js → persistent-pty-zrk49733.js} +1 -1
- package/dist/chunks/{file-retention-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +158 -158
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- 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 +370 -370
- 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 +3 -3
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +80 -80
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- 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 +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +94 -94
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- 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 +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- 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-1x11rq2a.js +0 -18
- package/dist/chunks/file-retention-4egeceed.js +0 -507
- package/dist/chunks/file-retention-6kdq0pjd.js +0 -4
- package/dist/chunks/file-retention-fes7pmbs.js +0 -252
- package/dist/chunks/file-retention-s958vy2b.js +0 -26
- /package/dist/chunks/{file-retention-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-jwkmn8w3.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-a6mwbtq0.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
update3
|
|
18
|
+
} from "./persistent-pty-9cyfspf3.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./persistent-pty-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./persistent-pty-psazpmmj.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-bjtzbw4r.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./persistent-pty-jx35jf7z.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./persistent-pty-q7azfttr.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./persistent-pty-ymfjs49y.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./persistent-pty-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node26
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -246,7 +246,7 @@ function run(db, event) {
|
|
|
246
246
|
updateCompaction: updateMessage,
|
|
247
247
|
appendMessage
|
|
248
248
|
};
|
|
249
|
-
yield*
|
|
249
|
+
yield* update3(adapter, event);
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
252
|
function insertMessage(db, event, message) {
|
|
@@ -459,6 +459,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
459
459
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
460
460
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
461
461
|
}));
|
|
462
|
-
var
|
|
462
|
+
var node26 = makeGlobalNode({ name: "session-projector", layer, deps: [node87, node88] });
|
|
463
463
|
|
|
464
|
-
export { SessionAlreadyProjected2,
|
|
464
|
+
export { SessionAlreadyProjected2, node26, exports_projector };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-h18k85sj.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin44
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin44 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin44, exports_plan };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./persistent-pty-q7hsqcry.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-w0ekr5w4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make10,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -100,7 +100,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
100
100
|
return true;
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
104
104
|
const decide = yield* policy2(sessionID);
|
|
105
105
|
const wait = (input) => Effect.gen(function* () {
|
|
106
106
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -117,4 +117,4 @@ var make8 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
117
117
|
return { decide, wait };
|
|
118
118
|
});
|
|
119
119
|
|
|
120
|
-
export { isRetryable2, policy2, transient2,
|
|
120
|
+
export { isRetryable2, policy2, transient2, make10, exports_retry };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-psazpmmj.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
10
10
|
__export(exports_mcp2, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
12
|
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-a6mwbtq0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service77,
|
|
8
|
+
node81
|
|
9
|
+
} from "./persistent-pty-w3wzfs1e.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-7dz95w49.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,9 +31,9 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
34
|
+
Event: () => Event17,
|
|
35
35
|
ID: () => ID14,
|
|
36
|
-
Info: () =>
|
|
36
|
+
Info: () => Info29,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
65
|
+
import { Event as Event17 } from "@opencode/schema/integration";
|
|
66
66
|
var ID14 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info29 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -106,7 +106,7 @@ var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
108
|
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
109
|
-
const credentials = yield*
|
|
109
|
+
const credentials = yield* Service77;
|
|
110
110
|
const bus = yield* Service83;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
201
201
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
202
202
|
return [...credentials, ...env];
|
|
203
203
|
};
|
|
204
|
-
const project = (entry, connections) =>
|
|
204
|
+
const project = (entry, connections) => Info29.make({
|
|
205
205
|
id: entry.ref.id,
|
|
206
206
|
name: entry.ref.name,
|
|
207
207
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
285
285
|
const persistence = yield* createCredential({
|
|
286
286
|
integrationID: attempt.integrationID,
|
|
287
287
|
label: attempt.label,
|
|
288
|
-
value:
|
|
288
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
289
289
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
290
290
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
291
291
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -453,7 +453,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
453
453
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
454
454
|
if (connection.type === "env") {
|
|
455
455
|
const key = process.env[connection.name];
|
|
456
|
-
return key ?
|
|
456
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
457
457
|
}
|
|
458
458
|
const credential = yield* credentials.get(connection.id);
|
|
459
459
|
if (!credential)
|
|
@@ -486,7 +486,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
486
486
|
yield* createCredential({
|
|
487
487
|
integrationID: input.integrationID,
|
|
488
488
|
label: input.label,
|
|
489
|
-
value:
|
|
489
|
+
value: Key3.make({
|
|
490
490
|
type: "key",
|
|
491
491
|
key: input.key,
|
|
492
492
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -583,7 +583,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
583
583
|
var node80 = makeLocationNode({
|
|
584
584
|
service: Service76,
|
|
585
585
|
layer,
|
|
586
|
-
deps: [
|
|
586
|
+
deps: [node81, node87, AppProcess.node]
|
|
587
587
|
});
|
|
588
588
|
|
|
589
|
-
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2,
|
|
589
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node80, exports_integration, Event17 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./persistent-pty-q7hsqcry.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service55
|
|
6
|
+
} from "./persistent-pty-qsky8txg.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-w7trrfxg.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make8(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service55;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
providers.models.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID12.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make8();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make8, VLLMPlugin2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./persistent-pty-bhscgnbe.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service49;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service79
|
|
13
|
+
} from "./persistent-pty-mg5rbkhq.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-5w50106y.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin35,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin35 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service79;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin35, exports_hg };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-y8cydn3q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-a6mwbtq0.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service79,
|
|
12
|
+
node83
|
|
13
|
+
} from "./persistent-pty-mg5rbkhq.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info8,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service42,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node46
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info8, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service42 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info8));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service42.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node46 = makeLocationNode({
|
|
168
|
+
service: Service42,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node83, node87]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info8, Mode2, DiffError2, Service42, node46, exports_vcs };
|