@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,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/provider.ts
|
|
6
6
|
var exports_provider3 = {};
|
|
7
7
|
__export(exports_provider3, {
|
|
8
8
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
9
|
-
ID: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ID: () => ID12,
|
|
10
|
+
Info: () => Info25,
|
|
11
11
|
LoadError: () => LoadError3,
|
|
12
12
|
Provider: () => exports_provider3,
|
|
13
|
-
Request: () =>
|
|
13
|
+
Request: () => Request2,
|
|
14
14
|
Settings: () => Settings2,
|
|
15
15
|
aisdk: () => aisdk2,
|
|
16
16
|
isAISDK: () => isAISDK2,
|
|
@@ -23,7 +23,7 @@ import { Effect, Schema } from "effect";
|
|
|
23
23
|
import { Provider } from "@opencode/schema/provider";
|
|
24
24
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
25
25
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
26
|
-
var
|
|
26
|
+
var ID12 = Provider.ID;
|
|
27
27
|
var AISDK_PREFIX2 = "aisdk:";
|
|
28
28
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
29
29
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -137,9 +137,9 @@ function mergeHeaders2(base, overlay) {
|
|
|
137
137
|
return result;
|
|
138
138
|
}, new Map).values());
|
|
139
139
|
}
|
|
140
|
-
var
|
|
140
|
+
var Request2 = Provider.Request;
|
|
141
141
|
var Settings2 = Provider.Settings;
|
|
142
|
-
var
|
|
142
|
+
var Info25 = Provider.Info;
|
|
143
143
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
144
144
|
const module = yield* Effect.tryPromise({
|
|
145
145
|
try: () => {
|
|
@@ -161,4 +161,4 @@ var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, en
|
|
|
161
161
|
return module;
|
|
162
162
|
});
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, mergeOverlay2, mergeHeaders2, Request2, Settings2, Info25, exports_provider3 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-30rg0n1z.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/aisdk-native.ts
|
|
10
10
|
var exports_aisdk_native = {};
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service80,
|
|
3
|
-
node85
|
|
4
|
-
} from "./config-bgdg82ee.js";
|
|
5
1
|
import {
|
|
6
2
|
Service79,
|
|
7
3
|
node84
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./repository-c66sb1ac.js";
|
|
5
|
+
import {
|
|
6
|
+
Service78,
|
|
7
|
+
node83
|
|
8
|
+
} from "./repository-63xeamm2.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event16,
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info23,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service60,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node64
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID10 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event16 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info23 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID10,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service60 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service79).db;
|
|
55
|
+
const bus = yield* Service78;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info23({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service60.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info23({
|
|
80
|
+
id: ID10.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node64 = makeGlobalNode({ service: Service60, layer, deps: [node84, node83] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID10, OAuth3, Key3, Value2, Event16, Info23, Service60, node64, exports_credential };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID15 = Session.ID;
|
|
5
|
+
var Info28 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID15, Info28, SessionSchema2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9jzdmgrd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./repository-63xeamm2.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./repository-32vktv6f.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID8,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-pthssfs7.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
isAISDK2,
|
|
18
18
|
packageName2,
|
|
19
19
|
mergeOverlay2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-30rg0n1z.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
which2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-qaymkmh1.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./repository-mnnqs8ch.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/azure.ts
|
|
32
32
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,9 +57,9 @@ function selectLanguage(sdk, modelID, useChat) {
|
|
|
57
57
|
var AzurePlugin2 = define({
|
|
58
58
|
id: "opencode.provider.azure",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const configured = yield* configuredSettings2(
|
|
60
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
61
61
|
const processes = yield* AppProcess.Service;
|
|
62
|
-
const bus = yield*
|
|
62
|
+
const bus = yield* Service78;
|
|
63
63
|
const tokens = new Map;
|
|
64
64
|
const loading = Semaphore.makeUnsafe(1);
|
|
65
65
|
const loaded = {};
|
|
@@ -93,13 +93,13 @@ var AzurePlugin2 = define({
|
|
|
93
93
|
});
|
|
94
94
|
yield* ctx.integration.transform((editor) => {
|
|
95
95
|
editor.method.update({
|
|
96
|
-
integrationID:
|
|
96
|
+
integrationID: ID12.azure,
|
|
97
97
|
method: { type: "key", label: "API key", form: form() }
|
|
98
98
|
});
|
|
99
99
|
if (!available)
|
|
100
100
|
return;
|
|
101
101
|
editor.method.update({
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID12.azure,
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -131,7 +131,7 @@ var AzurePlugin2 = define({
|
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
134
|
-
const connection = yield* ctx.integration.connection.active(
|
|
134
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
135
135
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
136
136
|
return;
|
|
137
137
|
})) : undefined;
|
|
@@ -145,7 +145,7 @@ var AzurePlugin2 = define({
|
|
|
145
145
|
yield* load();
|
|
146
146
|
yield* ctx.catalog.transform((evt) => {
|
|
147
147
|
for (const item of evt.provider.list()) {
|
|
148
|
-
if (item.provider.id !==
|
|
148
|
+
if (item.provider.id !== ID12.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
149
149
|
continue;
|
|
150
150
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
151
151
|
if (resourceName)
|
|
@@ -169,11 +169,11 @@ var AzurePlugin2 = define({
|
|
|
169
169
|
}
|
|
170
170
|
});
|
|
171
171
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
172
|
-
yield* bus.subscribe(
|
|
172
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
173
173
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
174
|
-
if (evt.model.providerID !==
|
|
174
|
+
if (evt.model.providerID !== ID12.azure)
|
|
175
175
|
return;
|
|
176
|
-
const connection = yield* ctx.integration.connection.active(
|
|
176
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
177
177
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
178
178
|
return;
|
|
179
179
|
})) : undefined;
|
|
@@ -186,11 +186,11 @@ var AzurePlugin2 = define({
|
|
|
186
186
|
evt.request.headers.delete("x-api-key");
|
|
187
187
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
188
188
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
189
|
-
}), { providerID:
|
|
189
|
+
}), { providerID: ID12.azure });
|
|
190
190
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
191
191
|
if (evt.package !== "@ai-sdk/azure")
|
|
192
192
|
return;
|
|
193
|
-
if (evt.model.providerID ===
|
|
193
|
+
if (evt.model.providerID === ID12.azure) {
|
|
194
194
|
if (!evt.options.resourceName && !evt.options.baseURL && (!isAISDK2(evt.model.package) || typeof evt.model.settings?.baseURL !== "string")) {
|
|
195
195
|
throw new Error("Azure resource name is missing; set AZURE_RESOURCE_NAME or configure resourceName/baseURL");
|
|
196
196
|
}
|
|
@@ -199,7 +199,7 @@ var AzurePlugin2 = define({
|
|
|
199
199
|
evt.sdk = mod.createAzure(evt.options);
|
|
200
200
|
}));
|
|
201
201
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
202
|
-
if (evt.model.providerID !==
|
|
202
|
+
if (evt.model.providerID !== ID12.azure)
|
|
203
203
|
return;
|
|
204
204
|
evt.language = selectLanguage(evt.sdk, evt.model.modelID ?? evt.model.id, Boolean(evt.options.useCompletionUrls));
|
|
205
205
|
}));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-gdvy8fx6.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
17
|
+
var exports_instructions5 = {};
|
|
18
|
+
__export(exports_instructions5, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions5,
|
|
20
|
+
make: () => make15,
|
|
21
|
+
render: () => render3,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -34,7 +34,7 @@ Call \`search(...)\` to discover exact paths and signatures for additional tools
|
|
|
34
34
|
- ${searchSignature}` : ""}
|
|
35
35
|
|
|
36
36
|
## Available tools`;
|
|
37
|
-
function
|
|
37
|
+
function render3(catalog) {
|
|
38
38
|
if (catalog.total === 0)
|
|
39
39
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
40
40
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -48,7 +48,7 @@ ${tools.join(`
|
|
|
48
48
|
function update3(previous, current) {
|
|
49
49
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
50
50
|
|
|
51
|
-
${
|
|
51
|
+
${render3(current)}`;
|
|
52
52
|
if (current.total === 0)
|
|
53
53
|
return replacement;
|
|
54
54
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -111,20 +111,20 @@ ${render2(current)}`;
|
|
|
111
111
|
return delta;
|
|
112
112
|
return replacement;
|
|
113
113
|
}
|
|
114
|
-
var key =
|
|
114
|
+
var key = Key4.make("core/codemode");
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
|
-
var
|
|
116
|
+
var make15 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
|
-
return
|
|
118
|
+
return make21({
|
|
119
119
|
key,
|
|
120
120
|
codec,
|
|
121
121
|
read: Effect.succeed(catalog),
|
|
122
122
|
render: {
|
|
123
|
-
initial:
|
|
123
|
+
initial: render3,
|
|
124
124
|
changed: update3,
|
|
125
125
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export {
|
|
130
|
+
export { render3, update3, make15, exports_instructions5 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./repository-63xeamm2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node82
|
|
8
|
+
} from "./repository-56gxsabx.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-kg06axw8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event7,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service24,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node28
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event7 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input13 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID4,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service24 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service78;
|
|
70
|
+
const kv = yield* Service77;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service24.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node28 = makeLocationNode({
|
|
188
|
+
service: Service24,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node83, node82]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service24, node28, exports_websearch3, Event7 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
9
|
make: () => make14,
|
|
10
|
-
render: () =>
|
|
10
|
+
render: () => render2
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -30,9 +30,9 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
|
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
32
|
function make14(tools) {
|
|
33
|
-
return
|
|
33
|
+
return render2(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render2(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export { make14,
|
|
50
|
+
export { make14, render2, exports_system_prompt };
|