@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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-gdpq0ckt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service57,
|
|
8
|
+
node62
|
|
9
|
+
} from "./wellknown-fyts4tpe.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-ba13aqv9.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event11,
|
|
34
|
+
ID: () => ID7,
|
|
35
|
+
Info: () => Info19,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
|
-
Ref: () =>
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
41
|
+
Ref: () => Ref2,
|
|
42
|
+
Service: () => Service56,
|
|
43
|
+
node: () => node61
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event11 } from "@opencode/schema/integration";
|
|
65
|
+
var ID7 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info19 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -85,15 +85,15 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
85
85
|
cause: Schema.Defect()
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Ref2 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service56 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
95
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service57;
|
|
97
97
|
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info19.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
271
271
|
const persistence = yield* createCredential({
|
|
272
272
|
integrationID: attempt.integrationID,
|
|
273
273
|
label: attempt.label,
|
|
274
|
-
value:
|
|
274
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
275
275
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
276
276
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
277
277
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service56.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
438
438
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
439
439
|
if (connection.type === "env") {
|
|
440
440
|
const key = process.env[connection.name];
|
|
441
|
-
return key ?
|
|
441
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
442
442
|
}
|
|
443
443
|
const credential = yield* credentials.get(connection.id);
|
|
444
444
|
if (!credential)
|
|
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
471
471
|
yield* createCredential({
|
|
472
472
|
integrationID: input.integrationID,
|
|
473
473
|
label: input.label,
|
|
474
|
-
value:
|
|
474
|
+
value: Key3.make({
|
|
475
475
|
type: "key",
|
|
476
476
|
key: input.key,
|
|
477
477
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node61 = makeLocationNode({
|
|
569
|
+
service: Service56,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node62, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID7, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info19, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service56, node61, exports_integration, Event11 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-gdpq0ckt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event12,
|
|
7
|
+
Service57,
|
|
8
|
+
node62
|
|
9
|
+
} from "./wellknown-fyts4tpe.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service38,
|
|
12
|
+
node42
|
|
13
|
+
} from "./wellknown-wc38272m.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node81
|
|
20
|
+
} from "./wellknown-tj1q2scr.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./wellknown-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./wellknown-5jqc5sqp.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./wellknown-5kmes5qd.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./wellknown-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service65,
|
|
36
|
+
Event16,
|
|
37
|
+
node70
|
|
38
|
+
} from "./wellknown-qj48zm78.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options6,
|
|
48
|
+
Service: () => Service37,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured6,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer16,
|
|
53
|
+
node: () => node41,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,14 +71,14 @@ import { Global } from "@opencode/util/global";
|
|
|
71
71
|
function latest2(entries, key) {
|
|
72
72
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
73
73
|
}
|
|
74
|
-
var
|
|
74
|
+
var Options6 = Schema.Struct({
|
|
75
75
|
project: Schema.optional(Schema.Boolean),
|
|
76
76
|
global: Schema.optional(Schema.Boolean),
|
|
77
77
|
file: Schema.optional(Schema.String),
|
|
78
78
|
content: Schema.optional(Schema.String)
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service37 extends Context.Service()("@opencode/Config") {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
|
|
|
92
92
|
setEntries: (next) => Ref.set(entries, next),
|
|
93
93
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
94
94
|
});
|
|
95
|
-
return Context.empty().pipe(Context.add(
|
|
95
|
+
return Context.empty().pipe(Context.add(Service37, service), Context.add(Test2, service));
|
|
96
96
|
}));
|
|
97
|
-
var
|
|
97
|
+
var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const location = yield*
|
|
100
|
-
const watcher = yield*
|
|
99
|
+
const location = yield* Service76;
|
|
100
|
+
const watcher = yield* Service38;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
|
-
const credentials = yield*
|
|
103
|
-
const wellknown = yield*
|
|
102
|
+
const credentials = yield* Service57;
|
|
103
|
+
const wellknown = yield* Service65;
|
|
104
104
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
105
105
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
106
106
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
@@ -223,8 +223,8 @@ var layer21 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
223
223
|
}, (effect) => reloadLock.withPermit(effect));
|
|
224
224
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
225
225
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
|
-
yield* bus.subscribe(
|
|
227
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event12.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
227
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
228
228
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
229
229
|
if (!wellknown.snapshot().length)
|
|
230
230
|
return Effect.void;
|
|
@@ -235,20 +235,20 @@ var layer21 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
|
235
235
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
236
236
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
237
237
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
238
|
-
return
|
|
238
|
+
return Service37.of({
|
|
239
239
|
entries: Effect.fnUntraced(function* () {
|
|
240
240
|
return configs;
|
|
241
241
|
}),
|
|
242
242
|
changes: () => Stream.fromPubSub(updates)
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
function
|
|
245
|
+
function configured6(options) {
|
|
246
246
|
return makeLocationNode({
|
|
247
|
-
service:
|
|
248
|
-
layer:
|
|
249
|
-
deps: [
|
|
247
|
+
service: Service37,
|
|
248
|
+
layer: layer16(options),
|
|
249
|
+
deps: [node42, node84, FSUtil.node, Global.node, node81, node62, node70]
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
|
-
var
|
|
252
|
+
var node41 = configured6();
|
|
253
253
|
|
|
254
|
-
export { latest2,
|
|
254
|
+
export { latest2, Options6, Service37, Test2, testLayer2, layer16, configured6, node41, exports_config };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-gdpq0ckt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service32,
|
|
7
|
+
node36
|
|
8
|
+
} from "./wellknown-ccg31c11.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service67,
|
|
11
|
+
node72
|
|
12
|
+
} from "./wellknown-pj81m1sj.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service71,
|
|
15
15
|
node76
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-rm2ff3bp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service29,
|
|
26
|
+
layer: () => layer13,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node34
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service29 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer13 = Layer.effect(Service29, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service32;
|
|
42
|
+
const tools = yield* Service71;
|
|
43
43
|
const bus = yield* Service79;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service67;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -112,12 +112,12 @@ var layer10 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
112
112
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
113
113
|
const updates = yield* PubSub.subscribe(changes);
|
|
114
114
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
115
|
-
return
|
|
115
|
+
return Service29.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
116
116
|
}));
|
|
117
|
-
var
|
|
118
|
-
service:
|
|
119
|
-
layer:
|
|
120
|
-
deps: [node76,
|
|
117
|
+
var node34 = makeLocationNode({
|
|
118
|
+
service: Service29,
|
|
119
|
+
layer: layer13,
|
|
120
|
+
deps: [node76, node36, node84, node72]
|
|
121
121
|
});
|
|
122
122
|
|
|
123
|
-
export { namespace2, name13,
|
|
123
|
+
export { namespace2, name13, Service29, layer13, node34, exports_mcp3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service46,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service46 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service46, exports_runner };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID6,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-5kgzrmgs.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -57,7 +57,7 @@ function parse2(directory, filepath, content) {
|
|
|
57
57
|
return {
|
|
58
58
|
_tag: "Parsed",
|
|
59
59
|
skill: {
|
|
60
|
-
id:
|
|
60
|
+
id: ID6.make(id),
|
|
61
61
|
name: Name2.make(frontmatter.name ?? id),
|
|
62
62
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
63
63
|
...slash === undefined ? {} : { slash },
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service31,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service31 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service31.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service31, awaitActivation2, exports_service };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./wellknown-ba13aqv9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./wellknown-pj81m1sj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service39
|
|
14
|
+
} from "./wellknown-kaj30qh4.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input7,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin26,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description4,
|
|
27
|
+
name: () => name7
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name7 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input7 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin26 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service67;
|
|
53
|
+
const forms = yield* Service58;
|
|
54
|
+
const websearch = yield* Service39;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name7,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description4,
|
|
59
|
+
input: Input7,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name7,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name7];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name7, NO_RESULTS2, description4, Input7, Plugin26, exports_websearch2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./wellknown-9c7cwdaf.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-dxj72tfx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service35
|
|
9
|
+
} from "./wellknown-xzh4dvk0.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service49;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service35), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./wellknown-m3g11tvf.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID11.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID11.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|