@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,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-c1gcx4p7.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-nsc4cbcy.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service52
|
|
9
|
+
} from "./location-activity-dzse07y5.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError8,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-activity-89za3yyg.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service59
|
|
29
|
+
} from "./location-activity-rvevwjzn.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service51
|
|
34
|
+
} from "./location-activity-rm6495e7.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service48
|
|
37
|
+
} from "./location-activity-f8qb16qy.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./location-activity-59g0s8dr.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./location-activity-p1h07j1p.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./location-activity-znf88vwq.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./location-activity-tbd6cyzm.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
@@ -65,16 +65,16 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
65
65
|
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service83;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service59;
|
|
69
|
+
const instances = yield* Service52;
|
|
70
|
+
const execution = yield* Service48;
|
|
71
|
+
const admission = yield* Service51;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError8({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service52, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service52, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service52, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service52, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service52, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make18
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make18 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make19 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make18, exports_run_coordinator };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./location-activity-k6ehc7p5.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-activity-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input12,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin48,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name12
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name12 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input12 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input4 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input12.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin48 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service57;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name12,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description5,
|
|
104
|
+
input: Input12,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin25 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name12,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name12, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin48, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-5824vx86.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin22,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin22 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin36 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin36 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin22, exports_firecrawl };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-c1gcx4p7.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-activity-nxm207yx.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-nsc4cbcy.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-activity-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-activity-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-my4zabxr.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-activity-kb9j3d72.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info9,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service51,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer20,
|
|
49
|
+
list: () => list3,
|
|
50
|
+
make: () => make19,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node54,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info9,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service51 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service84;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service83;
|
|
@@ -173,7 +173,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info9.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -193,7 +193,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list3(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer20 = Layer.effect(Service51, make19());
|
|
231
|
+
var node54 = makeGlobalNode({ service: Service51, layer: layer20, deps: [node88, node87] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info9, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service51, make19, layer20, node54, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-activity-c1gcx4p7.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-kb9j3d72.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load4
|
|
12
|
+
} from "./location-activity-v0a4cbca.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-drnf6xwf.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput5,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service59,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node62
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service59 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service84;
|
|
59
|
-
return
|
|
59
|
+
return Service59.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
98
98
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
99
99
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
100
100
|
}),
|
|
101
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
101
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
|
|
102
102
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
103
103
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
104
104
|
return row ? {
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node62 = makeGlobalNode({ service: Service59, layer, deps: [node88] });
|
|
129
129
|
|
|
130
|
-
export { ListInput5,
|
|
130
|
+
export { ListInput5, Service59, node62, exports_store };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-activity-s8d7rejh.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-activity-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-kb9j3d72.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./location-activity-4s3tx91s.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/module.ts
|
|
12
12
|
var exports_module = {};
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
25
|
var make4 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
-
const watcher = yield*
|
|
26
|
+
const watcher = yield* Service66;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|