@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.
Files changed (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{state-yxwprvvc.js → location-activity-0088bsaz.js} +11 -11
  8. package/dist/chunks/{state-gqngt8w2.js → location-activity-0gn99prb.js} +1 -1
  9. package/dist/chunks/{state-q0xm7vwc.js → location-activity-0j77ygfz.js} +6 -6
  10. package/dist/chunks/{state-8c0dth6r.js → location-activity-0khjy9ec.js} +29 -29
  11. package/dist/chunks/{state-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{state-0vbcp93d.js → location-activity-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{state-dpdfbyc3.js → location-activity-0ww7qdtd.js} +10 -10
  14. package/dist/chunks/{state-p231z86d.js → location-activity-0x1x3bv9.js} +11 -11
  15. package/dist/chunks/{state-g8j3nkq1.js → location-activity-0zsbm5jj.js} +6 -6
  16. package/dist/chunks/{state-vhk0cnae.js → location-activity-10kh9wpp.js} +6 -6
  17. package/dist/chunks/{state-4r5b2nkg.js → location-activity-116zdfxn.js} +18 -18
  18. package/dist/chunks/{state-v3kds7by.js → location-activity-14mdsyfv.js} +21 -21
  19. package/dist/chunks/{state-w8r2knnq.js → location-activity-182h7z1q.js} +24 -24
  20. package/dist/chunks/{state-f5hm9jph.js → location-activity-18zhr4wr.js} +16 -16
  21. package/dist/chunks/{state-p46w8f27.js → location-activity-19kc4pyf.js} +3 -3
  22. package/dist/chunks/{state-624q30ze.js → location-activity-1b3nhc4c.js} +30 -30
  23. package/dist/chunks/{state-1dazxqgg.js → location-activity-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{state-b762k26z.js → location-activity-1s0zbmm5.js} +70 -70
  25. package/dist/chunks/{state-8ntxr6aa.js → location-activity-26k51bnn.js} +14 -14
  26. package/dist/chunks/{state-909kf17w.js → location-activity-28zek266.js} +18 -18
  27. package/dist/chunks/{state-2a5m3afh.js → location-activity-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{state-p9gcp42t.js → location-activity-2b5kbnky.js} +54 -54
  29. package/dist/chunks/{state-4ts7tf6z.js → location-activity-2ccvkpx1.js} +2 -2
  30. package/dist/chunks/{state-644qpva7.js → location-activity-2dnd7d20.js} +12 -12
  31. package/dist/chunks/{state-fmcpxxk1.js → location-activity-2emczhdf.js} +1 -1
  32. package/dist/chunks/{state-dan13dt5.js → location-activity-2hv4z9nr.js} +8 -8
  33. package/dist/chunks/{state-1sv0vpv6.js → location-activity-2k2r7q25.js} +15 -15
  34. package/dist/chunks/{state-7dqw4kz8.js → location-activity-2k8khapm.js} +5 -5
  35. package/dist/chunks/{state-7e0wtkms.js → location-activity-2m1n7xtd.js} +18 -18
  36. package/dist/chunks/{state-0t6gahkk.js → location-activity-2mwmrpq2.js} +15 -15
  37. package/dist/chunks/{state-mypwhdkk.js → location-activity-2nv2m7pf.js} +6 -6
  38. package/dist/chunks/{state-kbqjp078.js → location-activity-2p623br6.js} +5 -5
  39. package/dist/chunks/{state-dtjwaa49.js → location-activity-2w99apfa.js} +30 -30
  40. package/dist/chunks/{state-rtathh62.js → location-activity-2wts5qzq.js} +8 -8
  41. package/dist/chunks/{state-4wwqnvbr.js → location-activity-30krspkn.js} +4 -4
  42. package/dist/chunks/{state-gdgwqvb1.js → location-activity-350srhaq.js} +48 -48
  43. package/dist/chunks/{state-ns3eape4.js → location-activity-3556dn8t.js} +1 -1
  44. package/dist/chunks/{state-dbmreddm.js → location-activity-38ws8pay.js} +3 -3
  45. package/dist/chunks/{state-sa6q0sr8.js → location-activity-3b41fz3n.js} +13 -13
  46. package/dist/chunks/{state-h2b79v29.js → location-activity-3cegwx68.js} +2 -2
  47. package/dist/chunks/{state-1bqfkzv3.js → location-activity-3cg47sj7.js} +10 -10
  48. package/dist/chunks/{state-rhgpg4e0.js → location-activity-3egz84b3.js} +37 -37
  49. package/dist/chunks/{state-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
  50. package/dist/chunks/{state-2318s8bz.js → location-activity-3fwjzrvh.js} +30 -30
  51. package/dist/chunks/{state-x1y3x1aj.js → location-activity-3h2r7n3c.js} +5 -5
  52. package/dist/chunks/{state-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
  53. package/dist/chunks/{state-kqq88ggn.js → location-activity-3nmmjeqr.js} +16 -16
  54. package/dist/chunks/{state-bfs290yx.js → location-activity-3r57vsxn.js} +11 -11
  55. package/dist/chunks/{state-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
  56. package/dist/chunks/{state-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
  57. package/dist/chunks/{state-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
  58. package/dist/chunks/{state-4xrh0rhr.js → location-activity-4cbqv3gk.js} +20 -20
  59. package/dist/chunks/{state-sp8t9wc6.js → location-activity-4gb6f9fb.js} +13 -13
  60. package/dist/chunks/{state-4q6hdv07.js → location-activity-4s3tx91s.js} +24 -24
  61. package/dist/chunks/location-activity-4v7qdvcn.js +18 -0
  62. package/dist/chunks/{state-xpzvwsxq.js → location-activity-4vp2zkv1.js} +9 -9
  63. package/dist/chunks/{state-88sjpthe.js → location-activity-4w2h89yz.js} +7 -7
  64. package/dist/chunks/{state-n1n192bv.js → location-activity-4z58m4b4.js} +4 -4
  65. package/dist/chunks/{state-5qm7xrem.js → location-activity-53sad93v.js} +4 -4
  66. package/dist/chunks/{state-54ma36ye.js → location-activity-54ma36ye.js} +1 -1
  67. package/dist/chunks/{state-pkzjbd09.js → location-activity-567pkxz1.js} +3 -3
  68. package/dist/chunks/{state-ys6344d6.js → location-activity-5824vx86.js} +10 -10
  69. package/dist/chunks/{state-2gjcxze4.js → location-activity-59g0s8dr.js} +16 -16
  70. package/dist/chunks/{state-ybgh13y4.js → location-activity-5c258t51.js} +42 -42
  71. package/dist/chunks/{state-rvs38pn0.js → location-activity-5cd0f864.js} +9 -9
  72. package/dist/chunks/{state-5daktx2q.js → location-activity-5daktx2q.js} +1 -1
  73. package/dist/chunks/{state-5t3nmthw.js → location-activity-5t3nmthw.js} +2 -2
  74. package/dist/chunks/{state-fwxwf8vc.js → location-activity-5z2nh3x1.js} +25 -25
  75. package/dist/chunks/{state-p7e0sywk.js → location-activity-60xcggm2.js} +47 -47
  76. package/dist/chunks/{state-ea7tr73m.js → location-activity-62whfj7q.js} +13 -13
  77. package/dist/chunks/{state-66fqs2ya.js → location-activity-63kpjth9.js} +9 -9
  78. package/dist/chunks/{state-6axd00vm.js → location-activity-656t1bz5.js} +2 -2
  79. package/dist/chunks/{state-669tq793.js → location-activity-669tq793.js} +1 -1
  80. package/dist/chunks/location-activity-6gf083h8.js +507 -0
  81. package/dist/chunks/{state-tw9sy4ky.js → location-activity-6w9mkn96.js} +8 -8
  82. package/dist/chunks/{state-ysd7vb1z.js → location-activity-6xw19n4w.js} +17 -17
  83. package/dist/chunks/{state-9zsw43zy.js → location-activity-71rmkmqd.js} +25 -25
  84. package/dist/chunks/{state-7tfh8s6m.js → location-activity-74ksxchy.js} +20 -20
  85. package/dist/chunks/{state-s95j5qxz.js → location-activity-75n2a8fh.js} +9 -9
  86. package/dist/chunks/{state-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{state-25fpdh8d.js → location-activity-7pn4z2ev.js} +12 -12
  88. package/dist/chunks/{state-9b8xxv86.js → location-activity-7qw5pe6x.js} +15 -15
  89. package/dist/chunks/{state-ecx4enea.js → location-activity-7y5xt9fp.js} +22 -22
  90. package/dist/chunks/{state-hsyrampd.js → location-activity-82jtb5jc.js} +20 -19
  91. package/dist/chunks/{state-z3tfttx3.js → location-activity-82m24mh1.js} +25 -25
  92. package/dist/chunks/{state-1dvck2a7.js → location-activity-84h8c373.js} +2 -2
  93. package/dist/chunks/{state-84txncab.js → location-activity-84txncab.js} +1 -1
  94. package/dist/chunks/{state-sraxnq5r.js → location-activity-8767ctf1.js} +26 -26
  95. package/dist/chunks/{state-1gpb38yh.js → location-activity-89za3yyg.js} +9 -9
  96. package/dist/chunks/{state-0evtapph.js → location-activity-8bm8gygk.js} +16 -16
  97. package/dist/chunks/{state-8d7r5vzw.js → location-activity-8d7r5vzw.js} +1 -1
  98. package/dist/chunks/{state-zee1rnkq.js → location-activity-8gxqpgph.js} +4 -4
  99. package/dist/chunks/{state-2dmzcsnk.js → location-activity-8mk23zt3.js} +19 -19
  100. package/dist/chunks/{state-tjw6xf46.js → location-activity-8rd7mgjq.js} +28 -28
  101. package/dist/chunks/{state-n9phctzh.js → location-activity-8s0hbtb0.js} +20 -20
  102. package/dist/chunks/{state-py3kkmfq.js → location-activity-8sze2n9a.js} +6 -6
  103. package/dist/chunks/{state-c71c51b7.js → location-activity-8vtzpwjk.js} +4 -4
  104. package/dist/chunks/{state-br0tr5aq.js → location-activity-9hn6k4tm.js} +8 -8
  105. package/dist/chunks/{state-h8m34f5a.js → location-activity-9q5tzmyt.js} +4 -4
  106. package/dist/chunks/{state-jfdg5rtg.js → location-activity-9zdzxtry.js} +16 -16
  107. package/dist/chunks/{state-aaet6srn.js → location-activity-aaet6srn.js} +2 -2
  108. package/dist/chunks/{state-1184ktb1.js → location-activity-aax9h3pd.js} +21 -21
  109. package/dist/chunks/{state-0vmmzasy.js → location-activity-adcymw1a.js} +18 -18
  110. package/dist/chunks/{state-h0ax5cdq.js → location-activity-adfvz2d6.js} +22 -22
  111. package/dist/chunks/{state-f21xsg09.js → location-activity-adkbmeq0.js} +13 -13
  112. package/dist/chunks/{state-e9vvwa2x.js → location-activity-adr463s0.js} +18 -18
  113. package/dist/chunks/{state-8vnprxe7.js → location-activity-ah6q2b7n.js} +4 -4
  114. package/dist/chunks/{state-8snfv42w.js → location-activity-ajc4e5h8.js} +26 -26
  115. package/dist/chunks/{state-8t6qyhyp.js → location-activity-b24eg6ry.js} +18 -18
  116. package/dist/chunks/{state-t2fc4mz5.js → location-activity-b27vhd2z.js} +4 -4
  117. package/dist/chunks/{state-9fre5sse.js → location-activity-b2yqmgr8.js} +24 -24
  118. package/dist/chunks/{state-hdkng2sj.js → location-activity-b3f8fkhc.js} +5 -5
  119. package/dist/chunks/{state-b6gygkdw.js → location-activity-b6gygkdw.js} +2 -2
  120. package/dist/chunks/{state-wa8c4pwg.js → location-activity-b7n6rk97.js} +3 -3
  121. package/dist/chunks/{state-vaj4218p.js → location-activity-b8b36prg.js} +2 -2
  122. package/dist/chunks/{state-8pngkf8q.js → location-activity-bcyfx9y6.js} +11 -11
  123. package/dist/chunks/{state-p4eehdyd.js → location-activity-bdn2jqxx.js} +8 -8
  124. package/dist/chunks/{state-st3bvm3z.js → location-activity-c0j408pk.js} +1 -1
  125. package/dist/chunks/{state-n4qnjn2y.js → location-activity-c1gcx4p7.js} +3 -3
  126. package/dist/chunks/{state-d945dqfg.js → location-activity-c5kb033c.js} +3 -3
  127. package/dist/chunks/{state-pmykgg8c.js → location-activity-ca1cswfe.js} +8 -8
  128. package/dist/chunks/{state-f8tsdbed.js → location-activity-caseqyrv.js} +27 -27
  129. package/dist/chunks/{state-wsb67xeh.js → location-activity-chrxq3ex.js} +10 -10
  130. package/dist/chunks/{state-4kzv2d1h.js → location-activity-ck8kqaap.js} +20 -20
  131. package/dist/chunks/{state-n8p82dhe.js → location-activity-cmg6gnv1.js} +33 -33
  132. package/dist/chunks/{state-3hewh51z.js → location-activity-cnm58bzr.js} +3 -3
  133. package/dist/chunks/{state-qmqgtz8f.js → location-activity-cpneeje0.js} +9 -9
  134. package/dist/chunks/{state-xxtx82bf.js → location-activity-d4xa2c0j.js} +12 -12
  135. package/dist/chunks/{state-pz5sph25.js → location-activity-dc9hv6dn.js} +20 -20
  136. package/dist/chunks/{state-xkntkrq7.js → location-activity-dmqcgk4z.js} +5 -5
  137. package/dist/chunks/{state-v03amwsg.js → location-activity-dmvmn2q0.js} +16 -16
  138. package/dist/chunks/{state-drnf6xwf.js → location-activity-drnf6xwf.js} +2 -2
  139. package/dist/chunks/{state-r5wgqceq.js → location-activity-dzse07y5.js} +6 -6
  140. package/dist/chunks/{state-2a2w6e8b.js → location-activity-e2c97wf8.js} +14 -14
  141. package/dist/chunks/{state-5qd3pb7m.js → location-activity-e3qxr5gk.js} +2 -2
  142. package/dist/chunks/{state-4dqr7rbq.js → location-activity-ebh19h62.js} +2 -2
  143. package/dist/chunks/{state-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
  144. package/dist/chunks/{state-ztn91se7.js → location-activity-ekssatwp.js} +35 -35
  145. package/dist/chunks/{state-jte75k51.js → location-activity-ep44p4pe.js} +12 -12
  146. package/dist/chunks/{state-etq0c3wd.js → location-activity-etq0c3wd.js} +1 -1
  147. package/dist/chunks/{state-973dr9hw.js → location-activity-f2ttxgzq.js} +11 -11
  148. package/dist/chunks/{state-4gdcnkn7.js → location-activity-f47cg35j.js} +16 -16
  149. package/dist/chunks/{state-71az546q.js → location-activity-f75zav2x.js} +2 -2
  150. package/dist/chunks/{state-xxyjb3m7.js → location-activity-f8qb16qy.js} +37 -37
  151. package/dist/chunks/{state-kt2nv8m7.js → location-activity-f8r3hpen.js} +11 -11
  152. package/dist/chunks/{state-036v1hvj.js → location-activity-fgbghkbj.js} +6 -6
  153. package/dist/chunks/{state-px82hka4.js → location-activity-g327wf0w.js} +27 -27
  154. package/dist/chunks/{state-62j9fngz.js → location-activity-g4je1hn3.js} +20 -20
  155. package/dist/chunks/{state-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{state-1nn5drgz.js → location-activity-gda1r8ym.js} +5 -5
  157. package/dist/chunks/{state-b9j1h4rt.js → location-activity-gny09gtg.js} +36 -36
  158. package/dist/chunks/{state-2a67ew1x.js → location-activity-h1yvt719.js} +18 -18
  159. package/dist/chunks/{state-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{state-94wqyd0k.js → location-activity-hfgdd62m.js} +3 -3
  161. package/dist/chunks/{state-g7djzk09.js → location-activity-hjhkbmax.js} +10 -10
  162. package/dist/chunks/{state-raw9brj8.js → location-activity-hntbmpkd.js} +9 -9
  163. package/dist/chunks/{state-r5x6zcsm.js → location-activity-j028xdjb.js} +3 -3
  164. package/dist/chunks/{state-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
  165. package/dist/chunks/{state-4yajm3g0.js → location-activity-j8h6sbfz.js} +18 -18
  166. package/dist/chunks/{state-e971aeta.js → location-activity-jf6pjsy2.js} +21 -21
  167. package/dist/chunks/{state-6ysrkrkr.js → location-activity-k1qrnqst.js} +8 -8
  168. package/dist/chunks/{state-csm73x4e.js → location-activity-k2dbp69f.js} +10 -10
  169. package/dist/chunks/{state-93gtw0bd.js → location-activity-k3qhtr9e.js} +11 -11
  170. package/dist/chunks/{state-mbaznf29.js → location-activity-k6ehc7p5.js} +55 -55
  171. package/dist/chunks/{state-9e5bzkjp.js → location-activity-kb9j3d72.js} +3 -3
  172. package/dist/chunks/{state-mj0s41ck.js → location-activity-kef0s52w.js} +18 -18
  173. package/dist/chunks/{state-yrxxtv3n.js → location-activity-keqbsmdz.js} +24 -24
  174. package/dist/chunks/{state-hd6j8gz4.js → location-activity-kgnaaj8y.js} +15 -15
  175. package/dist/chunks/{state-qc1gh2j1.js → location-activity-ks91b70y.js} +8 -8
  176. package/dist/chunks/{state-28hqs9y2.js → location-activity-kw5sw8fc.js} +34 -34
  177. package/dist/chunks/{state-m3fdjcah.js → location-activity-m3fdjcah.js} +1 -1
  178. package/dist/chunks/location-activity-m4mmr2p7.js +26 -0
  179. package/dist/chunks/{state-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{state-ypzxwbyd.js → location-activity-mbjkcgq4.js} +5 -5
  181. package/dist/chunks/{state-1qqsgqx8.js → location-activity-md6w79y2.js} +13 -13
  182. package/dist/chunks/{state-56gdpj1q.js → location-activity-mfqp6xfm.js} +6 -6
  183. package/dist/chunks/{state-tk1fp2k0.js → location-activity-mpqcdsgc.js} +8 -8
  184. package/dist/chunks/{state-4h35skqa.js → location-activity-n2nn37za.js} +33 -33
  185. package/dist/chunks/{state-d5cem32y.js → location-activity-n6nrhf01.js} +28 -28
  186. package/dist/chunks/{state-q1ee63dc.js → location-activity-n8sna2wb.js} +8 -8
  187. package/dist/chunks/{state-vfsag6yk.js → location-activity-nfg6fefr.js} +9 -9
  188. package/dist/chunks/{state-hv7bcywx.js → location-activity-nh29y208.js} +15 -15
  189. package/dist/chunks/{state-v9gds4fw.js → location-activity-npmyd0cc.js} +43 -43
  190. package/dist/chunks/{state-wt1200yk.js → location-activity-nsc4cbcy.js} +4 -4
  191. package/dist/chunks/{state-rew73zxc.js → location-activity-nvnab6fc.js} +11 -11
  192. package/dist/chunks/{state-dpkg50ah.js → location-activity-nxm207yx.js} +4 -4
  193. package/dist/chunks/{state-1e734s2r.js → location-activity-p074vfk9.js} +5 -5
  194. package/dist/chunks/{state-2227vqj9.js → location-activity-p1h07j1p.js} +20 -20
  195. package/dist/chunks/{state-cavr175a.js → location-activity-p51p3jcg.js} +21 -21
  196. package/dist/chunks/{state-fy6qjb7w.js → location-activity-p6wsjyz9.js} +1 -1
  197. package/dist/chunks/{state-q6khfqja.js → location-activity-p9esxrs0.js} +3 -3
  198. package/dist/chunks/{state-cbmd897h.js → location-activity-pde12nfv.js} +48 -48
  199. package/dist/chunks/{state-8eyw4fk8.js → location-activity-pg2wvq8g.js} +10 -10
  200. package/dist/chunks/{state-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{state-pknna89w.js → location-activity-pknna89w.js} +1 -1
  202. package/dist/chunks/{state-j9sjb22p.js → location-activity-pwctwhe8.js} +85 -85
  203. package/dist/chunks/{state-1dqwkdsj.js → location-activity-pz72se8g.js} +26 -26
  204. package/dist/chunks/{state-hxwjf4m1.js → location-activity-qbdp3xnt.js} +11 -11
  205. package/dist/chunks/{state-zawmcqxv.js → location-activity-qd4eqyk6.js} +32 -32
  206. package/dist/chunks/{state-qnc92qwc.js → location-activity-qnc92qwc.js} +1 -1
  207. package/dist/chunks/{state-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
  208. package/dist/chunks/{state-8h1j60r2.js → location-activity-qsjmfp8y.js} +12 -12
  209. package/dist/chunks/{state-gs3s1a1g.js → location-activity-qwjmgwmn.js} +8 -8
  210. package/dist/chunks/{state-qxjc9qry.js → location-activity-qxjc9qry.js} +3 -3
  211. package/dist/chunks/{state-vktb4bc8.js → location-activity-r0qcsft7.js} +18 -18
  212. package/dist/chunks/{state-3wbg2ndj.js → location-activity-r33fmr05.js} +85 -85
  213. package/dist/chunks/{state-jj2sh7zv.js → location-activity-r4v44k83.js} +30 -30
  214. package/dist/chunks/{state-nqz1z0h7.js → location-activity-r4zgej02.js} +1 -1
  215. package/dist/chunks/{state-rhraev7y.js → location-activity-r8xr0va3.js} +4 -4
  216. package/dist/chunks/{state-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{state-86pzz8c4.js → location-activity-rge4jpvb.js} +23 -23
  218. package/dist/chunks/{state-5a1vmb6m.js → location-activity-rjjes25b.js} +9 -9
  219. package/dist/chunks/{state-156pf76f.js → location-activity-rm6495e7.js} +24 -24
  220. package/dist/chunks/{state-x9e8217n.js → location-activity-rvevwjzn.js} +14 -14
  221. package/dist/chunks/{state-zfs8ae4p.js → location-activity-rx9ava5n.js} +4 -4
  222. package/dist/chunks/{state-11jr2j0r.js → location-activity-s7b7m8gm.js} +5 -5
  223. package/dist/chunks/{state-s8d7rejh.js → location-activity-s8d7rejh.js} +1 -1
  224. package/dist/chunks/{state-byvwhsqc.js → location-activity-spfm2vfw.js} +15 -15
  225. package/dist/chunks/{state-sg9fmgqt.js → location-activity-ss2amrnn.js} +29 -29
  226. package/dist/chunks/{state-jhqcthf8.js → location-activity-sy448gmp.js} +7 -7
  227. package/dist/chunks/{state-6b2hcgdj.js → location-activity-t0cz011w.js} +23 -23
  228. package/dist/chunks/{state-jrzdhf5b.js → location-activity-t6hpw5rz.js} +13 -13
  229. package/dist/chunks/{state-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{state-p3ywy9md.js → location-activity-tbd6cyzm.js} +9 -9
  231. package/dist/chunks/{state-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{state-tdstcens.js → location-activity-tdstcens.js} +1 -1
  233. package/dist/chunks/{state-wqa2ds3j.js → location-activity-tgenbts9.js} +6 -6
  234. package/dist/chunks/{state-r40bckrt.js → location-activity-v0a4cbca.js} +11 -11
  235. package/dist/chunks/{state-qr6f2pwv.js → location-activity-v0es1rhs.js} +9 -9
  236. package/dist/chunks/{state-ymz5hgvb.js → location-activity-v3tjrmtr.js} +4 -4
  237. package/dist/chunks/{state-sy0mtapm.js → location-activity-v6eddqm0.js} +8 -8
  238. package/dist/chunks/{state-g1fss3aa.js → location-activity-v7gwj56g.js} +20 -20
  239. package/dist/chunks/{state-bv6pjsgs.js → location-activity-vd3qs992.js} +24 -24
  240. package/dist/chunks/{state-w0pbycsx.js → location-activity-vd5y62t1.js} +9 -9
  241. package/dist/chunks/{state-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
  242. package/dist/chunks/{state-k1ga895a.js → location-activity-vh2b5q6q.js} +13 -13
  243. package/dist/chunks/{state-sn21bnb2.js → location-activity-vt5p5cmk.js} +17 -17
  244. package/dist/chunks/{state-zyznzm79.js → location-activity-vw9et25q.js} +45 -45
  245. package/dist/chunks/{state-vzcthcp8.js → location-activity-vzcthcp8.js} +1 -1
  246. package/dist/chunks/{state-vzs5sf6e.js → location-activity-vzs5sf6e.js} +1 -1
  247. package/dist/chunks/{state-w39jehkq.js → location-activity-w2h15q85.js} +5 -5
  248. package/dist/chunks/{state-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{state-fp0qye03.js → location-activity-w9a0vxq6.js} +1 -1
  250. package/dist/chunks/{state-wd87259q.js → location-activity-wd87259q.js} +1 -1
  251. package/dist/chunks/{state-0habsvra.js → location-activity-wf9apyvy.js} +42 -42
  252. package/dist/chunks/{state-mc3v3pa2.js → location-activity-wfx1w319.js} +33 -33
  253. package/dist/chunks/{state-eydxt9pj.js → location-activity-wg423nqg.js} +11 -11
  254. package/dist/chunks/{state-3zbwexce.js → location-activity-wg68nafb.js} +11 -11
  255. package/dist/chunks/{state-b5f29xgx.js → location-activity-wg8gh26w.js} +21 -21
  256. package/dist/chunks/{state-x1ezjp6w.js → location-activity-x1ezjp6w.js} +1 -1
  257. package/dist/chunks/{state-x661k3y3.js → location-activity-x661k3y3.js} +1 -1
  258. package/dist/chunks/{state-4v4bfvma.js → location-activity-x6pyv2yz.js} +5 -5
  259. package/dist/chunks/{state-8qc73tc2.js → location-activity-xcx82w59.js} +143 -143
  260. package/dist/chunks/{state-xfkkasph.js → location-activity-xfkkasph.js} +1 -1
  261. package/dist/chunks/location-activity-xgc19d0k.js +253 -0
  262. package/dist/chunks/{state-jngrqr67.js → location-activity-xjvckg68.js} +17 -17
  263. package/dist/chunks/{state-vg7wcjck.js → location-activity-xn17k1w9.js} +7 -7
  264. package/dist/chunks/{state-ny88m09p.js → location-activity-y14bx9tm.js} +11 -11
  265. package/dist/chunks/{state-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{state-00x4qneg.js → location-activity-y1qqcj8h.js} +8 -8
  267. package/dist/chunks/{state-4vqt517m.js → location-activity-y2jnyesm.js} +10 -10
  268. package/dist/chunks/{state-dn8q5098.js → location-activity-y7cr295m.js} +11 -11
  269. package/dist/chunks/{state-kqcenne1.js → location-activity-yb8n5v0q.js} +4 -4
  270. package/dist/chunks/{state-yq5dzq7s.js → location-activity-yd69d4sv.js} +9 -9
  271. package/dist/chunks/{state-ac3w4tg1.js → location-activity-yegmnrcf.js} +11 -11
  272. package/dist/chunks/{state-b0m0sqtv.js → location-activity-yfez69s5.js} +10 -10
  273. package/dist/chunks/{state-j58c5xyq.js → location-activity-yr715y08.js} +9 -9
  274. package/dist/chunks/{state-yrhqyw5v.js → location-activity-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{state-4bm5ja14.js → location-activity-z0aj456m.js} +4 -4
  276. package/dist/chunks/{state-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{state-89hqkma4.js → location-activity-z0p99b1b.js} +12 -12
  278. package/dist/chunks/{state-9hwaqfsw.js → location-activity-z6c3x22d.js} +5 -5
  279. package/dist/chunks/{state-jhc49e06.js → location-activity-z6rdb9sr.js} +14 -14
  280. package/dist/chunks/{state-pfw3e90a.js → location-activity-znf88vwq.js} +9 -9
  281. package/dist/chunks/{state-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{state-wby16mgw.js → location-activity-zxj9yazw.js} +5 -5
  283. package/dist/chunks/{state-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{state-espax8zg.js → location-activity-zy43x3f1.js} +4 -4
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +81 -81
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +205 -205
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +88 -88
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +135 -135
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +115 -115
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +81 -81
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +93 -93
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +95 -95
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +220 -220
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +3 -3
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +106 -106
  423. package/dist/form.js +82 -82
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +101 -101
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +91 -91
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +355 -355
  451. package/dist/instruction-discovery.js +85 -85
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +1 -1
  454. package/dist/integration/connection.js +1 -1
  455. package/dist/integration.js +81 -81
  456. package/dist/job.js +76 -76
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +352 -352
  463. package/dist/location.js +87 -87
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +109 -109
  467. package/dist/mcp/instructions.js +127 -127
  468. package/dist/mcp/oauth.js +78 -78
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +91 -91
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +94 -94
  474. package/dist/models-dev.js +99 -99
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +80 -80
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +113 -113
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +86 -86
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +102 -102
  485. package/dist/plugin/command.js +100 -100
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +327 -327
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +95 -95
  510. package/dist/plugin/provider/gitlab.js +93 -93
  511. package/dist/plugin/provider/google-vertex.js +90 -90
  512. package/dist/plugin/provider/kilo.js +1 -1
  513. package/dist/plugin/provider/llmgateway.js +78 -78
  514. package/dist/plugin/provider/lmstudio.js +115 -115
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +115 -115
  518. package/dist/plugin/provider/openai.js +95 -95
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +90 -90
  529. package/dist/plugin/provider/vllm.js +115 -115
  530. package/dist/plugin/provider/xai.js +91 -91
  531. package/dist/plugin/provider/zenmux.js +1 -1
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +76 -76
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +134 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +346 -346
  538. package/dist/plugin/tool-input-repair.js +4 -4
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +86 -86
  541. package/dist/plugin/vcs/hg.js +86 -86
  542. package/dist/plugin/verbosity.js +93 -93
  543. package/dist/plugin/warming.js +114 -114
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +8 -8
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +4 -4
  550. package/dist/plugin/websearch/tinyfish.js +8 -8
  551. package/dist/plugin.js +218 -218
  552. package/dist/project/schema.js +8 -8
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +90 -90
  555. package/dist/provider.js +93 -93
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +89 -89
  559. package/dist/reference/instructions.js +89 -89
  560. package/dist/reference.js +91 -91
  561. package/dist/repository-cache.js +81 -81
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +97 -97
  565. package/dist/rpc.js +86 -86
  566. package/dist/schema.js +1 -1
  567. package/dist/session/affinity.js +1 -1
  568. package/dist/session/command.js +74 -74
  569. package/dist/session/compaction.js +133 -133
  570. package/dist/session/context.js +153 -153
  571. package/dist/session/diff.js +88 -88
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +7 -7
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +214 -214
  576. package/dist/session/execution.js +127 -127
  577. package/dist/session/generate.js +152 -152
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +90 -90
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +97 -97
  584. package/dist/session/message-updater.js +4 -4
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +118 -118
  587. package/dist/session/model-transport.js +7 -7
  588. package/dist/session/move.js +129 -129
  589. package/dist/session/projector.js +86 -86
  590. package/dist/session/prompt.js +105 -105
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +90 -90
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +224 -224
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +98 -98
  598. package/dist/session/runner/publish-llm-event.js +113 -113
  599. package/dist/session/runner/retry.js +4 -4
  600. package/dist/session/runner/step.js +125 -125
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +1 -1
  603. package/dist/session/session.js +162 -162
  604. package/dist/session/shell.js +130 -130
  605. package/dist/session/skill.js +103 -103
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +73 -73
  608. package/dist/session/store.js +85 -85
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +203 -203
  611. package/dist/session/system-prompt.js +1 -1
  612. package/dist/session/title.js +157 -157
  613. package/dist/session/to-session-error.js +111 -111
  614. package/dist/session/transfer.js +208 -208
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +207 -207
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +13 -13
  621. package/dist/shell.js +132 -132
  622. package/dist/skill/discovery.js +4 -4
  623. package/dist/skill/instructions.js +105 -105
  624. package/dist/skill.js +112 -112
  625. package/dist/snapshot.js +93 -93
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +126 -126
  630. package/dist/tool/plugin/edit.js +120 -120
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +124 -124
  633. package/dist/tool/plugin/grep.js +120 -120
  634. package/dist/tool/plugin/mcp-resource.js +117 -117
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +118 -118
  637. package/dist/tool/plugin/question.js +101 -101
  638. package/dist/tool/plugin/read.js +123 -123
  639. package/dist/tool/plugin/shell.js +208 -208
  640. package/dist/tool/plugin/skill.js +109 -109
  641. package/dist/tool/plugin/subagent.js +212 -212
  642. package/dist/tool/plugin/webfetch.js +112 -112
  643. package/dist/tool/plugin/websearch.js +110 -110
  644. package/dist/tool/plugin/write.js +114 -114
  645. package/dist/tool/read-filesystem.js +98 -98
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +7 -7
  648. package/dist/tool.js +16 -16
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +92 -92
  663. package/dist/v1/config/permission.js +7 -7
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/variant.js +91 -91
  668. package/dist/vcs/patch.js +1 -1
  669. package/dist/vcs.js +89 -89
  670. package/dist/websearch.js +80 -80
  671. package/dist/wellknown/plugin.js +76 -76
  672. package/dist/wellknown.js +79 -79
  673. package/dist/workspace/driver.js +5 -5
  674. package/dist/workspace/sql.js +1 -1
  675. package/dist/workspace.js +80 -80
  676. package/dist/worktree/directory.js +2 -2
  677. package/dist/worktree/git.js +10 -10
  678. package/dist/worktree/sql.js +5 -5
  679. package/dist/worktree/strategies.js +89 -89
  680. package/dist/worktree.js +96 -96
  681. package/package.json +8 -8
  682. package/dist/chunks/state-2dkqpbz0.js +0 -26
  683. package/dist/chunks/state-9zdhvgqs.js +0 -18
  684. package/dist/chunks/state-e9zkcnq0.js +0 -507
  685. package/dist/chunks/state-kqps6bad.js +0 -253
  686. /package/dist/chunks/{state-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{state-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{state-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{state-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{state-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{state-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{state-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{state-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{state-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{state-34c7v6d4.js → location-activity-34c7v6d4.js} +0 -0
  696. /package/dist/chunks/{state-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{state-3asan66x.js → location-activity-3asan66x.js} +0 -0
  698. /package/dist/chunks/{state-3t0ybcrp.js → location-activity-3t0ybcrp.js} +0 -0
  699. /package/dist/chunks/{state-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{state-3w5fmr99.js → location-activity-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{state-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{state-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{state-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{state-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{state-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{state-53557ph1.js → location-activity-53557ph1.js} +0 -0
  707. /package/dist/chunks/{state-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{state-6prwharc.js → location-activity-6prwharc.js} +0 -0
  709. /package/dist/chunks/{state-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{state-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{state-822emrt2.js → location-activity-822emrt2.js} +0 -0
  712. /package/dist/chunks/{state-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{state-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{state-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{state-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{state-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{state-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{state-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{state-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{state-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{state-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{state-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{state-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{state-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{state-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{state-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{state-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{state-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{state-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{state-df08tz66.js → location-activity-df08tz66.js} +0 -0
  731. /package/dist/chunks/{state-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{state-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{state-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{state-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{state-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{state-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{state-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{state-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{state-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{state-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{state-fxgpk5d8.js → location-activity-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{state-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{state-g86h250q.js → location-activity-g86h250q.js} +0 -0
  744. /package/dist/chunks/{state-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{state-gftt206x.js → location-activity-gftt206x.js} +0 -0
  746. /package/dist/chunks/{state-hjbc5kem.js → location-activity-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{state-hk9envan.js → location-activity-hk9envan.js} +0 -0
  748. /package/dist/chunks/{state-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
  749. /package/dist/chunks/{state-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
  750. /package/dist/chunks/{state-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
  751. /package/dist/chunks/{state-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{state-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{state-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{state-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{state-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{state-my4zabxr.js → location-activity-my4zabxr.js} +0 -0
  757. /package/dist/chunks/{state-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{state-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{state-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{state-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{state-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{state-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{state-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{state-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{state-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
  766. /package/dist/chunks/{state-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{state-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{state-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{state-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{state-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{state-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
  772. /package/dist/chunks/{state-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{state-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{state-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{state-x61499pn.js → location-activity-x61499pn.js} +0 -0
  776. /package/dist/chunks/{state-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{state-y8cydn3q.js → location-activity-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{state-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{state-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{state-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{state-z5v4ffb3.js → location-activity-z5v4ffb3.js} +0 -0
  782. /package/dist/chunks/{state-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./state-n4qnjn2y.js";
4
+ } from "./location-activity-c1gcx4p7.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./state-wt1200yk.js";
8
+ } from "./location-activity-nsc4cbcy.js";
9
9
  import {
10
- Service64,
11
- node67
12
- } from "./state-jhc49e06.js";
10
+ Service53,
11
+ node56
12
+ } from "./location-activity-z6rdb9sr.js";
13
13
  import {
14
- Service63,
15
- node66
16
- } from "./state-r5wgqceq.js";
14
+ Service52,
15
+ node55
16
+ } from "./location-activity-dzse07y5.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./state-ec1grn59.js";
19
+ } from "./location-activity-ec1grn59.js";
20
20
  import {
21
- make19
22
- } from "./state-rhraev7y.js";
21
+ make18
22
+ } from "./location-activity-r8xr0va3.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service60
26
- } from "./state-zee1rnkq.js";
25
+ Service49
26
+ } from "./location-activity-8gxqpgph.js";
27
27
  import {
28
- Service67,
29
- node70
30
- } from "./state-x9e8217n.js";
28
+ Service59,
29
+ node62
30
+ } from "./location-activity-rvevwjzn.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./state-1e734s2r.js";
33
+ } from "./location-activity-p074vfk9.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./state-156pf76f.js";
36
+ } from "./location-activity-rm6495e7.js";
37
37
  import {
38
38
  __export
39
- } from "./state-9rqn6x4v.js";
39
+ } from "./location-activity-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service59,
44
+ Service: () => Service48,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer22,
47
- node: () => node63,
48
- noopLayer: () => noopLayer3,
46
+ layer: () => layer19,
47
+ node: () => node52,
48
+ noopLayer: () => noopLayer2,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service59 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service48 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer22 = Layer.effect(Service59, Effect.gen(function* () {
63
- const store = yield* Service67;
64
- const instances = yield* Service63;
62
+ var layer19 = Layer.effect(Service48, Effect.gen(function* () {
63
+ const store = yield* Service59;
64
+ const instances = yield* Service52;
65
65
  const bus = yield* Service83;
66
- const jobs = yield* Service64;
66
+ const jobs = yield* Service53;
67
67
  const db = (yield* Service84).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,14 +76,14 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service60.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service49.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
84
84
  });
85
85
  });
86
- const coordinator = yield* make19({
86
+ const coordinator = yield* make18({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service59.of({
107
+ return Service48.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer22 = Layer.effect(Service59, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node63 = makeGlobalNode({
127
- service: Service59,
128
- layer: layer22,
129
- deps: [node70, node66, node87, node88, node67]
126
+ var node52 = makeGlobalNode({
127
+ service: Service48,
128
+ layer: layer19,
129
+ deps: [node62, node55, node87, node88, node56]
130
130
  });
131
- var noopLayer3 = Layer.succeed(Service59, Service59.of({
131
+ var noopLayer2 = Layer.succeed(Service48, Service48.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service59, Service59.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service59, terminal2, layer22, node63, noopLayer3, exports_execution };
140
+ export { Service48, terminal2, layer19, node52, noopLayer2, exports_execution };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./state-tazgh4e4.js";
3
+ } from "./location-activity-tazgh4e4.js";
4
4
  import {
5
- ID6,
6
- Service42
7
- } from "./state-mc3v3pa2.js";
5
+ ID16,
6
+ Service78
7
+ } from "./location-activity-wfx1w319.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./state-my4zabxr.js";
10
+ } from "./location-activity-my4zabxr.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./state-1gpb38yh.js";
13
+ } from "./location-activity-89za3yyg.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./state-9e5bzkjp.js";
16
+ } from "./location-activity-kb9j3d72.js";
17
17
  import {
18
18
  __export
19
- } from "./state-9rqn6x4v.js";
19
+ } from "./location-activity-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service42;
84
+ const snapshot = yield* Service78;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID6.make(from),
91
- to: ID6.make(to),
90
+ from: ID16.make(from),
91
+ to: ID16.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service75
4
- } from "./state-hsyrampd.js";
3
+ Service73
4
+ } from "./location-activity-82jtb5jc.js";
5
5
  import {
6
- Service51
7
- } from "./state-0habsvra.js";
6
+ Service65
7
+ } from "./location-activity-wf9apyvy.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service75;
12
+ const providers = yield* Service73;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service51);
14
+ const service = yield* Effect.serviceOption(Service65);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service52,
3
- node56
4
- } from "./state-4q6hdv07.js";
2
+ Service66,
3
+ node69
4
+ } from "./location-activity-4s3tx91s.js";
5
5
  import {
6
- Service78,
7
- node81
8
- } from "./state-v03amwsg.js";
6
+ Service80,
7
+ node84
8
+ } from "./location-activity-dmvmn2q0.js";
9
9
  import {
10
- Service51,
11
- node55
12
- } from "./state-0habsvra.js";
10
+ Service65,
11
+ node68
12
+ } from "./location-activity-wf9apyvy.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./state-zxq2ej10.js";
16
+ } from "./location-activity-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./state-9rqn6x4v.js";
19
+ } from "./location-activity-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service4,
25
+ Service: () => Service2,
26
26
  empty: () => empty2,
27
- layer: () => layer5,
28
- node: () => node6
27
+ layer: () => layer4,
28
+ node: () => node3
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
- const config = yield* Service51;
40
- const watcher = yield* Service52;
38
+ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
39
+ const config = yield* Service65;
40
+ const watcher = yield* Service66;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service78;
42
+ const location = yield* Service80;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service4.of({
61
+ return Service2.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node6 = makeLocationNode({
74
- service: Service4,
75
- layer: layer5,
76
- deps: [node55, FSUtil.node, node56, node81]
73
+ var node3 = makeLocationNode({
74
+ service: Service2,
75
+ layer: layer4,
76
+ deps: [node68, FSUtil.node, node69, node84]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service4,
80
- layer: Layer.succeed(Service4, Service4.of({
79
+ service: Service2,
80
+ layer: Layer.succeed(Service2, Service2.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service4, layer5, node6, empty2, exports_source };
140
+ export { Service2, layer4, node3, empty2, exports_source };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./state-wt1200yk.js";
4
+ } from "./location-activity-nsc4cbcy.js";
5
5
  import {
6
6
  create3
7
- } from "./state-rdw6cm16.js";
7
+ } from "./location-activity-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./state-mbaznf29.js";
10
+ } from "./location-activity-k6ehc7p5.js";
11
11
  import {
12
12
  __export
13
- } from "./state-9rqn6x4v.js";
13
+ } from "./location-activity-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event5,
20
+ Event: () => Event9,
21
21
  ID: () => ID4,
22
- Info: () => Info5,
22
+ Info: () => Info8,
23
23
  Name: () => Name2,
24
- Service: () => Service31,
24
+ Service: () => Service42,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source3,
26
+ Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
- available: () => available2,
29
- node: () => node34,
28
+ available: () => available3,
29
+ node: () => node46,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,15 +34,15 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event5 } from "@opencode/schema/skill";
37
+ import { Event as Event9 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
- var Source3 = Skill.Source;
42
- var Info5 = Skill.Info;
41
+ var Source4 = Skill.Source;
42
+ var Info8 = Skill.Info;
43
43
  var ID4 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
- var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
45
+ var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
47
47
  const directory = path.dirname(skill.path);
48
48
  return [
@@ -71,9 +71,9 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service31 extends Context.Service()("@opencode/Skill") {
74
+ class Service42 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service31, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
77
77
  const bus = yield* Service83;
78
78
  const state = create3({
79
79
  name: "skill",
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service31.of({
100
+ return Service42.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node34 = makeLocationNode({
112
- service: Service31,
111
+ var node46 = makeLocationNode({
112
+ service: Service42,
113
113
  layer,
114
114
  deps: [node87]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info5, ID4, Name2, available2, toModelOutput3, prepare3, Service31, node34, exports_skill5, Event5 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID4, Name2, available3, toModelOutput3, prepare3, Service42, node46, exports_skill5, Event9 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./location-activity-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./state-mbaznf29.js";
3
+ } from "./location-activity-k6ehc7p5.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./location-activity-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin43
12
+ Plugin: () => Plugin32
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin43 = define({
32
+ var Plugin32 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin43, exports_plan };
109
+ export { Plugin32, exports_plan };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./state-z5v4ffb3.js";
3
+ } from "./location-activity-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./state-jte75k51.js";
6
+ } from "./location-activity-ep44p4pe.js";
7
7
  import {
8
8
  Slug2
9
- } from "./state-gebd4c9n.js";
9
+ } from "./location-activity-gebd4c9n.js";
10
10
  import {
11
11
  Service84,
12
12
  node88
13
- } from "./state-n4qnjn2y.js";
13
+ } from "./location-activity-c1gcx4p7.js";
14
14
  import {
15
15
  Service83,
16
16
  node87
17
- } from "./state-wt1200yk.js";
17
+ } from "./location-activity-nsc4cbcy.js";
18
18
  import {
19
19
  ProjectTable2
20
- } from "./state-h2b79v29.js";
20
+ } from "./location-activity-3cegwx68.js";
21
21
  import {
22
22
  WorktreeTable2
23
- } from "./state-1dvck2a7.js";
23
+ } from "./location-activity-84h8c373.js";
24
24
  import {
25
- ID15,
26
- NotFoundError10
27
- } from "./state-ybgh13y4.js";
25
+ ID17,
26
+ NotFoundError11
27
+ } from "./location-activity-5c258t51.js";
28
28
  import {
29
29
  Ref4
30
- } from "./state-v03amwsg.js";
30
+ } from "./location-activity-dmvmn2q0.js";
31
31
  import {
32
- Service71,
33
- node74
34
- } from "./state-raw9brj8.js";
32
+ Service54,
33
+ node57
34
+ } from "./location-activity-hntbmpkd.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
- } from "./state-0vbcp93d.js";
38
+ } from "./location-activity-0vbcp93d.js";
39
39
  import {
40
- Service55
41
- } from "./state-v3kds7by.js";
40
+ Service38
41
+ } from "./location-activity-14mdsyfv.js";
42
42
  import {
43
43
  __export
44
- } from "./state-9rqn6x4v.js";
44
+ } from "./location-activity-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
49
49
  CreateInput: () => CreateInput3,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event13,
53
- Info: () => Info14,
52
+ Event: () => Event8,
53
+ Info: () => Info7,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RemoveInput: () => RemoveInput2,
59
- Service: () => Service54,
59
+ Service: () => Service37,
60
60
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
61
61
  StrategyID: () => StrategyID2,
62
62
  StrategyUnavailableError: () => StrategyUnavailableError2,
63
63
  Worktree: () => exports_worktree2,
64
- node: () => node58
64
+ node: () => node40
65
65
  });
66
66
  import { Context, Effect, Layer, Schema } from "effect";
67
67
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
75
75
  var StrategyID2 = Worktree.StrategyID;
76
76
  var CreateInput3 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
- var Info14 = Worktree.Info;
78
+ var Info7 = Worktree.Info;
79
79
  var List2 = Worktree.List;
80
80
  var ListEntry3 = Worktree.ListEntry;
81
81
 
82
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID15, directory: Schema.optional(AbsolutePath2) }) {
82
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
83
83
  }
84
84
 
85
85
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
90
90
 
91
91
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
92
92
  }
93
- var Event13 = Worktree.Event;
93
+ var Event8 = Worktree.Event;
94
94
 
95
- class Service54 extends Context.Service()("@opencode/Worktree") {
95
+ class Service37 extends Context.Service()("@opencode/Worktree") {
96
96
  }
97
- var layer = Layer.effect(Service54, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service37, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
99
  const database = yield* Service84;
100
100
  const db = database.db;
101
101
  const bus = yield* Service83;
102
102
  const processService = yield* AppProcess.Service;
103
- const locations = yield* Service71;
103
+ const locations = yield* Service54;
104
104
  const project = Effect.fnUntraced(function* (projectID) {
105
105
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
106
106
  if (!row)
107
- return yield* new NotFoundError10({ projectID });
107
+ return yield* new NotFoundError11({ projectID });
108
108
  return row;
109
109
  });
110
110
  const load = Effect.fnUntraced(function* (directory, current) {
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
115
115
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
116
116
  const context = yield* locations.contextEffect(Ref4.make({ directory }));
117
117
  yield* Context.get(context, Plugin.Service).awaitActivation;
118
- return Context.get(context, Service55).get();
118
+ return Context.get(context, Service38).get();
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
122
- yield* bus.publish(Event13.Updated, { projectID });
122
+ yield* bus.publish(Event8.Updated, { projectID });
123
123
  });
124
124
  const ops = {
125
125
  list: Effect.fnUntraced(function* (projectID) {
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
246
246
  })).pipe(Effect.orDie);
247
247
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
248
248
  }, Effect.scoped);
249
- return Service54.of({
249
+ return Service37.of({
250
250
  list: Effect.fn("Worktree.list")(function* (input) {
251
251
  yield* project(input.projectID);
252
252
  return yield* ops.list(input.projectID);
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
256
256
  refresh
257
257
  });
258
258
  }));
259
- var node58 = Node.makeGlobalNode({
260
- service: Service54,
259
+ var node40 = Node.makeGlobalNode({
260
+ service: Service37,
261
261
  layer,
262
- deps: [FSUtil.node, node87, node88, AppProcess.node, node74]
262
+ deps: [FSUtil.node, node87, node88, AppProcess.node, node57]
263
263
  });
264
264
  function operationError(strategy, operation, error) {
265
265
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput3, RemoveInput2, Info14, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event13, Service54, node58, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput3, RemoveInput2, Info7, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event8, Service37, node40, exports_worktree2, OperationError2 };