@opencode/core 0.0.0-dev-19427 → 0.0.0-dev-19431
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 +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{config-0gdmqesm.js → wellknown-02nrjc1r.js} +8 -8
- package/dist/chunks/{config-b4aanydw.js → wellknown-04ssnwna.js} +4 -4
- package/dist/chunks/{config-m80ew2zz.js → wellknown-095gdp9m.js} +17 -17
- package/dist/chunks/{config-pghpsfx8.js → wellknown-0ctr31hs.js} +35 -35
- package/dist/chunks/{config-m4kgf6ca.js → wellknown-0kwzbffd.js} +9 -9
- package/dist/chunks/{config-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-0q0f95c6.js → wellknown-0q0f95c6.js} +1 -1
- package/dist/chunks/{config-c1j4d1x8.js → wellknown-0wfdzdq3.js} +23 -23
- package/dist/chunks/{config-s1x6275h.js → wellknown-1165fzrv.js} +13 -13
- package/dist/chunks/{config-d47m9tc9.js → wellknown-18by6sjk.js} +7 -7
- package/dist/chunks/{config-m0yean37.js → wellknown-196paj9n.js} +8 -8
- package/dist/chunks/{config-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-98k0cdha.js → wellknown-1ddn4jy6.js} +6 -6
- package/dist/chunks/{config-26ym7a2d.js → wellknown-1hc11dc4.js} +4 -4
- package/dist/chunks/{config-d2kzsg1r.js → wellknown-1mh8etnz.js} +4 -4
- package/dist/chunks/{config-jrrv4qtc.js → wellknown-1r38sc4d.js} +15 -15
- package/dist/chunks/{config-4wtpxfp6.js → wellknown-1rvsq380.js} +19 -19
- package/dist/chunks/{config-ns8hfw5m.js → wellknown-1vsws4am.js} +13 -13
- package/dist/chunks/{config-716zws2t.js → wellknown-20rbm92a.js} +5 -5
- package/dist/chunks/{config-21r38tys.js → wellknown-21r38tys.js} +1 -1
- package/dist/chunks/{config-0y0fy2ct.js → wellknown-228k2fda.js} +18 -18
- package/dist/chunks/{config-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-vyt5132f.js → wellknown-2bjwqrsv.js} +15 -15
- package/dist/chunks/{config-h7ygw6q4.js → wellknown-2bt6bea8.js} +9 -9
- package/dist/chunks/{config-va1yysyv.js → wellknown-2dmq7m27.js} +14 -14
- package/dist/chunks/{config-mcjr5rma.js → wellknown-2mxnmxmz.js} +10 -10
- package/dist/chunks/{config-7zgw0769.js → wellknown-2nv250mg.js} +39 -39
- package/dist/chunks/{config-kc19q4nv.js → wellknown-2pyrnscj.js} +18 -18
- package/dist/chunks/{config-1ak7w0y1.js → wellknown-2w6fwzk8.js} +4 -4
- package/dist/chunks/{config-8rahwd83.js → wellknown-3e8rswg6.js} +17 -17
- package/dist/chunks/{config-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-0nes75s0.js → wellknown-3frjhckz.js} +6 -6
- package/dist/chunks/{config-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-b10jyp57.js → wellknown-3q1jyqhd.js} +1 -1
- package/dist/chunks/{config-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-7jj9ww0g.js → wellknown-3tet443m.js} +18 -18
- package/dist/chunks/{config-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-cwjx0559.js → wellknown-3vnzk02n.js} +24 -24
- package/dist/chunks/{config-m3wg7f1z.js → wellknown-4nqwrsa4.js} +10 -10
- package/dist/chunks/{config-jcqksr1s.js → wellknown-4t7yv6cz.js} +13 -13
- package/dist/chunks/{config-yn68rwy1.js → wellknown-4yhwp5g3.js} +4 -4
- package/dist/chunks/{config-mzykdn05.js → wellknown-50m81vcj.js} +10 -10
- package/dist/chunks/{config-1ygqh575.js → wellknown-56gdpj1q.js} +9 -9
- package/dist/chunks/{config-a1bz86dw.js → wellknown-5c4hm403.js} +3 -3
- package/dist/chunks/{config-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
- package/dist/chunks/{config-z2e219bb.js → wellknown-5jqc5sqp.js} +24 -24
- package/dist/chunks/{config-fhhh5fpv.js → wellknown-5kgzrmgs.js} +22 -22
- package/dist/chunks/{config-tayccbp0.js → wellknown-5kmes5qd.js} +5 -5
- package/dist/chunks/{config-ghdn73s2.js → wellknown-5mc07s0f.js} +11 -11
- package/dist/chunks/{config-xwr11g7g.js → wellknown-5n9s6qa4.js} +9 -9
- package/dist/chunks/{config-6v1tvx37.js → wellknown-5rcbg160.js} +23 -23
- package/dist/chunks/{config-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-669tq793.js → wellknown-669tq793.js} +1 -1
- package/dist/chunks/{config-g36pzvek.js → wellknown-6g1fts0a.js} +41 -41
- package/dist/chunks/{config-6h73sxmp.js → wellknown-6h73sxmp.js} +1 -1
- package/dist/chunks/{config-04sbkdwc.js → wellknown-6mgsefek.js} +2 -2
- package/dist/chunks/{config-6msgmcgs.js → wellknown-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-v84z85pp.js → wellknown-6xscg6ph.js} +7 -7
- package/dist/chunks/{config-71q4at8m.js → wellknown-71q4at8m.js} +1 -1
- package/dist/chunks/{config-jarjgmjf.js → wellknown-74m7wsss.js} +14 -14
- package/dist/chunks/{config-3t4rpvx0.js → wellknown-787q5hy4.js} +3 -3
- package/dist/chunks/{config-080jjftm.js → wellknown-7b1xt4jx.js} +38 -38
- package/dist/chunks/{config-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-5zpyp4z2.js → wellknown-7jd5w2z6.js} +9 -9
- package/dist/chunks/{config-0y4a2eys.js → wellknown-7sb0gw8v.js} +2 -2
- package/dist/chunks/{config-5pffmstf.js → wellknown-7tzt44kv.js} +3 -3
- package/dist/chunks/{config-byp1chnz.js → wellknown-81swgkk7.js} +9 -9
- package/dist/chunks/{config-g02c2j6c.js → wellknown-82xhzzzv.js} +18 -18
- package/dist/chunks/{config-73qe7w20.js → wellknown-837kr0g5.js} +35 -35
- package/dist/chunks/{config-yhm50jqs.js → wellknown-88sv3a8w.js} +16 -16
- package/dist/chunks/{config-6be0w3hg.js → wellknown-8d4hgzq6.js} +24 -24
- package/dist/chunks/{config-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-xj97y6sx.js → wellknown-8d8vxetm.js} +44 -44
- package/dist/chunks/{config-q879j799.js → wellknown-8gg8at11.js} +26 -26
- package/dist/chunks/{config-yy11cnfq.js → wellknown-8rkr9qb0.js} +5 -5
- package/dist/chunks/{config-6df1nwa0.js → wellknown-8tbhxwqj.js} +10 -10
- package/dist/chunks/{config-desmpezp.js → wellknown-900x53hk.js} +43 -43
- package/dist/chunks/{config-cqegaqd0.js → wellknown-9588gbpa.js} +41 -41
- package/dist/chunks/{config-bgdg82ee.js → wellknown-9ah46qnh.js} +3 -3
- package/dist/chunks/{config-ve6nm2s5.js → wellknown-9c7cwdaf.js} +6 -6
- package/dist/chunks/{config-tgysfc69.js → wellknown-9g39sx5s.js} +9 -9
- package/dist/chunks/{config-0r543n7w.js → wellknown-9vez9d28.js} +9 -9
- package/dist/chunks/{config-az4749a7.js → wellknown-9y8671sk.js} +5 -5
- package/dist/chunks/{config-mbnc4twk.js → wellknown-a0s8g8r8.js} +18 -18
- package/dist/chunks/{config-63fj94e7.js → wellknown-a0s8jv85.js} +11 -11
- package/dist/chunks/wellknown-a4723tnb.js +247 -0
- package/dist/chunks/{config-mv54rrkq.js → wellknown-a54cm72e.js} +1 -1
- package/dist/chunks/{config-e0fydr9g.js → wellknown-a820x4jn.js} +17 -17
- package/dist/chunks/{config-qq71fy0p.js → wellknown-a8cvaywe.js} +22 -22
- package/dist/chunks/{config-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
- package/dist/chunks/{config-kw9fkdsd.js → wellknown-ad2yvbkp.js} +15 -15
- package/dist/chunks/{config-s9mkjwxj.js → wellknown-adbeyv6h.js} +23 -23
- package/dist/chunks/{config-18300jzq.js → wellknown-ajq719v1.js} +11 -11
- package/dist/chunks/{config-967d7zym.js → wellknown-axbt4x3w.js} +32 -32
- package/dist/chunks/{config-t9j7pbck.js → wellknown-b02bgaz4.js} +22 -22
- package/dist/chunks/{config-w097dxjk.js → wellknown-b0mr3jnb.js} +26 -26
- package/dist/chunks/{config-5b05e64m.js → wellknown-b0xv7fv1.js} +21 -21
- package/dist/chunks/{config-d3xzc5yd.js → wellknown-b1sd7bew.js} +30 -30
- package/dist/chunks/{config-nhbeg3qa.js → wellknown-b6437q7d.js} +11 -11
- package/dist/chunks/{config-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-5n1g8faq.js → wellknown-ba13aqv9.js} +25 -25
- package/dist/chunks/{config-hyj2vz80.js → wellknown-bcn5dnkb.js} +4 -4
- package/dist/chunks/{config-e0vtkr8g.js → wellknown-c0gy5km3.js} +6 -6
- package/dist/chunks/{config-0cyncc7e.js → wellknown-c438309d.js} +11 -11
- package/dist/chunks/{config-3ythc6yv.js → wellknown-c5gn303e.js} +4 -4
- package/dist/chunks/{config-3n4jppc0.js → wellknown-cavnh2xx.js} +6 -6
- package/dist/chunks/{config-nw3ed1mk.js → wellknown-ccg31c11.js} +47 -47
- package/dist/chunks/{config-0jx2kcb6.js → wellknown-ceanckhm.js} +1 -1
- package/dist/chunks/{config-h2mpge2c.js → wellknown-cgay140m.js} +13 -13
- package/dist/chunks/{config-5cphae0w.js → wellknown-ckea2n89.js} +30 -30
- package/dist/chunks/{config-7z8hcgfe.js → wellknown-d5hhvd7t.js} +43 -43
- package/dist/chunks/{config-rpqwx9z1.js → wellknown-daky8ak7.js} +24 -24
- package/dist/chunks/{config-zcrspsvn.js → wellknown-dhmh7aw6.js} +4 -4
- package/dist/chunks/{config-8p4f9s12.js → wellknown-dj2t23y0.js} +2 -2
- package/dist/chunks/{config-fbjpvkak.js → wellknown-drfneyqc.js} +6 -6
- package/dist/chunks/wellknown-dxj72tfx.js +18 -0
- package/dist/chunks/{config-rncrryjg.js → wellknown-e2mjwr1a.js} +29 -29
- package/dist/chunks/{config-2vem9984.js → wellknown-e4cbaens.js} +9 -9
- package/dist/chunks/{config-7jkg984e.js → wellknown-e7f0s3sx.js} +5 -5
- package/dist/chunks/{config-rmmx4qnr.js → wellknown-e9t4j61t.js} +4 -4
- package/dist/chunks/{config-xx23fqgj.js → wellknown-edtyxv01.js} +20 -20
- package/dist/chunks/{config-f8khf541.js → wellknown-egkyg8tp.js} +7 -7
- package/dist/chunks/{config-rp8qt6s9.js → wellknown-eshz126w.js} +24 -24
- package/dist/chunks/{config-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-61fyb2a3.js → wellknown-f16rvdaj.js} +22 -22
- package/dist/chunks/{config-yzvghwtp.js → wellknown-f18mrdtc.js} +23 -23
- package/dist/chunks/{config-74c01z77.js → wellknown-f9katak3.js} +46 -46
- package/dist/chunks/{config-8x96bj0m.js → wellknown-fdv30zvt.js} +4 -4
- package/dist/chunks/{config-4p9erpdr.js → wellknown-fg0hzth7.js} +8 -8
- package/dist/chunks/{config-1nawpdar.js → wellknown-fgjt84w1.js} +19 -19
- package/dist/chunks/{config-5kptn8c0.js → wellknown-fjmrr6sh.js} +9 -9
- package/dist/chunks/{config-7cgwyxtc.js → wellknown-frk6nvt3.js} +18 -18
- package/dist/chunks/{config-2pkcpn7k.js → wellknown-fsjza8dz.js} +20 -20
- package/dist/chunks/{config-fxbjtjnd.js → wellknown-fxbjtjnd.js} +1 -1
- package/dist/chunks/{config-yzr0k2jx.js → wellknown-fxmk9gfa.js} +17 -17
- package/dist/chunks/{config-7dab4f7d.js → wellknown-fyts4tpe.js} +30 -30
- package/dist/chunks/{config-v5dm1t52.js → wellknown-g4pd8jp4.js} +18 -18
- package/dist/chunks/{config-nhzetgd2.js → wellknown-g5h6njp0.js} +13 -13
- package/dist/chunks/{config-9af4hgzp.js → wellknown-g8p6qmq8.js} +15 -15
- package/dist/chunks/{config-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-rj8xn73b.js → wellknown-gdpq0ckt.js} +4 -4
- package/dist/chunks/{config-x5m8r6tq.js → wellknown-gept72jd.js} +36 -36
- package/dist/chunks/{config-x07swckw.js → wellknown-gqjc2j8w.js} +11 -11
- package/dist/chunks/wellknown-gytcnbap.js +22 -0
- package/dist/chunks/{config-h03wrkyp.js → wellknown-h03wrkyp.js} +2 -2
- package/dist/chunks/{config-e8fqe44x.js → wellknown-h5325qgz.js} +27 -27
- package/dist/chunks/{config-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-y733bjqp.js → wellknown-hbgnkwvx.js} +15 -15
- package/dist/chunks/{config-f828m53h.js → wellknown-hdnk95c8.js} +2 -2
- package/dist/chunks/{config-df2wv8bx.js → wellknown-hdv4kbhc.js} +10 -10
- package/dist/chunks/{config-5908qhdy.js → wellknown-hnyvhsj1.js} +14 -14
- package/dist/chunks/{config-zecem4fz.js → wellknown-hw5zatr6.js} +172 -172
- package/dist/chunks/{config-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
- package/dist/chunks/{config-7dexpn2v.js → wellknown-j89dhwny.js} +32 -32
- package/dist/chunks/{config-c4dahkdv.js → wellknown-jfkjrwd6.js} +4 -4
- package/dist/chunks/{config-mb7tvf4x.js → wellknown-jh6dhq8h.js} +33 -33
- package/dist/chunks/{config-121k57vw.js → wellknown-jj63jgrn.js} +4 -4
- package/dist/chunks/{config-smssq42f.js → wellknown-jm9yp3wk.js} +9 -9
- package/dist/chunks/{config-jrzxfgsz.js → wellknown-jsxty42z.js} +5 -5
- package/dist/chunks/{config-hpz3494e.js → wellknown-kaj30qh4.js} +23 -23
- package/dist/chunks/{config-dv1qgsyq.js → wellknown-kbmmzrfa.js} +8 -8
- package/dist/chunks/{config-kg06axw8.js → wellknown-kg06axw8.js} +1 -1
- package/dist/chunks/{config-zkes3v37.js → wellknown-kh3jnqzr.js} +8 -8
- package/dist/chunks/{config-tewgewgq.js → wellknown-khn3zewm.js} +13 -13
- package/dist/chunks/{config-4d0h0zpx.js → wellknown-ktczpzsq.js} +6 -6
- package/dist/chunks/{config-8pkvmqn2.js → wellknown-kx71qmfd.js} +1 -1
- package/dist/chunks/{config-qq8x5mwt.js → wellknown-kzh6gfbz.js} +7 -7
- package/dist/chunks/{config-cfpkc3c9.js → wellknown-m0jqrx5p.js} +2 -2
- package/dist/chunks/{config-w2t9q7d6.js → wellknown-m1m6fjnw.js} +35 -35
- package/dist/chunks/{config-k1dcmph1.js → wellknown-m3g11tvf.js} +8 -8
- package/dist/chunks/{config-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-xy3hb6gv.js → wellknown-ma6ycfp0.js} +3 -3
- package/dist/chunks/{config-xdk9p2qn.js → wellknown-magykp64.js} +21 -21
- package/dist/chunks/{config-mkcjrzeh.js → wellknown-mkcjrzeh.js} +1 -1
- package/dist/chunks/{config-kyrbgmgz.js → wellknown-mn5tqr63.js} +6 -6
- package/dist/chunks/{config-zcrpa3mr.js → wellknown-mqh6yhwz.js} +7 -7
- package/dist/chunks/{config-5jsk88ac.js → wellknown-n07zvns7.js} +81 -81
- package/dist/chunks/{config-4fnmr1se.js → wellknown-n136tsdt.js} +24 -24
- package/dist/chunks/{config-52y26kps.js → wellknown-n635ksnc.js} +5 -5
- package/dist/chunks/{config-kgs2gyn8.js → wellknown-n834bds2.js} +15 -15
- package/dist/chunks/{config-nhy5jxhy.js → wellknown-nhy5jxhy.js} +1 -1
- package/dist/chunks/{config-fkya8xgs.js → wellknown-nrypwx75.js} +25 -25
- package/dist/chunks/{config-q6jxhr7p.js → wellknown-p5xyv7pn.js} +12 -12
- package/dist/chunks/{config-kjmc9q6p.js → wellknown-p7m6r6b6.js} +6 -6
- package/dist/chunks/{config-2aer1yk3.js → wellknown-pagzwejb.js} +25 -25
- package/dist/chunks/{config-j935v87r.js → wellknown-paphc93g.js} +2 -2
- package/dist/chunks/{config-2s3vs4q7.js → wellknown-pgahjbda.js} +10 -10
- package/dist/chunks/{config-snx4kq1r.js → wellknown-pj81m1sj.js} +59 -59
- package/dist/chunks/{config-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{config-ytfft4zc.js → wellknown-pmcj00xg.js} +4 -4
- package/dist/chunks/{config-ve4pfa0n.js → wellknown-pmr4s4kc.js} +4 -4
- package/dist/chunks/{config-9b00c1fb.js → wellknown-q17z9dx8.js} +5 -5
- package/dist/chunks/{config-jzd3jr9p.js → wellknown-q1b6gr3p.js} +17 -17
- package/dist/chunks/{config-vkxpz7g2.js → wellknown-q1h4ggtj.js} +4 -4
- package/dist/chunks/{config-8q7vzyvq.js → wellknown-q4rs3jkh.js} +15 -15
- package/dist/chunks/{config-2d57kztd.js → wellknown-q5t0te5a.js} +4 -4
- package/dist/chunks/{config-b2r3edrw.js → wellknown-q8h1e6nq.js} +9 -9
- package/dist/chunks/{config-5kp564w1.js → wellknown-qdr6w09k.js} +11 -11
- package/dist/chunks/{config-3rjjvc4m.js → wellknown-qehyq9cc.js} +9 -9
- package/dist/chunks/{config-fcrkznn8.js → wellknown-qgn6gcr1.js} +5 -5
- package/dist/chunks/{config-e43gp79w.js → wellknown-qj48zm78.js} +18 -18
- package/dist/chunks/{config-hnr5yq9h.js → wellknown-qjnxxf51.js} +5 -5
- package/dist/chunks/{config-h0n719fv.js → wellknown-qmy1dnxe.js} +24 -24
- package/dist/chunks/{config-98zkxtvb.js → wellknown-qn1pawzn.js} +55 -55
- package/dist/chunks/{config-f7waqs9s.js → wellknown-qptz43e7.js} +11 -11
- package/dist/chunks/{config-qs001aqx.js → wellknown-qq1c0rfq.js} +11 -11
- package/dist/chunks/{config-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
- package/dist/chunks/{config-862gqftt.js → wellknown-qvgcjadf.js} +1 -1
- package/dist/chunks/{config-jke8kf8k.js → wellknown-qw1nc14v.js} +20 -20
- package/dist/chunks/{config-e5vktses.js → wellknown-qwd4j9zj.js} +12 -12
- package/dist/chunks/{config-5webd478.js → wellknown-r2wet1p6.js} +20 -20
- package/dist/chunks/{config-hc9y5yrm.js → wellknown-r4ewzg2z.js} +16 -16
- package/dist/chunks/{config-73tb2d7t.js → wellknown-r5x6zcsm.js} +3 -3
- package/dist/chunks/{config-f2n192rq.js → wellknown-r8xr0va3.js} +4 -4
- package/dist/chunks/{config-0rjbp7af.js → wellknown-rersy9yg.js} +3 -3
- package/dist/chunks/{config-vh7c63t2.js → wellknown-rm2ff3bp.js} +18 -18
- package/dist/chunks/{config-3cwb9jzf.js → wellknown-rmdyxgmk.js} +8 -8
- package/dist/chunks/{config-wn0rwpc4.js → wellknown-rq5wdrj2.js} +8 -8
- package/dist/chunks/{config-pp9bqr7w.js → wellknown-rqp16f7y.js} +20 -20
- package/dist/chunks/{config-ze5v0a14.js → wellknown-rtathh62.js} +8 -8
- package/dist/chunks/{config-r1pwacvm.js → wellknown-rvtwd3yj.js} +36 -36
- package/dist/chunks/{config-kfyjm1bj.js → wellknown-rx3h63rs.js} +17 -17
- package/dist/chunks/{config-fq5tybeh.js → wellknown-s4gwknv2.js} +14 -14
- package/dist/chunks/{config-3cz8rj72.js → wellknown-s8zy8myc.js} +5 -5
- package/dist/chunks/{config-ftwyyc7q.js → wellknown-sc8qxpfy.js} +11 -11
- package/dist/chunks/{config-kgzd18rf.js → wellknown-sjq8935c.js} +28 -28
- package/dist/chunks/{config-y4xy21re.js → wellknown-sk37m034.js} +12 -12
- package/dist/chunks/{config-94hawnvy.js → wellknown-skkegfc4.js} +10 -10
- package/dist/chunks/{config-7wwq8wqs.js → wellknown-spf23xz3.js} +41 -41
- package/dist/chunks/{config-2t4fwem2.js → wellknown-sqc1mbat.js} +20 -20
- package/dist/chunks/{config-b4jw9d4v.js → wellknown-sxc4n3b4.js} +1 -1
- package/dist/chunks/{config-ag9w8cw1.js → wellknown-t0fxg8b9.js} +5 -5
- package/dist/chunks/{config-5pdzgdxg.js → wellknown-t2w3xr5a.js} +2 -2
- package/dist/chunks/{config-pbvcetj3.js → wellknown-t8cqswnp.js} +20 -20
- package/dist/chunks/{config-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tcezcvh9.js → wellknown-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → wellknown-tdstcens.js} +1 -1
- package/dist/chunks/{config-r43g2czz.js → wellknown-tgggdv5e.js} +16 -16
- package/dist/chunks/{config-th5km1p3.js → wellknown-th5km1p3.js} +2 -2
- package/dist/chunks/{config-vts1skcq.js → wellknown-tj1q2scr.js} +17 -17
- package/dist/chunks/{config-pxa5mnve.js → wellknown-tkqmbdwd.js} +33 -33
- package/dist/chunks/{config-tvtrv512.js → wellknown-tvtrv512.js} +1 -1
- package/dist/chunks/{config-j2qn64gj.js → wellknown-tx7nxe6e.js} +11 -11
- package/dist/chunks/{config-w6zk8pbt.js → wellknown-v3jp6byb.js} +8 -8
- package/dist/chunks/{config-hzcq6r0f.js → wellknown-v8sve7zh.js} +20 -20
- package/dist/chunks/{config-fmr28pax.js → wellknown-vd0xk4sc.js} +9 -9
- package/dist/chunks/{config-y5qhjknn.js → wellknown-vdx4y0d9.js} +7 -7
- package/dist/chunks/{config-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{config-grqp3cmb.js → wellknown-vjnb44yt.js} +3 -3
- package/dist/chunks/{config-qwkmaj58.js → wellknown-vsmeezbe.js} +63 -63
- package/dist/chunks/{config-vzcthcp8.js → wellknown-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-jr2wm6h1.js → wellknown-wbt7ywgk.js} +78 -78
- package/dist/chunks/{config-jnykdmk9.js → wellknown-wc38272m.js} +24 -24
- package/dist/chunks/{config-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{config-mkh51v61.js → wellknown-wk58jv74.js} +10 -10
- package/dist/chunks/{config-e3zqxkjh.js → wellknown-ww0rczpm.js} +25 -25
- package/dist/chunks/{config-j5b0wgyp.js → wellknown-x0hpdvpn.js} +295 -295
- package/dist/chunks/{config-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-x43y2vfs.js → wellknown-x43y2vfs.js} +2 -2
- package/dist/chunks/{config-0996nyz8.js → wellknown-xhmq8qgk.js} +9 -9
- package/dist/chunks/{config-tcerhjb9.js → wellknown-xjrtztjf.js} +18 -18
- package/dist/chunks/{config-f65gecnf.js → wellknown-xpex9dgw.js} +19 -19
- package/dist/chunks/{config-7xn0ak3t.js → wellknown-xzh4dvk0.js} +41 -41
- package/dist/chunks/{config-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-ev1z17mg.js → wellknown-y5n0rpyq.js} +1 -1
- package/dist/chunks/{config-y71avatq.js → wellknown-y71avatq.js} +1 -1
- package/dist/chunks/{config-yddgxcp4.js → wellknown-yddgxcp4.js} +2 -2
- package/dist/chunks/{config-e7vjb8xb.js → wellknown-yef8cfd3.js} +18 -18
- package/dist/chunks/{config-yrhqyw5v.js → wellknown-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-s4enseaf.js → wellknown-yrznvahk.js} +2 -2
- package/dist/chunks/{config-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-29x78va6.js → wellknown-z63w68vq.js} +6 -6
- package/dist/chunks/{config-zpv3n05j.js → wellknown-z6xqx8vg.js} +30 -30
- package/dist/chunks/{config-qstjqs7y.js → wellknown-z92e5j38.js} +1 -1
- package/dist/chunks/{config-83d60b5q.js → wellknown-zdvsaw25.js} +11 -11
- package/dist/chunks/{config-zeh9ct20.js → wellknown-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
- package/dist/chunks/{config-6xw6hfxy.js → wellknown-zy1b9mj0.js} +24 -24
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- 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 +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.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 +74 -74
- 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 +1 -1
- 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 +68 -68
- 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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- 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 +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +89 -89
- 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 +7 -7
- 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 +81 -81
- 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 +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- 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 +101 -101
- package/dist/mcp/instructions.js +122 -122
- 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 +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- 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 +114 -114
- 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 +3 -3
- 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 +4 -4
- 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 +80 -80
- 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 +84 -84
- package/dist/reference.js +86 -86
- 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 +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- 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 +75 -75
- 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 +109 -109
- package/dist/session/model-transport.js +5 -5
- 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 +167 -167
- 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 +71 -71
- 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 +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- 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 +11 -11
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +98 -98
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +88 -88
- 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 +119 -119
- 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 +117 -117
- package/dist/tool/plugin/question.js +96 -96
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- 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 +9 -9
- 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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +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 +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- 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 → wellknown-0mesazry.js} +0 -0
- /package/dist/chunks/{config-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → wellknown-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → wellknown-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{config-hrnqkpcd.js → wellknown-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-twg0f83k.js → wellknown-twg0f83k.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make18
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make18 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make15 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make18, exports_run_coordinator };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./wellknown-y5n0rpyq.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-ma6ycfp0.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -4,28 +4,28 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-x43y2vfs.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-kg06axw8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service72,
|
|
17
|
+
node77
|
|
18
|
+
} from "./wellknown-7jd5w2z6.js";
|
|
19
19
|
import {
|
|
20
20
|
Service73,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node78
|
|
22
|
+
} from "./wellknown-jj63jgrn.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./wellknown-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_tool, {
|
|
|
35
35
|
Error: () => Error5,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service71,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
41
|
node: () => node76
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service71 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
56
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
57
57
|
const hooks = yield* Service73;
|
|
58
|
-
const image = yield*
|
|
58
|
+
const image = yield* Service72;
|
|
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 Service71.of({
|
|
184
184
|
transform: state.transform,
|
|
185
185
|
reload: state.reload,
|
|
186
186
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -263,9 +263,9 @@ function namespaceError(name) {
|
|
|
263
263
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
264
264
|
}
|
|
265
265
|
var node76 = makeLocationNode({
|
|
266
|
-
service:
|
|
266
|
+
service: Service71,
|
|
267
267
|
layer,
|
|
268
|
-
deps: [
|
|
268
|
+
deps: [node78, node77]
|
|
269
269
|
});
|
|
270
270
|
|
|
271
|
-
export { RegistrationError2,
|
|
271
|
+
export { RegistrationError2, Service71, node76, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service36,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node40
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service36 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service36, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service36.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service35, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node40 = makeGlobalNode({ service: Service36, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service36, node40, exports_environment };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-tx7nxe6e.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin35,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin35 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin6 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin6 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin35, exports_tavily };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-gdpq0ckt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./wellknown-tj1q2scr.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info5,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service34,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node38
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service34 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service34.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node38 = makeLocationNode({
|
|
165
|
+
service: Service34,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node81, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service34, node38, exports_vcs };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin34,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin34 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin7 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint2);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint2, Plugin34, exports_exa };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./wellknown-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service76
|
|
8
|
+
} from "./wellknown-tj1q2scr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service40
|
|
11
|
+
} from "./wellknown-zy1b9mj0.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service74
|
|
14
|
+
} from "./wellknown-82xhzzzv.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service13,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-4t7yv6cz.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service67
|
|
22
|
+
} from "./wellknown-pj81m1sj.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service17,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./wellknown-g4pd8jp4.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./wellknown-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input4,
|
|
39
|
+
Output: () => Output3,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin23,
|
|
42
|
+
name: () => name4,
|
|
43
|
+
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name4 = "patch";
|
|
89
|
+
var Input4 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output3 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent4 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin23 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service40;
|
|
112
|
+
const access = yield* Service17;
|
|
113
|
+
const fileMutation = yield* Service13;
|
|
114
|
+
const formatter = yield* Service74;
|
|
115
|
+
const location = yield* Service76;
|
|
116
|
+
const permission = yield* Service67;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name4,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input4,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin26 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent4(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -323,4 +323,4 @@ function trimDiff(diff) {
|
|
|
323
323
|
`);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { name4, Input4, Applied2, Output3, toModelContent4, Plugin23, exports_patch };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-tx7nxe6e.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-gdpq0ckt.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event12,
|
|
10
|
+
Service57
|
|
11
|
+
} from "./wellknown-fyts4tpe.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID7,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service56
|
|
16
|
+
} from "./wellknown-ckea2n89.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./wellknown-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID11
|
|
23
|
+
} from "./wellknown-m3g11tvf.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./wellknown-mqh6yhwz.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID11.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID7.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service57;
|
|
57
|
+
const integrations = yield* Service56;
|
|
58
58
|
const bus = yield* Service79;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -178,7 +178,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
178
178
|
model.settings.baseURL = endpoint(model.settings.baseURL, account.value);
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
|
-
yield* bus.subscribe(
|
|
181
|
+
yield* bus.subscribe(Event12.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
182
182
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
183
183
|
const token = envToken();
|
|
184
184
|
if (token)
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-gdpq0ckt.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event12
|
|
7
|
+
} from "./wellknown-fyts4tpe.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID7,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-ckea2n89.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID11,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-m3g11tvf.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID4,
|
|
19
19
|
Input14,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./wellknown-kaj30qh4.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID4
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID7.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
|
|
|
125
125
|
catalog.provider.update(providerID, (provider) => {
|
|
126
126
|
if (source && source.provider !== provider)
|
|
127
127
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
128
|
-
provider.integrationID =
|
|
128
|
+
provider.integrationID = ID7.make("opencode");
|
|
129
129
|
if (item.canonical !== undefined)
|
|
130
130
|
provider.canonical = item.canonical;
|
|
131
131
|
if (item.name !== undefined)
|
|
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
|
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
const item = catalog.provider.get(
|
|
191
|
+
const item = catalog.provider.get(ID11.opencode);
|
|
192
192
|
if (!item)
|
|
193
193
|
return;
|
|
194
194
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
250
250
|
});
|
|
251
251
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
252
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event12.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
254
254
|
})
|
|
255
255
|
});
|