@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./persistent-pty-wbt9zsn3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service61
|
|
6
|
+
} from "./persistent-pty-ycjb11n5.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9sh4wc5j.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service69
|
|
15
|
+
} from "./persistent-pty-0xezjjjn.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-ybhbtxjg.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service34
|
|
23
|
+
} from "./persistent-pty-jbnt79dx.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service61;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service69;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service34;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service71;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-eaj1djv9.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-bjtzbw4r.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./persistent-pty-mg5rbkhq.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
15
|
ID13,
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
mergeHeaders2,
|
|
19
19
|
Service75,
|
|
20
20
|
node79,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Event16
|
|
22
|
+
} from "./persistent-pty-a2q4hhkc.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info26,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service74,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
43
|
+
node: () => node78,
|
|
44
44
|
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event15 } from "@opencode/schema/model";
|
|
51
|
+
var ID12 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info26 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service74 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
64
64
|
const providers = yield* Service75;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const location = yield*
|
|
66
|
+
const location = yield* Service79;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info26.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service74.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node78 = makeLocationNode({ service: Service74, layer, deps: [node79, node87, node83] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -229,8 +229,8 @@ function parse5(input) {
|
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
231
|
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
-
modelID:
|
|
232
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service74, node78, compatibility2, parse5, exports_model2, Event15 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./persistent-pty-7dz95w49.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./persistent-pty-h18k85sj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service20
|
|
14
|
+
} from "./persistent-pty-k7k6eexb.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch = {};
|
|
21
|
+
__export(exports_websearch, {
|
|
22
|
+
Input: () => Input11,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin12,
|
|
25
|
+
WebSearchTool: () => exports_websearch,
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name11
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name11 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input11 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin12 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service64;
|
|
53
|
+
const forms = yield* Service78;
|
|
54
|
+
const websearch = yield* Service20;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name11,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input11,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name11,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name11];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name11, NO_RESULTS2, description5, Input11, Plugin12, exports_websearch };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-a2q4hhkc.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service55
|
|
8
|
+
} from "./persistent-pty-qsky8txg.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
resolve2
|
|
11
|
+
} from "./persistent-pty-qpf5xtm9.js";
|
|
12
12
|
import {
|
|
13
13
|
observe2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/config/plugin/provider.ts
|
|
20
20
|
var exports_provider = {};
|
|
21
21
|
__export(exports_provider, {
|
|
22
22
|
ConfigProviderPlugin: () => exports_provider,
|
|
23
|
-
Plugin: () =>
|
|
23
|
+
Plugin: () => Plugin24
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Money } from "@opencode/schema/money";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
|
-
var
|
|
28
|
+
var Plugin24 = define({
|
|
29
29
|
id: "opencode.config.provider",
|
|
30
30
|
effect: Effect.fn(function* (ctx) {
|
|
31
|
-
const config = yield*
|
|
31
|
+
const config = yield* Service55;
|
|
32
32
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
33
33
|
yield* ctx.integration.transform((integrations) => {
|
|
34
34
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -177,7 +177,7 @@ var Plugin16 = define({
|
|
|
177
177
|
if (config.variants === undefined && !source?.base)
|
|
178
178
|
models.update(providerID, id, (model) => {
|
|
179
179
|
model.variants = [
|
|
180
|
-
...
|
|
180
|
+
...resolve2({
|
|
181
181
|
...model,
|
|
182
182
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
183
183
|
})
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin24, exports_provider };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
17
|
+
var exports_instructions3 = {};
|
|
18
|
+
__export(exports_instructions3, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions3,
|
|
20
|
+
make: () => make14,
|
|
21
21
|
render: () => render2,
|
|
22
|
-
update: () =>
|
|
22
|
+
update: () => update2
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -43,7 +43,7 @@ function render2(catalog) {
|
|
|
43
43
|
${tools.join(`
|
|
44
44
|
`)}`;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function update2(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
49
|
${render2(current)}`;
|
|
@@ -109,9 +109,9 @@ ${render2(current)}`;
|
|
|
109
109
|
return delta;
|
|
110
110
|
return replacement;
|
|
111
111
|
}
|
|
112
|
-
var key =
|
|
112
|
+
var key = Key4.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make14 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
116
|
return make21({
|
|
117
117
|
key,
|
|
@@ -119,10 +119,10 @@ var make13 = (inventory) => {
|
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
121
|
initial: render2,
|
|
122
|
-
changed:
|
|
122
|
+
changed: update2,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export { render2,
|
|
128
|
+
export { render2, update2, make14, exports_instructions3 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-a2q4hhkc.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-q7hsqcry.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
13
13
|
__export(exports_variant, {
|
|
14
14
|
Variant: () => exports_variant,
|
|
15
|
-
resolve: () =>
|
|
15
|
+
resolve: () => resolve2
|
|
16
16
|
});
|
|
17
|
-
function
|
|
17
|
+
function resolve2(model, supports = [{ type: "effort" }]) {
|
|
18
18
|
const protocol = model.package === undefined ? undefined : PROTOCOLS[model.package];
|
|
19
19
|
if (!protocol)
|
|
20
20
|
return [];
|
|
@@ -494,4 +494,4 @@ var PROTOCOLS = {
|
|
|
494
494
|
[aisdk2("@ai-sdk/cohere")]: cohere
|
|
495
495
|
};
|
|
496
496
|
|
|
497
|
-
export {
|
|
497
|
+
export { resolve2, exports_variant };
|
|
@@ -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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event18,
|
|
7
|
+
Service77,
|
|
8
|
+
node81
|
|
9
|
+
} from "./persistent-pty-w3wzfs1e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service56,
|
|
12
|
+
node61
|
|
13
|
+
} from "./persistent-pty-aj1cmtrn.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service79,
|
|
19
|
+
node83
|
|
20
|
+
} from "./persistent-pty-mg5rbkhq.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./persistent-pty-an4t2was.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-p7zyvqxs.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./persistent-pty-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service57,
|
|
36
|
+
Event12,
|
|
37
|
+
node62
|
|
38
|
+
} from "./persistent-pty-9qp60kxg.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service55,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured9,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer19,
|
|
53
|
+
node: () => node60,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options7 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service55 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service55, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer19 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service79;
|
|
97
|
+
const watcher = yield* Service56;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service77;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service57;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,8 +221,8 @@ var layer17 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer17 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service55.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer17 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured9(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service55,
|
|
268
|
+
layer: layer19(options),
|
|
269
|
+
deps: [node61, node87, FSUtil.node, Global.node, node83, node81, node62]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node60 = configured9();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options7, Service55, Test2, testLayer2, layer19, configured9, node60, exports_config };
|