@opencode/core 0.0.0-dev-19764 → 0.0.0-dev-19765
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{snapshot-dt7sf2t2.js → model-resolver-00gg1b3e.js} +36 -36
- package/dist/chunks/{snapshot-qkrk4za9.js → model-resolver-0k1dfe12.js} +1 -1
- package/dist/chunks/{snapshot-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{snapshot-0q0f95c6.js → model-resolver-0q0f95c6.js} +1 -1
- package/dist/chunks/{snapshot-hwca9pcn.js → model-resolver-0rfppqx1.js} +23 -23
- package/dist/chunks/{snapshot-7j91f9t1.js → model-resolver-0rwgfah8.js} +27 -27
- package/dist/chunks/{snapshot-jvnghvnw.js → model-resolver-166kng33.js} +8 -8
- package/dist/chunks/{snapshot-6sh1ew48.js → model-resolver-17fma2k7.js} +6 -6
- package/dist/chunks/{snapshot-pa8pe2x7.js → model-resolver-1ajx6rf5.js} +8 -8
- package/dist/chunks/{snapshot-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{snapshot-w2rnr668.js → model-resolver-1k45rzbh.js} +24 -24
- package/dist/chunks/{snapshot-wj1v7459.js → model-resolver-1kdfkpz7.js} +17 -17
- package/dist/chunks/{snapshot-hxg70vay.js → model-resolver-1pw3knqg.js} +95 -95
- package/dist/chunks/{snapshot-1mtvnjxb.js → model-resolver-1r39s92t.js} +33 -33
- package/dist/chunks/model-resolver-1x11rq2a.js +18 -0
- package/dist/chunks/{snapshot-21r38tys.js → model-resolver-21r38tys.js} +1 -1
- package/dist/chunks/{snapshot-tjhefs4s.js → model-resolver-224r8vkv.js} +27 -27
- package/dist/chunks/{snapshot-ft919fq2.js → model-resolver-22zy5p6a.js} +47 -47
- package/dist/chunks/{snapshot-88sz8qcd.js → model-resolver-26k5bknw.js} +4 -4
- package/dist/chunks/{snapshot-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{snapshot-r1pvgz74.js → model-resolver-2r4wbs08.js} +11 -11
- package/dist/chunks/{snapshot-s9va87sy.js → model-resolver-2sdqacf6.js} +5 -5
- package/dist/chunks/{snapshot-c765mh8b.js → model-resolver-2sejkfem.js} +9 -9
- package/dist/chunks/{snapshot-szgy4byf.js → model-resolver-2tfmgkzg.js} +4 -4
- package/dist/chunks/{snapshot-bjwtmsxg.js → model-resolver-310t7hsf.js} +178 -178
- package/dist/chunks/{snapshot-1ygqh575.js → model-resolver-33w4ejhs.js} +6 -6
- package/dist/chunks/{snapshot-7ef3j03a.js → model-resolver-34326mmr.js} +4 -4
- package/dist/chunks/{snapshot-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{snapshot-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{snapshot-res40x03.js → model-resolver-3ktbe3hf.js} +9 -9
- package/dist/chunks/{snapshot-h83t4dj1.js → model-resolver-3m3a5rkz.js} +46 -46
- package/dist/chunks/{snapshot-7dqep7dt.js → model-resolver-3qgwcr55.js} +17 -17
- package/dist/chunks/{snapshot-ytx20b0y.js → model-resolver-3sf2s9k9.js} +24 -24
- package/dist/chunks/{snapshot-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{snapshot-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{snapshot-4dgbcxzg.js → model-resolver-44h5tttr.js} +4 -4
- package/dist/chunks/{snapshot-0v85mbt5.js → model-resolver-484v57sd.js} +19 -19
- package/dist/chunks/{snapshot-acmkfkts.js → model-resolver-4xyx6x5b.js} +30 -30
- package/dist/chunks/{snapshot-xdk9p2qn.js → model-resolver-50mzsvk4.js} +21 -21
- package/dist/chunks/{snapshot-57ez7d0k.js → model-resolver-57ez7d0k.js} +2 -2
- package/dist/chunks/{snapshot-kgajfdja.js → model-resolver-5bqjzhep.js} +24 -24
- package/dist/chunks/{snapshot-a1bz86dw.js → model-resolver-5c4hm403.js} +3 -3
- package/dist/chunks/{snapshot-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{snapshot-tbdttw7j.js → model-resolver-5k2jh76e.js} +44 -44
- package/dist/chunks/{snapshot-e3qxr5gk.js → model-resolver-5qd3pb7m.js} +2 -2
- package/dist/chunks/{snapshot-252xb3nn.js → model-resolver-5sfs7bry.js} +19 -19
- package/dist/chunks/{snapshot-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{snapshot-y1vj7k2w.js → model-resolver-5xdpz9c5.js} +5 -5
- package/dist/chunks/{snapshot-mmpv6r03.js → model-resolver-6145a6ex.js} +19 -19
- package/dist/chunks/{snapshot-669tq793.js → model-resolver-669tq793.js} +1 -1
- package/dist/chunks/{snapshot-gqknc3n4.js → model-resolver-6c2x2cd4.js} +11 -11
- package/dist/chunks/{snapshot-2402vzrj.js → model-resolver-6h73sxmp.js} +5 -5
- package/dist/chunks/{snapshot-6msgmcgs.js → model-resolver-6msgmcgs.js} +1 -1
- package/dist/chunks/{snapshot-ggeyn75h.js → model-resolver-6pb16yyj.js} +9 -9
- package/dist/chunks/{snapshot-7dk8f9rn.js → model-resolver-6xwap4d1.js} +15 -15
- package/dist/chunks/{snapshot-7mbtkcjw.js → model-resolver-721hjktc.js} +19 -19
- package/dist/chunks/{snapshot-s714yq90.js → model-resolver-736bcg6q.js} +30 -30
- package/dist/chunks/{snapshot-mhkvc446.js → model-resolver-73tb2d7t.js} +3 -3
- package/dist/chunks/{snapshot-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{snapshot-t7x5nbme.js → model-resolver-7pmagftx.js} +15 -15
- package/dist/chunks/{snapshot-rq9byz5d.js → model-resolver-7y8hn1s8.js} +17 -17
- package/dist/chunks/{snapshot-vjjfm3h2.js → model-resolver-82wf71gc.js} +10 -10
- package/dist/chunks/{snapshot-31vvj4c3.js → model-resolver-85ebze8p.js} +19 -19
- package/dist/chunks/{snapshot-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{snapshot-geaa2ca8.js → model-resolver-8fqzhg78.js} +9 -9
- package/dist/chunks/{snapshot-wbmqe53j.js → model-resolver-90k1qenw.js} +10 -10
- package/dist/chunks/{snapshot-wh9qkd2q.js → model-resolver-90q3tcjv.js} +10 -10
- package/dist/chunks/{snapshot-g2y161wv.js → model-resolver-91aeks9h.js} +8 -8
- package/dist/chunks/{snapshot-zfxc739q.js → model-resolver-91qth17q.js} +23 -23
- package/dist/chunks/{snapshot-5km6923r.js → model-resolver-92x003m3.js} +4 -4
- package/dist/chunks/{snapshot-p16sg8he.js → model-resolver-9nsjpsnk.js} +20 -20
- package/dist/chunks/{snapshot-03133x3a.js → model-resolver-9xjpjsxw.js} +27 -27
- package/dist/chunks/{snapshot-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{snapshot-4jb2hfvf.js → model-resolver-aj1am2a4.js} +16 -16
- package/dist/chunks/{snapshot-31314d8d.js → model-resolver-ax2ahcq8.js} +31 -31
- package/dist/chunks/{snapshot-820cv1w4.js → model-resolver-b1v5zkbk.js} +13 -13
- package/dist/chunks/{snapshot-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{snapshot-scq4khx8.js → model-resolver-b97cbvw3.js} +1 -1
- package/dist/chunks/{snapshot-wwp4x31x.js → model-resolver-ba2wr92e.js} +57 -57
- package/dist/chunks/{snapshot-6pzw4973.js → model-resolver-bezhzanq.js} +9 -9
- package/dist/chunks/{snapshot-d1khqved.js → model-resolver-bgxcxs0p.js} +5 -5
- package/dist/chunks/{snapshot-95w894pf.js → model-resolver-bjeqesjn.js} +6 -6
- package/dist/chunks/{snapshot-y5df08dr.js → model-resolver-bm3m92rh.js} +5 -5
- package/dist/chunks/{snapshot-sz0hm3w5.js → model-resolver-bmygya3z.js} +20 -20
- package/dist/chunks/{snapshot-nkr3c0qp.js → model-resolver-btw9ee0c.js} +3 -3
- package/dist/chunks/{snapshot-d1vmr0nd.js → model-resolver-bwxdk6mq.js} +32 -32
- package/dist/chunks/{snapshot-eg2xbpx5.js → model-resolver-c27tsz6v.js} +3 -3
- package/dist/chunks/{snapshot-yr0r9rzs.js → model-resolver-c970e3h5.js} +43 -43
- package/dist/chunks/{snapshot-h7qgt2qa.js → model-resolver-ccfveryq.js} +10 -10
- package/dist/chunks/{snapshot-j215vtjh.js → model-resolver-ckvjdfyb.js} +5 -5
- package/dist/chunks/{snapshot-8wmhz1g8.js → model-resolver-cqjcs21s.js} +28 -28
- package/dist/chunks/{snapshot-dgn3bjhr.js → model-resolver-csj4vvs3.js} +15 -15
- package/dist/chunks/{snapshot-t17qe94z.js → model-resolver-cvc17wee.js} +11 -11
- package/dist/chunks/{snapshot-j8qgp22b.js → model-resolver-d27f62ns.js} +2 -2
- package/dist/chunks/{snapshot-wecp16b7.js → model-resolver-d55k6vmy.js} +30 -30
- package/dist/chunks/{snapshot-8p4f9s12.js → model-resolver-dj2t23y0.js} +2 -2
- package/dist/chunks/{snapshot-tn0aqsam.js → model-resolver-dj9sq318.js} +5 -5
- package/dist/chunks/{snapshot-57b9ws8p.js → model-resolver-drwq78ky.js} +5 -5
- package/dist/chunks/{snapshot-sfef216m.js → model-resolver-e029vvsz.js} +11 -11
- package/dist/chunks/{snapshot-ak9msbxp.js → model-resolver-e0a154fg.js} +8 -8
- package/dist/chunks/{snapshot-t550f9t1.js → model-resolver-eaj1djv9.js} +8 -8
- package/dist/chunks/{snapshot-yam5k1bw.js → model-resolver-ebahhykd.js} +4 -4
- package/dist/chunks/{snapshot-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{snapshot-nh3gpk50.js → model-resolver-emajncad.js} +11 -11
- package/dist/chunks/{snapshot-erw5rpbs.js → model-resolver-erw5rpbs.js} +2 -2
- package/dist/chunks/{snapshot-vs0kt9qj.js → model-resolver-esqycg01.js} +3 -3
- package/dist/chunks/{snapshot-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{snapshot-p728z8wp.js → model-resolver-evrfjeev.js} +42 -42
- package/dist/chunks/{snapshot-npx8w61n.js → model-resolver-eyx3sbbq.js} +4 -4
- package/dist/chunks/{snapshot-at7dy2hw.js → model-resolver-f1k0jycj.js} +16 -16
- package/dist/chunks/{snapshot-42jghq3e.js → model-resolver-f88gwaxn.js} +15 -15
- package/dist/chunks/{snapshot-3tq5qxbk.js → model-resolver-fkjmw100.js} +4 -4
- package/dist/chunks/{snapshot-6ekt4h1g.js → model-resolver-fsrt26q4.js} +24 -24
- package/dist/chunks/{snapshot-bqj53dzg.js → model-resolver-fv8x6qr6.js} +14 -14
- package/dist/chunks/{snapshot-fxbjtjnd.js → model-resolver-fxbjtjnd.js} +1 -1
- package/dist/chunks/{snapshot-bfapsvch.js → model-resolver-fybg9cv5.js} +11 -11
- package/dist/chunks/{snapshot-t1tfeg7z.js → model-resolver-g03mgfzw.js} +3 -3
- package/dist/chunks/{snapshot-aa7ryvh3.js → model-resolver-g100dm1t.js} +13 -13
- package/dist/chunks/{snapshot-ztkfav3z.js → model-resolver-g3q3rgxp.js} +9 -9
- package/dist/chunks/{snapshot-wz24kbdr.js → model-resolver-g444g17r.js} +28 -28
- package/dist/chunks/{snapshot-wgrnrd7p.js → model-resolver-g4yx06gn.js} +29 -29
- package/dist/chunks/{snapshot-xfdd6g1y.js → model-resolver-g5yx0azb.js} +87 -87
- package/dist/chunks/{snapshot-p4mnxf58.js → model-resolver-g8wj080z.js} +3 -3
- package/dist/chunks/{snapshot-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{snapshot-939y1bpb.js → model-resolver-gf0x0cm7.js} +5 -5
- package/dist/chunks/{snapshot-4qk2gb51.js → model-resolver-gf2sqppg.js} +6 -6
- package/dist/chunks/{snapshot-qzaekqmp.js → model-resolver-gkykxjyj.js} +11 -11
- package/dist/chunks/{snapshot-gv6a8nnw.js → model-resolver-gv6a8nnw.js} +2 -2
- package/dist/chunks/{snapshot-2vrqs54j.js → model-resolver-gxzntdky.js} +27 -27
- package/dist/chunks/{snapshot-hb92k4z9.js → model-resolver-h0w69axy.js} +17 -17
- package/dist/chunks/{snapshot-rkhy5kra.js → model-resolver-h5pwwdd2.js} +11 -11
- package/dist/chunks/{snapshot-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{snapshot-0996nyz8.js → model-resolver-h71w788e.js} +9 -9
- package/dist/chunks/{snapshot-srsxpff9.js → model-resolver-hak66h8f.js} +16 -16
- package/dist/chunks/{snapshot-036p5t1s.js → model-resolver-hc4fnx3k.js} +4 -4
- package/dist/chunks/{snapshot-e7987fdb.js → model-resolver-hc62tks0.js} +29 -29
- package/dist/chunks/{snapshot-f828m53h.js → model-resolver-hdnk95c8.js} +2 -2
- package/dist/chunks/{snapshot-87m5nb3r.js → model-resolver-he53wa6d.js} +17 -17
- package/dist/chunks/{snapshot-zv20b68g.js → model-resolver-hrfgvzx7.js} +63 -63
- package/dist/chunks/{snapshot-b4hx36v0.js → model-resolver-j2rec9x8.js} +19 -19
- package/dist/chunks/{snapshot-tt4mfncj.js → model-resolver-j3f2cck8.js} +3 -3
- package/dist/chunks/{snapshot-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{snapshot-em9d1scw.js → model-resolver-jca4demv.js} +2 -2
- package/dist/chunks/{snapshot-207ajt2h.js → model-resolver-jgttmm4a.js} +5 -5
- package/dist/chunks/{snapshot-epv923hw.js → model-resolver-jn50qt18.js} +22 -22
- package/dist/chunks/{snapshot-q5a6zh2e.js → model-resolver-jqaqchn6.js} +49 -49
- package/dist/chunks/{snapshot-5nyprcjq.js → model-resolver-jvkfksvk.js} +31 -31
- package/dist/chunks/{snapshot-rssfmsaf.js → model-resolver-jy86jdgr.js} +3 -3
- package/dist/chunks/{snapshot-ftb7f8ac.js → model-resolver-k2t9brnj.js} +3 -3
- package/dist/chunks/{snapshot-nfpfdzzq.js → model-resolver-k307gc3k.js} +12 -12
- package/dist/chunks/{snapshot-fc3hj1hz.js → model-resolver-k69qv5g3.js} +11 -11
- package/dist/chunks/{snapshot-v0mhzyhk.js → model-resolver-kb0crpaj.js} +18 -18
- package/dist/chunks/{snapshot-3c48t5r1.js → model-resolver-kcggd0et.js} +25 -25
- package/dist/chunks/{snapshot-4pw3ma1d.js → model-resolver-kdg3wy8r.js} +51 -51
- package/dist/chunks/{snapshot-3ythc6yv.js → model-resolver-keat3kjn.js} +4 -4
- package/dist/chunks/{snapshot-9e5kb4vq.js → model-resolver-kgt3w00r.js} +19 -19
- package/dist/chunks/{snapshot-wkd7exrg.js → model-resolver-km09h1rt.js} +9 -9
- package/dist/chunks/{snapshot-rdpbcj86.js → model-resolver-kmpyk7m7.js} +301 -301
- package/dist/chunks/{snapshot-rcf757kd.js → model-resolver-ksn24y69.js} +5 -5
- package/dist/chunks/{snapshot-351s78pd.js → model-resolver-kyenax63.js} +7 -7
- package/dist/chunks/{snapshot-277eer69.js → model-resolver-kzc3h1h3.js} +4 -4
- package/dist/chunks/{snapshot-cfpkc3c9.js → model-resolver-m0jqrx5p.js} +2 -2
- package/dist/chunks/{snapshot-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{snapshot-9g9mfadh.js → model-resolver-m7s4xjns.js} +22 -22
- package/dist/chunks/{snapshot-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{snapshot-k64xx7v0.js → model-resolver-mbhsxkjz.js} +20 -20
- package/dist/chunks/{snapshot-20d44xk5.js → model-resolver-meja1nf7.js} +18 -18
- package/dist/chunks/{snapshot-faw7sx1p.js → model-resolver-mj95satc.js} +12 -12
- package/dist/chunks/{snapshot-n0q66vsf.js → model-resolver-mmftq8sy.js} +14 -14
- package/dist/chunks/{snapshot-kd1ce5f7.js → model-resolver-mqsw6bz5.js} +17 -17
- package/dist/chunks/{snapshot-anq6cyaa.js → model-resolver-n3shvtzh.js} +9 -9
- package/dist/chunks/{snapshot-q7wkvvj2.js → model-resolver-n4p75jwy.js} +7 -7
- package/dist/chunks/{snapshot-gf7f2369.js → model-resolver-n8mmjvp8.js} +6 -6
- package/dist/chunks/{snapshot-8z9z5b5g.js → model-resolver-nf2b587t.js} +4 -4
- package/dist/chunks/{snapshot-ae7jk870.js → model-resolver-nfya0jhb.js} +32 -32
- package/dist/chunks/{snapshot-jbqp0ndx.js → model-resolver-nn1j8xnc.js} +5 -5
- package/dist/chunks/{snapshot-23tvpxmv.js → model-resolver-nn7cfy5h.js} +15 -15
- package/dist/chunks/{snapshot-sp6162m5.js → model-resolver-nngqe6j4.js} +18 -18
- package/dist/chunks/{snapshot-jj7g1fgg.js → model-resolver-np9tbams.js} +32 -32
- package/dist/chunks/model-resolver-ns5dg0kc.js +26 -0
- package/dist/chunks/{snapshot-3cz8rj72.js → model-resolver-nxhqveyz.js} +5 -5
- package/dist/chunks/{snapshot-x3gm437e.js → model-resolver-nxhr90dq.js} +44 -44
- package/dist/chunks/{snapshot-v79sn3xm.js → model-resolver-nytdp6jx.js} +11 -11
- package/dist/chunks/{snapshot-nzks3jc8.js → model-resolver-nzks3jc8.js} +3 -3
- package/dist/chunks/{snapshot-p28j5sbe.js → model-resolver-p28j5sbe.js} +2 -2
- package/dist/chunks/{snapshot-w3k29ccc.js → model-resolver-paj0n6dn.js} +13 -13
- package/dist/chunks/{snapshot-p0kmpbry.js → model-resolver-ph04hnrj.js} +36 -36
- package/dist/chunks/{snapshot-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{snapshot-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{snapshot-8rbkvf2j.js → model-resolver-pkttb123.js} +25 -25
- package/dist/chunks/{snapshot-yqqtqqed.js → model-resolver-pnpak3cr.js} +25 -25
- package/dist/chunks/{snapshot-2wr7a4zh.js → model-resolver-pxf1encz.js} +38 -38
- package/dist/chunks/{snapshot-x8z4mr01.js → model-resolver-q1t5m84m.js} +25 -25
- package/dist/chunks/{snapshot-bct739vz.js → model-resolver-q2b1ymqp.js} +4 -4
- package/dist/chunks/{snapshot-ppw6hb80.js → model-resolver-q3t37ft6.js} +3 -3
- package/dist/chunks/{snapshot-mbn3np8p.js → model-resolver-q4v73ct2.js} +24 -24
- package/dist/chunks/{snapshot-efv4s0g0.js → model-resolver-q5t0te5a.js} +4 -4
- package/dist/chunks/{snapshot-vg4nwgpm.js → model-resolver-q7jc4hc3.js} +26 -26
- package/dist/chunks/{snapshot-nt088kqk.js → model-resolver-qd3b5f68.js} +51 -51
- package/dist/chunks/model-resolver-qdb30wdd.js +252 -0
- package/dist/chunks/{snapshot-fhs97t90.js → model-resolver-qg0jgkcp.js} +9 -9
- package/dist/chunks/{snapshot-2k8khapm.js → model-resolver-qgn6gcr1.js} +5 -5
- package/dist/chunks/{snapshot-3sywykg8.js → model-resolver-qjg70d8f.js} +70 -70
- package/dist/chunks/{snapshot-440emva9.js → model-resolver-qqr60gfs.js} +9 -9
- package/dist/chunks/{snapshot-01va1f3z.js → model-resolver-qs02hrtf.js} +11 -11
- package/dist/chunks/{snapshot-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{snapshot-rrx6gbpx.js → model-resolver-qxf9dtqj.js} +13 -13
- package/dist/chunks/{snapshot-8x3w3g8n.js → model-resolver-r27n78xb.js} +8 -8
- package/dist/chunks/{snapshot-r9mjafdz.js → model-resolver-r5zby1m5.js} +24 -24
- package/dist/chunks/{snapshot-kf2jyg0f.js → model-resolver-r7999wmh.js} +32 -32
- package/dist/chunks/{snapshot-yp2x3t23.js → model-resolver-r8xr0va3.js} +4 -4
- package/dist/chunks/{snapshot-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{snapshot-0c1dc0pg.js → model-resolver-rk6ykxyv.js} +21 -21
- package/dist/chunks/{snapshot-t2hbhjts.js → model-resolver-rw9wzhmw.js} +22 -22
- package/dist/chunks/{snapshot-1pfd9v32.js → model-resolver-rwdk379s.js} +4 -4
- package/dist/chunks/{snapshot-pbq54n87.js → model-resolver-s4k6rbz4.js} +14 -14
- package/dist/chunks/{snapshot-va8x9q3g.js → model-resolver-sgmbcbbb.js} +30 -30
- package/dist/chunks/{snapshot-7sbn2nrf.js → model-resolver-sm965ndy.js} +8 -8
- package/dist/chunks/{snapshot-pnsm033q.js → model-resolver-sqg5arky.js} +12 -12
- package/dist/chunks/{snapshot-x38fx7kw.js → model-resolver-ssxq2qf8.js} +19 -19
- package/dist/chunks/{snapshot-ffkmejj6.js → model-resolver-swrhp9b1.js} +20 -20
- package/dist/chunks/{snapshot-jfqtm2ew.js → model-resolver-sxz6gkc3.js} +7 -7
- package/dist/chunks/{snapshot-9bn5q4dg.js → model-resolver-t9tj2qb4.js} +9 -9
- package/dist/chunks/{snapshot-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{snapshot-89znhe33.js → model-resolver-tcezcvh9.js} +4 -4
- package/dist/chunks/{snapshot-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/model-resolver-thh4zv80.js +65 -0
- package/dist/chunks/{snapshot-581qaqgj.js → model-resolver-ts79a8cx.js} +11 -11
- package/dist/chunks/{snapshot-tvtrv512.js → model-resolver-tvtrv512.js} +1 -1
- package/dist/chunks/{snapshot-htyb7pk9.js → model-resolver-v2amp0tf.js} +10 -10
- package/dist/chunks/{snapshot-xnt05fp8.js → model-resolver-v2n4cb87.js} +25 -25
- package/dist/chunks/{snapshot-y8pgb3nv.js → model-resolver-v96vwnpg.js} +31 -31
- package/dist/chunks/{snapshot-kj3y1y0m.js → model-resolver-vafdc1fs.js} +12 -12
- package/dist/chunks/{snapshot-dp3szwdw.js → model-resolver-vdc5ty7t.js} +23 -23
- package/dist/chunks/{snapshot-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{snapshot-zvtcw9kw.js → model-resolver-vfpfzq36.js} +6 -6
- package/dist/chunks/{snapshot-frcy3q3h.js → model-resolver-vp724954.js} +24 -24
- package/dist/chunks/{snapshot-1fc8gdfv.js → model-resolver-vr5243nf.js} +8 -8
- package/dist/chunks/{snapshot-7cx721ez.js → model-resolver-vtt78d7a.js} +41 -41
- package/dist/chunks/{snapshot-vzcthcp8.js → model-resolver-vzcthcp8.js} +1 -1
- package/dist/chunks/{snapshot-9zga13gt.js → model-resolver-w0b273fa.js} +20 -20
- package/dist/chunks/{snapshot-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{snapshot-j5w2yx54.js → model-resolver-w9nng7hv.js} +6 -6
- package/dist/chunks/{snapshot-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{snapshot-94c9dcy8.js → model-resolver-wfde3x95.js} +12 -12
- package/dist/chunks/{snapshot-ctwdrck2.js → model-resolver-whjc79nc.js} +6 -6
- package/dist/chunks/{snapshot-fbpv3gtq.js → model-resolver-wr76dh16.js} +22 -22
- package/dist/chunks/{snapshot-x1ezjp6w.js → model-resolver-x1ezjp6w.js} +1 -1
- package/dist/chunks/{snapshot-avc8n21j.js → model-resolver-x1xcpfha.js} +17 -17
- package/dist/chunks/{snapshot-mt86ky0j.js → model-resolver-x4d9s46j.js} +23 -23
- package/dist/chunks/{snapshot-ad1t3088.js → model-resolver-x8mcy56q.js} +35 -35
- package/dist/chunks/{snapshot-6h3wybc7.js → model-resolver-xfjax5kj.js} +6 -6
- package/dist/chunks/{snapshot-tw8f8nrh.js → model-resolver-xjtg51km.js} +5 -5
- package/dist/chunks/{snapshot-f1kpr4sr.js → model-resolver-xpj1128m.js} +25 -25
- package/dist/chunks/model-resolver-xrwhq20c.js +478 -0
- package/dist/chunks/{snapshot-brywjafr.js → model-resolver-xvjcz7er.js} +10 -10
- package/dist/chunks/{snapshot-hmgezczx.js → model-resolver-y1bnvh01.js} +5 -5
- package/dist/chunks/{snapshot-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{snapshot-q7fyfxhz.js → model-resolver-y3fgkbp4.js} +30 -30
- package/dist/chunks/{snapshot-qs001aqx.js → model-resolver-y3q03scc.js} +11 -11
- package/dist/chunks/{snapshot-5pjpf2rc.js → model-resolver-y5k1jt8t.js} +32 -32
- package/dist/chunks/{snapshot-y71avatq.js → model-resolver-y71avatq.js} +1 -1
- package/dist/chunks/{snapshot-xk6xaacw.js → model-resolver-y9nxj4p3.js} +1 -1
- package/dist/chunks/{snapshot-xm9w7m4m.js → model-resolver-yew810mr.js} +10 -10
- package/dist/chunks/{snapshot-x5mqk2mr.js → model-resolver-ynnvn6b9.js} +13 -13
- package/dist/chunks/{snapshot-b3yej2dp.js → model-resolver-yr3tpaeb.js} +11 -11
- package/dist/chunks/{snapshot-yrhqyw5v.js → model-resolver-yrhqyw5v.js} +1 -1
- package/dist/chunks/{snapshot-v2vtsgem.js → model-resolver-yrs7mjrn.js} +17 -17
- package/dist/chunks/{snapshot-s4enseaf.js → model-resolver-yrznvahk.js} +2 -2
- package/dist/chunks/{snapshot-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{snapshot-29x78va6.js → model-resolver-z63w68vq.js} +6 -6
- package/dist/chunks/{snapshot-5s70k0xw.js → model-resolver-za5w5jtx.js} +20 -20
- package/dist/chunks/{snapshot-m70sbz6t.js → model-resolver-zav06jzw.js} +4 -4
- package/dist/chunks/{snapshot-hdcb5cfr.js → model-resolver-ze0b84e6.js} +12 -12
- package/dist/chunks/{snapshot-zeh9ct20.js → model-resolver-zeh9ct20.js} +2 -2
- package/dist/chunks/{snapshot-dxwpfr55.js → model-resolver-zhmbkdqz.js} +28 -28
- package/dist/chunks/{snapshot-75pyeabn.js → model-resolver-zm7wj8n5.js} +5 -5
- package/dist/chunks/{snapshot-446tpth2.js → model-resolver-zpa21783.js} +11 -11
- package/dist/chunks/{snapshot-fr3t0d7t.js → model-resolver-zpgd1f5d.js} +29 -29
- package/dist/chunks/{snapshot-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{snapshot-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- 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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- 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/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +100 -100
- 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 +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +90 -90
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +115 -115
- package/dist/tool/plugin/grep.js +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +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 +91 -91
- 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/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/snapshot-19kwwqgw.js +0 -26
- package/dist/chunks/snapshot-51r0acr2.js +0 -252
- package/dist/chunks/snapshot-7nfkg4wm.js +0 -65
- package/dist/chunks/snapshot-phz3h32g.js +0 -18
- package/dist/chunks/snapshot-vg5x372e.js +0 -478
- /package/dist/chunks/{snapshot-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{snapshot-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{snapshot-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{snapshot-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{snapshot-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{snapshot-1tm0r3ht.js → model-resolver-1tm0r3ht.js} +0 -0
- /package/dist/chunks/{snapshot-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{snapshot-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{snapshot-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{snapshot-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{snapshot-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{snapshot-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{snapshot-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{snapshot-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{snapshot-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{snapshot-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{snapshot-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{snapshot-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{snapshot-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{snapshot-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{snapshot-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{snapshot-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{snapshot-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{snapshot-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{snapshot-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{snapshot-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{snapshot-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{snapshot-922hggd3.js → model-resolver-922hggd3.js} +0 -0
- /package/dist/chunks/{snapshot-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{snapshot-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{snapshot-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{snapshot-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{snapshot-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{snapshot-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{snapshot-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{snapshot-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{snapshot-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{snapshot-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{snapshot-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{snapshot-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{snapshot-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{snapshot-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{snapshot-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{snapshot-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{snapshot-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{snapshot-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{snapshot-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{snapshot-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{snapshot-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{snapshot-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{snapshot-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{snapshot-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{snapshot-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{snapshot-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{snapshot-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{snapshot-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{snapshot-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{snapshot-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{snapshot-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{snapshot-hjbc5kem.js → model-resolver-hjbc5kem.js} +0 -0
- /package/dist/chunks/{snapshot-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{snapshot-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{snapshot-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{snapshot-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{snapshot-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{snapshot-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{snapshot-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{snapshot-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{snapshot-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{snapshot-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{snapshot-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{snapshot-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{snapshot-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{snapshot-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{snapshot-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{snapshot-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{snapshot-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{snapshot-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{snapshot-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{snapshot-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{snapshot-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{snapshot-sk3qaz4a.js → model-resolver-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{snapshot-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{snapshot-twg0f83k.js → model-resolver-twg0f83k.js} +0 -0
- /package/dist/chunks/{snapshot-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{snapshot-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{snapshot-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{snapshot-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{snapshot-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{snapshot-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{snapshot-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{snapshot-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{snapshot-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{snapshot-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{snapshot-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{snapshot-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,96 +1,96 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AmazonBedrockPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-esqycg01.js";
|
|
4
4
|
import {
|
|
5
5
|
AzurePlugin2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-v2n4cb87.js";
|
|
7
7
|
import {
|
|
8
8
|
CerebrasPlugin2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-wc3fc9cn.js";
|
|
10
10
|
import {
|
|
11
11
|
CloudflareAIGatewayPlugin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-nn1j8xnc.js";
|
|
13
13
|
import {
|
|
14
14
|
CloudflareWorkersAIPlugin2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-y1bnvh01.js";
|
|
16
16
|
import {
|
|
17
17
|
CoherePlugin2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./model-resolver-z0bkrqjs.js";
|
|
19
19
|
import {
|
|
20
20
|
DigitalOceanPlugin2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-resolver-yrs7mjrn.js";
|
|
22
22
|
import {
|
|
23
23
|
DynamicProviderPlugin2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-vzcthcp8.js";
|
|
25
25
|
import {
|
|
26
26
|
GatewayPlugin2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-669tq793.js";
|
|
28
28
|
import {
|
|
29
29
|
GithubCopilotPlugin2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-bwxdk6mq.js";
|
|
31
31
|
import {
|
|
32
32
|
GitLabPlugin2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-resolver-ebahhykd.js";
|
|
34
34
|
import {
|
|
35
35
|
GoogleVertexPlugin2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./model-resolver-xjtg51km.js";
|
|
37
37
|
import {
|
|
38
38
|
KiloPlugin2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./model-resolver-qg3g05ea.js";
|
|
40
40
|
import {
|
|
41
41
|
LLMGatewayPlugin2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./model-resolver-gf0x0cm7.js";
|
|
43
43
|
import {
|
|
44
44
|
LMStudioPlugin2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./model-resolver-82wf71gc.js";
|
|
46
46
|
import {
|
|
47
47
|
ModalPlugin2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./model-resolver-6145a6ex.js";
|
|
49
49
|
import {
|
|
50
50
|
NvidiaPlugin2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./model-resolver-24dcb14g.js";
|
|
52
52
|
import {
|
|
53
53
|
OllamaPlugin2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./model-resolver-90k1qenw.js";
|
|
55
55
|
import {
|
|
56
56
|
OpenAIPlugin3
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./model-resolver-mqsw6bz5.js";
|
|
58
58
|
import {
|
|
59
59
|
SnowflakeCortexPlugin2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./model-resolver-85ebze8p.js";
|
|
61
61
|
import {
|
|
62
62
|
OpencodePlugin2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./model-resolver-j2rec9x8.js";
|
|
64
64
|
import {
|
|
65
65
|
OpenRouterPlugin2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./model-resolver-jy86jdgr.js";
|
|
67
67
|
import {
|
|
68
68
|
PerplexityPlugin2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./model-resolver-veqvce7d.js";
|
|
70
70
|
import {
|
|
71
71
|
PoePlugin2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./model-resolver-zm7wj8n5.js";
|
|
73
73
|
import {
|
|
74
74
|
PromptCacheKeyPlugin2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./model-resolver-g8wj080z.js";
|
|
76
76
|
import {
|
|
77
77
|
SapAICorePlugin2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./model-resolver-ksn24y69.js";
|
|
79
79
|
import {
|
|
80
80
|
VercelPlugin2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./model-resolver-y9nxj4p3.js";
|
|
82
82
|
import {
|
|
83
83
|
VenicePlugin2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./model-resolver-yrhqyw5v.js";
|
|
85
85
|
import {
|
|
86
86
|
VLLMPlugin2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./model-resolver-xvjcz7er.js";
|
|
88
88
|
import {
|
|
89
89
|
XAIPlugin2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./model-resolver-fybg9cv5.js";
|
|
91
91
|
import {
|
|
92
92
|
ZenmuxPlugin2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./model-resolver-jjkms2e6.js";
|
|
94
94
|
|
|
95
95
|
// src/plugin/provider.ts
|
|
96
96
|
var ProviderPlugins2 = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./model-resolver-00gg1b3e.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID8.make("gpt-5-chat-latest"), ID8.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-22zy5p6a.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service79,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node83
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service79 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service79.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node83 = makeLocationNode({
|
|
143
|
+
service: Service79,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service79, node83, exports_tool_output2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID4,
|
|
6
|
+
Service35
|
|
7
|
+
} from "./model-resolver-m7s4xjns.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-q3t37ft6.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-3ktbe3hf.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service35;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID4.make(from),
|
|
91
|
+
to: ID4.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-mbhsxkjz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service76,
|
|
9
|
+
node80
|
|
10
|
+
} from "./model-resolver-s4k6rbz4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service71,
|
|
13
|
+
node75
|
|
14
|
+
} from "./model-resolver-hrfgvzx7.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,9 +22,9 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service55,
|
|
26
26
|
externalDirectoryPermission: () => externalDirectoryPermission2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node59,
|
|
28
28
|
resolvePath: () => resolvePath2
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
|
|
|
43
43
|
save: [input.save]
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service55 extends Context.Service()("@opencode/FileAccess") {
|
|
47
47
|
}
|
|
48
48
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
49
49
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -55,10 +55,10 @@ var invocation = (context) => ({
|
|
|
55
55
|
agent: context.agent,
|
|
56
56
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
57
57
|
});
|
|
58
|
-
var layer = Layer.effect(
|
|
58
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
59
59
|
const fs = yield* FSUtil.Service;
|
|
60
|
-
const location = yield*
|
|
61
|
-
const permission = yield*
|
|
60
|
+
const location = yield* Service76;
|
|
61
|
+
const permission = yield* Service71;
|
|
62
62
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
63
63
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
64
64
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
107
107
|
});
|
|
108
108
|
return target;
|
|
109
109
|
});
|
|
110
|
-
return
|
|
110
|
+
return Service55.of({ resolve, authorizeExternal, authorizeRead });
|
|
111
111
|
}));
|
|
112
|
-
var
|
|
112
|
+
var node59 = makeLocationNode({ service: Service55, layer, deps: [FSUtil.node, node80, node75] });
|
|
113
113
|
|
|
114
|
-
export { Kind2, ResolveInput2, externalDirectoryPermission2,
|
|
114
|
+
export { Kind2, ResolveInput2, externalDirectoryPermission2, Service55, resolvePath2, node59, exports_file_access };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-nzks3jc8.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service58,
|
|
17
|
+
node62
|
|
18
|
+
} from "./model-resolver-bezhzanq.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service75,
|
|
21
|
+
node79
|
|
22
|
+
} from "./model-resolver-166kng33.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./model-resolver-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content3,
|
|
35
|
+
Error: () => Error5,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service57,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node61
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service57 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service75;
|
|
58
|
+
const image = yield* Service58;
|
|
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/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service57.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -272,10 +272,10 @@ function namespaceError(name) {
|
|
|
272
272
|
return;
|
|
273
273
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
274
274
|
}
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node61 = makeLocationNode({
|
|
276
|
+
service: Service57,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node79, node62]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export { RegistrationError2,
|
|
281
|
+
export { RegistrationError2, Service57, node61, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service78,
|
|
6
|
+
node82
|
|
7
|
+
} from "./model-resolver-wfde3x95.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service67,
|
|
11
|
+
node71
|
|
12
|
+
} from "./model-resolver-1r39s92t.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
node83
|
|
16
|
-
} from "./snapshot-pbq54n87.js";
|
|
17
|
-
import {
|
|
18
|
-
Service77,
|
|
14
|
+
Service76,
|
|
19
15
|
node80
|
|
20
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-s4k6rbz4.js";
|
|
17
|
+
import {
|
|
18
|
+
Service44,
|
|
19
|
+
node48
|
|
20
|
+
} from "./model-resolver-1k45rzbh.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID12,
|
|
23
|
+
Service70,
|
|
24
|
+
node74
|
|
25
|
+
} from "./model-resolver-zhmbkdqz.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID10,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service66,
|
|
34
|
+
node70
|
|
35
|
+
} from "./model-resolver-np9tbams.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError3,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
|
|
|
50
50
|
ResourceContentPart: () => ResourceContentPart2,
|
|
51
51
|
ResourceTemplate: () => ResourceTemplate2,
|
|
52
52
|
ServerName: () => ServerName2,
|
|
53
|
-
Service: () =>
|
|
53
|
+
Service: () => Service32,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
56
|
+
configured: () => configured4,
|
|
57
|
+
layer: () => layer15,
|
|
58
|
+
node: () => node35
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
93
93
|
var endpointLoads = makeUnsafe2();
|
|
94
94
|
var cloneConfig = (config) => structuredClone(config);
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service32 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options4 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
107
|
-
const bus = yield*
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
104
|
+
var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service76;
|
|
106
|
+
const environment = yield* Service44;
|
|
107
|
+
const bus = yield* Service78;
|
|
108
|
+
const forms = yield* Service70;
|
|
109
|
+
const integration = yield* Service66;
|
|
110
|
+
const credentials = yield* Service67;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID10.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service67, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -151,12 +151,12 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service67, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID12.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
243
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service44, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -365,7 +365,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
365
365
|
yield* startServer(name, entry);
|
|
366
366
|
}).pipe(locks.withLock(name));
|
|
367
367
|
});
|
|
368
|
-
fork(bus.subscribe(
|
|
368
|
+
fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
369
369
|
const state = create3({
|
|
370
370
|
name: "mcp",
|
|
371
371
|
initial: () => ({
|
|
@@ -391,7 +391,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
391
391
|
}),
|
|
392
392
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
393
393
|
});
|
|
394
|
-
return
|
|
394
|
+
return Service32.of({
|
|
395
395
|
transform: state.transform,
|
|
396
396
|
reload: state.reload,
|
|
397
397
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -510,14 +510,14 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
510
510
|
})
|
|
511
511
|
});
|
|
512
512
|
}));
|
|
513
|
-
function
|
|
513
|
+
function configured4(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
|
-
service:
|
|
516
|
-
layer:
|
|
517
|
-
deps: [
|
|
515
|
+
service: Service32,
|
|
516
|
+
layer: layer15(options),
|
|
517
|
+
deps: [node80, node48, node82, node74, node70, node71]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node35 = configured4();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service32, Options4, layer15, configured4, node35, exports_mcp4 };
|