@opencode/core 0.0.0-dev-20287 → 0.0.0-dev-20289

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 (798) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{model-resolver-aaz4evtx.js → project-053jwjs2.js} +18 -18
  8. package/dist/chunks/{model-resolver-6q5nb5ny.js → project-06y3hwfp.js} +24 -24
  9. package/dist/chunks/{model-resolver-02nrjc1r.js → project-0gdmqesm.js} +8 -8
  10. package/dist/chunks/{model-resolver-0paq2nw3.js → project-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{model-resolver-qd6sxt3f.js → project-11pagn9f.js} +11 -11
  12. package/dist/chunks/{model-resolver-5aexa4he.js → project-12t2360m.js} +37 -37
  13. package/dist/chunks/{model-resolver-1dazxqgg.js → project-1dazxqgg.js} +2 -2
  14. package/dist/chunks/{model-resolver-s6vew4x4.js → project-1mkytn8n.js} +25 -25
  15. package/dist/chunks/{model-resolver-kb6jkvf1.js → project-1njvbn15.js} +41 -41
  16. package/dist/chunks/{model-resolver-fbmcmy2w.js → project-2149nv1z.js} +4 -4
  17. package/dist/chunks/{model-resolver-21r38tys.js → project-21r38tys.js} +1 -1
  18. package/dist/chunks/{model-resolver-02mam7mg.js → project-282se8s8.js} +15 -15
  19. package/dist/chunks/{model-resolver-5dhepvmf.js → project-28jfcc4w.js} +35 -35
  20. package/dist/chunks/{model-resolver-9eq5kwq7.js → project-2a4f6v5q.js} +8 -8
  21. package/dist/chunks/{model-resolver-2a5m3afh.js → project-2a5m3afh.js} +1 -1
  22. package/dist/chunks/{model-resolver-djszqvmq.js → project-2mq1h16s.js} +9 -9
  23. package/dist/chunks/{model-resolver-y1k0c4q8.js → project-2wsxz18f.js} +23 -23
  24. package/dist/chunks/{model-resolver-dgdn6h98.js → project-2yf83c6y.js} +15 -15
  25. package/dist/chunks/{model-resolver-fgwp6wvs.js → project-36t51zhw.js} +31 -31
  26. package/dist/chunks/{model-resolver-k41vwr9d.js → project-395kcsa0.js} +9 -9
  27. package/dist/chunks/{model-resolver-zgnhzt77.js → project-3bxd3j1q.js} +8 -8
  28. package/dist/chunks/{model-resolver-3fc6dm20.js → project-3fc6dm20.js} +1 -1
  29. package/dist/chunks/{model-resolver-3hepkmqq.js → project-3hepkmqq.js} +1 -1
  30. package/dist/chunks/{model-resolver-3smtnn6g.js → project-3smtnn6g.js} +1 -1
  31. package/dist/chunks/{model-resolver-3tvqynh2.js → project-3tvqynh2.js} +1 -1
  32. package/dist/chunks/{model-resolver-tbebh6wt.js → project-3tzgvxzm.js} +33 -33
  33. package/dist/chunks/{model-resolver-1bmx2daa.js → project-3x2vzye0.js} +10 -10
  34. package/dist/chunks/{model-resolver-67pxqpv3.js → project-3z8zkz19.js} +8 -8
  35. package/dist/chunks/{model-resolver-3zsf4n22.js → project-3zsf4n22.js} +1 -1
  36. package/dist/chunks/{model-resolver-8f7td570.js → project-49nm2bgr.js} +5 -5
  37. package/dist/chunks/{model-resolver-hzr2qqx8.js → project-4d1sz7eg.js} +23 -23
  38. package/dist/chunks/project-4dv29wnx.js +507 -0
  39. package/dist/chunks/{model-resolver-zyj926zy.js → project-4h4fe64w.js} +188 -188
  40. package/dist/chunks/{model-resolver-0fb5qscw.js → project-4jatx6ft.js} +5 -5
  41. package/dist/chunks/{model-resolver-wg9731he.js → project-4n60pb9e.js} +3 -3
  42. package/dist/chunks/{model-resolver-7y2ssk5t.js → project-4rc67e32.js} +35 -35
  43. package/dist/chunks/{model-resolver-xkmg7qp8.js → project-4t67bpxd.js} +5 -5
  44. package/dist/chunks/{model-resolver-g4zc67y8.js → project-4z47mc45.js} +12 -12
  45. package/dist/chunks/{model-resolver-xdxwx81a.js → project-4zxebnwz.js} +22 -22
  46. package/dist/chunks/{model-resolver-y6mjvh6p.js → project-52d0evsq.js} +6 -6
  47. package/dist/chunks/{model-resolver-54ma36ye.js → project-54ma36ye.js} +1 -1
  48. package/dist/chunks/{model-resolver-mfqp6xfm.js → project-56gdpj1q.js} +6 -6
  49. package/dist/chunks/{model-resolver-4sn99hha.js → project-57ez7d0k.js} +7 -7
  50. package/dist/chunks/{model-resolver-nc7t749v.js → project-5aevq8xe.js} +72 -72
  51. package/dist/chunks/{model-resolver-8w7za83g.js → project-5cks982w.js} +9 -9
  52. package/dist/chunks/{model-resolver-5daktx2q.js → project-5daktx2q.js} +1 -1
  53. package/dist/chunks/{model-resolver-f9d9xn2t.js → project-5ddde2n9.js} +26 -26
  54. package/dist/chunks/{model-resolver-pc4b88sv.js → project-5kvqrqtt.js} +4 -4
  55. package/dist/chunks/{model-resolver-5t3nmthw.js → project-5t3nmthw.js} +2 -2
  56. package/dist/chunks/{model-resolver-xn8j33mp.js → project-5t8yajra.js} +8 -8
  57. package/dist/chunks/{model-resolver-qsb13eat.js → project-5wm15th1.js} +24 -24
  58. package/dist/chunks/{model-resolver-7dqw4kz8.js → project-607tc6va.js} +5 -5
  59. package/dist/chunks/{model-resolver-wb1r8yr9.js → project-622ek8sf.js} +6 -6
  60. package/dist/chunks/{model-resolver-6nxs6bmb.js → project-64mbz47k.js} +6 -6
  61. package/dist/chunks/{model-resolver-669tq793.js → project-669tq793.js} +1 -1
  62. package/dist/chunks/{model-resolver-2507s413.js → project-690tj456.js} +9 -9
  63. package/dist/chunks/{model-resolver-va9r1m6h.js → project-6aqenpe6.js} +41 -41
  64. package/dist/chunks/{model-resolver-phpw85vv.js → project-6d6xcght.js} +6 -6
  65. package/dist/chunks/{model-resolver-6msgmcgs.js → project-6msgmcgs.js} +1 -1
  66. package/dist/chunks/{model-resolver-s6v4rjr2.js → project-6n85nym7.js} +29 -29
  67. package/dist/chunks/{model-resolver-mk4qzd84.js → project-6prsfskb.js} +38 -38
  68. package/dist/chunks/{model-resolver-enf33bpj.js → project-6yq02ve2.js} +11 -11
  69. package/dist/chunks/{model-resolver-0qxf76vs.js → project-731p8km1.js} +20 -20
  70. package/dist/chunks/{model-resolver-r1vxhqvv.js → project-7a79fyt5.js} +3 -3
  71. package/dist/chunks/{model-resolver-7bmhse3q.js → project-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{model-resolver-ys8bcvtf.js → project-7fswxymx.js} +28 -28
  73. package/dist/chunks/{model-resolver-d1wa36m8.js → project-7jfn2nfr.js} +5 -5
  74. package/dist/chunks/{model-resolver-tf4wmns1.js → project-7me2h9s5.js} +8 -8
  75. package/dist/chunks/{model-resolver-mean0qec.js → project-7wha6mnd.js} +11 -11
  76. package/dist/chunks/{model-resolver-d96fczqh.js → project-7xph3mbh.js} +17 -17
  77. package/dist/chunks/project-7y0h37ky.js +252 -0
  78. package/dist/chunks/{model-resolver-9qk46xax.js → project-7zdfjpaf.js} +8 -8
  79. package/dist/chunks/{model-resolver-akrnn5pm.js → project-818pfwc9.js} +8 -8
  80. package/dist/chunks/{model-resolver-nc64kt7a.js → project-83tfvzb6.js} +18 -18
  81. package/dist/chunks/{model-resolver-qpyj4d94.js → project-89pqg31m.js} +11 -11
  82. package/dist/chunks/{model-resolver-tcezcvh9.js → project-89znhe33.js} +4 -4
  83. package/dist/chunks/{model-resolver-312373c7.js → project-8apd0fk3.js} +2 -2
  84. package/dist/chunks/{model-resolver-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{model-resolver-e0f9fjmh.js → project-8hgqfxgb.js} +18 -18
  86. package/dist/chunks/{model-resolver-52fpbh6z.js → project-8n69n882.js} +8 -8
  87. package/dist/chunks/{model-resolver-tjb0cp7v.js → project-8rz9f2b3.js} +33 -33
  88. package/dist/chunks/{model-resolver-nrsh6tk0.js → project-8tbe00j0.js} +50 -50
  89. package/dist/chunks/{model-resolver-94ek1h2f.js → project-94ek1h2f.js} +2 -2
  90. package/dist/chunks/{model-resolver-a0gyjzw3.js → project-97q8ans0.js} +30 -30
  91. package/dist/chunks/{model-resolver-mgvjhcwg.js → project-9bf000qt.js} +11 -11
  92. package/dist/chunks/{model-resolver-1fx9aqpr.js → project-9tef4xa6.js} +25 -25
  93. package/dist/chunks/project-9zdhvgqs.js +18 -0
  94. package/dist/chunks/{model-resolver-hkfg6fzm.js → project-a1a50ys5.js} +5 -5
  95. package/dist/chunks/{model-resolver-82rhge12.js → project-a3ftg8j6.js} +9 -9
  96. package/dist/chunks/{model-resolver-dt8c207w.js → project-a4790m31.js} +25 -25
  97. package/dist/chunks/{model-resolver-gcavn3wx.js → project-a694798e.js} +5 -5
  98. package/dist/chunks/{model-resolver-aaet6srn.js → project-aaet6srn.js} +2 -2
  99. package/dist/chunks/{model-resolver-e08g86r3.js → project-ab0bg4br.js} +11 -11
  100. package/dist/chunks/{model-resolver-ktk6m7yv.js → project-afed7ext.js} +12 -12
  101. package/dist/chunks/project-agjs0zsw.js +26 -0
  102. package/dist/chunks/{model-resolver-kjaarbta.js → project-aj8j3wxk.js} +23 -23
  103. package/dist/chunks/{model-resolver-yefqq88c.js → project-ar3z6bxk.js} +11 -11
  104. package/dist/chunks/{model-resolver-12s112hc.js → project-as4r4vj3.js} +22 -22
  105. package/dist/chunks/{model-resolver-qvreyy9g.js → project-axs6pdy0.js} +5 -5
  106. package/dist/chunks/{model-resolver-tvmwean2.js → project-aym04382.js} +4 -4
  107. package/dist/chunks/{model-resolver-3nk0dpt4.js → project-b3dr5ww8.js} +11 -11
  108. package/dist/chunks/{model-resolver-mgeh0yn6.js → project-b3e7wqv3.js} +5 -5
  109. package/dist/chunks/{model-resolver-f83da79h.js → project-b3tbq4w8.js} +5 -5
  110. package/dist/chunks/{model-resolver-wgcg4671.js → project-b4m32151.js} +7 -7
  111. package/dist/chunks/{model-resolver-b6gygkdw.js → project-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{model-resolver-q5cxqncr.js → project-b77cpj6m.js} +3 -3
  113. package/dist/chunks/{model-resolver-mdmxc2h2.js → project-ba6x0ep7.js} +23 -23
  114. package/dist/chunks/{model-resolver-afrtgck4.js → project-bacyadyn.js} +4 -4
  115. package/dist/chunks/{model-resolver-t7zmjtqp.js → project-bf4f4tc6.js} +10 -10
  116. package/dist/chunks/{model-resolver-j63mkyf2.js → project-bv2xgvbd.js} +48 -48
  117. package/dist/chunks/{model-resolver-evbgk2k8.js → project-c78bbtc9.js} +5 -5
  118. package/dist/chunks/{model-resolver-b9yq29xv.js → project-cd5e0ncw.js} +1 -1
  119. package/dist/chunks/{model-resolver-z28qgkdb.js → project-ce0gdwa2.js} +16 -16
  120. package/dist/chunks/{model-resolver-ckecvw8r.js → project-ckecvw8r.js} +2 -2
  121. package/dist/chunks/{model-resolver-m3c96kre.js → project-ckz58j26.js} +18 -18
  122. package/dist/chunks/{model-resolver-kjwygmc9.js → project-cmhg39yj.js} +54 -54
  123. package/dist/chunks/{model-resolver-5e1pzs32.js → project-csmvz898.js} +9 -9
  124. package/dist/chunks/{model-resolver-6j0d4bfq.js → project-cwsayzrf.js} +13 -13
  125. package/dist/chunks/{model-resolver-1z8t22df.js → project-czdj9312.js} +13 -13
  126. package/dist/chunks/{model-resolver-0jkw1j53.js → project-d1mtykxg.js} +6 -6
  127. package/dist/chunks/{model-resolver-40py8n81.js → project-d7fjbfjm.js} +4 -4
  128. package/dist/chunks/{model-resolver-12gw954a.js → project-ddjweyn8.js} +7 -7
  129. package/dist/chunks/{model-resolver-baaqp4zd.js → project-ddt2bs9e.js} +4 -4
  130. package/dist/chunks/{model-resolver-yetcaet6.js → project-dkdgcpb9.js} +10 -10
  131. package/dist/chunks/{model-resolver-57b9ws8p.js → project-drwq78ky.js} +5 -5
  132. package/dist/chunks/{model-resolver-rrx1e06a.js → project-dtm8hsv1.js} +17 -17
  133. package/dist/chunks/{model-resolver-e6hd9jay.js → project-e6hd9jay.js} +1 -1
  134. package/dist/chunks/{model-resolver-ecfe7b91.js → project-ecfe7b91.js} +2 -2
  135. package/dist/chunks/{model-resolver-tafnspmy.js → project-eckmdhj3.js} +17 -17
  136. package/dist/chunks/{model-resolver-zexagpgf.js → project-ecsp9bpp.js} +37 -37
  137. package/dist/chunks/{model-resolver-ef5x83kb.js → project-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{model-resolver-cq364ng9.js → project-eptgt4qp.js} +22 -22
  139. package/dist/chunks/{model-resolver-m2hdddfe.js → project-erf911ze.js} +25 -25
  140. package/dist/chunks/{model-resolver-etq0c3wd.js → project-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{model-resolver-5vy8s2tt.js → project-evttz6pw.js} +24 -24
  142. package/dist/chunks/{model-resolver-wwqbqry9.js → project-exkqnn2s.js} +14 -14
  143. package/dist/chunks/{model-resolver-dyqx6pj7.js → project-ezes30fq.js} +11 -11
  144. package/dist/chunks/{model-resolver-x929eknx.js → project-ezkvecwj.js} +9 -9
  145. package/dist/chunks/{model-resolver-rz6dkkgy.js → project-ezzzks3g.js} +15 -15
  146. package/dist/chunks/{model-resolver-1acjjqhc.js → project-f2n192rq.js} +4 -4
  147. package/dist/chunks/{model-resolver-ncjresk4.js → project-f7rj482f.js} +8 -8
  148. package/dist/chunks/{model-resolver-qtg64bph.js → project-fcbbx3j9.js} +17 -17
  149. package/dist/chunks/{model-resolver-beyx1pkk.js → project-ff0zxw5w.js} +22 -22
  150. package/dist/chunks/{model-resolver-x3ymtx59.js → project-fraxrbyh.js} +16 -16
  151. package/dist/chunks/{model-resolver-hts4vzf1.js → project-fw203re9.js} +19 -19
  152. package/dist/chunks/{model-resolver-cdynj408.js → project-fy53vy2g.js} +20 -20
  153. package/dist/chunks/{model-resolver-qj8eh1ht.js → project-g190xswt.js} +4 -4
  154. package/dist/chunks/{model-resolver-gd4qta3r.js → project-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{model-resolver-3xs92vpq.js → project-gqfpkqz0.js} +11 -11
  156. package/dist/chunks/{model-resolver-n0tq777j.js → project-gs3s1a1g.js} +8 -8
  157. package/dist/chunks/{model-resolver-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{model-resolver-ndmv45hp.js → project-gynv5cx7.js} +3 -3
  159. package/dist/chunks/{model-resolver-3kk1mn5p.js → project-gz46k2a1.js} +22 -22
  160. package/dist/chunks/{model-resolver-8zh4h089.js → project-h6b02349.js} +5 -5
  161. package/dist/chunks/{model-resolver-h6vf3j39.js → project-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{model-resolver-qkn0bf4a.js → project-h91h2q9q.js} +8 -8
  163. package/dist/chunks/{model-resolver-c63b3eb6.js → project-ha1653ey.js} +30 -30
  164. package/dist/chunks/{model-resolver-yc2dt6gh.js → project-hzv9afqd.js} +49 -49
  165. package/dist/chunks/{model-resolver-j56e64zr.js → project-j56e64zr.js} +1 -1
  166. package/dist/chunks/{model-resolver-g7nh3h7e.js → project-j88kjays.js} +19 -19
  167. package/dist/chunks/{model-resolver-6w0z1cey.js → project-jadga48t.js} +28 -28
  168. package/dist/chunks/{model-resolver-et80q73h.js → project-jdts96jg.js} +20 -20
  169. package/dist/chunks/{model-resolver-k3c624dm.js → project-k3c624dm.js} +3 -3
  170. package/dist/chunks/{model-resolver-yzscc1x4.js → project-k7thdygn.js} +3 -3
  171. package/dist/chunks/{model-resolver-zzypbymf.js → project-ka32nkxa.js} +17 -17
  172. package/dist/chunks/{model-resolver-hkagk5ex.js → project-kbwf032e.js} +2 -2
  173. package/dist/chunks/{model-resolver-e5tcccaa.js → project-kpt1qdq7.js} +8 -8
  174. package/dist/chunks/{model-resolver-9a3afvhq.js → project-kxf98cfh.js} +10 -10
  175. package/dist/chunks/{model-resolver-m3fdjcah.js → project-m3fdjcah.js} +1 -1
  176. package/dist/chunks/{model-resolver-wj7vq2ea.js → project-m6a39cfz.js} +19 -19
  177. package/dist/chunks/{model-resolver-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{model-resolver-ap4mmp3q.js → project-meyf4ekz.js} +4 -4
  179. package/dist/chunks/{model-resolver-3ckfa135.js → project-mv9h8c6d.js} +35 -35
  180. package/dist/chunks/{model-resolver-hkfaxnqd.js → project-mw8gr7fr.js} +20 -20
  181. package/dist/chunks/{model-resolver-aye9t8w1.js → project-mw9zgz6k.js} +11 -11
  182. package/dist/chunks/{model-resolver-k5qvkmwp.js → project-my56d36v.js} +3 -3
  183. package/dist/chunks/{model-resolver-86b7s5s7.js → project-mymfc32k.js} +28 -28
  184. package/dist/chunks/{model-resolver-2wtv204s.js → project-nb6xv2ms.js} +15 -15
  185. package/dist/chunks/{model-resolver-gg3hnhsj.js → project-ncnm8wen.js} +1 -1
  186. package/dist/chunks/{model-resolver-pjf50ww2.js → project-njdvb0jf.js} +13 -13
  187. package/dist/chunks/{model-resolver-6660xsne.js → project-njwxmpwa.js} +28 -28
  188. package/dist/chunks/{model-resolver-0w4g3y4c.js → project-nmhvxzxh.js} +17 -17
  189. package/dist/chunks/{model-resolver-68z8ec46.js → project-nnaqtnp0.js} +45 -45
  190. package/dist/chunks/{model-resolver-s61t9ejp.js → project-p4vtg1gg.js} +40 -40
  191. package/dist/chunks/{model-resolver-xa1e8bc0.js → project-pe58eyng.js} +6 -6
  192. package/dist/chunks/{model-resolver-5xtgfte3.js → project-phstrbs2.js} +8 -8
  193. package/dist/chunks/{model-resolver-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{model-resolver-36cdy2c1.js → project-pk4a84s8.js} +13 -13
  195. package/dist/chunks/{model-resolver-pknna89w.js → project-pknna89w.js} +1 -1
  196. package/dist/chunks/{model-resolver-jjs74g98.js → project-pnv527nz.js} +9 -9
  197. package/dist/chunks/{model-resolver-27de2wkz.js → project-ps3kyhtj.js} +26 -26
  198. package/dist/chunks/{model-resolver-h0ttmn00.js → project-py18572k.js} +25 -25
  199. package/dist/chunks/{model-resolver-vqmd05dp.js → project-pyvffvbh.js} +22 -22
  200. package/dist/chunks/{model-resolver-pq4mxcs4.js → project-q04r6a4p.js} +32 -32
  201. package/dist/chunks/{model-resolver-xa1a1wzx.js → project-q5ny0xm2.js} +8 -8
  202. package/dist/chunks/{model-resolver-esmfnkq0.js → project-qafwspfk.js} +37 -37
  203. package/dist/chunks/{model-resolver-yedg7326.js → project-qk6h43bm.js} +31 -31
  204. package/dist/chunks/{model-resolver-510m7gjw.js → project-qn4ba14w.js} +5 -5
  205. package/dist/chunks/{model-resolver-6z9y85k1.js → project-qrj3wnkg.js} +12 -12
  206. package/dist/chunks/{model-resolver-qsdy395h.js → project-qsdy395h.js} +1 -1
  207. package/dist/chunks/{model-resolver-ndqtf2h8.js → project-qsxf26yz.js} +6 -6
  208. package/dist/chunks/{model-resolver-t88yr9ve.js → project-qx4t3fpp.js} +20 -20
  209. package/dist/chunks/{model-resolver-wcqjfzwh.js → project-qyeqsdzg.js} +11 -11
  210. package/dist/chunks/{model-resolver-w2w41gxq.js → project-r1bvamk5.js} +19 -19
  211. package/dist/chunks/{model-resolver-4txbmjfp.js → project-r41x2cw7.js} +12 -12
  212. package/dist/chunks/{model-resolver-2t8dba19.js → project-r4czcqfh.js} +8 -8
  213. package/dist/chunks/{model-resolver-r5x6zcsm.js → project-r5x6zcsm.js} +1 -1
  214. package/dist/chunks/{model-resolver-rdw6cm16.js → project-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{model-resolver-782920ah.js → project-redx8gv2.js} +31 -31
  216. package/dist/chunks/{model-resolver-1p07q0wb.js → project-rkprpv83.js} +4 -4
  217. package/dist/chunks/{model-resolver-14gkyck6.js → project-rm2jqjsd.js} +36 -36
  218. package/dist/chunks/{model-resolver-7y4dpfk6.js → project-rn8q0cx6.js} +18 -18
  219. package/dist/chunks/{model-resolver-p0d9yfeb.js → project-rqkmnqjz.js} +97 -97
  220. package/dist/chunks/{model-resolver-2y1mzw7q.js → project-s04kah20.js} +23 -23
  221. package/dist/chunks/{model-resolver-tyr8t8jb.js → project-s55akzd0.js} +41 -41
  222. package/dist/chunks/{model-resolver-0ybcar0z.js → project-s7g4z28s.js} +32 -32
  223. package/dist/chunks/{model-resolver-309z119j.js → project-sfq9drnd.js} +30 -30
  224. package/dist/chunks/{model-resolver-gjr5vbhk.js → project-shs60xat.js} +10 -10
  225. package/dist/chunks/{model-resolver-2ej4jj92.js → project-sjbpejxc.js} +12 -12
  226. package/dist/chunks/{model-resolver-qxcr5sj8.js → project-stw4c2x8.js} +22 -22
  227. package/dist/chunks/{model-resolver-0v53mg2y.js → project-sx1n432n.js} +4 -4
  228. package/dist/chunks/{model-resolver-qa3qhgw8.js → project-sxz6gkc3.js} +7 -7
  229. package/dist/chunks/{model-resolver-nv6em8ry.js → project-sy9r8w3b.js} +43 -43
  230. package/dist/chunks/{model-resolver-5g9mk9a9.js → project-t1abnjvg.js} +21 -21
  231. package/dist/chunks/{model-resolver-tn2czw04.js → project-t8x4yvbd.js} +18 -18
  232. package/dist/chunks/{model-resolver-e72j5d8n.js → project-t8y50d2h.js} +1 -1
  233. package/dist/chunks/{model-resolver-tazgh4e4.js → project-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{model-resolver-wgtcm0m7.js → project-tazp3vs0.js} +4 -4
  235. package/dist/chunks/{model-resolver-rbcy0mcv.js → project-tbeap78k.js} +13 -13
  236. package/dist/chunks/{model-resolver-tdstcens.js → project-tdstcens.js} +1 -1
  237. package/dist/chunks/{model-resolver-tvtrv512.js → project-tvtrv512.js} +1 -1
  238. package/dist/chunks/{model-resolver-09zzmmve.js → project-twncgfvc.js} +11 -11
  239. package/dist/chunks/{model-resolver-4g4nqdg4.js → project-tx8aftqs.js} +32 -32
  240. package/dist/chunks/{model-resolver-18nq8aak.js → project-v8dfz6e8.js} +12 -12
  241. package/dist/chunks/{model-resolver-wsr3wm9b.js → project-va0y9eaw.js} +18 -18
  242. package/dist/chunks/{model-resolver-pfk6y5a9.js → project-vcrqcsww.js} +3 -3
  243. package/dist/chunks/{model-resolver-e9e65bk8.js → project-vdgcxr2s.js} +29 -29
  244. package/dist/chunks/{model-resolver-veqvce7d.js → project-veqvce7d.js} +1 -1
  245. package/dist/chunks/{model-resolver-1mzz2bvg.js → project-vkfb4jx0.js} +4 -4
  246. package/dist/chunks/{model-resolver-8tb71k3x.js → project-vrjh2f6v.js} +9 -9
  247. package/dist/chunks/{model-resolver-m4mq5212.js → project-vttfgm5c.js} +59 -59
  248. package/dist/chunks/{model-resolver-vzcthcp8.js → project-vzcthcp8.js} +1 -1
  249. package/dist/chunks/{model-resolver-vzs5sf6e.js → project-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{model-resolver-w1eejvng.js → project-w1eejvng.js} +1 -1
  251. package/dist/chunks/{model-resolver-tv1yapnf.js → project-w2ac37ab.js} +19 -19
  252. package/dist/chunks/{model-resolver-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{model-resolver-gn1qq9yk.js → project-w45fphrw.js} +28 -28
  254. package/dist/chunks/{model-resolver-wd3x2cqz.js → project-wd3x2cqz.js} +2 -2
  255. package/dist/chunks/{model-resolver-wd87259q.js → project-wd87259q.js} +1 -1
  256. package/dist/chunks/{model-resolver-jjgtwx64.js → project-ws541e64.js} +20 -20
  257. package/dist/chunks/{model-resolver-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{model-resolver-ae8tse6q.js → project-x2d8hca6.js} +10 -10
  259. package/dist/chunks/{model-resolver-gktpjf8e.js → project-x2th391j.js} +10 -10
  260. package/dist/chunks/{model-resolver-jpqeh2wc.js → project-x3gqap9d.js} +4 -4
  261. package/dist/chunks/{model-resolver-wmmnpfs6.js → project-x4sg8qy2.js} +24 -24
  262. package/dist/chunks/{model-resolver-4crx14w5.js → project-x9y4zj8b.js} +28 -28
  263. package/dist/chunks/{model-resolver-92x5e2q8.js → project-xearycz2.js} +23 -23
  264. package/dist/chunks/{model-resolver-m210z9se.js → project-xfacq6rb.js} +43 -43
  265. package/dist/chunks/{model-resolver-d2va843e.js → project-xjcg4rpa.js} +12 -12
  266. package/dist/chunks/{model-resolver-xkntkrq7.js → project-xkntkrq7.js} +2 -2
  267. package/dist/chunks/{model-resolver-bt48ydtb.js → project-xnaw95gh.js} +15 -15
  268. package/dist/chunks/{model-resolver-02v6ekhe.js → project-xtsr5b6r.js} +6 -6
  269. package/dist/chunks/{model-resolver-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{model-resolver-es818167.js → project-y5941b4h.js} +25 -25
  271. package/dist/chunks/{model-resolver-x661k3y3.js → project-y6bex35g.js} +4 -4
  272. package/dist/chunks/{model-resolver-y71avatq.js → project-y71avatq.js} +1 -1
  273. package/dist/chunks/{model-resolver-0v5grnq4.js → project-yamj9jch.js} +43 -43
  274. package/dist/chunks/{model-resolver-e8v7tggz.js → project-yhabtz5d.js} +5 -5
  275. package/dist/chunks/{model-resolver-v4a37k2n.js → project-yj5dcj2b.js} +59 -59
  276. package/dist/chunks/{model-resolver-gvsybxtf.js → project-yne44ej7.js} +92 -92
  277. package/dist/chunks/{model-resolver-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{model-resolver-yrznvahk.js → project-yrznvahk.js} +2 -2
  279. package/dist/chunks/{model-resolver-sbgs7n57.js → project-ywxt88nj.js} +9 -9
  280. package/dist/chunks/{model-resolver-93934eye.js → project-yycjvcgh.js} +6 -6
  281. package/dist/chunks/{model-resolver-z07pqspn.js → project-z07pqspn.js} +3 -3
  282. package/dist/chunks/{model-resolver-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{model-resolver-dj2b5gt2.js → project-z0sn24qa.js} +44 -44
  284. package/dist/chunks/{model-resolver-z63w68vq.js → project-z63w68vq.js} +2 -2
  285. package/dist/chunks/{model-resolver-e80a14hq.js → project-z6k6vx84.js} +11 -11
  286. package/dist/chunks/{model-resolver-0cjtfqfg.js → project-zbt67hek.js} +32 -32
  287. package/dist/chunks/{model-resolver-zeh9ct20.js → project-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{model-resolver-fwwaqksj.js → project-zke1m8at.js} +22 -22
  289. package/dist/chunks/{model-resolver-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{model-resolver-a81kfqvn.js → project-zsr4wwhv.js} +4 -4
  291. package/dist/chunks/{model-resolver-zxq2ej10.js → project-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +9 -9
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +84 -84
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +213 -213
  302. package/dist/config/plugin/compaction.js +161 -161
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +125 -125
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +123 -123
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +142 -142
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +124 -124
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +122 -122
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +85 -85
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +79 -79
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +228 -228
  426. package/dist/filesystem/protected.js +3 -3
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +108 -108
  431. package/dist/form.js +84 -84
  432. package/dist/formatter/builtins.js +2 -2
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +103 -103
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +99 -99
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +362 -362
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +5 -5
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +87 -87
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +135 -135
  469. package/dist/location-lifecycle.js +103 -103
  470. package/dist/location-service-map.js +86 -86
  471. package/dist/location-services.js +359 -359
  472. package/dist/location.js +87 -87
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +91 -91
  475. package/dist/mcp/index.js +109 -109
  476. package/dist/mcp/instructions.js +129 -129
  477. package/dist/mcp/oauth.js +78 -78
  478. package/dist/mcp/stdio.js +90 -90
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +99 -99
  481. package/dist/model-resolver.js +98 -98
  482. package/dist/model.js +100 -100
  483. package/dist/models-dev.js +107 -107
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +82 -82
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +115 -115
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +86 -86
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +75 -75
  493. package/dist/plugin/agent.js +102 -102
  494. package/dist/plugin/command.js +100 -100
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +219 -219
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +334 -334
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +96 -96
  502. package/dist/plugin/module.js +7 -7
  503. package/dist/plugin/optimize.js +2 -2
  504. package/dist/plugin/plan.js +102 -102
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  507. package/dist/plugin/provider/azure.js +122 -122
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +119 -119
  513. package/dist/plugin/provider/digitalocean.js +93 -93
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +95 -95
  518. package/dist/plugin/provider/gitlab.js +93 -93
  519. package/dist/plugin/provider/google-vertex.js +90 -90
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +78 -78
  522. package/dist/plugin/provider/lmstudio.js +122 -122
  523. package/dist/plugin/provider/modal.js +92 -92
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +122 -122
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +95 -95
  528. package/dist/plugin/provider/openrouter.js +91 -91
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +79 -79
  531. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  532. package/dist/plugin/provider/sap-ai-core.js +91 -91
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +90 -90
  537. package/dist/plugin/provider/vllm.js +122 -122
  538. package/dist/plugin/provider/xai.js +91 -91
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +162 -162
  541. package/dist/plugin/sdk.js +74 -74
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +141 -141
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -351
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +86 -86
  549. package/dist/plugin/vcs/hg.js +86 -86
  550. package/dist/plugin/verbosity.js +93 -93
  551. package/dist/plugin/warming.js +121 -121
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +6 -6
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +230 -230
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +88 -88
  563. package/dist/provider.js +101 -101
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +97 -97
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +81 -81
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +86 -86
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +74 -74
  577. package/dist/session/compaction.js +133 -133
  578. package/dist/session/context.js +153 -153
  579. package/dist/session/diff.js +88 -88
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +225 -225
  584. package/dist/session/execution.js +126 -126
  585. package/dist/session/generate.js +154 -154
  586. package/dist/session/history.js +13 -13
  587. package/dist/session/inbox.js +86 -86
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +79 -79
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +97 -97
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +120 -120
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +130 -130
  597. package/dist/session/projector.js +86 -86
  598. package/dist/session/prompt.js +105 -105
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +90 -90
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +232 -232
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +98 -98
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +4 -4
  608. package/dist/session/runner/step.js +124 -124
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +172 -172
  612. package/dist/session/shell.js +138 -138
  613. package/dist/session/skill.js +103 -103
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +211 -211
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +155 -155
  621. package/dist/session/to-session-error.js +111 -111
  622. package/dist/session/transfer.js +224 -224
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +221 -221
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +11 -11
  629. package/dist/shell.js +140 -140
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +107 -107
  632. package/dist/skill.js +112 -112
  633. package/dist/snapshot.js +91 -91
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +126 -126
  638. package/dist/tool/plugin/edit.js +120 -120
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +124 -124
  641. package/dist/tool/plugin/grep.js +124 -124
  642. package/dist/tool/plugin/mcp-resource.js +117 -117
  643. package/dist/tool/plugin/opencode.js +3 -3
  644. package/dist/tool/plugin/patch.js +118 -118
  645. package/dist/tool/plugin/question.js +103 -103
  646. package/dist/tool/plugin/read.js +119 -119
  647. package/dist/tool/plugin/shell.js +216 -216
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +220 -220
  650. package/dist/tool/plugin/webfetch.js +112 -112
  651. package/dist/tool/plugin/websearch.js +110 -110
  652. package/dist/tool/plugin/write.js +114 -114
  653. package/dist/tool/read-filesystem.js +100 -100
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +8 -8
  656. package/dist/tool.js +16 -16
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/attachment.js +4 -4
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/config.js +16 -16
  670. package/dist/v1/config/error.js +2 -2
  671. package/dist/v1/config/formatter.js +5 -5
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +1 -1
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +92 -92
  676. package/dist/v1/config/permission.js +3 -3
  677. package/dist/v1/config/plugin.js +3 -3
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +3 -3
  682. package/dist/v1/permission.js +1 -1
  683. package/dist/variant.js +93 -93
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +89 -89
  686. package/dist/websearch.js +84 -84
  687. package/dist/wellknown/plugin.js +76 -76
  688. package/dist/wellknown.js +81 -81
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +80 -80
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +10 -10
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +89 -89
  696. package/dist/worktree.js +96 -96
  697. package/package.json +8 -8
  698. package/dist/chunks/model-resolver-289z41pq.js +0 -507
  699. package/dist/chunks/model-resolver-7fj5dwt0.js +0 -18
  700. package/dist/chunks/model-resolver-wzeytf8f.js +0 -252
  701. package/dist/chunks/model-resolver-xh9cn0qf.js +0 -26
  702. /package/dist/chunks/{model-resolver-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{model-resolver-0zkw76rk.js → project-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{model-resolver-17cy0kzp.js → project-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{model-resolver-1cnp2v09.js → project-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{model-resolver-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{model-resolver-24dcb14g.js → project-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{model-resolver-2710q6r3.js → project-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{model-resolver-2axfhc9x.js → project-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{model-resolver-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{model-resolver-34c7v6d4.js → project-34c7v6d4.js} +0 -0
  712. /package/dist/chunks/{model-resolver-359p4xyc.js → project-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{model-resolver-3asan66x.js → project-3asan66x.js} +0 -0
  714. /package/dist/chunks/{model-resolver-3v8g72cx.js → project-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{model-resolver-3w5fmr99.js → project-3w5fmr99.js} +0 -0
  716. /package/dist/chunks/{model-resolver-3wcehsnq.js → project-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{model-resolver-43n2bw4t.js → project-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{model-resolver-4knz6hnm.js → project-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{model-resolver-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{model-resolver-4y7fprxs.js → project-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{model-resolver-53557ph1.js → project-53557ph1.js} +0 -0
  722. /package/dist/chunks/{model-resolver-550bvhaj.js → project-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{model-resolver-5qd3pb7m.js → project-5qd3pb7m.js} +0 -0
  724. /package/dist/chunks/{model-resolver-6prwharc.js → project-6prwharc.js} +0 -0
  725. /package/dist/chunks/{model-resolver-7akdwqpd.js → project-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{model-resolver-7m9af43g.js → project-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{model-resolver-822emrt2.js → project-822emrt2.js} +0 -0
  728. /package/dist/chunks/{model-resolver-88xbtdfr.js → project-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{model-resolver-8n3pysct.js → project-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{model-resolver-8wj87zfr.js → project-8wj87zfr.js} +0 -0
  731. /package/dist/chunks/{model-resolver-922hggd3.js → project-922hggd3.js} +0 -0
  732. /package/dist/chunks/{model-resolver-9a4afbnw.js → project-9a4afbnw.js} +0 -0
  733. /package/dist/chunks/{model-resolver-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
  734. /package/dist/chunks/{model-resolver-a6k6eb26.js → project-a6k6eb26.js} +0 -0
  735. /package/dist/chunks/{model-resolver-af5trqkr.js → project-af5trqkr.js} +0 -0
  736. /package/dist/chunks/{model-resolver-afrmfg78.js → project-afrmfg78.js} +0 -0
  737. /package/dist/chunks/{model-resolver-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
  738. /package/dist/chunks/{model-resolver-atq7p7m5.js → project-atq7p7m5.js} +0 -0
  739. /package/dist/chunks/{model-resolver-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
  740. /package/dist/chunks/{model-resolver-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
  741. /package/dist/chunks/{model-resolver-cf4snx6d.js → project-cf4snx6d.js} +0 -0
  742. /package/dist/chunks/{model-resolver-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
  743. /package/dist/chunks/{model-resolver-d9fn303g.js → project-d9fn303g.js} +0 -0
  744. /package/dist/chunks/{model-resolver-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
  745. /package/dist/chunks/{model-resolver-dajrwvna.js → project-dajrwvna.js} +0 -0
  746. /package/dist/chunks/{model-resolver-dap0rakb.js → project-dap0rakb.js} +0 -0
  747. /package/dist/chunks/{model-resolver-df08tz66.js → project-df08tz66.js} +0 -0
  748. /package/dist/chunks/{model-resolver-dy18nga0.js → project-dy18nga0.js} +0 -0
  749. /package/dist/chunks/{model-resolver-e5kj55wp.js → project-e5kj55wp.js} +0 -0
  750. /package/dist/chunks/{model-resolver-e73j6tqm.js → project-e73j6tqm.js} +0 -0
  751. /package/dist/chunks/{model-resolver-ec1grn59.js → project-ec1grn59.js} +0 -0
  752. /package/dist/chunks/{model-resolver-eh3zwz77.js → project-eh3zwz77.js} +0 -0
  753. /package/dist/chunks/{model-resolver-emrn6kk6.js → project-emrn6kk6.js} +0 -0
  754. /package/dist/chunks/{model-resolver-f0mxakyp.js → project-f0mxakyp.js} +0 -0
  755. /package/dist/chunks/{model-resolver-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
  756. /package/dist/chunks/{model-resolver-faypxj3z.js → project-faypxj3z.js} +0 -0
  757. /package/dist/chunks/{model-resolver-fd410y7t.js → project-fd410y7t.js} +0 -0
  758. /package/dist/chunks/{model-resolver-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
  759. /package/dist/chunks/{model-resolver-g4wezp1m.js → project-g4wezp1m.js} +0 -0
  760. /package/dist/chunks/{model-resolver-g86h250q.js → project-g86h250q.js} +0 -0
  761. /package/dist/chunks/{model-resolver-gebd4c9n.js → project-gebd4c9n.js} +0 -0
  762. /package/dist/chunks/{model-resolver-gftt206x.js → project-gftt206x.js} +0 -0
  763. /package/dist/chunks/{model-resolver-hjbc5kem.js → project-hjbc5kem.js} +0 -0
  764. /package/dist/chunks/{model-resolver-hk9envan.js → project-hk9envan.js} +0 -0
  765. /package/dist/chunks/{model-resolver-j2ntwpah.js → project-j2ntwpah.js} +0 -0
  766. /package/dist/chunks/{model-resolver-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
  767. /package/dist/chunks/{model-resolver-jjkms2e6.js → project-jjkms2e6.js} +0 -0
  768. /package/dist/chunks/{model-resolver-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
  769. /package/dist/chunks/{model-resolver-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
  770. /package/dist/chunks/{model-resolver-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{model-resolver-mp448xyj.js → project-mp448xyj.js} +0 -0
  772. /package/dist/chunks/{model-resolver-msx8hqn2.js → project-msx8hqn2.js} +0 -0
  773. /package/dist/chunks/{model-resolver-n05xt0ee.js → project-n05xt0ee.js} +0 -0
  774. /package/dist/chunks/{model-resolver-n3j8tn72.js → project-n3j8tn72.js} +0 -0
  775. /package/dist/chunks/{model-resolver-njntx4h6.js → project-njntx4h6.js} +0 -0
  776. /package/dist/chunks/{model-resolver-q3sfg36h.js → project-q3sfg36h.js} +0 -0
  777. /package/dist/chunks/{model-resolver-q74kybfr.js → project-q74kybfr.js} +0 -0
  778. /package/dist/chunks/{model-resolver-qaymkmh1.js → project-qaymkmh1.js} +0 -0
  779. /package/dist/chunks/{model-resolver-qb87gjwd.js → project-qb87gjwd.js} +0 -0
  780. /package/dist/chunks/{model-resolver-qfa1cgps.js → project-qfa1cgps.js} +0 -0
  781. /package/dist/chunks/{model-resolver-qg3g05ea.js → project-qg3g05ea.js} +0 -0
  782. /package/dist/chunks/{model-resolver-qrg20bc0.js → project-qrg20bc0.js} +0 -0
  783. /package/dist/chunks/{model-resolver-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
  784. /package/dist/chunks/{model-resolver-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
  785. /package/dist/chunks/{model-resolver-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
  786. /package/dist/chunks/{model-resolver-ssg3fenm.js → project-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{model-resolver-w803qqfp.js → project-w803qqfp.js} +0 -0
  788. /package/dist/chunks/{model-resolver-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
  789. /package/dist/chunks/{model-resolver-wer8tq1h.js → project-wer8tq1h.js} +0 -0
  790. /package/dist/chunks/{model-resolver-wtztk69x.js → project-wtztk69x.js} +0 -0
  791. /package/dist/chunks/{model-resolver-x0ckcb58.js → project-x0ckcb58.js} +0 -0
  792. /package/dist/chunks/{model-resolver-x61499pn.js → project-x61499pn.js} +0 -0
  793. /package/dist/chunks/{model-resolver-y44na4kk.js → project-y44na4kk.js} +0 -0
  794. /package/dist/chunks/{model-resolver-y8cydn3q.js → project-y8cydn3q.js} +0 -0
  795. /package/dist/chunks/{model-resolver-y8f7s663.js → project-y8f7s663.js} +0 -0
  796. /package/dist/chunks/{model-resolver-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
  797. /package/dist/chunks/{model-resolver-ym463w8f.js → project-ym463w8f.js} +0 -0
  798. /package/dist/chunks/{model-resolver-z9919s4g.js → project-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./model-resolver-aye9t8w1.js";
2
+ Service84,
3
+ node88
4
+ } from "./project-mw9zgz6k.js";
5
5
  import {
6
6
  KVTable2
7
- } from "./model-resolver-3hepkmqq.js";
7
+ } from "./project-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./model-resolver-9rqn6x4v.js";
10
+ } from "./project-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service62,
17
- node: () => node65
16
+ Service: () => Service60,
17
+ node: () => node63
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service62 extends Context.Service()("@opencode/KV") {
22
+ class Service60 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service62, Effect.gen(function* () {
25
- const db = (yield* Service83).db;
26
- return Service62.of({
24
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
25
+ const db = (yield* Service84).db;
26
+ return Service60.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node65 = makeGlobalNode({ service: Service62, layer, deps: [node87] });
54
+ var node63 = makeGlobalNode({ service: Service60, layer, deps: [node88] });
55
55
 
56
- export { Service62, node65, exports_kv };
56
+ export { Service60, node63, exports_kv };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./model-resolver-qfa1cgps.js";
3
+ } from "./project-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./project-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./project-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service6,
11
+ Service: () => Service9,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node8
13
+ node: () => node11
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service6 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service9 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service6, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service9, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service6.of({
66
+ return Service9.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node8 = makeGlobalNode({ service: Service6, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node11 = makeGlobalNode({ service: Service9, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service6, node8, exports_discovery };
155
+ export { Service9, node11, exports_discovery };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service81,
3
- node84
4
- } from "./model-resolver-aaz4evtx.js";
2
+ Service83,
3
+ node87
4
+ } from "./project-053jwjs2.js";
5
5
  import {
6
6
  environment2
7
- } from "./model-resolver-rz6dkkgy.js";
7
+ } from "./project-ezzzks3g.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./model-resolver-sk3qaz4a.js";
10
+ } from "./project-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./project-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError3,
20
- Options: () => Options4,
19
+ NotFoundError: () => NotFoundError7,
20
+ Options: () => Options7,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service21,
22
+ Service: () => Service53,
23
23
  UnavailableError: () => UnavailableError2,
24
- configured: () => configured4,
25
- layer: () => layer10,
26
- node: () => node24
24
+ configured: () => configured6,
25
+ layer: () => layer18,
26
+ node: () => node55
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options4 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options7 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
40
  class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError7 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service21 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service53 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* () {
53
- const bus = yield* Service81;
52
+ var makeLayer = (options = {}) => Layer.effect(Service53, Effect.gen(function* () {
53
+ const bus = yield* Service83;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
56
56
  const runFork = Effect.runForkWith(context);
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError3({ ptyID: id });
75
+ return yield* new NotFoundError7({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service21.of({
242
+ return Service53.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer10 = makeLayer();
259
- var configured4 = (options) => makeGlobalNode({
260
- service: Service21,
261
- layer: options === undefined ? layer10 : makeLayer(options),
262
- deps: [node84, Global.node]
258
+ var layer18 = makeLayer();
259
+ var configured6 = (options) => makeGlobalNode({
260
+ service: Service53,
261
+ layer: options === undefined ? layer18 : makeLayer(options),
262
+ deps: [node87, Global.node]
263
263
  });
264
- var node24 = configured4();
264
+ var node55 = configured6();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
267
  var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options4, UnavailableError2, NotFoundError3, Service21, layer10, configured4, node24, exports_persistent_pty, Handoff2 };
304
+ export { Options7, UnavailableError2, NotFoundError7, Service53, layer18, configured6, node55, exports_persistent_pty, Handoff2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service60,
3
- node63
4
- } from "./model-resolver-fwwaqksj.js";
2
+ Service45,
3
+ node47
4
+ } from "./project-zke1m8at.js";
5
5
  import {
6
- Service78,
7
- node81
8
- } from "./model-resolver-x3ymtx59.js";
6
+ Service80,
7
+ node84
8
+ } from "./project-fraxrbyh.js";
9
9
  import {
10
- Service59,
11
- node62
12
- } from "./model-resolver-yc2dt6gh.js";
10
+ Service44,
11
+ node46
12
+ } from "./project-hzv9afqd.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./model-resolver-zxq2ej10.js";
16
+ } from "./project-zxq2ej10.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./project-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service3,
25
+ Service: () => Service4,
26
26
  empty: () => empty2,
27
27
  layer: () => layer5,
28
- node: () => node5
28
+ node: () => node6
29
29
  });
30
30
  import { FSUtil } from "@opencode/util/fs-util";
31
31
  import { Host } from "@opencode/plugin/host";
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service3, Effect.gen(function* () {
39
- const config = yield* Service59;
40
- const watcher = yield* Service60;
38
+ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
+ const config = yield* Service44;
40
+ const watcher = yield* Service45;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service78;
42
+ const location = yield* Service80;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service3.of({
61
+ return Service4.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -70,14 +70,14 @@ var layer5 = Layer.effect(Service3, Effect.gen(function* () {
70
70
  })), Stream.fromPubSub(configuredChanges))
71
71
  });
72
72
  }));
73
- var node5 = makeLocationNode({
74
- service: Service3,
73
+ var node6 = makeLocationNode({
74
+ service: Service4,
75
75
  layer: layer5,
76
- deps: [node62, FSUtil.node, node63, node81]
76
+ deps: [node46, FSUtil.node, node47, node84]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service3,
80
- layer: Layer.succeed(Service3, Service3.of({
79
+ service: Service4,
80
+ layer: Layer.succeed(Service4, Service4.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
137
137
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
138
138
  }
139
139
 
140
- export { Service3, layer5, node5, empty2, exports_source };
140
+ export { Service4, layer5, node6, empty2, exports_source };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
- make20,
4
+ make18,
5
5
  diffByKey2
6
- } from "./model-resolver-02nrjc1r.js";
6
+ } from "./project-0gdmqesm.js";
7
7
  import {
8
- ID11,
8
+ ID6,
9
9
  Name2,
10
10
  available2,
11
- Service72,
12
- node75
13
- } from "./model-resolver-gn1qq9yk.js";
11
+ Service48,
12
+ node50
13
+ } from "./project-w45fphrw.js";
14
14
  import {
15
15
  __export
16
- } from "./model-resolver-9rqn6x4v.js";
16
+ } from "./project-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions3 = {};
20
- __export(exports_instructions3, {
21
- Service: () => Service36,
22
- SkillInstructions: () => exports_instructions3,
23
- node: () => node40
19
+ var exports_instructions5 = {};
20
+ __export(exports_instructions5, {
21
+ Service: () => Service28,
22
+ SkillInstructions: () => exports_instructions5,
23
+ node: () => node32
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
27
  var Summary = Schema.Struct({
28
- id: ID11,
28
+ id: ID6,
29
29
  name: Name2,
30
30
  description: Schema.String
31
31
  });
@@ -60,15 +60,15 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service36 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service28 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service36, Effect.gen(function* () {
66
- const skills = yield* Service72;
67
- return Service36.of({
65
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
66
+ const skills = yield* Service48;
67
+ return Service28.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
69
  const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
- return make20({
71
- key: Key4.make("core/skill-guidance"),
70
+ return make18({
71
+ key: Key3.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
74
74
  render: {
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node40 = makeLocationNode({ service: Service36, layer, deps: [node75] });
83
+ var node32 = makeLocationNode({ service: Service28, layer, deps: [node50] });
84
84
 
85
- export { Service36, node40, exports_instructions3 };
85
+ export { Service28, node32, exports_instructions5 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./model-resolver-922hggd3.js";
4
+ } from "./project-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service80,
9
- node83
10
- } from "./model-resolver-ktk6m7yv.js";
8
+ Service82,
9
+ node86
10
+ } from "./project-afed7ext.js";
11
11
  import {
12
- Service78,
13
- node81
14
- } from "./model-resolver-x3ymtx59.js";
12
+ Service80,
13
+ node84
14
+ } from "./project-fraxrbyh.js";
15
15
  import {
16
16
  create3
17
- } from "./model-resolver-rdw6cm16.js";
17
+ } from "./project-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./model-resolver-9rqn6x4v.js";
20
+ } from "./project-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID5,
27
- Service: () => Service42,
25
+ Error: () => Error2,
26
+ ID: () => ID4,
27
+ Service: () => Service31,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node45,
29
+ node: () => node34,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID5 } from "@opencode/schema/snapshot";
37
+ import { ID as ID4 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service42 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service31 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service42, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service80;
50
+ const git = yield* Service82;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service78;
52
+ const location = yield* Service80;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID5.make(yield* git.tree.capture({
85
+ return ID4.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service31.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node45 = makeLocationNode({
144
- service: Service42,
143
+ var node34 = makeLocationNode({
144
+ service: Service31,
145
145
  layer,
146
- deps: [FSUtil.node, node83, Global.node, node81]
146
+ deps: [FSUtil.node, node86, Global.node, node84]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service42, Service42.of({
148
+ var noopLayer2 = Layer.succeed(Service31, Service31.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service42, Service42.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error2 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error2({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID5, Error3, Service42, node45, noopLayer2, exports_snapshot2 };
166
+ export { ID4, Error2, Service31, node34, noopLayer2, exports_snapshot2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-e5tcccaa.js";
3
+ } from "./project-kpt1qdq7.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./project-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin25,
11
+ Plugin: () => Plugin35,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint6
13
+ endpoint: () => endpoint3
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/unstable/http";
18
- var endpoint6 = "https://api.tavily.com/search";
18
+ var endpoint3 = "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 Plugin25 = define({
32
+ var Plugin35 = 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 Plugin25 = 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(endpoint3).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 Plugin25 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint6, Plugin25, exports_tavily };
80
+ export { endpoint3, Plugin35, exports_tavily };