@opencode/core 0.0.0-dev-1299 → 0.0.0-dev-1302

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 (927) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +95 -95
  3. package/dist/aisdk-native.js +1 -1
  4. package/dist/aisdk.js +110 -110
  5. package/dist/app.js +9 -9
  6. package/dist/artifact.js +247 -247
  7. package/dist/blob-store.js +23 -0
  8. package/dist/bus.js +85 -85
  9. package/dist/chunks/{reference-034tev2y.js → state-034tev2y.js} +2 -2
  10. package/dist/chunks/{reference-xnmsq12f.js → state-03zcay0f.js} +14 -14
  11. package/dist/chunks/{reference-tvhyfeqf.js → state-0a1fqkme.js} +12 -12
  12. package/dist/chunks/{reference-fw5b8w2v.js → state-0bwvvqg2.js} +12 -12
  13. package/dist/chunks/{reference-g3928a0r.js → state-0fefy2sy.js} +8 -8
  14. package/dist/chunks/{reference-0fvxehme.js → state-0fvxehme.js} +2 -2
  15. package/dist/chunks/{reference-9exxy594.js → state-0ga6tp8v.js} +12 -12
  16. package/dist/chunks/{reference-byg3evpx.js → state-0khhg20c.js} +2 -2
  17. package/dist/chunks/{reference-wwwafkx4.js → state-0s7pt9sr.js} +18 -18
  18. package/dist/chunks/{reference-bx20ef8w.js → state-0vmvgrfq.js} +39 -39
  19. package/dist/chunks/{reference-ptst5q5b.js → state-0zzg84yj.js} +15 -10
  20. package/dist/chunks/{reference-f83rra1p.js → state-12fdgkdc.js} +17 -17
  21. package/dist/chunks/{reference-p5tk1xdz.js → state-18b1hh0p.js} +9 -9
  22. package/dist/chunks/{reference-vrcqvppy.js → state-1999mk9j.js} +3 -3
  23. package/dist/chunks/{reference-3cj79q64.js → state-1a8sbnjz.js} +29 -29
  24. package/dist/chunks/{reference-1aqsckx4.js → state-1aqsckx4.js} +1 -1
  25. package/dist/chunks/{reference-1ep2p91f.js → state-1ep2p91f.js} +2 -2
  26. package/dist/chunks/{reference-x99rj23t.js → state-1f7bherr.js} +5 -5
  27. package/dist/chunks/{reference-8b1fnpp4.js → state-1h45f7t3.js} +2 -2
  28. package/dist/chunks/{reference-k8ym5mz8.js → state-1r9x5jy1.js} +25 -25
  29. package/dist/chunks/{reference-s95kd71e.js → state-1tv0rdrh.js} +5 -5
  30. package/dist/chunks/{reference-cykhyy0b.js → state-1wmcyv3n.js} +21 -21
  31. package/dist/chunks/{reference-1x2knyw4.js → state-1x2knyw4.js} +1 -1
  32. package/dist/chunks/{reference-1yq9hg58.js → state-1yq9hg58.js} +1 -1
  33. package/dist/chunks/{reference-4ppd04am.js → state-252v1245.js} +25 -25
  34. package/dist/chunks/{reference-26wfx3k0.js → state-26wfx3k0.js} +1 -1
  35. package/dist/chunks/{reference-kmdfewpn.js → state-27mv501c.js} +13 -13
  36. package/dist/chunks/{reference-vfpwj1z9.js → state-29b2jdhg.js} +17 -17
  37. package/dist/chunks/{reference-r3dyarc0.js → state-29bb1z5w.js} +19 -19
  38. package/dist/chunks/{reference-646ec68m.js → state-2ef8h96f.js} +89 -89
  39. package/dist/chunks/{reference-qt06qqgg.js → state-2esx615e.js} +15 -15
  40. package/dist/chunks/{reference-77gyrf4e.js → state-2f6z8mkj.js} +16 -16
  41. package/dist/chunks/{reference-2fc7eemy.js → state-2fc7eemy.js} +1 -1
  42. package/dist/chunks/{reference-2prt43t7.js → state-2prt43t7.js} +1 -1
  43. package/dist/chunks/{reference-m625wzge.js → state-2s5t5rf6.js} +26 -26
  44. package/dist/chunks/{reference-p6btpwxy.js → state-2y4kj1nk.js} +36 -36
  45. package/dist/chunks/{reference-5cqcj65p.js → state-2z7yzjmq.js} +10 -10
  46. package/dist/chunks/{reference-6gfzdxma.js → state-34q69jav.js} +15 -15
  47. package/dist/chunks/{reference-m6cfdtf3.js → state-365eavge.js} +4 -4
  48. package/dist/chunks/{reference-anvcme1c.js → state-38aws4xb.js} +4 -4
  49. package/dist/chunks/{reference-3adw4bt5.js → state-3adw4bt5.js} +2 -2
  50. package/dist/chunks/{reference-btz4vdf2.js → state-3ex1ss0s.js} +9 -9
  51. package/dist/chunks/{reference-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  52. package/dist/chunks/{reference-9e10291s.js → state-3mcw4x93.js} +3 -3
  53. package/dist/chunks/{reference-3nnrz6f6.js → state-3nnrz6f6.js} +1 -1
  54. package/dist/chunks/{reference-ffz5mdja.js → state-3vteg2f2.js} +20 -20
  55. package/dist/chunks/{reference-40y6dtc2.js → state-40y6dtc2.js} +1 -1
  56. package/dist/chunks/{reference-5enarcya.js → state-40za9wsf.js} +6 -6
  57. package/dist/chunks/{reference-4bde0nmr.js → state-44yrm8qh.js} +4 -4
  58. package/dist/chunks/{reference-15bt4k80.js → state-477xcvvv.js} +34 -34
  59. package/dist/chunks/{reference-9n8tnhz2.js → state-49hehw0c.js} +18 -18
  60. package/dist/chunks/{reference-4dx1dgte.js → state-4dx1dgte.js} +1 -1
  61. package/dist/chunks/{reference-4f25tdd0.js → state-4f25tdd0.js} +1 -1
  62. package/dist/chunks/{reference-etrnj9s7.js → state-4g28f8pt.js} +11 -11
  63. package/dist/chunks/{reference-f1vhs7g6.js → state-4hr7fwjv.js} +5 -5
  64. package/dist/chunks/{reference-5kvw8a0x.js → state-4m38r76j.js} +51 -45
  65. package/dist/chunks/{reference-4v008n1t.js → state-4v008n1t.js} +1 -1
  66. package/dist/chunks/{reference-s3hzycef.js → state-4wng0tzc.js} +7 -7
  67. package/dist/chunks/{reference-kyarcgap.js → state-4x4k8yz9.js} +39 -39
  68. package/dist/chunks/{reference-2wa1kc21.js → state-5czk7f01.js} +52 -66
  69. package/dist/chunks/{reference-f561ag7y.js → state-5d9z4kbg.js} +33 -33
  70. package/dist/chunks/{reference-j9wsckqw.js → state-5hqtyxmr.js} +4 -4
  71. package/dist/chunks/{reference-895rbha0.js → state-5jgveppj.js} +30 -30
  72. package/dist/chunks/{reference-p315n7wk.js → state-5kxfz8sh.js} +5 -5
  73. package/dist/chunks/{reference-5m9w47nd.js → state-5m9w47nd.js} +1 -1
  74. package/dist/chunks/{reference-5rf5fny6.js → state-5q43kaf5.js} +18 -18
  75. package/dist/chunks/{reference-sk5qsbcw.js → state-5s00fg7y.js} +5 -5
  76. package/dist/chunks/{reference-s5hc8crh.js → state-5w8tnwf6.js} +22 -22
  77. package/dist/chunks/{reference-349pq75d.js → state-5zeen97g.js} +30 -30
  78. package/dist/chunks/{reference-a69vsmja.js → state-5zfet53a.js} +30 -17
  79. package/dist/chunks/{reference-8rcah7bz.js → state-63ttahp5.js} +26 -26
  80. package/dist/chunks/{reference-tz6v41kq.js → state-6dyd7a8d.js} +35 -35
  81. package/dist/chunks/{reference-rmq68yqt.js → state-6f37fr29.js} +3 -3
  82. package/dist/chunks/{reference-6h8vcvjm.js → state-6h8vcvjm.js} +2 -2
  83. package/dist/chunks/{reference-6ddxa9ny.js → state-6xxz4301.js} +59 -59
  84. package/dist/chunks/{reference-6y2b864j.js → state-6y2b864j.js} +1 -1
  85. package/dist/chunks/{reference-pg4h2v2x.js → state-72394rmt.js} +34 -34
  86. package/dist/chunks/{reference-hf54tcy3.js → state-74tzf041.js} +13 -13
  87. package/dist/chunks/{reference-775hqbnd.js → state-775hqbnd.js} +3 -3
  88. package/dist/chunks/{reference-y92tkm2s.js → state-78crq86g.js} +27 -27
  89. package/dist/chunks/{reference-1ygs4haa.js → state-7a1x87rk.js} +9 -9
  90. package/dist/chunks/{reference-zj8xybwn.js → state-7ae08jw1.js} +11 -11
  91. package/dist/chunks/{reference-czyshrsa.js → state-7bm7atj2.js} +11 -11
  92. package/dist/chunks/{reference-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  93. package/dist/chunks/{reference-76crged4.js → state-7cmbzbmd.js} +9 -9
  94. package/dist/chunks/{reference-s0ygqa02.js → state-7dny7dvh.js} +21 -19
  95. package/dist/chunks/{reference-x0atgr6t.js → state-7gq6cvk3.js} +28 -28
  96. package/dist/chunks/{reference-wyrr125q.js → state-7ke2z32d.js} +6 -6
  97. package/dist/chunks/{reference-hj0xet7m.js → state-7nb8tm12.js} +5 -5
  98. package/dist/chunks/{reference-7nyex9j3.js → state-7nyex9j3.js} +1 -1
  99. package/dist/chunks/{reference-eqma6dsj.js → state-7nyxn3y6.js} +18 -18
  100. package/dist/chunks/{reference-7tx5zndv.js → state-7tx5zndv.js} +2 -2
  101. package/dist/chunks/{reference-7w2ypzdf.js → state-7w2ypzdf.js} +1 -1
  102. package/dist/chunks/{reference-7weczvnd.js → state-7weczvnd.js} +1 -1
  103. package/dist/chunks/{reference-xacrkbdt.js → state-7zs4mqwf.js} +4 -4
  104. package/dist/chunks/{reference-80pdk984.js → state-80pdk984.js} +1 -1
  105. package/dist/chunks/{reference-2wzc7q0z.js → state-83ycnzfs.js} +17 -17
  106. package/dist/chunks/{reference-85jq8dht.js → state-85jq8dht.js} +1 -1
  107. package/dist/chunks/{reference-xd4hy0hz.js → state-89j9ffww.js} +25 -25
  108. package/dist/chunks/{reference-8b3vzgkx.js → state-8b3vzgkx.js} +1 -1
  109. package/dist/chunks/{reference-t4bagt3j.js → state-8bmkbtc8.js} +31 -31
  110. package/dist/chunks/{reference-wm71t73q.js → state-8hbxat0b.js} +7 -7
  111. package/dist/chunks/{reference-4f007zx7.js → state-8jgydtg3.js} +24 -24
  112. package/dist/chunks/{reference-8kjyvwy5.js → state-8kjyvwy5.js} +1 -1
  113. package/dist/chunks/{reference-jgfn7qyr.js → state-8rgkpay0.js} +30 -30
  114. package/dist/chunks/{reference-8sxe6kv8.js → state-8sxe6kv8.js} +2 -2
  115. package/dist/chunks/{reference-5z1224kk.js → state-8tr1mvjp.js} +21 -21
  116. package/dist/chunks/{reference-8wtp7s3z.js → state-8wtp7s3z.js} +1 -1
  117. package/dist/chunks/{reference-6es1dp4c.js → state-8xgwt13h.js} +8 -8
  118. package/dist/chunks/{reference-ras62pb2.js → state-8zqzm5np.js} +12 -12
  119. package/dist/chunks/{reference-9ea275t2.js → state-92816w05.js} +21 -21
  120. package/dist/chunks/{reference-9q871ccp.js → state-92em498v.js} +24 -24
  121. package/dist/chunks/{reference-93xmyh8q.js → state-93xmyh8q.js} +2 -2
  122. package/dist/chunks/{reference-d9vtvrnf.js → state-95kfdwsb.js} +16 -16
  123. package/dist/chunks/{reference-px11kq8x.js → state-97hjcvss.js} +16 -16
  124. package/dist/chunks/{reference-jc4hddva.js → state-9aj4jpxp.js} +16 -16
  125. package/dist/chunks/{reference-p3pff46z.js → state-9dq3b9t5.js} +5 -5
  126. package/dist/chunks/{reference-4vzr2b15.js → state-9zfcngb4.js} +3 -3
  127. package/dist/chunks/{reference-jja1z2vg.js → state-a1sevdk6.js} +8 -8
  128. package/dist/chunks/{reference-ta557hq4.js → state-a33csnpw.js} +23 -23
  129. package/dist/chunks/{reference-faeaqd3n.js → state-a3p7gvf1.js} +16 -16
  130. package/dist/chunks/{reference-842xs9ev.js → state-a7qfweag.js} +8 -8
  131. package/dist/chunks/{reference-7mgqnej7.js → state-abn43cmf.js} +4 -4
  132. package/dist/chunks/{reference-3raywgqr.js → state-abtv3p93.js} +12 -12
  133. package/dist/chunks/{reference-vkf7jdr5.js → state-ag6d02bt.js} +16 -16
  134. package/dist/chunks/{reference-jd854n9h.js → state-ajrn69cv.js} +35 -35
  135. package/dist/chunks/{reference-9vafp96s.js → state-akgfxd4f.js} +34 -34
  136. package/dist/chunks/{reference-dgyjw8xn.js → state-at3h86re.js} +19 -19
  137. package/dist/chunks/{reference-ctbyzw6h.js → state-ay1zsbqa.js} +7 -7
  138. package/dist/chunks/{reference-czm9pz93.js → state-ay7cybv2.js} +13 -13
  139. package/dist/chunks/{reference-ayjs7tqn.js → state-ayjs7tqn.js} +2 -2
  140. package/dist/chunks/{reference-ne8km3tq.js → state-baes9p30.js} +69 -69
  141. package/dist/chunks/{reference-fqcq75s6.js → state-bcb11p47.js} +25 -25
  142. package/dist/chunks/{reference-1mhhmgmt.js → state-bcndt51e.js} +5 -5
  143. package/dist/chunks/{reference-rhnyjarm.js → state-bf55zpar.js} +16 -16
  144. package/dist/chunks/{reference-zgbghj0q.js → state-bfnxjwq5.js} +26 -26
  145. package/dist/chunks/{reference-bhfd478d.js → state-bhfd478d.js} +1 -1
  146. package/dist/chunks/{reference-raztesy5.js → state-bjbd0zk3.js} +13 -13
  147. package/dist/chunks/{reference-bstexjd6.js → state-bstexjd6.js} +1 -1
  148. package/dist/chunks/{reference-yn3b7pm8.js → state-btmf51hx.js} +3 -3
  149. package/dist/chunks/{reference-63mc9ghj.js → state-bzqd1pm8.js} +11 -11
  150. package/dist/chunks/{reference-px7qpgcn.js → state-c5zvymhv.js} +4 -4
  151. package/dist/chunks/{reference-pwn7s42w.js → state-c8909h3p.js} +7 -7
  152. package/dist/chunks/{reference-xeejg63p.js → state-cb67h20a.js} +5 -5
  153. package/dist/chunks/{reference-arvnv41s.js → state-cea0pb0e.js} +38 -38
  154. package/dist/chunks/{reference-5bmsmh2h.js → state-cj3hz2x6.js} +34 -34
  155. package/dist/chunks/{reference-rkd48pdt.js → state-ckn0kvtp.js} +6 -6
  156. package/dist/chunks/{reference-ecg0s3fk.js → state-cn4fstdz.js} +12 -12
  157. package/dist/chunks/{reference-qn1s2xtg.js → state-cnn0mxn5.js} +29 -29
  158. package/dist/chunks/{reference-8ydxba3r.js → state-cvkx6mms.js} +5 -5
  159. package/dist/chunks/{reference-cwrgdav8.js → state-cwrgdav8.js} +2 -2
  160. package/dist/chunks/{reference-z2tnev7z.js → state-d3fh3mtd.js} +46 -46
  161. package/dist/chunks/{reference-d4v9tmah.js → state-d4v9tmah.js} +2 -2
  162. package/dist/chunks/{reference-yhjem5gc.js → state-daqyv0pv.js} +49 -49
  163. package/dist/chunks/{reference-rn81edrx.js → state-df8zr684.js} +8 -8
  164. package/dist/chunks/{reference-140p7wba.js → state-dkcj7wpp.js} +8 -8
  165. package/dist/chunks/{reference-b68ermf5.js → state-dpmea4mq.js} +60 -60
  166. package/dist/chunks/{reference-dt77769w.js → state-dt77769w.js} +1 -1
  167. package/dist/chunks/{reference-1yxvqtag.js → state-e185e5a1.js} +10 -10
  168. package/dist/chunks/{reference-8tdv4j48.js → state-e71bb87j.js} +8 -8
  169. package/dist/chunks/{reference-9se2sd9k.js → state-e9gy6s62.js} +12 -12
  170. package/dist/chunks/{reference-1mmczb7m.js → state-eb5hmwg4.js} +361 -361
  171. package/dist/chunks/{reference-gqwdy2ja.js → state-ec8mf4am.js} +24 -24
  172. package/dist/chunks/{reference-gnbwta0v.js → state-ef98ssks.js} +8 -8
  173. package/dist/chunks/{reference-hvaz0f14.js → state-emenfhen.js} +50 -45
  174. package/dist/chunks/{reference-5cztv455.js → state-emjwx2gq.js} +15 -15
  175. package/dist/chunks/{reference-60tnzmc4.js → state-eqtf2ss2.js} +4 -4
  176. package/dist/chunks/{reference-eqw4pqj1.js → state-eqw4pqj1.js} +2 -2
  177. package/dist/chunks/{reference-6ffwtn0f.js → state-ez0xx7aj.js} +3 -3
  178. package/dist/chunks/{reference-3j4qesnv.js → state-ez1sht9e.js} +187 -187
  179. package/dist/chunks/state-ezna1kdx.js +18 -0
  180. package/dist/chunks/{reference-v5pg3v9h.js → state-ezzcymd9.js} +11 -11
  181. package/dist/chunks/{reference-0da36nhd.js → state-f3agv7cd.js} +20 -20
  182. package/dist/chunks/{reference-tc0dkx12.js → state-f4vq2sjs.js} +82 -82
  183. package/dist/chunks/{reference-fax097qp.js → state-fax097qp.js} +1 -1
  184. package/dist/chunks/{reference-hty9eptx.js → state-fcrts5pp.js} +5 -5
  185. package/dist/chunks/{reference-fg9p65nk.js → state-fg9p65nk.js} +2 -2
  186. package/dist/chunks/{reference-r93s3fj9.js → state-fk3208wx.js} +16 -16
  187. package/dist/chunks/{reference-hxxrf92k.js → state-frg8gwcp.js} +9 -9
  188. package/dist/chunks/{reference-2n444ktb.js → state-fyfzbt3s.js} +3 -3
  189. package/dist/chunks/state-g0wpqbec.js +91 -0
  190. package/dist/chunks/{reference-mkxevfrg.js → state-g3wj12x4.js} +8 -8
  191. package/dist/chunks/{reference-tp1jb13k.js → state-g4txs7zc.js} +7 -7
  192. package/dist/chunks/{reference-jcz74541.js → state-g650r2x6.js} +6 -6
  193. package/dist/chunks/{reference-5gkzd2cg.js → state-ga27sqjy.js} +14 -14
  194. package/dist/chunks/{reference-gbjdnr5j.js → state-gbjdnr5j.js} +2 -2
  195. package/dist/chunks/{reference-xb29rgj5.js → state-gdsybvzc.js} +9 -9
  196. package/dist/chunks/{reference-2j5rqqks.js → state-gf751m25.js} +4 -4
  197. package/dist/chunks/{reference-cjsjkmmf.js → state-ggj1p7e5.js} +8 -8
  198. package/dist/chunks/{reference-ghrv1g9c.js → state-ghrv1g9c.js} +1 -1
  199. package/dist/chunks/{reference-kx167wjf.js → state-gjfmw2mq.js} +21 -21
  200. package/dist/chunks/{reference-kxd8t73g.js → state-greqc4tt.js} +41 -41
  201. package/dist/chunks/{reference-gxs71cxp.js → state-gxs71cxp.js} +1 -1
  202. package/dist/chunks/{reference-cprv8pe1.js → state-gyd0svns.js} +21 -21
  203. package/dist/chunks/{reference-84tzw0hb.js → state-hctzs2v8.js} +3 -3
  204. package/dist/chunks/{reference-hgzwgvze.js → state-hgzwgvze.js} +2 -2
  205. package/dist/chunks/{reference-29kgfcs4.js → state-hj22ssbz.js} +19 -19
  206. package/dist/chunks/{reference-bg23z55d.js → state-hkj9x04x.js} +17 -17
  207. package/dist/chunks/{reference-njyb0yar.js → state-hskjzqkb.js} +13 -13
  208. package/dist/chunks/{reference-0qmbz6n9.js → state-hxktsnjb.js} +60 -60
  209. package/dist/chunks/{reference-hh1bncry.js → state-hykps0zw.js} +26 -26
  210. package/dist/chunks/{reference-jht64jd1.js → state-j376ae4e.js} +7 -7
  211. package/dist/chunks/{reference-0ahs07zn.js → state-j3f8hyeg.js} +4 -4
  212. package/dist/chunks/{reference-09yvw0mr.js → state-j3khjgx3.js} +26 -25
  213. package/dist/chunks/{reference-j7km1s7q.js → state-j7km1s7q.js} +3 -3
  214. package/dist/chunks/{reference-j9nxzz3g.js → state-j9nxzz3g.js} +3 -3
  215. package/dist/chunks/{reference-nd2qx06s.js → state-jahxfc61.js} +9 -9
  216. package/dist/chunks/{reference-ytfr5x0q.js → state-jbmt4bm3.js} +7 -7
  217. package/dist/chunks/{reference-ym845wmg.js → state-jdj4sb5v.js} +16 -16
  218. package/dist/chunks/{reference-r688a1py.js → state-jfsh0w8k.js} +29 -29
  219. package/dist/chunks/{reference-n1g6vy3k.js → state-jm12cmw1.js} +3 -3
  220. package/dist/chunks/{reference-nj35chds.js → state-jm21nd0n.js} +16 -16
  221. package/dist/chunks/{reference-jm70asfg.js → state-jm70asfg.js} +1 -1
  222. package/dist/chunks/{reference-y2varjre.js → state-jpmqdhrk.js} +8 -8
  223. package/dist/chunks/{reference-tnqch5a7.js → state-jtpvrcts.js} +15 -15
  224. package/dist/chunks/{reference-160avepg.js → state-jw06sn6b.js} +54 -41
  225. package/dist/chunks/{reference-twhtcdx9.js → state-jxd6f16v.js} +4 -4
  226. package/dist/chunks/{reference-1sxy957q.js → state-k0e6v0cv.js} +25 -25
  227. package/dist/chunks/{reference-ebvpjh9k.js → state-k10qztr6.js} +11 -11
  228. package/dist/chunks/{reference-rwdjy60w.js → state-k9hq1jvt.js} +12 -12
  229. package/dist/chunks/{reference-at1kchjw.js → state-kgmdm1mc.js} +6 -6
  230. package/dist/chunks/{reference-qffk4v12.js → state-kh0hrg97.js} +4 -4
  231. package/dist/chunks/{reference-qfz6bxfd.js → state-kj9n5bvh.js} +4 -4
  232. package/dist/chunks/{reference-2x93n1ej.js → state-kja9qb4q.js} +7 -7
  233. package/dist/chunks/{reference-4gnxwjvc.js → state-kkd7x4bj.js} +18 -18
  234. package/dist/chunks/{reference-kt3bjfbg.js → state-kt3bjfbg.js} +1 -1
  235. package/dist/chunks/{reference-kzczzf4v.js → state-kzczzf4v.js} +1 -1
  236. package/dist/chunks/{reference-m1714858.js → state-m1714858.js} +1 -1
  237. package/dist/chunks/{reference-jyjn8g0g.js → state-m3da8wrg.js} +4 -4
  238. package/dist/chunks/{reference-4dfqsw0d.js → state-m4p4r8nc.js} +4 -4
  239. package/dist/chunks/{reference-m90tx7mw.js → state-m90tx7mw.js} +1 -1
  240. package/dist/chunks/{reference-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  241. package/dist/chunks/{reference-7k563s2s.js → state-mb6jj0rf.js} +21 -21
  242. package/dist/chunks/{reference-mb7mbhnz.js → state-mb7mbhnz.js} +3 -3
  243. package/dist/chunks/{reference-mcbq1bax.js → state-mcbq1bax.js} +4 -4
  244. package/dist/chunks/{reference-w37kx9ey.js → state-mqenmh3d.js} +16 -16
  245. package/dist/chunks/{reference-a3yd9412.js → state-mrkkjtt8.js} +23 -23
  246. package/dist/chunks/{reference-mwnxvxbk.js → state-mwnxvxbk.js} +1 -1
  247. package/dist/chunks/{reference-c7wvhm3n.js → state-mzfc0fgk.js} +15 -15
  248. package/dist/chunks/{reference-d46fzswe.js → state-n08a4cme.js} +13 -13
  249. package/dist/chunks/{reference-abmsf3fs.js → state-n1tma48k.js} +6 -6
  250. package/dist/chunks/{reference-a0s2st0f.js → state-n6wcqzth.js} +47 -47
  251. package/dist/chunks/{reference-d9gsy12g.js → state-n82amx1c.js} +37 -37
  252. package/dist/chunks/{reference-0tfgktw9.js → state-n8p3hmwy.js} +1 -1
  253. package/dist/chunks/{reference-shr5j6fv.js → state-n9abymfr.js} +68 -30
  254. package/dist/chunks/{reference-e90d3155.js → state-njt828rv.js} +23 -23
  255. package/dist/chunks/{reference-8zv0xmg5.js → state-nmbeff6n.js} +28 -23
  256. package/dist/chunks/{reference-b2ye4m2n.js → state-nwdygren.js} +90 -90
  257. package/dist/chunks/{reference-pknna89w.js → state-pknna89w.js} +1 -1
  258. package/dist/chunks/{reference-xpwer43m.js → state-pvz0xt04.js} +20 -20
  259. package/dist/chunks/{reference-q5bk3gvt.js → state-q5bk3gvt.js} +2 -2
  260. package/dist/chunks/{reference-n2jw42fy.js → state-q6d5y36s.js} +30 -30
  261. package/dist/chunks/{reference-907zabr0.js → state-q6qptccb.js} +5 -5
  262. package/dist/chunks/{reference-nn5tx5gq.js → state-q8n8cagx.js} +10 -10
  263. package/dist/chunks/{reference-qj7h0xhd.js → state-qhrnw5a6.js} +29 -29
  264. package/dist/chunks/{reference-ky596kc3.js → state-qkc3z5ds.js} +4 -4
  265. package/dist/chunks/{reference-qp7r0hxv.js → state-qp7r0hxv.js} +1 -1
  266. package/dist/chunks/{reference-4h8vhxff.js → state-qqw7yz25.js} +5 -5
  267. package/dist/chunks/{reference-hze8chsk.js → state-r75f2j8n.js} +11 -11
  268. package/dist/chunks/{reference-rb9dy4dg.js → state-rb9dy4dg.js} +1 -1
  269. package/dist/chunks/{reference-sg9qvcf7.js → state-rfccf7fd.js} +15 -15
  270. package/dist/chunks/{reference-rgc9cx3e.js → state-rgc9cx3e.js} +2 -2
  271. package/dist/chunks/{reference-tersd549.js → state-rkqz6a1c.js} +31 -31
  272. package/dist/chunks/{reference-ns5mzj5n.js → state-rp80tbx1.js} +11 -11
  273. package/dist/chunks/{reference-24y5y724.js → state-rx63kfe9.js} +7 -7
  274. package/dist/chunks/{reference-k1tsppx9.js → state-rxtj5w21.js} +14 -14
  275. package/dist/chunks/{reference-bz298c0e.js → state-rz4exe9c.js} +11 -11
  276. package/dist/chunks/{reference-ad21tgm2.js → state-s1ba0vj0.js} +4 -4
  277. package/dist/chunks/{reference-6mvvpckb.js → state-s1snmxf3.js} +20 -20
  278. package/dist/chunks/{reference-s47rahr7.js → state-s47rahr7.js} +1 -1
  279. package/dist/chunks/{reference-8jf97bfe.js → state-s7yxjkz4.js} +2 -2
  280. package/dist/chunks/{reference-q8efd4h8.js → state-s9xqbcwv.js} +22 -22
  281. package/dist/chunks/{reference-sbya78hr.js → state-sbya78hr.js} +1 -1
  282. package/dist/chunks/{reference-nds6v727.js → state-ss6cpaky.js} +4 -4
  283. package/dist/chunks/{reference-svcy3p9a.js → state-svcy3p9a.js} +1 -1
  284. package/dist/chunks/{reference-mbpn787b.js → state-sy08yzhb.js} +16 -16
  285. package/dist/chunks/{reference-1ah6h1c8.js → state-t487xv8s.js} +12 -12
  286. package/dist/chunks/{reference-dbatw319.js → state-t48jrnqq.js} +3 -3
  287. package/dist/chunks/{reference-nkq0r34s.js → state-t7n150wv.js} +7 -7
  288. package/dist/chunks/{reference-t8erkws8.js → state-t8erkws8.js} +2 -2
  289. package/dist/chunks/{reference-tbpn7jtk.js → state-tbpn7jtk.js} +1 -1
  290. package/dist/chunks/{reference-0t2pfgdp.js → state-tc3prtck.js} +15 -15
  291. package/dist/chunks/{reference-tczq8hjw.js → state-tczq8hjw.js} +1 -1
  292. package/dist/chunks/{reference-v8mqk12g.js → state-tgcjn8ea.js} +23 -23
  293. package/dist/chunks/{reference-vne9161z.js → state-tnagtm44.js} +3 -3
  294. package/dist/chunks/{reference-k79ts4c4.js → state-tp50wbw6.js} +13 -13
  295. package/dist/chunks/{reference-8jkr9nzy.js → state-tt65sykp.js} +32 -32
  296. package/dist/chunks/{reference-tvtps2q9.js → state-tvtps2q9.js} +1 -1
  297. package/dist/chunks/{reference-twssxy5n.js → state-twssxy5n.js} +2 -2
  298. package/dist/chunks/{reference-b90wsfgm.js → state-tz8by5ck.js} +35 -29
  299. package/dist/chunks/{reference-w79nt68w.js → state-v0t96s7a.js} +4 -4
  300. package/dist/chunks/{reference-v2r1d0zg.js → state-v2r1d0zg.js} +1 -1
  301. package/dist/chunks/{reference-enkpkfwx.js → state-v5hpj9dd.js} +8 -8
  302. package/dist/chunks/{reference-y3zgrqjt.js → state-vh266b4c.js} +20 -20
  303. package/dist/chunks/{reference-vjf35v1f.js → state-vjf35v1f.js} +1 -1
  304. package/dist/chunks/{reference-a1adkc9f.js → state-vnvwt0wg.js} +30 -30
  305. package/dist/chunks/{reference-xv84ez3t.js → state-vrzmb6mk.js} +12 -12
  306. package/dist/chunks/{reference-2c2gnwbs.js → state-vvg3ktg6.js} +15 -15
  307. package/dist/chunks/{reference-ehz6qvp6.js → state-w0t345fn.js} +10 -10
  308. package/dist/chunks/{reference-grtpag7b.js → state-w28241sq.js} +31 -30
  309. package/dist/chunks/{reference-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  310. package/dist/chunks/{reference-cthcgjcr.js → state-w4n8krtt.js} +16 -16
  311. package/dist/chunks/{reference-wr3re1en.js → state-w687dnns.js} +4 -4
  312. package/dist/chunks/{reference-wakvkjy4.js → state-wakvkjy4.js} +1 -1
  313. package/dist/chunks/{reference-d44kf1gs.js → state-wc1a1f4e.js} +21 -21
  314. package/dist/chunks/{reference-wd87259q.js → state-wd87259q.js} +1 -1
  315. package/dist/chunks/{reference-wegkxhrn.js → state-wegkxhrn.js} +2 -2
  316. package/dist/chunks/{reference-hk3y1mfk.js → state-wggfwex4.js} +16 -16
  317. package/dist/chunks/{reference-9f771hzk.js → state-wkcgx9r5.js} +19 -19
  318. package/dist/chunks/{reference-6mt11s64.js → state-wves2w9a.js} +6 -6
  319. package/dist/chunks/{reference-2qq9re5v.js → state-x01zwkkh.js} +18 -18
  320. package/dist/chunks/{reference-qberbke4.js → state-x5qggkyz.js} +21 -21
  321. package/dist/chunks/{reference-exhywyk0.js → state-x6ew6y6p.js} +29 -29
  322. package/dist/chunks/{reference-x334e86p.js → state-x6q8j6vz.js} +9 -9
  323. package/dist/chunks/{reference-nw59ky66.js → state-x9nmp85w.js} +12 -12
  324. package/dist/chunks/{reference-r8ap5qmt.js → state-xjfvcama.js} +31 -31
  325. package/dist/chunks/{reference-xxschbft.js → state-xjr6c8m4.js} +4 -4
  326. package/dist/chunks/{reference-0zgxx6e3.js → state-xkk8ddsd.js} +6 -6
  327. package/dist/chunks/{reference-rt5qjrvj.js → state-xksw6ev0.js} +4 -4
  328. package/dist/chunks/{reference-5bmm57mk.js → state-xpmfaw4g.js} +17 -17
  329. package/dist/chunks/{reference-pz2rpg56.js → state-xrx85msc.js} +43 -43
  330. package/dist/chunks/{reference-xvn8mnch.js → state-xvn8mnch.js} +1 -1
  331. package/dist/chunks/{reference-xz07m27x.js → state-xz07m27x.js} +2 -2
  332. package/dist/chunks/{reference-vky7yb82.js → state-xzcw0d8z.js} +18 -18
  333. package/dist/chunks/{reference-h0sqfhxy.js → state-y04krnxt.js} +38 -38
  334. package/dist/chunks/{reference-fybacw3w.js → state-y42a62sv.js} +13 -13
  335. package/dist/chunks/{reference-yb20nhc3.js → state-yb20nhc3.js} +1 -1
  336. package/dist/chunks/{reference-98841e2j.js → state-yezeg7jb.js} +40 -40
  337. package/dist/chunks/{reference-hn5aq7fc.js → state-ygbwgbeb.js} +25 -25
  338. package/dist/chunks/state-ymyzmgdn.js +273 -0
  339. package/dist/chunks/{reference-yr705xyq.js → state-yr705xyq.js} +1 -1
  340. package/dist/chunks/{reference-2tbbsa1w.js → state-yt2yd2ha.js} +17 -17
  341. package/dist/chunks/{reference-wvn014fh.js → state-ytk2jwkq.js} +36 -36
  342. package/dist/chunks/{reference-yvtc2x31.js → state-yvtc2x31.js} +1 -1
  343. package/dist/chunks/{reference-e3dzhadh.js → state-yy3ysynw.js} +12 -16
  344. package/dist/chunks/{reference-a3fn0gmm.js → state-z0c26qk4.js} +2 -2
  345. package/dist/chunks/{reference-1cf8e300.js → state-z0vh365s.js} +6 -6
  346. package/dist/chunks/{reference-z0wbgq7s.js → state-z0wbgq7s.js} +1 -1
  347. package/dist/chunks/{reference-963hk181.js → state-z7881fav.js} +7 -7
  348. package/dist/chunks/{reference-cs53cha0.js → state-zcvsxapg.js} +8 -8
  349. package/dist/chunks/{reference-f8915yqa.js → state-zf4xgyhj.js} +8 -8
  350. package/dist/chunks/{reference-d8p3t516.js → state-zfyb5tr4.js} +4 -4
  351. package/dist/chunks/{reference-h83nrb4v.js → state-znss4kzc.js} +9 -9
  352. package/dist/chunks/{reference-6pnr6kvt.js → state-zq890cq6.js} +5 -5
  353. package/dist/chunks/{reference-w5303trh.js → state-zv0mezyc.js} +5 -5
  354. package/dist/chunks/{reference-5dxtpe4t.js → state-zvbyz5gv.js} +16 -16
  355. package/dist/chunks/state-zzby2jc7.js +26 -0
  356. package/dist/codemode/catalog.js +1 -1
  357. package/dist/codemode/execution.js +3 -3
  358. package/dist/codemode/fetch.js +151 -151
  359. package/dist/codemode/instructions.js +6 -6
  360. package/dist/codemode/tool.js +158 -158
  361. package/dist/command.js +93 -93
  362. package/dist/config/discovery.js +96 -96
  363. package/dist/config/integration.js +3 -3
  364. package/dist/config/managed.js +1 -1
  365. package/dist/config/markdown.js +1 -1
  366. package/dist/config/normalize.js +114 -114
  367. package/dist/config/plugin/agent.js +135 -135
  368. package/dist/config/plugin/command.js +250 -250
  369. package/dist/config/plugin/compaction.js +176 -176
  370. package/dist/config/plugin/compatibility.js +156 -156
  371. package/dist/config/plugin/entry-observer.js +1 -1
  372. package/dist/config/plugin/formatter.js +133 -133
  373. package/dist/config/plugin/image.js +132 -132
  374. package/dist/config/plugin/instruction.js +133 -133
  375. package/dist/config/plugin/location-watcher.js +132 -132
  376. package/dist/config/plugin/mcp.js +151 -151
  377. package/dist/config/plugin/policy.js +132 -132
  378. package/dist/config/plugin/provider.js +132 -132
  379. package/dist/config/plugin/reference.js +134 -134
  380. package/dist/config/plugin/shell.js +132 -132
  381. package/dist/config/plugin/skill-file.js +152 -152
  382. package/dist/config/plugin/skill-scan.js +1 -1
  383. package/dist/config/plugin/skill.js +159 -159
  384. package/dist/config/plugin/snapshot.js +132 -132
  385. package/dist/config/plugin/source.js +136 -136
  386. package/dist/config/plugin/tool-output.js +133 -133
  387. package/dist/config/plugin/websearch.js +131 -131
  388. package/dist/config/plugin/worktree.js +134 -134
  389. package/dist/config/variable.js +1 -1
  390. package/dist/config/watch.js +1 -1
  391. package/dist/config.js +133 -133
  392. package/dist/console-access.js +1 -1
  393. package/dist/credential/sql.js +2 -2
  394. package/dist/credential.js +93 -93
  395. package/dist/database/batch.js +1 -1
  396. package/dist/database/database.js +82 -82
  397. package/dist/database/drizzle/effect-sqlite/driver.js +13 -13
  398. package/dist/database/drizzle/effect-sqlite/index.js +13 -13
  399. package/dist/database/drizzle/effect-sqlite/session.js +12 -12
  400. package/dist/database/drizzle/index.js +14 -14
  401. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  402. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  404. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  405. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  406. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  407. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  408. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  409. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  410. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  411. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  412. package/dist/database/drizzle.js +15 -15
  413. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  414. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  415. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  416. package/dist/database/migration/20260225215848_workspace.js +1 -1
  417. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  418. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  419. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  420. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  421. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  422. package/dist/database/migration/20260323234822_events.js +1 -1
  423. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  424. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  425. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  426. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  427. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  428. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  429. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  430. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  431. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  432. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  433. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  434. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  435. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  436. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  437. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  438. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  439. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  440. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  441. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  442. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  443. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  444. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  445. package/dist/database/migration/20260611035744_credential.js +1 -1
  446. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  447. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  448. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  449. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  450. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  451. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  452. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  453. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  454. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  455. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  456. package/dist/database/migration/20260812213948_worktree.js +1 -1
  457. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  458. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  459. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  460. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  461. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  462. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  463. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  464. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  465. package/dist/database/migration/20261025123711_blob.js +1 -1
  466. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  467. package/dist/database/migration/20261026223005_schedule.js +1 -1
  468. package/dist/database/migration/20261029002625_session_part.js +1 -1
  469. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  470. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  471. package/dist/database/migration/20261030054400_job.js +1 -1
  472. package/dist/database/migration.gen.js +60 -60
  473. package/dist/database/migration.js +77 -77
  474. package/dist/database/path.js +2 -2
  475. package/dist/database/schema.gen.js +1 -1
  476. package/dist/database/schema.sql.js +1 -1
  477. package/dist/database/storage-failure.js +1 -1
  478. package/dist/database/v1-migration.bun.js +104 -104
  479. package/dist/effect/app-node-builder.js +451 -451
  480. package/dist/effect/app-node-platform.js +2 -2
  481. package/dist/effect/client-tls/client-tls.bun.js +1 -1
  482. package/dist/effect/client-tls/client-tls.node.js +1 -1
  483. package/dist/effect/client-tls/client-tls.workerd.js +1 -1
  484. package/dist/effect/keyed-mutex.js +1 -1
  485. package/dist/effect/websocket-constructor.js +1 -1
  486. package/dist/environment/driver.js +1 -1
  487. package/dist/environment/environment.js +106 -106
  488. package/dist/environment/exec-defaults.js +2 -2
  489. package/dist/environment/files.js +1 -1
  490. package/dist/environment/index.js +108 -108
  491. package/dist/environment/local.js +2 -2
  492. package/dist/environment/memory.js +2 -2
  493. package/dist/environment/unavailable.js +3 -3
  494. package/dist/event/sql.js +1 -1
  495. package/dist/event-logger.js +86 -86
  496. package/dist/file-access.js +163 -163
  497. package/dist/file-mutation.js +109 -109
  498. package/dist/file-retention.js +1 -1
  499. package/dist/file-write.js +167 -167
  500. package/dist/filesystem/fff.bun.js +2 -2
  501. package/dist/filesystem/fff.js +1 -1
  502. package/dist/filesystem/fff.node.js +2 -2
  503. package/dist/filesystem/fff.workerd.js +2 -2
  504. package/dist/filesystem/file-watch.js +92 -92
  505. package/dist/filesystem/location-watcher-policy.js +2 -2
  506. package/dist/filesystem/location-watcher.js +259 -259
  507. package/dist/filesystem/protected.js +1 -1
  508. package/dist/filesystem/search.js +114 -114
  509. package/dist/filesystem/watcher-binding.js +1 -1
  510. package/dist/filesystem/watcher.js +9 -9
  511. package/dist/filesystem.js +117 -117
  512. package/dist/flag.js +133 -133
  513. package/dist/form.js +92 -92
  514. package/dist/formatter/builtins.js +4 -4
  515. package/dist/formatter.js +101 -101
  516. package/dist/generate.js +118 -118
  517. package/dist/git.js +11 -11
  518. package/dist/github-copilot/models.js +114 -114
  519. package/dist/image/notice.js +1 -1
  520. package/dist/image/photon-normalize.js +1 -1
  521. package/dist/image/photon-worker.js +1 -1
  522. package/dist/image/photon.js +4 -4
  523. package/dist/image.js +6 -6
  524. package/dist/instance/service.js +5 -5
  525. package/dist/instance.js +442 -442
  526. package/dist/instruction-discovery.js +89 -89
  527. package/dist/instructions/builtins.js +100 -100
  528. package/dist/instructions/index.js +2 -2
  529. package/dist/integration/connection.js +1 -1
  530. package/dist/integration.js +97 -97
  531. package/dist/job/list.js +5 -5
  532. package/dist/job/recovery.js +2 -2
  533. package/dist/job/sql.js +2 -2
  534. package/dist/job.js +89 -89
  535. package/dist/kv/sql.js +2 -2
  536. package/dist/kv.js +85 -85
  537. package/dist/location-activity.js +191 -191
  538. package/dist/location-lifecycle.js +156 -156
  539. package/dist/location-service-map.js +100 -100
  540. package/dist/location-services.js +439 -439
  541. package/dist/location.js +101 -101
  542. package/dist/managed-policy.js +3 -3
  543. package/dist/mcp/client.js +162 -162
  544. package/dist/mcp/connection.js +105 -105
  545. package/dist/mcp/event-errors.js +1 -1
  546. package/dist/mcp/index.js +150 -150
  547. package/dist/mcp/instructions.js +191 -191
  548. package/dist/mcp/oauth.js +91 -91
  549. package/dist/mcp/pool.js +111 -111
  550. package/dist/mcp/socket-client.js +1 -1
  551. package/dist/mcp/stdio.js +160 -160
  552. package/dist/mime.js +1 -1
  553. package/dist/modal/models.js +114 -114
  554. package/dist/model-resolver.js +112 -112
  555. package/dist/model-retry.js +1 -1
  556. package/dist/model.js +113 -113
  557. package/dist/models-dev/v1.js +1 -1
  558. package/dist/models-dev.js +115 -115
  559. package/dist/oauth/page.js +1 -1
  560. package/dist/oauth/redirect.js +1 -1
  561. package/dist/permission/saved.js +90 -90
  562. package/dist/permission/sql.js +5 -5
  563. package/dist/permission.js +157 -157
  564. package/dist/persistent-pty/binary.bun.js +1 -1
  565. package/dist/persistent-pty/daemon.js +1 -1
  566. package/dist/persistent-pty/index.js +98 -98
  567. package/dist/persistent-pty/pty-binding.js +1 -1
  568. package/dist/persistent-pty.js +87 -87
  569. package/dist/plugin/agent.js +88 -88
  570. package/dist/plugin/command.js +149 -149
  571. package/dist/plugin/fork-notice.js +3 -3
  572. package/dist/plugin/goal.js +3 -3
  573. package/dist/plugin/hooks.js +5 -5
  574. package/dist/plugin/host.js +252 -252
  575. package/dist/plugin/identity.js +5 -5
  576. package/dist/plugin/instance.js +5 -5
  577. package/dist/plugin/internal.js +419 -419
  578. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  579. package/dist/plugin/models-dev.js +112 -112
  580. package/dist/plugin/module.js +131 -131
  581. package/dist/plugin/optimize.js +2 -2
  582. package/dist/plugin/plan.js +152 -152
  583. package/dist/plugin/promise.js +1 -1
  584. package/dist/plugin/provider/amazon-bedrock.js +108 -108
  585. package/dist/plugin/provider/azure.js +135 -135
  586. package/dist/plugin/provider/cerebras.js +1 -1
  587. package/dist/plugin/provider/chatgpt.js +136 -136
  588. package/dist/plugin/provider/claude-agent/aisdk.js +119 -119
  589. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  590. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  591. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  592. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  593. package/dist/plugin/provider/claude-agent/claude/sdk.js +5 -5
  594. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  595. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  596. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  597. package/dist/plugin/provider/claude-agent/index.js +150 -150
  598. package/dist/plugin/provider/claude-agent/instructions.js +114 -114
  599. package/dist/plugin/provider/claude-agent/integration.js +117 -117
  600. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  601. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  602. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  603. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  604. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  605. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  606. package/dist/plugin/provider/claude-agent/language-model/usage.js +1 -1
  607. package/dist/plugin/provider/claude-agent/provider.js +114 -114
  608. package/dist/plugin/provider/claude-agent/session.js +114 -114
  609. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  610. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  611. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  612. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  613. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  614. package/dist/plugin/provider/claude-agent/tools/hooks.js +1 -1
  615. package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
  616. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  617. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  618. package/dist/plugin/provider/claude-agent/tools/server.js +2 -2
  619. package/dist/plugin/provider/cloudflare-ai-gateway.js +132 -132
  620. package/dist/plugin/provider/cloudflare-workers-ai.js +132 -132
  621. package/dist/plugin/provider/configured.js +128 -128
  622. package/dist/plugin/provider/credential-settings.js +89 -89
  623. package/dist/plugin/provider/databricks.js +1 -1
  624. package/dist/plugin/provider/digitalocean.js +111 -111
  625. package/dist/plugin/provider/dynamic.js +2 -2
  626. package/dist/plugin/provider/github-copilot.js +113 -113
  627. package/dist/plugin/provider/gitlab.js +112 -112
  628. package/dist/plugin/provider/google-vertex.js +129 -129
  629. package/dist/plugin/provider/kilo.js +1 -1
  630. package/dist/plugin/provider/llmgateway.js +90 -90
  631. package/dist/plugin/provider/lmstudio.js +145 -145
  632. package/dist/plugin/provider/local.js +142 -142
  633. package/dist/plugin/provider/modal.js +110 -110
  634. package/dist/plugin/provider/neon.js +1 -1
  635. package/dist/plugin/provider/nvidia.js +1 -1
  636. package/dist/plugin/provider/ollama.js +145 -145
  637. package/dist/plugin/provider/openai-context-caps.js +108 -108
  638. package/dist/plugin/provider/openai.js +136 -136
  639. package/dist/plugin/provider/opencode-watches.js +4 -4
  640. package/dist/plugin/provider/opencode.js +164 -164
  641. package/dist/plugin/provider/openrouter.js +106 -106
  642. package/dist/plugin/provider/poe.js +92 -92
  643. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  644. package/dist/plugin/provider/refresh.js +88 -88
  645. package/dist/plugin/provider/sap-ai-core.js +106 -106
  646. package/dist/plugin/provider/sdk-factory.js +1 -1
  647. package/dist/plugin/provider/snowflake-cortex.js +134 -134
  648. package/dist/plugin/provider/vllm.js +145 -145
  649. package/dist/plugin/provider/xai.js +106 -106
  650. package/dist/plugin/provider/zenmux.js +1 -1
  651. package/dist/plugin/provider.js +243 -243
  652. package/dist/plugin/sdk.js +90 -90
  653. package/dist/plugin/service.js +3 -3
  654. package/dist/plugin/skill.js +155 -155
  655. package/dist/plugin/source-directory.js +1 -1
  656. package/dist/plugin/supervisor.js +427 -427
  657. package/dist/plugin/tool-input-repair.js +4 -4
  658. package/dist/plugin/update.js +6 -6
  659. package/dist/plugin/vcs/git.js +100 -100
  660. package/dist/plugin/vcs/hg.js +100 -100
  661. package/dist/plugin/verbosity.js +108 -108
  662. package/dist/plugin/warming.js +132 -132
  663. package/dist/plugin/websearch/exa.js +8 -8
  664. package/dist/plugin/websearch/firecrawl.js +9 -9
  665. package/dist/plugin/websearch/index.js +10 -10
  666. package/dist/plugin/websearch/mcp.js +4 -4
  667. package/dist/plugin/websearch/parallel.js +9 -9
  668. package/dist/plugin/websearch/provider.js +3 -3
  669. package/dist/plugin/websearch/tavily.js +7 -7
  670. package/dist/plugin/websearch/tinyfish.js +9 -9
  671. package/dist/plugin.js +259 -259
  672. package/dist/project/icon.js +5 -5
  673. package/dist/project/schema.js +6 -6
  674. package/dist/project/sql.js +4 -4
  675. package/dist/project.js +102 -102
  676. package/dist/provider.js +112 -112
  677. package/dist/pty/protocol.js +1 -1
  678. package/dist/pty/ticket.js +1 -1
  679. package/dist/pty.js +110 -110
  680. package/dist/reference/instructions.js +103 -103
  681. package/dist/reference.js +98 -98
  682. package/dist/repository-cache.js +94 -94
  683. package/dist/repository.js +1 -1
  684. package/dist/ripgrep/binary.js +2 -2
  685. package/dist/ripgrep.js +112 -112
  686. package/dist/rpc.js +100 -100
  687. package/dist/schedule/check.js +257 -257
  688. package/dist/schedule/sql.js +6 -6
  689. package/dist/schedule.js +267 -267
  690. package/dist/schema.js +1 -1
  691. package/dist/session/affinity.js +1 -1
  692. package/dist/session/background.js +3 -3
  693. package/dist/session/blob.js +134 -134
  694. package/dist/session/command.js +86 -86
  695. package/dist/session/compaction.js +178 -178
  696. package/dist/session/context.js +209 -209
  697. package/dist/session/diff.js +102 -102
  698. package/dist/session/environment.js +5 -5
  699. package/dist/session/error.js +5 -5
  700. package/dist/session/event.js +1 -1
  701. package/dist/session/execution/restart.js +276 -275
  702. package/dist/session/execution/subagent-report.js +146 -146
  703. package/dist/session/execution.js +171 -171
  704. package/dist/session/generate.js +209 -209
  705. package/dist/session/history.js +142 -142
  706. package/dist/session/inbox.js +151 -151
  707. package/dist/session/info.js +3 -3
  708. package/dist/session/instruction-entry.js +90 -90
  709. package/dist/session/instruction-state.js +9 -9
  710. package/dist/session/instructions.js +143 -143
  711. package/dist/session/message-updater.js +2 -2
  712. package/dist/session/message.js +1 -1
  713. package/dist/session/model-request.js +170 -170
  714. package/dist/session/model-transport.js +5 -5
  715. package/dist/session/move.js +177 -177
  716. package/dist/session/projector.js +149 -149
  717. package/dist/session/prompt.js +154 -154
  718. package/dist/session/recent-text.js +1 -1
  719. package/dist/session/revert.js +145 -145
  720. package/dist/session/run-coordinator.js +1 -1
  721. package/dist/session/runner/index.js +3 -3
  722. package/dist/session/runner/llm.js +264 -264
  723. package/dist/session/runner/max-steps.js +1 -1
  724. package/dist/session/runner/model.js +116 -116
  725. package/dist/session/runner/publish-llm-event.js +156 -156
  726. package/dist/session/runner/retry.js +5 -5
  727. package/dist/session/runner/step.js +167 -167
  728. package/dist/session/runner/to-llm-message.js +143 -143
  729. package/dist/session/schema.js +5 -5
  730. package/dist/session/session.js +195 -195
  731. package/dist/session/shell.js +150 -150
  732. package/dist/session/skill.js +153 -153
  733. package/dist/session/sql.js +5 -5
  734. package/dist/session/stats.js +88 -88
  735. package/dist/session/store.js +148 -148
  736. package/dist/session/stored.js +2 -2
  737. package/dist/session/subagent-completion.js +1 -1
  738. package/dist/session/subagent-job.js +172 -172
  739. package/dist/session/system-prompt.js +1 -1
  740. package/dist/session/title.js +211 -211
  741. package/dist/session/to-session-error.js +155 -155
  742. package/dist/session/transfer.js +261 -261
  743. package/dist/session/usage.js +1 -1
  744. package/dist/session.js +250 -250
  745. package/dist/shared-cache.js +5 -5
  746. package/dist/shell/parse.js +6 -6
  747. package/dist/shell/result.js +1 -1
  748. package/dist/shell/scan.js +1 -1
  749. package/dist/shell/select.js +9 -9
  750. package/dist/shell.js +156 -156
  751. package/dist/skill/discovery.js +2 -2
  752. package/dist/skill/instructions.js +157 -157
  753. package/dist/skill.js +158 -158
  754. package/dist/snapshot.js +105 -105
  755. package/dist/state.js +1 -1
  756. package/dist/tool/html-markdown.js +1 -1
  757. package/dist/tool/http-body.js +1 -1
  758. package/dist/tool/mcp.js +184 -184
  759. package/dist/tool/plugin/artifact.js +247 -247
  760. package/dist/tool/plugin/edit.js +171 -171
  761. package/dist/tool/plugin/file-diff.js +1 -1
  762. package/dist/tool/plugin/glob.js +177 -177
  763. package/dist/tool/plugin/grep.js +176 -176
  764. package/dist/tool/plugin/image-generate.js +258 -258
  765. package/dist/tool/plugin/mcp-events.js +169 -169
  766. package/dist/tool/plugin/mcp-resource.js +173 -173
  767. package/dist/tool/plugin/opencode.js +169 -169
  768. package/dist/tool/plugin/patch.js +172 -172
  769. package/dist/tool/plugin/question.js +150 -150
  770. package/dist/tool/plugin/read.js +176 -176
  771. package/dist/tool/plugin/schedule.js +263 -263
  772. package/dist/tool/plugin/shell.js +253 -252
  773. package/dist/tool/plugin/skill.js +161 -161
  774. package/dist/tool/plugin/subagent.js +254 -254
  775. package/dist/tool/plugin/todo.js +159 -159
  776. package/dist/tool/plugin/webfetch.js +161 -161
  777. package/dist/tool/plugin/websearch.js +159 -159
  778. package/dist/tool/plugin/write.js +172 -172
  779. package/dist/tool/read-filesystem.js +115 -115
  780. package/dist/tool/runtime.js +1 -1
  781. package/dist/tool/search.js +110 -110
  782. package/dist/tool-output.js +11 -11
  783. package/dist/tool.js +164 -164
  784. package/dist/types/blob-store.d.ts +36 -0
  785. package/dist/types/config/plugin/compaction.d.ts +1 -2
  786. package/dist/types/flag.d.ts +5 -4
  787. package/dist/types/generate.d.ts +31 -1
  788. package/dist/types/model-resolver.d.ts +3 -1
  789. package/dist/types/permission.d.ts +6 -1
  790. package/dist/types/session/compaction.d.ts +1 -1
  791. package/dist/types/shell/scan.d.ts +1 -1
  792. package/dist/types/tool/plugin/shell.d.ts +3 -1
  793. package/dist/types/video-generation.d.ts +21 -0
  794. package/dist/usage-limits.js +99 -99
  795. package/dist/util/canonical-json.js +1 -1
  796. package/dist/util/error-summary.js +1 -1
  797. package/dist/util/git-executable.js +3 -3
  798. package/dist/util/lazy.js +1 -1
  799. package/dist/util/slug.js +1 -1
  800. package/dist/util/token.js +1 -1
  801. package/dist/util/which.js +1 -1
  802. package/dist/util/wildcard.js +1 -1
  803. package/dist/v1/config/agent.js +7 -7
  804. package/dist/v1/config/command.js +3 -3
  805. package/dist/v1/config/mcp.js +2 -2
  806. package/dist/v1/config/migrate.js +107 -107
  807. package/dist/v1/config/permission.js +3 -3
  808. package/dist/v1/config/plugin.js +1 -1
  809. package/dist/v1/config/provider-options.js +1 -1
  810. package/dist/v1/config/provider.js +4 -4
  811. package/dist/variant.js +106 -106
  812. package/dist/vcs/patch.js +1 -1
  813. package/dist/vcs.js +103 -103
  814. package/dist/video-generation.js +256 -0
  815. package/dist/voice.js +98 -98
  816. package/dist/websearch.js +94 -94
  817. package/dist/wellknown/plugin.js +88 -88
  818. package/dist/wellknown.js +91 -91
  819. package/dist/workspace/driver.js +7 -7
  820. package/dist/workspace/sql.js +1 -1
  821. package/dist/workspace.js +94 -94
  822. package/dist/worktree/directory.js +2 -2
  823. package/dist/worktree/git.js +9 -9
  824. package/dist/worktree/sql.js +5 -5
  825. package/dist/worktree/strategies.js +103 -103
  826. package/dist/worktree.js +110 -110
  827. package/package.json +8 -8
  828. package/dist/chunks/reference-3ds0bstw.js +0 -273
  829. package/dist/chunks/reference-6bshxcsx.js +0 -18
  830. package/dist/chunks/reference-gytv1yy4.js +0 -26
  831. /package/dist/chunks/{reference-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  832. /package/dist/chunks/{reference-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  833. /package/dist/chunks/{reference-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  834. /package/dist/chunks/{reference-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  835. /package/dist/chunks/{reference-1kah00gy.js → state-1kah00gy.js} +0 -0
  836. /package/dist/chunks/{reference-24dcb14g.js → state-24dcb14g.js} +0 -0
  837. /package/dist/chunks/{reference-2710q6r3.js → state-2710q6r3.js} +0 -0
  838. /package/dist/chunks/{reference-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  839. /package/dist/chunks/{reference-359p4xyc.js → state-359p4xyc.js} +0 -0
  840. /package/dist/chunks/{reference-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  841. /package/dist/chunks/{reference-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  842. /package/dist/chunks/{reference-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  843. /package/dist/chunks/{reference-4qk9sjk2.js → state-4qk9sjk2.js} +0 -0
  844. /package/dist/chunks/{reference-53557ph1.js → state-53557ph1.js} +0 -0
  845. /package/dist/chunks/{reference-5w3e23ze.js → state-5w3e23ze.js} +0 -0
  846. /package/dist/chunks/{reference-6agm2x70.js → state-6agm2x70.js} +0 -0
  847. /package/dist/chunks/{reference-6prwharc.js → state-6prwharc.js} +0 -0
  848. /package/dist/chunks/{reference-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
  849. /package/dist/chunks/{reference-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  850. /package/dist/chunks/{reference-7m9af43g.js → state-7m9af43g.js} +0 -0
  851. /package/dist/chunks/{reference-7rvsyqjv.js → state-7rvsyqjv.js} +0 -0
  852. /package/dist/chunks/{reference-822emrt2.js → state-822emrt2.js} +0 -0
  853. /package/dist/chunks/{reference-84wd9syh.js → state-84wd9syh.js} +0 -0
  854. /package/dist/chunks/{reference-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  855. /package/dist/chunks/{reference-8n3pysct.js → state-8n3pysct.js} +0 -0
  856. /package/dist/chunks/{reference-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  857. /package/dist/chunks/{reference-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  858. /package/dist/chunks/{reference-9ceax7yg.js → state-9ceax7yg.js} +0 -0
  859. /package/dist/chunks/{reference-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  860. /package/dist/chunks/{reference-ade8csyh.js → state-ade8csyh.js} +0 -0
  861. /package/dist/chunks/{reference-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  862. /package/dist/chunks/{reference-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  863. /package/dist/chunks/{reference-beh6qq61.js → state-beh6qq61.js} +0 -0
  864. /package/dist/chunks/{reference-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  865. /package/dist/chunks/{reference-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  866. /package/dist/chunks/{reference-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  867. /package/dist/chunks/{reference-cqv5kn06.js → state-cqv5kn06.js} +0 -0
  868. /package/dist/chunks/{reference-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  869. /package/dist/chunks/{reference-d9fn303g.js → state-d9fn303g.js} +0 -0
  870. /package/dist/chunks/{reference-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  871. /package/dist/chunks/{reference-df08tz66.js → state-df08tz66.js} +0 -0
  872. /package/dist/chunks/{reference-dy18nga0.js → state-dy18nga0.js} +0 -0
  873. /package/dist/chunks/{reference-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  874. /package/dist/chunks/{reference-ean2d8b5.js → state-ean2d8b5.js} +0 -0
  875. /package/dist/chunks/{reference-ec1grn59.js → state-ec1grn59.js} +0 -0
  876. /package/dist/chunks/{reference-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  877. /package/dist/chunks/{reference-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  878. /package/dist/chunks/{reference-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  879. /package/dist/chunks/{reference-faypxj3z.js → state-faypxj3z.js} +0 -0
  880. /package/dist/chunks/{reference-fd410y7t.js → state-fd410y7t.js} +0 -0
  881. /package/dist/chunks/{reference-fkpq3x5p.js → state-fkpq3x5p.js} +0 -0
  882. /package/dist/chunks/{reference-g86h250q.js → state-g86h250q.js} +0 -0
  883. /package/dist/chunks/{reference-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  884. /package/dist/chunks/{reference-gftt206x.js → state-gftt206x.js} +0 -0
  885. /package/dist/chunks/{reference-hcxmzztb.js → state-hcxmzztb.js} +0 -0
  886. /package/dist/chunks/{reference-hk9envan.js → state-hk9envan.js} +0 -0
  887. /package/dist/chunks/{reference-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  888. /package/dist/chunks/{reference-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  889. /package/dist/chunks/{reference-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  890. /package/dist/chunks/{reference-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  891. /package/dist/chunks/{reference-jwr30sdr.js → state-jwr30sdr.js} +0 -0
  892. /package/dist/chunks/{reference-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  893. /package/dist/chunks/{reference-m18g726c.js → state-m18g726c.js} +0 -0
  894. /package/dist/chunks/{reference-mp448xyj.js → state-mp448xyj.js} +0 -0
  895. /package/dist/chunks/{reference-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  896. /package/dist/chunks/{reference-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  897. /package/dist/chunks/{reference-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  898. /package/dist/chunks/{reference-nh4v3znn.js → state-nh4v3znn.js} +0 -0
  899. /package/dist/chunks/{reference-njntx4h6.js → state-njntx4h6.js} +0 -0
  900. /package/dist/chunks/{reference-p71gwv9c.js → state-p71gwv9c.js} +0 -0
  901. /package/dist/chunks/{reference-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  902. /package/dist/chunks/{reference-q74kybfr.js → state-q74kybfr.js} +0 -0
  903. /package/dist/chunks/{reference-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  904. /package/dist/chunks/{reference-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  905. /package/dist/chunks/{reference-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  906. /package/dist/chunks/{reference-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  907. /package/dist/chunks/{reference-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  908. /package/dist/chunks/{reference-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  909. /package/dist/chunks/{reference-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  910. /package/dist/chunks/{reference-syrav9an.js → state-syrav9an.js} +0 -0
  911. /package/dist/chunks/{reference-t03h4f5z.js → state-t03h4f5z.js} +0 -0
  912. /package/dist/chunks/{reference-ty7weeps.js → state-ty7weeps.js} +0 -0
  913. /package/dist/chunks/{reference-v2dnd5dt.js → state-v2dnd5dt.js} +0 -0
  914. /package/dist/chunks/{reference-ve7vex1e.js → state-ve7vex1e.js} +0 -0
  915. /package/dist/chunks/{reference-vtarvj67.js → state-vtarvj67.js} +0 -0
  916. /package/dist/chunks/{reference-w803qqfp.js → state-w803qqfp.js} +0 -0
  917. /package/dist/chunks/{reference-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  918. /package/dist/chunks/{reference-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  919. /package/dist/chunks/{reference-wtztk69x.js → state-wtztk69x.js} +0 -0
  920. /package/dist/chunks/{reference-x4th4bpe.js → state-x4th4bpe.js} +0 -0
  921. /package/dist/chunks/{reference-y44na4kk.js → state-y44na4kk.js} +0 -0
  922. /package/dist/chunks/{reference-y8f7s663.js → state-y8f7s663.js} +0 -0
  923. /package/dist/chunks/{reference-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  924. /package/dist/chunks/{reference-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
  925. /package/dist/chunks/{reference-z9919s4g.js → state-z9919s4g.js} +0 -0
  926. /package/dist/chunks/{reference-zxpyjp51.js → state-zxpyjp51.js} +0 -0
  927. /package/dist/chunks/{reference-zz5vv3aq.js → state-zz5vv3aq.js} +0 -0
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service67,
3
- layer26,
4
- node68
5
- } from "./reference-ehz6qvp6.js";
2
+ Service74,
3
+ layer27,
4
+ node75
5
+ } from "./state-w0t345fn.js";
6
6
  import {
7
7
  latest2,
8
- Service79,
8
+ Service81,
9
9
  testLayer3,
10
- node80
11
- } from "./reference-yhjem5gc.js";
10
+ node83
11
+ } from "./state-daqyv0pv.js";
12
12
  import {
13
13
  __export
14
- } from "./reference-9rqn6x4v.js";
14
+ } from "./state-9rqn6x4v.js";
15
15
 
16
16
  // src/flag.ts
17
17
  var exports_flag = {};
18
18
  __export(exports_flag, {
19
19
  Flag: () => exports_flag,
20
20
  Overrides: () => Overrides2,
21
- Service: () => Service65,
21
+ Service: () => Service70,
22
22
  all: () => all2,
23
23
  enabled: () => enabled3,
24
24
  layer: () => layer25,
25
- node: () => node66,
25
+ node: () => node71,
26
26
  resolve: () => resolve3,
27
27
  testLayer: () => testLayer2
28
28
  });
29
29
  import { Context, Effect, Layer, Record } from "effect";
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { ConfigFlag } from "@opencode/schema/config/flag";
32
- class Service65 extends Context.Service()("@opencode/Flag") {
32
+ class Service70 extends Context.Service()("@opencode/Flag") {
33
33
  }
34
34
  var Overrides2 = Context.Reference("@opencode/Flag/Overrides", {
35
35
  defaultValue: () => process.env.OPENCODE_FLAGS
@@ -41,33 +41,34 @@ function resolve3(input) {
41
41
  const experimental = latest2(input.entries, "experimental");
42
42
  const allFlags = input.entries.findLast((entry) => entry.type === "document" && entry.info.experimental?.all_flags !== undefined)?.info.experimental?.all_flags === true;
43
43
  return Record.map(ConfigFlag.registry, (_, key) => {
44
- const override = env.get(key) ?? (all ? true : undefined);
45
- const configured = experimental?.[key] ?? (allFlags ? true : undefined);
46
- const [enabled, source] = override !== undefined ? [override, "env"] : configured !== undefined ? [configured, "config"] : [onByDefault(input.channel), "default"];
44
+ const optInOnly = ConfigFlag.optInOnly.has(key);
45
+ const override = env.get(key) ?? (all && !optInOnly ? true : undefined);
46
+ const configured = experimental?.[key] ?? (allFlags && !optInOnly ? true : undefined);
47
+ const [enabled, source] = override !== undefined ? [override, "env"] : configured !== undefined ? [configured, "config"] : [!optInOnly && onByDefault(input.channel), "default"];
47
48
  return { enabled, source };
48
49
  });
49
50
  }
50
- var layer25 = Layer.effect(Service65, Effect.gen(function* () {
51
- const app = yield* Service67;
52
- const config = yield* Service79;
51
+ var layer25 = Layer.effect(Service70, Effect.gen(function* () {
52
+ const app = yield* Service74;
53
+ const config = yield* Service81;
53
54
  const overrides = yield* Overrides2;
54
55
  const resolveEntries = (entries) => resolve3({ entries, channel: app.channel, overrides });
55
56
  const all = Effect.gen(function* () {
56
57
  return resolveEntries(yield* config.entries());
57
58
  });
58
- return Service65.of({
59
+ return Service70.of({
59
60
  resolve: resolveEntries,
60
61
  all,
61
62
  enabled: (key) => Effect.map(all, (flags) => flags[key].enabled)
62
63
  });
63
64
  }));
64
- var testLayer2 = (entries = [], options) => Layer.fresh(layer25).pipe(Layer.provideMerge(Layer.mergeAll(layer26(options?.app), testLayer3(entries), Layer.succeed(Overrides2, options?.overrides))));
65
- var node66 = makeLocationNode({
66
- service: Service65,
65
+ var testLayer2 = (entries = [], options) => Layer.fresh(layer25).pipe(Layer.provideMerge(Layer.mergeAll(layer27(options?.app), testLayer3(entries), Layer.succeed(Overrides2, options?.overrides))));
66
+ var node71 = makeLocationNode({
67
+ service: Service70,
67
68
  layer: layer25,
68
- deps: [node68, node80]
69
+ deps: [node75, node83]
69
70
  });
70
- var all2 = Service65.use((flags) => flags.all);
71
- var enabled3 = (key) => Service65.use((flags) => flags.enabled(key));
71
+ var all2 = Service70.use((flags) => flags.all);
72
+ var enabled3 = (key) => Service70.use((flags) => flags.enabled(key));
72
73
 
73
- export { Service65, Overrides2, resolve3, layer25, testLayer2, node66, all2, enabled3, exports_flag };
74
+ export { Service70, Overrides2, resolve3, layer25, testLayer2, node71, all2, enabled3, exports_flag };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  make12
3
- } from "./reference-bhfd478d.js";
3
+ } from "./state-bhfd478d.js";
4
4
  import {
5
5
  make13
6
- } from "./reference-93xmyh8q.js";
6
+ } from "./state-93xmyh8q.js";
7
7
  import {
8
8
  __export
9
- } from "./reference-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/provider/claude-agent/claude/query-options.ts
12
12
  var exports_query_options = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  content3
3
- } from "./reference-sbya78hr.js";
3
+ } from "./state-sbya78hr.js";
4
4
  import {
5
5
  groups2
6
- } from "./reference-vjf35v1f.js";
6
+ } from "./state-vjf35v1f.js";
7
7
  import {
8
8
  __export
9
- } from "./reference-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/provider/claude-agent/tools/result.ts
12
12
  var exports_result = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create4
3
- } from "./reference-40y6dtc2.js";
3
+ } from "./state-40y6dtc2.js";
4
4
  import {
5
5
  __export
6
- } from "./reference-9rqn6x4v.js";
6
+ } from "./state-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service47,
14
+ Service: () => Service48,
15
15
  SizeError: () => SizeError2,
16
- node: () => node49
16
+ node: () => node50
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service47 extends Context.Service()("@opencode/Image") {
45
+ class Service48 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service47, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
48
48
  const state = create4({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service47.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service48.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node49 = makeLocationNode({ service: Service47, layer, deps: [] });
79
+ var node50 = makeLocationNode({ service: Service48, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service47, node49, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service48, node50, exports_image2 };
@@ -3,22 +3,22 @@ import {
3
3
  removed2,
4
4
  make32,
5
5
  diffByKey2
6
- } from "./reference-q5bk3gvt.js";
6
+ } from "./state-q5bk3gvt.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize3,
10
10
  lookup2,
11
11
  namespaceLine2,
12
12
  cost2
13
- } from "./reference-85jq8dht.js";
13
+ } from "./state-85jq8dht.js";
14
14
  import {
15
15
  __export
16
- } from "./reference-9rqn6x4v.js";
16
+ } from "./state-9rqn6x4v.js";
17
17
 
18
18
  // src/codemode/instructions.ts
19
- var exports_instructions4 = {};
20
- __export(exports_instructions4, {
21
- CodeModeInstructions: () => exports_instructions4,
19
+ var exports_instructions3 = {};
20
+ __export(exports_instructions3, {
21
+ CodeModeInstructions: () => exports_instructions3,
22
22
  make: () => make25,
23
23
  render: () => render2,
24
24
  update: () => update3
@@ -139,4 +139,4 @@ var make25 = (inventory) => {
139
139
  });
140
140
  };
141
141
 
142
- export { render2, update3, make25, exports_instructions4 };
142
+ export { render2, update3, make25, exports_instructions3 };
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  key3
3
- } from "./reference-xvn8mnch.js";
3
+ } from "./state-xvn8mnch.js";
4
4
  import {
5
- ID16,
6
- Service83
7
- } from "./reference-tersd549.js";
5
+ ID17,
6
+ Service85
7
+ } from "./state-rkqz6a1c.js";
8
8
  import {
9
- load3,
10
- derive2
11
- } from "./reference-d44kf1gs.js";
9
+ load5,
10
+ derive3
11
+ } from "./state-wc1a1f4e.js";
12
12
  import {
13
- Service48,
13
+ Service79,
14
14
  fingerprint2
15
- } from "./reference-6es1dp4c.js";
15
+ } from "./state-8xgwt13h.js";
16
16
  import {
17
17
  start3
18
- } from "./reference-2x93n1ej.js";
18
+ } from "./state-kja9qb4q.js";
19
19
  import {
20
20
  activeCredential2
21
- } from "./reference-6mt11s64.js";
21
+ } from "./state-wves2w9a.js";
22
22
 
23
23
  // src/plugin/provider/modal.ts
24
24
  import { Effect } from "effect";
25
25
  import { HttpClient } from "effect/http";
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
- var providerID = ID16.make("modal");
27
+ var providerID = ID17.make("modal");
28
28
  var ModalPlugin2 = define({
29
29
  id: "opencode.provider.modal",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const providers = yield* Service83;
32
- const cache = yield* Service48;
31
+ const providers = yield* Service85;
32
+ const cache = yield* Service79;
33
33
  const http = yield* HttpClient.HttpClient;
34
34
  const discovered = yield* start3({
35
35
  integrationID: "modal",
@@ -46,7 +46,7 @@ var ModalPlugin2 = define({
46
46
  const models = yield* cache.get({
47
47
  key: modelsKey(connection, apiKey, baseURL),
48
48
  ...options,
49
- load: (connection ? ctx.integration.connection.resolve(connection) : Effect.undefined).pipe(Effect.map((current) => current?.type === "key" ? current.key : connection ? undefined : process.env.MODAL_PROXY_TOKEN), Effect.flatMap((key) => key ? load3(http, baseURL, key) : Effect.fail(new Error("Modal connection has no API key"))), Effect.map((models) => models.toSorted((a, b) => a.id.localeCompare(b.id))))
49
+ load: (connection ? ctx.integration.connection.resolve(connection) : Effect.undefined).pipe(Effect.map((current) => current?.type === "key" ? current.key : connection ? undefined : process.env.MODAL_PROXY_TOKEN), Effect.flatMap((key) => key ? load5(http, baseURL, key) : Effect.fail(new Error("Modal connection has no API key"))), Effect.map((models) => models.toSorted((a, b) => a.id.localeCompare(b.id))))
50
50
  }).pipe(Effect.orElseSucceed(() => {
51
51
  return;
52
52
  }));
@@ -60,7 +60,7 @@ var ModalPlugin2 = define({
60
60
  return;
61
61
  evt.add({
62
62
  info: item.provider,
63
- models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
63
+ models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
64
64
  sourceConnection: loaded.connection
65
65
  });
66
66
  });
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service94,
3
- node96
4
- } from "./reference-1ah6h1c8.js";
2
+ Service95,
3
+ node97
4
+ } from "./state-t487xv8s.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./reference-s47rahr7.js";
7
+ } from "./state-s47rahr7.js";
8
8
  import {
9
- Service92,
10
- node94
11
- } from "./reference-cthcgjcr.js";
9
+ Service94,
10
+ node96
11
+ } from "./state-w4n8krtt.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./reference-ec1grn59.js";
14
+ } from "./state-ec1grn59.js";
15
15
  import {
16
16
  SessionMessageTable2,
17
17
  SessionInboxTable2
18
- } from "./reference-mb7mbhnz.js";
18
+ } from "./state-mb7mbhnz.js";
19
19
  import {
20
20
  SessionMessage2
21
- } from "./reference-gftt206x.js";
21
+ } from "./state-gftt206x.js";
22
22
  import {
23
23
  UserPayload3
24
- } from "./reference-fg9p65nk.js";
24
+ } from "./state-fg9p65nk.js";
25
25
  import {
26
26
  hydrateInbox2,
27
27
  keepInboxRefs2,
@@ -29,13 +29,13 @@ import {
29
29
  externalizePayload2,
30
30
  recordRefs2,
31
31
  releaseMessage2
32
- } from "./reference-nkq0r34s.js";
32
+ } from "./state-t7n150wv.js";
33
33
  import {
34
34
  decodeMessageRows2
35
- } from "./reference-5cqcj65p.js";
35
+ } from "./state-2z7yzjmq.js";
36
36
  import {
37
37
  __export
38
- } from "./reference-9rqn6x4v.js";
38
+ } from "./state-9rqn6x4v.js";
39
39
 
40
40
  // src/session/inbox.ts
41
41
  var exports_inbox = {};
@@ -43,7 +43,7 @@ __export(exports_inbox, {
43
43
  Compaction: () => Compaction2,
44
44
  CompactionPayload: () => CompactionPayload2,
45
45
  Delivery: () => Delivery2,
46
- Info: () => Info12,
46
+ Info: () => Info13,
47
47
  Item: () => Item2,
48
48
  LifecycleConflict: () => LifecycleConflict2,
49
49
  MediaInfo: () => MediaInfo2,
@@ -51,7 +51,7 @@ __export(exports_inbox, {
51
51
  MediaUserPayload: () => MediaUserPayload2,
52
52
  Move: () => Move2,
53
53
  MovePayload: () => MovePayload2,
54
- Service: () => Service53,
54
+ Service: () => Service56,
55
55
  SessionInbox: () => exports_inbox,
56
56
  Synthetic: () => Synthetic2,
57
57
  SyntheticPayload: () => SyntheticPayload2,
@@ -60,12 +60,12 @@ __export(exports_inbox, {
60
60
  find: () => find2,
61
61
  has: () => has2,
62
62
  layer: () => layer23,
63
- list: () => list3,
63
+ list: () => list4,
64
64
  listWithRefs: () => listWithRefs2,
65
65
  make: () => make30,
66
66
  moveIDs: () => moveIDs2,
67
67
  nextPromotable: () => nextPromotable2,
68
- node: () => node54,
68
+ node: () => node57,
69
69
  projectAdmitted: () => projectAdmitted2,
70
70
  projectCancelled: () => projectCancelled2,
71
71
  projectDelivered: () => projectDelivered2,
@@ -80,7 +80,7 @@ import {
80
80
  Compaction as Compaction2,
81
81
  CompactionPayload as CompactionPayload2,
82
82
  Delivery as Delivery2,
83
- Info as Info12,
83
+ Info as Info13,
84
84
  Item as Item2,
85
85
  MediaInfo as MediaInfo2,
86
86
  MediaUser as MediaUser2,
@@ -184,12 +184,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
184
184
  });
185
185
  });
186
186
 
187
- class Service53 extends Context.Service()("@opencode/SessionInbox") {
187
+ class Service56 extends Context.Service()("@opencode/SessionInbox") {
188
188
  }
189
189
  var make30 = Effect.fn("SessionInbox.make")(function* () {
190
- const database = yield* Service94;
190
+ const database = yield* Service95;
191
191
  const db = database.db;
192
- const bus = yield* Service92;
192
+ const bus = yield* Service94;
193
193
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
194
194
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
195
195
  if (existing === undefined)
@@ -206,7 +206,7 @@ var make30 = Effect.fn("SessionInbox.make")(function* () {
206
206
  inboxID: request.id,
207
207
  sessionID: request.sessionID,
208
208
  item: request.item
209
- }).pipe(Effect.map((event) => Info12.make({
209
+ }).pipe(Effect.map((event) => Info13.make({
210
210
  id: request.id,
211
211
  sessionID: request.sessionID,
212
212
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -226,7 +226,7 @@ var make30 = Effect.fn("SessionInbox.make")(function* () {
226
226
  }
227
227
  if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
228
228
  return yield* new LifecycleConflict2({ id: input.id });
229
- const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
229
+ const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
230
230
  if (pending)
231
231
  return pending;
232
232
  return yield* admit({
@@ -251,7 +251,7 @@ var make30 = Effect.fn("SessionInbox.make")(function* () {
251
251
  delivery: "queue"
252
252
  })));
253
253
  return {
254
- list: (sessionID) => list3(db, sessionID),
254
+ list: (sessionID) => list4(db, sessionID),
255
255
  reconcile,
256
256
  admit,
257
257
  admitCompaction,
@@ -260,8 +260,8 @@ var make30 = Effect.fn("SessionInbox.make")(function* () {
260
260
  queue
261
261
  };
262
262
  });
263
- var layer23 = Layer.effect(Service53, make30());
264
- var node54 = makeGlobalNode({ service: Service53, layer: layer23, deps: [node96, node94] });
263
+ var layer23 = Layer.effect(Service56, make30());
264
+ var node57 = makeGlobalNode({ service: Service56, layer: layer23, deps: [node97, node96] });
265
265
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
266
266
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
267
267
  if (message !== undefined)
@@ -310,7 +310,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
310
310
  to: input.delivery
311
311
  }));
312
312
  var listRows = (db, sessionID) => db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
313
- var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
313
+ var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
314
314
  return (yield* hydrateInbox2(db, yield* listRows(db, sessionID))).map(fromRow);
315
315
  });
316
316
  var listWithRefs2 = Effect.fn("SessionInbox.listWithRefs")(function* (db, sessionID) {
@@ -388,4 +388,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
388
388
  return rows;
389
389
  }));
390
390
 
391
- export { Compaction2, CompactionPayload2, Delivery2, Info12, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service53, make30, layer23, node54, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
391
+ export { Compaction2, CompactionPayload2, Delivery2, Info13, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service56, make30, layer23, node57, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./reference-svcy3p9a.js";
3
+ } from "./state-svcy3p9a.js";
4
4
  import {
5
5
  DEFAULT_SEARCH_TIMEOUT_MS2
6
- } from "./reference-895rbha0.js";
6
+ } from "./state-5jgveppj.js";
7
7
  import {
8
8
  __export
9
- } from "./reference-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/search.ts
12
12
  var exports_search = {};
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service13
3
- } from "./reference-r8ap5qmt.js";
2
+ Service15
3
+ } from "./state-xjfvcama.js";
4
4
  import {
5
5
  __export
6
- } from "./reference-9rqn6x4v.js";
6
+ } from "./state-9rqn6x4v.js";
7
7
 
8
8
  // src/tool/plugin/write.ts
9
9
  var exports_write = {};
10
10
  __export(exports_write, {
11
- Input: () => Input4,
12
- Output: () => Output2,
13
- Plugin: () => Plugin43,
11
+ Input: () => Input12,
12
+ Output: () => Output8,
13
+ Plugin: () => Plugin54,
14
14
  WriteTool: () => exports_write,
15
- name: () => name4
15
+ name: () => name12
16
16
  });
17
17
  import { ToolFailure } from "@opencode/ai/effect";
18
18
  import { Effect, Schema } from "effect";
19
- var name4 = "write";
20
- var Input4 = Schema.Struct({
19
+ var name12 = "write";
20
+ var Input12 = Schema.Struct({
21
21
  path: Schema.String.annotate({
22
22
  description: "Path to the file to write to"
23
23
  }),
24
24
  content: Schema.String.annotate({ description: "Content to write to the file" })
25
25
  });
26
- var Output2 = Schema.String;
27
- var Plugin43 = {
26
+ var Output8 = Schema.String;
27
+ var Plugin54 = {
28
28
  id: "opencode.tool.write",
29
29
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
30
- const fileWrite = yield* Service13;
30
+ const fileWrite = yield* Service15;
31
31
  yield* ctx.tool.transform((editor) => editor.add({
32
- name: name4,
32
+ name: name12,
33
33
  options: { codemode: false, permission: "edit" },
34
34
  description: `Writes a file to the local filesystem, overwriting if one exists.
35
35
 
36
36
  Missing parent directories are created automatically.
37
37
 
38
38
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
39
- input: Input4,
40
- output: Output2,
39
+ input: Input12,
40
+ output: Output8,
41
41
  execute: (input, context) => fileWrite.write(input, context).pipe(Effect.map((written) => ({
42
42
  output: `${written.existed ? "Wrote" : "Created"} file successfully: ${written.resource}`
43
43
  })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
@@ -45,4 +45,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
45
45
  })
46
46
  };
47
47
 
48
- export { name4, Input4, Output2, Plugin43, exports_write };
48
+ export { name12, Input12, Output8, Plugin54, exports_write };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./reference-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/database/batch.ts
6
6
  var exports_batch = {};
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./reference-7tx5zndv.js";
3
+ } from "./state-7tx5zndv.js";
4
4
  import {
5
5
  __export
6
- } from "./reference-9rqn6x4v.js";
6
+ } from "./state-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service37,
11
+ Service: () => Service38,
12
12
  SessionModelTransport: () => exports_model_transport,
13
13
  layer: () => layer15,
14
14
  makeLayer: () => makeLayer2,
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service37 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service38 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service37.of({ bind, close, closeAll });
370
+ return Service38.of({ bind, close, closeAll });
371
371
  }));
372
372
  var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node41 = makeGlobalNode({ service: Service37, layer: layer15, deps: [webSocketConstructor2] });
375
+ var node41 = makeGlobalNode({ service: Service38, layer: layer15, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service37, makeLayer2, layer15, node41, exports_model_transport };
377
+ export { Service38, makeLayer2, layer15, node41, exports_model_transport };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeFiles2
3
- } from "./reference-rgc9cx3e.js";
3
+ } from "./state-rgc9cx3e.js";
4
4
  import {
5
5
  makeLocalDriver2
6
- } from "./reference-cwrgdav8.js";
6
+ } from "./state-cwrgdav8.js";
7
7
  import {
8
- Service87
9
- } from "./reference-y3zgrqjt.js";
8
+ Service65
9
+ } from "./state-vh266b4c.js";
10
10
  import {
11
11
  fingerprint2
12
- } from "./reference-6es1dp4c.js";
12
+ } from "./state-8xgwt13h.js";
13
13
  import {
14
14
  make27
15
- } from "./reference-6pnr6kvt.js";
15
+ } from "./state-zq890cq6.js";
16
16
  import {
17
17
  __export
18
- } from "./reference-9rqn6x4v.js";
18
+ } from "./state-9rqn6x4v.js";
19
19
 
20
20
  // src/mcp/pool.ts
21
21
  var exports_pool = {};
22
22
  __export(exports_pool, {
23
23
  McpPool: () => exports_pool,
24
- Service: () => Service43,
24
+ Service: () => Service44,
25
25
  key: () => key2,
26
26
  layer: () => layer19,
27
- node: () => node46
27
+ node: () => node47
28
28
  });
29
29
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
30
30
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -32,7 +32,7 @@ import { httpFetch } from "@opencode/util/effect/app-node-platform";
32
32
  import { Cause, Context, Deferred, Effect, Exit, Fiber, FiberSet, Layer, Scope, Semaphore } from "effect";
33
33
  import { FetchHttpClient } from "effect/http";
34
34
  import { ChildProcessSpawner } from "effect/process/ChildProcessSpawner";
35
- class Service43 extends Context.Service()("@opencode/McpPool") {
35
+ class Service44 extends Context.Service()("@opencode/McpPool") {
36
36
  }
37
37
  var key2 = (input) => {
38
38
  const config = input.config;
@@ -61,11 +61,11 @@ function fingerprint(secret) {
61
61
  return null;
62
62
  return fingerprint2(typeof secret === "string" ? secret : JSON.stringify(Object.entries(secret).toSorted(([a], [b]) => a.localeCompare(b))));
63
63
  }
64
- var layer19 = Layer.effect(Service43, Effect.gen(function* () {
64
+ var layer19 = Layer.effect(Service44, Effect.gen(function* () {
65
65
  const scope = yield* Effect.scope;
66
66
  const run = yield* FiberSet.makeRuntime();
67
67
  const driver = makeLocalDriver2(yield* ChildProcessSpawner);
68
- const host = Service87.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ const host = Service65.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  const fetch = yield* FetchHttpClient.Fetch;
70
70
  const slots = new Map;
71
71
  const unpoolable = new Set;
@@ -270,8 +270,8 @@ var layer19 = Layer.effect(Service43, Effect.gen(function* () {
270
270
  catalog: (client) => live().catalog(client)
271
271
  };
272
272
  };
273
- return Service43.of({ connection });
273
+ return Service44.of({ connection });
274
274
  }));
275
- var node46 = makeGlobalNode({ service: Service43, layer: layer19, deps: [CrossSpawnSpawner.node, httpFetch] });
275
+ var node47 = makeGlobalNode({ service: Service44, layer: layer19, deps: [CrossSpawnSpawner.node, httpFetch] });
276
276
 
277
- export { Service43, key2, layer19, node46, exports_pool };
277
+ export { Service44, key2, layer19, node47, exports_pool };