@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./formatter-4v6j91f0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event15,
|
|
7
|
+
Service70,
|
|
8
|
+
node74
|
|
9
|
+
} from "./formatter-0fvxp85d.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service54,
|
|
12
|
+
node58
|
|
13
|
+
} from "./formatter-0f9zpd1z.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node82
|
|
20
|
+
} from "./formatter-kr0xcp8s.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-25b126yv.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-32hkxnxv.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./formatter-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service55,
|
|
36
|
+
Event11,
|
|
37
|
+
node59
|
|
38
|
+
} from "./formatter-3051r0mf.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./formatter-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
47
|
Options: () => Options6,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service53,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured8,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer20,
|
|
53
|
+
node: () => node57,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,7 +71,7 @@ var Options6 = Schema.Struct({
|
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service53 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(Service53, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer20 = (options) => Layer.effect(Service53, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
98
|
-
const bus = yield*
|
|
99
|
-
const credentials = yield*
|
|
96
|
+
const location = yield* Service78;
|
|
97
|
+
const watcher = yield* Service54;
|
|
98
|
+
const bus = yield* Service83;
|
|
99
|
+
const credentials = yield* Service70;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service55;
|
|
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(Service40, 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(Event15.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(Event11.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(Service40, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service53.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer17 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured8(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service53,
|
|
268
|
+
layer: layer20(options),
|
|
269
|
+
deps: [node58, node87, FSUtil.node, Global.node, node82, node74, node59]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node57 = configured8();
|
|
273
273
|
|
|
274
|
-
export { latest2, Options6,
|
|
274
|
+
export { latest2, Options6, Service53, Test2, testLayer2, layer20, configured8, node57, exports_config };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node84
|
|
6
|
+
} from "./formatter-4y72ap3v.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node82
|
|
10
|
+
} from "./formatter-kr0xcp8s.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make19
|
|
16
|
+
} from "./formatter-qgcrhj3x.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service47,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node50
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service47 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service78;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make19;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service47.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node50 = makeLocationNode({
|
|
61
|
+
service: Service47,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node82, Global.node, node84, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service47, node50, exports_strategies };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./formatter-0f9zpd1z.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./formatter-a8eqz3x1.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-xzb3sydb.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin32
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin32 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service53;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service54;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin26 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin32, exports_compatibility };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./formatter-4y72ap3v.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service78,
|
|
13
|
+
node82
|
|
14
|
+
} from "./formatter-kr0xcp8s.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error4,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service59,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node63,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service59 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service80;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service78;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service59.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node63 = makeLocationNode({
|
|
144
|
+
service: Service59,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node84, Global.node, node82]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service59, Service59.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service38, Service38.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error4({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error4, Service59, node63, noopLayer3, exports_snapshot2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
17
|
+
var exports_instructions4 = {};
|
|
18
|
+
__export(exports_instructions4, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions4,
|
|
20
|
+
make: () => make13,
|
|
21
|
+
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render2(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -46,7 +46,7 @@ ${tools.join(`
|
|
|
46
46
|
function update3(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)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -109,20 +109,20 @@ ${render3(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 make13 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make21({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
121
|
+
initial: render2,
|
|
122
122
|
changed: update3,
|
|
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 {
|
|
128
|
+
export { render2, update3, make13, exports_instructions4 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./formatter-4v6j91f0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./formatter-v1ceefev.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service30,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-9zdhvgqs.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./formatter-g5zgqdyh.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./formatter-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event5,
|
|
30
|
+
ID: () => ID3,
|
|
31
|
+
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service30,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node24
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service83;
|
|
45
|
+
const kv = yield* Service82;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service30.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node24 = Node.makeLocationNode({
|
|
226
|
+
service: Service30,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node24, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
|