@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-a6mwbtq0.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-2402vzrj.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service44,
|
|
17
|
+
node48
|
|
18
|
+
} from "./persistent-pty-7ndvrzgb.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event10,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info9,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service43,
|
|
35
|
+
Source: () => Source4,
|
|
36
|
+
node: () => node47
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event10 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source4 = Reference.Source;
|
|
46
|
+
var Info9 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service43 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service83;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service44;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info9.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info9.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service43.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node47 = makeLocationNode({
|
|
116
|
+
service: Service43,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node87,
|
|
118
|
+
deps: [Global.node, node87, node48]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info9, Service43, node47, exports_reference2, Event10 };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service71,
|
|
17
|
+
node75
|
|
18
|
+
} from "./persistent-pty-wbt9zsn3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service69,
|
|
21
|
+
node73
|
|
22
|
+
} from "./persistent-pty-0xezjjjn.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./persistent-pty-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error5,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service54,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node59
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service54 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service69;
|
|
58
|
+
const image = yield* Service71;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service54.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node59 = makeLocationNode({
|
|
277
|
+
service: Service54,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node73, node75]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service54, node59, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service72,
|
|
9
|
+
node76
|
|
10
|
+
} from "./persistent-pty-kv0rj397.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-jexxy024.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -73,7 +73,7 @@ var resolved2 = (model, options) => ({
|
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
75
|
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
76
|
-
const resolver = yield*
|
|
76
|
+
const resolver = yield* Service72;
|
|
77
77
|
return Service62.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var node66 = makeLocationNode({ service: Service62, layer, deps: [
|
|
95
|
+
var node66 = makeLocationNode({ service: Service62, layer, deps: [node76] });
|
|
96
96
|
|
|
97
97
|
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service62, resolved2, node66, exports_model };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service81,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node85
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service81 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service81.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node85 = makeGlobalNode({ service: Service81, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service81, node85, exports_git3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service55
|
|
4
|
+
} from "./persistent-pty-qsky8txg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service53
|
|
7
|
+
} from "./persistent-pty-2gbcq7ge.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell2 = {};
|
|
17
|
+
__export(exports_shell2, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
+
Plugin: () => Plugin25
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin25 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service55;
|
|
27
|
+
const shell = yield* Service53;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin12 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin25, exports_shell2 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-a6mwbtq0.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -16,17 +16,17 @@ __export(exports_form, {
|
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID16,
|
|
20
|
+
Info: () => Info31,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service78,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer24,
|
|
29
|
+
node: () => node82,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
@@ -35,8 +35,8 @@ import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema
|
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID16 = Form.ID;
|
|
39
|
+
var Info31 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID16
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID16
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID16,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service78 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer24 = Layer.effect(Service78, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
@@ -90,7 +90,7 @@ var layer25 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
90
90
|
});
|
|
91
91
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID16.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service78.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node82 = makeLocationNode({ service: Service78, layer: layer24, deps: [node87] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID16, Info31, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer24, node82, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service81,
|
|
6
|
+
node85
|
|
7
|
+
} from "./persistent-pty-74rrnwt7.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service70,
|
|
16
|
+
node74
|
|
17
|
+
} from "./persistent-pty-b09qp47b.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service44,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node48,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service44 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service81;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service70;
|
|
110
|
+
return Service44.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node48 = makeGlobalNode({
|
|
171
|
+
service: Service44,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node85, Global.node, node74]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service44, isError2, validateBranch2, node48, exports_repository_cache };
|