@opencode/core 0.0.0-dev-20930 → 0.0.0-dev-20932

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{vcs-d9jtx293.js → app-06tsrf37.js} +6 -6
  8. package/dist/chunks/{vcs-em3yhwbg.js → app-075b0h4m.js} +19 -19
  9. package/dist/chunks/{vcs-0emb60td.js → app-0emb60td.js} +2 -2
  10. package/dist/chunks/{vcs-srv0gx85.js → app-0ksqmnxq.js} +10 -10
  11. package/dist/chunks/{vcs-h3jhj2xa.js → app-0pgaa6v4.js} +20 -20
  12. package/dist/chunks/{vcs-fx0f4b0e.js → app-0vynxfm9.js} +28 -28
  13. package/dist/chunks/{vcs-e65qf95s.js → app-0w0atn8d.js} +11 -11
  14. package/dist/chunks/{vcs-2egm12cz.js → app-0xe2hg08.js} +5 -5
  15. package/dist/chunks/{vcs-jk9hw03k.js → app-15z4n718.js} +18 -18
  16. package/dist/chunks/{vcs-yp2x3t23.js → app-1acjjqhc.js} +4 -4
  17. package/dist/chunks/{vcs-k6pj38bh.js → app-1ahdgg21.js} +15 -15
  18. package/dist/chunks/{vcs-05en277q.js → app-1c3hmgns.js} +7 -7
  19. package/dist/chunks/{vcs-sfsey46c.js → app-1f3hwm7j.js} +23 -23
  20. package/dist/chunks/{vcs-085246bx.js → app-1j6szzgj.js} +67 -67
  21. package/dist/chunks/{vcs-axxpgx3s.js → app-1jredeff.js} +41 -41
  22. package/dist/chunks/{vcs-6qtegkg3.js → app-1yd7h3h8.js} +11 -11
  23. package/dist/chunks/{vcs-pzfxmw7k.js → app-206a5b9t.js} +8 -8
  24. package/dist/chunks/{vcs-ntkdha38.js → app-20xkk2gr.js} +9 -9
  25. package/dist/chunks/{vcs-fphvadrz.js → app-25w0dfvn.js} +11 -11
  26. package/dist/chunks/{vcs-9fm9zjg3.js → app-2jw57bnr.js} +33 -33
  27. package/dist/chunks/{vcs-2k8khapm.js → app-2k8khapm.js} +1 -1
  28. package/dist/chunks/{vcs-ewkyd3xf.js → app-2rx8zczj.js} +1 -1
  29. package/dist/chunks/{vcs-drbpyr92.js → app-2t2hn040.js} +8 -8
  30. package/dist/chunks/{vcs-h7s7r6s9.js → app-31xfzrxg.js} +5 -5
  31. package/dist/chunks/{vcs-sxzvkvgj.js → app-321x2wtd.js} +6 -6
  32. package/dist/chunks/{vcs-4tjr60b8.js → app-394kxefd.js} +5 -5
  33. package/dist/chunks/{vcs-3fc6dm20.js → app-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{vcs-1sh9vfpc.js → app-3ft6jn2j.js} +20 -20
  35. package/dist/chunks/{vcs-6xcvt31d.js → app-3g8j9he4.js} +1 -1
  36. package/dist/chunks/{vcs-3hepkmqq.js → app-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{vcs-3hwn7j4h.js → app-3hwn7j4h.js} +2 -2
  38. package/dist/chunks/{vcs-fdjnkqp0.js → app-3jmxswwj.js} +7 -7
  39. package/dist/chunks/{vcs-3smtnn6g.js → app-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{vcs-g7rd7fyk.js → app-3smzbyen.js} +29 -29
  41. package/dist/chunks/{vcs-3tvqynh2.js → app-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{vcs-3zsf4n22.js → app-3zsf4n22.js} +1 -1
  43. package/dist/chunks/{vcs-6c6pn2sh.js → app-41vrjm3g.js} +27 -27
  44. package/dist/chunks/{vcs-8c5w71gj.js → app-46h7srqs.js} +4 -4
  45. package/dist/chunks/{vcs-h691v7v0.js → app-4dryy7gt.js} +15 -15
  46. package/dist/chunks/{vcs-yq797vpt.js → app-4g77rj02.js} +311 -311
  47. package/dist/chunks/{vcs-04p8m0tj.js → app-4hcb5h9g.js} +9 -9
  48. package/dist/chunks/{vcs-wb2x3bfx.js → app-4j7rv99v.js} +23 -23
  49. package/dist/chunks/{vcs-nd2cwz73.js → app-4m5tstab.js} +25 -25
  50. package/dist/chunks/{vcs-202vsb7e.js → app-4nhqdaht.js} +5 -5
  51. package/dist/chunks/{vcs-6cb0k5fs.js → app-4nybayqf.js} +8 -8
  52. package/dist/chunks/{vcs-4ts7tf6z.js → app-4ts7tf6z.js} +2 -2
  53. package/dist/chunks/{vcs-a2rpfkac.js → app-4v7ngy20.js} +4 -4
  54. package/dist/chunks/{vcs-fe2tea80.js → app-4vew1nxq.js} +8 -8
  55. package/dist/chunks/{vcs-ymsb3n01.js → app-4x20jssq.js} +14 -14
  56. package/dist/chunks/{vcs-63g8n8e9.js → app-52krgrnh.js} +28 -28
  57. package/dist/chunks/{vcs-54ma36ye.js → app-54ma36ye.js} +1 -1
  58. package/dist/chunks/{vcs-5m9w47nd.js → app-5m9w47nd.js} +1 -1
  59. package/dist/chunks/{vcs-r18p0vf7.js → app-64xbrstx.js} +12 -12
  60. package/dist/chunks/{vcs-nr27fqtv.js → app-6g88h8tq.js} +11 -11
  61. package/dist/chunks/{vcs-82rhge12.js → app-6hjx5zpb.js} +9 -9
  62. package/dist/chunks/{vcs-p8x5jtpv.js → app-6s2xa942.js} +8 -8
  63. package/dist/chunks/{vcs-6xb47vfp.js → app-6xb47vfp.js} +1 -1
  64. package/dist/chunks/{vcs-c86xa7f1.js → app-6yvc00p7.js} +25 -25
  65. package/dist/chunks/{vcs-mj8fnwpt.js → app-7096kxah.js} +34 -34
  66. package/dist/chunks/{vcs-775gj3j1.js → app-775gj3j1.js} +2 -2
  67. package/dist/chunks/{vcs-113dr2ww.js → app-79dzcknw.js} +24 -24
  68. package/dist/chunks/{vcs-7bmhse3q.js → app-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{vcs-a5wxatek.js → app-7c8bqxqs.js} +5 -5
  70. package/dist/chunks/{vcs-ycdqq8zj.js → app-7d01hxhz.js} +26 -26
  71. package/dist/chunks/{vcs-cw35edym.js → app-7mz429at.js} +11 -11
  72. package/dist/chunks/{vcs-hthv5jgd.js → app-7qggzfr4.js} +2 -2
  73. package/dist/chunks/{vcs-jwa44fjy.js → app-7qxxfz1s.js} +18 -18
  74. package/dist/chunks/{vcs-dtk1yfnn.js → app-7s6mfhxz.js} +17 -17
  75. package/dist/chunks/{vcs-0sqvq5f5.js → app-7sg3efhr.js} +4 -4
  76. package/dist/chunks/{vcs-shd9e764.js → app-7y1kt33k.js} +9 -9
  77. package/dist/chunks/{vcs-640qxpd1.js → app-8090mfnp.js} +29 -29
  78. package/dist/chunks/{vcs-84txncab.js → app-84txncab.js} +1 -1
  79. package/dist/chunks/{vcs-gw8g3a8n.js → app-87c2dmar.js} +9 -9
  80. package/dist/chunks/{vcs-x04y3h7q.js → app-8hfgq23n.js} +16 -16
  81. package/dist/chunks/{vcs-8m6m0r52.js → app-8m6m0r52.js} +1 -1
  82. package/dist/chunks/{vcs-tapzysky.js → app-8mq0f7d6.js} +22 -22
  83. package/dist/chunks/{vcs-hzrfc1p4.js → app-8n9x2wf6.js} +2 -2
  84. package/dist/chunks/{vcs-dvzj1xmf.js → app-8ra6m1eq.js} +12 -12
  85. package/dist/chunks/{vcs-43x15q73.js → app-8tfw67qp.js} +5 -5
  86. package/dist/chunks/{vcs-7pfe8y1s.js → app-8vwr0kv2.js} +30 -30
  87. package/dist/chunks/{vcs-91qna3x0.js → app-91qna3x0.js} +3 -3
  88. package/dist/chunks/{vcs-8deh7c6q.js → app-98kf8pf8.js} +7 -7
  89. package/dist/chunks/{vcs-6fzpscvt.js → app-98q3jtnf.js} +45 -45
  90. package/dist/chunks/{vcs-8aaqm6qj.js → app-9c3np669.js} +8 -8
  91. package/dist/chunks/{vcs-ggz4hs15.js → app-9e402gr3.js} +8 -8
  92. package/dist/chunks/{vcs-pa8pe2x7.js → app-9hn6k4tm.js} +8 -8
  93. package/dist/chunks/{vcs-mrjwzkn5.js → app-9qhp2c7y.js} +141 -141
  94. package/dist/chunks/{vcs-snpb5q77.js → app-9r716ba7.js} +11 -11
  95. package/dist/chunks/{vcs-d4ra3eqj.js → app-9ya8rqmz.js} +9 -9
  96. package/dist/chunks/{vcs-f0y3hrmm.js → app-9yj1abes.js} +6 -6
  97. package/dist/chunks/{vcs-tf45wne3.js → app-a1r4fzdz.js} +13 -13
  98. package/dist/chunks/{vcs-2haft7pr.js → app-a7fam1e2.js} +7 -7
  99. package/dist/chunks/{vcs-hr1xc807.js → app-ab2t1dtp.js} +48 -48
  100. package/dist/chunks/{vcs-mxvxcxwy.js → app-addxnjmp.js} +4 -4
  101. package/dist/chunks/{vcs-2p0vx0df.js → app-ahmp80x8.js} +27 -27
  102. package/dist/chunks/{vcs-50x795jv.js → app-amp8j8pr.js} +12 -12
  103. package/dist/chunks/{vcs-959n08kb.js → app-aprfpfra.js} +21 -21
  104. package/dist/chunks/{vcs-zh36sqcy.js → app-b1zzbc3b.js} +32 -32
  105. package/dist/chunks/{vcs-hdkng2sj.js → app-b3f8fkhc.js} +5 -5
  106. package/dist/chunks/{vcs-66enaw2c.js → app-b52w3eve.js} +4 -4
  107. package/dist/chunks/{vcs-1x73a69w.js → app-b8pbb0pt.js} +10 -10
  108. package/dist/chunks/{vcs-f2rv6855.js → app-bd2d2fyk.js} +41 -41
  109. package/dist/chunks/{vcs-hf9zz0cr.js → app-beagraae.js} +43 -43
  110. package/dist/chunks/{vcs-ywt8jp22.js → app-bjx1sjef.js} +9 -9
  111. package/dist/chunks/{vcs-txm3e8qz.js → app-bmr56wjg.js} +4 -4
  112. package/dist/chunks/{vcs-0tccdhza.js → app-c03pjh90.js} +12 -12
  113. package/dist/chunks/{vcs-wb44jxr9.js → app-c3ygfgpc.js} +12 -12
  114. package/dist/chunks/{vcs-c41wscbt.js → app-c41wscbt.js} +2 -2
  115. package/dist/chunks/{vcs-c8ax2afj.js → app-c8ax2afj.js} +2 -2
  116. package/dist/chunks/{vcs-c07ssfks.js → app-c9jm02cr.js} +34 -34
  117. package/dist/chunks/{vcs-z7k5sp21.js → app-caxa2972.js} +24 -24
  118. package/dist/chunks/{vcs-jjwt9gb5.js → app-cfp06q6p.js} +9 -9
  119. package/dist/chunks/{vcs-yd2v78na.js → app-cfw4348y.js} +13 -13
  120. package/dist/chunks/{vcs-hyr8tqae.js → app-cgc5rfg9.js} +20 -20
  121. package/dist/chunks/{vcs-z7g9232g.js → app-cz6hf250.js} +15 -15
  122. package/dist/chunks/{vcs-tmwxzkc5.js → app-db0xxnph.js} +11 -11
  123. package/dist/chunks/{vcs-8h8yzxqj.js → app-dcy4tesk.js} +4 -4
  124. package/dist/chunks/{vcs-pp3afwvg.js → app-de5e1pd0.js} +25 -25
  125. package/dist/chunks/{vcs-2sejkfem.js → app-djszqvmq.js} +9 -9
  126. package/dist/chunks/{vcs-3ag8ase7.js → app-dkd3r0qk.js} +9 -9
  127. package/dist/chunks/{vcs-kb66r164.js → app-dqavy2be.js} +9 -9
  128. package/dist/chunks/{vcs-dqxsqydv.js → app-dqxsqydv.js} +1 -1
  129. package/dist/chunks/{vcs-xhsv9n96.js → app-dsp8ce2r.js} +12 -12
  130. package/dist/chunks/{vcs-prg9xvqw.js → app-dvq678aa.js} +11 -11
  131. package/dist/chunks/{vcs-wp94metk.js → app-e1zfsj3q.js} +50 -50
  132. package/dist/chunks/{vcs-bjfb5pqm.js → app-eebrnx85.js} +44 -44
  133. package/dist/chunks/{vcs-eej6y6fw.js → app-eej6y6fw.js} +2 -2
  134. package/dist/chunks/app-eeyb3kb4.js +26 -0
  135. package/dist/chunks/{vcs-ef5x83kb.js → app-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{vcs-es1vcfrp.js → app-es1vcfrp.js} +3 -3
  137. package/dist/chunks/{vcs-mng7gjgz.js → app-ew1z5sec.js} +42 -36
  138. package/dist/chunks/{vcs-ajsx4q8w.js → app-ewkj75rr.js} +28 -28
  139. package/dist/chunks/{vcs-e7yzyp2p.js → app-f2ft21ck.js} +10 -10
  140. package/dist/chunks/{vcs-shhyvxrq.js → app-f4acqtff.js} +13 -13
  141. package/dist/chunks/{vcs-h4txjgx3.js → app-f4esc38z.js} +21 -21
  142. package/dist/chunks/{vcs-0ybbsf06.js → app-f5qq0z73.js} +6 -6
  143. package/dist/chunks/{vcs-fb8ejb83.js → app-fb8ejb83.js} +2 -2
  144. package/dist/chunks/{vcs-ps8k6c3y.js → app-ft4twj61.js} +25 -22
  145. package/dist/chunks/{vcs-6r0vq68t.js → app-g2y3xem8.js} +8 -8
  146. package/dist/chunks/{vcs-t781ex0h.js → app-g3jb9vbz.js} +5 -5
  147. package/dist/chunks/{vcs-avkamz5m.js → app-g524tknc.js} +3 -3
  148. package/dist/chunks/{vcs-7rzsvbkj.js → app-g98q3q0z.js} +5 -5
  149. package/dist/chunks/{vcs-gd4qta3r.js → app-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{vcs-pn3cc07s.js → app-gs3s1a1g.js} +8 -8
  151. package/dist/chunks/{vcs-2fassr37.js → app-gwaqpvd3.js} +21 -21
  152. package/dist/chunks/{vcs-qwhbyzhp.js → app-gyp319fn.js} +9 -9
  153. package/dist/chunks/{vcs-4jy3z28a.js → app-h594728p.js} +40 -40
  154. package/dist/chunks/{vcs-h6vf3j39.js → app-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{vcs-j9mp9csx.js → app-hgbrfrgh.js} +31 -31
  156. package/dist/chunks/{vcs-hgz4x7wa.js → app-hgz4x7wa.js} +1 -1
  157. package/dist/chunks/{vcs-drw8pd7a.js → app-hns1z3c7.js} +13 -13
  158. package/dist/chunks/{vcs-7zrk7djy.js → app-hsj3w1wy.js} +25 -25
  159. package/dist/chunks/app-ht5y0zrb.js +18 -0
  160. package/dist/chunks/{vcs-xsqeaj90.js → app-j8cq26a0.js} +166 -166
  161. package/dist/chunks/{vcs-61tjv46k.js → app-jb61p9mr.js} +9 -9
  162. package/dist/chunks/{vcs-8xc0ff7b.js → app-jczc6vns.js} +43 -43
  163. package/dist/chunks/{vcs-339z2p0x.js → app-jhbf14tp.js} +30 -30
  164. package/dist/chunks/{vcs-mf6tqe69.js → app-jv6mm5r1.js} +11 -11
  165. package/dist/chunks/{vcs-khmqacep.js → app-khmqacep.js} +1 -1
  166. package/dist/chunks/{vcs-d688a3nx.js → app-kmhdg12v.js} +5 -5
  167. package/dist/chunks/{vcs-vjjaysxc.js → app-kvycfk4x.js} +2 -2
  168. package/dist/chunks/{vcs-fz2076pd.js → app-m339f9ts.js} +12 -12
  169. package/dist/chunks/{vcs-9kyabpxr.js → app-m8c5na8n.js} +29 -29
  170. package/dist/chunks/{vcs-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
  171. package/dist/chunks/{vcs-maspj1v3.js → app-maspj1v3.js} +1 -1
  172. package/dist/chunks/{vcs-mx61yyya.js → app-mbqhpway.js} +34 -34
  173. package/dist/chunks/{vcs-npb06z3t.js → app-mdq09p9n.js} +28 -28
  174. package/dist/chunks/{vcs-j3k7xgch.js → app-mgnzszw4.js} +18 -18
  175. package/dist/chunks/{vcs-q6yya7b3.js → app-mtrbqqrq.js} +5 -5
  176. package/dist/chunks/{vcs-w5a76q94.js → app-mtx19441.js} +40 -40
  177. package/dist/chunks/{vcs-w14c85af.js → app-myt7gyg8.js} +25 -25
  178. package/dist/chunks/{vcs-z4zy5fwe.js → app-mz1gwbmy.js} +32 -32
  179. package/dist/chunks/{vcs-z2qhp8mt.js → app-mzv8fsd3.js} +9 -9
  180. package/dist/chunks/{vcs-nxe4pcap.js → app-n1n192bv.js} +4 -4
  181. package/dist/chunks/{vcs-06x8he3q.js → app-n4r3xatb.js} +4 -4
  182. package/dist/chunks/{vcs-z67m2mck.js → app-nmyzmte7.js} +9 -9
  183. package/dist/chunks/{vcs-4j5c83jz.js → app-nn5r88dg.js} +27 -27
  184. package/dist/chunks/{vcs-ec9rznf1.js → app-nwf09bmb.js} +23 -23
  185. package/dist/chunks/{vcs-73hq82r2.js → app-nwkxhzdw.js} +3 -3
  186. package/dist/chunks/{vcs-5paa9ef2.js → app-p0szy2by.js} +22 -22
  187. package/dist/chunks/{vcs-v1c3gq9j.js → app-p9j4m5kb.js} +39 -39
  188. package/dist/chunks/{vcs-1y283654.js → app-pct1c8gm.js} +4 -4
  189. package/dist/chunks/{vcs-tc4g7eq4.js → app-pfqb00sy.js} +26 -26
  190. package/dist/chunks/{vcs-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
  191. package/dist/chunks/{vcs-pknna89w.js → app-pknna89w.js} +1 -1
  192. package/dist/chunks/{vcs-p6p0ds8a.js → app-ppztqrvt.js} +4 -4
  193. package/dist/chunks/{vcs-k351gqed.js → app-pw9017y3.js} +10 -10
  194. package/dist/chunks/{vcs-1vv4j6r1.js → app-pxactvkc.js} +24 -24
  195. package/dist/chunks/{vcs-k5stwhrj.js → app-py2zmy8a.js} +9 -9
  196. package/dist/chunks/{vcs-0r5qpn88.js → app-py3aq9mf.js} +8 -8
  197. package/dist/chunks/{vcs-8sze2n9a.js → app-py3kkmfq.js} +6 -6
  198. package/dist/chunks/{vcs-q0xm7vwc.js → app-q0xm7vwc.js} +2 -2
  199. package/dist/chunks/{vcs-v854f2p9.js → app-qckt8r3e.js} +53 -53
  200. package/dist/chunks/{vcs-c3wxzxxt.js → app-qfshw0gf.js} +16 -16
  201. package/dist/chunks/{vcs-qnc92qwc.js → app-qnc92qwc.js} +1 -1
  202. package/dist/chunks/{vcs-qsdy395h.js → app-qsdy395h.js} +1 -1
  203. package/dist/chunks/{vcs-31z5wm9z.js → app-r0tzxxam.js} +13 -13
  204. package/dist/chunks/{vcs-xn2dpj90.js → app-r20pc6jk.js} +18 -18
  205. package/dist/chunks/{vcs-ed1g29hy.js → app-r2z489rp.js} +3 -3
  206. package/dist/chunks/{vcs-3y45vew5.js → app-r3c0wznm.js} +4 -4
  207. package/dist/chunks/{vcs-a4sqqhtm.js → app-rcc9h87s.js} +77 -77
  208. package/dist/chunks/{vcs-dn8cvzj6.js → app-rccqpthc.js} +21 -21
  209. package/dist/chunks/{vcs-rdw6cm16.js → app-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{vcs-0gdmqesm.js → app-rhjbct0v.js} +4 -4
  211. package/dist/chunks/{vcs-dc9sh8np.js → app-s09achy7.js} +11 -11
  212. package/dist/chunks/{vcs-jspk3b6b.js → app-s3s74cy0.js} +12 -12
  213. package/dist/chunks/{vcs-g8n2q3ca.js → app-s4frcz2y.js} +3 -3
  214. package/dist/chunks/{vcs-kxtwbv1b.js → app-s9ynav7r.js} +6 -6
  215. package/dist/chunks/{vcs-0nx0j33j.js → app-sh3ppxw7.js} +18 -18
  216. package/dist/chunks/{vcs-vpycaasy.js → app-sp3ra5c3.js} +24 -24
  217. package/dist/chunks/{vcs-syv4x271.js → app-syv4x271.js} +1 -1
  218. package/dist/chunks/{vcs-eghc6w1b.js → app-szqhjf28.js} +2 -2
  219. package/dist/chunks/{vcs-tazgh4e4.js → app-tazgh4e4.js} +1 -1
  220. package/dist/chunks/{vcs-sragp8dr.js → app-tbxn6vr2.js} +5 -5
  221. package/dist/chunks/{vcs-tcezcvh9.js → app-tcezcvh9.js} +1 -1
  222. package/dist/chunks/{vcs-tdstcens.js → app-tdstcens.js} +1 -1
  223. package/dist/chunks/{vcs-9qt0ajd2.js → app-tfxdznec.js} +4 -4
  224. package/dist/chunks/{vcs-tkb22qbm.js → app-tkb22qbm.js} +2 -2
  225. package/dist/chunks/{vcs-tm0kqsz3.js → app-tm0kqsz3.js} +1 -1
  226. package/dist/chunks/{vcs-2sbm49xc.js → app-tppyp9pb.js} +10 -10
  227. package/dist/chunks/{vcs-xc6sx546.js → app-tsn6bzsd.js} +10 -10
  228. package/dist/chunks/{vcs-kdezk8ga.js → app-twa3mmh2.js} +1 -1
  229. package/dist/chunks/{vcs-tyytaxap.js → app-tyytaxap.js} +1 -1
  230. package/dist/chunks/{vcs-edrmdtr5.js → app-v5dkyp31.js} +7 -7
  231. package/dist/chunks/{vcs-6x89tf4f.js → app-v7grjy9x.js} +4 -4
  232. package/dist/chunks/{vcs-v7p4zvkq.js → app-v7p4zvkq.js} +2 -2
  233. package/dist/chunks/{vcs-s14a018q.js → app-v8aakqbc.js} +15 -15
  234. package/dist/chunks/{vcs-4myngvt6.js → app-vbkq08fs.js} +28 -28
  235. package/dist/chunks/{vcs-veqvce7d.js → app-veqvce7d.js} +1 -1
  236. package/dist/chunks/{vcs-0r7t0cpv.js → app-vga3q6rs.js} +22 -22
  237. package/dist/chunks/{vcs-f3q0mxg4.js → app-vhg2fda3.js} +16 -16
  238. package/dist/chunks/{vcs-jqrmqyhf.js → app-vm6z5n2a.js} +3 -3
  239. package/dist/chunks/{vcs-v2z9amn0.js → app-vmnv22r9.js} +3 -3
  240. package/dist/chunks/{vcs-cebgx87p.js → app-vnfp1bqh.js} +6 -6
  241. package/dist/chunks/{vcs-7t1q934f.js → app-vppcbm3y.js} +11 -11
  242. package/dist/chunks/{vcs-dcw3vkc0.js → app-vptyv5c1.js} +14 -14
  243. package/dist/chunks/{vcs-qjx1ax0j.js → app-vrzt526f.js} +5 -5
  244. package/dist/chunks/{vcs-a881zpfh.js → app-vynmvp9h.js} +9 -9
  245. package/dist/chunks/{vcs-vzs5sf6e.js → app-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{vcs-qjh2dgdf.js → app-w0g0fbcz.js} +75 -75
  247. package/dist/chunks/{vcs-17svp89c.js → app-w3p166cb.js} +6 -6
  248. package/dist/chunks/{vcs-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{vcs-wd87259q.js → app-wd87259q.js} +1 -1
  250. package/dist/chunks/{vcs-8qg5srkn.js → app-wegtz2nd.js} +11 -11
  251. package/dist/chunks/{vcs-zwjz4pbc.js → app-wgbesqx0.js} +3 -3
  252. package/dist/chunks/{vcs-8714avm2.js → app-wpt2yr69.js} +4 -4
  253. package/dist/chunks/{vcs-g7x33k41.js → app-ws3tjcf8.js} +23 -23
  254. package/dist/chunks/{vcs-2f2kky6g.js → app-wvfxqbgn.js} +27 -27
  255. package/dist/chunks/{vcs-8xwc2may.js → app-wymv97xa.js} +19 -19
  256. package/dist/chunks/{vcs-xecxzrdp.js → app-xecxzrdp.js} +2 -2
  257. package/dist/chunks/{vcs-xfkkasph.js → app-xfkkasph.js} +1 -1
  258. package/dist/chunks/{vcs-hsv4me1j.js → app-xp096d3h.js} +9 -9
  259. package/dist/chunks/{vcs-g3et1r9g.js → app-xpagxnxm.js} +16 -16
  260. package/dist/chunks/{vcs-ekzq6bp1.js → app-xrbzmab8.js} +21 -21
  261. package/dist/chunks/{vcs-tam2w0b0.js → app-xs4mtx3k.js} +18 -18
  262. package/dist/chunks/{vcs-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{vcs-1qjaf7q9.js → app-y66qpnmq.js} +11 -11
  264. package/dist/chunks/{vcs-y71avatq.js → app-y71avatq.js} +1 -1
  265. package/dist/chunks/{vcs-trtty4av.js → app-yf6sbkfw.js} +23 -23
  266. package/dist/chunks/{vcs-9t99p3cv.js → app-yfwk2dbq.js} +14 -14
  267. package/dist/chunks/{vcs-1tadxgh6.js → app-yhw0gftb.js} +23 -23
  268. package/dist/chunks/{vcs-x640gzss.js → app-yhzecjmw.js} +28 -28
  269. package/dist/chunks/{vcs-4gx4de6d.js → app-ymkmw3p0.js} +14 -14
  270. package/dist/chunks/{vcs-13d0fw4d.js → app-ynypmsgx.js} +3 -3
  271. package/dist/chunks/{vcs-9g0h0kex.js → app-yqrs8n94.js} +45 -45
  272. package/dist/chunks/{vcs-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{vcs-2p1hpqj8.js → app-z2ywks3e.js} +13 -13
  274. package/dist/chunks/{vcs-qvdcjn92.js → app-z34vb90q.js} +16 -16
  275. package/dist/chunks/{vcs-b4a4df0m.js → app-z4h5nb4t.js} +9 -9
  276. package/dist/chunks/{vcs-19xes010.js → app-zdg8fsxg.js} +50 -50
  277. package/dist/chunks/{vcs-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
  278. package/dist/chunks/{vcs-mz89zh3j.js → app-zw2ke1at.js} +5 -5
  279. package/dist/chunks/{vcs-ffjarpe8.js → app-zwa8p87b.js} +4 -4
  280. package/dist/chunks/{vcs-42wenp1t.js → app-zwpqkbw2.js} +10 -10
  281. package/dist/chunks/{vcs-zxq2ej10.js → app-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{vcs-01h1cd23.js → app-zybhphgb.js} +17 -17
  283. package/dist/chunks/{vcs-e6xzsx93.js → app-zyghg2rr.js} +9 -9
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +87 -87
  289. package/dist/config/discovery.js +84 -84
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +120 -120
  293. package/dist/config/plugin/command.js +209 -209
  294. package/dist/config/plugin/compaction.js +156 -156
  295. package/dist/config/plugin/compatibility.js +136 -136
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +119 -119
  298. package/dist/config/plugin/image.js +118 -118
  299. package/dist/config/plugin/instruction.js +92 -92
  300. package/dist/config/plugin/location-watcher.js +120 -120
  301. package/dist/config/plugin/mcp.js +127 -127
  302. package/dist/config/plugin/policy.js +119 -119
  303. package/dist/config/plugin/provider.js +118 -118
  304. package/dist/config/plugin/reference.js +120 -120
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +118 -118
  309. package/dist/config/plugin/source.js +121 -121
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +119 -119
  312. package/dist/config/plugin/worktree.js +120 -120
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +119 -119
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +83 -83
  318. package/dist/database/database.js +68 -68
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +78 -78
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +95 -95
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +76 -76
  410. package/dist/file-access.js +106 -106
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +222 -222
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +105 -105
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +9 -9
  423. package/dist/filesystem.js +104 -104
  424. package/dist/form.js +82 -82
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +107 -107
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +93 -93
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +359 -359
  452. package/dist/instruction-discovery.js +87 -87
  453. package/dist/instructions/builtins.js +87 -87
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +87 -87
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +75 -75
  460. package/dist/location-activity.js +136 -136
  461. package/dist/location-lifecycle.js +105 -105
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +356 -356
  464. package/dist/location.js +83 -83
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +109 -109
  468. package/dist/mcp/instructions.js +131 -131
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +93 -93
  473. package/dist/model-resolver.js +98 -98
  474. package/dist/model.js +100 -100
  475. package/dist/models-dev.js +109 -109
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +82 -82
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +111 -111
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +88 -88
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +78 -78
  486. package/dist/plugin/command.js +104 -104
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +331 -331
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +119 -119
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +118 -118
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +115 -115
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +127 -127
  516. package/dist/plugin/provider/local.js +124 -124
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +127 -127
  521. package/dist/plugin/provider/openai.js +120 -120
  522. package/dist/plugin/provider/opencode.js +99 -99
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +127 -127
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +169 -169
  535. package/dist/plugin/sdk.js +78 -78
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +136 -136
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +350 -350
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +116 -116
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +6 -6
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +218 -218
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +82 -82
  557. package/dist/provider.js +99 -99
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +95 -95
  561. package/dist/reference/instructions.js +91 -91
  562. package/dist/reference.js +89 -89
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +99 -99
  567. package/dist/rpc.js +86 -86
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +1 -1
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +135 -135
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +216 -216
  578. package/dist/session/execution.js +127 -127
  579. package/dist/session/generate.js +156 -156
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +92 -92
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +77 -77
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +131 -131
  591. package/dist/session/projector.js +88 -88
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +4 -4
  602. package/dist/session/runner/step.js +127 -127
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +3 -3
  605. package/dist/session/session.js +164 -164
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +105 -105
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +75 -75
  610. package/dist/session/store.js +87 -87
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +207 -207
  613. package/dist/session/system-prompt.js +1 -1
  614. package/dist/session/title.js +159 -159
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +207 -207
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +207 -207
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +15 -15
  623. package/dist/shell.js +132 -132
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +107 -107
  626. package/dist/skill.js +114 -114
  627. package/dist/snapshot.js +85 -85
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +124 -124
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +126 -126
  635. package/dist/tool/plugin/grep.js +124 -124
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +124 -124
  639. package/dist/tool/plugin/question.js +105 -105
  640. package/dist/tool/plugin/read.js +127 -127
  641. package/dist/tool/plugin/shell.js +212 -212
  642. package/dist/tool/plugin/skill.js +113 -113
  643. package/dist/tool/plugin/subagent.js +214 -214
  644. package/dist/tool/plugin/webfetch.js +114 -114
  645. package/dist/tool/plugin/websearch.js +116 -116
  646. package/dist/tool/plugin/write.js +124 -124
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +14 -14
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/command.js +5 -5
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/mcp.js +2 -2
  664. package/dist/v1/config/migrate.js +94 -94
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +1 -1
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/variant.js +95 -95
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +91 -91
  672. package/dist/websearch.js +86 -86
  673. package/dist/wellknown/plugin.js +78 -78
  674. package/dist/wellknown.js +83 -83
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +84 -84
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +8 -8
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +87 -87
  682. package/dist/worktree.js +92 -92
  683. package/package.json +8 -8
  684. package/dist/chunks/vcs-kvsxepmb.js +0 -26
  685. package/dist/chunks/vcs-qc068m1q.js +0 -18
  686. /package/dist/chunks/{vcs-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
  687. /package/dist/chunks/{vcs-0zkw76rk.js → app-0zkw76rk.js} +0 -0
  688. /package/dist/chunks/{vcs-17cy0kzp.js → app-17cy0kzp.js} +0 -0
  689. /package/dist/chunks/{vcs-1cnp2v09.js → app-1cnp2v09.js} +0 -0
  690. /package/dist/chunks/{vcs-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
  691. /package/dist/chunks/{vcs-24dcb14g.js → app-24dcb14g.js} +0 -0
  692. /package/dist/chunks/{vcs-2710q6r3.js → app-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{vcs-2axfhc9x.js → app-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{vcs-2bv980vf.js → app-2bv980vf.js} +0 -0
  695. /package/dist/chunks/{vcs-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
  696. /package/dist/chunks/{vcs-359p4xyc.js → app-359p4xyc.js} +0 -0
  697. /package/dist/chunks/{vcs-3asan66x.js → app-3asan66x.js} +0 -0
  698. /package/dist/chunks/{vcs-3t0ybcrp.js → app-3t0ybcrp.js} +0 -0
  699. /package/dist/chunks/{vcs-3v8g72cx.js → app-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{vcs-3wcehsnq.js → app-3wcehsnq.js} +0 -0
  701. /package/dist/chunks/{vcs-43n2bw4t.js → app-43n2bw4t.js} +0 -0
  702. /package/dist/chunks/{vcs-4knz6hnm.js → app-4knz6hnm.js} +0 -0
  703. /package/dist/chunks/{vcs-4vcrnpx2.js → app-4vcrnpx2.js} +0 -0
  704. /package/dist/chunks/{vcs-4y7fprxs.js → app-4y7fprxs.js} +0 -0
  705. /package/dist/chunks/{vcs-53557ph1.js → app-53557ph1.js} +0 -0
  706. /package/dist/chunks/{vcs-550bvhaj.js → app-550bvhaj.js} +0 -0
  707. /package/dist/chunks/{vcs-5qd3pb7m.js → app-5qd3pb7m.js} +0 -0
  708. /package/dist/chunks/{vcs-6prwharc.js → app-6prwharc.js} +0 -0
  709. /package/dist/chunks/{vcs-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
  710. /package/dist/chunks/{vcs-7akdwqpd.js → app-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{vcs-7m9af43g.js → app-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{vcs-822emrt2.js → app-822emrt2.js} +0 -0
  713. /package/dist/chunks/{vcs-84wd9syh.js → app-84wd9syh.js} +0 -0
  714. /package/dist/chunks/{vcs-88xbtdfr.js → app-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{vcs-8n3pysct.js → app-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{vcs-8wj87zfr.js → app-8wj87zfr.js} +0 -0
  717. /package/dist/chunks/{vcs-9a4afbnw.js → app-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{vcs-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{vcs-a6k6eb26.js → app-a6k6eb26.js} +0 -0
  720. /package/dist/chunks/{vcs-af5trqkr.js → app-af5trqkr.js} +0 -0
  721. /package/dist/chunks/{vcs-afrmfg78.js → app-afrmfg78.js} +0 -0
  722. /package/dist/chunks/{vcs-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
  723. /package/dist/chunks/{vcs-atq7p7m5.js → app-atq7p7m5.js} +0 -0
  724. /package/dist/chunks/{vcs-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
  725. /package/dist/chunks/{vcs-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
  726. /package/dist/chunks/{vcs-cf4snx6d.js → app-cf4snx6d.js} +0 -0
  727. /package/dist/chunks/{vcs-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
  728. /package/dist/chunks/{vcs-d9fn303g.js → app-d9fn303g.js} +0 -0
  729. /package/dist/chunks/{vcs-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
  730. /package/dist/chunks/{vcs-dajrwvna.js → app-dajrwvna.js} +0 -0
  731. /package/dist/chunks/{vcs-dap0rakb.js → app-dap0rakb.js} +0 -0
  732. /package/dist/chunks/{vcs-df08tz66.js → app-df08tz66.js} +0 -0
  733. /package/dist/chunks/{vcs-dy18nga0.js → app-dy18nga0.js} +0 -0
  734. /package/dist/chunks/{vcs-e5kj55wp.js → app-e5kj55wp.js} +0 -0
  735. /package/dist/chunks/{vcs-e73j6tqm.js → app-e73j6tqm.js} +0 -0
  736. /package/dist/chunks/{vcs-ec1grn59.js → app-ec1grn59.js} +0 -0
  737. /package/dist/chunks/{vcs-eh3zwz77.js → app-eh3zwz77.js} +0 -0
  738. /package/dist/chunks/{vcs-emrn6kk6.js → app-emrn6kk6.js} +0 -0
  739. /package/dist/chunks/{vcs-f0mxakyp.js → app-f0mxakyp.js} +0 -0
  740. /package/dist/chunks/{vcs-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
  741. /package/dist/chunks/{vcs-faypxj3z.js → app-faypxj3z.js} +0 -0
  742. /package/dist/chunks/{vcs-fd410y7t.js → app-fd410y7t.js} +0 -0
  743. /package/dist/chunks/{vcs-g4wezp1m.js → app-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{vcs-g86h250q.js → app-g86h250q.js} +0 -0
  745. /package/dist/chunks/{vcs-gebd4c9n.js → app-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{vcs-gftt206x.js → app-gftt206x.js} +0 -0
  747. /package/dist/chunks/{vcs-hcxmzztb.js → app-hcxmzztb.js} +0 -0
  748. /package/dist/chunks/{vcs-hk9envan.js → app-hk9envan.js} +0 -0
  749. /package/dist/chunks/{vcs-j2ntwpah.js → app-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{vcs-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{vcs-jjkms2e6.js → app-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{vcs-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{vcs-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{vcs-jze0r7bz.js → app-jze0r7bz.js} +0 -0
  755. /package/dist/chunks/{vcs-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
  756. /package/dist/chunks/{vcs-m18g726c.js → app-m18g726c.js} +0 -0
  757. /package/dist/chunks/{vcs-mp448xyj.js → app-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{vcs-msx8hqn2.js → app-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{vcs-n05xt0ee.js → app-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{vcs-n3j8tn72.js → app-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{vcs-njntx4h6.js → app-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{vcs-pkyv6v7h.js → app-pkyv6v7h.js} +0 -0
  763. /package/dist/chunks/{vcs-pyv0edze.js → app-pyv0edze.js} +0 -0
  764. /package/dist/chunks/{vcs-q3sfg36h.js → app-q3sfg36h.js} +0 -0
  765. /package/dist/chunks/{vcs-q74kybfr.js → app-q74kybfr.js} +0 -0
  766. /package/dist/chunks/{vcs-qaymkmh1.js → app-qaymkmh1.js} +0 -0
  767. /package/dist/chunks/{vcs-qb87gjwd.js → app-qb87gjwd.js} +0 -0
  768. /package/dist/chunks/{vcs-qfa1cgps.js → app-qfa1cgps.js} +0 -0
  769. /package/dist/chunks/{vcs-qg3g05ea.js → app-qg3g05ea.js} +0 -0
  770. /package/dist/chunks/{vcs-qrg20bc0.js → app-qrg20bc0.js} +0 -0
  771. /package/dist/chunks/{vcs-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
  772. /package/dist/chunks/{vcs-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
  773. /package/dist/chunks/{vcs-ssg3fenm.js → app-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{vcs-ve7vex1e.js → app-ve7vex1e.js} +0 -0
  775. /package/dist/chunks/{vcs-w803qqfp.js → app-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{vcs-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
  777. /package/dist/chunks/{vcs-wer8tq1h.js → app-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{vcs-wjj7prxr.js → app-wjj7prxr.js} +0 -0
  779. /package/dist/chunks/{vcs-wtztk69x.js → app-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{vcs-x0ckcb58.js → app-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{vcs-x61499pn.js → app-x61499pn.js} +0 -0
  782. /package/dist/chunks/{vcs-y44na4kk.js → app-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{vcs-y8f7s663.js → app-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{vcs-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{vcs-ym463w8f.js → app-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{vcs-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
  787. /package/dist/chunks/{vcs-z9919s4g.js → app-z9919s4g.js} +0 -0
@@ -1,60 +1,60 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./vcs-y71avatq.js";
3
+ } from "./app-y71avatq.js";
4
4
  import {
5
- Service83,
6
- node87
7
- } from "./vcs-r18p0vf7.js";
5
+ Service84,
6
+ node88
7
+ } from "./app-64xbrstx.js";
8
8
  import {
9
- Event20,
10
- Service72,
11
- node74
12
- } from "./vcs-2f2kky6g.js";
9
+ Event19,
10
+ Service78,
11
+ node81
12
+ } from "./app-wvfxqbgn.js";
13
13
  import {
14
14
  Service81,
15
15
  node85
16
- } from "./vcs-hthv5jgd.js";
16
+ } from "./app-7qggzfr4.js";
17
17
  import {
18
- Service77,
19
- node80
20
- } from "./vcs-h4txjgx3.js";
18
+ Service45,
19
+ node48
20
+ } from "./app-f4esc38z.js";
21
21
  import {
22
- ID13,
23
- Service71,
24
- node73
25
- } from "./vcs-sfsey46c.js";
22
+ ID15,
23
+ Service79,
24
+ node82
25
+ } from "./app-1f3hwm7j.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./vcs-rdw6cm16.js";
29
+ } from "./app-rdw6cm16.js";
30
30
  import {
31
- ID12,
31
+ ID13,
32
32
  MethodID2,
33
- Service70,
34
- node72
35
- } from "./vcs-6c6pn2sh.js";
33
+ Service77,
34
+ node80
35
+ } from "./app-41vrjm3g.js";
36
36
  import {
37
37
  __export
38
- } from "./vcs-9rqn6x4v.js";
38
+ } from "./app-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
44
  NotFoundError: () => NotFoundError4,
45
- Options: () => Options4,
45
+ Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service43,
52
+ Service: () => Service38,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured4,
56
- layer: () => layer18,
57
- node: () => node45
55
+ configured: () => configured3,
56
+ layer: () => layer16,
57
+ node: () => node41
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service43 extends Context.Service()("@opencode/MCP") {
106
+ class Service38 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
- var Options4 = Schema.Struct({
108
+ var Options3 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
110
110
  name: Schema.String,
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
114
+ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
115
115
  const location = yield* Service81;
116
- const environment = yield* Service77;
117
- const bus = yield* Service83;
118
- const forms = yield* Service71;
119
- const integration = yield* Service70;
120
- const credentials = yield* Service72;
116
+ const environment = yield* Service45;
117
+ const bus = yield* Service84;
118
+ const forms = yield* Service79;
119
+ const integration = yield* Service77;
120
+ const credentials = yield* Service78;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -129,7 +129,7 @@ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID12.make(suffix);
132
+ const integrationID = ID13.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service72, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -161,12 +161,12 @@ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
161
161
  if (entry.config.type !== "remote" || !entry.integrationID)
162
162
  return;
163
163
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
164
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service72, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
168
168
  if (input.params.mode === "url") {
169
- const formID = ID13.create();
169
+ const formID = ID15.create();
170
170
  const elicitationID = input.params.elicitationId;
171
171
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
172
172
  if (key)
@@ -269,7 +269,7 @@ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service77, environment), Scope.provide(scope));
272
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service45, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -394,7 +394,7 @@ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
398
398
  const state = create3({
399
399
  name: "mcp",
400
400
  initial: () => ({
@@ -420,7 +420,7 @@ var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service43.of({
423
+ return Service38.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
530
530
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
531
531
  });
532
532
  }
533
- function configured4(options) {
533
+ function configured3(options) {
534
534
  return makeLocationNode({
535
- service: Service43,
536
- layer: layer18(options),
537
- deps: [node85, node80, node87, node73, node72, node74]
535
+ service: Service38,
536
+ layer: layer16(options),
537
+ deps: [node85, node48, node88, node82, node80, node81]
538
538
  });
539
539
  }
540
- var node45 = configured4();
540
+ var node41 = configured3();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service43, Options4, layer18, configured4, node45, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service38, Options3, layer16, configured3, node41, exports_mcp4 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./app-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info22,
10
+ Info: () => Info24,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  Status: () => Status3,
13
13
  key: () => key2
@@ -15,7 +15,7 @@ __export(exports_connection, {
15
15
  import { Connection } from "@opencode/schema/connection";
16
16
  var CredentialInfo2 = Connection.CredentialInfo;
17
17
  var EnvInfo2 = Connection.EnvInfo;
18
- var Info22 = Connection.Info;
18
+ var Info24 = Connection.Info;
19
19
  var Status3 = Connection.Status;
20
20
  function key2(connection) {
21
21
  if (!connection)
@@ -23,4 +23,4 @@ function key2(connection) {
23
23
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
24
24
  }
25
25
 
26
- export { CredentialInfo2, EnvInfo2, Info22, Status3, key2, exports_connection };
26
+ export { CredentialInfo2, EnvInfo2, Info24, Status3, key2, exports_connection };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./vcs-13d0fw4d.js";
4
+ } from "./app-ynypmsgx.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./vcs-y71avatq.js";
7
+ } from "./app-y71avatq.js";
8
8
  import {
9
- Service83,
10
- node87
11
- } from "./vcs-r18p0vf7.js";
9
+ Service84,
10
+ node88
11
+ } from "./app-64xbrstx.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./vcs-ec1grn59.js";
14
+ } from "./app-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./vcs-gftt206x.js";
17
+ } from "./app-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./vcs-hzrfc1p4.js";
20
+ } from "./app-8n9x2wf6.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./vcs-es1vcfrp.js";
24
+ } from "./app-es1vcfrp.js";
25
25
  import {
26
26
  __export
27
- } from "./vcs-9rqn6x4v.js";
27
+ } from "./app-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info6,
35
+ Info: () => Info16,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service40,
40
+ Service: () => Service60,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer17,
49
- list: () => list3,
50
- make: () => make17,
48
+ layer: () => layer23,
49
+ list: () => list4,
50
+ make: () => make18,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node42,
53
+ node: () => node63,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info6,
68
+ Info as Info16,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service40 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service60 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make17 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make18 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service85;
158
158
  const db = database.db;
159
- const bus = yield* Service83;
159
+ const bus = yield* Service84;
160
160
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
161
161
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
162
162
  if (existing === undefined)
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info6.make({
176
+ }).pipe(Effect.map((event) => Info16.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -193,7 +193,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
193
193
  }
194
194
  if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
195
195
  return yield* new LifecycleConflict2({ id: input.id });
196
- const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
196
+ const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
197
197
  if (pending)
198
198
  return pending;
199
199
  return yield* admit({
@@ -218,7 +218,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
218
218
  delivery: "queue"
219
219
  })));
220
220
  return {
221
- list: (sessionID) => list3(db, sessionID),
221
+ list: (sessionID) => list4(db, sessionID),
222
222
  reconcile,
223
223
  admit,
224
224
  admitCompaction,
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer17 = Layer.effect(Service40, make17());
231
- var node42 = makeGlobalNode({ service: Service40, layer: layer17, deps: [node89, node87] });
230
+ var layer23 = Layer.effect(Service60, make18());
231
+ var node63 = makeGlobalNode({ service: Service60, layer: layer23, deps: [node89, node88] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
266
266
  from: input.delivery === "steer" ? "queue" : "steer",
267
267
  to: input.delivery
268
268
  }));
269
- var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
269
+ var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
270
270
  const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
271
271
  return rows.map(fromRow);
272
272
  });
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info6, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service40, make17, layer17, node42, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info16, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service60, make18, layer23, node63, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service51
3
- } from "./vcs-6fzpscvt.js";
3
+ } from "./app-98q3jtnf.js";
4
4
  import {
5
- Service11
6
- } from "./vcs-2sejkfem.js";
5
+ Service10
6
+ } from "./app-djszqvmq.js";
7
7
  import {
8
8
  observe2
9
- } from "./vcs-qsdy395h.js";
9
+ } from "./app-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./vcs-9rqn6x4v.js";
12
+ } from "./app-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/location-watcher.ts
15
- var exports_location_watcher2 = {};
16
- __export(exports_location_watcher2, {
17
- ConfigLocationWatcherPlugin: () => exports_location_watcher2,
18
- Plugin: () => Plugin29
15
+ var exports_location_watcher = {};
16
+ __export(exports_location_watcher, {
17
+ ConfigLocationWatcherPlugin: () => exports_location_watcher,
18
+ Plugin: () => Plugin19
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin29 = define({
22
+ var Plugin19 = define({
23
23
  id: "opencode.config.location-watcher",
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  const config = yield* Service51;
26
- const policy = yield* Service11;
26
+ const policy = yield* Service10;
27
27
  const loaded = yield* observe2(config, ctx.event, policy.reload());
28
28
  yield* policy.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -35,4 +35,4 @@ var Plugin29 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin29, exports_location_watcher2 };
38
+ export { Plugin19, exports_location_watcher };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./vcs-r18p0vf7.js";
2
+ Service84,
3
+ node88
4
+ } from "./app-64xbrstx.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./vcs-tazgh4e4.js";
9
+ } from "./app-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./vcs-ymsb3n01.js";
12
+ } from "./app-4x20jssq.js";
13
13
  import {
14
14
  Service81,
15
15
  node85
16
- } from "./vcs-hthv5jgd.js";
16
+ } from "./app-7qggzfr4.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./vcs-rdw6cm16.js";
20
+ } from "./app-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./vcs-9rqn6x4v.js";
23
+ } from "./app-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info25,
32
+ Info: () => Info15,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service74,
35
+ Service: () => Service56,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node76
37
+ node: () => node60
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info25, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info15, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service74 extends Context.Service()("@opencode/Vcs") {
57
+ class Service56 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service74, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
61
  const location = yield* Service81;
62
- const bus = yield* Service83;
62
+ const bus = yield* Service84;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
65
65
  const vcs = location.vcs;
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info25));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info15));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service74.of({
132
+ return Service56.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node76 = makeLocationNode({
191
- service: Service74,
190
+ var node60 = makeLocationNode({
191
+ service: Service56,
192
192
  layer,
193
- deps: [FSUtil.node, node85, node87]
193
+ deps: [FSUtil.node, node85, node88]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info25, Mode2, DiffError2, InitializeError2, Service74, node76, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info15, Mode2, DiffError2, InitializeError2, Service56, node60, exports_vcs };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service77
3
- } from "./vcs-h4txjgx3.js";
2
+ Service45
3
+ } from "./app-f4esc38z.js";
4
4
  import {
5
- Service17,
5
+ Service18,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./vcs-31z5wm9z.js";
8
+ } from "./app-r0tzxxam.js";
9
9
  import {
10
- Service21
11
- } from "./vcs-cw35edym.js";
10
+ Service20
11
+ } from "./app-7mz429at.js";
12
12
  import {
13
- Service60
14
- } from "./vcs-wp94metk.js";
13
+ Service66
14
+ } from "./app-e1zfsj3q.js";
15
15
  import {
16
- Service18
17
- } from "./vcs-k6pj38bh.js";
16
+ Service19
17
+ } from "./app-1ahdgg21.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./vcs-6prwharc.js";
20
+ } from "./app-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./vcs-9rqn6x4v.js";
23
+ } from "./app-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input6,
29
- Output: () => Output6,
30
- Plugin: () => Plugin7,
28
+ Input: () => Input7,
29
+ Output: () => Output4,
30
+ Plugin: () => Plugin42,
31
31
  WriteTool: () => exports_write,
32
- name: () => name6,
33
- toModelContent: () => toModelContent4
32
+ name: () => name7,
33
+ toModelContent: () => toModelContent3
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name6 = "write";
39
- var Input6 = Schema.Struct({
38
+ var name7 = "write";
39
+ var Input7 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output6 = Schema.Struct({
45
+ var Output4 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin7 = {
51
+ var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin42 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service18;
56
- const fileMutation = yield* Service17;
57
- const environment = yield* Service77;
58
- const formatter = yield* Service21;
59
- const permission = yield* Service60;
55
+ const access = yield* Service19;
56
+ const fileMutation = yield* Service18;
57
+ const environment = yield* Service45;
58
+ const formatter = yield* Service20;
59
+ const permission = yield* Service66;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name6,
61
+ name: name7,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input6,
69
- output: Output6,
68
+ input: Input7,
69
+ output: Output4,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name6, Input6, Output6, toModelContent4, Plugin7, exports_write };
101
+ export { name7, Input7, Output4, toModelContent3, Plugin42, exports_write };