@opencode/core 0.0.0-dev-20150 → 0.0.0-dev-20154
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 +73 -73
- package/dist/chunks/{kv-tffkxf13.js → formatter-05bs18sm.js} +7 -7
- package/dist/chunks/{kv-kht4mc5p.js → formatter-08hn3w1t.js} +3 -3
- package/dist/chunks/{kv-0jq9fyba.js → formatter-0996nyz8.js} +9 -9
- package/dist/chunks/{kv-ne53z7qe.js → formatter-0en4mdfg.js} +3 -3
- package/dist/chunks/{kv-0ccn2szc.js → formatter-0f9zpd1z.js} +20 -20
- package/dist/chunks/{kv-3cfn41g4.js → formatter-0fvxp85d.js} +35 -35
- package/dist/chunks/formatter-0mesazry.js +4 -0
- package/dist/chunks/{kv-0paq2nw3.js → formatter-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-3rtxz4nr.js → formatter-0t9wd588.js} +8 -8
- package/dist/chunks/{kv-rqw4z3y5.js → formatter-1085njgr.js} +45 -45
- package/dist/chunks/{kv-4pqsajg3.js → formatter-11fqwpp6.js} +15 -15
- package/dist/chunks/{kv-dn3bqgaq.js → formatter-11xftm32.js} +27 -27
- package/dist/chunks/{kv-s80hxv6c.js → formatter-1ad61yzs.js} +24 -24
- package/dist/chunks/{kv-1cfb3ja4.js → formatter-1cfb3ja4.js} +5 -5
- package/dist/chunks/{kv-1dazxqgg.js → formatter-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-y24ys8sf.js → formatter-1fw82rrz.js} +41 -41
- package/dist/chunks/{kv-kmka22ma.js → formatter-1k7ys8s2.js} +26 -26
- package/dist/chunks/{kv-5qsh0v84.js → formatter-1mnksntc.js} +2 -2
- package/dist/chunks/{kv-x2g1scrt.js → formatter-1szmg2fp.js} +26 -26
- package/dist/chunks/{kv-1ygqh575.js → formatter-1ygqh575.js} +2 -2
- package/dist/chunks/{kv-21r38tys.js → formatter-21r38tys.js} +1 -1
- package/dist/chunks/{kv-0jgz5j6j.js → formatter-22zp2z9f.js} +5 -5
- package/dist/chunks/{kv-ahw5pyz9.js → formatter-23rszh6g.js} +9 -9
- package/dist/chunks/{kv-2402vzrj.js → formatter-2402vzrj.js} +1 -1
- package/dist/chunks/{kv-mvxkgq5y.js → formatter-25b126yv.js} +24 -24
- package/dist/chunks/{kv-fwvq52tk.js → formatter-29eb1e1z.js} +7 -7
- package/dist/chunks/{kv-2a5m3afh.js → formatter-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-gs3s1a1g.js → formatter-2eegacq4.js} +8 -8
- package/dist/chunks/{kv-2k8khapm.js → formatter-2k8khapm.js} +1 -1
- package/dist/chunks/{kv-57ez7d0k.js → formatter-2w6fc0zt.js} +7 -7
- package/dist/chunks/{kv-grd9cd6m.js → formatter-3051r0mf.js} +22 -22
- package/dist/chunks/{kv-xnyn1cgh.js → formatter-32hkxnxv.js} +5 -5
- package/dist/chunks/{kv-j8zzr2am.js → formatter-3e147rt9.js} +7 -7
- package/dist/chunks/{kv-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-d82m1p2r.js → formatter-3fsxnh3r.js} +9 -9
- package/dist/chunks/{kv-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-nzq7ck9f.js → formatter-3ppptnan.js} +6 -6
- package/dist/chunks/{kv-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-weh2f3a0.js → formatter-3syeyv6h.js} +12 -12
- package/dist/chunks/{kv-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-dj9sq318.js → formatter-3w0fmcng.js} +5 -5
- package/dist/chunks/{kv-a8vqk219.js → formatter-3wgaynme.js} +19 -19
- package/dist/chunks/{kv-3zsf4n22.js → formatter-3zsf4n22.js} +1 -1
- package/dist/chunks/{kv-4eaqzgc4.js → formatter-3zynn388.js} +6 -6
- package/dist/chunks/{kv-pazfb172.js → formatter-4000bm05.js} +28 -28
- package/dist/chunks/{kv-8wpsay1h.js → formatter-43d6531p.js} +12 -12
- package/dist/chunks/{kv-h6310vsd.js → formatter-44ak30pa.js} +4 -4
- package/dist/chunks/{kv-vhp89w17.js → formatter-48h2kp0z.js} +12 -12
- package/dist/chunks/{kv-ncjresk4.js → formatter-4arb9zza.js} +8 -8
- package/dist/chunks/{kv-c0pm8rrr.js → formatter-4j5rd3nb.js} +22 -22
- package/dist/chunks/{kv-2kzjx7wg.js → formatter-4t0vqfa4.js} +2 -2
- package/dist/chunks/{kv-gfj9qsaq.js → formatter-4v6j91f0.js} +16 -16
- package/dist/chunks/{kv-nsarsp7q.js → formatter-4y72ap3v.js} +12 -12
- package/dist/chunks/{kv-6b0fgk81.js → formatter-4ykhr99h.js} +32 -32
- package/dist/chunks/{kv-xmwwj3b1.js → formatter-4z1dccvf.js} +16 -16
- package/dist/chunks/{kv-2cqzhaz4.js → formatter-526x9cfz.js} +4 -4
- package/dist/chunks/{kv-qbnb7c74.js → formatter-5601sb2r.js} +6 -6
- package/dist/chunks/{kv-r5z7p6xw.js → formatter-5age93ge.js} +45 -45
- package/dist/chunks/{kv-wahgg9pj.js → formatter-5d4fs1ac.js} +20 -20
- package/dist/chunks/{kv-5daktx2q.js → formatter-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-z8k2pwn3.js → formatter-5nvg4m9b.js} +10 -10
- package/dist/chunks/{kv-jb05x2td.js → formatter-5sh5mty0.js} +25 -25
- package/dist/chunks/{kv-5t3nmthw.js → formatter-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-8fe4dz4x.js → formatter-5tfn2ep9.js} +8 -8
- package/dist/chunks/{kv-2jmrv99g.js → formatter-64hfcqtn.js} +20 -20
- package/dist/chunks/{kv-vhy7cj2x.js → formatter-65tn6s1e.js} +13 -13
- package/dist/chunks/{kv-669tq793.js → formatter-669tq793.js} +1 -1
- package/dist/chunks/{kv-b14nvtsk.js → formatter-66g1srzz.js} +25 -25
- package/dist/chunks/{kv-ft0vvk11.js → formatter-684eg8p8.js} +48 -48
- package/dist/chunks/{kv-1d4ma8zv.js → formatter-6g36ydm3.js} +40 -40
- package/dist/chunks/{kv-b905h8ee.js → formatter-6k0ykvm3.js} +35 -35
- package/dist/chunks/{kv-6msgmcgs.js → formatter-6msgmcgs.js} +1 -1
- package/dist/chunks/{kv-3z59g7s8.js → formatter-6skxyfkw.js} +10 -10
- package/dist/chunks/{kv-yzb0c9yw.js → formatter-6t2yfq6r.js} +31 -31
- package/dist/chunks/{kv-v60patpd.js → formatter-6wf7w9m0.js} +43 -43
- package/dist/chunks/{kv-n7kjx2f1.js → formatter-6zxhhdw2.js} +8 -8
- package/dist/chunks/{kv-qab90vdt.js → formatter-725ga7b7.js} +18 -18
- package/dist/chunks/{kv-85xbdk8f.js → formatter-7apqwha9.js} +20 -20
- package/dist/chunks/{kv-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-1qpw2tv6.js → formatter-7fdq7649.js} +10 -10
- package/dist/chunks/{kv-4phm5153.js → formatter-7gvwkz6m.js} +5 -5
- package/dist/chunks/{kv-0cw0akfc.js → formatter-7qjsfbt0.js} +96 -96
- package/dist/chunks/{kv-xyazt5zc.js → formatter-7sq8yzkh.js} +50 -50
- package/dist/chunks/formatter-7t0nnsk4.js +252 -0
- package/dist/chunks/{kv-fe39wqx3.js → formatter-7yb49614.js} +35 -35
- package/dist/chunks/{kv-cb2d4jeh.js → formatter-7z59ztsa.js} +17 -17
- package/dist/chunks/{kv-k8d0aa5r.js → formatter-83mkg5xj.js} +18 -18
- package/dist/chunks/{kv-zecw12g0.js → formatter-866na523.js} +24 -24
- package/dist/chunks/{kv-8d7r5vzw.js → formatter-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-zzkddxa9.js → formatter-8m98rn39.js} +22 -22
- package/dist/chunks/{kv-kbyhapax.js → formatter-8vsvfqbf.js} +18 -18
- package/dist/chunks/{kv-1jxxd7zj.js → formatter-928yj5t7.js} +4 -4
- package/dist/chunks/{kv-ksbzcvfq.js → formatter-92qtda8h.js} +17 -17
- package/dist/chunks/{kv-br4s61vx.js → formatter-931f43hd.js} +17 -17
- package/dist/chunks/{kv-gfvb90ym.js → formatter-94ek1h2f.js} +2 -2
- package/dist/chunks/{kv-d1vj0asq.js → formatter-9csj8dz4.js} +10 -10
- package/dist/chunks/{kv-st3ef2tx.js → formatter-9eww13ym.js} +13 -13
- package/dist/chunks/{kv-2gt6ag0v.js → formatter-9fz1q3tm.js} +12 -12
- package/dist/chunks/{kv-f63mczk8.js → formatter-9nsvfy1y.js} +3 -3
- package/dist/chunks/{kv-akzgx552.js → formatter-9r4gdqmt.js} +11 -11
- package/dist/chunks/{kv-7yxa3nsp.js → formatter-9sjhkssp.js} +17 -17
- package/dist/chunks/{kv-xtkxvazr.js → formatter-9thbxafe.js} +36 -36
- package/dist/chunks/{kv-0x6jpydm.js → formatter-9w14rhya.js} +4 -4
- package/dist/chunks/formatter-9zdhvgqs.js +18 -0
- package/dist/chunks/{kv-nq7strse.js → formatter-a4fy1m9y.js} +60 -60
- package/dist/chunks/{kv-dxqpzvvj.js → formatter-a8eqz3x1.js} +44 -44
- package/dist/chunks/{kv-aaet6srn.js → formatter-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-yvdqgwj0.js → formatter-acej97kd.js} +21 -21
- package/dist/chunks/{kv-wmpza86g.js → formatter-ae1cz8vk.js} +11 -11
- package/dist/chunks/{kv-kx3xh5q2.js → formatter-aew6e1r0.js} +33 -33
- package/dist/chunks/{kv-0mm9aq32.js → formatter-akqk8sab.js} +17 -17
- package/dist/chunks/{kv-bra465g3.js → formatter-aq6m5w8t.js} +22 -22
- package/dist/chunks/{kv-xwgfrhxd.js → formatter-axz2hwv9.js} +34 -34
- package/dist/chunks/{kv-b6gygkdw.js → formatter-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-tp1gp6c2.js → formatter-c6d91fap.js} +5 -5
- package/dist/chunks/{kv-r2m716tb.js → formatter-c765mh8b.js} +5 -5
- package/dist/chunks/{kv-69jdjb90.js → formatter-c8ft1bdk.js} +32 -32
- package/dist/chunks/{kv-fee0bcte.js → formatter-cfb9s96d.js} +25 -25
- package/dist/chunks/{kv-54tcyq79.js → formatter-ckecvw8r.js} +2 -2
- package/dist/chunks/{kv-e90a3qe2.js → formatter-cmfqg0mx.js} +316 -316
- package/dist/chunks/{kv-hqjh5bwg.js → formatter-cmtkhjf7.js} +25 -25
- package/dist/chunks/{kv-5yzzbxa7.js → formatter-cmwkp3r5.js} +8 -8
- package/dist/chunks/{kv-a4e2f35m.js → formatter-ct1vechy.js} +8 -8
- package/dist/chunks/{kv-ycaz76dz.js → formatter-cv5z6vfr.js} +11 -11
- package/dist/chunks/{kv-kkd8fck1.js → formatter-cwtz3r9h.js} +31 -31
- package/dist/chunks/{kv-cxn490c7.js → formatter-cx34d9wd.js} +11 -11
- package/dist/chunks/{kv-qzyph8ek.js → formatter-cy3xvb8m.js} +11 -11
- package/dist/chunks/{kv-vchs86sn.js → formatter-cz5kh9x9.js} +91 -91
- package/dist/chunks/{kv-nng2ktcm.js → formatter-d2anxpr8.js} +2 -2
- package/dist/chunks/{kv-5epaarjt.js → formatter-d3vcvacx.js} +10 -10
- package/dist/chunks/{kv-smm23mye.js → formatter-d5fhp67k.js} +27 -27
- package/dist/chunks/{kv-z1h9w40p.js → formatter-d7zs612j.js} +35 -35
- package/dist/chunks/{kv-1ypg9fph.js → formatter-d8e4wj50.js} +23 -23
- package/dist/chunks/{kv-jq9p4h1b.js → formatter-d9axs6w3.js} +11 -11
- package/dist/chunks/{kv-ph842b28.js → formatter-dbmc5gjs.js} +4 -4
- package/dist/chunks/{kv-hykkawe6.js → formatter-deh802mt.js} +10 -10
- package/dist/chunks/{kv-00z3vp5f.js → formatter-dfe8djrf.js} +4 -4
- package/dist/chunks/{kv-qqeeq2t9.js → formatter-drwq78ky.js} +7 -7
- package/dist/chunks/{kv-tmkptqtt.js → formatter-e6qka3d3.js} +51 -51
- package/dist/chunks/{kv-rhjbct0v.js → formatter-eaj1djv9.js} +8 -8
- package/dist/chunks/{kv-ecfe7b91.js → formatter-ecfe7b91.js} +2 -2
- package/dist/chunks/{kv-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
- package/dist/chunks/{kv-d569heh4.js → formatter-ehm6q3mk.js} +13 -13
- package/dist/chunks/{kv-etq0c3wd.js → formatter-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-50mzsvk4.js → formatter-f3ngv102.js} +4 -4
- package/dist/chunks/{kv-zbejwb54.js → formatter-fdvpjyek.js} +4 -4
- package/dist/chunks/{kv-j98bxvq8.js → formatter-ffkgrkm6.js} +31 -31
- package/dist/chunks/{kv-dw9h4d1s.js → formatter-fhb1f05r.js} +18 -18
- package/dist/chunks/{kv-s3e1hqdt.js → formatter-fkgw8j18.js} +24 -24
- package/dist/chunks/{kv-3xaf2hpn.js → formatter-fkkzdrjv.js} +1 -1
- package/dist/chunks/{kv-1tah3m9p.js → formatter-fs6pqh0k.js} +22 -22
- package/dist/chunks/{kv-10pg2g46.js → formatter-fsnf83td.js} +3 -3
- package/dist/chunks/{kv-s2c14x69.js → formatter-fsr35fn4.js} +17 -17
- package/dist/chunks/{kv-7w99qc9d.js → formatter-fvxg17y2.js} +3 -3
- package/dist/chunks/{kv-qrzvehp7.js → formatter-fym05vea.js} +22 -22
- package/dist/chunks/{kv-zercbd28.js → formatter-g07qwdrd.js} +15 -15
- package/dist/chunks/{kv-7jddr6gf.js → formatter-g5zgqdyh.js} +178 -178
- package/dist/chunks/{kv-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-x3461c9x.js → formatter-gfsc44x2.js} +3 -3
- package/dist/chunks/{kv-gv6a8nnw.js → formatter-gv6a8nnw.js} +2 -2
- package/dist/chunks/{kv-xzfsztn4.js → formatter-gxfd8hef.js} +7 -7
- package/dist/chunks/{kv-e4bz7cx2.js → formatter-h69103sp.js} +13 -13
- package/dist/chunks/{kv-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-nbzsj80d.js → formatter-hdthj1pw.js} +8 -8
- package/dist/chunks/{kv-n4r3xatb.js → formatter-hn57h045.js} +4 -4
- package/dist/chunks/{kv-9gavmhjr.js → formatter-hna2c7ca.js} +23 -23
- package/dist/chunks/{kv-2567g30s.js → formatter-j3a689hg.js} +76 -76
- package/dist/chunks/{kv-4cadcykb.js → formatter-j3m92qrb.js} +22 -22
- package/dist/chunks/{kv-n5jgxgrs.js → formatter-j517qxmb.js} +9 -9
- package/dist/chunks/{kv-j56e64zr.js → formatter-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-c1twzmh3.js → formatter-j8a6srd3.js} +24 -24
- package/dist/chunks/{kv-qdc1vz6s.js → formatter-j8rcbgwk.js} +17 -17
- package/dist/chunks/{kv-p5j3t9y2.js → formatter-jhq43s5h.js} +11 -11
- package/dist/chunks/{kv-f6xb9bw7.js → formatter-jqtwzasb.js} +23 -23
- package/dist/chunks/{kv-akes9ecd.js → formatter-jy0qaq37.js} +32 -32
- package/dist/chunks/{kv-nzks3jc8.js → formatter-k3c624dm.js} +3 -3
- package/dist/chunks/{kv-jf8mckk9.js → formatter-k4q8v3a9.js} +8 -8
- package/dist/chunks/{kv-q9ejhwtc.js → formatter-k562kksb.js} +13 -13
- package/dist/chunks/{kv-ssdqnhy0.js → formatter-k9d40v1y.js} +4 -4
- package/dist/chunks/{kv-spqcpneg.js → formatter-kb3wdknj.js} +6 -6
- package/dist/chunks/{kv-6ekhnjfk.js → formatter-khshe69x.js} +9 -9
- package/dist/chunks/{kv-m8f4r6n9.js → formatter-kjqk90ac.js} +43 -43
- package/dist/chunks/{kv-3td06z3c.js → formatter-kmb8tf68.js} +20 -20
- package/dist/chunks/{kv-3w0ncrsd.js → formatter-kr0xcp8s.js} +14 -14
- package/dist/chunks/{kv-dda0p7y7.js → formatter-kvjzkr2v.js} +9 -9
- package/dist/chunks/{kv-fng9e0je.js → formatter-kxpygcw9.js} +4 -4
- package/dist/chunks/{kv-m3fdjcah.js → formatter-m3fdjcah.js} +1 -1
- package/dist/chunks/{kv-v9mws2y8.js → formatter-m3v5f3y9.js} +11 -11
- package/dist/chunks/{kv-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-ptk7yd9k.js → formatter-mfaaf469.js} +5 -5
- package/dist/chunks/{kv-1bbkgx8g.js → formatter-mhkvc446.js} +3 -3
- package/dist/chunks/{kv-kbj1xfy6.js → formatter-mwvjswkd.js} +11 -11
- package/dist/chunks/{kv-8f4w13p0.js → formatter-ne59kr8e.js} +10 -10
- package/dist/chunks/{kv-k9v0rycf.js → formatter-nfgj4eq6.js} +5 -5
- package/dist/chunks/{kv-826khv63.js → formatter-nrryk3yj.js} +6 -6
- package/dist/chunks/{kv-h6r3nrb9.js → formatter-nzyhnfxz.js} +4 -4
- package/dist/chunks/{kv-55gmjfj6.js → formatter-p11x5atc.js} +8 -8
- package/dist/chunks/{kv-62wqep1k.js → formatter-p1a9ajhc.js} +33 -33
- package/dist/chunks/{kv-ts6j1d2x.js → formatter-p5bpgybb.js} +32 -32
- package/dist/chunks/{kv-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{kv-xwwy1hth.js → formatter-pnc9qwkd.js} +58 -58
- package/dist/chunks/{kv-xk747vep.js → formatter-pnv527nz.js} +5 -5
- package/dist/chunks/{kv-8mfdap3f.js → formatter-pw9v3g6d.js} +6 -6
- package/dist/chunks/{kv-ys7r2z0j.js → formatter-q07xjvq6.js} +11 -11
- package/dist/chunks/{kv-mt3kkmj0.js → formatter-q8rsswcz.js} +8 -8
- package/dist/chunks/{kv-tkmwgdpd.js → formatter-qa3qhgw8.js} +7 -7
- package/dist/chunks/{kv-6w2h0fz9.js → formatter-qcnsepw6.js} +9 -9
- package/dist/chunks/{kv-zzrdptt8.js → formatter-qgcrhj3x.js} +8 -8
- package/dist/chunks/{kv-k9avtbwf.js → formatter-qrc64xzg.js} +6 -6
- package/dist/chunks/{kv-qsdy395h.js → formatter-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-67qa6aef.js → formatter-qvfxvj2b.js} +5 -5
- package/dist/chunks/{kv-6ymymyv8.js → formatter-r04gnbv5.js} +8 -8
- package/dist/chunks/{kv-kvpggjmb.js → formatter-r0w37vnc.js} +44 -44
- package/dist/chunks/{kv-8qq09bkg.js → formatter-r7jcr2kw.js} +5 -5
- package/dist/chunks/{kv-v1qy4m3p.js → formatter-r9wn2x15.js} +15 -15
- package/dist/chunks/{kv-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
- package/dist/chunks/{kv-dxfvb7hs.js → formatter-rdwveckh.js} +4 -4
- package/dist/chunks/{kv-61a47mvy.js → formatter-rg6pqn6b.js} +17 -17
- package/dist/chunks/{kv-7fkffz83.js → formatter-rkprpv83.js} +4 -4
- package/dist/chunks/{kv-kbe0ygze.js → formatter-rpdcp9d6.js} +34 -34
- package/dist/chunks/{kv-rnf8vhs0.js → formatter-rrfze9aq.js} +24 -24
- package/dist/chunks/{kv-zedk1dgy.js → formatter-s0fdkca3.js} +36 -36
- package/dist/chunks/{kv-amrmn45z.js → formatter-s20e8eba.js} +43 -43
- package/dist/chunks/{kv-ps782kke.js → formatter-s2pdfmmv.js} +22 -22
- package/dist/chunks/{kv-4yqnp489.js → formatter-sgsfh0h8.js} +12 -12
- package/dist/chunks/{kv-v3sgzvyr.js → formatter-sqy4ahhk.js} +1 -1
- package/dist/chunks/{kv-kxgz3y9a.js → formatter-t3tkefaq.js} +5 -5
- package/dist/chunks/{kv-3x1dzzzh.js → formatter-t43ffz5t.js} +20 -20
- package/dist/chunks/{kv-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
- package/dist/chunks/{kv-tdstcens.js → formatter-tdstcens.js} +1 -1
- package/dist/chunks/{kv-myesr8mc.js → formatter-tfj9sgam.js} +12 -12
- package/dist/chunks/{kv-tvtrv512.js → formatter-tvtrv512.js} +1 -1
- package/dist/chunks/{kv-smswgpd0.js → formatter-v0xfw1m3.js} +8 -8
- package/dist/chunks/{kv-wtqdd1td.js → formatter-v1ceefev.js} +13 -13
- package/dist/chunks/{kv-xbhcscsb.js → formatter-v45qnrg9.js} +25 -25
- package/dist/chunks/{kv-0h7tmae7.js → formatter-v4zfgca1.js} +25 -25
- package/dist/chunks/{kv-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-jwm5syjz.js → formatter-vhpkrxj6.js} +11 -11
- package/dist/chunks/{kv-y1zjbrv5.js → formatter-vme3s0y6.js} +15 -15
- package/dist/chunks/{kv-vzcthcp8.js → formatter-vzcthcp8.js} +1 -1
- package/dist/chunks/{kv-vzs5sf6e.js → formatter-vzs5sf6e.js} +1 -1
- package/dist/chunks/{kv-3t7xaxq6.js → formatter-w29yw4p7.js} +32 -32
- package/dist/chunks/{kv-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-0511jhxe.js → formatter-w6hxg8ga.js} +18 -18
- package/dist/chunks/{kv-ms46b7as.js → formatter-wbe2v8yt.js} +29 -29
- package/dist/chunks/{kv-psazpmmj.js → formatter-wd3x2cqz.js} +2 -2
- package/dist/chunks/{kv-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{kv-d8cw0a7r.js → formatter-wq4mmp7m.js} +4 -4
- package/dist/chunks/{kv-j3edxzqq.js → formatter-wyzbecmn.js} +19 -19
- package/dist/chunks/{kv-x1ezjp6w.js → formatter-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-qdbakdjh.js → formatter-x2rw7g36.js} +5 -5
- package/dist/chunks/{kv-btyqbk06.js → formatter-x6qvwyqy.js} +4 -4
- package/dist/chunks/{kv-4e3xp5h4.js → formatter-x6wkahxa.js} +20 -20
- package/dist/chunks/{kv-kptebxnn.js → formatter-xe7vm6z4.js} +11 -11
- package/dist/chunks/{kv-gpk5d2zr.js → formatter-xep4qe5p.js} +25 -25
- package/dist/chunks/{kv-y1k6q191.js → formatter-xj3z6972.js} +6 -6
- package/dist/chunks/{kv-xkntkrq7.js → formatter-xkntkrq7.js} +2 -2
- package/dist/chunks/{kv-3geyhfdf.js → formatter-xspb0jaw.js} +1 -1
- package/dist/chunks/{kv-7abdfd9g.js → formatter-xx72zbe5.js} +22 -22
- package/dist/chunks/{kv-gc4fb455.js → formatter-xxndcd6m.js} +4 -4
- package/dist/chunks/{kv-rqbbsdjw.js → formatter-xzb3sydb.js} +6 -6
- package/dist/chunks/{kv-p9vmbpee.js → formatter-xzhq159g.js} +19 -19
- package/dist/chunks/{kv-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-52w8pz0g.js → formatter-y3kwjdg3.js} +15 -15
- package/dist/chunks/{kv-9393pfnj.js → formatter-y4a0ndt6.js} +30 -30
- package/dist/chunks/{kv-y71avatq.js → formatter-y71avatq.js} +1 -1
- package/dist/chunks/{kv-mqbtwxg0.js → formatter-y7pvd72b.js} +3 -3
- package/dist/chunks/{kv-0d5t8cba.js → formatter-ydbbb7n3.js} +11 -11
- package/dist/chunks/{kv-hfa2dsm1.js → formatter-yjcmw3qg.js} +28 -28
- package/dist/chunks/{kv-bgxcxs0p.js → formatter-yjptyezs.js} +5 -5
- package/dist/chunks/{kv-r8xr0va3.js → formatter-yp2x3t23.js} +4 -4
- package/dist/chunks/{kv-yrhqyw5v.js → formatter-yrhqyw5v.js} +1 -1
- package/dist/chunks/{kv-yrznvahk.js → formatter-yrznvahk.js} +2 -2
- package/dist/chunks/{kv-pyk6nw3v.js → formatter-yz5r218v.js} +27 -27
- package/dist/chunks/{kv-bjtzbw4r.js → formatter-z07pqspn.js} +3 -3
- package/dist/chunks/{kv-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-5xk3y1mg.js → formatter-z0zbz97e.js} +7 -7
- package/dist/chunks/{kv-z63w68vq.js → formatter-z63w68vq.js} +2 -2
- package/dist/chunks/{kv-kj11q6np.js → formatter-z6f8ymea.js} +19 -19
- package/dist/chunks/{kv-bdhvfwg8.js → formatter-za3g8gy4.js} +37 -37
- package/dist/chunks/{kv-zeh9ct20.js → formatter-zeh9ct20.js} +2 -2
- package/dist/chunks/{kv-9rbjm57m.js → formatter-znf1d9xg.js} +32 -32
- package/dist/chunks/{kv-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-zxq2ej10.js → formatter-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 +83 -83
- 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 +160 -160
- 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 +125 -125
- 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 +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- 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 +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +1 -1
- package/dist/environment/index.js +93 -93
- 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 +74 -74
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +363 -363
- package/dist/instruction-discovery.js +79 -79
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- 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 +360 -360
- 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 +104 -104
- package/dist/mcp/instructions.js +128 -128
- 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 +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- 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 +97 -97
- 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 +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +100 -100
- 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 +93 -93
- 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 +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +353 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +84 -84
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- 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 +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +93 -93
- package/dist/session/message-updater.js +2 -2
- 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 +3 -3
- 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 +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- 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 +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +1 -1
- 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 +87 -87
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/kv-58bm0art.js +0 -252
- package/dist/chunks/kv-dxj72tfx.js +0 -18
- package/dist/chunks/kv-hxa7m5za.js +0 -4
- /package/dist/chunks/{kv-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-34c7v6d4.js → formatter-34c7v6d4.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → formatter-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-5qd3pb7m.js → formatter-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{kv-922hggd3.js → formatter-922hggd3.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → formatter-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hjbc5kem.js → formatter-hjbc5kem.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → formatter-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → formatter-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service80,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node84
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service80 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service80.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node84 = makeGlobalNode({ service: Service80, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service80, node84, exports_git3 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-nzyhnfxz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./formatter-4v6j91f0.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event15
|
|
10
|
+
} from "./formatter-0fvxp85d.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-c8ft1bdk.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID7,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service68
|
|
20
|
+
} from "./formatter-7yb49614.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID6
|
|
23
|
+
} from "./formatter-p1a9ajhc.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./formatter-8m98rn39.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-cy3xvb8m.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID8.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,8 +157,8 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
161
|
-
const bus = yield*
|
|
160
|
+
const providers = yield* Service68;
|
|
161
|
+
const bus = yield* Service83;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
164
164
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -173,9 +173,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID7.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -194,13 +194,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID7.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID7.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID7.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID7.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./formatter-kvjzkr2v.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./formatter-3ppptnan.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-9zdhvgqs.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service77
|
|
15
|
+
} from "./formatter-2eegacq4.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-qrc64xzg.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service72
|
|
23
|
+
} from "./formatter-1szmg2fp.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-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* Service40;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service77;
|
|
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* Service72;
|
|
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* Service63;
|
|
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 })));
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-qrc64xzg.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-pnc9qwkd.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-c8ft1bdk.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./formatter-65tn6s1e.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-526x9cfz.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make8,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -100,7 +100,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
100
100
|
return true;
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var make8 = (bus, sessionID) => Effect.gen(function* () {
|
|
104
104
|
const decide = yield* policy2(sessionID);
|
|
105
105
|
const wait = (input) => Effect.gen(function* () {
|
|
106
106
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -117,4 +117,4 @@ var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
117
117
|
return { decide, wait };
|
|
118
118
|
});
|
|
119
119
|
|
|
120
|
-
export { isRetryable2, policy2, transient2,
|
|
120
|
+
export { isRetryable2, policy2, transient2, make8, exports_retry };
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./formatter-4v6j91f0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node58
|
|
7
|
+
} from "./formatter-0f9zpd1z.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service8,
|
|
10
|
+
node10
|
|
11
|
+
} from "./formatter-d5fhp67k.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service30
|
|
14
|
+
} from "./formatter-9zdhvgqs.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
node24,
|
|
17
|
+
ID3
|
|
18
|
+
} from "./formatter-aq6m5w8t.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service5,
|
|
21
|
+
node7
|
|
22
|
+
} from "./formatter-cmwkp3r5.js";
|
|
23
23
|
import {
|
|
24
24
|
requirements2,
|
|
25
25
|
guarded2,
|
|
26
26
|
list2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./formatter-cmfqg0mx.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
make4,
|
|
30
30
|
LoadError2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./formatter-6zxhhdw2.js";
|
|
32
32
|
import {
|
|
33
33
|
Updated2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service6,
|
|
35
|
+
node8
|
|
36
|
+
} from "./formatter-ehm6q3mk.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
38
|
+
Service4,
|
|
39
|
+
node6
|
|
40
|
+
} from "./formatter-0996nyz8.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./formatter-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/supervisor.ts
|
|
46
46
|
var exports_supervisor = {};
|
|
47
47
|
__export(exports_supervisor, {
|
|
48
48
|
PluginSupervisor: () => exports_supervisor,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer4,
|
|
50
|
+
node: () => node5
|
|
51
51
|
});
|
|
52
52
|
import { Event } from "@opencode/schema/config";
|
|
53
53
|
import { Cause, Effect, Layer, Queue, Stream } from "effect";
|
|
@@ -116,7 +116,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
116
116
|
failures: [
|
|
117
117
|
...failures.values(),
|
|
118
118
|
...ordered.filter(duplicate).map((plugin) => ({
|
|
119
|
-
id:
|
|
119
|
+
id: ID3.make(plugin.id),
|
|
120
120
|
source: plugin.source ?? { type: "builtin" },
|
|
121
121
|
state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
|
|
122
122
|
features: { server: true, ...plugin.features }
|
|
@@ -125,14 +125,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
|
|
|
125
125
|
pending: [...pending]
|
|
126
126
|
};
|
|
127
127
|
});
|
|
128
|
-
var
|
|
129
|
-
const registry = yield*
|
|
130
|
-
const sdk = yield*
|
|
131
|
-
const instance = yield*
|
|
132
|
-
const sources = yield*
|
|
133
|
-
const modules = yield*
|
|
134
|
-
const bus = yield*
|
|
135
|
-
const updates = yield*
|
|
128
|
+
var layer4 = Layer.effectDiscard(Effect.gen(function* () {
|
|
129
|
+
const registry = yield* Service30;
|
|
130
|
+
const sdk = yield* Service6;
|
|
131
|
+
const instance = yield* Service5;
|
|
132
|
+
const sources = yield* Service8;
|
|
133
|
+
const modules = yield* make4();
|
|
134
|
+
const bus = yield* Service83;
|
|
135
|
+
const updates = yield* Service4;
|
|
136
136
|
const internal = yield* list2();
|
|
137
137
|
let release = yield* registry.hold();
|
|
138
138
|
yield* Effect.addFinalizer(() => release ?? Effect.void);
|
|
@@ -207,14 +207,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
207
207
|
})), Effect.forkScoped({ startImmediately: true }));
|
|
208
208
|
}));
|
|
209
209
|
var nodeDeps = [
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
210
|
+
node24,
|
|
211
|
+
node8,
|
|
212
|
+
node7,
|
|
213
|
+
node10,
|
|
213
214
|
node6,
|
|
214
|
-
|
|
215
|
-
node86,
|
|
215
|
+
node87,
|
|
216
216
|
Npm.node,
|
|
217
|
-
|
|
217
|
+
node58,
|
|
218
218
|
requirements2
|
|
219
219
|
];
|
|
220
220
|
function pluginSource(target) {
|
|
@@ -222,6 +222,6 @@ function pluginSource(target) {
|
|
|
222
222
|
return { type: "local", path: target };
|
|
223
223
|
return { type: "package", target };
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
|
|
226
226
|
|
|
227
|
-
export {
|
|
227
|
+
export { layer4, node5, exports_supervisor };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./formatter-pnc9qwkd.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input5,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin42,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description2,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name5 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description2 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input5 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input8 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input5.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin42 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service73;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name5,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description2,
|
|
104
|
+
input: Input5,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin45 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name5,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name5, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input5, Plugin42, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./formatter-4v6j91f0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./formatter-kr0xcp8s.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service36
|
|
10
|
+
} from "./formatter-7sq8yzkh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
16
|
var exports_command = {};
|
|
@@ -196,9 +196,9 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
196
196
|
var Plugin13 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service78;
|
|
200
|
+
const mcp = yield* Service36;
|
|
201
|
+
const bus = yield* Service83;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|