@opencode/core 0.0.0-dev-20158 → 0.0.0-dev-20160

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 (803) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{model-resolver-amy9ev3g.js → session-03an8pay.js} +14 -14
  8. package/dist/chunks/{model-resolver-pnvk1zxf.js → session-07770t2t.js} +4 -4
  9. package/dist/chunks/{model-resolver-jhhqz5ys.js → session-07exw706.js} +31 -31
  10. package/dist/chunks/{model-resolver-4g1652p2.js → session-0ab3je7r.js} +5 -5
  11. package/dist/chunks/{model-resolver-vegycmpw.js → session-0ds4nxjt.js} +16 -16
  12. package/dist/chunks/{model-resolver-m5m12nva.js → session-0etr5837.js} +3 -3
  13. package/dist/chunks/{model-resolver-fhbtmvm6.js → session-0g0xjf3w.js} +26 -26
  14. package/dist/chunks/{model-resolver-7h4fmbdk.js → session-0j3q064p.js} +35 -35
  15. package/dist/chunks/{model-resolver-tstsgrrw.js → session-0m60qzxk.js} +18 -18
  16. package/dist/chunks/session-0mesazry.js +4 -0
  17. package/dist/chunks/{model-resolver-0paq2nw3.js → session-0paq2nw3.js} +1 -1
  18. package/dist/chunks/{model-resolver-bct739vz.js → session-0v53mg2y.js} +4 -4
  19. package/dist/chunks/{model-resolver-mm5nt2nt.js → session-0vq8hxf6.js} +20 -20
  20. package/dist/chunks/{model-resolver-havtyyxz.js → session-0wpx4zh6.js} +84 -84
  21. package/dist/chunks/{model-resolver-nqp3avv2.js → session-11k00grk.js} +8 -8
  22. package/dist/chunks/{model-resolver-mk1jn20m.js → session-1a04trcm.js} +23 -23
  23. package/dist/chunks/{model-resolver-yp2x3t23.js → session-1acjjqhc.js} +4 -4
  24. package/dist/chunks/{model-resolver-680vfc89.js → session-1bj2jnan.js} +13 -13
  25. package/dist/chunks/{model-resolver-1dazxqgg.js → session-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{model-resolver-52b8xadt.js → session-1geh030x.js} +83 -83
  27. package/dist/chunks/{model-resolver-97fmyryk.js → session-1jfryw5c.js} +9 -9
  28. package/dist/chunks/{model-resolver-21r38tys.js → session-21r38tys.js} +1 -1
  29. package/dist/chunks/{model-resolver-68z8xbqp.js → session-22r42fq5.js} +23 -23
  30. package/dist/chunks/{model-resolver-b33searm.js → session-22rafnjp.js} +6 -6
  31. package/dist/chunks/{model-resolver-2402vzrj.js → session-2402vzrj.js} +1 -1
  32. package/dist/chunks/{model-resolver-fmyj3kws.js → session-24ac7ank.js} +6 -6
  33. package/dist/chunks/{model-resolver-z63w68vq.js → session-29x78va6.js} +6 -6
  34. package/dist/chunks/{model-resolver-2a5m3afh.js → session-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{model-resolver-2a6rn6yr.js → session-2a6rn6yr.js} +1 -1
  36. package/dist/chunks/{model-resolver-7qygjkb5.js → session-2cyv4f5e.js} +10 -10
  37. package/dist/chunks/{model-resolver-5pemj9ar.js → session-2p8k3371.js} +5 -5
  38. package/dist/chunks/{model-resolver-qtq8atx0.js → session-2sg260nx.js} +29 -29
  39. package/dist/chunks/{model-resolver-g1wask2c.js → session-2tqyxpjd.js} +11 -11
  40. package/dist/chunks/{model-resolver-38ys11y3.js → session-2xwkyk0m.js} +5 -5
  41. package/dist/chunks/{model-resolver-wpnzqk7a.js → session-363xrghk.js} +10 -10
  42. package/dist/chunks/{model-resolver-qh65rry2.js → session-36w2c4wp.js} +27 -27
  43. package/dist/chunks/{model-resolver-2bekqz3a.js → session-37sfe3bm.js} +15 -15
  44. package/dist/chunks/{model-resolver-2f0bjgcj.js → session-3cfzdc8e.js} +5 -5
  45. package/dist/chunks/{model-resolver-91g4gbhj.js → session-3daw23hh.js} +3 -3
  46. package/dist/chunks/{model-resolver-3fc6dm20.js → session-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{model-resolver-3hepkmqq.js → session-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{model-resolver-3smtnn6g.js → session-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{model-resolver-3tvqynh2.js → session-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{model-resolver-eznmshf9.js → session-3vggypkr.js} +11 -11
  51. package/dist/chunks/{model-resolver-fjzx8x1z.js → session-3y650d3w.js} +12 -12
  52. package/dist/chunks/{model-resolver-3zsf4n22.js → session-3zsf4n22.js} +1 -1
  53. package/dist/chunks/{model-resolver-206tr2x9.js → session-4e3z9wr6.js} +3 -3
  54. package/dist/chunks/{model-resolver-r20xradg.js → session-4fhgqxn3.js} +30 -30
  55. package/dist/chunks/{model-resolver-d981nn93.js → session-4gnrzq8g.js} +14 -14
  56. package/dist/chunks/{model-resolver-j26sntzs.js → session-4kzrk3r9.js} +12 -12
  57. package/dist/chunks/{model-resolver-nbzsj80d.js → session-4sh8yqy7.js} +11 -11
  58. package/dist/chunks/{model-resolver-t34y2eq7.js → session-4x7vd7ad.js} +45 -45
  59. package/dist/chunks/{model-resolver-qy0qk774.js → session-4zmtbcja.js} +22 -22
  60. package/dist/chunks/{model-resolver-8c3w0b8b.js → session-54rbqgw7.js} +21 -21
  61. package/dist/chunks/{model-resolver-ckecvw8r.js → session-54tcyq79.js} +2 -2
  62. package/dist/chunks/{model-resolver-mfqp6xfm.js → session-56gdpj1q.js} +6 -6
  63. package/dist/chunks/{model-resolver-4sn99hha.js → session-57ez7d0k.js} +7 -7
  64. package/dist/chunks/{model-resolver-sr97vwy6.js → session-59nw1bw3.js} +9 -9
  65. package/dist/chunks/{model-resolver-d8p93nrm.js → session-5bghj9c4.js} +18 -18
  66. package/dist/chunks/{model-resolver-5daktx2q.js → session-5daktx2q.js} +1 -1
  67. package/dist/chunks/{model-resolver-3w074pk4.js → session-5fq3s9nk.js} +28 -28
  68. package/dist/chunks/{model-resolver-wymn1sd1.js → session-5ggb7gsj.js} +10 -10
  69. package/dist/chunks/{model-resolver-sv5s01x5.js → session-5h35ktg3.js} +25 -25
  70. package/dist/chunks/{model-resolver-qqs8gy82.js → session-5s92r4aj.js} +26 -26
  71. package/dist/chunks/{model-resolver-5t3nmthw.js → session-5t3nmthw.js} +2 -2
  72. package/dist/chunks/{model-resolver-7a04pq0x.js → session-5vgkx6vx.js} +15 -15
  73. package/dist/chunks/session-619r8v3y.js +18 -0
  74. package/dist/chunks/{model-resolver-669tq793.js → session-669tq793.js} +1 -1
  75. package/dist/chunks/{model-resolver-tyzdkfdt.js → session-6bvhsrzt.js} +15 -15
  76. package/dist/chunks/{model-resolver-w9tzyeh2.js → session-6dzhqqtb.js} +6 -6
  77. package/dist/chunks/{model-resolver-ft2qew80.js → session-6fxkhm7k.js} +16 -16
  78. package/dist/chunks/{model-resolver-hf3pz0b6.js → session-6hcqq1md.js} +11 -11
  79. package/dist/chunks/{model-resolver-gy7dsj4k.js → session-6hje2pqe.js} +21 -21
  80. package/dist/chunks/{model-resolver-sk9r5ttv.js → session-6m46kzd3.js} +18 -18
  81. package/dist/chunks/{model-resolver-6msgmcgs.js → session-6msgmcgs.js} +1 -1
  82. package/dist/chunks/session-6p6hfw42.js +26 -0
  83. package/dist/chunks/{model-resolver-tj92sfh7.js → session-6pbvtem2.js} +11 -11
  84. package/dist/chunks/{model-resolver-v1ykme1f.js → session-72ykkv7q.js} +13 -13
  85. package/dist/chunks/{model-resolver-0vmm7rs7.js → session-7301y69e.js} +20 -20
  86. package/dist/chunks/{model-resolver-3918zp65.js → session-73cs7vnm.js} +6 -6
  87. package/dist/chunks/{model-resolver-b5e2yk6d.js → session-73p015gt.js} +54 -54
  88. package/dist/chunks/{model-resolver-y72zmemf.js → session-757464b7.js} +8 -8
  89. package/dist/chunks/{model-resolver-86gv9yex.js → session-78bh9b51.js} +42 -42
  90. package/dist/chunks/{model-resolver-7bmhse3q.js → session-7bmhse3q.js} +1 -1
  91. package/dist/chunks/{model-resolver-y4838870.js → session-7bwbn0jd.js} +30 -30
  92. package/dist/chunks/{model-resolver-2k8khapm.js → session-7dqw4kz8.js} +5 -5
  93. package/dist/chunks/{model-resolver-26see1q8.js → session-7q2tvaya.js} +26 -26
  94. package/dist/chunks/{model-resolver-t1gsh4a5.js → session-7vpargwy.js} +57 -57
  95. package/dist/chunks/{model-resolver-zds2rnmv.js → session-878p20b2.js} +9 -9
  96. package/dist/chunks/session-8977zpnw.js +252 -0
  97. package/dist/chunks/{model-resolver-et83fa73.js → session-89n7ecns.js} +11 -11
  98. package/dist/chunks/{model-resolver-a46q39xd.js → session-8a062qkv.js} +4 -4
  99. package/dist/chunks/{model-resolver-7re7g1jd.js → session-8ac9we4c.js} +41 -41
  100. package/dist/chunks/{model-resolver-c57ase6y.js → session-8bwb6cg8.js} +29 -29
  101. package/dist/chunks/{model-resolver-8d7r5vzw.js → session-8d7r5vzw.js} +1 -1
  102. package/dist/chunks/{model-resolver-n01f24md.js → session-8q9cyy35.js} +18 -18
  103. package/dist/chunks/{model-resolver-gcg1yrj4.js → session-8y47sz6y.js} +43 -43
  104. package/dist/chunks/{model-resolver-vj8gdh7j.js → session-9jdnhbcg.js} +36 -36
  105. package/dist/chunks/{model-resolver-24sm1qyr.js → session-9pzy0dy5.js} +23 -23
  106. package/dist/chunks/{model-resolver-ze75yzft.js → session-9y0w708y.js} +8 -8
  107. package/dist/chunks/{model-resolver-xfw9zcsv.js → session-9yfmx064.js} +25 -25
  108. package/dist/chunks/{model-resolver-hk1vpbmp.js → session-9ynr3dfk.js} +10 -10
  109. package/dist/chunks/{model-resolver-czb8wht1.js → session-a745b56a.js} +45 -45
  110. package/dist/chunks/{model-resolver-6xb8k124.js → session-a76mq0kp.js} +12 -12
  111. package/dist/chunks/{model-resolver-g762atc6.js → session-a881zpfh.js} +9 -9
  112. package/dist/chunks/{model-resolver-q62m1k22.js → session-a8wf0jya.js} +7 -7
  113. package/dist/chunks/{model-resolver-aaet6srn.js → session-aaet6srn.js} +2 -2
  114. package/dist/chunks/{model-resolver-p1j6bn8g.js → session-abpkgy4h.js} +17 -17
  115. package/dist/chunks/{model-resolver-q17kn81w.js → session-adbsxxgk.js} +10 -10
  116. package/dist/chunks/{model-resolver-q94qa9gk.js → session-ag4f73gw.js} +10 -10
  117. package/dist/chunks/{model-resolver-4c5t4vfv.js → session-asdxbhk9.js} +14 -14
  118. package/dist/chunks/{model-resolver-50mzsvk4.js → session-axmvebxj.js} +21 -21
  119. package/dist/chunks/{model-resolver-84zcxbc9.js → session-axs6pdy0.js} +5 -5
  120. package/dist/chunks/{model-resolver-b1gxdpvp.js → session-aztc6zc0.js} +20 -20
  121. package/dist/chunks/{model-resolver-9kmbd9mt.js → session-b09hzw3k.js} +2 -2
  122. package/dist/chunks/{model-resolver-0jq9fyba.js → session-b0dgvpy7.js} +9 -9
  123. package/dist/chunks/{model-resolver-2htysf3r.js → session-b5k86chy.js} +3 -3
  124. package/dist/chunks/{model-resolver-b6gygkdw.js → session-b6gygkdw.js} +2 -2
  125. package/dist/chunks/{model-resolver-ha607pgt.js → session-bf5cr955.js} +6 -6
  126. package/dist/chunks/{model-resolver-gfpbexs2.js → session-bjp7wch6.js} +19 -19
  127. package/dist/chunks/{model-resolver-z07pqspn.js → session-bjtzbw4r.js} +3 -3
  128. package/dist/chunks/{model-resolver-gkz061q6.js → session-br926xn9.js} +7 -7
  129. package/dist/chunks/{model-resolver-e0e0xvb3.js → session-bretxvn8.js} +24 -24
  130. package/dist/chunks/{model-resolver-0f0kaz2k.js → session-c2tr9cba.js} +11 -11
  131. package/dist/chunks/{model-resolver-zv2w3gwr.js → session-cbyh50mr.js} +11 -11
  132. package/dist/chunks/{model-resolver-sfntmzm9.js → session-cgf4qtyb.js} +1 -1
  133. package/dist/chunks/{model-resolver-k10ybmck.js → session-cntynd0e.js} +31 -31
  134. package/dist/chunks/{model-resolver-rwqynx0a.js → session-cv2ckvez.js} +15 -15
  135. package/dist/chunks/{model-resolver-7h056913.js → session-cwfeh27v.js} +21 -21
  136. package/dist/chunks/{model-resolver-2y80ys67.js → session-cyvxyepb.js} +16 -16
  137. package/dist/chunks/{model-resolver-r322q3y6.js → session-d7fs98ew.js} +38 -38
  138. package/dist/chunks/{model-resolver-pccq72bz.js → session-d8cw0a7r.js} +4 -4
  139. package/dist/chunks/{model-resolver-a46d7692.js → session-dan7ncpb.js} +30 -30
  140. package/dist/chunks/{model-resolver-aqctzznh.js → session-dcd3cb6e.js} +11 -11
  141. package/dist/chunks/session-dec238cb.js +511 -0
  142. package/dist/chunks/{model-resolver-cwa6csj7.js → session-djszqvmq.js} +9 -9
  143. package/dist/chunks/{model-resolver-zzqe82vy.js → session-dtb3tcrh.js} +3 -3
  144. package/dist/chunks/{model-resolver-p4776vvd.js → session-dzqekp4s.js} +2 -2
  145. package/dist/chunks/{model-resolver-5qd3pb7m.js → session-e3qxr5gk.js} +2 -2
  146. package/dist/chunks/{model-resolver-nd15zvwa.js → session-e7bd4f0g.js} +5 -5
  147. package/dist/chunks/{model-resolver-yt0fqk68.js → session-ead3g9p8.js} +5 -5
  148. package/dist/chunks/{model-resolver-ecfe7b91.js → session-ecfe7b91.js} +2 -2
  149. package/dist/chunks/{model-resolver-ef5x83kb.js → session-ef5x83kb.js} +1 -1
  150. package/dist/chunks/{model-resolver-q5n3bppz.js → session-ehy067re.js} +3 -3
  151. package/dist/chunks/{model-resolver-j8afcsyc.js → session-em3h5ktn.js} +4 -4
  152. package/dist/chunks/{model-resolver-hbtqa4wz.js → session-erkj4jm4.js} +11 -11
  153. package/dist/chunks/{model-resolver-etq0c3wd.js → session-etq0c3wd.js} +1 -1
  154. package/dist/chunks/{model-resolver-0s2w903j.js → session-ez7z0p20.js} +1 -1
  155. package/dist/chunks/{model-resolver-sf66h50n.js → session-f1eys81r.js} +5 -5
  156. package/dist/chunks/{model-resolver-g6szcc3v.js → session-f88bvz2g.js} +4 -4
  157. package/dist/chunks/{model-resolver-7jbkg8gb.js → session-fhy7zdhf.js} +30 -30
  158. package/dist/chunks/{model-resolver-g8d3gcyj.js → session-fm2qvscf.js} +7 -7
  159. package/dist/chunks/{model-resolver-xsym2eej.js → session-fth3s3gv.js} +184 -184
  160. package/dist/chunks/{model-resolver-nyrbevt9.js → session-g281w60y.js} +18 -18
  161. package/dist/chunks/{model-resolver-w7nphhe6.js → session-g4n87ghy.js} +3 -3
  162. package/dist/chunks/{model-resolver-ytvzg9pg.js → session-g88nb3be.js} +26 -26
  163. package/dist/chunks/{model-resolver-gd4qta3r.js → session-gd4qta3r.js} +1 -1
  164. package/dist/chunks/{model-resolver-94ek1h2f.js → session-gfvb90ym.js} +2 -2
  165. package/dist/chunks/{model-resolver-an4y2yf1.js → session-gn1f0zrs.js} +28 -28
  166. package/dist/chunks/{model-resolver-gv6a8nnw.js → session-gv6a8nnw.js} +2 -2
  167. package/dist/chunks/{model-resolver-n2kah95r.js → session-h10s6dah.js} +8 -8
  168. package/dist/chunks/{model-resolver-0grg8x1d.js → session-h486cbhb.js} +17 -17
  169. package/dist/chunks/{model-resolver-wkpvktmd.js → session-h59aghp9.js} +13 -13
  170. package/dist/chunks/{model-resolver-4dgbcxzg.js → session-h6r3nrb9.js} +4 -4
  171. package/dist/chunks/{model-resolver-h6vf3j39.js → session-h6vf3j39.js} +1 -1
  172. package/dist/chunks/{model-resolver-nysns02s.js → session-h6vtv795.js} +25 -25
  173. package/dist/chunks/{model-resolver-c6ea9mwp.js → session-h83mpa4f.js} +23 -23
  174. package/dist/chunks/{model-resolver-mxterfad.js → session-hf5q49q4.js} +17 -17
  175. package/dist/chunks/{model-resolver-z6b4caet.js → session-hjxhb8xk.js} +14 -14
  176. package/dist/chunks/{model-resolver-b9p5vg71.js → session-hnv6ytv5.js} +74 -74
  177. package/dist/chunks/{model-resolver-sf3bhtkb.js → session-hpxb066z.js} +27 -27
  178. package/dist/chunks/{model-resolver-bwg4kr2v.js → session-ht4w0svj.js} +23 -23
  179. package/dist/chunks/{model-resolver-r3tpvskf.js → session-j3dd5x6a.js} +30 -30
  180. package/dist/chunks/{model-resolver-j56e64zr.js → session-j56e64zr.js} +1 -1
  181. package/dist/chunks/{model-resolver-k5znp5xn.js → session-j5dnef6t.js} +20 -20
  182. package/dist/chunks/{model-resolver-3n5xgdmc.js → session-j7a31f70.js} +5 -5
  183. package/dist/chunks/{model-resolver-8t84k4kw.js → session-j8a3t00s.js} +30 -30
  184. package/dist/chunks/{model-resolver-3zr4kwp4.js → session-jdejrt4w.js} +15 -15
  185. package/dist/chunks/{model-resolver-4y596e4p.js → session-jhp1ybt8.js} +19 -19
  186. package/dist/chunks/{model-resolver-yjptyezs.js → session-jv01nqvq.js} +5 -5
  187. package/dist/chunks/{model-resolver-44ykhczy.js → session-jz1hg8xh.js} +51 -51
  188. package/dist/chunks/{model-resolver-k1qrnqst.js → session-k1qrnqst.js} +1 -1
  189. package/dist/chunks/{model-resolver-nzks3jc8.js → session-k3c624dm.js} +3 -3
  190. package/dist/chunks/{model-resolver-a0vyv8yz.js → session-k9brhh59.js} +15 -15
  191. package/dist/chunks/{model-resolver-k0a3z2qz.js → session-knevfgda.js} +4 -4
  192. package/dist/chunks/{model-resolver-4arp3q20.js → session-kvynqkpr.js} +22 -22
  193. package/dist/chunks/{model-resolver-typghqfk.js → session-kxzgz6qj.js} +4 -4
  194. package/dist/chunks/{model-resolver-m3fdjcah.js → session-m3fdjcah.js} +1 -1
  195. package/dist/chunks/{model-resolver-4ffdv1a7.js → session-m7eqtq7h.js} +15 -15
  196. package/dist/chunks/{model-resolver-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
  197. package/dist/chunks/{model-resolver-mywrbmkg.js → session-mg9ysj5n.js} +11 -11
  198. package/dist/chunks/{model-resolver-9g2t5fv6.js → session-mj7jap7m.js} +43 -43
  199. package/dist/chunks/{model-resolver-nz34eq69.js → session-mjcgfbxd.js} +34 -34
  200. package/dist/chunks/{model-resolver-7jq3dafd.js → session-mxaf64hb.js} +24 -24
  201. package/dist/chunks/{model-resolver-x206tq9p.js → session-n3vhrske.js} +27 -27
  202. package/dist/chunks/{model-resolver-6f8s49am.js → session-n71epsv6.js} +10 -10
  203. package/dist/chunks/{model-resolver-vcrm0pnt.js → session-nbby7gnz.js} +4 -4
  204. package/dist/chunks/{model-resolver-y6ttb9wj.js → session-nfjjh792.js} +38 -38
  205. package/dist/chunks/{model-resolver-7w8r2k62.js → session-nj3ema9j.js} +24 -24
  206. package/dist/chunks/{model-resolver-acvggdgr.js → session-p1nk9e7p.js} +26 -26
  207. package/dist/chunks/{model-resolver-srpj3tpa.js → session-p23qnjj8.js} +48 -48
  208. package/dist/chunks/{model-resolver-vaqs8gs2.js → session-p3mw7xyr.js} +5 -5
  209. package/dist/chunks/{model-resolver-g0445xdp.js → session-pa8pe2x7.js} +8 -8
  210. package/dist/chunks/{model-resolver-hps07q8v.js → session-pdanyz1v.js} +19 -19
  211. package/dist/chunks/{model-resolver-4cpnk8xd.js → session-pfykbea3.js} +4 -4
  212. package/dist/chunks/{model-resolver-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
  213. package/dist/chunks/{model-resolver-pknna89w.js → session-pknna89w.js} +1 -1
  214. package/dist/chunks/{model-resolver-pnv527nz.js → session-pnv527nz.js} +2 -2
  215. package/dist/chunks/{model-resolver-mmhjy9tz.js → session-pq623249.js} +10 -10
  216. package/dist/chunks/{model-resolver-wd3x2cqz.js → session-psazpmmj.js} +2 -2
  217. package/dist/chunks/{model-resolver-wg2wgzge.js → session-pw26y09t.js} +29 -29
  218. package/dist/chunks/{model-resolver-1p07q0wb.js → session-py3kkmfq.js} +4 -4
  219. package/dist/chunks/{model-resolver-n799s5c3.js → session-q4zrs7xy.js} +8 -8
  220. package/dist/chunks/{model-resolver-z85c6j0e.js → session-qa3qntg2.js} +44 -44
  221. package/dist/chunks/{model-resolver-qsdy395h.js → session-qsdy395h.js} +1 -1
  222. package/dist/chunks/{model-resolver-6ms63ajj.js → session-r5734vc9.js} +11 -11
  223. package/dist/chunks/{model-resolver-j028xdjb.js → session-r5x6zcsm.js} +3 -3
  224. package/dist/chunks/{model-resolver-rdw6cm16.js → session-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{model-resolver-pv19q001.js → session-rf8hweaa.js} +11 -11
  226. package/dist/chunks/{model-resolver-b2m4v72c.js → session-rfddq75h.js} +14 -14
  227. package/dist/chunks/{model-resolver-22qs65eb.js → session-rfke20cm.js} +5 -5
  228. package/dist/chunks/{model-resolver-t550f9t1.js → session-rhjbct0v.js} +4 -4
  229. package/dist/chunks/{model-resolver-0ft9cg2j.js → session-rp8jz6x1.js} +4 -4
  230. package/dist/chunks/{model-resolver-yrznvahk.js → session-s4enseaf.js} +2 -2
  231. package/dist/chunks/{model-resolver-00yaqz7j.js → session-s6v4tep7.js} +18 -18
  232. package/dist/chunks/{model-resolver-d440cxsn.js → session-sbe92etv.js} +18 -18
  233. package/dist/chunks/{model-resolver-0v1pwmed.js → session-sjrw32hx.js} +9 -9
  234. package/dist/chunks/{model-resolver-sc29y7gj.js → session-spps2bf2.js} +31 -31
  235. package/dist/chunks/{model-resolver-bn78pb0y.js → session-spq68xge.js} +10 -10
  236. package/dist/chunks/{model-resolver-rehwyskh.js → session-t4hjygyp.js} +1 -1
  237. package/dist/chunks/{model-resolver-pvkbt02t.js → session-t5kz8wwg.js} +7 -7
  238. package/dist/chunks/{model-resolver-zvt5dnpc.js → session-t7n9q6bq.js} +4 -4
  239. package/dist/chunks/{model-resolver-tazgh4e4.js → session-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{model-resolver-ermxvwhp.js → session-tbmac1c7.js} +4 -4
  241. package/dist/chunks/{model-resolver-tcezcvh9.js → session-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{model-resolver-gawe0pa8.js → session-td2xt15b.js} +15 -15
  243. package/dist/chunks/{model-resolver-tdstcens.js → session-tdstcens.js} +1 -1
  244. package/dist/chunks/{model-resolver-zv1jk2zx.js → session-teeeetwt.js} +22 -22
  245. package/dist/chunks/{model-resolver-v74wxkr3.js → session-tfcs166d.js} +20 -20
  246. package/dist/chunks/{model-resolver-48dv6t9d.js → session-tgjneemn.js} +13 -13
  247. package/dist/chunks/{model-resolver-whmghete.js → session-tnqnkygc.js} +3 -3
  248. package/dist/chunks/{model-resolver-yg5p90v9.js → session-tq6thkf7.js} +5 -5
  249. package/dist/chunks/{model-resolver-tvtrv512.js → session-tvtrv512.js} +1 -1
  250. package/dist/chunks/{model-resolver-t3tp408p.js → session-ty1n72rn.js} +16 -16
  251. package/dist/chunks/{model-resolver-fqp7qv4y.js → session-v176d600.js} +4 -4
  252. package/dist/chunks/{model-resolver-veqvce7d.js → session-veqvce7d.js} +1 -1
  253. package/dist/chunks/{model-resolver-mkthra7k.js → session-vkx2mzfj.js} +7 -7
  254. package/dist/chunks/{model-resolver-0706z96g.js → session-vn3my0c0.js} +19 -19
  255. package/dist/chunks/{model-resolver-kjesjdjk.js → session-vqv9rnx6.js} +24 -24
  256. package/dist/chunks/{model-resolver-azeyjv65.js → session-vy4zg7qh.js} +12 -12
  257. package/dist/chunks/{model-resolver-vzcthcp8.js → session-vzcthcp8.js} +1 -1
  258. package/dist/chunks/{model-resolver-vzs5sf6e.js → session-vzs5sf6e.js} +1 -1
  259. package/dist/chunks/{model-resolver-50g511xe.js → session-w139t23a.js} +5 -5
  260. package/dist/chunks/{model-resolver-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{model-resolver-wd87259q.js → session-wd87259q.js} +1 -1
  262. package/dist/chunks/{model-resolver-4gycnsfp.js → session-wnmqtqbz.js} +7 -7
  263. package/dist/chunks/{model-resolver-4wsh9859.js → session-wss0rg9k.js} +30 -30
  264. package/dist/chunks/{model-resolver-x1ezjp6w.js → session-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{model-resolver-s0fa4gp7.js → session-x5cg1xcm.js} +10 -10
  266. package/dist/chunks/{model-resolver-z4px6pj1.js → session-x6wtfncd.js} +22 -22
  267. package/dist/chunks/{model-resolver-v52chzj3.js → session-x7jaq4w3.js} +21 -21
  268. package/dist/chunks/{model-resolver-56dkfrzf.js → session-x9n1am6t.js} +4 -4
  269. package/dist/chunks/{model-resolver-5qn1w087.js → session-x9rp7719.js} +29 -29
  270. package/dist/chunks/{model-resolver-stn6csqj.js → session-xenc6ek8.js} +23 -23
  271. package/dist/chunks/{model-resolver-57b9ws8p.js → session-xfkkasph.js} +7 -7
  272. package/dist/chunks/{model-resolver-xkntkrq7.js → session-xkntkrq7.js} +2 -2
  273. package/dist/chunks/{model-resolver-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
  274. package/dist/chunks/{model-resolver-xhp06ph4.js → session-y26s5m2q.js} +13 -13
  275. package/dist/chunks/{model-resolver-mf9m2v67.js → session-y6f0p4jw.js} +2 -2
  276. package/dist/chunks/{model-resolver-y71avatq.js → session-y71avatq.js} +1 -1
  277. package/dist/chunks/{model-resolver-1kehk7jc.js → session-ycgn13tp.js} +10 -10
  278. package/dist/chunks/{model-resolver-6s4d8484.js → session-yfac261q.js} +6 -6
  279. package/dist/chunks/{model-resolver-bhfy7g21.js → session-ynj0xxy8.js} +35 -35
  280. package/dist/chunks/{model-resolver-90r4fb4b.js → session-ypt7zytc.js} +15 -15
  281. package/dist/chunks/{model-resolver-yrhqyw5v.js → session-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{model-resolver-k8e8qrky.js → session-yrq1xc16.js} +7 -7
  283. package/dist/chunks/{model-resolver-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{model-resolver-rdfh74de.js → session-z22sqqyn.js} +5 -5
  285. package/dist/chunks/{model-resolver-jh76kevn.js → session-z2sk8n0r.js} +11 -11
  286. package/dist/chunks/{model-resolver-x6jzm7sq.js → session-z9cgy18q.js} +10 -10
  287. package/dist/chunks/{model-resolver-hb2fds8x.js → session-zad4pthz.js} +13 -13
  288. package/dist/chunks/{model-resolver-snqzjp2x.js → session-zdwjck79.js} +26 -26
  289. package/dist/chunks/{model-resolver-zeh9ct20.js → session-zeh9ct20.js} +2 -2
  290. package/dist/chunks/{model-resolver-0wvc14eb.js → session-zf6529qm.js} +7 -7
  291. package/dist/chunks/{model-resolver-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{model-resolver-tmw06j42.js → session-zw68n9f5.js} +9 -9
  293. package/dist/chunks/{model-resolver-zxq2ej10.js → session-zxq2ej10.js} +1 -1
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +9 -9
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +85 -85
  299. package/dist/config/discovery.js +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +123 -123
  303. package/dist/config/plugin/command.js +212 -212
  304. package/dist/config/plugin/compaction.js +160 -160
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +125 -125
  311. package/dist/config/plugin/mcp.js +130 -130
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +125 -125
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +144 -144
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +126 -126
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +124 -124
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +81 -81
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +13 -13
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +14 -14
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +366 -366
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +1 -1
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +74 -74
  418. package/dist/file-access.js +100 -100
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/file.js +1 -1
  422. package/dist/filesystem/fff.bun.js +2 -2
  423. package/dist/filesystem/fff.js +1 -1
  424. package/dist/filesystem/fff.node.js +2 -2
  425. package/dist/filesystem/fff.workerd.js +2 -2
  426. package/dist/filesystem/ignore.js +1 -1
  427. package/dist/filesystem/location-watcher-policy.js +6 -6
  428. package/dist/filesystem/location-watcher.js +227 -227
  429. package/dist/filesystem/protected.js +1 -1
  430. package/dist/filesystem/search.js +103 -103
  431. package/dist/filesystem/watcher-binding.js +3 -3
  432. package/dist/filesystem/watcher.js +15 -15
  433. package/dist/filesystem.js +102 -102
  434. package/dist/form.js +78 -78
  435. package/dist/formatter/builtins.js +4 -4
  436. package/dist/formatter.js +89 -89
  437. package/dist/generate.js +103 -103
  438. package/dist/git.js +10 -10
  439. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  440. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  441. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  443. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  444. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  445. package/dist/github-copilot/copilot-provider.js +17 -17
  446. package/dist/github-copilot/models.js +99 -99
  447. package/dist/github-copilot/openai-compatible-error.js +1 -1
  448. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  449. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  450. package/dist/github-copilot/responses/openai-error.js +1 -1
  451. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  452. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  453. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  454. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  455. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  457. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  458. package/dist/id/id.js +1 -1
  459. package/dist/image/photon.js +2 -2
  460. package/dist/image.js +6 -6
  461. package/dist/instance/service.js +1 -1
  462. package/dist/instance.js +359 -359
  463. package/dist/instruction-discovery.js +79 -79
  464. package/dist/instructions/builtins.js +85 -85
  465. package/dist/instructions/index.js +3 -3
  466. package/dist/integration/connection.js +3 -3
  467. package/dist/integration.js +84 -84
  468. package/dist/job.js +77 -77
  469. package/dist/kv/sql.js +2 -2
  470. package/dist/kv.js +73 -73
  471. package/dist/location-activity.js +135 -135
  472. package/dist/location-lifecycle.js +107 -107
  473. package/dist/location-mutation.js +100 -100
  474. package/dist/location-service-map.js +86 -86
  475. package/dist/location-services.js +360 -360
  476. package/dist/location.js +87 -87
  477. package/dist/managed-policy.js +1 -1
  478. package/dist/mcp/client.js +91 -91
  479. package/dist/mcp/index.js +100 -100
  480. package/dist/mcp/instructions.js +128 -128
  481. package/dist/mcp/oauth.js +78 -78
  482. package/dist/mcp/stdio.js +90 -90
  483. package/dist/mime.js +1 -1
  484. package/dist/modal/models.js +99 -99
  485. package/dist/model-resolver.js +98 -98
  486. package/dist/model.js +98 -98
  487. package/dist/models-dev.js +97 -97
  488. package/dist/oauth/page.js +1 -1
  489. package/dist/permission/saved.js +80 -80
  490. package/dist/permission/sql.js +5 -5
  491. package/dist/permission.js +113 -113
  492. package/dist/persistent-pty/binary.bun.js +1 -1
  493. package/dist/persistent-pty/daemon.js +1 -1
  494. package/dist/persistent-pty/index.js +86 -86
  495. package/dist/persistent-pty/pty-binding.js +1 -1
  496. package/dist/persistent-pty.js +75 -75
  497. package/dist/plugin/agent.js +102 -102
  498. package/dist/plugin/command.js +99 -99
  499. package/dist/plugin/compaction.js +131 -131
  500. package/dist/plugin/hooks.js +5 -5
  501. package/dist/plugin/host.js +218 -218
  502. package/dist/plugin/identity.js +3 -3
  503. package/dist/plugin/instance.js +5 -5
  504. package/dist/plugin/internal.js +334 -334
  505. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  506. package/dist/plugin/models-dev.js +96 -96
  507. package/dist/plugin/module.js +7 -7
  508. package/dist/plugin/optimize.js +2 -2
  509. package/dist/plugin/plan.js +102 -102
  510. package/dist/plugin/promise.js +1 -1
  511. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  512. package/dist/plugin/provider/azure.js +122 -122
  513. package/dist/plugin/provider/cerebras.js +1 -1
  514. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  515. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  516. package/dist/plugin/provider/cohere.js +2 -2
  517. package/dist/plugin/provider/configured.js +119 -119
  518. package/dist/plugin/provider/digitalocean.js +93 -93
  519. package/dist/plugin/provider/dynamic.js +2 -2
  520. package/dist/plugin/provider/factory.js +1 -1
  521. package/dist/plugin/provider/gateway.js +2 -2
  522. package/dist/plugin/provider/github-copilot.js +93 -93
  523. package/dist/plugin/provider/gitlab.js +93 -93
  524. package/dist/plugin/provider/google-vertex.js +90 -90
  525. package/dist/plugin/provider/kilo.js +1 -1
  526. package/dist/plugin/provider/llmgateway.js +77 -77
  527. package/dist/plugin/provider/lmstudio.js +122 -122
  528. package/dist/plugin/provider/modal.js +92 -92
  529. package/dist/plugin/provider/nvidia.js +1 -1
  530. package/dist/plugin/provider/ollama.js +122 -122
  531. package/dist/plugin/provider/openai.js +92 -92
  532. package/dist/plugin/provider/opencode.js +95 -95
  533. package/dist/plugin/provider/openrouter.js +91 -91
  534. package/dist/plugin/provider/perplexity.js +2 -2
  535. package/dist/plugin/provider/poe.js +78 -78
  536. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  537. package/dist/plugin/provider/sap-ai-core.js +91 -91
  538. package/dist/plugin/provider/sdk-factory.js +1 -1
  539. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  540. package/dist/plugin/provider/venice.js +2 -2
  541. package/dist/plugin/provider/vercel.js +90 -90
  542. package/dist/plugin/provider/vllm.js +122 -122
  543. package/dist/plugin/provider/xai.js +91 -91
  544. package/dist/plugin/provider/zenmux.js +1 -1
  545. package/dist/plugin/provider.js +160 -160
  546. package/dist/plugin/sdk.js +76 -76
  547. package/dist/plugin/service.js +3 -3
  548. package/dist/plugin/skill.js +141 -141
  549. package/dist/plugin/source-directory.js +1 -1
  550. package/dist/plugin/supervisor.js +353 -353
  551. package/dist/plugin/tool-input-repair.js +4 -4
  552. package/dist/plugin/update.js +6 -6
  553. package/dist/plugin/vcs/git.js +86 -86
  554. package/dist/plugin/vcs/hg.js +86 -86
  555. package/dist/plugin/verbosity.js +93 -93
  556. package/dist/plugin/warming.js +121 -121
  557. package/dist/plugin/websearch/exa.js +7 -7
  558. package/dist/plugin/websearch/firecrawl.js +8 -8
  559. package/dist/plugin/websearch/index.js +9 -9
  560. package/dist/plugin/websearch/mcp.js +4 -4
  561. package/dist/plugin/websearch/parallel.js +8 -8
  562. package/dist/plugin/websearch/tavily.js +4 -4
  563. package/dist/plugin/websearch/tinyfish.js +6 -6
  564. package/dist/plugin.js +229 -229
  565. package/dist/project/schema.js +6 -6
  566. package/dist/project/sql.js +4 -4
  567. package/dist/project.js +88 -88
  568. package/dist/provider.js +97 -97
  569. package/dist/pty/protocol.js +1 -1
  570. package/dist/pty/schema.js +3 -3
  571. package/dist/pty/ticket.js +1 -1
  572. package/dist/pty.js +96 -96
  573. package/dist/reference/instructions.js +89 -89
  574. package/dist/reference.js +85 -85
  575. package/dist/repository-cache.js +81 -81
  576. package/dist/repository.js +1 -1
  577. package/dist/ripgrep/binary.js +2 -2
  578. package/dist/ripgrep.js +95 -95
  579. package/dist/rpc.js +86 -86
  580. package/dist/schema.js +1 -1
  581. package/dist/session/command.js +74 -74
  582. package/dist/session/compaction.js +134 -134
  583. package/dist/session/context.js +152 -152
  584. package/dist/session/diff.js +88 -88
  585. package/dist/session/environment.js +5 -5
  586. package/dist/session/error.js +7 -7
  587. package/dist/session/event.js +1 -1
  588. package/dist/session/execution/restart.js +224 -224
  589. package/dist/session/execution.js +128 -128
  590. package/dist/session/generate.js +151 -151
  591. package/dist/session/history.js +15 -15
  592. package/dist/session/inbox.js +88 -88
  593. package/dist/session/info.js +3 -3
  594. package/dist/session/instruction-entry.js +77 -77
  595. package/dist/session/instruction-state.js +8 -8
  596. package/dist/session/instructions.js +93 -93
  597. package/dist/session/message-updater.js +2 -2
  598. package/dist/session/message.js +1 -1
  599. package/dist/session/model-request.js +119 -119
  600. package/dist/session/model-transport.js +9 -9
  601. package/dist/session/move.js +130 -130
  602. package/dist/session/projector.js +86 -86
  603. package/dist/session/prompt.js +105 -105
  604. package/dist/session/provider-context.js +3 -3
  605. package/dist/session/revert.js +90 -90
  606. package/dist/session/run-coordinator.js +3 -3
  607. package/dist/session/runner/index.js +3 -3
  608. package/dist/session/runner/llm.js +231 -231
  609. package/dist/session/runner/max-steps.js +1 -1
  610. package/dist/session/runner/model.js +98 -98
  611. package/dist/session/runner/publish-llm-event.js +3 -3
  612. package/dist/session/runner/retry.js +114 -114
  613. package/dist/session/runner/step.js +126 -126
  614. package/dist/session/runner/to-llm-message.js +2 -2
  615. package/dist/session/schema.js +3 -3
  616. package/dist/session/session.js +170 -170
  617. package/dist/session/shell.js +138 -138
  618. package/dist/session/skill.js +103 -103
  619. package/dist/session/sql.js +5 -5
  620. package/dist/session/stats.js +73 -73
  621. package/dist/session/store.js +87 -87
  622. package/dist/session/subagent-completion.js +1 -1
  623. package/dist/session/subagent-job.js +210 -210
  624. package/dist/session/system-prompt.js +5 -5
  625. package/dist/session/title.js +156 -156
  626. package/dist/session/to-session-error.js +111 -111
  627. package/dist/session/transfer.js +220 -220
  628. package/dist/session/usage.js +1 -1
  629. package/dist/session.js +216 -216
  630. package/dist/shell/parse.js +6 -6
  631. package/dist/shell/result.js +1 -1
  632. package/dist/shell/scan.js +1 -1
  633. package/dist/shell/select.js +13 -13
  634. package/dist/shell.js +140 -140
  635. package/dist/skill/discovery.js +2 -2
  636. package/dist/skill/instructions.js +107 -107
  637. package/dist/skill.js +106 -106
  638. package/dist/snapshot.js +91 -91
  639. package/dist/state.js +1 -1
  640. package/dist/tool/html-markdown.js +1 -1
  641. package/dist/tool/http-body.js +1 -1
  642. package/dist/tool/mcp.js +123 -123
  643. package/dist/tool/plugin/edit.js +120 -120
  644. package/dist/tool/plugin/file-diff.js +1 -1
  645. package/dist/tool/plugin/glob.js +122 -122
  646. package/dist/tool/plugin/grep.js +122 -122
  647. package/dist/tool/plugin/mcp-resource.js +116 -116
  648. package/dist/tool/plugin/opencode.js +3 -3
  649. package/dist/tool/plugin/patch.js +120 -120
  650. package/dist/tool/plugin/question.js +101 -101
  651. package/dist/tool/plugin/read.js +125 -125
  652. package/dist/tool/plugin/shell.js +213 -213
  653. package/dist/tool/plugin/skill.js +113 -113
  654. package/dist/tool/plugin/subagent.js +219 -219
  655. package/dist/tool/plugin/webfetch.js +112 -112
  656. package/dist/tool/plugin/websearch.js +114 -114
  657. package/dist/tool/plugin/write.js +122 -122
  658. package/dist/tool/read-filesystem.js +100 -100
  659. package/dist/tool/runtime.js +1 -1
  660. package/dist/tool-output.js +8 -8
  661. package/dist/tool.js +12 -12
  662. package/dist/util/error-summary.js +1 -1
  663. package/dist/util/error.js +1 -1
  664. package/dist/util/git-executable.js +2 -2
  665. package/dist/util/iife.js +1 -1
  666. package/dist/util/lazy.js +1 -1
  667. package/dist/util/slug.js +1 -1
  668. package/dist/util/token.js +1 -1
  669. package/dist/util/which.js +1 -1
  670. package/dist/util/wildcard.js +1 -1
  671. package/dist/v1/config/agent.js +7 -7
  672. package/dist/v1/config/attachment.js +4 -4
  673. package/dist/v1/config/command.js +5 -5
  674. package/dist/v1/config/config.js +16 -16
  675. package/dist/v1/config/error.js +4 -4
  676. package/dist/v1/config/formatter.js +5 -5
  677. package/dist/v1/config/layout.js +1 -1
  678. package/dist/v1/config/lsp.js +3 -3
  679. package/dist/v1/config/mcp.js +4 -4
  680. package/dist/v1/config/migrate.js +92 -92
  681. package/dist/v1/config/permission.js +7 -7
  682. package/dist/v1/config/plugin.js +3 -3
  683. package/dist/v1/config/provider-options.js +1 -1
  684. package/dist/v1/config/provider.js +4 -4
  685. package/dist/v1/config/server.js +2 -2
  686. package/dist/v1/config/skills.js +3 -3
  687. package/dist/v1/permission.js +1 -1
  688. package/dist/variant.js +91 -91
  689. package/dist/vcs/patch.js +1 -1
  690. package/dist/vcs.js +89 -89
  691. package/dist/websearch.js +82 -82
  692. package/dist/wellknown/plugin.js +76 -76
  693. package/dist/wellknown.js +79 -79
  694. package/dist/workspace/driver.js +3 -3
  695. package/dist/workspace/sql.js +1 -1
  696. package/dist/workspace.js +80 -80
  697. package/dist/worktree/directory.js +2 -2
  698. package/dist/worktree/git.js +8 -8
  699. package/dist/worktree/sql.js +5 -5
  700. package/dist/worktree/strategies.js +89 -89
  701. package/dist/worktree.js +98 -98
  702. package/package.json +8 -8
  703. package/dist/chunks/model-resolver-6kdq0pjd.js +0 -4
  704. package/dist/chunks/model-resolver-9sh4wc5j.js +0 -18
  705. package/dist/chunks/model-resolver-as3mn4aa.js +0 -252
  706. package/dist/chunks/model-resolver-nf75hyxw.js +0 -26
  707. package/dist/chunks/model-resolver-z8ynyk0a.js +0 -511
  708. /package/dist/chunks/{model-resolver-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
  709. /package/dist/chunks/{model-resolver-0zkw76rk.js → session-0zkw76rk.js} +0 -0
  710. /package/dist/chunks/{model-resolver-17cy0kzp.js → session-17cy0kzp.js} +0 -0
  711. /package/dist/chunks/{model-resolver-1cnp2v09.js → session-1cnp2v09.js} +0 -0
  712. /package/dist/chunks/{model-resolver-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
  713. /package/dist/chunks/{model-resolver-24dcb14g.js → session-24dcb14g.js} +0 -0
  714. /package/dist/chunks/{model-resolver-2710q6r3.js → session-2710q6r3.js} +0 -0
  715. /package/dist/chunks/{model-resolver-2axfhc9x.js → session-2axfhc9x.js} +0 -0
  716. /package/dist/chunks/{model-resolver-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
  717. /package/dist/chunks/{model-resolver-34c7v6d4.js → session-34c7v6d4.js} +0 -0
  718. /package/dist/chunks/{model-resolver-359p4xyc.js → session-359p4xyc.js} +0 -0
  719. /package/dist/chunks/{model-resolver-3asan66x.js → session-3asan66x.js} +0 -0
  720. /package/dist/chunks/{model-resolver-3v8g72cx.js → session-3v8g72cx.js} +0 -0
  721. /package/dist/chunks/{model-resolver-3w5fmr99.js → session-3w5fmr99.js} +0 -0
  722. /package/dist/chunks/{model-resolver-3wcehsnq.js → session-3wcehsnq.js} +0 -0
  723. /package/dist/chunks/{model-resolver-43n2bw4t.js → session-43n2bw4t.js} +0 -0
  724. /package/dist/chunks/{model-resolver-4knz6hnm.js → session-4knz6hnm.js} +0 -0
  725. /package/dist/chunks/{model-resolver-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
  726. /package/dist/chunks/{model-resolver-4y7fprxs.js → session-4y7fprxs.js} +0 -0
  727. /package/dist/chunks/{model-resolver-53557ph1.js → session-53557ph1.js} +0 -0
  728. /package/dist/chunks/{model-resolver-550bvhaj.js → session-550bvhaj.js} +0 -0
  729. /package/dist/chunks/{model-resolver-6prwharc.js → session-6prwharc.js} +0 -0
  730. /package/dist/chunks/{model-resolver-7akdwqpd.js → session-7akdwqpd.js} +0 -0
  731. /package/dist/chunks/{model-resolver-7m9af43g.js → session-7m9af43g.js} +0 -0
  732. /package/dist/chunks/{model-resolver-822emrt2.js → session-822emrt2.js} +0 -0
  733. /package/dist/chunks/{model-resolver-88xbtdfr.js → session-88xbtdfr.js} +0 -0
  734. /package/dist/chunks/{model-resolver-8n3pysct.js → session-8n3pysct.js} +0 -0
  735. /package/dist/chunks/{model-resolver-8wj87zfr.js → session-8wj87zfr.js} +0 -0
  736. /package/dist/chunks/{model-resolver-922hggd3.js → session-922hggd3.js} +0 -0
  737. /package/dist/chunks/{model-resolver-9a4afbnw.js → session-9a4afbnw.js} +0 -0
  738. /package/dist/chunks/{model-resolver-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
  739. /package/dist/chunks/{model-resolver-a6k6eb26.js → session-a6k6eb26.js} +0 -0
  740. /package/dist/chunks/{model-resolver-af5trqkr.js → session-af5trqkr.js} +0 -0
  741. /package/dist/chunks/{model-resolver-afrmfg78.js → session-afrmfg78.js} +0 -0
  742. /package/dist/chunks/{model-resolver-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
  743. /package/dist/chunks/{model-resolver-atq7p7m5.js → session-atq7p7m5.js} +0 -0
  744. /package/dist/chunks/{model-resolver-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
  745. /package/dist/chunks/{model-resolver-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
  746. /package/dist/chunks/{model-resolver-cf4snx6d.js → session-cf4snx6d.js} +0 -0
  747. /package/dist/chunks/{model-resolver-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
  748. /package/dist/chunks/{model-resolver-d9fn303g.js → session-d9fn303g.js} +0 -0
  749. /package/dist/chunks/{model-resolver-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
  750. /package/dist/chunks/{model-resolver-dajrwvna.js → session-dajrwvna.js} +0 -0
  751. /package/dist/chunks/{model-resolver-dap0rakb.js → session-dap0rakb.js} +0 -0
  752. /package/dist/chunks/{model-resolver-df08tz66.js → session-df08tz66.js} +0 -0
  753. /package/dist/chunks/{model-resolver-dy18nga0.js → session-dy18nga0.js} +0 -0
  754. /package/dist/chunks/{model-resolver-e5kj55wp.js → session-e5kj55wp.js} +0 -0
  755. /package/dist/chunks/{model-resolver-e73j6tqm.js → session-e73j6tqm.js} +0 -0
  756. /package/dist/chunks/{model-resolver-ec1grn59.js → session-ec1grn59.js} +0 -0
  757. /package/dist/chunks/{model-resolver-eh3zwz77.js → session-eh3zwz77.js} +0 -0
  758. /package/dist/chunks/{model-resolver-emrn6kk6.js → session-emrn6kk6.js} +0 -0
  759. /package/dist/chunks/{model-resolver-f0mxakyp.js → session-f0mxakyp.js} +0 -0
  760. /package/dist/chunks/{model-resolver-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
  761. /package/dist/chunks/{model-resolver-faypxj3z.js → session-faypxj3z.js} +0 -0
  762. /package/dist/chunks/{model-resolver-fd410y7t.js → session-fd410y7t.js} +0 -0
  763. /package/dist/chunks/{model-resolver-fxgpk5d8.js → session-fxgpk5d8.js} +0 -0
  764. /package/dist/chunks/{model-resolver-g4wezp1m.js → session-g4wezp1m.js} +0 -0
  765. /package/dist/chunks/{model-resolver-g86h250q.js → session-g86h250q.js} +0 -0
  766. /package/dist/chunks/{model-resolver-gebd4c9n.js → session-gebd4c9n.js} +0 -0
  767. /package/dist/chunks/{model-resolver-gftt206x.js → session-gftt206x.js} +0 -0
  768. /package/dist/chunks/{model-resolver-hjbc5kem.js → session-hjbc5kem.js} +0 -0
  769. /package/dist/chunks/{model-resolver-hk9envan.js → session-hk9envan.js} +0 -0
  770. /package/dist/chunks/{model-resolver-j2ntwpah.js → session-j2ntwpah.js} +0 -0
  771. /package/dist/chunks/{model-resolver-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
  772. /package/dist/chunks/{model-resolver-jjkms2e6.js → session-jjkms2e6.js} +0 -0
  773. /package/dist/chunks/{model-resolver-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
  774. /package/dist/chunks/{model-resolver-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
  775. /package/dist/chunks/{model-resolver-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
  776. /package/dist/chunks/{model-resolver-mp448xyj.js → session-mp448xyj.js} +0 -0
  777. /package/dist/chunks/{model-resolver-msx8hqn2.js → session-msx8hqn2.js} +0 -0
  778. /package/dist/chunks/{model-resolver-n05xt0ee.js → session-n05xt0ee.js} +0 -0
  779. /package/dist/chunks/{model-resolver-n3j8tn72.js → session-n3j8tn72.js} +0 -0
  780. /package/dist/chunks/{model-resolver-njntx4h6.js → session-njntx4h6.js} +0 -0
  781. /package/dist/chunks/{model-resolver-q3sfg36h.js → session-q3sfg36h.js} +0 -0
  782. /package/dist/chunks/{model-resolver-q74kybfr.js → session-q74kybfr.js} +0 -0
  783. /package/dist/chunks/{model-resolver-qaymkmh1.js → session-qaymkmh1.js} +0 -0
  784. /package/dist/chunks/{model-resolver-qb87gjwd.js → session-qb87gjwd.js} +0 -0
  785. /package/dist/chunks/{model-resolver-qfa1cgps.js → session-qfa1cgps.js} +0 -0
  786. /package/dist/chunks/{model-resolver-qg3g05ea.js → session-qg3g05ea.js} +0 -0
  787. /package/dist/chunks/{model-resolver-qrg20bc0.js → session-qrg20bc0.js} +0 -0
  788. /package/dist/chunks/{model-resolver-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
  789. /package/dist/chunks/{model-resolver-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
  790. /package/dist/chunks/{model-resolver-sk3qaz4a.js → session-sk3qaz4a.js} +0 -0
  791. /package/dist/chunks/{model-resolver-ssg3fenm.js → session-ssg3fenm.js} +0 -0
  792. /package/dist/chunks/{model-resolver-w803qqfp.js → session-w803qqfp.js} +0 -0
  793. /package/dist/chunks/{model-resolver-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
  794. /package/dist/chunks/{model-resolver-wer8tq1h.js → session-wer8tq1h.js} +0 -0
  795. /package/dist/chunks/{model-resolver-wtztk69x.js → session-wtztk69x.js} +0 -0
  796. /package/dist/chunks/{model-resolver-x0ckcb58.js → session-x0ckcb58.js} +0 -0
  797. /package/dist/chunks/{model-resolver-x61499pn.js → session-x61499pn.js} +0 -0
  798. /package/dist/chunks/{model-resolver-y44na4kk.js → session-y44na4kk.js} +0 -0
  799. /package/dist/chunks/{model-resolver-y8cydn3q.js → session-y8cydn3q.js} +0 -0
  800. /package/dist/chunks/{model-resolver-y8f7s663.js → session-y8f7s663.js} +0 -0
  801. /package/dist/chunks/{model-resolver-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
  802. /package/dist/chunks/{model-resolver-ym463w8f.js → session-ym463w8f.js} +0 -0
  803. /package/dist/chunks/{model-resolver-z9919s4g.js → session-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./session-922hggd3.js";
4
4
  import {
5
5
  Service84,
6
6
  node88
7
- } from "./model-resolver-m5m12nva.js";
7
+ } from "./session-0etr5837.js";
8
8
  import {
9
- Service82,
10
- node85
11
- } from "./model-resolver-4c5t4vfv.js";
9
+ Service83,
10
+ node87
11
+ } from "./session-asdxbhk9.js";
12
12
  import {
13
- Service81,
14
- node84
15
- } from "./model-resolver-azeyjv65.js";
13
+ Service82,
14
+ node86
15
+ } from "./session-vy4zg7qh.js";
16
16
  import {
17
- ID17,
17
+ ID18,
18
18
  Current3,
19
- Info33,
19
+ Info34,
20
20
  UpdateInput4,
21
21
  Event21,
22
22
  Vcs3
23
- } from "./model-resolver-4sn99hha.js";
23
+ } from "./session-57ez7d0k.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./model-resolver-wd3x2cqz.js";
27
+ } from "./session-psazpmmj.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./model-resolver-94ek1h2f.js";
30
+ } from "./session-gfvb90ym.js";
31
31
  import {
32
32
  __export
33
- } from "./model-resolver-9rqn6x4v.js";
33
+ } from "./session-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID16,
40
- Info: () => Info32,
39
+ ID: () => ID17,
40
+ Info: () => Info33,
41
41
  NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service80,
43
+ Service: () => Service81,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node83,
46
+ node: () => node85,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID16 = ID17;
58
+ var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info32 = Info33;
61
+ var Info33 = Info34;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
64
  class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID16
65
+ projectID: ID17
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
72
72
  });
73
73
  var ACTIVATE_INTERVAL = 60000;
74
74
 
75
- class Service80 extends Context.Service()("@opencode/Project") {
75
+ class Service81 extends Context.Service()("@opencode/Project") {
76
76
  }
77
77
  function fromRow(row) {
78
78
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -95,11 +95,11 @@ function fromRow(row) {
95
95
  sandboxes: row.sandboxes
96
96
  };
97
97
  }
98
- var layer = Layer.effect(Service80, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
- const git = yield* Service81;
100
+ const git = yield* Service82;
101
101
  const proc = yield* AppProcess.Service;
102
- const bus = yield* Service82;
102
+ const bus = yield* Service83;
103
103
  const db = (yield* Service84).db;
104
104
  const announcing = new Set;
105
105
  const persist = Effect.fnUntraced(function* (project) {
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
145
145
  yield* bus.publish(Worktree.Event.Resolved, {
146
146
  projectID: item.projectID,
147
147
  directory: item.directory,
148
- previous: project.previous ?? ID16.global,
148
+ previous: project.previous ?? ID17.global,
149
149
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
150
150
  }, {
151
151
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
184
184
  yield* bus.publish(Event21.Updated, fromRow(row));
185
185
  });
186
186
  const cached = Effect.fnUntraced(function* (dir) {
187
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
187
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
188
188
  return;
189
189
  }));
190
190
  });
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
195
195
  const normalized = url(origin);
196
196
  if (!normalized)
197
197
  return;
198
- return ID16.make(Hash.fast(`git-remote:${normalized}`));
198
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
199
199
  });
200
200
  function url(input) {
201
201
  const value = input.trim();
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
220
220
  }
221
221
  const rootCommit = Effect.fnUntraced(function* (repo) {
222
222
  const root = (yield* git.history.rootCommits(repo))[0];
223
- return root ? ID16.make(root) : undefined;
223
+ return root ? ID17.make(root) : undefined;
224
224
  });
225
225
  const hgRoot = Effect.fnUntraced(function* (worktree) {
226
226
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
236
236
  return;
237
237
  const node = result.stdout.toString("utf8").split(`
238
238
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
239
- return node ? ID16.make(node) : undefined;
239
+ return node ? ID17.make(node) : undefined;
240
240
  });
241
241
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
242
242
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
245
245
  const id = previous ?? (yield* hgRoot(worktree));
246
246
  return {
247
247
  previous,
248
- id: id ?? ID16.global,
248
+ id: id ?? ID17.global,
249
249
  directory: worktree,
250
250
  vcs: { type: "hg", store }
251
251
  };
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
262
262
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
263
263
  return yield* persist({
264
264
  previous,
265
- id: id ?? ID16.global,
265
+ id: id ?? ID17.global,
266
266
  directory: repo.worktree,
267
267
  canonical,
268
268
  vcs: { type: "git", store: repo.commonDirectory }
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
276
276
  });
277
277
  }
278
278
  return yield* persist({
279
- id: ID16.make(Hash.fast(`directory:${directory}`)),
279
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
280
280
  directory,
281
281
  canonical: directory,
282
282
  vcs: undefined
283
283
  });
284
284
  });
285
- return Service80.of({ list, update, activate, resolve });
285
+ return Service81.of({ list, update, activate, resolve });
286
286
  }));
287
- var node83 = makeGlobalNode({
288
- service: Service80,
287
+ var node85 = makeGlobalNode({
288
+ service: Service81,
289
289
  layer,
290
- deps: [node85, node88, FSUtil.node, node84, AppProcess.node]
290
+ deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
291
291
  });
292
292
 
293
- export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service80, node83, exports_project };
293
+ export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./session-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./model-resolver-50mzsvk4.js";
6
+ } from "./session-axmvebxj.js";
7
7
  import {
8
- Info13
9
- } from "./model-resolver-nbzsj80d.js";
10
- import {
11
- Info18
12
- } from "./model-resolver-2f0bjgcj.js";
8
+ Info14
9
+ } from "./session-4sh8yqy7.js";
13
10
  import {
14
- Info15
15
- } from "./model-resolver-g8d3gcyj.js";
11
+ Info16
12
+ } from "./session-3cfzdc8e.js";
16
13
  import {
17
14
  Info17
18
- } from "./model-resolver-yt0fqk68.js";
15
+ } from "./session-fm2qvscf.js";
16
+ import {
17
+ Info20
18
+ } from "./session-ead3g9p8.js";
19
19
  import {
20
20
  Spec2
21
- } from "./model-resolver-2k8khapm.js";
21
+ } from "./session-7dqw4kz8.js";
22
22
  import {
23
- Info11
24
- } from "./model-resolver-yjptyezs.js";
23
+ Info18
24
+ } from "./session-jv01nqvq.js";
25
25
  import {
26
- Info9
27
- } from "./model-resolver-gcg1yrj4.js";
26
+ Info13
27
+ } from "./session-8y47sz6y.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./model-resolver-typghqfk.js";
36
+ } from "./session-kxzgz6qj.js";
37
37
  import {
38
38
  __export
39
- } from "./model-resolver-9rqn6x4v.js";
39
+ } from "./session-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info13.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info18, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info16, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info15, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info17, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info14, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info14, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info17, value, path, diagnostics);
228
+ const server = decodeValue(Info20, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info11, raw, path, diagnostics);
424
+ const provider = decodeValue(Info18, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service82,
3
- node85
4
- } from "./model-resolver-4c5t4vfv.js";
2
+ Service83,
3
+ node87
4
+ } from "./session-asdxbhk9.js";
5
5
  import {
6
- Service42,
7
- node45
8
- } from "./model-resolver-9g2t5fv6.js";
6
+ Service41,
7
+ node44
8
+ } from "./session-mj7jap7m.js";
9
9
  import {
10
- Service57,
11
- node59
12
- } from "./model-resolver-t1gsh4a5.js";
10
+ Service55,
11
+ node58
12
+ } from "./session-7vpargwy.js";
13
13
  import {
14
- Service75,
15
- node78
16
- } from "./model-resolver-zv1jk2zx.js";
14
+ Service49,
15
+ node51
16
+ } from "./session-teeeetwt.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./session-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service41,
25
+ Service: () => Service40,
26
26
  layer: () => layer15,
27
27
  name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node44
29
+ node: () => node43
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service41 extends Context.Service()("@opencode/McpTool") {
38
+ class Service40 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer15 = Layer.effect(Service41, Effect.gen(function* () {
41
- const mcp = yield* Service42;
42
- const tools = yield* Service75;
43
- const bus = yield* Service82;
44
- const permission = yield* Service57;
40
+ var layer15 = Layer.effect(Service40, Effect.gen(function* () {
41
+ const mcp = yield* Service41;
42
+ const tools = yield* Service49;
43
+ const bus = yield* Service83;
44
+ const permission = yield* Service55;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -118,12 +118,12 @@ var layer15 = Layer.effect(Service41, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service41.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service40.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node44 = makeLocationNode({
124
- service: Service41,
123
+ var node43 = makeLocationNode({
124
+ service: Service40,
125
125
  layer: layer15,
126
- deps: [node78, node45, node85, node59]
126
+ deps: [node51, node44, node87, node58]
127
127
  });
128
128
 
129
- export { namespace2, name14, Service41, layer15, node44, exports_mcp3 };
129
+ export { namespace2, name14, Service40, layer15, node43, exports_mcp3 };
@@ -1,147 +1,147 @@
1
1
  import {
2
2
  _20260127222353_familiar_lady_ursula_default
3
- } from "./model-resolver-jzg6c2d5.js";
3
+ } from "./session-jzg6c2d5.js";
4
4
  import {
5
5
  _20260211171708_add_project_commands_default
6
- } from "./model-resolver-q3sfg36h.js";
6
+ } from "./session-q3sfg36h.js";
7
7
  import {
8
8
  _20260213144116_wakeful_the_professor_default
9
- } from "./model-resolver-1cnp2v09.js";
9
+ } from "./session-1cnp2v09.js";
10
10
  import {
11
11
  _20260225215848_workspace_default
12
- } from "./model-resolver-rcb2kzg1.js";
12
+ } from "./session-rcb2kzg1.js";
13
13
  import {
14
14
  _20260227213759_add_session_workspace_id_default
15
- } from "./model-resolver-msx8hqn2.js";
15
+ } from "./session-msx8hqn2.js";
16
16
  import {
17
17
  _20260228203230_blue_harpoon_default
18
- } from "./model-resolver-bkyjaxrp.js";
18
+ } from "./session-bkyjaxrp.js";
19
19
  import {
20
20
  _20260303231226_add_workspace_fields_default
21
- } from "./model-resolver-g86h250q.js";
21
+ } from "./session-g86h250q.js";
22
22
  import {
23
23
  _20260309230000_move_org_to_state_default
24
- } from "./model-resolver-jr7sbwjy.js";
24
+ } from "./session-jr7sbwjy.js";
25
25
  import {
26
26
  _20260312043431_session_message_cursor_default
27
- } from "./model-resolver-7m9af43g.js";
27
+ } from "./session-7m9af43g.js";
28
28
  import {
29
29
  _20260323234822_events_default
30
- } from "./model-resolver-j2ntwpah.js";
30
+ } from "./session-j2ntwpah.js";
31
31
  import {
32
32
  _20260410174513_workspace_name_default
33
- } from "./model-resolver-njntx4h6.js";
33
+ } from "./session-njntx4h6.js";
34
34
  import {
35
35
  _20260413175956_chief_energizer_default
36
- } from "./model-resolver-qrg20bc0.js";
36
+ } from "./session-qrg20bc0.js";
37
37
  import {
38
38
  _20260423070820_add_icon_url_override_default
39
- } from "./model-resolver-z9919s4g.js";
39
+ } from "./session-z9919s4g.js";
40
40
  import {
41
41
  _20260427172553_slow_nightmare_default
42
- } from "./model-resolver-43n2bw4t.js";
42
+ } from "./session-43n2bw4t.js";
43
43
  import {
44
44
  _20260428004200_add_session_path_default
45
- } from "./model-resolver-n3j8tn72.js";
45
+ } from "./session-n3j8tn72.js";
46
46
  import {
47
47
  _20260501142318_next_venus_default
48
- } from "./model-resolver-d9jj8t3e.js";
48
+ } from "./session-d9jj8t3e.js";
49
49
  import {
50
50
  _20260504145000_add_sync_owner_default
51
- } from "./model-resolver-fd410y7t.js";
51
+ } from "./session-fd410y7t.js";
52
52
  import {
53
53
  _20260507164347_add_workspace_time_default
54
- } from "./model-resolver-e5kj55wp.js";
54
+ } from "./session-e5kj55wp.js";
55
55
  import {
56
56
  _20260510033149_session_usage_default
57
- } from "./model-resolver-f6n9ztr4.js";
57
+ } from "./session-f6n9ztr4.js";
58
58
  import {
59
59
  _20260511000411_data_migration_state_default
60
- } from "./model-resolver-q74kybfr.js";
60
+ } from "./session-q74kybfr.js";
61
61
  import {
62
62
  _20260511173437_session_metadata_default
63
- } from "./model-resolver-53557ph1.js";
63
+ } from "./session-53557ph1.js";
64
64
  import {
65
65
  _20260601010001_normalize_storage_paths_default
66
- } from "./model-resolver-7akdwqpd.js";
66
+ } from "./session-7akdwqpd.js";
67
67
  import {
68
68
  _20260601202201_amazing_prowler_default
69
- } from "./model-resolver-wer8tq1h.js";
69
+ } from "./session-wer8tq1h.js";
70
70
  import {
71
71
  _20260602002951_lowly_union_jack_default
72
- } from "./model-resolver-wtztk69x.js";
72
+ } from "./session-wtztk69x.js";
73
73
  import {
74
74
  _20260602182828_add_project_directories_default
75
- } from "./model-resolver-ssg3fenm.js";
75
+ } from "./session-ssg3fenm.js";
76
76
  import {
77
77
  _20260603001617_session_message_projection_indexes_default
78
- } from "./model-resolver-2c3vjs8z.js";
78
+ } from "./session-2c3vjs8z.js";
79
79
  import {
80
80
  _20260603040000_session_message_projection_order_default
81
- } from "./model-resolver-17cy0kzp.js";
81
+ } from "./session-17cy0kzp.js";
82
82
  import {
83
83
  _20260603141458_session_input_inbox_default
84
- } from "./model-resolver-hk9envan.js";
84
+ } from "./session-hk9envan.js";
85
85
  import {
86
86
  _20260603160727_jittery_ezekiel_stane_default
87
- } from "./model-resolver-w803qqfp.js";
87
+ } from "./session-w803qqfp.js";
88
88
  import {
89
89
  _20260604172448_event_sourced_session_input_default
90
- } from "./model-resolver-jwfs4k6c.js";
90
+ } from "./session-jwfs4k6c.js";
91
91
  import {
92
92
  _20260605003541_add_session_context_snapshot_default
93
- } from "./model-resolver-mp448xyj.js";
93
+ } from "./session-mp448xyj.js";
94
94
  import {
95
95
  _20260605042240_add_context_epoch_agent_default
96
- } from "./model-resolver-aqzs7mqg.js";
96
+ } from "./session-aqzs7mqg.js";
97
97
  import {
98
98
  _20260611035744_credential_default
99
- } from "./model-resolver-ygaqb7jw.js";
99
+ } from "./session-ygaqb7jw.js";
100
100
  import {
101
101
  _20260611192811_lush_chimera_default
102
- } from "./model-resolver-8n3pysct.js";
102
+ } from "./session-8n3pysct.js";
103
103
  import {
104
104
  _20260612174303_project_dir_strategy_default
105
- } from "./model-resolver-d9fn303g.js";
105
+ } from "./session-d9fn303g.js";
106
106
  import {
107
107
  _20260622142730_simplify_session_context_epoch_default
108
- } from "./model-resolver-cvy3z8tj.js";
108
+ } from "./session-cvy3z8tj.js";
109
109
  import {
110
110
  _20260622170816_reset_v2_session_state_default
111
- } from "./model-resolver-9a4afbnw.js";
111
+ } from "./session-9a4afbnw.js";
112
112
  import {
113
113
  _20260622202450_simplify_session_input_default
114
- } from "./model-resolver-n05xt0ee.js";
114
+ } from "./session-n05xt0ee.js";
115
115
  import {
116
116
  _20260804233008_loose_psylocke_default
117
- } from "./model-resolver-sdp7kfr6.js";
117
+ } from "./session-sdp7kfr6.js";
118
118
  import {
119
119
  _20260805200742_import_legacy_credentials_default
120
- } from "./model-resolver-a6k6eb26.js";
120
+ } from "./session-a6k6eb26.js";
121
121
  import {
122
122
  _20260808023530_workspace_domain_default
123
- } from "./model-resolver-4knz6hnm.js";
123
+ } from "./session-4knz6hnm.js";
124
124
  import {
125
125
  _20260811161259_execution_claim_attempts_default
126
- } from "./model-resolver-df08tz66.js";
126
+ } from "./session-df08tz66.js";
127
127
  import {
128
128
  _20260812181746_session_inbox_default
129
- } from "./model-resolver-bmr6ed5q.js";
129
+ } from "./session-bmr6ed5q.js";
130
130
  import {
131
131
  _20260812213948_worktree_default
132
- } from "./model-resolver-atq7p7m5.js";
132
+ } from "./session-atq7p7m5.js";
133
133
  import {
134
134
  _20260819222447_session_viewed_state_default
135
- } from "./model-resolver-qb87gjwd.js";
135
+ } from "./session-qb87gjwd.js";
136
136
  import {
137
137
  _20260823191254_nullable_workspace_binding_default
138
- } from "./model-resolver-359p4xyc.js";
138
+ } from "./session-359p4xyc.js";
139
139
  import {
140
140
  _20260910120000_clear_v1_session_permission_default
141
- } from "./model-resolver-y8f7s663.js";
141
+ } from "./session-y8f7s663.js";
142
142
  import {
143
143
  _20260923013825_project_time_active_default
144
- } from "./model-resolver-8wj87zfr.js";
144
+ } from "./session-8wj87zfr.js";
145
145
 
146
146
  // src/database/migration.gen.ts
147
147
  var migrations2 = [
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./model-resolver-t1gsh4a5.js";
3
+ } from "./session-7vpargwy.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./session-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin28
12
+ Plugin: () => Plugin46
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin28 = define({
32
+ var Plugin46 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin28, exports_plan };
109
+ export { Plugin46, exports_plan };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service5,
9
+ Service: () => Service6,
10
10
  bound: () => bound2,
11
- node: () => node6
11
+ node: () => node8
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service5 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service6 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node6 = makeLocationNode({
19
- service: Service5,
18
+ var node8 = makeLocationNode({
19
+ service: Service6,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
29
+ return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service5, node6, bound2, exports_instance2 };
32
+ export { Service6, node8, bound2, exports_instance2 };