@opencode/core 0.0.0-dev-20291 → 0.0.0-dev-20294
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{kv-tq46j658.js → repository-0hpqhmg5.js} +16 -16
- package/dist/chunks/{kv-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-s0mc9769.js → repository-0vkpmgbt.js} +22 -22
- package/dist/chunks/{kv-1rhc35p6.js → repository-14jy69rb.js} +14 -6
- package/dist/chunks/{kv-819acz3y.js → repository-18vsvbhm.js} +25 -25
- package/dist/chunks/{kv-v76ha64y.js → repository-19b6gxjs.js} +22 -22
- package/dist/chunks/{kv-ggsnnm16.js → repository-19zwwnfa.js} +11 -11
- package/dist/chunks/{kv-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-hrscc878.js → repository-1mtt7xvh.js} +6 -6
- package/dist/chunks/{kv-667b8y1w.js → repository-1n707za3.js} +29 -29
- package/dist/chunks/{kv-nrqx4r7t.js → repository-1qkgxr4g.js} +13 -13
- package/dist/chunks/{kv-vcqkga2e.js → repository-1vcb7p82.js} +11 -11
- package/dist/chunks/{kv-8fwpt1dn.js → repository-1w1f4pd6.js} +7 -7
- package/dist/chunks/{kv-56gdpj1q.js → repository-1ygqh575.js} +9 -9
- package/dist/chunks/{kv-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{kv-tbmac1c7.js → repository-277eer69.js} +4 -4
- package/dist/chunks/{kv-brgpgtrm.js → repository-28jks9yb.js} +15 -15
- package/dist/chunks/{kv-7bp89t8t.js → repository-28w42cxn.js} +12 -12
- package/dist/chunks/{kv-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-ykczf8eq.js → repository-2cmv458r.js} +5 -5
- package/dist/chunks/{kv-x5y6s6jw.js → repository-2w1sghnn.js} +6 -6
- package/dist/chunks/{kv-9q6r8qkc.js → repository-2wt8p97z.js} +15 -15
- package/dist/chunks/{kv-waa9wdep.js → repository-2y34zzjz.js} +6 -6
- package/dist/chunks/{kv-2gj8p1x9.js → repository-2ydsszd5.js} +4 -4
- package/dist/chunks/{kv-6qmr4en7.js → repository-33djd3yz.js} +13 -13
- package/dist/chunks/{kv-rcxra8rk.js → repository-3b9kky5h.js} +33 -33
- package/dist/chunks/{kv-kef0s52w.js → repository-3dktm290.js} +17 -17
- package/dist/chunks/{kv-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-z5p56kqb.js → repository-3jb78rkx.js} +35 -35
- package/dist/chunks/{kv-90p3m6n8.js → repository-3py87nww.js} +20 -20
- package/dist/chunks/{kv-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-yemge86g.js → repository-3xyp34gk.js} +10 -10
- package/dist/chunks/{kv-p22sctqx.js → repository-3z2k3hnx.js} +23 -23
- package/dist/chunks/{kv-2mqhy2bb.js → repository-3z9zcdgn.js} +25 -25
- package/dist/chunks/{kv-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
- package/dist/chunks/{kv-w7fkdfn4.js → repository-4d9efcsa.js} +1 -1
- package/dist/chunks/{kv-syf57q56.js → repository-4j4tgtq5.js} +4 -4
- package/dist/chunks/{kv-ezq5yqf8.js → repository-4m95e5xq.js} +15 -15
- package/dist/chunks/{kv-9g7kxhdk.js → repository-4n607a2z.js} +5 -5
- package/dist/chunks/{kv-vw4z4sc9.js → repository-4s80pf4a.js} +9 -9
- package/dist/chunks/{kv-8mbscqky.js → repository-4w5f3qm5.js} +8 -8
- package/dist/chunks/{kv-c651xxjb.js → repository-4wwqnvbr.js} +4 -4
- package/dist/chunks/{kv-aka7gdyy.js → repository-50jssn3y.js} +9 -9
- package/dist/chunks/{kv-ff0htmxq.js → repository-51f5btjf.js} +6 -6
- package/dist/chunks/{kv-t96tb74j.js → repository-52kykq2z.js} +8 -8
- package/dist/chunks/{kv-54ma36ye.js → repository-54ma36ye.js} +1 -1
- package/dist/chunks/{kv-ckecvw8r.js → repository-54tcyq79.js} +2 -2
- package/dist/chunks/{kv-66cb755k.js → repository-55b5dnwk.js} +10 -10
- package/dist/chunks/{kv-xfkkasph.js → repository-57b9ws8p.js} +7 -7
- package/dist/chunks/{kv-57ez7d0k.js → repository-57ez7d0k.js} +2 -2
- package/dist/chunks/{kv-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{kv-w137fpva.js → repository-5r2rf0nq.js} +8 -8
- package/dist/chunks/{kv-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-pa8pe2x7.js → repository-5xtgfte3.js} +8 -8
- package/dist/chunks/{kv-bezsd2p4.js → repository-63bdqmma.js} +2 -2
- package/dist/chunks/{kv-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/repository-678t04nd.js +252 -0
- package/dist/chunks/{kv-dp28bv0d.js → repository-67zyhdmh.js} +9 -9
- package/dist/chunks/{kv-84w5jdws.js → repository-6kzh7v0b.js} +21 -21
- package/dist/chunks/{kv-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{kv-nws5ej3a.js → repository-6pmv43wt.js} +13 -13
- package/dist/chunks/{kv-rtyt3vxy.js → repository-6pws2pt7.js} +3 -3
- package/dist/chunks/{kv-m4a35hkc.js → repository-6zmn3x4v.js} +10 -10
- package/dist/chunks/{kv-9keenhnr.js → repository-71xq2mh9.js} +23 -23
- package/dist/chunks/{kv-7yh4e7ss.js → repository-73tb2d7t.js} +3 -3
- package/dist/chunks/{kv-n0ezjpg5.js → repository-75s06ger.js} +82 -82
- package/dist/chunks/{kv-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-0jwsre1p.js → repository-7dqw4kz8.js} +5 -5
- package/dist/chunks/{kv-j3k3m7ve.js → repository-7j0c068z.js} +24 -24
- package/dist/chunks/{kv-yq5vd6y3.js → repository-7jdgcrb4.js} +16 -16
- package/dist/chunks/{kv-m7hjtbwd.js → repository-7y0vmfhg.js} +8 -8
- package/dist/chunks/{kv-c7mt6tt7.js → repository-805s2bhx.js} +17 -17
- package/dist/chunks/{kv-768gsh1v.js → repository-83rdsyqm.js} +3 -3
- package/dist/chunks/{kv-kan8w75z.js → repository-856ceffp.js} +44 -44
- package/dist/chunks/{kv-97t8ptmj.js → repository-86d5j3vh.js} +29 -29
- package/dist/chunks/{kv-gktk48s3.js → repository-86mrmjc9.js} +34 -34
- package/dist/chunks/{kv-t5x1svsd.js → repository-87ezq1ce.js} +23 -23
- package/dist/chunks/{kv-q2b1qbpc.js → repository-886z1dpc.js} +14 -14
- package/dist/chunks/{kv-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-mf9m2v67.js → repository-8jmaqybk.js} +3 -3
- package/dist/chunks/{kv-thhwr6t4.js → repository-8m7dbv6d.js} +3 -3
- package/dist/chunks/{kv-5s1wygw8.js → repository-8ta41r54.js} +21 -21
- package/dist/chunks/{kv-erb0t64m.js → repository-8w5neka9.js} +40 -40
- package/dist/chunks/{kv-fddwrfxn.js → repository-95crna3w.js} +11 -11
- package/dist/chunks/{kv-paj8w7mt.js → repository-9aj1bw61.js} +27 -27
- package/dist/chunks/{kv-9jzqgwmn.js → repository-9bkvwbce.js} +24 -24
- package/dist/chunks/{kv-3e0ngjm8.js → repository-9fnp4mg3.js} +26 -26
- package/dist/chunks/{kv-cwrzxbzk.js → repository-a9k4z3j9.js} +17 -17
- package/dist/chunks/{kv-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-27az1g0v.js → repository-aeb41jaw.js} +13 -13
- package/dist/chunks/{kv-mr6a1zft.js → repository-aezgccn6.js} +18 -18
- package/dist/chunks/{kv-yg0bv6zp.js → repository-akrnt5pz.js} +11 -11
- package/dist/chunks/{kv-rgxeprjc.js → repository-aw2a2x8a.js} +5 -5
- package/dist/chunks/{kv-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-k9htr8gw.js → repository-bdx7mas8.js} +23 -23
- package/dist/chunks/{kv-7znwpdrd.js → repository-bedctmvj.js} +35 -35
- package/dist/chunks/{kv-z07pqspn.js → repository-bjtzbw4r.js} +3 -3
- package/dist/chunks/{kv-9wac42x8.js → repository-brmf2hf9.js} +30 -30
- package/dist/chunks/{kv-20b2s3kw.js → repository-bs9hg8dp.js} +12 -12
- package/dist/chunks/{kv-j24nbwsh.js → repository-bw624gy4.js} +11 -11
- package/dist/chunks/{kv-hr01rhr5.js → repository-c474ncq9.js} +27 -27
- package/dist/chunks/{kv-5j3xer0m.js → repository-cmsgt7am.js} +4 -4
- package/dist/chunks/{kv-t4w84n8b.js → repository-cn62kwfv.js} +35 -35
- package/dist/chunks/{kv-n9svnw10.js → repository-cp0ek693.js} +11 -11
- package/dist/chunks/{kv-e6hd9jay.js → repository-cpy6gm2a.js} +6 -6
- package/dist/chunks/{kv-e1y3ehrf.js → repository-cq8d0ptr.js} +26 -26
- package/dist/chunks/{kv-6x6hhxb0.js → repository-cszxnbmn.js} +19 -19
- package/dist/chunks/{kv-2sejkfem.js → repository-cwa6csj7.js} +9 -9
- package/dist/chunks/{kv-d0ct7zk6.js → repository-d0kzhv0j.js} +26 -26
- package/dist/chunks/{kv-6h06mqyq.js → repository-dew5gbm6.js} +26 -26
- package/dist/chunks/{kv-y71avatq.js → repository-dpkg50ah.js} +4 -4
- package/dist/chunks/{kv-8fcqv9xp.js → repository-e3m0js48.js} +10 -10
- package/dist/chunks/{kv-exec2md4.js → repository-e85g35n7.js} +33 -33
- package/dist/chunks/{kv-k4cyhbf6.js → repository-ebmxv542.js} +5 -5
- package/dist/chunks/{kv-ecfe7b91.js → repository-ecfe7b91.js} +2 -2
- package/dist/chunks/{kv-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
- package/dist/chunks/{kv-pz1g91fe.js → repository-eg2xygd3.js} +6 -6
- package/dist/chunks/{kv-sw58q4t9.js → repository-ejeqwj0w.js} +11 -11
- package/dist/chunks/{kv-wxddrk0a.js → repository-eqzxj8fj.js} +14 -14
- package/dist/chunks/{kv-cm066f29.js → repository-es0x5b7y.js} +11 -11
- package/dist/chunks/{kv-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-wbx93pnf.js → repository-eypemsfj.js} +26 -26
- package/dist/chunks/{kv-ve7kbmta.js → repository-f6jjas3f.js} +26 -26
- package/dist/chunks/{kv-3jjgv10f.js → repository-fcdb6q1z.js} +10 -10
- package/dist/chunks/{kv-xa69991s.js → repository-fgkd623f.js} +12 -12
- package/dist/chunks/{kv-t9xcy66w.js → repository-fhb7j999.js} +20 -20
- package/dist/chunks/{kv-xqn789rv.js → repository-fjmsqycw.js} +6 -6
- package/dist/chunks/{kv-b95fw7pb.js → repository-fkx959jc.js} +20 -20
- package/dist/chunks/{kv-f7j5nqer.js → repository-fmnw2r23.js} +15 -15
- package/dist/chunks/{kv-7ewqxty1.js → repository-fnpsswcg.js} +6 -6
- package/dist/chunks/{kv-xbp71ze3.js → repository-g2042726.js} +11 -11
- package/dist/chunks/{kv-ha3v7j9n.js → repository-g2se78h0.js} +15 -15
- package/dist/chunks/{kv-awbtvej0.js → repository-g8atgw3j.js} +6 -6
- package/dist/chunks/{kv-m2s1daxd.js → repository-gbwn371a.js} +11 -11
- package/dist/chunks/{kv-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-94ek1h2f.js → repository-gfvb90ym.js} +2 -2
- package/dist/chunks/{kv-6hpfnskn.js → repository-ghv7h55a.js} +1 -1
- package/dist/chunks/{kv-74zey65s.js → repository-gmkr1ekh.js} +6 -6
- package/dist/chunks/{kv-wh1jk1cy.js → repository-gr7cmsbq.js} +23 -23
- package/dist/chunks/{kv-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{kv-yckxn69w.js → repository-gz56tzj2.js} +28 -28
- package/dist/chunks/{kv-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-s506am1b.js → repository-hc5t8axk.js} +25 -25
- package/dist/chunks/{kv-427t97hr.js → repository-hd8vw2pw.js} +1 -1
- package/dist/chunks/{kv-sm965ndy.js → repository-hpfvhvya.js} +8 -8
- package/dist/chunks/{kv-c4nf75an.js → repository-hpxs712n.js} +8 -8
- package/dist/chunks/{kv-32rynewz.js → repository-hrjt4dpr.js} +10 -10
- package/dist/chunks/{kv-bgc5ggmx.js → repository-j34bs4nz.js} +4 -4
- package/dist/chunks/{kv-v21f9waq.js → repository-j4tvhaks.js} +35 -35
- package/dist/chunks/{kv-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-hcw36pe0.js → repository-j93j9byk.js} +2 -2
- package/dist/chunks/{kv-7fn8xnah.js → repository-jcqt8fek.js} +13 -13
- package/dist/chunks/{kv-tra6tf1f.js → repository-jjvmyn1y.js} +57 -57
- package/dist/chunks/{kv-0r7yqxbf.js → repository-jv01nqvq.js} +5 -5
- package/dist/chunks/{kv-jvf3yq6v.js → repository-jvf3yq6v.js} +1 -1
- package/dist/chunks/{kv-k8z1j8bc.js → repository-k73wm98n.js} +35 -35
- package/dist/chunks/{kv-s1kvmffy.js → repository-k79tzb9n.js} +9 -9
- package/dist/chunks/{kv-j72w05ga.js → repository-kcfw5k6d.js} +7 -7
- package/dist/chunks/{kv-atg5myyh.js → repository-knh73zev.js} +28 -28
- package/dist/chunks/{kv-my01dwmv.js → repository-m1m46bga.js} +43 -43
- package/dist/chunks/{kv-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
- package/dist/chunks/{kv-gmjq4p6e.js → repository-m88agcr3.js} +5 -5
- package/dist/chunks/{kv-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-xqmw2bb2.js → repository-mdqw8d12.js} +7 -7
- package/dist/chunks/{kv-qjzz4gcc.js → repository-mgp6rfqa.js} +1 -1
- package/dist/chunks/{kv-jw80jp6b.js → repository-mjymc32g.js} +4 -4
- package/dist/chunks/{kv-v9gmpqr7.js → repository-mkmyr10v.js} +18 -18
- package/dist/chunks/{kv-f3v3kjt8.js → repository-mmcph4q4.js} +43 -43
- package/dist/chunks/{kv-6yh65qsf.js → repository-mpcnc0n1.js} +2 -2
- package/dist/chunks/{kv-dnxkq42g.js → repository-mpk0rfs5.js} +4 -4
- package/dist/chunks/{kv-yyg0qxr9.js → repository-mvj8ndq3.js} +3 -3
- package/dist/chunks/{kv-mvksx64m.js → repository-mzywpf3p.js} +4 -4
- package/dist/chunks/{kv-f5gy8qwh.js → repository-n9k80d2m.js} +8 -8
- package/dist/chunks/{kv-7ch7q35z.js → repository-nqdgrntv.js} +13 -13
- package/dist/chunks/{kv-z8vras6m.js → repository-ntzq23qa.js} +9 -9
- package/dist/chunks/{kv-vhvgsany.js → repository-nwa29mh0.js} +139 -139
- package/dist/chunks/{kv-yb8n5v0q.js → repository-ny1k4mkg.js} +4 -4
- package/dist/chunks/{kv-k3c624dm.js → repository-nzks3jc8.js} +3 -3
- package/dist/chunks/{kv-yrkyn6fx.js → repository-p53a8atn.js} +1 -1
- package/dist/chunks/{kv-qwzpj14n.js → repository-p8hnm1nw.js} +31 -31
- package/dist/chunks/{kv-w4z26r1d.js → repository-pd23kvzh.js} +15 -15
- package/dist/chunks/{kv-5m6r4682.js → repository-pjt329ss.js} +3 -3
- package/dist/chunks/{kv-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{kv-t174n7tr.js → repository-pqkd14gs.js} +8 -8
- package/dist/chunks/{kv-wd3x2cqz.js → repository-psazpmmj.js} +2 -2
- package/dist/chunks/{kv-hp4n7r8y.js → repository-pv4awm7k.js} +11 -11
- package/dist/chunks/{kv-47s7f0s9.js → repository-pykzy8ep.js} +18 -18
- package/dist/chunks/{kv-ejwk4ccc.js → repository-pztqrn0p.js} +11 -11
- package/dist/chunks/{kv-cpc3xkm6.js → repository-q9s2wchy.js} +3 -3
- package/dist/chunks/{kv-ck1y1mrw.js → repository-qab3c6m1.js} +14 -14
- package/dist/chunks/{kv-vmfpnctd.js → repository-qbwywm89.js} +2 -2
- package/dist/chunks/{kv-qg0jgkcp.js → repository-qg0jgkcp.js} +2 -2
- package/dist/chunks/{kv-rtathh62.js → repository-qp3v07n2.js} +8 -8
- package/dist/chunks/{kv-wqdtphwj.js → repository-qscpncy3.js} +3 -3
- package/dist/chunks/{kv-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-kv59heee.js → repository-qzy69xxq.js} +7 -7
- package/dist/chunks/{kv-8525wnq7.js → repository-r3pe7rtq.js} +20 -20
- package/dist/chunks/{kv-7tcqdmgr.js → repository-r5vjqpht.js} +10 -10
- package/dist/chunks/{kv-ddrj7ffv.js → repository-r8mtfjmr.js} +12 -12
- package/dist/chunks/repository-rap9a73h.js +18 -0
- package/dist/chunks/{kv-v5dkyp31.js → repository-ratrq7cm.js} +4 -4
- package/dist/chunks/{kv-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
- package/dist/chunks/{kv-eapdm18n.js → repository-rn3nfvms.js} +9 -9
- package/dist/chunks/{kv-y1pttp5r.js → repository-rswr9y71.js} +20 -20
- package/dist/chunks/{kv-b8ax9c4x.js → repository-rvfwzs2a.js} +21 -21
- package/dist/chunks/{kv-an2nx9pr.js → repository-rvs18j5z.js} +323 -323
- package/dist/chunks/{kv-44zqv7fv.js → repository-s182s2zc.js} +49 -49
- package/dist/chunks/{kv-qp96avfw.js → repository-s1bapamg.js} +4 -4
- package/dist/chunks/{kv-rhjbct0v.js → repository-s8d7rejh.js} +4 -4
- package/dist/chunks/{kv-3h5mpbf9.js → repository-scyxybgw.js} +8 -8
- package/dist/chunks/{kv-xr0mnman.js → repository-sf5yjpcs.js} +6 -6
- package/dist/chunks/{kv-jtgs360h.js → repository-src5ze84.js} +4 -4
- package/dist/chunks/{kv-zehz82ct.js → repository-sv5c2zxk.js} +27 -27
- package/dist/chunks/{kv-2f0bjgcj.js → repository-t0fxg8b9.js} +5 -5
- package/dist/chunks/{kv-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/repository-tbqg5x42.js +26 -0
- package/dist/chunks/{kv-89znhe33.js → repository-tcezcvh9.js} +4 -4
- package/dist/chunks/{kv-m9d03vsf.js → repository-tdhe5xga.js} +8 -8
- package/dist/chunks/{kv-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{kv-g7swxvb3.js → repository-thtzhryg.js} +15 -15
- package/dist/chunks/{kv-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{kv-cx1q331g.js → repository-v5p1ehqe.js} +7 -7
- package/dist/chunks/{kv-bas5f7ct.js → repository-v84na98c.js} +12 -12
- package/dist/chunks/{kv-mycyv5bt.js → repository-v9atbmms.js} +11 -11
- package/dist/chunks/{kv-9c9wet3j.js → repository-vac7npjk.js} +8 -8
- package/dist/chunks/{kv-pv2mm3wb.js → repository-vc31r3zd.js} +9 -9
- package/dist/chunks/{kv-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-xn3zr9d1.js → repository-vgb6a2zp.js} +10 -10
- package/dist/chunks/{kv-c1kgd9ht.js → repository-vh8736dd.js} +9 -9
- package/dist/chunks/{kv-bct739vz.js → repository-vncycja5.js} +4 -4
- package/dist/chunks/{kv-whs00jjs.js → repository-vndcnmc3.js} +25 -25
- package/dist/chunks/{kv-adxd5rm3.js → repository-vpy2jm9e.js} +5 -5
- package/dist/chunks/{kv-n3efnppn.js → repository-vxssw4qv.js} +43 -43
- package/dist/chunks/{kv-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{kv-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
- package/dist/chunks/{kv-84txncab.js → repository-w1eejvng.js} +5 -5
- package/dist/chunks/{kv-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-py3kkmfq.js → repository-w92k2e0p.js} +8 -8
- package/dist/chunks/{kv-nr2895gc.js → repository-w9bdab02.js} +29 -29
- package/dist/chunks/{kv-rvfpvrjw.js → repository-w9e6cfzq.js} +18 -18
- package/dist/chunks/{kv-1se20z1h.js → repository-wa5jcfmw.js} +16 -16
- package/dist/chunks/{kv-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{kv-vmtaatps.js → repository-wdea4gcq.js} +1 -1
- package/dist/chunks/{kv-n90bgf63.js → repository-wj9mseqa.js} +16 -16
- package/dist/chunks/{kv-9kmbd9mt.js → repository-x0600czv.js} +2 -2
- package/dist/chunks/{kv-1ycydbdy.js → repository-x0skcyz0.js} +12 -12
- package/dist/chunks/{kv-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{kv-tbx15xaw.js → repository-x3pdy2ky.js} +9 -9
- package/dist/chunks/{kv-amfe68bf.js → repository-x4x4w9ve.js} +15 -15
- package/dist/chunks/{kv-n4k2ksae.js → repository-x8e57zem.js} +10 -10
- package/dist/chunks/{kv-5xbtv0jk.js → repository-x8x9h4hg.js} +27 -27
- package/dist/chunks/{kv-y78vvsaa.js → repository-xbepgsdw.js} +24 -24
- package/dist/chunks/{kv-z50nkf99.js → repository-xee1h9b3.js} +13 -13
- package/dist/chunks/{kv-dmqcgk4z.js → repository-xkntkrq7.js} +5 -5
- package/dist/chunks/{kv-15qhxfad.js → repository-xr3qtd12.js} +81 -81
- package/dist/chunks/{kv-7pr2hkwv.js → repository-xvp1j2dc.js} +5 -5
- package/dist/chunks/{kv-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-w73th6vr.js → repository-y1hpjhb0.js} +20 -20
- package/dist/chunks/{kv-5rnnm2b5.js → repository-y54hr7f3.js} +9 -9
- package/dist/chunks/{kv-hyrm0rmn.js → repository-y6zfrytz.js} +23 -23
- package/dist/chunks/{kv-p2a54bnb.js → repository-ybw404hh.js} +24 -24
- package/dist/chunks/{kv-k66h0t0z.js → repository-yees5yn6.js} +11 -11
- package/dist/chunks/{kv-ax1yp8tw.js → repository-yfychzeb.js} +14 -14
- package/dist/chunks/{kv-7bpzgkas.js → repository-yn6k8b68.js} +6 -6
- package/dist/chunks/{kv-46y19e9k.js → repository-ynmv8dbs.js} +11 -11
- package/dist/chunks/{kv-r8xr0va3.js → repository-yp2x3t23.js} +4 -4
- package/dist/chunks/{kv-51jjrgxc.js → repository-yqy8qetg.js} +3 -3
- package/dist/chunks/{kv-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{kv-yrznvahk.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{kv-0f9afca0.js → repository-yt0fqk68.js} +5 -5
- package/dist/chunks/{kv-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-p5010f6a.js → repository-z0xq2v1s.js} +8 -8
- package/dist/chunks/{kv-yaah2hay.js → repository-z4djtsmk.js} +48 -48
- package/dist/chunks/{kv-z63w68vq.js → repository-z63w68vq.js} +2 -2
- package/dist/chunks/{kv-t7rncwqp.js → repository-z83thqvg.js} +18 -18
- package/dist/chunks/{kv-9fjq25es.js → repository-ze7g7145.js} +20 -20
- package/dist/chunks/{kv-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{kv-avm7cb3c.js → repository-zexqyf06.js} +43 -43
- package/dist/chunks/{kv-qjbjw52h.js → repository-zknh836p.js} +11 -11
- package/dist/chunks/{kv-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-73fjq2q4.js → repository-zrs9t7hx.js} +12 -12
- package/dist/chunks/{kv-zxq2ej10.js → repository-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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- 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 +132 -132
- 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 +144 -144
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +6 -6
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +130 -130
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +101 -101
- 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 +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- 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 +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +95 -95
- 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 +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +95 -95
- 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 +79 -79
- 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 +162 -162
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- 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/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- 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 +220 -220
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- 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 +1 -1
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +96 -96
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- 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 +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +126 -126
- 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 +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/session/error.d.ts +5 -0
- package/dist/types/session/history.d.ts +48 -0
- package/dist/types/session/transfer.d.ts +30 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- 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-ax4jcnm2.js +0 -252
- package/dist/chunks/kv-by5v678g.js +0 -18
- package/dist/chunks/kv-k76dc58r.js +0 -26
- /package/dist/chunks/{kv-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-5qd3pb7m.js → repository-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{kv-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-2ydsszd5.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-j93j9byk.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service63,
|
|
11
|
+
node66
|
|
12
|
+
} from "./repository-8ta41r54.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service59,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node62
|
|
20
|
+
} from "./repository-3dktm290.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service72,
|
|
23
|
+
node76
|
|
24
|
+
} from "./repository-4w5f3qm5.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service54,
|
|
27
|
+
node57
|
|
28
|
+
} from "./repository-hpfvhvya.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./repository-8jmaqybk.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service55,
|
|
35
|
+
node58
|
|
36
|
+
} from "./repository-mmcph4q4.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./repository-fgkd623f.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./repository-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError7,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service53,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node56
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError7 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service53 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service53, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service83;
|
|
92
92
|
const location = yield* Service80;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service59;
|
|
95
|
+
const environment = yield* Service63;
|
|
96
|
+
const hooks = yield* Service72;
|
|
97
|
+
const environments = yield* Service54;
|
|
98
|
+
const config = yield* Service55;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError7({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError7({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service53.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node56 = makeLocationNode({
|
|
329
|
+
service: Service53,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
332
|
node87,
|
|
333
333
|
node84,
|
|
334
334
|
Global.node,
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
335
|
+
node62,
|
|
336
|
+
node66,
|
|
337
|
+
node76,
|
|
338
|
+
node57,
|
|
339
|
+
node58,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export {
|
|
344
|
+
export { NotFoundError7, RETENTION2, DIRECTORY2, Service53, cleanup2, node56, exports_shell4 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse5,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse5(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse4(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse5(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
render2
|
|
3
|
+
} from "./repository-57b9ws8p.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
|
|
|
424
424
|
const system = event.system[0];
|
|
425
425
|
if (!system)
|
|
426
426
|
return;
|
|
427
|
-
const rendered =
|
|
427
|
+
const rendered = render2(template, Object.keys(event.tools));
|
|
428
428
|
const text = mode === "append" ? `${system.text}
|
|
429
429
|
|
|
430
430
|
${rendered}` : rendered;
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./repository-8ta41r54.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service13,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-6pmv43wt.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service24
|
|
11
|
+
} from "./repository-bw624gy4.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service68
|
|
14
|
+
} from "./repository-s182s2zc.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service14
|
|
17
|
+
} from "./repository-28jks9yb.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input10,
|
|
29
|
+
Output: () => Output7,
|
|
30
|
+
Plugin: () => Plugin29,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name10,
|
|
33
33
|
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name10 = "write";
|
|
39
|
+
var Input10 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output7 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
51
|
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
-
var
|
|
52
|
+
var Plugin29 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service14;
|
|
56
|
+
const fileMutation = yield* Service13;
|
|
57
|
+
const environment = yield* Service63;
|
|
58
|
+
const formatter = yield* Service24;
|
|
59
|
+
const permission = yield* Service68;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name10,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input10,
|
|
69
|
+
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name10, Input10, Output7, toModelContent6, Plugin29, exports_write };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-s182s2zc.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service38,
|
|
12
|
+
node41
|
|
13
|
+
} from "./repository-856ceffp.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name13
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-vndcnmc3.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
23
|
var exports_instructions2 = {};
|
|
24
24
|
__export(exports_instructions2, {
|
|
25
25
|
McpInstructions: () => exports_instructions2,
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
26
|
+
Service: () => Service32,
|
|
27
|
+
layer: () => layer12,
|
|
28
|
+
node: () => node36
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,13 +61,13 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service32 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer12 = Layer.effect(Service32, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service38;
|
|
68
|
+
return Service32.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
70
|
+
const source = (value) => make21({
|
|
71
71
|
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
@@ -96,6 +96,6 @@ var layer10 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node36 = makeLocationNode({ service: Service32, layer: layer12, deps: [node41] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service32, layer12, node36, exports_instructions2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-2ydsszd5.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-j93j9byk.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info5,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service20,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node23
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,9 +45,9 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service20 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const location = yield* Service80;
|
|
53
53
|
const bus = yield* Service83;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service20.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node23 = makeLocationNode({
|
|
168
|
+
service: Service20,
|
|
169
169
|
layer,
|
|
170
170
|
deps: [FSUtil.node, node84, node87]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service20, node23, exports_vcs };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./repository-y54hr7f3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./repository-51f5btjf.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-rap9a73h.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service72
|
|
15
|
+
} from "./repository-4w5f3qm5.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-gmkr1ekh.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service62
|
|
23
|
+
} from "./repository-xbepgsdw.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-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* Service44;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service72;
|
|
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* Service62;
|
|
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* Service51;
|
|
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 })));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-8jmaqybk.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|