@opencode/core 0.0.0-dev-19451 → 0.0.0-dev-19454
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 +74 -74
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{location-services-2r39by5f.js → app-01d4yyp2.js} +6 -6
- package/dist/chunks/{location-services-s868bytv.js → app-01y77a5c.js} +20 -20
- package/dist/chunks/{location-services-xjfemsx1.js → app-0bed1fzj.js} +15 -15
- package/dist/chunks/app-0mesazry.js +4 -0
- package/dist/chunks/{location-services-81swgkk7.js → app-0nwgmm4h.js} +7 -7
- package/dist/chunks/app-0p9jrwpc.js +462 -0
- package/dist/chunks/{location-services-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-services-0q0f95c6.js → app-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-services-h4tz497q.js → app-0v4nq3nj.js} +6 -6
- package/dist/chunks/{location-services-bgxcxs0p.js → app-0zeytkd6.js} +5 -5
- package/dist/chunks/{location-services-gv6a8nnw.js → app-19d3sct9.js} +5 -5
- package/dist/chunks/{location-services-1bbkgx8g.js → app-1bbkgx8g.js} +1 -1
- package/dist/chunks/{location-services-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-services-w1k39n5e.js → app-1hc11dc4.js} +4 -4
- package/dist/chunks/{location-services-n9y2aybq.js → app-1mt2ceq3.js} +7 -7
- package/dist/chunks/{location-services-z76d14ww.js → app-1v5bddp3.js} +21 -21
- package/dist/chunks/{location-services-y23m868y.js → app-1y4196p3.js} +25 -25
- package/dist/chunks/{location-services-5k8zyj3m.js → app-1zbneaay.js} +8 -8
- package/dist/chunks/{location-services-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{location-services-2w6qszrm.js → app-21spz6s2.js} +3 -3
- package/dist/chunks/{location-services-egn3zdh5.js → app-23k96cb6.js} +36 -36
- package/dist/chunks/{location-services-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-services-qgn6gcr1.js → app-2k8khapm.js} +5 -5
- package/dist/chunks/{location-services-nmc7jbpb.js → app-2pwrg78v.js} +30 -30
- package/dist/chunks/{location-services-2s1xfa2w.js → app-2q4hqd4y.js} +8 -8
- package/dist/chunks/{location-services-c35z34qg.js → app-2wbdg5ka.js} +13 -13
- package/dist/chunks/{location-services-rtv6ahp9.js → app-30c1nq7z.js} +6 -6
- package/dist/chunks/{location-services-937tqe06.js → app-31qre3wm.js} +9 -9
- package/dist/chunks/{location-services-ya13sgyt.js → app-324m7t1q.js} +15 -15
- package/dist/chunks/{location-services-wedwh9zy.js → app-347fpw31.js} +39 -39
- package/dist/chunks/{location-services-tczx3m7d.js → app-37xd71w4.js} +13 -13
- package/dist/chunks/{location-services-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-services-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-services-tsr8fc0r.js → app-3p1t101e.js} +11 -11
- package/dist/chunks/{location-services-rfnzy394.js → app-3q1jyqhd.js} +1 -1
- package/dist/chunks/{location-services-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-services-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-services-prncnyqx.js → app-401m1mnq.js} +22 -22
- package/dist/chunks/{location-services-dxkzy7ga.js → app-41432brd.js} +11 -11
- package/dist/chunks/{location-services-f4gk10ya.js → app-48rqf01p.js} +8 -8
- package/dist/chunks/{location-services-48y578kf.js → app-4e4kessa.js} +11 -11
- package/dist/chunks/{location-services-2tfmgkzg.js → app-4vf9gwg8.js} +4 -4
- package/dist/chunks/{location-services-0ajdgxne.js → app-4y66k410.js} +5 -5
- package/dist/chunks/{location-services-z7sbn75z.js → app-52ph5y51.js} +23 -23
- package/dist/chunks/{location-services-56gdpj1q.js → app-56gdpj1q.js} +2 -2
- package/dist/chunks/{location-services-5c4hm403.js → app-5c4hm403.js} +3 -3
- package/dist/chunks/{location-services-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{location-services-2dp6pmwx.js → app-5es8he10.js} +27 -27
- package/dist/chunks/{location-services-twtpn9zf.js → app-5f3qmtv7.js} +5 -5
- package/dist/chunks/{location-services-cemy4wyy.js → app-5hwjasp4.js} +40 -40
- package/dist/chunks/{location-services-tg6s6r99.js → app-5knwkvsn.js} +17 -17
- package/dist/chunks/{location-services-pe64je7v.js → app-5mfw8fjh.js} +15 -15
- package/dist/chunks/{location-services-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-services-1hjtdgdn.js → app-5xqre989.js} +14 -14
- package/dist/chunks/{location-services-wqkncbjv.js → app-6178vqjw.js} +3 -3
- package/dist/chunks/{location-services-yg187h29.js → app-632vtz5r.js} +4 -4
- package/dist/chunks/{location-services-7z758yvs.js → app-635mptjb.js} +37 -37
- package/dist/chunks/{location-services-669tq793.js → app-669tq793.js} +1 -1
- package/dist/chunks/{location-services-b25gz6yg.js → app-66kf4b4n.js} +9 -9
- package/dist/chunks/{location-services-pv7wv9k9.js → app-6f0dzymh.js} +10 -10
- package/dist/chunks/{location-services-6h73sxmp.js → app-6h73sxmp.js} +1 -1
- package/dist/chunks/{location-services-1g7epwpd.js → app-6hh8tjw2.js} +7 -7
- package/dist/chunks/{location-services-6msgmcgs.js → app-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-services-qdexhy91.js → app-6wvmca95.js} +13 -13
- package/dist/chunks/{location-services-g6wwr3qt.js → app-6yj3e0p4.js} +39 -27
- package/dist/chunks/{location-services-6k4g6370.js → app-70he99z4.js} +8 -8
- package/dist/chunks/{location-services-71q4at8m.js → app-71q4at8m.js} +1 -1
- package/dist/chunks/{location-services-cjea1mvt.js → app-76zrhwz8.js} +20 -20
- package/dist/chunks/{location-services-m23k9y15.js → app-79by68xe.js} +9 -9
- package/dist/chunks/{location-services-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-services-bx7c57kt.js → app-7jf3rx6v.js} +10 -10
- package/dist/chunks/{location-services-6hng0yyt.js → app-815rpf75.js} +15 -15
- package/dist/chunks/{location-services-cmwkp3r5.js → app-844ef7ks.js} +4 -4
- package/dist/chunks/{location-services-vtqtddsg.js → app-8bdn8f7j.js} +15 -15
- package/dist/chunks/{location-services-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-services-5k2k3mdz.js → app-8gterf16.js} +16 -16
- package/dist/chunks/{location-services-kmmgpvna.js → app-8n92skyx.js} +18 -18
- package/dist/chunks/{location-services-v8qzaprc.js → app-8t1czda2.js} +15 -15
- package/dist/chunks/{location-services-retpad30.js → app-8v25e9jt.js} +4 -4
- package/dist/chunks/{location-services-mj7jk1tr.js → app-916a078q.js} +6 -6
- package/dist/chunks/{location-services-xkjyxwdt.js → app-96yt6zt0.js} +1 -1
- package/dist/chunks/{location-services-7j2qha59.js → app-99xay3p1.js} +8 -8
- package/dist/chunks/{location-services-acx0y7wr.js → app-9cr2jyw7.js} +28 -28
- package/dist/chunks/{location-services-tek2pf1y.js → app-9gvp8m8g.js} +15 -15
- package/dist/chunks/{location-services-feme730n.js → app-9jd335en.js} +19 -19
- package/dist/chunks/{location-services-pgpcwmv8.js → app-9n5z3cfw.js} +16 -16
- package/dist/chunks/{location-services-52s84kjy.js → app-9qybae9y.js} +13 -13
- package/dist/chunks/{location-services-xknhk0nf.js → app-9s9rwn5z.js} +8 -8
- package/dist/chunks/{location-services-2f04pwep.js → app-9vs0xtad.js} +3 -3
- package/dist/chunks/{location-services-wmq45v6k.js → app-9y8671sk.js} +11 -11
- package/dist/chunks/{location-services-pjndq0fz.js → app-a0g3f2ex.js} +12 -12
- package/dist/chunks/{location-services-h2d5hdxw.js → app-a85q9g7w.js} +7 -7
- package/dist/chunks/{location-services-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{location-services-ab663qkx.js → app-ac486pqz.js} +7 -7
- package/dist/chunks/{location-services-1ry39x5d.js → app-adrt0mgm.js} +22 -22
- package/dist/chunks/{location-services-kpmgqkrr.js → app-as64xgvx.js} +22 -22
- package/dist/chunks/{location-services-ka5a4yvg.js → app-b03xemnm.js} +5 -5
- package/dist/chunks/{location-services-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-services-fhtvm1st.js → app-b8c9y4g3.js} +4 -4
- package/dist/chunks/{location-services-ek1mvd6a.js → app-bwvttxa8.js} +27 -27
- package/dist/chunks/app-by5v678g.js +18 -0
- package/dist/chunks/{location-services-8939b1nw.js → app-bywwkrew.js} +6 -6
- package/dist/chunks/{location-services-tfwap27p.js → app-c68b4qab.js} +10 -10
- package/dist/chunks/{location-services-f5a8jxak.js → app-cbxv00zf.js} +8 -8
- package/dist/chunks/{location-services-8fqpyxf3.js → app-cdqsg630.js} +35 -35
- package/dist/chunks/{location-services-hkerkm96.js → app-ck1m4mh1.js} +23 -23
- package/dist/chunks/{location-services-fmfnnzgs.js → app-cree9evm.js} +2 -2
- package/dist/chunks/{location-services-ww01qehw.js → app-cw5vs62j.js} +44 -44
- package/dist/chunks/{location-services-feqb3hv1.js → app-cxtammyj.js} +29 -29
- package/dist/chunks/{location-services-jgz6gjh7.js → app-cy5whw4f.js} +24 -24
- package/dist/chunks/{location-services-q0shrzhz.js → app-d276s99n.js} +63 -63
- package/dist/chunks/{location-services-hz84tk5e.js → app-d383cjmk.js} +6 -6
- package/dist/chunks/{location-services-824d0e4j.js → app-d59efzng.js} +14 -14
- package/dist/chunks/{location-services-18e56dsp.js → app-d8nc1xcx.js} +4 -4
- package/dist/chunks/{location-services-p5294bdq.js → app-dhzx5xew.js} +155 -155
- package/dist/chunks/{location-services-dj2t23y0.js → app-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-services-gdxr6gyt.js → app-djtdt1jf.js} +24 -24
- package/dist/chunks/{location-services-yt5bhwy4.js → app-dszeax73.js} +5 -5
- package/dist/chunks/{location-services-mypwhdkk.js → app-e0vtkr8g.js} +6 -6
- package/dist/chunks/{location-services-ftxwt64d.js → app-e0ytsh2g.js} +14 -14
- package/dist/chunks/{location-services-t0fxg8b9.js → app-e3mxans8.js} +5 -5
- package/dist/chunks/{location-services-zfz7njw1.js → app-e55ftdvy.js} +20 -20
- package/dist/chunks/{location-services-eaj1djv9.js → app-eaj1djv9.js} +1 -1
- package/dist/chunks/{location-services-tt4z169h.js → app-ean5b4k0.js} +6 -6
- package/dist/chunks/{location-services-hnf61xf9.js → app-eptnwkrd.js} +11 -11
- package/dist/chunks/{location-services-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-services-wn598c0j.js → app-evghafth.js} +22 -22
- package/dist/chunks/{location-services-f2n192rq.js → app-f2n192rq.js} +1 -1
- package/dist/chunks/{location-services-ktbdk3tc.js → app-f8q7mv7a.js} +1 -1
- package/dist/chunks/{location-services-s7ewmtmf.js → app-fen7mw99.js} +5 -5
- package/dist/chunks/{location-services-ghk9cxjs.js → app-ff0htmxq.js} +6 -6
- package/dist/chunks/{location-services-74x46t3v.js → app-fgh0kbhd.js} +1 -1
- package/dist/chunks/{location-services-smdef04x.js → app-fwe2c1cd.js} +6 -6
- package/dist/chunks/{location-services-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-services-mx1q1bxy.js → app-fxstt2g9.js} +21 -21
- package/dist/chunks/{location-services-vnk6y1a3.js → app-fygdb7h7.js} +3 -3
- package/dist/chunks/{location-services-xtfh037b.js → app-g5ecjh6m.js} +30 -30
- package/dist/chunks/{location-services-badyvhv3.js → app-g7s55k6w.js} +22 -22
- package/dist/chunks/{location-services-wz7pye5f.js → app-gczwb94e.js} +10 -10
- package/dist/chunks/{location-services-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-services-phsqhj37.js → app-gh196etk.js} +50 -50
- package/dist/chunks/{location-services-yfn5eh04.js → app-grfsc0hp.js} +14 -14
- package/dist/chunks/{location-services-qxw806c1.js → app-grskzymy.js} +6 -6
- package/dist/chunks/{location-services-h03wrkyp.js → app-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-services-f9s276m4.js → app-h4wmnrav.js} +21 -21
- package/dist/chunks/{location-services-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-services-hdnk95c8.js → app-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-services-rw73kgyn.js → app-hz40ax2v.js} +9 -9
- package/dist/chunks/{location-services-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{location-services-tka2peys.js → app-j6kg5r8z.js} +3 -3
- package/dist/chunks/{location-services-pmr4s4kc.js → app-j83byb14.js} +4 -4
- package/dist/chunks/{location-services-kf68rs3n.js → app-j92hx5ks.js} +5 -5
- package/dist/chunks/{location-services-8sghyhzw.js → app-jj63jgrn.js} +8 -8
- package/dist/chunks/{location-services-hkqqdn79.js → app-jjjkzzhm.js} +36 -36
- package/dist/chunks/{location-services-21p2r62n.js → app-jtxcb3w0.js} +11 -11
- package/dist/chunks/{location-services-tz4n1mmd.js → app-jvf3yq6v.js} +4 -4
- package/dist/chunks/{location-services-jrcagpff.js → app-jx6a7qwm.js} +18 -18
- package/dist/chunks/{location-services-h41zqsdn.js → app-jz120fzx.js} +9 -9
- package/dist/chunks/{location-services-kqddbhjm.js → app-k16ay38w.js} +1 -1
- package/dist/chunks/{location-services-e6jvcfvd.js → app-k1whh7gp.js} +8 -8
- package/dist/chunks/app-k5v13129.js +247 -0
- package/dist/chunks/{location-services-hz2x7yqm.js → app-k8tysyz7.js} +34 -34
- package/dist/chunks/{location-services-nn76jaqm.js → app-k9ab954m.js} +17 -17
- package/dist/chunks/{location-services-dygv5p4v.js → app-keqbnhvz.js} +47 -47
- package/dist/chunks/{location-services-kg06axw8.js → app-kg06axw8.js} +1 -1
- package/dist/chunks/{location-services-k79tzb9n.js → app-kpvyk30t.js} +9 -9
- package/dist/chunks/{location-services-wpmdzrrb.js → app-ksz0h0wp.js} +1 -1
- package/dist/chunks/{location-services-mn5tqr63.js → app-kyrbgmgz.js} +6 -6
- package/dist/chunks/{location-services-m0jqrx5p.js → app-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-services-gy0cbxbc.js → app-m1zg7cvw.js} +18 -18
- package/dist/chunks/{location-services-942f7qpg.js → app-m27pyyd3.js} +8 -8
- package/dist/chunks/{location-services-t1gfewgs.js → app-m8d9w9rg.js} +6 -6
- package/dist/chunks/{location-services-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-services-dp73zmae.js → app-mc3s7fb4.js} +47 -47
- package/dist/chunks/{location-services-mkcjrzeh.js → app-mkcjrzeh.js} +1 -1
- package/dist/chunks/{location-services-3978fxhd.js → app-mkxazyey.js} +8 -8
- package/dist/chunks/{location-services-c0jhk4qn.js → app-mpkv22tf.js} +18 -18
- package/dist/chunks/{location-services-h8ybhtc8.js → app-mwq3dsgc.js} +82 -82
- package/dist/chunks/{location-services-2pxk13gr.js → app-n76fdqym.js} +5 -5
- package/dist/chunks/{location-services-jbcmsmvm.js → app-ncpc7znc.js} +26 -26
- package/dist/chunks/{location-services-10jtetaj.js → app-ndqtf2h8.js} +6 -6
- package/dist/chunks/{location-services-nhy5jxhy.js → app-nhy5jxhy.js} +1 -1
- package/dist/chunks/{location-services-v0wp6508.js → app-nv22g21s.js} +17 -17
- package/dist/chunks/{location-services-wsyyx6kz.js → app-nwc0z34x.js} +14 -14
- package/dist/chunks/{location-services-6d9mz4vp.js → app-p1wf2k30.js} +5 -5
- package/dist/chunks/{location-services-dc7k84w7.js → app-pbg6n76p.js} +15 -15
- package/dist/chunks/{location-services-7ny4eqaq.js → app-pg0bt333.js} +26 -26
- package/dist/chunks/{location-services-pr65h444.js → app-pgpdt06c.js} +16 -16
- package/dist/chunks/{location-services-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-services-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{location-services-pph6wwqv.js → app-pp04mk01.js} +14 -14
- package/dist/chunks/{location-services-tfwa8sr0.js → app-pzv75kkz.js} +9 -9
- package/dist/chunks/{location-services-3cnpae06.js → app-q2n1g2hy.js} +24 -24
- package/dist/chunks/{location-services-c5c0bz0t.js → app-q4fmv0xv.js} +5 -5
- package/dist/chunks/{location-services-jjs74g98.js → app-q8qja58b.js} +9 -9
- package/dist/chunks/{location-services-f2jtjz1n.js → app-qcj2n2g6.js} +11 -11
- package/dist/chunks/{location-services-rv8srvjv.js → app-qf37q8gn.js} +21 -21
- package/dist/chunks/{location-services-vz9ktvfm.js → app-qgc9yt1w.js} +13 -13
- package/dist/chunks/{location-services-ke95q5v4.js → app-qgn95xga.js} +9 -9
- package/dist/chunks/{location-services-mjymc32g.js → app-qj8eh1ht.js} +4 -4
- package/dist/chunks/{location-services-0cqt1act.js → app-qkk52kd6.js} +2 -2
- package/dist/chunks/{location-services-shgvhq32.js → app-qnfdnam0.js} +8 -8
- package/dist/chunks/{location-services-s6ycxjmr.js → app-qnv4ctx0.js} +2 -2
- package/dist/chunks/{location-services-n9ah5p1r.js → app-qrr9kfam.js} +13 -13
- package/dist/chunks/{location-services-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{location-services-8fvkghgq.js → app-qv1x3x4z.js} +31 -31
- package/dist/chunks/{location-services-831x1ev0.js → app-qzk1v9bf.js} +27 -27
- package/dist/chunks/{location-services-8r3rf18d.js → app-r0vf4cs4.js} +35 -35
- package/dist/chunks/{location-services-z7ffasf1.js → app-r63s8211.js} +18 -18
- package/dist/chunks/{location-services-38c819ax.js → app-r9babyk8.js} +1 -1
- package/dist/chunks/{location-services-r9mregkx.js → app-r9mregkx.js} +2 -2
- package/dist/chunks/{location-services-p2c38shw.js → app-reqcbcgq.js} +4 -4
- package/dist/chunks/{location-services-bqvgdfs7.js → app-rjpsqtxm.js} +25 -25
- package/dist/chunks/{location-services-tfxcxh33.js → app-rmexb7js.js} +11 -11
- package/dist/chunks/{location-services-j15mfg1p.js → app-rph3zd4r.js} +5 -5
- package/dist/chunks/{location-services-zeh9ct20.js → app-rq775frq.js} +2 -2
- package/dist/chunks/{location-services-vhfdprfc.js → app-rrt27rg5.js} +6 -6
- package/dist/chunks/{location-services-gyqjhmw2.js → app-rwg5vmzn.js} +11 -11
- package/dist/chunks/{location-services-6fxfggn4.js → app-sbmbhbn2.js} +33 -33
- package/dist/chunks/{location-services-f4frw9mm.js → app-sr16hckn.js} +10 -10
- package/dist/chunks/{location-services-6a8fnbq3.js → app-sv8sp7pw.js} +80 -80
- package/dist/chunks/{location-services-z3vzppte.js → app-svenpb42.js} +18 -18
- package/dist/chunks/{location-services-czjcw1ty.js → app-sx06qm47.js} +22 -22
- package/dist/chunks/{location-services-faazhd4x.js → app-t7z3zppm.js} +2 -2
- package/dist/chunks/{location-services-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-services-p44d8wdy.js → app-tb89zjsd.js} +2 -2
- package/dist/chunks/{location-services-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-services-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{location-services-1688r137.js → app-tf24mnt6.js} +15 -15
- package/dist/chunks/{location-services-b0y1tez2.js → app-ts6325w3.js} +52 -52
- package/dist/chunks/{location-services-zg2sk1d5.js → app-ttw4mp9f.js} +22 -22
- package/dist/chunks/{location-services-tvtrv512.js → app-tvtrv512.js} +1 -1
- package/dist/chunks/{location-services-0v63wxn0.js → app-ty49wdhf.js} +5 -5
- package/dist/chunks/{location-services-s8610hey.js → app-v2f6dcv3.js} +2 -2
- package/dist/chunks/{location-services-ntzc7frx.js → app-v417vp7f.js} +20 -20
- package/dist/chunks/{location-services-7xaqnzrn.js → app-vdj0rz3q.js} +11 -11
- package/dist/chunks/{location-services-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{location-services-b1d8yfhs.js → app-vfr9bssk.js} +30 -30
- package/dist/chunks/{location-services-2hasx83a.js → app-vm44ba8w.js} +4 -4
- package/dist/chunks/{location-services-m0jhfz7a.js → app-vn0fjzrz.js} +27 -27
- package/dist/chunks/{location-services-28wjfbzm.js → app-vtkevy7h.js} +26 -26
- package/dist/chunks/{location-services-k37qtvmx.js → app-vwa5ss5y.js} +43 -43
- package/dist/chunks/{location-services-k8hd2gj9.js → app-vwte0s2f.js} +4 -4
- package/dist/chunks/{location-services-vzcthcp8.js → app-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-services-jnmqjdkf.js → app-vze96k0n.js} +4 -4
- package/dist/chunks/{location-services-e4d1h1z5.js → app-w0xtpnzp.js} +10 -10
- package/dist/chunks/{location-services-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-services-f0v7chq9.js → app-wcgcqz50.js} +9 -9
- package/dist/chunks/{location-services-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{location-services-0k5cj3rh.js → app-wmsmh04t.js} +1 -1
- package/dist/chunks/{location-services-cznvyt73.js → app-wnh11y56.js} +28 -28
- package/dist/chunks/{location-services-z3ezx9pg.js → app-wt4cza60.js} +7 -7
- package/dist/chunks/{location-services-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-services-m31hrvtp.js → app-x1xcpfha.js} +7 -7
- package/dist/chunks/{location-services-5yf7fhr0.js → app-x3hxvpa8.js} +9 -9
- package/dist/chunks/{location-services-c1h18g4r.js → app-xhncr91g.js} +20 -20
- package/dist/chunks/{location-services-w5wb35vm.js → app-xv6q7q36.js} +33 -33
- package/dist/chunks/{location-services-jwrwwt03.js → app-xvg9ehqm.js} +33 -33
- package/dist/chunks/{location-services-2j9d73f3.js → app-xvh115na.js} +24 -24
- package/dist/chunks/{location-services-gyhegj3g.js → app-xy81sevq.js} +24 -24
- package/dist/chunks/{location-services-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-services-kb6vnew7.js → app-y3ccdz42.js} +16 -16
- package/dist/chunks/{location-services-dpkg50ah.js → app-y71avatq.js} +4 -4
- package/dist/chunks/app-yk419se4.js +22 -0
- package/dist/chunks/{location-services-1rppxzqd.js → app-yq7f1s9e.js} +10 -10
- package/dist/chunks/{location-services-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-services-yrznvahk.js → app-yrznvahk.js} +2 -2
- package/dist/chunks/{location-services-6nyydjrp.js → app-ysp9ar34.js} +38 -38
- package/dist/chunks/{location-services-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-services-f360e7aw.js → app-z263g23a.js} +4 -4
- package/dist/chunks/{location-services-38z2y7mt.js → app-z436s2b4.js} +7 -7
- package/dist/chunks/{location-services-z63w68vq.js → app-z63w68vq.js} +2 -2
- package/dist/chunks/{location-services-fqvj2kck.js → app-z69s9t6b.js} +5 -5
- package/dist/chunks/{location-services-abf5nrzb.js → app-z7q7xh3f.js} +36 -36
- package/dist/chunks/{location-services-8hy82370.js → app-zatbqxgv.js} +13 -13
- package/dist/chunks/{location-services-gvp64fzy.js → app-zdfh42na.js} +14 -14
- package/dist/chunks/{location-services-8cv2rr7h.js → app-zkr9wvfc.js} +15 -15
- package/dist/chunks/{location-services-h13535c5.js → app-znyaqt29.js} +11 -11
- package/dist/chunks/{location-services-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-services-npamts55.js → app-zxghrxcs.js} +9 -9
- package/dist/chunks/{location-services-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/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 +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +89 -89
- 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 +69 -69
- package/dist/file-access.js +98 -98
- package/dist/file-mutation.js +90 -90
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +223 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +94 -94
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +97 -97
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +83 -83
- package/dist/generate.js +94 -94
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +98 -98
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +351 -351
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +6 -6
- package/dist/models-dev.js +75 -75
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +99 -99
- 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 +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -98
- 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 +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- 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 +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- 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 +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +81 -81
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +81 -81
- package/dist/reference.js +83 -83
- package/dist/repository-cache.js +75 -75
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- 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 +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +89 -89
- 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 +122 -122
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- 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 +2 -2
- 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 +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- 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 +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/location-services-4fd074mh.js +0 -247
- package/dist/chunks/location-services-6cy1ztdc.js +0 -22
- package/dist/chunks/location-services-9sh4wc5j.js +0 -18
- package/dist/chunks/location-services-nb15d6a9.js +0 -462
- package/dist/chunks/location-services-qapv375x.js +0 -4
- /package/dist/chunks/{location-services-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-services-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-services-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-services-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-services-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-services-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-services-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-services-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-services-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-services-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{location-services-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-services-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-services-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-services-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-services-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-services-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-services-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-services-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{location-services-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-services-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{location-services-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-services-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-services-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{location-services-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-services-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-services-922hggd3.js → app-922hggd3.js} +0 -0
- /package/dist/chunks/{location-services-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-services-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-services-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-services-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-services-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-services-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-services-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-services-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-services-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-services-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-services-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-services-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-services-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-services-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-services-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-services-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{location-services-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-services-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-services-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-services-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-services-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-services-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-services-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-services-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-services-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-services-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-services-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-services-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-services-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{location-services-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-services-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{location-services-hjbc5kem.js → app-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-services-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{location-services-hrnqkpcd.js → app-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-services-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-services-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-services-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-services-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-services-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-services-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-services-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-services-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-services-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-services-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-services-paphc93g.js → app-paphc93g.js} +0 -0
- /package/dist/chunks/{location-services-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-services-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-services-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-services-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-services-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-services-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-services-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-services-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-services-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-services-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-services-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-services-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-services-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-services-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-services-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-services-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{location-services-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-services-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-services-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-services-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-services-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-services-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./app-qf37q8gn.js";
|
|
4
4
|
import {
|
|
5
5
|
Service70
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-r0vf4cs4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin45,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin45 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
56
|
+
const forms = yield* Service62;
|
|
57
57
|
const permission = yield* Service70;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input13,
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./app-vwa5ss5y.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service35
|
|
6
|
+
} from "./app-gh196etk.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp = {};
|
|
13
13
|
__export(exports_mcp, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin17,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin17 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service51;
|
|
28
|
+
const mcp = yield* Service35;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin17, register2, exports_mcp };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
|
+
Info: () => Info13
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info13 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info16 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info13, exports_command5 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node80
|
|
4
|
+
} from "./app-8gterf16.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-eaj1djv9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service31,
|
|
19
|
+
node: () => node36
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service31 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service75;
|
|
29
|
+
return Service31.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
31
|
make21({
|
|
32
32
|
key: Key4.make("core/environment"),
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node36 = makeLocationNode({ service: Service31, layer, deps: [Global.node, node80] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service31, node36, exports_builtins };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-vm44ba8w.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service35,
|
|
7
|
+
node39
|
|
8
|
+
} from "./app-gh196etk.js";
|
|
9
9
|
import {
|
|
10
10
|
Service70,
|
|
11
11
|
node75
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-r0vf4cs4.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service48,
|
|
15
|
+
node51
|
|
16
|
+
} from "./app-xvh115na.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-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: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service30,
|
|
26
|
+
layer: () => layer14,
|
|
27
|
+
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node35
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service30 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer14 = Layer.effect(Service30, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service35;
|
|
42
|
+
const tools = yield* Service48;
|
|
43
43
|
const bus = yield* Service78;
|
|
44
44
|
const permission = yield* Service70;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -62,7 +62,7 @@ var layer12 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
62
62
|
output: tool.outputSchema ?? {},
|
|
63
63
|
execute: (input, context) => Effect.gen(function* () {
|
|
64
64
|
yield* permission.assert({
|
|
65
|
-
action:
|
|
65
|
+
action: name14(tool.server, tool.name),
|
|
66
66
|
resources: ["*"],
|
|
67
67
|
save: ["*"],
|
|
68
68
|
metadata: {},
|
|
@@ -95,11 +95,23 @@ var layer12 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
95
95
|
});
|
|
96
96
|
const text = content.flatMap((part) => part.type === "text" ? [part.text] : []).join(`
|
|
97
97
|
`);
|
|
98
|
+
const output = () => {
|
|
99
|
+
if (result.structured !== undefined)
|
|
100
|
+
return result.structured;
|
|
101
|
+
if (text === "")
|
|
102
|
+
return null;
|
|
103
|
+
if (tool.outputSchema === undefined && (text.startsWith("{") || text.startsWith("["))) {
|
|
104
|
+
try {
|
|
105
|
+
return JSON.parse(text);
|
|
106
|
+
} catch {}
|
|
107
|
+
}
|
|
108
|
+
return text;
|
|
109
|
+
};
|
|
98
110
|
return {
|
|
99
|
-
output:
|
|
111
|
+
output: output(),
|
|
100
112
|
...content.length === 0 ? {} : { content }
|
|
101
113
|
};
|
|
102
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
114
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
|
|
103
115
|
});
|
|
104
116
|
}
|
|
105
117
|
});
|
|
@@ -112,12 +124,12 @@ var layer12 = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
112
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
113
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
114
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
115
|
-
return
|
|
127
|
+
return Service30.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
116
128
|
}));
|
|
117
|
-
var
|
|
118
|
-
service:
|
|
119
|
-
layer:
|
|
120
|
-
deps: [
|
|
129
|
+
var node35 = makeLocationNode({
|
|
130
|
+
service: Service30,
|
|
131
|
+
layer: layer14,
|
|
132
|
+
deps: [node51, node39, node83, node75]
|
|
121
133
|
});
|
|
122
134
|
|
|
123
|
-
export { namespace2,
|
|
135
|
+
export { namespace2, name14, Service30, layer14, node35, exports_mcp3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service60
|
|
3
|
-
} from "./location-services-3cnpae06.js";
|
|
4
1
|
import {
|
|
5
2
|
Service38
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./app-q2n1g2hy.js";
|
|
4
|
+
import {
|
|
5
|
+
Service45
|
|
6
|
+
} from "./app-ff0htmxq.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-by5v678g.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service45;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service38), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-vm44ba8w.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./app-8gterf16.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./app-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info4,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service20,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node24
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service20 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service75;
|
|
53
53
|
const bus = yield* Service78;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service20.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node24 = makeLocationNode({
|
|
165
|
+
service: Service20,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node80, node83]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service20, node24, exports_vcs };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service65,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node68
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service65 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service65.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node68 = makeLocationNode({ service: Service65, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service65, node68, exports_image2 };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-j6kg5r8z.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service57,
|
|
17
|
+
node: () => node60
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service57 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service79).db;
|
|
26
|
-
return
|
|
26
|
+
return Service57.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node60 = makeGlobalNode({ service: Service57, layer, deps: [node84] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service57, node60, exports_kv };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-j6kg5r8z.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-hdnk95c8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
16
|
+
ID: () => ID13,
|
|
17
17
|
Info: () => Info27,
|
|
18
|
-
ListInput: () =>
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service72,
|
|
21
|
+
node: () => node77
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
28
|
+
var ID13 = PermissionSaved.ID;
|
|
29
29
|
var Info27 = PermissionSaved.Info;
|
|
30
|
-
var
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service72 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service79).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID13.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service72.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node77 = makeGlobalNode({ service: Service72, layer, deps: [node84] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID13, Info27, ListInput5, AddInput2, Service72, node77, exports_saved };
|