@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,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-922hggd3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./app-8gterf16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service17,
|
|
11
|
+
node20
|
|
12
|
+
} from "./app-djtdt1jf.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/filesystem.ts
|
|
18
18
|
var exports_filesystem = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_filesystem, {
|
|
|
21
21
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
22
22
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
23
23
|
Entry: () => Entry2,
|
|
24
|
-
Event: () =>
|
|
24
|
+
Event: () => Event4,
|
|
25
25
|
FileSystem: () => exports_filesystem,
|
|
26
26
|
FindInput: () => FindInput2,
|
|
27
27
|
GlobInput: () => GlobInput2,
|
|
@@ -29,9 +29,9 @@ __export(exports_filesystem, {
|
|
|
29
29
|
ListInput: () => ListInput2,
|
|
30
30
|
Match: () => Match2,
|
|
31
31
|
ReadInput: () => ReadInput2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service16,
|
|
33
33
|
Submatch: () => Submatch2,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node19
|
|
35
35
|
});
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
37
37
|
import path from "path";
|
|
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
72
72
|
limit: Schema.optionalKey(PositiveInt2)
|
|
73
73
|
}) {
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var Event4 = FileSystem.Event;
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service16 extends Context.Service()("@opencode/FileSystem") {
|
|
78
78
|
}
|
|
79
|
-
var baseLayer = Layer.effect(
|
|
79
|
+
var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
80
80
|
const fs = yield* FSUtil.Service;
|
|
81
|
-
const location = yield*
|
|
82
|
-
const search = yield*
|
|
81
|
+
const location = yield* Service75;
|
|
82
|
+
const search = yield* Service17;
|
|
83
83
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
84
84
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
85
85
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
90
90
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
91
91
|
return { absolute, real, directory: location.directory };
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service16.of({
|
|
94
94
|
find: search.find,
|
|
95
95
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
96
96
|
const target = yield* resolve(input.path);
|
|
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
124
|
}));
|
|
125
|
-
var
|
|
126
|
-
service:
|
|
125
|
+
var node19 = makeLocationNode({
|
|
126
|
+
service: Service16,
|
|
127
127
|
layer: baseLayer,
|
|
128
|
-
deps: [FSUtil.node,
|
|
128
|
+
deps: [FSUtil.node, node80, node20]
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2,
|
|
131
|
+
export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service16, node19, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID18,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-m27pyyd3.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/amazon-bedrock.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -22,7 +22,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* ctx.integration.transform((editor) => {
|
|
24
24
|
editor.method.update({
|
|
25
|
-
integrationID:
|
|
25
|
+
integrationID: ID18.amazonBedrock,
|
|
26
26
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
27
27
|
});
|
|
28
28
|
});
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./app-8gterf16.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./app-xy81sevq.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service18,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-2wbdg5ka.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service14
|
|
14
|
+
} from "./app-324m7t1q.js";
|
|
15
15
|
import {
|
|
16
16
|
Service70
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./app-r0vf4cs4.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service19,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-e0ytsh2g.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./app-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input4,
|
|
34
|
+
Output: () => Output4,
|
|
35
|
+
Plugin: () => Plugin5,
|
|
36
|
+
name: () => name4
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name4 = "edit";
|
|
43
|
+
var Input4 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output4 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin5 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
109
|
+
const access = yield* Service19;
|
|
110
|
+
const fileMutation = yield* Service18;
|
|
111
|
+
const environment = yield* Service67;
|
|
112
|
+
const formatter = yield* Service14;
|
|
113
|
+
const location = yield* Service75;
|
|
114
114
|
const permission = yield* Service70;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name4,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input4,
|
|
120
|
+
output: Output4,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin27 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name4, Input4, Output4, Plugin5, exports_edit };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-j6kg5r8z.js";
|
|
5
5
|
import {
|
|
6
6
|
Service78,
|
|
7
7
|
node83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-vm44ba8w.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./app-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./app-1hc11dc4.js";
|
|
21
21
|
import {
|
|
22
22
|
load3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./app-qnfdnam0.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./app-kg06axw8.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-3q1jyqhd.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./app-vfr9bssk.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./app-632vtz5r.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./app-fwe2c1cd.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./app-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./app-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./app-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction2 = {};
|
|
56
56
|
__export(exports_compaction2, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service10,
|
|
58
58
|
SessionCompaction: () => exports_compaction2,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer7,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node13,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service10 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -296,7 +296,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
296
296
|
};
|
|
297
297
|
var hasSummarySection = (summary) => summary.split(`
|
|
298
298
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
299
|
-
var layer7 = Layer.effect(
|
|
299
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
300
300
|
const bus = yield* Service78;
|
|
301
301
|
const llm = yield* LLMClient.Service;
|
|
302
302
|
const db = (yield* Service79).db;
|
|
@@ -605,7 +605,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
605
605
|
}
|
|
606
606
|
}));
|
|
607
607
|
});
|
|
608
|
-
return
|
|
608
|
+
return Service10.of({
|
|
609
609
|
transform: state.transform,
|
|
610
610
|
reload: state.reload,
|
|
611
611
|
enabled: () => state.get().auto,
|
|
@@ -614,10 +614,10 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
614
614
|
compactManual
|
|
615
615
|
});
|
|
616
616
|
}));
|
|
617
|
-
var
|
|
618
|
-
service:
|
|
617
|
+
var node13 = makeLocationNode({
|
|
618
|
+
service: Service10,
|
|
619
619
|
layer: layer7,
|
|
620
620
|
deps: [node83, node84, llmClient2]
|
|
621
621
|
});
|
|
622
622
|
|
|
623
|
-
export {
|
|
623
|
+
export { Service10, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node13, exports_compaction2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-8gterf16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
13
|
-
canonical: () =>
|
|
14
|
-
node: () =>
|
|
12
|
+
Service: () => Service46,
|
|
13
|
+
canonical: () => canonical2,
|
|
14
|
+
node: () => node49
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service46 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service46, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
function
|
|
26
|
+
var node49 = LayerNode.unbound(Service46, Node.tags.values.global);
|
|
27
|
+
function canonical2(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
30
30
|
workspaceID: ref.workspaceID
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service46, node49, canonical2, exports_location_service_map };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78,
|
|
6
6
|
node83
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-vm44ba8w.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service63,
|
|
11
|
+
node66
|
|
12
|
+
} from "./app-wnh11y56.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service75,
|
|
15
|
+
node80
|
|
16
|
+
} from "./app-8gterf16.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service67,
|
|
19
|
+
node71
|
|
20
|
+
} from "./app-xy81sevq.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID9,
|
|
23
|
+
Service62,
|
|
24
|
+
node65
|
|
25
|
+
} from "./app-qf37q8gn.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-kg06axw8.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID8,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service61,
|
|
34
|
+
node64
|
|
35
|
+
} from "./app-vtkevy7h.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./app-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
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options5,
|
|
46
46
|
Prompt: () => Prompt2,
|
|
47
47
|
PromptArgument: () => PromptArgument2,
|
|
48
48
|
PromptMessage: () => PromptMessage2,
|
|
@@ -56,15 +56,15 @@ __export(exports_mcp4, {
|
|
|
56
56
|
ServerInfo: () => ServerInfo2,
|
|
57
57
|
ServerInstructions: () => ServerInstructions2,
|
|
58
58
|
ServerName: () => ServerName2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service35,
|
|
60
60
|
Status: () => Status2,
|
|
61
61
|
Tool: () => Tool3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
ToolResult: () => ToolResult2,
|
|
64
64
|
ToolResultContent: () => ToolResultContent2,
|
|
65
|
-
configured: () =>
|
|
66
|
-
layer: () =>
|
|
67
|
-
node: () =>
|
|
65
|
+
configured: () => configured5,
|
|
66
|
+
layer: () => layer15,
|
|
67
|
+
node: () => node39
|
|
68
68
|
});
|
|
69
69
|
import { Mcp } from "@opencode/schema/mcp";
|
|
70
70
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
|
|
|
81
81
|
class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
|
|
82
82
|
name: ServerName2,
|
|
83
83
|
status: Status2,
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID8.pipe(Schema.optional)
|
|
85
85
|
}) {
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -147,7 +147,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
|
147
147
|
var ResourceContentPart2 = Mcp.ResourceContentPart;
|
|
148
148
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
149
149
|
|
|
150
|
-
class
|
|
150
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
151
151
|
server: ServerName2
|
|
152
152
|
}) {
|
|
153
153
|
get message() {
|
|
@@ -165,21 +165,21 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
|
|
|
165
165
|
var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
166
166
|
var cloneConfig = (config) => structuredClone(config);
|
|
167
167
|
|
|
168
|
-
class
|
|
168
|
+
class Service35 extends Context.Service()("@opencode/MCP") {
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var Options5 = Schema.Struct({
|
|
171
171
|
clientInfo: Schema.optional(Schema.Struct({
|
|
172
172
|
name: Schema.String,
|
|
173
173
|
version: Schema.String
|
|
174
174
|
}))
|
|
175
175
|
});
|
|
176
|
-
var
|
|
177
|
-
const location = yield*
|
|
178
|
-
const environment = yield*
|
|
176
|
+
var layer15 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
177
|
+
const location = yield* Service75;
|
|
178
|
+
const environment = yield* Service67;
|
|
179
179
|
const bus = yield* Service78;
|
|
180
|
-
const forms = yield*
|
|
181
|
-
const integration = yield*
|
|
182
|
-
const credentials = yield*
|
|
180
|
+
const forms = yield* Service62;
|
|
181
|
+
const integration = yield* Service61;
|
|
182
|
+
const credentials = yield* Service63;
|
|
183
183
|
const root = yield* Effect.scope;
|
|
184
184
|
const fork = yield* FiberSet.makeRuntime();
|
|
185
185
|
const entries = new Map;
|
|
@@ -191,7 +191,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
191
191
|
return;
|
|
192
192
|
const remote = entry.config;
|
|
193
193
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
194
|
-
const integrationID =
|
|
194
|
+
const integrationID = ID8.make(suffix);
|
|
195
195
|
entry.integrationID = integrationID;
|
|
196
196
|
owned.add(integrationID);
|
|
197
197
|
const methodID = MethodID2.make(suffix);
|
|
@@ -216,7 +216,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
216
216
|
const name = ServerName2.make(server);
|
|
217
217
|
const entry = entries.get(name);
|
|
218
218
|
if (!entry)
|
|
219
|
-
return yield* new
|
|
219
|
+
return yield* new NotFoundError4({ server: name });
|
|
220
220
|
return { name, entry };
|
|
221
221
|
});
|
|
222
222
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
@@ -315,7 +315,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
315
315
|
const elicitation = {
|
|
316
316
|
create: (input) => Effect.gen(function* () {
|
|
317
317
|
if (input.params.mode === "url") {
|
|
318
|
-
const formID =
|
|
318
|
+
const formID = ID9.create();
|
|
319
319
|
const key = input.server + "\x00" + input.params.elicitationId;
|
|
320
320
|
urlElicitations.set(key, formID);
|
|
321
321
|
return yield* forms.ask({
|
|
@@ -433,7 +433,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
433
433
|
entry.scope = scope;
|
|
434
434
|
const authProvider = yield* connectProvider(entry);
|
|
435
435
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
436
|
-
const result = yield* 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(
|
|
436
|
+
const result = yield* 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(Service67, environment), Scope.provide(scope), Effect.exit);
|
|
437
437
|
if (Exit.isSuccess(result)) {
|
|
438
438
|
entry.client = result.value.connection;
|
|
439
439
|
entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
|
|
@@ -557,7 +557,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
557
557
|
yield* startServer(name, entry);
|
|
558
558
|
}).pipe(locks.withLock(name));
|
|
559
559
|
});
|
|
560
|
-
fork(bus.subscribe(
|
|
560
|
+
fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
561
561
|
const state = create3({
|
|
562
562
|
name: "mcp",
|
|
563
563
|
initial: () => ({
|
|
@@ -587,7 +587,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
587
587
|
concurrency: "unbounded",
|
|
588
588
|
discard: true
|
|
589
589
|
}));
|
|
590
|
-
return
|
|
590
|
+
return Service35.of({
|
|
591
591
|
transform: state.transform,
|
|
592
592
|
reload: state.reload,
|
|
593
593
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -707,14 +707,14 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
707
707
|
})
|
|
708
708
|
});
|
|
709
709
|
}));
|
|
710
|
-
function
|
|
710
|
+
function configured5(options) {
|
|
711
711
|
return makeLocationNode({
|
|
712
|
-
service:
|
|
713
|
-
layer:
|
|
714
|
-
deps: [
|
|
712
|
+
service: Service35,
|
|
713
|
+
layer: layer15(options),
|
|
714
|
+
deps: [node80, node71, node83, node65, node64, node66]
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var node39 = configured5();
|
|
718
718
|
function toElicitationField(key, property, required) {
|
|
719
719
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
720
720
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -765,4 +765,4 @@ function toElicitationField(key, property, required) {
|
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
|
|
768
|
-
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2,
|
|
768
|
+
export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service35, Options5, layer15, configured5, node39, exports_mcp4 };
|