@opencode/core 0.0.0-dev-20497 → 0.0.0-dev-20500
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{state-yxwprvvc.js → location-activity-0088bsaz.js} +11 -11
- package/dist/chunks/{state-gqngt8w2.js → location-activity-0gn99prb.js} +1 -1
- package/dist/chunks/{state-q0xm7vwc.js → location-activity-0j77ygfz.js} +6 -6
- package/dist/chunks/{state-8c0dth6r.js → location-activity-0khjy9ec.js} +29 -29
- package/dist/chunks/{state-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-0vbcp93d.js → location-activity-0vbcp93d.js} +2 -2
- package/dist/chunks/{state-dpdfbyc3.js → location-activity-0ww7qdtd.js} +10 -10
- package/dist/chunks/{state-p231z86d.js → location-activity-0x1x3bv9.js} +11 -11
- package/dist/chunks/{state-g8j3nkq1.js → location-activity-0zsbm5jj.js} +6 -6
- package/dist/chunks/{state-vhk0cnae.js → location-activity-10kh9wpp.js} +6 -6
- package/dist/chunks/{state-4r5b2nkg.js → location-activity-116zdfxn.js} +18 -18
- package/dist/chunks/{state-v3kds7by.js → location-activity-14mdsyfv.js} +21 -21
- package/dist/chunks/{state-w8r2knnq.js → location-activity-182h7z1q.js} +24 -24
- package/dist/chunks/{state-f5hm9jph.js → location-activity-18zhr4wr.js} +16 -16
- package/dist/chunks/{state-p46w8f27.js → location-activity-19kc4pyf.js} +3 -3
- package/dist/chunks/{state-624q30ze.js → location-activity-1b3nhc4c.js} +30 -30
- package/dist/chunks/{state-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
- package/dist/chunks/{state-b762k26z.js → location-activity-1s0zbmm5.js} +70 -70
- package/dist/chunks/{state-8ntxr6aa.js → location-activity-26k51bnn.js} +14 -14
- package/dist/chunks/{state-909kf17w.js → location-activity-28zek266.js} +18 -18
- package/dist/chunks/{state-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
- package/dist/chunks/{state-p9gcp42t.js → location-activity-2b5kbnky.js} +54 -54
- package/dist/chunks/{state-4ts7tf6z.js → location-activity-2ccvkpx1.js} +2 -2
- package/dist/chunks/{state-644qpva7.js → location-activity-2dnd7d20.js} +12 -12
- package/dist/chunks/{state-fmcpxxk1.js → location-activity-2emczhdf.js} +1 -1
- package/dist/chunks/{state-dan13dt5.js → location-activity-2hv4z9nr.js} +8 -8
- package/dist/chunks/{state-1sv0vpv6.js → location-activity-2k2r7q25.js} +15 -15
- package/dist/chunks/{state-7dqw4kz8.js → location-activity-2k8khapm.js} +5 -5
- package/dist/chunks/{state-7e0wtkms.js → location-activity-2m1n7xtd.js} +18 -18
- package/dist/chunks/{state-0t6gahkk.js → location-activity-2mwmrpq2.js} +15 -15
- package/dist/chunks/{state-mypwhdkk.js → location-activity-2nv2m7pf.js} +6 -6
- package/dist/chunks/{state-kbqjp078.js → location-activity-2p623br6.js} +5 -5
- package/dist/chunks/{state-dtjwaa49.js → location-activity-2w99apfa.js} +30 -30
- package/dist/chunks/{state-rtathh62.js → location-activity-2wts5qzq.js} +8 -8
- package/dist/chunks/{state-4wwqnvbr.js → location-activity-30krspkn.js} +4 -4
- package/dist/chunks/{state-gdgwqvb1.js → location-activity-350srhaq.js} +48 -48
- package/dist/chunks/{state-ns3eape4.js → location-activity-3556dn8t.js} +1 -1
- package/dist/chunks/{state-dbmreddm.js → location-activity-38ws8pay.js} +3 -3
- package/dist/chunks/{state-sa6q0sr8.js → location-activity-3b41fz3n.js} +13 -13
- package/dist/chunks/{state-h2b79v29.js → location-activity-3cegwx68.js} +2 -2
- package/dist/chunks/{state-1bqfkzv3.js → location-activity-3cg47sj7.js} +10 -10
- package/dist/chunks/{state-rhgpg4e0.js → location-activity-3egz84b3.js} +37 -37
- package/dist/chunks/{state-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
- package/dist/chunks/{state-2318s8bz.js → location-activity-3fwjzrvh.js} +30 -30
- package/dist/chunks/{state-x1y3x1aj.js → location-activity-3h2r7n3c.js} +5 -5
- package/dist/chunks/{state-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-kqq88ggn.js → location-activity-3nmmjeqr.js} +16 -16
- package/dist/chunks/{state-bfs290yx.js → location-activity-3r57vsxn.js} +11 -11
- package/dist/chunks/{state-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
- package/dist/chunks/{state-4xrh0rhr.js → location-activity-4cbqv3gk.js} +20 -20
- package/dist/chunks/{state-sp8t9wc6.js → location-activity-4gb6f9fb.js} +13 -13
- package/dist/chunks/{state-4q6hdv07.js → location-activity-4s3tx91s.js} +24 -24
- package/dist/chunks/location-activity-4v7qdvcn.js +18 -0
- package/dist/chunks/{state-xpzvwsxq.js → location-activity-4vp2zkv1.js} +9 -9
- package/dist/chunks/{state-88sjpthe.js → location-activity-4w2h89yz.js} +7 -7
- package/dist/chunks/{state-n1n192bv.js → location-activity-4z58m4b4.js} +4 -4
- package/dist/chunks/{state-5qm7xrem.js → location-activity-53sad93v.js} +4 -4
- package/dist/chunks/{state-54ma36ye.js → location-activity-54ma36ye.js} +1 -1
- package/dist/chunks/{state-pkzjbd09.js → location-activity-567pkxz1.js} +3 -3
- package/dist/chunks/{state-ys6344d6.js → location-activity-5824vx86.js} +10 -10
- package/dist/chunks/{state-2gjcxze4.js → location-activity-59g0s8dr.js} +16 -16
- package/dist/chunks/{state-ybgh13y4.js → location-activity-5c258t51.js} +42 -42
- package/dist/chunks/{state-rvs38pn0.js → location-activity-5cd0f864.js} +9 -9
- package/dist/chunks/{state-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
- package/dist/chunks/{state-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
- package/dist/chunks/{state-fwxwf8vc.js → location-activity-5z2nh3x1.js} +25 -25
- package/dist/chunks/{state-p7e0sywk.js → location-activity-60xcggm2.js} +47 -47
- package/dist/chunks/{state-ea7tr73m.js → location-activity-62whfj7q.js} +13 -13
- package/dist/chunks/{state-66fqs2ya.js → location-activity-63kpjth9.js} +9 -9
- package/dist/chunks/{state-6axd00vm.js → location-activity-656t1bz5.js} +2 -2
- package/dist/chunks/{state-669tq793.js → location-activity-669tq793.js} +1 -1
- package/dist/chunks/location-activity-6gf083h8.js +507 -0
- package/dist/chunks/{state-tw9sy4ky.js → location-activity-6w9mkn96.js} +8 -8
- package/dist/chunks/{state-ysd7vb1z.js → location-activity-6xw19n4w.js} +17 -17
- package/dist/chunks/{state-9zsw43zy.js → location-activity-71rmkmqd.js} +25 -25
- package/dist/chunks/{state-7tfh8s6m.js → location-activity-74ksxchy.js} +20 -20
- package/dist/chunks/{state-s95j5qxz.js → location-activity-75n2a8fh.js} +9 -9
- package/dist/chunks/{state-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-25fpdh8d.js → location-activity-7pn4z2ev.js} +12 -12
- package/dist/chunks/{state-9b8xxv86.js → location-activity-7qw5pe6x.js} +15 -15
- package/dist/chunks/{state-ecx4enea.js → location-activity-7y5xt9fp.js} +22 -22
- package/dist/chunks/{state-hsyrampd.js → location-activity-82jtb5jc.js} +20 -19
- package/dist/chunks/{state-z3tfttx3.js → location-activity-82m24mh1.js} +25 -25
- package/dist/chunks/{state-1dvck2a7.js → location-activity-84h8c373.js} +2 -2
- package/dist/chunks/{state-84txncab.js → location-activity-84txncab.js} +1 -1
- package/dist/chunks/{state-sraxnq5r.js → location-activity-8767ctf1.js} +26 -26
- package/dist/chunks/{state-1gpb38yh.js → location-activity-89za3yyg.js} +9 -9
- package/dist/chunks/{state-0evtapph.js → location-activity-8bm8gygk.js} +16 -16
- package/dist/chunks/{state-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
- package/dist/chunks/{state-zee1rnkq.js → location-activity-8gxqpgph.js} +4 -4
- package/dist/chunks/{state-2dmzcsnk.js → location-activity-8mk23zt3.js} +19 -19
- package/dist/chunks/{state-tjw6xf46.js → location-activity-8rd7mgjq.js} +28 -28
- package/dist/chunks/{state-n9phctzh.js → location-activity-8s0hbtb0.js} +20 -20
- package/dist/chunks/{state-py3kkmfq.js → location-activity-8sze2n9a.js} +6 -6
- package/dist/chunks/{state-c71c51b7.js → location-activity-8vtzpwjk.js} +4 -4
- package/dist/chunks/{state-br0tr5aq.js → location-activity-9hn6k4tm.js} +8 -8
- package/dist/chunks/{state-h8m34f5a.js → location-activity-9q5tzmyt.js} +4 -4
- package/dist/chunks/{state-jfdg5rtg.js → location-activity-9zdzxtry.js} +16 -16
- package/dist/chunks/{state-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
- package/dist/chunks/{state-1184ktb1.js → location-activity-aax9h3pd.js} +21 -21
- package/dist/chunks/{state-0vmmzasy.js → location-activity-adcymw1a.js} +18 -18
- package/dist/chunks/{state-h0ax5cdq.js → location-activity-adfvz2d6.js} +22 -22
- package/dist/chunks/{state-f21xsg09.js → location-activity-adkbmeq0.js} +13 -13
- package/dist/chunks/{state-e9vvwa2x.js → location-activity-adr463s0.js} +18 -18
- package/dist/chunks/{state-8vnprxe7.js → location-activity-ah6q2b7n.js} +4 -4
- package/dist/chunks/{state-8snfv42w.js → location-activity-ajc4e5h8.js} +26 -26
- package/dist/chunks/{state-8t6qyhyp.js → location-activity-b24eg6ry.js} +18 -18
- package/dist/chunks/{state-t2fc4mz5.js → location-activity-b27vhd2z.js} +4 -4
- package/dist/chunks/{state-9fre5sse.js → location-activity-b2yqmgr8.js} +24 -24
- package/dist/chunks/{state-hdkng2sj.js → location-activity-b3f8fkhc.js} +5 -5
- package/dist/chunks/{state-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
- package/dist/chunks/{state-wa8c4pwg.js → location-activity-b7n6rk97.js} +3 -3
- package/dist/chunks/{state-vaj4218p.js → location-activity-b8b36prg.js} +2 -2
- package/dist/chunks/{state-8pngkf8q.js → location-activity-bcyfx9y6.js} +11 -11
- package/dist/chunks/{state-p4eehdyd.js → location-activity-bdn2jqxx.js} +8 -8
- package/dist/chunks/{state-st3bvm3z.js → location-activity-c0j408pk.js} +1 -1
- package/dist/chunks/{state-n4qnjn2y.js → location-activity-c1gcx4p7.js} +3 -3
- package/dist/chunks/{state-d945dqfg.js → location-activity-c5kb033c.js} +3 -3
- package/dist/chunks/{state-pmykgg8c.js → location-activity-ca1cswfe.js} +8 -8
- package/dist/chunks/{state-f8tsdbed.js → location-activity-caseqyrv.js} +27 -27
- package/dist/chunks/{state-wsb67xeh.js → location-activity-chrxq3ex.js} +10 -10
- package/dist/chunks/{state-4kzv2d1h.js → location-activity-ck8kqaap.js} +20 -20
- package/dist/chunks/{state-n8p82dhe.js → location-activity-cmg6gnv1.js} +33 -33
- package/dist/chunks/{state-3hewh51z.js → location-activity-cnm58bzr.js} +3 -3
- package/dist/chunks/{state-qmqgtz8f.js → location-activity-cpneeje0.js} +9 -9
- package/dist/chunks/{state-xxtx82bf.js → location-activity-d4xa2c0j.js} +12 -12
- package/dist/chunks/{state-pz5sph25.js → location-activity-dc9hv6dn.js} +20 -20
- package/dist/chunks/{state-xkntkrq7.js → location-activity-dmqcgk4z.js} +5 -5
- package/dist/chunks/{state-v03amwsg.js → location-activity-dmvmn2q0.js} +16 -16
- package/dist/chunks/{state-drnf6xwf.js → location-activity-drnf6xwf.js} +2 -2
- package/dist/chunks/{state-r5wgqceq.js → location-activity-dzse07y5.js} +6 -6
- package/dist/chunks/{state-2a2w6e8b.js → location-activity-e2c97wf8.js} +14 -14
- package/dist/chunks/{state-5qd3pb7m.js → location-activity-e3qxr5gk.js} +2 -2
- package/dist/chunks/{state-4dqr7rbq.js → location-activity-ebh19h62.js} +2 -2
- package/dist/chunks/{state-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
- package/dist/chunks/{state-ztn91se7.js → location-activity-ekssatwp.js} +35 -35
- package/dist/chunks/{state-jte75k51.js → location-activity-ep44p4pe.js} +12 -12
- package/dist/chunks/{state-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
- package/dist/chunks/{state-973dr9hw.js → location-activity-f2ttxgzq.js} +11 -11
- package/dist/chunks/{state-4gdcnkn7.js → location-activity-f47cg35j.js} +16 -16
- package/dist/chunks/{state-71az546q.js → location-activity-f75zav2x.js} +2 -2
- package/dist/chunks/{state-xxyjb3m7.js → location-activity-f8qb16qy.js} +37 -37
- package/dist/chunks/{state-kt2nv8m7.js → location-activity-f8r3hpen.js} +11 -11
- package/dist/chunks/{state-036v1hvj.js → location-activity-fgbghkbj.js} +6 -6
- package/dist/chunks/{state-px82hka4.js → location-activity-g327wf0w.js} +27 -27
- package/dist/chunks/{state-62j9fngz.js → location-activity-g4je1hn3.js} +20 -20
- package/dist/chunks/{state-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-1nn5drgz.js → location-activity-gda1r8ym.js} +5 -5
- package/dist/chunks/{state-b9j1h4rt.js → location-activity-gny09gtg.js} +36 -36
- package/dist/chunks/{state-2a67ew1x.js → location-activity-h1yvt719.js} +18 -18
- package/dist/chunks/{state-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-94wqyd0k.js → location-activity-hfgdd62m.js} +3 -3
- package/dist/chunks/{state-g7djzk09.js → location-activity-hjhkbmax.js} +10 -10
- package/dist/chunks/{state-raw9brj8.js → location-activity-hntbmpkd.js} +9 -9
- package/dist/chunks/{state-r5x6zcsm.js → location-activity-j028xdjb.js} +3 -3
- package/dist/chunks/{state-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
- package/dist/chunks/{state-4yajm3g0.js → location-activity-j8h6sbfz.js} +18 -18
- package/dist/chunks/{state-e971aeta.js → location-activity-jf6pjsy2.js} +21 -21
- package/dist/chunks/{state-6ysrkrkr.js → location-activity-k1qrnqst.js} +8 -8
- package/dist/chunks/{state-csm73x4e.js → location-activity-k2dbp69f.js} +10 -10
- package/dist/chunks/{state-93gtw0bd.js → location-activity-k3qhtr9e.js} +11 -11
- package/dist/chunks/{state-mbaznf29.js → location-activity-k6ehc7p5.js} +55 -55
- package/dist/chunks/{state-9e5bzkjp.js → location-activity-kb9j3d72.js} +3 -3
- package/dist/chunks/{state-mj0s41ck.js → location-activity-kef0s52w.js} +18 -18
- package/dist/chunks/{state-yrxxtv3n.js → location-activity-keqbsmdz.js} +24 -24
- package/dist/chunks/{state-hd6j8gz4.js → location-activity-kgnaaj8y.js} +15 -15
- package/dist/chunks/{state-qc1gh2j1.js → location-activity-ks91b70y.js} +8 -8
- package/dist/chunks/{state-28hqs9y2.js → location-activity-kw5sw8fc.js} +34 -34
- package/dist/chunks/{state-m3fdjcah.js → location-activity-m3fdjcah.js} +1 -1
- package/dist/chunks/location-activity-m4mmr2p7.js +26 -0
- package/dist/chunks/{state-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-ypzxwbyd.js → location-activity-mbjkcgq4.js} +5 -5
- package/dist/chunks/{state-1qqsgqx8.js → location-activity-md6w79y2.js} +13 -13
- package/dist/chunks/{state-56gdpj1q.js → location-activity-mfqp6xfm.js} +6 -6
- package/dist/chunks/{state-tk1fp2k0.js → location-activity-mpqcdsgc.js} +8 -8
- package/dist/chunks/{state-4h35skqa.js → location-activity-n2nn37za.js} +33 -33
- package/dist/chunks/{state-d5cem32y.js → location-activity-n6nrhf01.js} +28 -28
- package/dist/chunks/{state-q1ee63dc.js → location-activity-n8sna2wb.js} +8 -8
- package/dist/chunks/{state-vfsag6yk.js → location-activity-nfg6fefr.js} +9 -9
- package/dist/chunks/{state-hv7bcywx.js → location-activity-nh29y208.js} +15 -15
- package/dist/chunks/{state-v9gds4fw.js → location-activity-npmyd0cc.js} +43 -43
- package/dist/chunks/{state-wt1200yk.js → location-activity-nsc4cbcy.js} +4 -4
- package/dist/chunks/{state-rew73zxc.js → location-activity-nvnab6fc.js} +11 -11
- package/dist/chunks/{state-dpkg50ah.js → location-activity-nxm207yx.js} +4 -4
- package/dist/chunks/{state-1e734s2r.js → location-activity-p074vfk9.js} +5 -5
- package/dist/chunks/{state-2227vqj9.js → location-activity-p1h07j1p.js} +20 -20
- package/dist/chunks/{state-cavr175a.js → location-activity-p51p3jcg.js} +21 -21
- package/dist/chunks/{state-fy6qjb7w.js → location-activity-p6wsjyz9.js} +1 -1
- package/dist/chunks/{state-q6khfqja.js → location-activity-p9esxrs0.js} +3 -3
- package/dist/chunks/{state-cbmd897h.js → location-activity-pde12nfv.js} +48 -48
- package/dist/chunks/{state-8eyw4fk8.js → location-activity-pg2wvq8g.js} +10 -10
- package/dist/chunks/{state-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → location-activity-pknna89w.js} +1 -1
- package/dist/chunks/{state-j9sjb22p.js → location-activity-pwctwhe8.js} +85 -85
- package/dist/chunks/{state-1dqwkdsj.js → location-activity-pz72se8g.js} +26 -26
- package/dist/chunks/{state-hxwjf4m1.js → location-activity-qbdp3xnt.js} +11 -11
- package/dist/chunks/{state-zawmcqxv.js → location-activity-qd4eqyk6.js} +32 -32
- package/dist/chunks/{state-qnc92qwc.js → location-activity-qnc92qwc.js} +1 -1
- package/dist/chunks/{state-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
- package/dist/chunks/{state-8h1j60r2.js → location-activity-qsjmfp8y.js} +12 -12
- package/dist/chunks/{state-gs3s1a1g.js → location-activity-qwjmgwmn.js} +8 -8
- package/dist/chunks/{state-qxjc9qry.js → location-activity-qxjc9qry.js} +3 -3
- package/dist/chunks/{state-vktb4bc8.js → location-activity-r0qcsft7.js} +18 -18
- package/dist/chunks/{state-3wbg2ndj.js → location-activity-r33fmr05.js} +85 -85
- package/dist/chunks/{state-jj2sh7zv.js → location-activity-r4v44k83.js} +30 -30
- package/dist/chunks/{state-nqz1z0h7.js → location-activity-r4zgej02.js} +1 -1
- package/dist/chunks/{state-rhraev7y.js → location-activity-r8xr0va3.js} +4 -4
- package/dist/chunks/{state-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
- package/dist/chunks/{state-86pzz8c4.js → location-activity-rge4jpvb.js} +23 -23
- package/dist/chunks/{state-5a1vmb6m.js → location-activity-rjjes25b.js} +9 -9
- package/dist/chunks/{state-156pf76f.js → location-activity-rm6495e7.js} +24 -24
- package/dist/chunks/{state-x9e8217n.js → location-activity-rvevwjzn.js} +14 -14
- package/dist/chunks/{state-zfs8ae4p.js → location-activity-rx9ava5n.js} +4 -4
- package/dist/chunks/{state-11jr2j0r.js → location-activity-s7b7m8gm.js} +5 -5
- package/dist/chunks/{state-s8d7rejh.js → location-activity-s8d7rejh.js} +1 -1
- package/dist/chunks/{state-byvwhsqc.js → location-activity-spfm2vfw.js} +15 -15
- package/dist/chunks/{state-sg9fmgqt.js → location-activity-ss2amrnn.js} +29 -29
- package/dist/chunks/{state-jhqcthf8.js → location-activity-sy448gmp.js} +7 -7
- package/dist/chunks/{state-6b2hcgdj.js → location-activity-t0cz011w.js} +23 -23
- package/dist/chunks/{state-jrzdhf5b.js → location-activity-t6hpw5rz.js} +13 -13
- package/dist/chunks/{state-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-p3ywy9md.js → location-activity-tbd6cyzm.js} +9 -9
- package/dist/chunks/{state-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
- package/dist/chunks/{state-tdstcens.js → location-activity-tdstcens.js} +1 -1
- package/dist/chunks/{state-wqa2ds3j.js → location-activity-tgenbts9.js} +6 -6
- package/dist/chunks/{state-r40bckrt.js → location-activity-v0a4cbca.js} +11 -11
- package/dist/chunks/{state-qr6f2pwv.js → location-activity-v0es1rhs.js} +9 -9
- package/dist/chunks/{state-ymz5hgvb.js → location-activity-v3tjrmtr.js} +4 -4
- package/dist/chunks/{state-sy0mtapm.js → location-activity-v6eddqm0.js} +8 -8
- package/dist/chunks/{state-g1fss3aa.js → location-activity-v7gwj56g.js} +20 -20
- package/dist/chunks/{state-bv6pjsgs.js → location-activity-vd3qs992.js} +24 -24
- package/dist/chunks/{state-w0pbycsx.js → location-activity-vd5y62t1.js} +9 -9
- package/dist/chunks/{state-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
- package/dist/chunks/{state-k1ga895a.js → location-activity-vh2b5q6q.js} +13 -13
- package/dist/chunks/{state-sn21bnb2.js → location-activity-vt5p5cmk.js} +17 -17
- package/dist/chunks/{state-zyznzm79.js → location-activity-vw9et25q.js} +45 -45
- package/dist/chunks/{state-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
- package/dist/chunks/{state-vzs5sf6e.js → location-activity-vzs5sf6e.js} +1 -1
- package/dist/chunks/{state-w39jehkq.js → location-activity-w2h15q85.js} +5 -5
- package/dist/chunks/{state-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-fp0qye03.js → location-activity-w9a0vxq6.js} +1 -1
- package/dist/chunks/{state-wd87259q.js → location-activity-wd87259q.js} +1 -1
- package/dist/chunks/{state-0habsvra.js → location-activity-wf9apyvy.js} +42 -42
- package/dist/chunks/{state-mc3v3pa2.js → location-activity-wfx1w319.js} +33 -33
- package/dist/chunks/{state-eydxt9pj.js → location-activity-wg423nqg.js} +11 -11
- package/dist/chunks/{state-3zbwexce.js → location-activity-wg68nafb.js} +11 -11
- package/dist/chunks/{state-b5f29xgx.js → location-activity-wg8gh26w.js} +21 -21
- package/dist/chunks/{state-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
- package/dist/chunks/{state-x661k3y3.js → location-activity-x661k3y3.js} +1 -1
- package/dist/chunks/{state-4v4bfvma.js → location-activity-x6pyv2yz.js} +5 -5
- package/dist/chunks/{state-8qc73tc2.js → location-activity-xcx82w59.js} +143 -143
- package/dist/chunks/{state-xfkkasph.js → location-activity-xfkkasph.js} +1 -1
- package/dist/chunks/location-activity-xgc19d0k.js +253 -0
- package/dist/chunks/{state-jngrqr67.js → location-activity-xjvckg68.js} +17 -17
- package/dist/chunks/{state-vg7wcjck.js → location-activity-xn17k1w9.js} +7 -7
- package/dist/chunks/{state-ny88m09p.js → location-activity-y14bx9tm.js} +11 -11
- package/dist/chunks/{state-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-00x4qneg.js → location-activity-y1qqcj8h.js} +8 -8
- package/dist/chunks/{state-4vqt517m.js → location-activity-y2jnyesm.js} +10 -10
- package/dist/chunks/{state-dn8q5098.js → location-activity-y7cr295m.js} +11 -11
- package/dist/chunks/{state-kqcenne1.js → location-activity-yb8n5v0q.js} +4 -4
- package/dist/chunks/{state-yq5dzq7s.js → location-activity-yd69d4sv.js} +9 -9
- package/dist/chunks/{state-ac3w4tg1.js → location-activity-yegmnrcf.js} +11 -11
- package/dist/chunks/{state-b0m0sqtv.js → location-activity-yfez69s5.js} +10 -10
- package/dist/chunks/{state-j58c5xyq.js → location-activity-yr715y08.js} +9 -9
- package/dist/chunks/{state-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
- package/dist/chunks/{state-4bm5ja14.js → location-activity-z0aj456m.js} +4 -4
- package/dist/chunks/{state-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-89hqkma4.js → location-activity-z0p99b1b.js} +12 -12
- package/dist/chunks/{state-9hwaqfsw.js → location-activity-z6c3x22d.js} +5 -5
- package/dist/chunks/{state-jhc49e06.js → location-activity-z6rdb9sr.js} +14 -14
- package/dist/chunks/{state-pfw3e90a.js → location-activity-znf88vwq.js} +9 -9
- package/dist/chunks/{state-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-wby16mgw.js → location-activity-zxj9yazw.js} +5 -5
- package/dist/chunks/{state-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
- package/dist/chunks/{state-espax8zg.js → location-activity-zy43x3f1.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +88 -88
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- 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 +91 -91
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +94 -94
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +208 -208
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +114 -114
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/state-2dkqpbz0.js +0 -26
- package/dist/chunks/state-9zdhvgqs.js +0 -18
- package/dist/chunks/state-e9zkcnq0.js +0 -507
- package/dist/chunks/state-kqps6bad.js +0 -253
- /package/dist/chunks/{state-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-34c7v6d4.js → location-activity-34c7v6d4.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → location-activity-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3t0ybcrp.js → location-activity-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → location-activity-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → location-activity-6prwharc.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → location-activity-822emrt2.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → location-activity-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → location-activity-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → location-activity-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → location-activity-hk9envan.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-my4zabxr.js → location-activity-my4zabxr.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → location-activity-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
- /package/dist/chunks/{state-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z5v4ffb3.js → location-activity-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./location-activity-dmvmn2q0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service65
|
|
9
|
+
} from "./location-activity-wf9apyvy.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service38
|
|
12
|
+
} from "./location-activity-14mdsyfv.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin9
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin9 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service65;
|
|
34
|
+
const location = yield* Service80;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service38;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin15 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin9, exports_worktree };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin35,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin35 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin35, exports_tool_input_repair };
|
|
@@ -2,44 +2,44 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-activity-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service80
|
|
8
|
+
} from "./location-activity-dmvmn2q0.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service67
|
|
11
|
+
} from "./location-activity-vd3qs992.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service46
|
|
14
|
+
} from "./location-activity-2k2r7q25.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service17,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-activity-t6hpw5rz.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service57
|
|
22
|
+
} from "./location-activity-k6ehc7p5.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service14,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-adcymw1a.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-activity-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
38
|
+
Input: () => Input4,
|
|
39
39
|
Output: () => Output4,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
41
|
+
Plugin: () => Plugin38,
|
|
42
|
+
name: () => name4,
|
|
43
43
|
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name4 = "patch";
|
|
89
|
+
var Input4 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -105,20 +105,20 @@ var toModelContent3 = (output) => [
|
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin38 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service67;
|
|
112
|
+
const access = yield* Service14;
|
|
113
|
+
const fileMutation = yield* Service17;
|
|
114
|
+
const formatter = yield* Service46;
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const permission = yield* Service57;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name4,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
121
|
+
input: Input4,
|
|
122
122
|
output: Output4,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name4, Input4, Applied2, Output4, toModelContent3, Plugin38, exports_patch };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-mfqp6xfm.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin23,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin23 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin34 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint3);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint3, Plugin23, exports_exa };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin43,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin43 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin21 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin43, exports_opencode };
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-nxm207yx.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-nsc4cbcy.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
Event20,
|
|
10
|
+
Service76,
|
|
11
11
|
node80
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-caseqyrv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./location-activity-dmvmn2q0.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service67,
|
|
19
|
+
node70
|
|
20
|
+
} from "./location-activity-vd3qs992.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID14,
|
|
23
|
+
Service75,
|
|
24
|
+
node79
|
|
25
|
+
} from "./location-activity-t0cz011w.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-activity-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
31
|
ID13,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service74,
|
|
34
|
+
node78
|
|
35
|
+
} from "./location-activity-f47cg35j.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-activity-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: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service34,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured4,
|
|
56
|
+
layer: () => layer14,
|
|
57
|
+
node: () => node37
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service34 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options4 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer14 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service80;
|
|
116
|
+
const environment = yield* Service67;
|
|
117
117
|
const bus = yield* Service83;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service75;
|
|
119
|
+
const integration = yield* Service74;
|
|
120
|
+
const credentials = yield* Service76;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -145,7 +145,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service76, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError4({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service76, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID14.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service67, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer13 = (options) => Layer.effect(Service29, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service34.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured4(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service34,
|
|
536
|
+
layer: layer14(options),
|
|
537
|
+
deps: [node84, node70, node87, node79, node78, node80]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node37 = configured4();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service34, Options4, layer14, configured4, node37, exports_mcp4 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-tdstcens.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-p074vfk9.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-5824vx86.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-nsc4cbcy.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service76
|
|
11
|
+
} from "./location-activity-caseqyrv.js";
|
|
12
12
|
import {
|
|
13
13
|
ID13,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service74
|
|
16
|
+
} from "./location-activity-f47cg35j.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
22
|
ID12
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-82jtb5jc.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-fgbghkbj.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service76;
|
|
57
|
+
const integrations = yield* Service74;
|
|
58
58
|
const bus = yield* Service83;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|