@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,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./persistent-pty-aj1cmtrn.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service82
|
|
13
|
+
} from "./persistent-pty-k0h4vbz7.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service79
|
|
16
|
+
} from "./persistent-pty-mg5rbkhq.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin26
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin26 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service82;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service79;
|
|
42
|
+
const watcher = yield* Service56;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin26, exports_instruction };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service32,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service32 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service32.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service32, awaitActivation2, exports_service };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service49,
|
|
6
|
+
node53
|
|
7
|
+
} from "./persistent-pty-bhscgnbe.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service46,
|
|
17
|
+
node: () => node50,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service46 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service49;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service46.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node50 = makeLocationNode({ service: Service46, layer, deps: [node53] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service46, readText2, syncTextBom2, node50, exports_file_mutation };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-a6mwbtq0.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
ID14,
|
|
11
11
|
Service76,
|
|
12
12
|
node80,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Event17
|
|
14
|
+
} from "./persistent-pty-59z0gf60.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-h6r3nrb9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node83
|
|
21
|
+
} from "./persistent-pty-mg5rbkhq.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,9 +37,9 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
40
|
+
Event: () => Event16,
|
|
41
41
|
ID: () => ID13,
|
|
42
|
-
Info: () =>
|
|
42
|
+
Info: () => Info27,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
45
|
Request: () => Request3,
|
|
@@ -64,7 +64,7 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
67
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
68
68
|
var ID13 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
@@ -210,7 +210,7 @@ var Request3 = Provider.Request;
|
|
|
210
210
|
var Compaction3 = Provider.Compaction;
|
|
211
211
|
var Transport2 = Provider.Transport;
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
|
-
var
|
|
213
|
+
var Info27 = Provider.Info;
|
|
214
214
|
|
|
215
215
|
class Service75 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
@@ -228,7 +228,7 @@ function index(providerID, models) {
|
|
|
228
228
|
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
230
|
const integrations = yield* Service76;
|
|
231
|
-
const location = yield*
|
|
231
|
+
const location = yield* Service79;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
234
234
|
initial: () => new Map,
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
239
239
|
const current = records.get(id);
|
|
240
240
|
if (current)
|
|
241
241
|
return current;
|
|
242
|
-
const added = { provider:
|
|
242
|
+
const added = { provider: Info27.empty(id), models: new Map };
|
|
243
243
|
records.set(id, added);
|
|
244
244
|
maps.add(added.models);
|
|
245
245
|
return added;
|
|
@@ -346,7 +346,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
349
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
350
|
return Service75.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var node79 = makeLocationNode({ service: Service75, layer, deps: [node87, node80,
|
|
359
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node87, node80, node83] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -616,4 +616,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
616
616
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
617
617
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
618
618
|
|
|
619
|
-
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2,
|
|
619
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service75, node79, exports_provider3, Event16 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-jexxy024.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-a2q4hhkc.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info26
|
|
11
|
+
} from "./persistent-pty-q7hsqcry.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID12.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,10 +118,10 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info26.make({
|
|
122
|
+
...Info26.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
124
|
+
modelID: ID12.make(remote.id),
|
|
125
125
|
providerID: ID13.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./persistent-pty-mg5rbkhq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./persistent-pty-bhscgnbe.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service45
|
|
16
|
+
} from "./persistent-pty-xga9dy9m.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-h9p2zxhd.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service64
|
|
26
|
+
} from "./persistent-pty-h18k85sj.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service19
|
|
29
|
+
} from "./persistent-pty-x2659m4s.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
38
|
Input: () => Input3,
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
39
|
+
Output: () => Output2,
|
|
40
|
+
Plugin: () => Plugin3,
|
|
41
41
|
name: () => name3,
|
|
42
42
|
toModelContent: () => toModelContent2
|
|
43
43
|
});
|
|
@@ -65,7 +65,7 @@ var Input3 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
68
|
+
var Output2 = Schema.Array(Match2);
|
|
69
69
|
var toModelContent2 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
@@ -83,20 +83,20 @@ var toModelContent2 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin3 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service49;
|
|
90
|
+
const ripgrep = yield* Service45;
|
|
91
|
+
const location = yield* Service79;
|
|
92
|
+
const access = yield* Service19;
|
|
93
|
+
const permission = yield* Service64;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
95
|
name: name3,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
98
|
input: Input3,
|
|
99
|
-
output:
|
|
99
|
+
output: Output2,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
@@ -154,4 +154,4 @@ var Plugin39 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export { name3, Input3,
|
|
157
|
+
export { name3, Input3, Output2, toModelContent2, Plugin3, exports_grep };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-jwkmn8w3.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -69,18 +69,18 @@ var makeMemoryDriver2 = () => {
|
|
|
69
69
|
const overrides = {
|
|
70
70
|
stat: (value) => Effect.suspend(() => {
|
|
71
71
|
const node = lookup(value);
|
|
72
|
-
return node ? Effect.succeed(info(node)) : Effect.fail(new
|
|
72
|
+
return node ? Effect.succeed(info(node)) : Effect.fail(new NotFound2({ path: value }));
|
|
73
73
|
}),
|
|
74
74
|
read: (value, range) => Effect.gen(function* () {
|
|
75
75
|
const original = lookup(value);
|
|
76
76
|
if (!original)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFound2({ path: value });
|
|
78
78
|
if (original.type === "directory")
|
|
79
79
|
return yield* new WrongKind2({ path: value, actual: "directory" });
|
|
80
80
|
const resolved = resolveKey(value, true);
|
|
81
81
|
const node = resolved === undefined ? undefined : nodes.get(resolved);
|
|
82
82
|
if (!node)
|
|
83
|
-
return yield* new
|
|
83
|
+
return yield* new NotFound2({ path: value });
|
|
84
84
|
if (node.type !== "file")
|
|
85
85
|
return yield* new WrongKind2({ path: value, actual: node.type });
|
|
86
86
|
const bytes = range === undefined ? node.bytes : node.bytes.subarray(range.offset, range.offset + range.length);
|
|
@@ -104,7 +104,7 @@ var makeMemoryDriver2 = () => {
|
|
|
104
104
|
const target = resolveKey(value, true) ?? key(value);
|
|
105
105
|
const node = nodes.get(target);
|
|
106
106
|
if (!node)
|
|
107
|
-
return yield* new
|
|
107
|
+
return yield* new NotFound2({ path: value });
|
|
108
108
|
if (node.type !== "directory")
|
|
109
109
|
return yield* new WrongKind2({ path: value, actual: node.type });
|
|
110
110
|
return [...nodes.entries()].filter(([entry]) => entry !== target && path.posix.dirname(entry) === target).map(([entry, child]) => ({ name: path.posix.basename(entry), type: child.type })).sort((a, b) => a.name.localeCompare(b.name));
|
|
@@ -120,7 +120,7 @@ var makeMemoryDriver2 = () => {
|
|
|
120
120
|
const source = resolveKey(from, false) ?? key(from);
|
|
121
121
|
const node = nodes.get(source);
|
|
122
122
|
if (!node)
|
|
123
|
-
return yield* new
|
|
123
|
+
return yield* new NotFound2({ path: from });
|
|
124
124
|
yield* Effect.try({
|
|
125
125
|
try: () => {
|
|
126
126
|
const requested = resolveKey(to, false) ?? key(to);
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID10,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-fevnpa4j.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-h18k85sj.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent2 = {};
|
|
15
15
|
__export(exports_agent2, {
|
|
16
16
|
AgentPlugin: () => exports_agent2,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin45
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin45 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin33 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID10.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID10.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin33 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID10.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID10.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID10.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin33 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin45, exports_agent2 };
|