@opencode/core 0.0.0-dev-20950 → 0.0.0-dev-20955

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 (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{model-resolver-fqn434s7.js → generate-007gt5h3.js} +9 -9
  8. package/dist/chunks/{model-resolver-8hje7a9v.js → generate-03d3gpge.js} +24 -24
  9. package/dist/chunks/{model-resolver-97aeaand.js → generate-045nn9pc.js} +9 -9
  10. package/dist/chunks/{model-resolver-q0xm7vwc.js → generate-0j77ygfz.js} +6 -6
  11. package/dist/chunks/{model-resolver-7968cave.js → generate-0sawxzss.js} +24 -24
  12. package/dist/chunks/{model-resolver-0vbcp93d.js → generate-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{model-resolver-w0qm4gzb.js → generate-18845wm5.js} +13 -13
  14. package/dist/chunks/{model-resolver-wphhsbqm.js → generate-19hfexd2.js} +40 -40
  15. package/dist/chunks/{model-resolver-0rf3mqqe.js → generate-1wcdeef4.js} +15 -15
  16. package/dist/chunks/{model-resolver-y9rz79sf.js → generate-21149sed.js} +30 -30
  17. package/dist/chunks/{model-resolver-xdrp1hb6.js → generate-226jkg9e.js} +14 -14
  18. package/dist/chunks/{model-resolver-kk3mpyge.js → generate-28n4pc0c.js} +20 -20
  19. package/dist/chunks/{model-resolver-g828bkxh.js → generate-29sdvvc3.js} +8 -8
  20. package/dist/chunks/{model-resolver-s57pv86b.js → generate-2ag2k7fv.js} +30 -30
  21. package/dist/chunks/{model-resolver-tm6yce80.js → generate-2ecc8kjr.js} +2 -2
  22. package/dist/chunks/{model-resolver-1fsm553b.js → generate-353e70w1.js} +13 -13
  23. package/dist/chunks/{model-resolver-phvmwwrc.js → generate-3ev3b5b8.js} +16 -16
  24. package/dist/chunks/{model-resolver-rkp05d3h.js → generate-3f8w4jbq.js} +33 -33
  25. package/dist/chunks/{model-resolver-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
  26. package/dist/chunks/{model-resolver-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  27. package/dist/chunks/{model-resolver-3hwn7j4h.js → generate-3hwn7j4h.js} +2 -2
  28. package/dist/chunks/{model-resolver-erdcs917.js → generate-3hx241vc.js} +9 -9
  29. package/dist/chunks/{model-resolver-kwjtxjfb.js → generate-3nw6a24a.js} +20 -20
  30. package/dist/chunks/{model-resolver-5nns0kdt.js → generate-3q2zmd79.js} +20 -20
  31. package/dist/chunks/{model-resolver-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
  32. package/dist/chunks/{model-resolver-3ggd8s46.js → generate-3sytbhw4.js} +5 -5
  33. package/dist/chunks/{model-resolver-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
  34. package/dist/chunks/{model-resolver-5926cwpj.js → generate-3zg54vq3.js} +8 -8
  35. package/dist/chunks/{model-resolver-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
  36. package/dist/chunks/{model-resolver-5jc797f7.js → generate-48aqjxkx.js} +16 -16
  37. package/dist/chunks/{model-resolver-kf8jqwvn.js → generate-4a50zq9s.js} +43 -43
  38. package/dist/chunks/{model-resolver-80scg3y3.js → generate-4bm5ja14.js} +4 -4
  39. package/dist/chunks/{model-resolver-yahdewcc.js → generate-4br13kzk.js} +27 -27
  40. package/dist/chunks/{model-resolver-d8d1mz9r.js → generate-4hd4yrbq.js} +23 -23
  41. package/dist/chunks/{model-resolver-ze7t1560.js → generate-4pgz46s9.js} +43 -43
  42. package/dist/chunks/{model-resolver-9mtvkt7f.js → generate-4v166rgp.js} +18 -18
  43. package/dist/chunks/{model-resolver-a634dvb9.js → generate-4wqhejgp.js} +13 -13
  44. package/dist/chunks/{model-resolver-m93cgr6s.js → generate-4yd5fbph.js} +3 -3
  45. package/dist/chunks/{model-resolver-ytye8eex.js → generate-52ccxbw0.js} +18 -18
  46. package/dist/chunks/{model-resolver-54ma36ye.js → generate-54ma36ye.js} +1 -1
  47. package/dist/chunks/{model-resolver-xfkkasph.js → generate-57b9ws8p.js} +7 -7
  48. package/dist/chunks/{model-resolver-k64pj0tg.js → generate-583x01kt.js} +17 -17
  49. package/dist/chunks/{model-resolver-7xfrtcks.js → generate-5cw9rgh0.js} +14 -14
  50. package/dist/chunks/{model-resolver-d2czbp48.js → generate-5dkn69vz.js} +4 -4
  51. package/dist/chunks/{model-resolver-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
  52. package/dist/chunks/{model-resolver-ggp1egtm.js → generate-605983wd.js} +6 -6
  53. package/dist/chunks/{model-resolver-jk540des.js → generate-6g107h22.js} +2 -2
  54. package/dist/chunks/{model-resolver-7a3t7few.js → generate-6gv93bxn.js} +28 -28
  55. package/dist/chunks/{model-resolver-vqv75wwx.js → generate-6jfn6z1e.js} +11 -11
  56. package/dist/chunks/{model-resolver-ef5bn39a.js → generate-6va2hmq8.js} +34 -34
  57. package/dist/chunks/{model-resolver-6xb47vfp.js → generate-6xb47vfp.js} +1 -1
  58. package/dist/chunks/{model-resolver-apj3cz87.js → generate-6yqf2094.js} +14 -14
  59. package/dist/chunks/{model-resolver-xpf8z4nb.js → generate-6zk226fd.js} +6 -6
  60. package/dist/chunks/{model-resolver-vxby77fw.js → generate-73kdj4zj.js} +8 -8
  61. package/dist/chunks/{model-resolver-775gj3j1.js → generate-775gj3j1.js} +2 -2
  62. package/dist/chunks/{model-resolver-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  63. package/dist/chunks/{model-resolver-d9wzmzc3.js → generate-7d2a7xbs.js} +5 -5
  64. package/dist/chunks/{model-resolver-qgn6gcr1.js → generate-7dqw4kz8.js} +5 -5
  65. package/dist/chunks/{model-resolver-2qnat7dc.js → generate-7f45822d.js} +16 -16
  66. package/dist/chunks/generate-7fj5dwt0.js +18 -0
  67. package/dist/chunks/{model-resolver-ch7mpmes.js → generate-7rfyzhr4.js} +11 -11
  68. package/dist/chunks/generate-7rkfa3ca.js +26 -0
  69. package/dist/chunks/{model-resolver-mk389d74.js → generate-7tx5wnjn.js} +15 -15
  70. package/dist/chunks/{model-resolver-84txncab.js → generate-84txncab.js} +1 -1
  71. package/dist/chunks/{model-resolver-k03dsn1k.js → generate-85x58gzh.js} +18 -18
  72. package/dist/chunks/{model-resolver-y87z2683.js → generate-86qjnnqk.js} +11 -11
  73. package/dist/chunks/{model-resolver-bsagyafn.js → generate-87tbyhg2.js} +8 -8
  74. package/dist/chunks/{model-resolver-01s1begh.js → generate-87wvz1aq.js} +13 -13
  75. package/dist/chunks/{model-resolver-8c3hmt3w.js → generate-8fzym08n.js} +22 -22
  76. package/dist/chunks/{model-resolver-06x8he3q.js → generate-8gxqpgph.js} +4 -4
  77. package/dist/chunks/{model-resolver-eyc9h8gm.js → generate-8k409zfd.js} +4 -4
  78. package/dist/chunks/{model-resolver-8m6m0r52.js → generate-8m6m0r52.js} +1 -1
  79. package/dist/chunks/{model-resolver-zwq9gsm5.js → generate-8nbsy07e.js} +5 -5
  80. package/dist/chunks/{model-resolver-dmq48mpy.js → generate-8y991780.js} +34 -34
  81. package/dist/chunks/{model-resolver-wrkpgzm9.js → generate-8yhdxqmw.js} +26 -26
  82. package/dist/chunks/{model-resolver-be7qvw84.js → generate-91p1v22t.js} +8 -8
  83. package/dist/chunks/{model-resolver-ya3jbp1k.js → generate-93146j55.js} +24 -24
  84. package/dist/chunks/{model-resolver-0satj92y.js → generate-95tm7t3r.js} +14 -14
  85. package/dist/chunks/{model-resolver-7e6b2cwb.js → generate-986mq3g4.js} +23 -23
  86. package/dist/chunks/{model-resolver-9y5jvg7a.js → generate-9cjpt02s.js} +31 -31
  87. package/dist/chunks/{model-resolver-12tpmng7.js → generate-9m7bnam6.js} +71 -71
  88. package/dist/chunks/{model-resolver-yhd2m4kx.js → generate-9yaq9fmg.js} +32 -32
  89. package/dist/chunks/{model-resolver-n6r6gr2k.js → generate-a6awq7tx.js} +3 -3
  90. package/dist/chunks/{model-resolver-076tdj8j.js → generate-adm7m3rs.js} +14 -14
  91. package/dist/chunks/{model-resolver-f14hekp8.js → generate-aexvrqsg.js} +9 -9
  92. package/dist/chunks/{model-resolver-09rrpfny.js → generate-agzhgt0s.js} +19 -19
  93. package/dist/chunks/{model-resolver-97bpphjt.js → generate-ahytbjxw.js} +11 -11
  94. package/dist/chunks/{model-resolver-z2ce4t34.js → generate-ajrp0zcc.js} +16 -16
  95. package/dist/chunks/{model-resolver-5x1d34z2.js → generate-ang39x71.js} +3 -3
  96. package/dist/chunks/{model-resolver-q2g3ps59.js → generate-azrg85nq.js} +52 -52
  97. package/dist/chunks/{model-resolver-31v9pj2m.js → generate-basbsbfx.js} +11 -11
  98. package/dist/chunks/{model-resolver-vh39qgwm.js → generate-bexysgkj.js} +7 -7
  99. package/dist/chunks/{model-resolver-ntwdp302.js → generate-bvn9nnns.js} +4 -4
  100. package/dist/chunks/{model-resolver-axe3mf62.js → generate-c2sed5cq.js} +3 -3
  101. package/dist/chunks/{model-resolver-c41wscbt.js → generate-c41wscbt.js} +2 -2
  102. package/dist/chunks/{model-resolver-c8ax2afj.js → generate-c8ax2afj.js} +2 -2
  103. package/dist/chunks/{model-resolver-zza4sf78.js → generate-cb7hbdgq.js} +20 -20
  104. package/dist/chunks/{model-resolver-017v6ka8.js → generate-ccf0qaaq.js} +24 -24
  105. package/dist/chunks/{model-resolver-dy66nzqs.js → generate-ce6mw5w9.js} +5 -5
  106. package/dist/chunks/{model-resolver-g0445xdp.js → generate-cmwkp3r5.js} +4 -4
  107. package/dist/chunks/{model-resolver-y11gfp3c.js → generate-cwdksr8n.js} +21 -21
  108. package/dist/chunks/{model-resolver-2y74b1pt.js → generate-d5jrddrm.js} +27 -27
  109. package/dist/chunks/{model-resolver-7j0h8tbw.js → generate-d72m3w4m.js} +17 -17
  110. package/dist/chunks/{model-resolver-5y2nakwc.js → generate-d9ts7e30.js} +22 -22
  111. package/dist/chunks/{model-resolver-y71avatq.js → generate-dpkg50ah.js} +4 -4
  112. package/dist/chunks/{model-resolver-hz5abz9m.js → generate-dq37mrqa.js} +11 -11
  113. package/dist/chunks/{model-resolver-dqxsqydv.js → generate-dqxsqydv.js} +1 -1
  114. package/dist/chunks/{model-resolver-xjdp5kgq.js → generate-ds2qfcyy.js} +3 -3
  115. package/dist/chunks/{model-resolver-2zd7cxc8.js → generate-dvn0pkbj.js} +11 -11
  116. package/dist/chunks/{model-resolver-zhzk0jbj.js → generate-dxb92a41.js} +11 -11
  117. package/dist/chunks/{model-resolver-n28jv3gc.js → generate-dzyqpy57.js} +11 -11
  118. package/dist/chunks/{model-resolver-5qd3pb7m.js → generate-e3qxr5gk.js} +2 -2
  119. package/dist/chunks/{model-resolver-hjn6f328.js → generate-e78mjzb8.js} +32 -32
  120. package/dist/chunks/{model-resolver-vtt0yr3x.js → generate-e9t82wt6.js} +15 -15
  121. package/dist/chunks/{model-resolver-7kpkhag7.js → generate-ect48nsn.js} +50 -50
  122. package/dist/chunks/{model-resolver-e80seqcp.js → generate-ed1g29hy.js} +3 -3
  123. package/dist/chunks/{model-resolver-eej6y6fw.js → generate-eej6y6fw.js} +2 -2
  124. package/dist/chunks/{model-resolver-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
  125. package/dist/chunks/{model-resolver-276bngqz.js → generate-efsjwg4m.js} +12 -12
  126. package/dist/chunks/{model-resolver-6r5rwgtp.js → generate-egja09jm.js} +13 -13
  127. package/dist/chunks/{model-resolver-g05j57d7.js → generate-ejderhnd.js} +5 -5
  128. package/dist/chunks/{model-resolver-es1vcfrp.js → generate-es1vcfrp.js} +3 -3
  129. package/dist/chunks/{model-resolver-1sr5z03x.js → generate-es2491wy.js} +35 -35
  130. package/dist/chunks/{model-resolver-cp937pt4.js → generate-espax8zg.js} +4 -4
  131. package/dist/chunks/{model-resolver-v8hntyfk.js → generate-f68pm4a7.js} +22 -22
  132. package/dist/chunks/{model-resolver-69nevm9g.js → generate-f7mmnwn2.js} +82 -82
  133. package/dist/chunks/{model-resolver-4j05sq0m.js → generate-fkjn3fdb.js} +18 -18
  134. package/dist/chunks/{model-resolver-cvkyw9pt.js → generate-fnp4h3kf.js} +18 -18
  135. package/dist/chunks/{model-resolver-jdqskayt.js → generate-fsay702y.js} +25 -25
  136. package/dist/chunks/{model-resolver-kkhtdzsm.js → generate-ftjs4a6p.js} +23 -23
  137. package/dist/chunks/{model-resolver-zk8b9ssq.js → generate-fvphec8c.js} +15 -15
  138. package/dist/chunks/{model-resolver-0jq9fyba.js → generate-fwwk8vbp.js} +9 -9
  139. package/dist/chunks/{model-resolver-125fewv7.js → generate-fx09zbwx.js} +11 -11
  140. package/dist/chunks/{model-resolver-t5345zfw.js → generate-g7x3whcf.js} +4 -4
  141. package/dist/chunks/{model-resolver-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{model-resolver-3vswmpk1.js → generate-gdq0r6pz.js} +20 -20
  143. package/dist/chunks/{model-resolver-p4613v5m.js → generate-gdzh3mgb.js} +5 -5
  144. package/dist/chunks/{model-resolver-qeafh5k3.js → generate-gejnwnva.js} +11 -11
  145. package/dist/chunks/{model-resolver-sm1cpy88.js → generate-gjwksjz5.js} +9 -9
  146. package/dist/chunks/{model-resolver-jyrkv4gc.js → generate-gp62719s.js} +1 -1
  147. package/dist/chunks/{model-resolver-3g3fherm.js → generate-gqb29rq1.js} +34 -34
  148. package/dist/chunks/{model-resolver-4djhckew.js → generate-gqv3phke.js} +24 -24
  149. package/dist/chunks/{model-resolver-fftm5veb.js → generate-gs3khzew.js} +14 -14
  150. package/dist/chunks/{model-resolver-31knp78d.js → generate-h0js04z9.js} +11 -11
  151. package/dist/chunks/{model-resolver-pjsqfx9m.js → generate-h6degvvb.js} +9 -9
  152. package/dist/chunks/{model-resolver-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{model-resolver-9hfpa9m9.js → generate-h784rw89.js} +21 -21
  154. package/dist/chunks/{model-resolver-h7s7r6s9.js → generate-h7s7r6s9.js} +2 -2
  155. package/dist/chunks/{model-resolver-k18ytf7m.js → generate-had4kgfk.js} +6 -6
  156. package/dist/chunks/{model-resolver-5fqe9rrs.js → generate-hc9bykrx.js} +10 -10
  157. package/dist/chunks/{model-resolver-scgrse2b.js → generate-hdkng2sj.js} +5 -5
  158. package/dist/chunks/{model-resolver-hgz4x7wa.js → generate-hgz4x7wa.js} +1 -1
  159. package/dist/chunks/{model-resolver-1z02ee6a.js → generate-hnepv2pm.js} +27 -27
  160. package/dist/chunks/{model-resolver-2ryng5r3.js → generate-hqhp0zxs.js} +4 -4
  161. package/dist/chunks/{model-resolver-pr6x9sxx.js → generate-htf6sggk.js} +4 -4
  162. package/dist/chunks/{model-resolver-n61013np.js → generate-hv879400.js} +11 -11
  163. package/dist/chunks/{model-resolver-91qna3x0.js → generate-j09zfasm.js} +3 -3
  164. package/dist/chunks/{model-resolver-zeadje1f.js → generate-j2jpnhmm.js} +18 -18
  165. package/dist/chunks/{model-resolver-e5xwx9q2.js → generate-j55hjvtx.js} +1 -1
  166. package/dist/chunks/{model-resolver-vrcgr47b.js → generate-j8w73jpj.js} +4 -4
  167. package/dist/chunks/{model-resolver-yqev8n43.js → generate-jcegsay8.js} +18 -18
  168. package/dist/chunks/{model-resolver-hyym503s.js → generate-jg7szpbk.js} +20 -20
  169. package/dist/chunks/{model-resolver-xybefm6f.js → generate-jhdf29st.js} +1 -1
  170. package/dist/chunks/{model-resolver-nq9f5nkx.js → generate-jk72k5yt.js} +5 -5
  171. package/dist/chunks/{model-resolver-der77a5r.js → generate-jkf2f16v.js} +42 -42
  172. package/dist/chunks/{model-resolver-26tsy11a.js → generate-jm74df8m.js} +11 -11
  173. package/dist/chunks/{model-resolver-kjxvkwmy.js → generate-jnem059t.js} +18 -18
  174. package/dist/chunks/{model-resolver-xqsvy1tg.js → generate-jrckhh2g.js} +11 -11
  175. package/dist/chunks/{model-resolver-4az1a8cs.js → generate-jwv7ab79.js} +6 -6
  176. package/dist/chunks/{model-resolver-w8t2jk6x.js → generate-k2xyfnfp.js} +10 -10
  177. package/dist/chunks/{model-resolver-2r93mh4x.js → generate-k3bh1kct.js} +5 -5
  178. package/dist/chunks/{model-resolver-j9r8495c.js → generate-kdm0xk8y.js} +3 -3
  179. package/dist/chunks/{model-resolver-8e2jakfn.js → generate-kg7tw7af.js} +11 -11
  180. package/dist/chunks/{model-resolver-khmqacep.js → generate-khmqacep.js} +1 -1
  181. package/dist/chunks/{model-resolver-tbxprhjc.js → generate-kj5e6n13.js} +42 -42
  182. package/dist/chunks/{model-resolver-h8v25wh0.js → generate-kvk9zhmn.js} +19 -19
  183. package/dist/chunks/{model-resolver-hba5qx00.js → generate-m0ecvezt.js} +19 -19
  184. package/dist/chunks/{model-resolver-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{model-resolver-maspj1v3.js → generate-maspj1v3.js} +1 -1
  186. package/dist/chunks/{model-resolver-9y9sk2j9.js → generate-mb14aw74.js} +2 -2
  187. package/dist/chunks/{model-resolver-73bangna.js → generate-mf3tk837.js} +15 -15
  188. package/dist/chunks/{model-resolver-1kswe1g3.js → generate-mvh6hcdn.js} +43 -43
  189. package/dist/chunks/{model-resolver-addxnjmp.js → generate-mxvxcxwy.js} +4 -4
  190. package/dist/chunks/{model-resolver-ny62zz38.js → generate-n7cqf3h2.js} +11 -11
  191. package/dist/chunks/{model-resolver-9hwaqfsw.js → generate-n8vdnqrc.js} +5 -5
  192. package/dist/chunks/{model-resolver-yw18zvsa.js → generate-nfsm5mmz.js} +7 -7
  193. package/dist/chunks/{model-resolver-s73414qt.js → generate-nhttw11w.js} +16 -16
  194. package/dist/chunks/{model-resolver-fvjzj6fm.js → generate-nj9bcvzn.js} +7 -7
  195. package/dist/chunks/{model-resolver-jsjp95jt.js → generate-nsm5jq39.js} +13 -13
  196. package/dist/chunks/{model-resolver-yxxmeqn1.js → generate-nthsq1c9.js} +6 -6
  197. package/dist/chunks/{model-resolver-yyc693px.js → generate-nydzyyh3.js} +25 -25
  198. package/dist/chunks/{model-resolver-xd4yhhbd.js → generate-p9ntvqt0.js} +30 -30
  199. package/dist/chunks/{model-resolver-81rxcsqc.js → generate-ph1hy9gm.js} +17 -17
  200. package/dist/chunks/{model-resolver-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{model-resolver-pknna89w.js → generate-pknna89w.js} +1 -1
  202. package/dist/chunks/{model-resolver-nnfex98a.js → generate-pt1jpjcb.js} +15 -15
  203. package/dist/chunks/{model-resolver-1wp3hb2k.js → generate-pv0ywq10.js} +9 -9
  204. package/dist/chunks/{model-resolver-7haz9w5k.js → generate-pynaa69q.js} +3 -3
  205. package/dist/chunks/{model-resolver-xpkszdg2.js → generate-q3xjw1w0.js} +6 -6
  206. package/dist/chunks/{model-resolver-zaatn0x7.js → generate-q41ybjg5.js} +10 -10
  207. package/dist/chunks/{model-resolver-aj3rbcf1.js → generate-qjx1ax0j.js} +5 -5
  208. package/dist/chunks/{model-resolver-ft3hqk2c.js → generate-qmqgtz8f.js} +9 -9
  209. package/dist/chunks/{model-resolver-qnc92qwc.js → generate-qnc92qwc.js} +1 -1
  210. package/dist/chunks/{model-resolver-qsdy395h.js → generate-qsdy395h.js} +1 -1
  211. package/dist/chunks/{model-resolver-f1nae5s7.js → generate-qxc7eem4.js} +14 -14
  212. package/dist/chunks/{model-resolver-nhd34jsd.js → generate-qxc89awc.js} +13 -13
  213. package/dist/chunks/{model-resolver-vx7qmf9g.js → generate-r3ynj49d.js} +174 -174
  214. package/dist/chunks/{model-resolver-89j1w47y.js → generate-r42rn07b.js} +24 -24
  215. package/dist/chunks/{model-resolver-0p78r4x4.js → generate-r5czv6vh.js} +10 -10
  216. package/dist/chunks/{model-resolver-r70na3yp.js → generate-r70na3yp.js} +2 -2
  217. package/dist/chunks/{model-resolver-tkmwgdpd.js → generate-ratrq7cm.js} +7 -7
  218. package/dist/chunks/{model-resolver-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{model-resolver-fhr47e0j.js → generate-rt768fr5.js} +45 -45
  220. package/dist/chunks/generate-s7fpnt2j.js +253 -0
  221. package/dist/chunks/{model-resolver-vsx5rp07.js → generate-se975k4p.js} +30 -30
  222. package/dist/chunks/{model-resolver-7h0gvqqa.js → generate-sfas9ggz.js} +8 -8
  223. package/dist/chunks/{model-resolver-k1d2vept.js → generate-sfda3pmv.js} +25 -25
  224. package/dist/chunks/{model-resolver-k0pj753z.js → generate-sgd1fqjm.js} +10 -10
  225. package/dist/chunks/{model-resolver-pdtwfjed.js → generate-sh51cmbp.js} +4 -4
  226. package/dist/chunks/{model-resolver-r24h05zg.js → generate-ssfpbmz4.js} +28 -28
  227. package/dist/chunks/{model-resolver-vhxz3vg8.js → generate-sst3xwvk.js} +15 -15
  228. package/dist/chunks/{model-resolver-syv4x271.js → generate-syv4x271.js} +1 -1
  229. package/dist/chunks/{model-resolver-psde1en3.js → generate-t1j722vw.js} +4 -4
  230. package/dist/chunks/{model-resolver-rhjbct0v.js → generate-t550f9t1.js} +4 -4
  231. package/dist/chunks/{model-resolver-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{model-resolver-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{model-resolver-5x4mgjyy.js → generate-tckds7f3.js} +22 -22
  234. package/dist/chunks/{model-resolver-tdstcens.js → generate-tdstcens.js} +1 -1
  235. package/dist/chunks/{model-resolver-ev42rs7f.js → generate-tgty86k3.js} +10 -10
  236. package/dist/chunks/{model-resolver-b0dxm10x.js → generate-tjbwbx5p.js} +35 -35
  237. package/dist/chunks/{model-resolver-r05rzvq1.js → generate-tjjvxdpy.js} +50 -50
  238. package/dist/chunks/{model-resolver-tkb22qbm.js → generate-tkb22qbm.js} +2 -2
  239. package/dist/chunks/{model-resolver-tm0kqsz3.js → generate-tm0kqsz3.js} +1 -1
  240. package/dist/chunks/{model-resolver-gwwgnv03.js → generate-tqhwrjj1.js} +16 -16
  241. package/dist/chunks/{model-resolver-72qbjese.js → generate-trshtzzb.js} +11 -11
  242. package/dist/chunks/{model-resolver-tyytaxap.js → generate-tyytaxap.js} +1 -1
  243. package/dist/chunks/{model-resolver-v0es1rhs.js → generate-v0es1rhs.js} +2 -2
  244. package/dist/chunks/{model-resolver-kdkn6452.js → generate-v2vqt7ja.js} +16 -16
  245. package/dist/chunks/{model-resolver-bhhmns0g.js → generate-v2w00eb9.js} +40 -40
  246. package/dist/chunks/{model-resolver-gw3qbjtg.js → generate-v4v0br85.js} +23 -23
  247. package/dist/chunks/{model-resolver-v7p4zvkq.js → generate-v7p4zvkq.js} +2 -2
  248. package/dist/chunks/{model-resolver-veqvce7d.js → generate-veqvce7d.js} +1 -1
  249. package/dist/chunks/{model-resolver-vxvsynfj.js → generate-vjvmdf82.js} +20 -20
  250. package/dist/chunks/{model-resolver-egwn3b3z.js → generate-vrsjek29.js} +2 -2
  251. package/dist/chunks/{model-resolver-k1qskgm1.js → generate-vsxaf637.js} +8 -8
  252. package/dist/chunks/{model-resolver-mejf7p9j.js → generate-vwz8vhph.js} +15 -15
  253. package/dist/chunks/{model-resolver-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{model-resolver-7014qyn6.js → generate-w16k0wzf.js} +6 -6
  255. package/dist/chunks/{model-resolver-dssbfrwz.js → generate-w2h15q85.js} +5 -5
  256. package/dist/chunks/{model-resolver-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{model-resolver-wh1hjrhc.js → generate-w64wyqh3.js} +16 -16
  258. package/dist/chunks/{model-resolver-v8cmy866.js → generate-w919w76e.js} +8 -8
  259. package/dist/chunks/{model-resolver-8sze2n9a.js → generate-w92k2e0p.js} +4 -4
  260. package/dist/chunks/{model-resolver-wd87259q.js → generate-wd87259q.js} +1 -1
  261. package/dist/chunks/{model-resolver-tsktfrs2.js → generate-wrjhv8ep.js} +79 -79
  262. package/dist/chunks/{model-resolver-2erc5g3s.js → generate-wrry1r48.js} +4 -4
  263. package/dist/chunks/generate-wxd1amzp.js +513 -0
  264. package/dist/chunks/{model-resolver-hws0p7qv.js → generate-wy0e5ct7.js} +18 -18
  265. package/dist/chunks/{model-resolver-sxzvkvgj.js → generate-xcd0eash.js} +6 -6
  266. package/dist/chunks/{model-resolver-pj45xpz4.js → generate-xfkrhj36.js} +3 -3
  267. package/dist/chunks/{model-resolver-21jrmc9g.js → generate-xqhar19x.js} +4 -4
  268. package/dist/chunks/{model-resolver-bwd9ews5.js → generate-xs6tnz78.js} +13 -13
  269. package/dist/chunks/{model-resolver-7e1nrk9x.js → generate-y0nbp6f8.js} +19 -19
  270. package/dist/chunks/{model-resolver-pnkbpv6t.js → generate-y16p1w2y.js} +9 -9
  271. package/dist/chunks/{model-resolver-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{model-resolver-9hcy9v3f.js → generate-ygr9627z.js} +5 -5
  273. package/dist/chunks/{model-resolver-dx3sr3as.js → generate-yj2ncqs1.js} +44 -44
  274. package/dist/chunks/{model-resolver-yp2x3t23.js → generate-yp2x3t23.js} +1 -1
  275. package/dist/chunks/{model-resolver-wjr9rjd7.js → generate-ywt8jp22.js} +6 -6
  276. package/dist/chunks/{model-resolver-zxz20fz9.js → generate-yxj30fw6.js} +21 -21
  277. package/dist/chunks/{model-resolver-et8wf2kw.js → generate-yxv48c46.js} +18 -18
  278. package/dist/chunks/{model-resolver-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{model-resolver-b134vsz7.js → generate-z7bx7nj5.js} +7 -7
  280. package/dist/chunks/{model-resolver-qsry094s.js → generate-z9k480np.js} +5 -5
  281. package/dist/chunks/{model-resolver-vb82663b.js → generate-zd7c0wbn.js} +20 -20
  282. package/dist/chunks/{model-resolver-e9azs9n6.js → generate-zqxc0bxc.js} +9 -9
  283. package/dist/chunks/{model-resolver-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{model-resolver-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +92 -92
  301. package/dist/config/plugin/location-watcher.js +120 -120
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +121 -121
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +123 -123
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +83 -83
  319. package/dist/database/database.js +68 -68
  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/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +72 -72
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +104 -104
  425. package/dist/form.js +80 -80
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +105 -105
  429. package/dist/git.js +6 -6
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +101 -101
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +85 -85
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +87 -87
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +133 -133
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +83 -83
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +107 -107
  469. package/dist/mcp/instructions.js +129 -129
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +101 -101
  474. package/dist/model-resolver.js +98 -98
  475. package/dist/model.js +102 -102
  476. package/dist/models-dev.js +109 -109
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +82 -82
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +115 -115
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +88 -88
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +76 -76
  487. package/dist/plugin/command.js +102 -102
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +3 -3
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +118 -118
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +78 -78
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +136 -136
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +350 -350
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +6 -6
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +220 -220
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +82 -82
  558. package/dist/provider.js +99 -99
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +101 -101
  562. package/dist/reference/instructions.js +91 -91
  563. package/dist/reference.js +91 -91
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +99 -99
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +135 -135
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +216 -216
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +156 -156
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +88 -88
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +81 -81
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +122 -122
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +1 -1
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +4 -4
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +164 -164
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +87 -87
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +5 -5
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +209 -209
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +213 -213
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +2 -2
  626. package/dist/skill/instructions.js +107 -107
  627. package/dist/skill.js +114 -114
  628. package/dist/snapshot.js +93 -93
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +128 -128
  633. package/dist/tool/plugin/edit.js +122 -122
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +124 -124
  636. package/dist/tool/plugin/grep.js +124 -124
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +124 -124
  640. package/dist/tool/plugin/question.js +107 -107
  641. package/dist/tool/plugin/read.js +121 -121
  642. package/dist/tool/plugin/shell.js +210 -210
  643. package/dist/tool/plugin/skill.js +115 -115
  644. package/dist/tool/plugin/subagent.js +214 -214
  645. package/dist/tool/plugin/webfetch.js +114 -114
  646. package/dist/tool/plugin/websearch.js +114 -114
  647. package/dist/tool/plugin/write.js +124 -124
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +14 -14
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/error.js +4 -4
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +84 -84
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +83 -83
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +84 -84
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +8 -8
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +100 -100
  684. package/package.json +8 -8
  685. package/dist/chunks/model-resolver-9zdhvgqs.js +0 -18
  686. package/dist/chunks/model-resolver-e34gd66c.js +0 -26
  687. package/dist/chunks/model-resolver-px39bg4v.js +0 -513
  688. package/dist/chunks/model-resolver-q2d1k2hk.js +0 -253
  689. /package/dist/chunks/{model-resolver-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{model-resolver-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{model-resolver-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{model-resolver-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{model-resolver-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{model-resolver-24dcb14g.js → generate-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{model-resolver-2710q6r3.js → generate-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{model-resolver-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{model-resolver-2bv980vf.js → generate-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{model-resolver-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{model-resolver-359p4xyc.js → generate-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{model-resolver-3asan66x.js → generate-3asan66x.js} +0 -0
  701. /package/dist/chunks/{model-resolver-3t0ybcrp.js → generate-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{model-resolver-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{model-resolver-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{model-resolver-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{model-resolver-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{model-resolver-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{model-resolver-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{model-resolver-53557ph1.js → generate-53557ph1.js} +0 -0
  709. /package/dist/chunks/{model-resolver-550bvhaj.js → generate-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{model-resolver-6prwharc.js → generate-6prwharc.js} +0 -0
  711. /package/dist/chunks/{model-resolver-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{model-resolver-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{model-resolver-7m9af43g.js → generate-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{model-resolver-822emrt2.js → generate-822emrt2.js} +0 -0
  715. /package/dist/chunks/{model-resolver-84wd9syh.js → generate-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{model-resolver-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{model-resolver-8n3pysct.js → generate-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{model-resolver-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{model-resolver-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{model-resolver-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{model-resolver-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{model-resolver-af5trqkr.js → generate-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{model-resolver-afrmfg78.js → generate-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{model-resolver-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{model-resolver-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{model-resolver-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{model-resolver-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{model-resolver-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{model-resolver-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{model-resolver-d9fn303g.js → generate-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{model-resolver-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{model-resolver-dajrwvna.js → generate-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{model-resolver-dap0rakb.js → generate-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{model-resolver-df08tz66.js → generate-df08tz66.js} +0 -0
  735. /package/dist/chunks/{model-resolver-dy18nga0.js → generate-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{model-resolver-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{model-resolver-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{model-resolver-ec1grn59.js → generate-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{model-resolver-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{model-resolver-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{model-resolver-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{model-resolver-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{model-resolver-faypxj3z.js → generate-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{model-resolver-fd410y7t.js → generate-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{model-resolver-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{model-resolver-g86h250q.js → generate-g86h250q.js} +0 -0
  747. /package/dist/chunks/{model-resolver-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{model-resolver-gftt206x.js → generate-gftt206x.js} +0 -0
  749. /package/dist/chunks/{model-resolver-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{model-resolver-hk9envan.js → generate-hk9envan.js} +0 -0
  751. /package/dist/chunks/{model-resolver-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{model-resolver-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{model-resolver-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{model-resolver-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{model-resolver-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{model-resolver-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{model-resolver-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{model-resolver-m18g726c.js → generate-m18g726c.js} +0 -0
  759. /package/dist/chunks/{model-resolver-mp448xyj.js → generate-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{model-resolver-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{model-resolver-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{model-resolver-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{model-resolver-njntx4h6.js → generate-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{model-resolver-pkyv6v7h.js → generate-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{model-resolver-pyv0edze.js → generate-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{model-resolver-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{model-resolver-q74kybfr.js → generate-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{model-resolver-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{model-resolver-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{model-resolver-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{model-resolver-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{model-resolver-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{model-resolver-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{model-resolver-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{model-resolver-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{model-resolver-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{model-resolver-w803qqfp.js → generate-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{model-resolver-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{model-resolver-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{model-resolver-wjj7prxr.js → generate-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{model-resolver-wtztk69x.js → generate-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{model-resolver-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{model-resolver-x61499pn.js → generate-x61499pn.js} +0 -0
  784. /package/dist/chunks/{model-resolver-y44na4kk.js → generate-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{model-resolver-y8f7s663.js → generate-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{model-resolver-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{model-resolver-ym463w8f.js → generate-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{model-resolver-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{model-resolver-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./model-resolver-tm6yce80.js";
4
+ } from "./generate-2ecc8kjr.js";
5
5
  import {
6
6
  Key3,
7
- make20,
7
+ make19,
8
8
  combine2
9
- } from "./model-resolver-rhjbct0v.js";
9
+ } from "./generate-t550f9t1.js";
10
10
  import {
11
11
  __export
12
- } from "./model-resolver-9rqn6x4v.js";
12
+ } from "./generate-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service31,
19
- node: () => node34
18
+ Service: () => Service40,
19
+ node: () => node43
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service31 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service40 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service31, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
28
  const location = yield* Service81;
29
- return Service31.of({
29
+ return Service40.of({
30
30
  load: () => Effect.succeed(combine2([
31
- make20({
31
+ make19({
32
32
  key: Key3.make("core/date"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
37
37
  changed: (_previous, date) => `Today's date is now: ${date}`
38
38
  }
39
39
  }),
40
- make20({
40
+ make19({
41
41
  key: Key3.make("core/environment"),
42
42
  codec: Schema.toCodecJson(Schema.String),
43
43
  read: Effect.sync(() => [
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node34 = makeLocationNode({ service: Service31, layer, deps: [Global.node, node85] });
63
+ var node43 = makeLocationNode({ service: Service40, layer, deps: [Global.node, node85] });
64
64
 
65
- export { Service31, node34, exports_builtins };
65
+ export { Service40, node43, exports_builtins };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service51
3
- } from "./model-resolver-pnkbpv6t.js";
2
+ Service45
3
+ } from "./generate-y16p1w2y.js";
4
4
  import {
5
- Service42
6
- } from "./model-resolver-sxzvkvgj.js";
5
+ Service52
6
+ } from "./generate-xcd0eash.js";
7
7
  import {
8
8
  detect2
9
- } from "./model-resolver-3smtnn6g.js";
9
+ } from "./generate-3smtnn6g.js";
10
10
  import {
11
11
  awaitActivation2
12
- } from "./model-resolver-9zdhvgqs.js";
12
+ } from "./generate-7fj5dwt0.js";
13
13
  import {
14
- Service75
15
- } from "./model-resolver-vxby77fw.js";
14
+ Service70
15
+ } from "./generate-73kdj4zj.js";
16
16
  import {
17
17
  AttachmentError2,
18
18
  SkillNotFoundError2
19
- } from "./model-resolver-pjsqfx9m.js";
19
+ } from "./generate-h6degvvb.js";
20
20
  import {
21
21
  prepare3,
22
- Service70
23
- } from "./model-resolver-4djhckew.js";
22
+ Service43
23
+ } from "./generate-gqv3phke.js";
24
24
  import {
25
25
  __export
26
- } from "./model-resolver-9rqn6x4v.js";
26
+ } from "./generate-9rqn6x4v.js";
27
27
 
28
28
  // src/session/prompt.ts
29
29
  var exports_prompt = {};
@@ -39,10 +39,10 @@ import path from "path";
39
39
  import { fileURLToPath } from "url";
40
40
  var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
41
41
  const fs = yield* FSUtil.Service;
42
- const instances = yield* Service42;
42
+ const instances = yield* Service52;
43
43
  return yield* Effect.gen(function* () {
44
44
  yield* awaitActivation2;
45
- const hooks = yield* Service75;
45
+ const hooks = yield* Service70;
46
46
  const event = yield* hooks.trigger("session", "prompt", {
47
47
  sessionID: request.session.id,
48
48
  messageID: request.messageID,
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
61
61
  const selected = yield* Effect.gen(function* () {
62
62
  if (!requested?.length)
63
63
  return;
64
- const skillService = yield* Service70;
64
+ const skillService = yield* Service43;
65
65
  const prepared = new Map;
66
66
  return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
67
67
  const name = prepared.get(attachment.id);
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
126
126
  var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
127
127
  if (!mime.startsWith("image/"))
128
128
  return { data: Base64.make(data), mime };
129
- const image = yield* Service51;
129
+ const image = yield* Service45;
130
130
  const label = attachmentLabel(input);
131
131
  const content = { uri: label, content: data, encoding: "base64", mime };
132
132
  const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node80
5
- } from "./model-resolver-xqsvy1tg.js";
4
+ node63
5
+ } from "./generate-jrckhh2g.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./model-resolver-d2czbp48.js";
9
+ } from "./generate-5dkn69vz.js";
10
10
  import {
11
- Service75,
12
- node78
13
- } from "./model-resolver-vxby77fw.js";
11
+ Service70,
12
+ node73
13
+ } from "./generate-73kdj4zj.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./model-resolver-q2g3ps59.js";
16
+ } from "./generate-azrg85nq.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./model-resolver-076tdj8j.js";
19
+ } from "./generate-adm7m3rs.js";
20
20
  import {
21
- Error4
22
- } from "./model-resolver-ya3jbp1k.js";
21
+ Error3
22
+ } from "./generate-93146j55.js";
23
23
  import {
24
24
  get5
25
- } from "./model-resolver-54ma36ye.js";
25
+ } from "./generate-54ma36ye.js";
26
26
  import {
27
- Service29,
28
- node33
29
- } from "./model-resolver-ch7mpmes.js";
27
+ Service36,
28
+ node40
29
+ } from "./generate-7rfyzhr4.js";
30
30
  import {
31
- make15
32
- } from "./model-resolver-xfkkasph.js";
31
+ make14
32
+ } from "./generate-57b9ws8p.js";
33
33
  import {
34
34
  toLLMMessages2
35
- } from "./model-resolver-xybefm6f.js";
35
+ } from "./generate-jhdf29st.js";
36
36
  import {
37
37
  __export
38
- } from "./model-resolver-9rqn6x4v.js";
38
+ } from "./generate-9rqn6x4v.js";
39
39
 
40
40
  // src/session/model-request.ts
41
41
  var exports_model_request = {};
42
42
  __export(exports_model_request, {
43
- Service: () => Service28,
43
+ Service: () => Service35,
44
44
  SessionModelRequest: () => exports_model_request,
45
45
  baseTranscript: () => baseTranscript2,
46
46
  boundImages: () => boundImages2,
47
- layer: () => layer13,
48
- node: () => node32,
47
+ layer: () => layer16,
48
+ node: () => node39,
49
49
  unsupportedParts: () => unsupportedParts2
50
50
  });
51
51
  import {
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
82
82
  return {
83
83
  providerMetadataKey,
84
84
  system: [
85
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
85
+ input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
86
86
  input.initial
87
87
  ].filter((part) => part.length > 0).map(SystemPart.make),
88
88
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -155,11 +155,11 @@ var boundImages2 = (messages) => {
155
155
  });
156
156
  };
157
157
 
158
- class Service28 extends Context.Service()("@opencode/SessionModelRequest") {
158
+ class Service35 extends Context.Service()("@opencode/SessionModelRequest") {
159
159
  }
160
- var layer13 = Layer.effect(Service28, Effect.gen(function* () {
161
- const hooks = yield* Service75;
162
- const transport = yield* Service29;
160
+ var layer16 = Layer.effect(Service35, Effect.gen(function* () {
161
+ const hooks = yield* Service70;
162
+ const transport = yield* Service36;
163
163
  const app = yield* Metadata2;
164
164
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
165
165
  const session = input.session;
@@ -167,7 +167,7 @@ var layer13 = Layer.effect(Service28, Effect.gen(function* () {
167
167
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
168
168
  const tools = input.tools ?? {
169
169
  definitions: [],
170
- execute: () => new Error4({ message: "Tools are not available for this request" })
170
+ execute: () => new Error3({ message: "Tools are not available for this request" })
171
171
  };
172
172
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
173
173
  const shaped = yield* shape({
@@ -264,17 +264,17 @@ var layer13 = Layer.effect(Service28, Effect.gen(function* () {
264
264
  };
265
265
  });
266
266
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
267
- return Service28.of({
267
+ return Service35.of({
268
268
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
269
269
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
270
270
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
271
271
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
272
272
  });
273
273
  }));
274
- var node32 = makeLocationNode({
275
- service: Service28,
276
- layer: layer13,
277
- deps: [node78, node33, node80]
274
+ var node39 = makeLocationNode({
275
+ service: Service35,
276
+ layer: layer16,
277
+ deps: [node73, node40, node63]
278
278
  });
279
279
 
280
- export { baseTranscript2, unsupportedParts2, boundImages2, Service28, layer13, node32, exports_model_request };
280
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service35, layer16, node39, exports_model_request };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./model-resolver-qfa1cgps.js";
3
+ } from "./generate-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -2,10 +2,10 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./model-resolver-hgz4x7wa.js";
5
+ } from "./generate-hgz4x7wa.js";
6
6
  import {
7
7
  __export
8
- } from "./model-resolver-9rqn6x4v.js";
8
+ } from "./generate-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service42
3
- } from "./model-resolver-sxzvkvgj.js";
2
+ Service52
3
+ } from "./generate-xcd0eash.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./model-resolver-9zdhvgqs.js";
6
+ } from "./generate-7fj5dwt0.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./model-resolver-pjsqfx9m.js";
9
+ } from "./generate-h6degvvb.js";
10
10
  import {
11
- Service70
12
- } from "./model-resolver-4djhckew.js";
11
+ Service43
12
+ } from "./generate-gqv3phke.js";
13
13
  import {
14
14
  __export
15
- } from "./model-resolver-9rqn6x4v.js";
15
+ } from "./generate-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service42;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service70), instances.provide(input.session));
25
+ const instances = yield* Service52;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service43), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service84,
4
4
  node88
5
- } from "./model-resolver-21jrmc9g.js";
5
+ } from "./generate-xqhar19x.js";
6
6
  import {
7
- Service62,
8
- node65
9
- } from "./model-resolver-w8t2jk6x.js";
7
+ Service71,
8
+ node74
9
+ } from "./generate-k2xyfnfp.js";
10
10
  import {
11
11
  __export
12
- } from "./model-resolver-9rqn6x4v.js";
12
+ } from "./generate-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event9,
19
+ Event: () => Event15,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service49,
22
+ Service: () => Service69,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node51,
26
- resolve: () => resolve3
25
+ node: () => node72,
26
+ resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service49 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service69 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event9 = {
51
+ var Event15 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var requestTimeout = "15 seconds";
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
57
57
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
58
58
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
59
59
  });
60
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
60
+ var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
61
61
  const manifest = yield* inspect2(input.origin);
62
62
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
63
63
  });
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
79
79
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
80
80
  var configKey = (origin) => `wellknown:config:${origin}`;
81
81
  var Configs = Schema.Array(Config2);
82
- var layer = Layer.effect(Service49, Effect.gen(function* () {
82
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
83
83
  const http = yield* HttpClient.HttpClient;
84
- const kv = yield* Service62;
84
+ const kv = yield* Service71;
85
85
  const bus = yield* Service84;
86
86
  const cache = yield* Ref.make(new Map);
87
87
  const lock = Semaphore.makeUnsafe(1);
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
113
113
  if (!changed)
114
114
  return false;
115
115
  yield* Ref.set(cache, next);
116
- yield* bus.publish(Event9.Updated, {}, { global: true });
116
+ yield* bus.publish(Event15.Updated, {}, { global: true });
117
117
  return true;
118
118
  }, (effect) => lock.withPermit(effect));
119
- return Service49.of({
119
+ return Service69.of({
120
120
  entries: load,
121
121
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
122
122
  refresh,
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
129
129
  const origins = Schema.is(Sources)(sources) ? sources : [];
130
130
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
131
131
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
132
- yield* bus.publish(Event9.Updated, {}, { global: true });
132
+ yield* bus.publish(Event15.Updated, {}, { global: true });
133
133
  return entry;
134
134
  }, (effect, _value) => lock.withPermit(effect)),
135
135
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
144
144
  next.delete(origin);
145
145
  return next;
146
146
  });
147
- yield* bus.publish(Event9.Updated, {}, { global: true });
147
+ yield* bus.publish(Event15.Updated, {}, { global: true });
148
148
  }, (effect, _value) => lock.withPermit(effect)),
149
149
  resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
150
150
  const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
157
157
  })
158
158
  });
159
159
  }));
160
- var node51 = makeGlobalNode({ service: Service49, layer, deps: [httpClient, node65, node88] });
160
+ var node72 = makeGlobalNode({ service: Service69, layer, deps: [httpClient, node74, node88] });
161
161
 
162
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service49, Event9, inspect2, resolve3, node51, exports_wellknown };
162
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service69, Event15, inspect2, resolve4, node72, exports_wellknown };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service48
3
- } from "./model-resolver-5y2nakwc.js";
2
+ Service66
3
+ } from "./generate-d9ts7e30.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./model-resolver-z5v4ffb3.js";
6
+ } from "./generate-z5v4ffb3.js";
7
7
  import {
8
8
  Service81
9
- } from "./model-resolver-tm6yce80.js";
9
+ } from "./generate-2ecc8kjr.js";
10
10
  import {
11
- Service47
12
- } from "./model-resolver-bhhmns0g.js";
11
+ Service65
12
+ } from "./generate-v2w00eb9.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source4
17
- } from "./model-resolver-4djhckew.js";
16
+ Source3
17
+ } from "./generate-gqv3phke.js";
18
18
  import {
19
19
  Service8
20
- } from "./model-resolver-r70na3yp.js";
20
+ } from "./generate-r70na3yp.js";
21
21
  import {
22
22
  parse2
23
- } from "./model-resolver-xpkszdg2.js";
23
+ } from "./generate-q3xjw1w0.js";
24
24
  import {
25
25
  __export
26
- } from "./model-resolver-9rqn6x4v.js";
26
+ } from "./generate-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
29
  var exports_skill = {};
30
30
  __export(exports_skill, {
31
31
  ConfigSkillPlugin: () => exports_skill,
32
- Plugin: () => Plugin16
32
+ Plugin: () => Plugin6
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin16 = define({
39
+ var Plugin6 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service47;
42
+ const config = yield* Service65;
43
43
  const discovery = yield* Service8;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
46
  const location = yield* Service81;
47
- const watcher = yield* Service48;
47
+ const watcher = yield* Service66;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -87,7 +87,7 @@ var Plugin16 = define({
87
87
  const sources = () => {
88
88
  const result = [];
89
89
  const add = (source) => {
90
- if (result.some((item) => Source4.equals(item, source)))
90
+ if (result.some((item) => Source3.equals(item, source)))
91
91
  return;
92
92
  result.push(source);
93
93
  };
@@ -112,7 +112,7 @@ var Plugin16 = define({
112
112
  };
113
113
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
114
114
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
115
- source: Source4.key(source),
115
+ source: Source3.key(source),
116
116
  cause
117
117
  }).pipe(Effect.as([]))));
118
118
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
@@ -141,7 +141,7 @@ var Plugin16 = define({
141
141
  }
142
142
  }
143
143
  yield* Effect.logDebug("skill source loaded", {
144
- source: Source4.key(source),
144
+ source: Source3.key(source),
145
145
  type: source.type,
146
146
  directories,
147
147
  skills: skills.map((skill) => skill.id)
@@ -160,7 +160,7 @@ var Plugin16 = define({
160
160
  if (file) {
161
161
  yield* Effect.logInfo("skills rescanned", {
162
162
  file,
163
- sources: current.map(Source4.key),
163
+ sources: current.map(Source3.key),
164
164
  skills: loaded.skills.map((skill) => skill.id)
165
165
  });
166
166
  }
@@ -176,4 +176,4 @@ var Plugin16 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin16, exports_skill };
179
+ export { Plugin6, exports_skill };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID14,
3
- Service78
4
- } from "./model-resolver-7968cave.js";
2
+ ID13,
3
+ Service74
4
+ } from "./generate-0sawxzss.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service78;
12
+ const integrations = yield* Service74;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID14.make(item.provider.id)))
22
+ if (!configured.has(ID13.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-xqsvy1tg.js";
3
+ } from "./generate-jrckhh2g.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./generate-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin27,
11
+ Plugin: () => Plugin38,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint6
13
+ endpoint: () => endpoint5
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
18
- var endpoint6 = "https://api.tavily.com/search";
18
+ var endpoint5 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin27 = define({
32
+ var Plugin38 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin27 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin27 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint6, Plugin27, exports_tavily };
80
+ export { endpoint5, Plugin38, exports_tavily };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};