@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,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service35
|
|
3
|
+
} from "./location-activity-adr463s0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./location-activity-dzse07y5.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-4v7qdvcn.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service52;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service35), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./location-activity-ep44p4pe.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service77,
|
|
16
|
+
node81
|
|
17
|
+
} from "./location-activity-pg2wvq8g.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service41,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node45,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service41 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service77;
|
|
110
|
+
return Service41.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node45 = makeGlobalNode({
|
|
171
|
+
service: Service41,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node81]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service41, isError2, validateBranch2, node45, exports_repository_cache };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-activity-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
node81
|
|
19
|
-
} from "./state-v03amwsg.js";
|
|
20
|
-
import {
|
|
21
|
-
Service81,
|
|
17
|
+
Service80,
|
|
22
18
|
node84
|
|
23
|
-
} from "./
|
|
19
|
+
} from "./location-activity-dmvmn2q0.js";
|
|
20
|
+
import {
|
|
21
|
+
Service68,
|
|
22
|
+
node71
|
|
23
|
+
} from "./location-activity-8767ctf1.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service67,
|
|
33
|
+
node: () => node70
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service67,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node70,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service67 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service80;
|
|
66
|
+
const workspace = yield* Service68;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service67.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node70 = makeLocationNode({
|
|
71
|
+
service: Service67,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node84, node71]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service67, node70, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service28,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
13
|
layer: () => layer11,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node31
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service28 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service28.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
372
|
var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node31 = makeGlobalNode({ service: Service28, layer: layer11, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service28, makeLayer2, layer11, node31, exports_model_transport };
|
|
@@ -1,37 +1,37 @@
|
|
|
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
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./location-activity-caseqyrv.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-activity-x661k3y3.js";
|
|
14
14
|
import {
|
|
15
15
|
ID13,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-activity-f47cg35j.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service13
|
|
21
|
+
} from "./location-activity-k1qrnqst.js";
|
|
22
22
|
import {
|
|
23
23
|
ID12,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-activity-82jtb5jc.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-activity-j8h6sbfz.js";
|
|
30
30
|
import {
|
|
31
31
|
ID5,
|
|
32
32
|
Input14,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-activity-b24eg6ry.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -166,7 +166,7 @@ var OpencodePlugin2 = define({
|
|
|
166
166
|
const bus = yield* Service83;
|
|
167
167
|
const client = yield* HttpClient.HttpClient;
|
|
168
168
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
169
|
-
const managed = yield*
|
|
169
|
+
const managed = yield* Service13;
|
|
170
170
|
const scope = yield* Scope.Scope;
|
|
171
171
|
const loading = Semaphore.makeUnsafe(1);
|
|
172
172
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -385,7 +385,7 @@ var OpencodePlugin2 = define({
|
|
|
385
385
|
explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
386
386
|
});
|
|
387
387
|
yield* guard(snapshot);
|
|
388
|
-
yield* bus.subscribe(
|
|
388
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
389
389
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
390
390
|
})
|
|
391
391
|
});
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./location-activity-182h7z1q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info13
|
|
9
|
+
} from "./location-activity-wg68nafb.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-activity-v3tjrmtr.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service65
|
|
16
|
+
} from "./location-activity-wf9apyvy.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-activity-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent = {};
|
|
26
26
|
__export(exports_agent, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin15
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info13);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin15 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service65;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin4 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID8.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID8.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin15, exports_agent };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service60
|
|
4
|
+
} from "./location-activity-182h7z1q.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service72
|
|
8
|
+
} from "./location-activity-j8h6sbfz.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service65
|
|
12
|
+
} from "./location-activity-wf9apyvy.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-activity-my4zabxr.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service53
|
|
18
|
+
} from "./location-activity-z6rdb9sr.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service57
|
|
22
|
+
} from "./location-activity-k6ehc7p5.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service22
|
|
25
|
+
} from "./location-activity-r33fmr05.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-activity-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make11
|
|
31
|
+
} from "./location-activity-3r57vsxn.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input3,
|
|
40
|
+
Output: () => Output3,
|
|
41
|
+
Plugin: () => Plugin37,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name3
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name3 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input3 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input11 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output3 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description2 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin37 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service22;
|
|
93
|
+
const jobs = yield* Service53;
|
|
94
|
+
const agents = yield* Service60;
|
|
95
|
+
const config = yield* Service65;
|
|
96
|
+
const permission = yield* Service57;
|
|
97
|
+
const models = yield* Service72;
|
|
98
|
+
const subagents = yield* make11;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin32 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin32 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name3,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin32 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID8.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name3 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name3];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name3, Input3, Output3, description2, Plugin37, exports_subagent };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-activity-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-activity-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info17,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info17 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info17, exports_mcp5 };
|