@opencode/core 0.0.0-dev-19427 → 0.0.0-dev-19432
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{config-ve4pfa0n.js → repository-00z3vp5f.js} +4 -4
- package/dist/chunks/{config-0rjbp7af.js → repository-0efqcfd5.js} +5 -5
- package/dist/chunks/{config-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
- package/dist/chunks/{config-e0fydr9g.js → repository-0rpxkeqh.js} +20 -20
- package/dist/chunks/{config-2vem9984.js → repository-0s80x56w.js} +9 -9
- package/dist/chunks/{config-nhzetgd2.js → repository-18frcpjt.js} +18 -18
- package/dist/chunks/{config-cwjx0559.js → repository-1byap634.js} +30 -30
- package/dist/chunks/{config-jzd3jr9p.js → repository-1d1rhcsj.js} +20 -20
- package/dist/chunks/{config-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-e5vktses.js → repository-1erp3qqz.js} +10 -10
- package/dist/chunks/{config-w6zk8pbt.js → repository-1fmrbde1.js} +6 -6
- package/dist/chunks/{config-26ym7a2d.js → repository-1hc11dc4.js} +4 -4
- package/dist/chunks/{config-1ak7w0y1.js → repository-1snngmj1.js} +4 -4
- package/dist/chunks/{config-s9mkjwxj.js → repository-1t1584fh.js} +26 -26
- package/dist/chunks/{config-4wtpxfp6.js → repository-1vy40y6q.js} +19 -19
- package/dist/chunks/{config-qq71fy0p.js → repository-1wvd3n1a.js} +26 -26
- package/dist/chunks/{config-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{config-r43g2czz.js → repository-22cv5ye4.js} +19 -19
- package/dist/chunks/{config-qq8x5mwt.js → repository-23sxaqwc.js} +4 -4
- package/dist/chunks/{config-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-qstjqs7y.js → repository-2c5gpntr.js} +1 -1
- package/dist/chunks/{config-fcrkznn8.js → repository-2k8khapm.js} +5 -5
- package/dist/chunks/{config-b2r3edrw.js → repository-2mfw3wdh.js} +9 -9
- package/dist/chunks/{config-d2kzsg1r.js → repository-2mxvh1sf.js} +4 -4
- package/dist/chunks/{config-jrzxfgsz.js → repository-2pwpt1fq.js} +5 -5
- package/dist/chunks/{config-vkxpz7g2.js → repository-2tfmgkzg.js} +4 -4
- package/dist/chunks/{config-q6jxhr7p.js → repository-2vtn24zd.js} +12 -12
- package/dist/chunks/{config-k1dcmph1.js → repository-30rg0n1z.js} +8 -8
- package/dist/chunks/{config-0y4a2eys.js → repository-3293cyr9.js} +2 -2
- package/dist/chunks/{config-7dab4f7d.js → repository-32vktv6f.js} +35 -35
- package/dist/chunks/{config-grqp3cmb.js → repository-377tdzm5.js} +3 -3
- package/dist/chunks/{config-61fyb2a3.js → repository-3bkjb058.js} +24 -24
- package/dist/chunks/{config-v84z85pp.js → repository-3fqa324q.js} +17 -17
- package/dist/chunks/{config-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-b10jyp57.js → repository-3q1jyqhd.js} +1 -1
- package/dist/chunks/{config-hpz3494e.js → repository-3qgk4v93.js} +28 -28
- package/dist/chunks/{config-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-nhy5jxhy.js → repository-47gsdddb.js} +5 -5
- package/dist/chunks/{config-zpv3n05j.js → repository-4aws1fvg.js} +37 -37
- package/dist/chunks/{config-3cwb9jzf.js → repository-4c8bw516.js} +8 -8
- package/dist/chunks/{config-nw3ed1mk.js → repository-4g53kgkp.js} +53 -53
- package/dist/chunks/{config-98zkxtvb.js → repository-4v34yf9v.js} +60 -60
- package/dist/chunks/{config-mbnc4twk.js → repository-4vt2dwev.js} +22 -22
- package/dist/chunks/{config-zecem4fz.js → repository-52nmff2v.js} +172 -172
- package/dist/chunks/{config-rncrryjg.js → repository-52ymf0cj.js} +29 -29
- package/dist/chunks/{config-tewgewgq.js → repository-5637d424.js} +13 -13
- package/dist/chunks/{config-1ygqh575.js → repository-56gdpj1q.js} +9 -9
- package/dist/chunks/{config-m3wg7f1z.js → repository-56gxsabx.js} +13 -13
- package/dist/chunks/{config-a1bz86dw.js → repository-5c4hm403.js} +3 -3
- package/dist/chunks/{config-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{config-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-6xw6hfxy.js → repository-5tqrw2yw.js} +24 -24
- package/dist/chunks/{config-6be0w3hg.js → repository-62hcz6cs.js} +24 -24
- package/dist/chunks/{config-rj8xn73b.js → repository-63xeamm2.js} +16 -16
- package/dist/chunks/{config-zkes3v37.js → repository-65fgxyf5.js} +8 -8
- package/dist/chunks/{config-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{config-2d57kztd.js → repository-6anwy9fs.js} +4 -4
- package/dist/chunks/{config-cqegaqd0.js → repository-6bd4yqd4.js} +38 -38
- package/dist/chunks/{config-jrrv4qtc.js → repository-6cnk2f7j.js} +20 -20
- package/dist/chunks/{config-c4dahkdv.js → repository-6d8fecpc.js} +4 -4
- package/dist/chunks/{config-ns8hfw5m.js → repository-6fa0yxfs.js} +15 -15
- package/dist/chunks/{config-f8khf541.js → repository-6fmy559f.js} +7 -7
- package/dist/chunks/{config-6h73sxmp.js → repository-6h73sxmp.js} +1 -1
- package/dist/chunks/{config-e43gp79w.js → repository-6jagpjd6.js} +23 -23
- package/dist/chunks/{config-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-7z8hcgfe.js → repository-6prpzt6f.js} +46 -46
- package/dist/chunks/{config-4fnmr1se.js → repository-6ryvksdm.js} +30 -30
- package/dist/chunks/{config-0y0fy2ct.js → repository-6xrkkq0p.js} +12 -12
- package/dist/chunks/{config-71q4at8m.js → repository-71q4at8m.js} +1 -1
- package/dist/chunks/{config-hyj2vz80.js → repository-737983wq.js} +4 -4
- package/dist/chunks/{config-73tb2d7t.js → repository-73tb2d7t.js} +1 -1
- package/dist/chunks/{config-rmmx4qnr.js → repository-780vkm8r.js} +4 -4
- package/dist/chunks/{config-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-6v1tvx37.js → repository-7n9wzmmg.js} +23 -23
- package/dist/chunks/{config-j5b0wgyp.js → repository-7qed14jw.js} +299 -299
- package/dist/chunks/{config-az4749a7.js → repository-7v41m4wd.js} +9 -9
- package/dist/chunks/{config-c1j4d1x8.js → repository-7yqt39ht.js} +22 -22
- package/dist/chunks/{config-dv1qgsyq.js → repository-844ef7ks.js} +8 -8
- package/dist/chunks/{config-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-3t4rpvx0.js → repository-8jn05b6d.js} +3 -3
- package/dist/chunks/{config-pxa5mnve.js → repository-8mhep79j.js} +36 -36
- package/dist/chunks/{config-yhm50jqs.js → repository-8nd4ez8d.js} +22 -22
- package/dist/chunks/{config-98k0cdha.js → repository-8xa4vqg2.js} +6 -6
- package/dist/chunks/{config-jr2wm6h1.js → repository-9a4k9g5r.js} +91 -91
- package/dist/chunks/{config-pp9bqr7w.js → repository-9fqm4bgz.js} +23 -23
- package/dist/chunks/{config-j2qn64gj.js → repository-9jzdmgrd.js} +11 -11
- package/dist/chunks/{config-df2wv8bx.js → repository-9ra18k9p.js} +12 -12
- package/dist/chunks/repository-9sh4wc5j.js +18 -0
- package/dist/chunks/{config-b4aanydw.js → repository-9xtkkd11.js} +4 -4
- package/dist/chunks/{config-w097dxjk.js → repository-a5xe75vd.js} +32 -32
- package/dist/chunks/{config-pbvcetj3.js → repository-a7bm1a35.js} +17 -17
- package/dist/chunks/{config-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{config-6df1nwa0.js → repository-ab5w8dn8.js} +12 -12
- package/dist/chunks/{config-jarjgmjf.js → repository-av7emrka.js} +16 -16
- package/dist/chunks/{config-g36pzvek.js → repository-b0fng4zx.js} +39 -39
- package/dist/chunks/{config-xj97y6sx.js → repository-b0skvq87.js} +44 -44
- package/dist/chunks/{config-ytfft4zc.js → repository-b3e9n1nh.js} +4 -4
- package/dist/chunks/{config-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-0nes75s0.js → repository-b7f1tq2h.js} +8 -8
- package/dist/chunks/{config-862gqftt.js → repository-bacypahn.js} +1 -1
- package/dist/chunks/{config-ghdn73s2.js → repository-bfbpt4xj.js} +11 -11
- package/dist/chunks/{config-b4jw9d4v.js → repository-bgc00773.js} +1 -1
- package/dist/chunks/{config-04sbkdwc.js → repository-bzcqfm0m.js} +2 -2
- package/dist/chunks/{config-rpqwx9z1.js → repository-bzkpjw1k.js} +32 -32
- package/dist/chunks/{config-f65gecnf.js → repository-c29pq2bv.js} +28 -28
- package/dist/chunks/{config-7dexpn2v.js → repository-c3ay0pv3.js} +26 -26
- package/dist/chunks/{config-bgdg82ee.js → repository-c66sb1ac.js} +11 -11
- package/dist/chunks/{config-5pdzgdxg.js → repository-c6y7v1er.js} +2 -2
- package/dist/chunks/{config-yy11cnfq.js → repository-c8pw21fc.js} +5 -5
- package/dist/chunks/{config-fkya8xgs.js → repository-c9bbz02c.js} +28 -28
- package/dist/chunks/{config-fhhh5fpv.js → repository-cb2gy3vs.js} +26 -26
- package/dist/chunks/{config-2t4fwem2.js → repository-cdvjrb6a.js} +20 -20
- package/dist/chunks/{config-2pkcpn7k.js → repository-cfsztwnt.js} +23 -23
- package/dist/chunks/{config-yn68rwy1.js → repository-cw1jmpw1.js} +4 -4
- package/dist/chunks/{config-7jkg984e.js → repository-cwtr640q.js} +5 -5
- package/dist/chunks/{config-0996nyz8.js → repository-d09006c3.js} +9 -9
- package/dist/chunks/{config-hzcq6r0f.js → repository-d4z2re2g.js} +26 -26
- package/dist/chunks/{config-smssq42f.js → repository-d9zmx2gn.js} +9 -9
- package/dist/chunks/{config-0r543n7w.js → repository-daccqbjh.js} +9 -9
- package/dist/chunks/{config-8p4f9s12.js → repository-dj2t23y0.js} +2 -2
- package/dist/chunks/{config-ag9w8cw1.js → repository-dj9sq318.js} +5 -5
- package/dist/chunks/{config-5kp564w1.js → repository-dkz6hmks.js} +11 -11
- package/dist/chunks/{config-y71avatq.js → repository-dpkg50ah.js} +4 -4
- package/dist/chunks/{config-080jjftm.js → repository-dqy22jqg.js} +42 -42
- package/dist/chunks/{config-w2t9q7d6.js → repository-drt53naa.js} +35 -35
- package/dist/chunks/{config-tayccbp0.js → repository-dtqbwwhp.js} +5 -5
- package/dist/chunks/{config-2s3vs4q7.js → repository-dwkfzrk3.js} +10 -10
- package/dist/chunks/{config-yzr0k2jx.js → repository-e430f9b9.js} +28 -28
- package/dist/chunks/{config-hnr5yq9h.js → repository-e6hmchc5.js} +5 -5
- package/dist/chunks/{config-0gdmqesm.js → repository-eaj1djv9.js} +8 -8
- package/dist/chunks/{config-3n4jppc0.js → repository-eak6awrz.js} +6 -6
- package/dist/chunks/{config-8rahwd83.js → repository-ef1q2dpz.js} +17 -17
- package/dist/chunks/{config-zcrspsvn.js → repository-embw8kgh.js} +4 -4
- package/dist/chunks/{config-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/repository-f7z596tj.js +22 -0
- package/dist/chunks/{config-5zpyp4z2.js → repository-f9dnc6qb.js} +9 -9
- package/dist/chunks/{config-g02c2j6c.js → repository-fhy3xvpm.js} +15 -15
- package/dist/chunks/{config-4p9erpdr.js → repository-fjeh9m37.js} +8 -8
- package/dist/chunks/{config-d47m9tc9.js → repository-fmme79ky.js} +14 -14
- package/dist/chunks/{config-mv54rrkq.js → repository-frs1x3s0.js} +1 -1
- package/dist/chunks/{config-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
- package/dist/chunks/{config-d3xzc5yd.js → repository-g7w32fc6.js} +30 -30
- package/dist/chunks/{config-va1yysyv.js → repository-g7zcz8xz.js} +14 -14
- package/dist/chunks/{config-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-3fc6dm20.js → repository-gdvy8fx6.js} +4 -4
- package/dist/chunks/{config-x07swckw.js → repository-ge8bh06a.js} +11 -11
- package/dist/chunks/{config-tgysfc69.js → repository-gfcx43hw.js} +9 -9
- package/dist/chunks/{config-th5km1p3.js → repository-gv6a8nnw.js} +5 -5
- package/dist/chunks/{config-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
- package/dist/chunks/{config-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-ftwyyc7q.js → repository-h7daxtb8.js} +11 -11
- package/dist/chunks/{config-5jsk88ac.js → repository-h83w2tz3.js} +92 -92
- package/dist/chunks/{config-f828m53h.js → repository-hdnk95c8.js} +2 -2
- package/dist/chunks/{config-kc19q4nv.js → repository-hgkm3ngx.js} +18 -18
- package/dist/chunks/{config-kfyjm1bj.js → repository-hkefa025.js} +19 -19
- package/dist/chunks/{config-3cz8rj72.js → repository-hkfg6fzm.js} +5 -5
- package/dist/chunks/{config-8q7vzyvq.js → repository-hm2ejha3.js} +19 -19
- package/dist/chunks/{config-ev1z17mg.js → repository-hpdgvsh4.js} +1 -1
- package/dist/chunks/{config-ve6nm2s5.js → repository-hq8zt1th.js} +6 -6
- package/dist/chunks/{config-m4kgf6ca.js → repository-ht9620cz.js} +9 -9
- package/dist/chunks/{config-5908qhdy.js → repository-htvcf07r.js} +16 -16
- package/dist/chunks/{config-e8fqe44x.js → repository-j14ddj9r.js} +27 -27
- package/dist/chunks/{config-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{config-vyt5132f.js → repository-ja409geq.js} +15 -15
- package/dist/chunks/{config-5webd478.js → repository-jkmmxdv7.js} +21 -21
- package/dist/chunks/{config-qwkmaj58.js → repository-jsk2qqh7.js} +72 -72
- package/dist/chunks/{config-fmr28pax.js → repository-jv6862zv.js} +9 -9
- package/dist/chunks/{config-73qe7w20.js → repository-jw70rx0h.js} +45 -45
- package/dist/chunks/{config-vh7c63t2.js → repository-k0e0jm40.js} +24 -24
- package/dist/chunks/{config-s1x6275h.js → repository-k3mt7wkv.js} +13 -13
- package/dist/chunks/{config-e3zqxkjh.js → repository-k9ynbxgd.js} +33 -33
- package/dist/chunks/{config-kg06axw8.js → repository-kg06axw8.js} +1 -1
- package/dist/chunks/{config-7xn0ak3t.js → repository-kgrrjcn2.js} +51 -51
- package/dist/chunks/{config-74c01z77.js → repository-kkqrkmh0.js} +46 -46
- package/dist/chunks/{config-tcerhjb9.js → repository-kq7qvksk.js} +18 -18
- package/dist/chunks/{config-cfpkc3c9.js → repository-m0jqrx5p.js} +2 -2
- package/dist/chunks/{config-3rjjvc4m.js → repository-m3ef3jt3.js} +9 -9
- package/dist/chunks/{config-z2e219bb.js → repository-m3ettc37.js} +24 -24
- package/dist/chunks/{config-h7ygw6q4.js → repository-m86bnw2c.js} +9 -9
- package/dist/chunks/{config-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-xdk9p2qn.js → repository-magykp64.js} +21 -21
- package/dist/chunks/{config-mb7tvf4x.js → repository-mhspve7x.js} +29 -29
- package/dist/chunks/{config-mkcjrzeh.js → repository-mkcjrzeh.js} +1 -1
- package/dist/chunks/{config-zcrpa3mr.js → repository-mnnqs8ch.js} +7 -7
- package/dist/chunks/{config-0cyncc7e.js → repository-mxrk5x1e.js} +11 -11
- package/dist/chunks/{config-v5dm1t52.js → repository-n0pr5v83.js} +18 -18
- package/dist/chunks/{config-vts1skcq.js → repository-n10qepkx.js} +17 -17
- package/dist/chunks/{config-9af4hgzp.js → repository-nbvm9kjy.js} +15 -15
- package/dist/chunks/{config-fbjpvkak.js → repository-nj1r2vcq.js} +6 -6
- package/dist/chunks/{config-3ythc6yv.js → repository-nw2nz702.js} +4 -4
- package/dist/chunks/{config-2aer1yk3.js → repository-nxgx3vy8.js} +18 -18
- package/dist/chunks/{config-jnykdmk9.js → repository-p7p3472k.js} +24 -24
- package/dist/chunks/{config-j935v87r.js → repository-paphc93g.js} +2 -2
- package/dist/chunks/{config-qs001aqx.js → repository-pb1eahw5.js} +11 -11
- package/dist/chunks/{config-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{config-5cphae0w.js → repository-pthssfs7.js} +33 -33
- package/dist/chunks/{config-h2mpge2c.js → repository-pxf31q7x.js} +13 -13
- package/dist/chunks/{config-q879j799.js → repository-pyynkbc6.js} +27 -27
- package/dist/chunks/{config-byp1chnz.js → repository-pzkk0785.js} +9 -9
- package/dist/chunks/{config-121k57vw.js → repository-q280h65c.js} +8 -8
- package/dist/chunks/{config-mzykdn05.js → repository-qfphbjrc.js} +10 -10
- package/dist/chunks/{config-ze5v0a14.js → repository-qm7jrdpz.js} +8 -8
- package/dist/chunks/{config-f7waqs9s.js → repository-qn8pfh7t.js} +11 -11
- package/dist/chunks/{config-83d60b5q.js → repository-qrc483b8.js} +11 -11
- package/dist/chunks/{config-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{config-5pffmstf.js → repository-qzm0daqd.js} +3 -3
- package/dist/chunks/{config-kgs2gyn8.js → repository-r1yy7shp.js} +15 -15
- package/dist/chunks/{config-5n1g8faq.js → repository-ra94hv2r.js} +29 -29
- package/dist/chunks/{config-5b05e64m.js → repository-raw2a3zh.js} +21 -21
- package/dist/chunks/{config-kw9fkdsd.js → repository-rccqqzv1.js} +15 -15
- package/dist/chunks/{config-7zgw0769.js → repository-rd62shed.js} +43 -43
- package/dist/chunks/{config-wn0rwpc4.js → repository-rdydr188.js} +8 -8
- package/dist/chunks/{config-jcqksr1s.js → repository-rm75j2sh.js} +13 -13
- package/dist/chunks/{config-y4xy21re.js → repository-rq1vkg8w.js} +18 -18
- package/dist/chunks/{config-fq5tybeh.js → repository-rqk58rkp.js} +18 -18
- package/dist/chunks/{config-nhbeg3qa.js → repository-sz2wcpmw.js} +11 -11
- package/dist/chunks/{config-5kptn8c0.js → repository-t0x5rdq8.js} +9 -9
- package/dist/chunks/{config-8x96bj0m.js → repository-t2fc4mz5.js} +7 -7
- package/dist/chunks/{config-x5m8r6tq.js → repository-t2fwea8b.js} +34 -34
- package/dist/chunks/{config-yzvghwtp.js → repository-t8n3h3je.js} +30 -30
- package/dist/chunks/{config-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/{config-52y26kps.js → repository-tejqnav5.js} +5 -5
- package/dist/chunks/{config-mkh51v61.js → repository-tfwap27p.js} +10 -10
- package/dist/chunks/{config-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{config-t9j7pbck.js → repository-v2kn4vdq.js} +22 -22
- package/dist/chunks/{config-967d7zym.js → repository-vdtpdrgk.js} +32 -32
- package/dist/chunks/{config-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{config-kgzd18rf.js → repository-vjay5gkv.js} +28 -28
- package/dist/chunks/{config-y5qhjknn.js → repository-vmxj0651.js} +7 -7
- package/dist/chunks/{config-rp8qt6s9.js → repository-vnasg3sb.js} +27 -27
- package/dist/chunks/{config-xwr11g7g.js → repository-vp40978k.js} +9 -9
- package/dist/chunks/{config-hc9y5yrm.js → repository-vryjq8rr.js} +16 -16
- package/dist/chunks/{config-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-4d0h0zpx.js → repository-w8rxvjsy.js} +6 -6
- package/dist/chunks/{config-mcjr5rma.js → repository-wbsb94y0.js} +13 -13
- package/dist/chunks/{config-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{config-94hawnvy.js → repository-wdrr10w5.js} +10 -10
- package/dist/chunks/{config-716zws2t.js → repository-wmbnw6kf.js} +5 -5
- package/dist/chunks/{config-xx23fqgj.js → repository-wx8khj6c.js} +20 -20
- package/dist/chunks/{config-jke8kf8k.js → repository-wxkvpjdn.js} +20 -20
- package/dist/chunks/{config-18300jzq.js → repository-x14ypy9e.js} +11 -11
- package/dist/chunks/{config-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-x43y2vfs.js → repository-x43y2vfs.js} +2 -2
- package/dist/chunks/{config-e7vjb8xb.js → repository-x52k0wvy.js} +18 -18
- package/dist/chunks/{config-0jx2kcb6.js → repository-x74118mf.js} +1 -1
- package/dist/chunks/{config-63fj94e7.js → repository-xdfw05yp.js} +11 -11
- package/dist/chunks/{config-desmpezp.js → repository-xk45614k.js} +43 -43
- package/dist/chunks/{config-m0yean37.js → repository-xmmda1hq.js} +11 -11
- package/dist/chunks/{config-e0vtkr8g.js → repository-xmvnw2y2.js} +6 -6
- package/dist/chunks/repository-xt8m55sk.js +247 -0
- package/dist/chunks/{config-7jj9ww0g.js → repository-y1336hgx.js} +12 -12
- package/dist/chunks/{config-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-kjmc9q6p.js → repository-y1rq3pqk.js} +6 -6
- package/dist/chunks/{config-8pkvmqn2.js → repository-y9bshx3x.js} +1 -1
- package/dist/chunks/{config-kyrbgmgz.js → repository-ybvbv09q.js} +4 -4
- package/dist/chunks/{config-yddgxcp4.js → repository-yddgxcp4.js} +2 -2
- package/dist/chunks/{config-pghpsfx8.js → repository-ykbv3wb7.js} +35 -35
- package/dist/chunks/{config-f2n192rq.js → repository-yp2x3t23.js} +4 -4
- package/dist/chunks/{config-y733bjqp.js → repository-ypfk9d9x.js} +22 -22
- package/dist/chunks/{config-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-s4enseaf.js → repository-yrznvahk.js} +2 -2
- package/dist/chunks/{config-r1pwacvm.js → repository-ys3t6ahp.js} +33 -33
- package/dist/chunks/{config-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-xy3hb6gv.js → repository-z13bnxy7.js} +6 -6
- package/dist/chunks/{config-29x78va6.js → repository-z63w68vq.js} +6 -6
- package/dist/chunks/{config-7wwq8wqs.js → repository-z6fgg22d.js} +46 -46
- package/dist/chunks/{config-7cgwyxtc.js → repository-z741p9sc.js} +20 -20
- package/dist/chunks/{config-9b00c1fb.js → repository-za6yq9hg.js} +5 -5
- package/dist/chunks/{config-h0n719fv.js → repository-zamc6f4z.js} +23 -23
- package/dist/chunks/{config-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-m80ew2zz.js → repository-zj4vqg3k.js} +15 -15
- package/dist/chunks/{config-snx4kq1r.js → repository-zk4wv12b.js} +62 -62
- package/dist/chunks/{config-1nawpdar.js → repository-zm6r64bs.js} +22 -22
- package/dist/chunks/{config-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +6 -6
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- 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 +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +84 -84
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +102 -102
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +113 -113
- 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 +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +7 -7
- 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 +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +8 -8
- package/dist/chunks/config-210dr5bd.js +0 -247
- package/dist/chunks/config-h6rmx1e7.js +0 -22
- package/dist/chunks/config-pf31ssb9.js +0 -18
- /package/dist/chunks/{config-0mesazry.js → repository-0mesazry.js} +0 -0
- /package/dist/chunks/{config-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{config-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-twg0f83k.js → repository-twg0f83k.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node85
|
|
7
|
+
} from "./repository-tfwap27p.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
ID18
|
|
10
|
+
} from "./repository-pzkk0785.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
14
|
-
import {
|
|
15
|
-
Service80,
|
|
16
|
-
node85
|
|
17
|
-
} from "./config-bgdg82ee.js";
|
|
13
|
+
} from "./repository-gebd4c9n.js";
|
|
18
14
|
import {
|
|
19
15
|
Service79,
|
|
20
16
|
node84
|
|
21
|
-
} from "./
|
|
17
|
+
} from "./repository-c66sb1ac.js";
|
|
18
|
+
import {
|
|
19
|
+
Service78,
|
|
20
|
+
node83
|
|
21
|
+
} from "./repository-63xeamm2.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-dj2t23y0.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-m0jqrx5p.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service73,
|
|
30
|
+
node78
|
|
31
|
+
} from "./repository-n10qepkx.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
34
|
+
canonical2
|
|
35
|
+
} from "./repository-gv6a8nnw.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make12
|
|
38
|
+
} from "./repository-xmmda1hq.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./repository-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./repository-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,21 +49,21 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event6,
|
|
53
|
+
Info: () => Info5,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RefreshResult: () => RefreshResult2,
|
|
59
59
|
RemoveInput: () => RemoveInput2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service23,
|
|
61
61
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
62
62
|
StrategyID: () => StrategyID2,
|
|
63
63
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
64
64
|
UnsupportedLocationError: () => UnsupportedLocationError2,
|
|
65
65
|
Worktree: () => exports_worktree2,
|
|
66
|
-
node: () =>
|
|
66
|
+
node: () => node27
|
|
67
67
|
});
|
|
68
68
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
69
69
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -82,11 +82,11 @@ var RefreshResult2 = Schema.Struct({
|
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info5 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
89
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
89
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event6 = Worktree.Event;
|
|
104
104
|
|
|
105
|
-
class
|
|
105
|
+
class Service23 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
107
|
-
var layer = Layer.effect(
|
|
107
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
108
108
|
const fs = yield* FSUtil.Service;
|
|
109
|
-
const database = yield*
|
|
109
|
+
const database = yield* Service79;
|
|
110
110
|
const db = database.db;
|
|
111
|
-
const bus = yield*
|
|
111
|
+
const bus = yield* Service78;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service73;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
117
|
-
const gitStrategy = yield*
|
|
117
|
+
const gitStrategy = yield* make12;
|
|
118
118
|
const state = create3({
|
|
119
119
|
name: "worktree",
|
|
120
120
|
initial: () => ({
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event6.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
161
161
|
};
|
|
162
162
|
const source = Effect.fnUntraced(function* (input) {
|
|
163
163
|
const sourceDirectory = input ?? location.project.directory;
|
|
164
|
-
const resolved = yield*
|
|
164
|
+
const resolved = yield* canonical2(fs, sourceDirectory);
|
|
165
165
|
if ((yield* ops.find(resolved)) === undefined)
|
|
166
166
|
return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
|
|
167
167
|
return resolved;
|
|
@@ -193,7 +193,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
193
193
|
sourceDirectory,
|
|
194
194
|
branch: input.branch
|
|
195
195
|
}).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
|
|
196
|
-
const result = { directory: yield*
|
|
196
|
+
const result = { directory: yield* canonical2(fs, created.directory) };
|
|
197
197
|
yield* changed(yield* ops.create({
|
|
198
198
|
directory: result.directory,
|
|
199
199
|
strategy: selected.id,
|
|
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
218
218
|
});
|
|
219
219
|
const remove = Effect.fn("Worktree.remove")(function* (input) {
|
|
220
220
|
yield* local;
|
|
221
|
-
const worktreeDirectory = yield*
|
|
221
|
+
const worktreeDirectory = yield* canonical2(fs, input.directory);
|
|
222
222
|
const stored = yield* ops.find(worktreeDirectory);
|
|
223
223
|
if (!stored?.strategy)
|
|
224
224
|
return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
239
239
|
for (const strategy of strategies) {
|
|
240
240
|
const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
|
|
241
241
|
for (const entry of entries) {
|
|
242
|
-
const directory = yield*
|
|
242
|
+
const directory = yield* canonical2(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
|
|
243
243
|
if (!directory || discovered.has(directory))
|
|
244
244
|
continue;
|
|
245
245
|
discovered.set(directory, {
|
|
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
257
257
|
yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
|
|
258
258
|
return changes;
|
|
259
259
|
});
|
|
260
|
-
return
|
|
260
|
+
return Service23.of({
|
|
261
261
|
transform: state.transform,
|
|
262
262
|
reload: state.reload,
|
|
263
263
|
list: Effect.fn("Worktree.list")(function* () {
|
|
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
269
269
|
refresh
|
|
270
270
|
});
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node27 = makeLocationNode({
|
|
273
|
+
service: Service23,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [FSUtil.node,
|
|
275
|
+
deps: [FSUtil.node, node85, node83, node84, AppProcess.node, node78, Global.node]
|
|
276
276
|
});
|
|
277
277
|
function operationError(strategy, operation, error) {
|
|
278
278
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2,
|
|
285
|
+
export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event6, Service23, node27, exports_worktree2, OperationError2 };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-x43y2vfs.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-kg06axw8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service54,
|
|
17
|
+
node58
|
|
18
|
+
} from "./repository-f9dnc6qb.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service71,
|
|
21
|
+
node76
|
|
22
|
+
} from "./repository-q280h65c.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./repository-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./repository-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service39,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node43
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service39 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service71;
|
|
58
|
+
const image = yield* Service54;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
180
180
|
error: error.message
|
|
181
181
|
}), { discard: true })
|
|
182
182
|
});
|
|
183
|
-
return
|
|
183
|
+
return Service39.of({
|
|
184
184
|
transform: state.transform,
|
|
185
185
|
reload: state.reload,
|
|
186
186
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -262,10 +262,10 @@ function namespaceError(name) {
|
|
|
262
262
|
return;
|
|
263
263
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
264
264
|
}
|
|
265
|
-
var
|
|
266
|
-
service:
|
|
265
|
+
var node43 = makeLocationNode({
|
|
266
|
+
service: Service39,
|
|
267
267
|
layer,
|
|
268
|
-
deps: [
|
|
268
|
+
deps: [node76, node58]
|
|
269
269
|
});
|
|
270
270
|
|
|
271
|
-
export { RegistrationError2,
|
|
271
|
+
export { RegistrationError2, Service39, node43, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./repository-6prpzt6f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service35
|
|
6
|
+
} from "./repository-4g53kgkp.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin16,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin16 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service44;
|
|
28
|
+
const mcp = yield* Service35;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin16, register2, exports_mcp };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./repository-63xeamm2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node85
|
|
8
|
+
} from "./repository-tfwap27p.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service73,
|
|
11
|
+
node78
|
|
12
|
+
} from "./repository-n10qepkx.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-9sh4wc5j.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service45,
|
|
18
|
+
node49
|
|
19
|
+
} from "./repository-p7p3472k.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node23
|
|
22
|
+
} from "./repository-z741p9sc.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service12,
|
|
25
|
+
node15
|
|
26
|
+
} from "./repository-t0x5rdq8.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
32
|
var exports_location_watcher = {};
|
|
33
33
|
__export(exports_location_watcher, {
|
|
34
34
|
LocationWatcher: () => exports_location_watcher,
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
Service: () => Service3,
|
|
36
|
+
node: () => node4
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service3 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service73;
|
|
47
|
+
const watcher = yield* Service45;
|
|
48
|
+
const bus = yield* Service78;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service80;
|
|
51
|
+
const policy = yield* Service12;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service3.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node4 = makeLocationNode({
|
|
106
|
+
service: Service3,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node49, FSUtil.node, node78, node85, node83, node23, node15]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service3, node4, exports_location_watcher };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./repository-63xeamm2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node78
|
|
8
|
+
} from "./repository-n10qepkx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service64,
|
|
11
|
+
node68
|
|
12
|
+
} from "./repository-5tqrw2yw.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service63,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node67
|
|
20
|
+
} from "./repository-hm2ejha3.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service71,
|
|
23
|
+
node76
|
|
24
|
+
} from "./repository-q280h65c.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service43,
|
|
27
|
+
node47
|
|
28
|
+
} from "./repository-4c8bw516.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./repository-377tdzm5.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service44,
|
|
35
|
+
node48
|
|
36
|
+
} from "./repository-6prpzt6f.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./repository-2vtn24zd.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: () => NotFoundError5,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service42,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node46
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service42 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
90
|
-
const bus = yield*
|
|
91
|
-
const location = yield*
|
|
89
|
+
var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
90
|
+
const bus = yield* Service78;
|
|
91
|
+
const location = yield* Service73;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service63;
|
|
94
|
+
const environment = yield* Service64;
|
|
95
|
+
const hooks = yield* Service71;
|
|
96
|
+
const environments = yield* Service43;
|
|
97
|
+
const config = yield* Service44;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError5({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError5({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service34, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service42.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node46 = makeLocationNode({
|
|
320
|
+
service: Service42,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
node83,
|
|
324
|
+
node78,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node67,
|
|
327
|
+
node68,
|
|
328
|
+
node76,
|
|
329
|
+
node47,
|
|
330
|
+
node48,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError5, RETENTION2, DIRECTORY2, Service42, cleanup2, node46, exports_shell4 };
|