@opencode/core 0.0.0-dev-85 → 0.0.0-dev-88

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 (822) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +89 -89
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{instruction-discovery-32hbtqx1.js → reference-03048zfc.js} +4 -4
  8. package/dist/chunks/{instruction-discovery-034tev2y.js → reference-034tev2y.js} +2 -2
  9. package/dist/chunks/{instruction-discovery-cv02ekq1.js → reference-03efvwc7.js} +12 -12
  10. package/dist/chunks/{instruction-discovery-1eeyyfsn.js → reference-05xp378r.js} +3 -3
  11. package/dist/chunks/{instruction-discovery-hfgk9wzg.js → reference-06w9ffrv.js} +5 -5
  12. package/dist/chunks/{instruction-discovery-1hs61ayd.js → reference-0cdqj2ev.js} +17 -17
  13. package/dist/chunks/{instruction-discovery-9qcg53ez.js → reference-0eq01nmm.js} +9 -9
  14. package/dist/chunks/{instruction-discovery-11hfp36g.js → reference-11hfp36g.js} +1 -1
  15. package/dist/chunks/{instruction-discovery-kmzgegqq.js → reference-160yv0cs.js} +8 -8
  16. package/dist/chunks/{instruction-discovery-yhcj1t3x.js → reference-1708cjpw.js} +22 -22
  17. package/dist/chunks/{instruction-discovery-1ep2p91f.js → reference-1ep2p91f.js} +2 -2
  18. package/dist/chunks/{instruction-discovery-n01qhj0y.js → reference-1kn6jdkn.js} +4 -4
  19. package/dist/chunks/{instruction-discovery-pbm40fwr.js → reference-1r8vjw6b.js} +21 -21
  20. package/dist/chunks/{instruction-discovery-rra832zv.js → reference-1txfxaze.js} +4 -4
  21. package/dist/chunks/{instruction-discovery-1x2knyw4.js → reference-1x2knyw4.js} +1 -1
  22. package/dist/chunks/{instruction-discovery-y94tr38g.js → reference-1zjscayb.js} +16 -16
  23. package/dist/chunks/{instruction-discovery-0jq4q1p2.js → reference-1zx9skwy.js} +18 -18
  24. package/dist/chunks/{instruction-discovery-204s3925.js → reference-204s3925.js} +1 -1
  25. package/dist/chunks/{instruction-discovery-4m39ffq2.js → reference-25ez0182.js} +14 -14
  26. package/dist/chunks/{instruction-discovery-ktczfv9w.js → reference-25z5brn1.js} +34 -34
  27. package/dist/chunks/{instruction-discovery-p0tsr9h6.js → reference-2azy8kv6.js} +4 -4
  28. package/dist/chunks/{instruction-discovery-y91k91d6.js → reference-2c8v61wj.js} +11 -11
  29. package/dist/chunks/{instruction-discovery-p3t7kmpe.js → reference-2dhjdcyg.js} +21 -21
  30. package/dist/chunks/{instruction-discovery-h3vzy4ka.js → reference-2gm5wmn4.js} +20 -20
  31. package/dist/chunks/{instruction-discovery-680724q2.js → reference-2yjjj4kt.js} +16 -16
  32. package/dist/chunks/{instruction-discovery-7pstyfmd.js → reference-2ymt8bs9.js} +17 -17
  33. package/dist/chunks/{instruction-discovery-v3bc0gzs.js → reference-30bgehjn.js} +9 -9
  34. package/dist/chunks/{instruction-discovery-b34e6aj5.js → reference-358mwgz7.js} +15 -15
  35. package/dist/chunks/{instruction-discovery-dhkm6j2g.js → reference-38xn8s1k.js} +9 -9
  36. package/dist/chunks/{instruction-discovery-xd0qykp3.js → reference-399x40kv.js} +15 -15
  37. package/dist/chunks/{instruction-discovery-m1epfjq1.js → reference-3b67h89r.js} +12 -12
  38. package/dist/chunks/{instruction-discovery-arq1yqkc.js → reference-3dx6tc7y.js} +36 -36
  39. package/dist/chunks/{instruction-discovery-zhnqdeny.js → reference-3excn5ca.js} +43 -43
  40. package/dist/chunks/{instruction-discovery-27h8nq2q.js → reference-3fehs55v.js} +8 -8
  41. package/dist/chunks/{instruction-discovery-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{instruction-discovery-1ywsh6b9.js → reference-3hs7pcyj.js} +19 -19
  43. package/dist/chunks/{instruction-discovery-a5g15581.js → reference-3j92816q.js} +2 -2
  44. package/dist/chunks/{instruction-discovery-4kr7f4hz.js → reference-3n0qbat0.js} +22 -22
  45. package/dist/chunks/{instruction-discovery-3nnrz6f6.js → reference-3nnrz6f6.js} +1 -1
  46. package/dist/chunks/{instruction-discovery-0pk0a4bb.js → reference-3pn96c4m.js} +24 -24
  47. package/dist/chunks/{instruction-discovery-823phfb1.js → reference-41xwyab1.js} +9 -9
  48. package/dist/chunks/{instruction-discovery-tb5zevkv.js → reference-454hz5tr.js} +15 -15
  49. package/dist/chunks/{instruction-discovery-wfrhkzrr.js → reference-480x63m0.js} +11 -11
  50. package/dist/chunks/{instruction-discovery-qzmmayfr.js → reference-49qz2gqd.js} +36 -36
  51. package/dist/chunks/{instruction-discovery-bp2kawj6.js → reference-4c8wr4ge.js} +20 -20
  52. package/dist/chunks/{instruction-discovery-5nabnb12.js → reference-4h5tdd52.js} +15 -15
  53. package/dist/chunks/{instruction-discovery-7ba1kvb7.js → reference-4hgd96pp.js} +18 -18
  54. package/dist/chunks/{instruction-discovery-4pyp9zr9.js → reference-4pyp9zr9.js} +1 -1
  55. package/dist/chunks/{instruction-discovery-xt05dbmf.js → reference-4rrtbqfj.js} +17 -17
  56. package/dist/chunks/{instruction-discovery-4v008n1t.js → reference-4v008n1t.js} +1 -1
  57. package/dist/chunks/{instruction-discovery-38k6nkcd.js → reference-506jcwr5.js} +14 -14
  58. package/dist/chunks/{instruction-discovery-mdgn3m5p.js → reference-51hjt79c.js} +26 -26
  59. package/dist/chunks/{instruction-discovery-vmzmvncy.js → reference-57jkej76.js} +6 -6
  60. package/dist/chunks/{instruction-discovery-40za9wsf.js → reference-5enarcya.js} +6 -6
  61. package/dist/chunks/{instruction-discovery-cspsqq65.js → reference-5jbj61xt.js} +54 -54
  62. package/dist/chunks/{instruction-discovery-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
  63. package/dist/chunks/{instruction-discovery-3an2h7zk.js → reference-5mw9p4pk.js} +1 -1
  64. package/dist/chunks/{instruction-discovery-vtnateyr.js → reference-5s3xscdw.js} +3 -3
  65. package/dist/chunks/{instruction-discovery-0nvskcjk.js → reference-5t6ge795.js} +43 -43
  66. package/dist/chunks/{instruction-discovery-p7f9amnf.js → reference-5vzhy7nz.js} +4 -4
  67. package/dist/chunks/{instruction-discovery-7ymg3bcy.js → reference-5w1743bk.js} +22 -22
  68. package/dist/chunks/{instruction-discovery-tx91wa5k.js → reference-5w1mdqt7.js} +4 -4
  69. package/dist/chunks/{instruction-discovery-rh9wspnh.js → reference-5w98pc00.js} +175 -175
  70. package/dist/chunks/{instruction-discovery-nz7ydnky.js → reference-5x26af84.js} +4 -4
  71. package/dist/chunks/{instruction-discovery-5zrxpy3q.js → reference-5zrxpy3q.js} +1 -1
  72. package/dist/chunks/{instruction-discovery-wsedqd4z.js → reference-680s3wrb.js} +18 -18
  73. package/dist/chunks/{instruction-discovery-zvtb8gc6.js → reference-69yxas2c.js} +1 -1
  74. package/dist/chunks/{instruction-discovery-hrtnmq5m.js → reference-6emssh1w.js} +14 -14
  75. package/dist/chunks/{instruction-discovery-6esdw8yj.js → reference-6esdw8yj.js} +1 -1
  76. package/dist/chunks/{instruction-discovery-qmacqh3c.js → reference-6h4mdy29.js} +8 -8
  77. package/dist/chunks/{instruction-discovery-z4xn0qmv.js → reference-6hta33qf.js} +14 -14
  78. package/dist/chunks/{instruction-discovery-h0ppebc3.js → reference-6ydy7p7m.js} +8 -8
  79. package/dist/chunks/{instruction-discovery-phn0t9kc.js → reference-73nkqsrq.js} +21 -21
  80. package/dist/chunks/{instruction-discovery-76cb1hcw.js → reference-76cb1hcw.js} +1 -1
  81. package/dist/chunks/{instruction-discovery-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{instruction-discovery-ac1m65en.js → reference-7cd00c8r.js} +88 -88
  83. package/dist/chunks/{instruction-discovery-6mpwyd8c.js → reference-7kvr92hx.js} +13 -13
  84. package/dist/chunks/{instruction-discovery-5jbhsptk.js → reference-7rnxwetx.js} +11 -11
  85. package/dist/chunks/{instruction-discovery-7w2ypzdf.js → reference-7w2ypzdf.js} +1 -1
  86. package/dist/chunks/{instruction-discovery-w040xt49.js → reference-82ajznqh.js} +13 -13
  87. package/dist/chunks/{instruction-discovery-h5ynnaae.js → reference-82ryrchv.js} +16 -16
  88. package/dist/chunks/{instruction-discovery-t6sdddkm.js → reference-84rb59ph.js} +30 -30
  89. package/dist/chunks/{instruction-discovery-t73vrz80.js → reference-89pbwxpj.js} +26 -26
  90. package/dist/chunks/{instruction-discovery-qc86dbtb.js → reference-8r8vc63z.js} +21 -21
  91. package/dist/chunks/{instruction-discovery-2wqj22kd.js → reference-8wnreytb.js} +7 -7
  92. package/dist/chunks/{instruction-discovery-8wtp7s3z.js → reference-8wtp7s3z.js} +1 -1
  93. package/dist/chunks/{instruction-discovery-b9fw4xdr.js → reference-8ykqf5wm.js} +9 -9
  94. package/dist/chunks/{instruction-discovery-90zstvax.js → reference-90zstvax.js} +1 -1
  95. package/dist/chunks/{instruction-discovery-gp2wddyf.js → reference-94sxpgen.js} +16 -16
  96. package/dist/chunks/{instruction-discovery-0tnetv23.js → reference-96t7hsnc.js} +31 -31
  97. package/dist/chunks/{instruction-discovery-ny8111qj.js → reference-9g9k5824.js} +47 -47
  98. package/dist/chunks/{instruction-discovery-aaft7q2k.js → reference-9q3jr3b2.js} +7 -7
  99. package/dist/chunks/{instruction-discovery-nxgn2x81.js → reference-9setpf3m.js} +30 -30
  100. package/dist/chunks/{instruction-discovery-d84x41tm.js → reference-9t00hjd8.js} +54 -54
  101. package/dist/chunks/{instruction-discovery-wmcrta7z.js → reference-9y92s6fj.js} +1 -1
  102. package/dist/chunks/{instruction-discovery-ka7t1p06.js → reference-a7mpn1ry.js} +13 -13
  103. package/dist/chunks/{instruction-discovery-7rjk5fac.js → reference-acp3br9k.js} +4 -4
  104. package/dist/chunks/{instruction-discovery-9v36js8k.js → reference-ag7cwqnf.js} +20 -20
  105. package/dist/chunks/{instruction-discovery-1emdzzkr.js → reference-aj4pq43j.js} +70 -70
  106. package/dist/chunks/{instruction-discovery-qeee0212.js → reference-an5ndxtp.js} +15 -15
  107. package/dist/chunks/{instruction-discovery-3c7hxhsq.js → reference-arcv912a.js} +13 -13
  108. package/dist/chunks/{instruction-discovery-8n9x2wf6.js → reference-axe3mf62.js} +3 -3
  109. package/dist/chunks/{instruction-discovery-ayjs7tqn.js → reference-ayjs7tqn.js} +2 -2
  110. package/dist/chunks/{instruction-discovery-c41kdn9j.js → reference-b42d0mkb.js} +16 -16
  111. package/dist/chunks/{instruction-discovery-b6vsg801.js → reference-b6vsg801.js} +2 -2
  112. package/dist/chunks/{instruction-discovery-79brk8yc.js → reference-bad15fx6.js} +30 -30
  113. package/dist/chunks/{instruction-discovery-qk1yqe57.js → reference-bbs40sma.js} +7 -7
  114. package/dist/chunks/{instruction-discovery-0vp9s6f9.js → reference-bhxpw5jc.js} +9 -9
  115. package/dist/chunks/reference-bk0ke8b9.js +517 -0
  116. package/dist/chunks/{instruction-discovery-czkk2md7.js → reference-br866c65.js} +5 -5
  117. package/dist/chunks/{instruction-discovery-k5nryg5q.js → reference-bz017ehz.js} +17 -17
  118. package/dist/chunks/{instruction-discovery-sgnxyr26.js → reference-bzabcrfb.js} +21 -21
  119. package/dist/chunks/{instruction-discovery-294jph37.js → reference-c3q67jfs.js} +5 -5
  120. package/dist/chunks/{instruction-discovery-ddv2mw00.js → reference-c5m2a8vb.js} +8 -8
  121. package/dist/chunks/{instruction-discovery-trddy46m.js → reference-crc01wwg.js} +10 -10
  122. package/dist/chunks/{instruction-discovery-rrzt70xg.js → reference-ct3g4wzq.js} +18 -18
  123. package/dist/chunks/{instruction-discovery-hvkp93rf.js → reference-cv45xqq7.js} +12 -12
  124. package/dist/chunks/{instruction-discovery-5f43ww3k.js → reference-cw4hf64h.js} +15 -15
  125. package/dist/chunks/{instruction-discovery-cwrgdav8.js → reference-cwrgdav8.js} +2 -2
  126. package/dist/chunks/{instruction-discovery-9s3pg80w.js → reference-czpz1tck.js} +1 -1
  127. package/dist/chunks/{instruction-discovery-r5fjfn5p.js → reference-d0t22gk3.js} +9 -9
  128. package/dist/chunks/{instruction-discovery-zzdv5d93.js → reference-d1v2vbzt.js} +4 -4
  129. package/dist/chunks/{instruction-discovery-j769ea62.js → reference-d1vrh39f.js} +3 -3
  130. package/dist/chunks/{instruction-discovery-pwzvsy7a.js → reference-d2j5hydn.js} +5 -5
  131. package/dist/chunks/{instruction-discovery-d4v9tmah.js → reference-d4v9tmah.js} +2 -2
  132. package/dist/chunks/{instruction-discovery-dxmx8bx1.js → reference-d7fvpgyy.js} +32 -32
  133. package/dist/chunks/{instruction-discovery-nrzgv5fb.js → reference-d879sp0e.js} +16 -16
  134. package/dist/chunks/{instruction-discovery-dt77769w.js → reference-dt77769w.js} +1 -1
  135. package/dist/chunks/{instruction-discovery-e834z07m.js → reference-e834z07m.js} +1 -1
  136. package/dist/chunks/{instruction-discovery-khyy6kd5.js → reference-efgcrvx2.js} +21 -21
  137. package/dist/chunks/{instruction-discovery-7hke258b.js → reference-eg9rhaxe.js} +4 -4
  138. package/dist/chunks/{instruction-discovery-szhjew6d.js → reference-egwex341.js} +23 -23
  139. package/dist/chunks/{instruction-discovery-rt3m59k8.js → reference-ewvsv6ts.js} +5 -5
  140. package/dist/chunks/{instruction-discovery-f01y088k.js → reference-f01y088k.js} +2 -2
  141. package/dist/chunks/{instruction-discovery-7pcnyccf.js → reference-fbep93ra.js} +32 -32
  142. package/dist/chunks/{instruction-discovery-41865php.js → reference-fcve0v7r.js} +42 -42
  143. package/dist/chunks/{instruction-discovery-fffv3p7h.js → reference-fffv3p7h.js} +1 -1
  144. package/dist/chunks/{instruction-discovery-fg9p65nk.js → reference-fg9p65nk.js} +2 -2
  145. package/dist/chunks/{instruction-discovery-jkn3ed2k.js → reference-fkdqsftc.js} +11 -11
  146. package/dist/chunks/{instruction-discovery-yf10knd4.js → reference-fm1b0qwr.js} +11 -11
  147. package/dist/chunks/{instruction-discovery-sxqn6tf9.js → reference-fwpsw9b8.js} +2 -2
  148. package/dist/chunks/{instruction-discovery-tt9rt96j.js → reference-g5g1wfe2.js} +13 -13
  149. package/dist/chunks/{instruction-discovery-htgck597.js → reference-g7kcex0y.js} +3 -3
  150. package/dist/chunks/{instruction-discovery-8rbhtgaf.js → reference-g8x414b0.js} +36 -36
  151. package/dist/chunks/{instruction-discovery-xzxxp67t.js → reference-g8xxsv15.js} +48 -48
  152. package/dist/chunks/{instruction-discovery-j0cz3t38.js → reference-ga7vshj9.js} +2 -2
  153. package/dist/chunks/{instruction-discovery-re1vrb27.js → reference-gc4j5hc4.js} +11 -11
  154. package/dist/chunks/{instruction-discovery-828jwtgn.js → reference-gfctfrej.js} +3 -3
  155. package/dist/chunks/{instruction-discovery-gg8p9cgs.js → reference-gg8p9cgs.js} +3 -3
  156. package/dist/chunks/{instruction-discovery-5bgjyvxg.js → reference-gqs0x7cg.js} +25 -25
  157. package/dist/chunks/{instruction-discovery-42cx4vra.js → reference-gssxfh3t.js} +25 -25
  158. package/dist/chunks/{instruction-discovery-jtxvztab.js → reference-gxhmg8t6.js} +17 -17
  159. package/dist/chunks/{instruction-discovery-ey9q43yp.js → reference-h3t1epsy.js} +3 -3
  160. package/dist/chunks/{instruction-discovery-p64tz3wb.js → reference-h44kb9zp.js} +2 -2
  161. package/dist/chunks/{instruction-discovery-qwn0xhwk.js → reference-h77hjnzn.js} +5 -5
  162. package/dist/chunks/{instruction-discovery-af0k6e03.js → reference-hdfrs5mg.js} +9 -9
  163. package/dist/chunks/{instruction-discovery-wr0pphdg.js → reference-hm5jv486.js} +4 -4
  164. package/dist/chunks/{instruction-discovery-hndccpk4.js → reference-hpcmzhc5.js} +23 -23
  165. package/dist/chunks/{instruction-discovery-hpg1pkwy.js → reference-hpg1pkwy.js} +1 -1
  166. package/dist/chunks/{instruction-discovery-p1th5zhm.js → reference-hrz74jgp.js} +19 -19
  167. package/dist/chunks/reference-htat58eq.js +26 -0
  168. package/dist/chunks/{instruction-discovery-8yhc7zrg.js → reference-hvy79q2t.js} +5 -5
  169. package/dist/chunks/{instruction-discovery-af79ean3.js → reference-j44b1axw.js} +4 -4
  170. package/dist/chunks/reference-j75v3e7j.js +257 -0
  171. package/dist/chunks/{instruction-discovery-8wc2fpae.js → reference-ja63h2sr.js} +5 -5
  172. package/dist/chunks/{instruction-discovery-vssebgbw.js → reference-jedme4q7.js} +3 -3
  173. package/dist/chunks/{instruction-discovery-jfaecv01.js → reference-jfaecv01.js} +1 -1
  174. package/dist/chunks/{instruction-discovery-5b3jskfa.js → reference-jmfq5y88.js} +6 -6
  175. package/dist/chunks/{instruction-discovery-r3e3nyxn.js → reference-jqgvqsjx.js} +12 -12
  176. package/dist/chunks/{instruction-discovery-cekdpe72.js → reference-jsfpnsxq.js} +13 -13
  177. package/dist/chunks/{instruction-discovery-jtnps1zs.js → reference-jtnps1zs.js} +2 -2
  178. package/dist/chunks/{instruction-discovery-nzs7qp78.js → reference-jz7hkp52.js} +6 -6
  179. package/dist/chunks/{instruction-discovery-9zrz05pf.js → reference-k792040k.js} +11 -11
  180. package/dist/chunks/{instruction-discovery-k814nvkf.js → reference-k814nvkf.js} +1 -1
  181. package/dist/chunks/{instruction-discovery-cjevvpkz.js → reference-kcfhzf92.js} +22 -22
  182. package/dist/chunks/{instruction-discovery-d2887f8n.js → reference-kkqethq7.js} +4 -4
  183. package/dist/chunks/{instruction-discovery-a1ctfybt.js → reference-kksz5w6c.js} +38 -38
  184. package/dist/chunks/{instruction-discovery-3yy4cqsx.js → reference-kmyndpj7.js} +14 -14
  185. package/dist/chunks/{instruction-discovery-r7dh50dd.js → reference-krp6jf0c.js} +17 -17
  186. package/dist/chunks/{instruction-discovery-kt3bjfbg.js → reference-kt3bjfbg.js} +1 -1
  187. package/dist/chunks/{instruction-discovery-hwh6evq5.js → reference-kyxjnc3p.js} +34 -34
  188. package/dist/chunks/{instruction-discovery-m1714858.js → reference-m1714858.js} +1 -1
  189. package/dist/chunks/{instruction-discovery-wth30mf5.js → reference-m4tvegh7.js} +8 -8
  190. package/dist/chunks/{instruction-discovery-t11dbw9k.js → reference-m805datt.js} +9 -9
  191. package/dist/chunks/{instruction-discovery-h04cnvmy.js → reference-m8ekf0nj.js} +19 -19
  192. package/dist/chunks/{instruction-discovery-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{instruction-discovery-1aepsj9z.js → reference-mm6f8m5x.js} +8 -8
  194. package/dist/chunks/{instruction-discovery-s53p457m.js → reference-mmjdt0jh.js} +36 -36
  195. package/dist/chunks/{instruction-discovery-j7xe0krd.js → reference-mqz3a5pm.js} +17 -17
  196. package/dist/chunks/{instruction-discovery-gbs8zdek.js → reference-mt7kez29.js} +2 -2
  197. package/dist/chunks/{instruction-discovery-fq2tdc7j.js → reference-my6kf17f.js} +10 -10
  198. package/dist/chunks/{instruction-discovery-0qa86xwk.js → reference-myczyk40.js} +32 -32
  199. package/dist/chunks/{instruction-discovery-mq4wmfyx.js → reference-n6fd0dvw.js} +8 -8
  200. package/dist/chunks/{instruction-discovery-n98387tj.js → reference-n7j2vc45.js} +11 -11
  201. package/dist/chunks/{instruction-discovery-nah043kf.js → reference-nah043kf.js} +1 -1
  202. package/dist/chunks/{instruction-discovery-np7r7vht.js → reference-nbw9vdm7.js} +6 -6
  203. package/dist/chunks/{instruction-discovery-b3ysgcgm.js → reference-nk9edasy.js} +4 -4
  204. package/dist/chunks/{instruction-discovery-p015t6z3.js → reference-p015t6z3.js} +2 -2
  205. package/dist/chunks/{instruction-discovery-sx9mwydm.js → reference-p1htsza4.js} +35 -35
  206. package/dist/chunks/{instruction-discovery-c33mp5kd.js → reference-p22kkxvy.js} +34 -34
  207. package/dist/chunks/{instruction-discovery-w0kz34dd.js → reference-p6extme0.js} +11 -11
  208. package/dist/chunks/{instruction-discovery-zn56k3bg.js → reference-pcrvzspp.js} +16 -16
  209. package/dist/chunks/{instruction-discovery-snb901t2.js → reference-pcty9z1k.js} +4 -4
  210. package/dist/chunks/{instruction-discovery-hvvf9qw8.js → reference-pen16d07.js} +6 -6
  211. package/dist/chunks/{instruction-discovery-aq6cyz91.js → reference-pjqb08kt.js} +33 -33
  212. package/dist/chunks/{instruction-discovery-pknna89w.js → reference-pknna89w.js} +1 -1
  213. package/dist/chunks/{instruction-discovery-df15hqy6.js → reference-ppmjhmdn.js} +11 -11
  214. package/dist/chunks/{instruction-discovery-sqjqkxh5.js → reference-pqced4qh.js} +3 -3
  215. package/dist/chunks/{instruction-discovery-qkqjbc48.js → reference-qkqjbc48.js} +1 -1
  216. package/dist/chunks/{instruction-discovery-qp7r0hxv.js → reference-qp7r0hxv.js} +1 -1
  217. package/dist/chunks/{instruction-discovery-fk6vzymk.js → reference-qqn6ezee.js} +6 -6
  218. package/dist/chunks/{instruction-discovery-r0yr0wbs.js → reference-r0yr0wbs.js} +1 -1
  219. package/dist/chunks/{instruction-discovery-r542h3bh.js → reference-r542h3bh.js} +1 -1
  220. package/dist/chunks/{instruction-discovery-5ccfq05q.js → reference-r6ae345h.js} +23 -23
  221. package/dist/chunks/{instruction-discovery-ppvk44vh.js → reference-r6dv60ab.js} +16 -16
  222. package/dist/chunks/{instruction-discovery-rb9dy4dg.js → reference-rb9dy4dg.js} +1 -1
  223. package/dist/chunks/{instruction-discovery-c5kjsz6q.js → reference-rcbjwvze.js} +4 -4
  224. package/dist/chunks/{instruction-discovery-7d154cfc.js → reference-rgd55ngc.js} +10 -10
  225. package/dist/chunks/{instruction-discovery-rt5dr6hb.js → reference-rt5dr6hb.js} +1 -1
  226. package/dist/chunks/{instruction-discovery-dqcgys99.js → reference-s333tm96.js} +7 -7
  227. package/dist/chunks/{instruction-discovery-kh00rq9s.js → reference-s5qs7yse.js} +12 -12
  228. package/dist/chunks/{instruction-discovery-tyxs0a4x.js → reference-s5r0ksct.js} +2 -2
  229. package/dist/chunks/{instruction-discovery-s7kyse9r.js → reference-s7kyse9r.js} +1 -1
  230. package/dist/chunks/{instruction-discovery-sa3fpqfw.js → reference-sa3fpqfw.js} +2 -2
  231. package/dist/chunks/{instruction-discovery-hmyvp2rk.js → reference-shq9ftks.js} +13 -13
  232. package/dist/chunks/{instruction-discovery-sqjzf8x2.js → reference-sqjzf8x2.js} +1 -1
  233. package/dist/chunks/{instruction-discovery-9fwsy5x7.js → reference-sqrd2s2y.js} +14 -14
  234. package/dist/chunks/{instruction-discovery-svcy3p9a.js → reference-svcy3p9a.js} +1 -1
  235. package/dist/chunks/{instruction-discovery-tczq8hjw.js → reference-tczq8hjw.js} +1 -1
  236. package/dist/chunks/{instruction-discovery-kgk2rv7w.js → reference-tg363vyk.js} +47 -47
  237. package/dist/chunks/{instruction-discovery-0cpsvkfc.js → reference-tgb8sy1m.js} +9 -9
  238. package/dist/chunks/{instruction-discovery-r246dpnk.js → reference-thjzaypf.js} +9 -9
  239. package/dist/chunks/{instruction-discovery-nvbva47a.js → reference-tjajrbfk.js} +24 -24
  240. package/dist/chunks/{instruction-discovery-2z2261gz.js → reference-tnxzd87a.js} +15 -15
  241. package/dist/chunks/{instruction-discovery-sqbd8axt.js → reference-tp9rrjmz.js} +11 -11
  242. package/dist/chunks/{instruction-discovery-r3bafmem.js → reference-tpcm2fp0.js} +9 -9
  243. package/dist/chunks/{instruction-discovery-v2wa3hm1.js → reference-tvj9sf3a.js} +89 -89
  244. package/dist/chunks/{instruction-discovery-twssxy5n.js → reference-twssxy5n.js} +2 -2
  245. package/dist/chunks/{instruction-discovery-1j1ma7kd.js → reference-tycat656.js} +10 -10
  246. package/dist/chunks/{instruction-discovery-v2r1d0zg.js → reference-v2r1d0zg.js} +1 -1
  247. package/dist/chunks/{instruction-discovery-sd49ss65.js → reference-v5vb5nzm.js} +18 -18
  248. package/dist/chunks/{instruction-discovery-k8q25bjh.js → reference-v8qn6gca.js} +5 -5
  249. package/dist/chunks/{instruction-discovery-veqvce7d.js → reference-veqvce7d.js} +1 -1
  250. package/dist/chunks/{instruction-discovery-1dwvcqns.js → reference-vh1bcmy7.js} +23 -23
  251. package/dist/chunks/{instruction-discovery-gcjdgkn2.js → reference-vrcsa8qx.js} +9 -9
  252. package/dist/chunks/{instruction-discovery-26x8chrq.js → reference-vsqvcqta.js} +6 -6
  253. package/dist/chunks/{instruction-discovery-dzercy8j.js → reference-w2szm6a4.js} +16 -16
  254. package/dist/chunks/{instruction-discovery-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{instruction-discovery-d4qkn5y3.js → reference-w4p85zmz.js} +28 -28
  256. package/dist/chunks/{instruction-discovery-y26daf22.js → reference-w8n31mpc.js} +41 -41
  257. package/dist/chunks/{instruction-discovery-wakvkjy4.js → reference-wakvkjy4.js} +1 -1
  258. package/dist/chunks/{instruction-discovery-wd87259q.js → reference-wd87259q.js} +1 -1
  259. package/dist/chunks/{instruction-discovery-z6vs1tpd.js → reference-wjfea556.js} +5 -5
  260. package/dist/chunks/{instruction-discovery-wnhgecwx.js → reference-wnhgecwx.js} +1 -1
  261. package/dist/chunks/{instruction-discovery-scdtkf7x.js → reference-wq6y9see.js} +22 -22
  262. package/dist/chunks/{instruction-discovery-wr3re1en.js → reference-wr3re1en.js} +1 -1
  263. package/dist/chunks/{instruction-discovery-2jm5ms20.js → reference-x0y5mag1.js} +30 -30
  264. package/dist/chunks/{instruction-discovery-btec747f.js → reference-x6pyv2yz.js} +5 -5
  265. package/dist/chunks/{instruction-discovery-r6fvgzn7.js → reference-x6r4fegy.js} +43 -43
  266. package/dist/chunks/{instruction-discovery-cchmky4n.js → reference-x7ps9kt0.js} +4 -4
  267. package/dist/chunks/{instruction-discovery-xd9cc171.js → reference-xd9cc171.js} +1 -1
  268. package/dist/chunks/{instruction-discovery-2m0svkb3.js → reference-xfeq68e7.js} +9 -9
  269. package/dist/chunks/{instruction-discovery-kb55mmjg.js → reference-xhmnf1d5.js} +5 -5
  270. package/dist/chunks/{instruction-discovery-v4wde3zy.js → reference-xq2971wf.js} +12 -12
  271. package/dist/chunks/{instruction-discovery-jhpqsnsy.js → reference-xtcsqkmk.js} +17 -17
  272. package/dist/chunks/{instruction-discovery-ktj8frj4.js → reference-xz2wk1pj.js} +5 -5
  273. package/dist/chunks/{instruction-discovery-yjeyjw9f.js → reference-xzaxbh4c.js} +28 -28
  274. package/dist/chunks/{instruction-discovery-3k4eq6ay.js → reference-y73szgh5.js} +11 -11
  275. package/dist/chunks/{instruction-discovery-hjtcgwwy.js → reference-y7pnb98a.js} +11 -11
  276. package/dist/chunks/{instruction-discovery-yara3q77.js → reference-yara3q77.js} +2 -2
  277. package/dist/chunks/{instruction-discovery-a9cen3eq.js → reference-yawad64g.js} +25 -25
  278. package/dist/chunks/{instruction-discovery-yb20nhc3.js → reference-yb20nhc3.js} +1 -1
  279. package/dist/chunks/{instruction-discovery-npchzmkf.js → reference-ybqgjkz7.js} +32 -32
  280. package/dist/chunks/{instruction-discovery-b1tz3sp7.js → reference-ydr0r0c4.js} +13 -13
  281. package/dist/chunks/{instruction-discovery-e4dhw3gc.js → reference-yekehd0c.js} +20 -20
  282. package/dist/chunks/{instruction-discovery-rdywkxba.js → reference-yj7wwm3n.js} +10 -10
  283. package/dist/chunks/{instruction-discovery-613qqnzk.js → reference-ytt91gsd.js} +19 -19
  284. package/dist/chunks/{instruction-discovery-p4gyfc1r.js → reference-z052854x.js} +15 -15
  285. package/dist/chunks/{instruction-discovery-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{instruction-discovery-jwmzhdh0.js → reference-z0px8f9y.js} +18 -18
  287. package/dist/chunks/{instruction-discovery-z38nccrw.js → reference-z38nccrw.js} +1 -1
  288. package/dist/chunks/reference-z7bdqmx5.js +18 -0
  289. package/dist/chunks/{instruction-discovery-dtvrzahv.js → reference-zd8w5hws.js} +14 -14
  290. package/dist/chunks/{instruction-discovery-nmn21yyg.js → reference-ze844e89.js} +31 -31
  291. package/dist/chunks/{instruction-discovery-zgkm4kzm.js → reference-zgkm4kzm.js} +3 -3
  292. package/dist/chunks/{instruction-discovery-kffcn31a.js → reference-zhhya0q8.js} +3 -3
  293. package/dist/chunks/{instruction-discovery-jfbasxex.js → reference-zrvtj653.js} +22 -22
  294. package/dist/chunks/{instruction-discovery-f7b3yq4m.js → reference-zstkhq2e.js} +11 -11
  295. package/dist/chunks/{instruction-discovery-wbst3c7q.js → reference-zxxmr6sq.js} +5 -5
  296. package/dist/codemode/catalog.js +1 -1
  297. package/dist/codemode/instructions.js +9 -9
  298. package/dist/codemode/tool.js +3 -3
  299. package/dist/codemode/web.js +1 -1
  300. package/dist/command.js +83 -83
  301. package/dist/config/discovery.js +90 -90
  302. package/dist/config/integration.js +3 -3
  303. package/dist/config/markdown.js +1 -1
  304. package/dist/config/normalize.js +107 -107
  305. package/dist/config/plugin/agent.js +123 -123
  306. package/dist/config/plugin/command.js +221 -221
  307. package/dist/config/plugin/compaction.js +162 -162
  308. package/dist/config/plugin/compatibility.js +142 -142
  309. package/dist/config/plugin/entry-observer.js +1 -1
  310. package/dist/config/plugin/formatter.js +122 -122
  311. package/dist/config/plugin/image.js +121 -121
  312. package/dist/config/plugin/instruction.js +121 -121
  313. package/dist/config/plugin/location-watcher.js +123 -123
  314. package/dist/config/plugin/mcp.js +132 -132
  315. package/dist/config/plugin/policy.js +123 -123
  316. package/dist/config/plugin/provider.js +122 -122
  317. package/dist/config/plugin/reference.js +123 -123
  318. package/dist/config/plugin/shell.js +121 -121
  319. package/dist/config/plugin/skill-file.js +138 -138
  320. package/dist/config/plugin/skill-scan.js +1 -1
  321. package/dist/config/plugin/skill.js +145 -145
  322. package/dist/config/plugin/snapshot.js +121 -121
  323. package/dist/config/plugin/source.js +120 -120
  324. package/dist/config/plugin/tool-output.js +122 -122
  325. package/dist/config/plugin/websearch.js +120 -120
  326. package/dist/config/plugin/worktree.js +123 -123
  327. package/dist/config/variable.js +1 -1
  328. package/dist/config/watch.js +1 -1
  329. package/dist/config.js +122 -122
  330. package/dist/console-access.js +1 -1
  331. package/dist/credential/sql.js +2 -2
  332. package/dist/credential.js +85 -85
  333. package/dist/database/database.js +72 -72
  334. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  335. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  336. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  337. package/dist/database/drizzle/index.js +13 -13
  338. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  341. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  344. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  346. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  347. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  348. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  349. package/dist/database/drizzle.js +14 -14
  350. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  351. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  352. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  353. package/dist/database/migration/20260225215848_workspace.js +1 -1
  354. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  355. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  356. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  357. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  358. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  359. package/dist/database/migration/20260323234822_events.js +1 -1
  360. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  361. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  362. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  363. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  364. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  365. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  366. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  367. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  368. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  369. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  370. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  371. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  372. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  373. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  374. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  375. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  376. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  377. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  378. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  379. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  380. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  381. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  382. package/dist/database/migration/20260611035744_credential.js +1 -1
  383. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  384. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  385. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  386. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  387. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  388. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  389. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  390. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  391. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  392. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  393. package/dist/database/migration/20260812213948_worktree.js +1 -1
  394. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  395. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  396. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  397. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  398. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  399. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  400. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  401. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  402. package/dist/database/migration/20261025123711_blob.js +1 -1
  403. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  404. package/dist/database/migration.gen.js +55 -55
  405. package/dist/database/migration.js +57 -57
  406. package/dist/database/path.js +2 -2
  407. package/dist/database/schema.gen.js +1 -1
  408. package/dist/database/schema.sql.js +1 -1
  409. package/dist/database/sqlite.bun.js +1 -1
  410. package/dist/database/sqlite.js +1 -1
  411. package/dist/database/sqlite.node.js +1 -1
  412. package/dist/database/sqlite.workerd.js +1 -1
  413. package/dist/database/v1-migration.bun.js +100 -100
  414. package/dist/database/v1-migration.js +1 -1
  415. package/dist/effect/app-node-builder.js +382 -382
  416. package/dist/effect/app-node-platform.js +2 -2
  417. package/dist/effect/keyed-mutex.js +1 -1
  418. package/dist/effect/websocket-constructor.js +1 -1
  419. package/dist/environment/driver.js +1 -1
  420. package/dist/environment/environment.js +101 -101
  421. package/dist/environment/exec-defaults.js +2 -2
  422. package/dist/environment/files.js +1 -1
  423. package/dist/environment/index.js +103 -103
  424. package/dist/environment/local.js +2 -2
  425. package/dist/environment/memory.js +2 -2
  426. package/dist/environment/unavailable.js +1 -1
  427. package/dist/event/sql.js +1 -1
  428. package/dist/event-logger.js +76 -76
  429. package/dist/file-access.js +148 -148
  430. package/dist/file-mutation.js +102 -102
  431. package/dist/file-retention.js +1 -1
  432. package/dist/filesystem/fff.bun.js +2 -2
  433. package/dist/filesystem/fff.js +1 -1
  434. package/dist/filesystem/fff.node.js +2 -2
  435. package/dist/filesystem/fff.workerd.js +2 -2
  436. package/dist/filesystem/file-watch.js +83 -83
  437. package/dist/filesystem/location-watcher-policy.js +4 -4
  438. package/dist/filesystem/location-watcher.js +234 -234
  439. package/dist/filesystem/protected.js +1 -1
  440. package/dist/filesystem/search.js +107 -107
  441. package/dist/filesystem/watcher-binding.js +1 -1
  442. package/dist/filesystem/watcher.js +9 -9
  443. package/dist/filesystem.js +112 -112
  444. package/dist/form.js +84 -84
  445. package/dist/formatter/builtins.js +2 -2
  446. package/dist/formatter.js +95 -95
  447. package/dist/generate.js +117 -117
  448. package/dist/git.js +11 -11
  449. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  450. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  451. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  452. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  453. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  454. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  455. package/dist/github-copilot/copilot-provider.js +17 -17
  456. package/dist/github-copilot/models.js +99 -99
  457. package/dist/github-copilot/openai-compatible-error.js +1 -1
  458. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  459. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  460. package/dist/github-copilot/responses/openai-error.js +1 -1
  461. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  462. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  463. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  464. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  465. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  467. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  468. package/dist/image/photon-normalize.js +1 -1
  469. package/dist/image/photon-worker.js +1 -1
  470. package/dist/image/photon.js +4 -4
  471. package/dist/image.js +6 -6
  472. package/dist/instance/service.js +5 -5
  473. package/dist/instance.js +373 -373
  474. package/dist/instruction-discovery.js +88 -88
  475. package/dist/instructions/builtins.js +95 -95
  476. package/dist/instructions/index.js +3 -3
  477. package/dist/integration/connection.js +3 -3
  478. package/dist/integration.js +89 -89
  479. package/dist/job.js +84 -84
  480. package/dist/kv/sql.js +2 -2
  481. package/dist/kv.js +75 -75
  482. package/dist/location-activity.js +163 -163
  483. package/dist/location-lifecycle.js +142 -142
  484. package/dist/location-service-map.js +94 -94
  485. package/dist/location-services.js +370 -370
  486. package/dist/location.js +93 -93
  487. package/dist/managed-policy.js +9 -9
  488. package/dist/mcp/client.js +99 -99
  489. package/dist/mcp/index.js +117 -117
  490. package/dist/mcp/instructions.js +168 -168
  491. package/dist/mcp/oauth.js +81 -81
  492. package/dist/mcp/socket-client.js +1 -1
  493. package/dist/mcp/stdio.js +98 -98
  494. package/dist/mime.js +1 -1
  495. package/dist/modal/models.js +99 -99
  496. package/dist/model-resolver.js +107 -107
  497. package/dist/model-retry.js +1 -1
  498. package/dist/model.js +108 -108
  499. package/dist/models-dev/v1.js +1 -1
  500. package/dist/models-dev.js +116 -116
  501. package/dist/oauth/page.js +1 -1
  502. package/dist/permission/saved.js +88 -88
  503. package/dist/permission/sql.js +5 -5
  504. package/dist/permission.js +147 -147
  505. package/dist/persistent-pty/binary.bun.js +1 -1
  506. package/dist/persistent-pty/daemon.js +1 -1
  507. package/dist/persistent-pty/index.js +88 -88
  508. package/dist/persistent-pty/pty-binding.js +1 -1
  509. package/dist/persistent-pty.js +81 -81
  510. package/dist/plugin/agent.js +82 -82
  511. package/dist/plugin/command.js +110 -110
  512. package/dist/plugin/hooks.js +5 -5
  513. package/dist/plugin/host.js +225 -225
  514. package/dist/plugin/identity.js +5 -5
  515. package/dist/plugin/instance.js +5 -5
  516. package/dist/plugin/internal.js +343 -343
  517. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  518. package/dist/plugin/models-dev.js +105 -105
  519. package/dist/plugin/module.js +123 -123
  520. package/dist/plugin/optimize.js +2 -2
  521. package/dist/plugin/plan.js +138 -138
  522. package/dist/plugin/promise.js +1 -1
  523. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  524. package/dist/plugin/provider/azure.js +121 -121
  525. package/dist/plugin/provider/cerebras.js +1 -1
  526. package/dist/plugin/provider/chatgpt.js +121 -121
  527. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  528. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  529. package/dist/plugin/provider/cohere.js +2 -2
  530. package/dist/plugin/provider/configured.js +117 -117
  531. package/dist/plugin/provider/databricks.js +1 -1
  532. package/dist/plugin/provider/digitalocean.js +101 -101
  533. package/dist/plugin/provider/dynamic.js +2 -2
  534. package/dist/plugin/provider/factory.js +1 -1
  535. package/dist/plugin/provider/github-copilot.js +103 -103
  536. package/dist/plugin/provider/gitlab.js +101 -101
  537. package/dist/plugin/provider/google-vertex.js +118 -118
  538. package/dist/plugin/provider/kilo.js +1 -1
  539. package/dist/plugin/provider/llmgateway.js +84 -84
  540. package/dist/plugin/provider/lmstudio.js +128 -128
  541. package/dist/plugin/provider/local.js +127 -127
  542. package/dist/plugin/provider/modal.js +100 -100
  543. package/dist/plugin/provider/neon.js +1 -1
  544. package/dist/plugin/provider/nvidia.js +1 -1
  545. package/dist/plugin/provider/ollama.js +130 -130
  546. package/dist/plugin/provider/openai-context-caps.js +98 -98
  547. package/dist/plugin/provider/openai.js +121 -121
  548. package/dist/plugin/provider/opencode-legacy.js +108 -108
  549. package/dist/plugin/provider/opencode.js +127 -127
  550. package/dist/plugin/provider/openrouter.js +99 -99
  551. package/dist/plugin/provider/perplexity.js +2 -2
  552. package/dist/plugin/provider/poe.js +85 -85
  553. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  554. package/dist/plugin/provider/sap-ai-core.js +99 -99
  555. package/dist/plugin/provider/sdk-factory.js +1 -1
  556. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  557. package/dist/plugin/provider/vercel.js +98 -98
  558. package/dist/plugin/provider/vllm.js +130 -130
  559. package/dist/plugin/provider/xai.js +99 -99
  560. package/dist/plugin/provider/zenmux.js +1 -1
  561. package/dist/plugin/provider.js +178 -178
  562. package/dist/plugin/sdk.js +82 -82
  563. package/dist/plugin/service.js +3 -3
  564. package/dist/plugin/skill.js +141 -141
  565. package/dist/plugin/source-directory.js +1 -1
  566. package/dist/plugin/supervisor.js +362 -362
  567. package/dist/plugin/tool-input-repair.js +4 -4
  568. package/dist/plugin/update.js +6 -6
  569. package/dist/plugin/vcs/git.js +94 -94
  570. package/dist/plugin/vcs/hg.js +94 -94
  571. package/dist/plugin/verbosity.js +101 -101
  572. package/dist/plugin/warming.js +119 -119
  573. package/dist/plugin/websearch/exa.js +5 -5
  574. package/dist/plugin/websearch/firecrawl.js +8 -8
  575. package/dist/plugin/websearch/index.js +9 -9
  576. package/dist/plugin/websearch/mcp.js +4 -4
  577. package/dist/plugin/websearch/parallel.js +8 -8
  578. package/dist/plugin/websearch/tavily.js +4 -4
  579. package/dist/plugin/websearch/tinyfish.js +8 -8
  580. package/dist/plugin.js +236 -236
  581. package/dist/project/icon.js +5 -5
  582. package/dist/project/schema.js +8 -8
  583. package/dist/project/sql.js +4 -4
  584. package/dist/project.js +98 -98
  585. package/dist/provider.js +101 -101
  586. package/dist/pty/protocol.js +1 -1
  587. package/dist/pty/ticket.js +1 -1
  588. package/dist/pty.js +106 -106
  589. package/dist/reference/instructions.js +96 -96
  590. package/dist/reference.js +98 -98
  591. package/dist/repository-cache.js +84 -84
  592. package/dist/repository.js +1 -1
  593. package/dist/ripgrep/binary.js +2 -2
  594. package/dist/ripgrep.js +105 -105
  595. package/dist/rpc.js +94 -94
  596. package/dist/schema.js +1 -1
  597. package/dist/session/affinity.js +1 -1
  598. package/dist/session/blob.js +120 -120
  599. package/dist/session/command.js +80 -80
  600. package/dist/session/compaction.js +164 -164
  601. package/dist/session/context.js +188 -188
  602. package/dist/session/diff.js +96 -96
  603. package/dist/session/environment.js +5 -5
  604. package/dist/session/error.js +5 -5
  605. package/dist/session/event.js +1 -1
  606. package/dist/session/execution/restart.js +228 -228
  607. package/dist/session/execution.js +152 -152
  608. package/dist/session/generate.js +190 -190
  609. package/dist/session/history.js +127 -127
  610. package/dist/session/inbox.js +138 -138
  611. package/dist/session/info.js +3 -3
  612. package/dist/session/instruction-entry.js +85 -85
  613. package/dist/session/instruction-state.js +8 -8
  614. package/dist/session/instructions.js +132 -132
  615. package/dist/session/message-updater.js +2 -2
  616. package/dist/session/message.js +1 -1
  617. package/dist/session/model-request.js +155 -155
  618. package/dist/session/model-transport.js +9 -9
  619. package/dist/session/move.js +156 -156
  620. package/dist/session/projector.js +134 -134
  621. package/dist/session/prompt.js +140 -140
  622. package/dist/session/recent-text.js +1 -1
  623. package/dist/session/revert.js +130 -130
  624. package/dist/session/run-coordinator.js +3 -3
  625. package/dist/session/runner/index.js +3 -3
  626. package/dist/session/runner/llm.js +238 -238
  627. package/dist/session/runner/max-steps.js +1 -1
  628. package/dist/session/runner/model.js +108 -108
  629. package/dist/session/runner/publish-llm-event.js +141 -141
  630. package/dist/session/runner/retry.js +5 -5
  631. package/dist/session/runner/step.js +154 -154
  632. package/dist/session/runner/to-llm-message.js +128 -128
  633. package/dist/session/schema.js +5 -5
  634. package/dist/session/session.js +172 -172
  635. package/dist/session/shell.js +135 -135
  636. package/dist/session/skill.js +139 -139
  637. package/dist/session/sql.js +5 -5
  638. package/dist/session/stats.js +79 -79
  639. package/dist/session/store.js +133 -133
  640. package/dist/session/stored.js +2 -2
  641. package/dist/session/subagent-completion.js +1 -1
  642. package/dist/session/subagent-job.js +219 -219
  643. package/dist/session/system-prompt.js +3 -3
  644. package/dist/session/title.js +192 -192
  645. package/dist/session/to-session-error.js +140 -140
  646. package/dist/session/transfer.js +224 -224
  647. package/dist/session/usage.js +1 -1
  648. package/dist/session.js +223 -223
  649. package/dist/shell/parse.js +6 -6
  650. package/dist/shell/result.js +1 -1
  651. package/dist/shell/scan.js +1 -1
  652. package/dist/shell/select.js +7 -7
  653. package/dist/shell.js +137 -137
  654. package/dist/skill/discovery.js +6 -6
  655. package/dist/skill/instructions.js +143 -143
  656. package/dist/skill.js +146 -146
  657. package/dist/snapshot.js +99 -99
  658. package/dist/state.js +1 -1
  659. package/dist/tool/html-markdown.js +1 -1
  660. package/dist/tool/http-body.js +1 -1
  661. package/dist/tool/mcp.js +165 -165
  662. package/dist/tool/plugin/edit.js +156 -156
  663. package/dist/tool/plugin/file-diff.js +1 -1
  664. package/dist/tool/plugin/glob.js +160 -160
  665. package/dist/tool/plugin/grep.js +152 -152
  666. package/dist/tool/plugin/mcp-resource.js +154 -154
  667. package/dist/tool/plugin/opencode.js +153 -153
  668. package/dist/tool/plugin/patch.js +158 -158
  669. package/dist/tool/plugin/question.js +136 -136
  670. package/dist/tool/plugin/read.js +159 -159
  671. package/dist/tool/plugin/shell.js +222 -222
  672. package/dist/tool/plugin/skill.js +145 -145
  673. package/dist/tool/plugin/subagent.js +226 -226
  674. package/dist/tool/plugin/todo.js +141 -141
  675. package/dist/tool/plugin/webfetch.js +145 -145
  676. package/dist/tool/plugin/websearch.js +139 -139
  677. package/dist/tool/plugin/write.js +158 -158
  678. package/dist/tool/read-filesystem.js +108 -108
  679. package/dist/tool/runtime.js +1 -1
  680. package/dist/tool-output.js +7 -7
  681. package/dist/tool.js +16 -16
  682. package/dist/usage-limits.js +93 -93
  683. package/dist/util/error-summary.js +1 -1
  684. package/dist/util/git-executable.js +3 -3
  685. package/dist/util/lazy.js +1 -1
  686. package/dist/util/slug.js +1 -1
  687. package/dist/util/token.js +1 -1
  688. package/dist/util/which.js +1 -1
  689. package/dist/util/wildcard.js +1 -1
  690. package/dist/v1/config/agent.js +7 -7
  691. package/dist/v1/config/command.js +3 -3
  692. package/dist/v1/config/mcp.js +2 -2
  693. package/dist/v1/config/migrate.js +100 -100
  694. package/dist/v1/config/permission.js +1 -1
  695. package/dist/v1/config/plugin.js +1 -1
  696. package/dist/v1/config/provider-options.js +1 -1
  697. package/dist/v1/config/provider.js +4 -4
  698. package/dist/variant.js +99 -99
  699. package/dist/vcs/patch.js +1 -1
  700. package/dist/vcs.js +97 -97
  701. package/dist/voice.js +96 -96
  702. package/dist/websearch.js +88 -88
  703. package/dist/wellknown/plugin.js +82 -82
  704. package/dist/wellknown.js +83 -83
  705. package/dist/workspace/driver.js +3 -3
  706. package/dist/workspace/sql.js +1 -1
  707. package/dist/workspace.js +88 -88
  708. package/dist/worktree/directory.js +2 -2
  709. package/dist/worktree/git.js +9 -9
  710. package/dist/worktree/sql.js +5 -5
  711. package/dist/worktree/strategies.js +97 -97
  712. package/dist/worktree.js +106 -106
  713. package/package.json +8 -8
  714. package/dist/chunks/instruction-discovery-azz85zj6.js +0 -517
  715. package/dist/chunks/instruction-discovery-bgqvkj0f.js +0 -257
  716. package/dist/chunks/instruction-discovery-k62y2wy8.js +0 -18
  717. package/dist/chunks/instruction-discovery-t09xj51a.js +0 -26
  718. /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  719. /package/dist/chunks/{instruction-discovery-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  720. /package/dist/chunks/{instruction-discovery-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  721. /package/dist/chunks/{instruction-discovery-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  722. /package/dist/chunks/{instruction-discovery-1jakw16s.js → reference-1jakw16s.js} +0 -0
  723. /package/dist/chunks/{instruction-discovery-24dcb14g.js → reference-24dcb14g.js} +0 -0
  724. /package/dist/chunks/{instruction-discovery-2710q6r3.js → reference-2710q6r3.js} +0 -0
  725. /package/dist/chunks/{instruction-discovery-2bv980vf.js → reference-2bv980vf.js} +0 -0
  726. /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  727. /package/dist/chunks/{instruction-discovery-359p4xyc.js → reference-359p4xyc.js} +0 -0
  728. /package/dist/chunks/{instruction-discovery-3asan66x.js → reference-3asan66x.js} +0 -0
  729. /package/dist/chunks/{instruction-discovery-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  730. /package/dist/chunks/{instruction-discovery-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  731. /package/dist/chunks/{instruction-discovery-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  732. /package/dist/chunks/{instruction-discovery-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  733. /package/dist/chunks/{instruction-discovery-4m86bj6y.js → reference-4m86bj6y.js} +0 -0
  734. /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
  735. /package/dist/chunks/{instruction-discovery-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  736. /package/dist/chunks/{instruction-discovery-53557ph1.js → reference-53557ph1.js} +0 -0
  737. /package/dist/chunks/{instruction-discovery-550bvhaj.js → reference-550bvhaj.js} +0 -0
  738. /package/dist/chunks/{instruction-discovery-5w3e23ze.js → reference-5w3e23ze.js} +0 -0
  739. /package/dist/chunks/{instruction-discovery-6prwharc.js → reference-6prwharc.js} +0 -0
  740. /package/dist/chunks/{instruction-discovery-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
  741. /package/dist/chunks/{instruction-discovery-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  742. /package/dist/chunks/{instruction-discovery-7m9af43g.js → reference-7m9af43g.js} +0 -0
  743. /package/dist/chunks/{instruction-discovery-822emrt2.js → reference-822emrt2.js} +0 -0
  744. /package/dist/chunks/{instruction-discovery-84wd9syh.js → reference-84wd9syh.js} +0 -0
  745. /package/dist/chunks/{instruction-discovery-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  746. /package/dist/chunks/{instruction-discovery-8n3pysct.js → reference-8n3pysct.js} +0 -0
  747. /package/dist/chunks/{instruction-discovery-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
  748. /package/dist/chunks/{instruction-discovery-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  749. /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  750. /package/dist/chunks/{instruction-discovery-a058387c.js → reference-a058387c.js} +0 -0
  751. /package/dist/chunks/{instruction-discovery-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  752. /package/dist/chunks/{instruction-discovery-af5trqkr.js → reference-af5trqkr.js} +0 -0
  753. /package/dist/chunks/{instruction-discovery-afrmfg78.js → reference-afrmfg78.js} +0 -0
  754. /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  755. /package/dist/chunks/{instruction-discovery-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  756. /package/dist/chunks/{instruction-discovery-beh6qq61.js → reference-beh6qq61.js} +0 -0
  757. /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  758. /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  759. /package/dist/chunks/{instruction-discovery-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  760. /package/dist/chunks/{instruction-discovery-cqv5kn06.js → reference-cqv5kn06.js} +0 -0
  761. /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  762. /package/dist/chunks/{instruction-discovery-d9fn303g.js → reference-d9fn303g.js} +0 -0
  763. /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  764. /package/dist/chunks/{instruction-discovery-dajrwvna.js → reference-dajrwvna.js} +0 -0
  765. /package/dist/chunks/{instruction-discovery-dap0rakb.js → reference-dap0rakb.js} +0 -0
  766. /package/dist/chunks/{instruction-discovery-df08tz66.js → reference-df08tz66.js} +0 -0
  767. /package/dist/chunks/{instruction-discovery-dy18nga0.js → reference-dy18nga0.js} +0 -0
  768. /package/dist/chunks/{instruction-discovery-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  769. /package/dist/chunks/{instruction-discovery-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  770. /package/dist/chunks/{instruction-discovery-ec1grn59.js → reference-ec1grn59.js} +0 -0
  771. /package/dist/chunks/{instruction-discovery-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  772. /package/dist/chunks/{instruction-discovery-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  773. /package/dist/chunks/{instruction-discovery-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  774. /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  775. /package/dist/chunks/{instruction-discovery-faypxj3z.js → reference-faypxj3z.js} +0 -0
  776. /package/dist/chunks/{instruction-discovery-fd410y7t.js → reference-fd410y7t.js} +0 -0
  777. /package/dist/chunks/{instruction-discovery-fkpq3x5p.js → reference-fkpq3x5p.js} +0 -0
  778. /package/dist/chunks/{instruction-discovery-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  779. /package/dist/chunks/{instruction-discovery-g86h250q.js → reference-g86h250q.js} +0 -0
  780. /package/dist/chunks/{instruction-discovery-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  781. /package/dist/chunks/{instruction-discovery-gftt206x.js → reference-gftt206x.js} +0 -0
  782. /package/dist/chunks/{instruction-discovery-hcxmzztb.js → reference-hcxmzztb.js} +0 -0
  783. /package/dist/chunks/{instruction-discovery-hk9envan.js → reference-hk9envan.js} +0 -0
  784. /package/dist/chunks/{instruction-discovery-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  785. /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  786. /package/dist/chunks/{instruction-discovery-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
  787. /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  788. /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  789. /package/dist/chunks/{instruction-discovery-jwr30sdr.js → reference-jwr30sdr.js} +0 -0
  790. /package/dist/chunks/{instruction-discovery-jze0r7bz.js → reference-jze0r7bz.js} +0 -0
  791. /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  792. /package/dist/chunks/{instruction-discovery-m18g726c.js → reference-m18g726c.js} +0 -0
  793. /package/dist/chunks/{instruction-discovery-mp448xyj.js → reference-mp448xyj.js} +0 -0
  794. /package/dist/chunks/{instruction-discovery-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  795. /package/dist/chunks/{instruction-discovery-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  796. /package/dist/chunks/{instruction-discovery-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  797. /package/dist/chunks/{instruction-discovery-ncqqe42p.js → reference-ncqqe42p.js} +0 -0
  798. /package/dist/chunks/{instruction-discovery-njntx4h6.js → reference-njntx4h6.js} +0 -0
  799. /package/dist/chunks/{instruction-discovery-p71gwv9c.js → reference-p71gwv9c.js} +0 -0
  800. /package/dist/chunks/{instruction-discovery-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  801. /package/dist/chunks/{instruction-discovery-q74kybfr.js → reference-q74kybfr.js} +0 -0
  802. /package/dist/chunks/{instruction-discovery-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  803. /package/dist/chunks/{instruction-discovery-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  804. /package/dist/chunks/{instruction-discovery-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  805. /package/dist/chunks/{instruction-discovery-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
  806. /package/dist/chunks/{instruction-discovery-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  807. /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  808. /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  809. /package/dist/chunks/{instruction-discovery-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  810. /package/dist/chunks/{instruction-discovery-ve7vex1e.js → reference-ve7vex1e.js} +0 -0
  811. /package/dist/chunks/{instruction-discovery-w803qqfp.js → reference-w803qqfp.js} +0 -0
  812. /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
  813. /package/dist/chunks/{instruction-discovery-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  814. /package/dist/chunks/{instruction-discovery-wtztk69x.js → reference-wtztk69x.js} +0 -0
  815. /package/dist/chunks/{instruction-discovery-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  816. /package/dist/chunks/{instruction-discovery-x61499pn.js → reference-x61499pn.js} +0 -0
  817. /package/dist/chunks/{instruction-discovery-y44na4kk.js → reference-y44na4kk.js} +0 -0
  818. /package/dist/chunks/{instruction-discovery-y8f7s663.js → reference-y8f7s663.js} +0 -0
  819. /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  820. /package/dist/chunks/{instruction-discovery-ym463w8f.js → reference-ym463w8f.js} +0 -0
  821. /package/dist/chunks/{instruction-discovery-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
  822. /package/dist/chunks/{instruction-discovery-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -2,39 +2,39 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./instruction-discovery-z5v4ffb3.js";
5
+ } from "./reference-z5v4ffb3.js";
6
6
  import {
7
- Service78,
8
- node82
9
- } from "./instruction-discovery-9fwsy5x7.js";
7
+ Service80,
8
+ node84
9
+ } from "./reference-sqrd2s2y.js";
10
10
  import {
11
- Service33,
12
- node36
13
- } from "./instruction-discovery-5bgjyvxg.js";
11
+ Service63,
12
+ node66
13
+ } from "./reference-gqs0x7cg.js";
14
14
  import {
15
15
  __export
16
- } from "./instruction-discovery-9rqn6x4v.js";
16
+ } from "./reference-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content2,
21
+ Content: () => Content3,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event4,
27
+ Event: () => Event11,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  Match: () => Match2,
33
- NotFoundError: () => NotFoundError4,
34
- Service: () => Service32,
33
+ NotFoundError: () => NotFoundError9,
34
+ Service: () => Service62,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
- node: () => node35
37
+ node: () => node65
38
38
  });
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
40
  import path from "path";
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
44
44
  import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
45
 
46
- class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
46
+ class NotFoundError9 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
47
  path: RelativePath2
48
48
  }) {
49
49
  }
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
65
65
  return `Access denied to directory: ${this.directory}`;
66
66
  }
67
67
  }
68
- var Content2 = Schema.Struct({
68
+ var Content3 = Schema.Struct({
69
69
  uri: Schema.String,
70
70
  name: Schema.String.pipe(Schema.optional),
71
71
  content: Schema.String,
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
92
92
  limit: Schema.optionalKey(PositiveInt2)
93
93
  }) {
94
94
  }
95
- var Event4 = FileSystem.Event;
95
+ var Event11 = FileSystem.Event;
96
96
 
97
- class Service32 extends Context.Service()("@opencode/FileSystem") {
97
+ class Service62 extends Context.Service()("@opencode/FileSystem") {
98
98
  }
99
- var baseLayer = Layer.effect(Service32, Effect.gen(function* () {
99
+ var baseLayer = Layer.effect(Service62, Effect.gen(function* () {
100
100
  const fs = yield* FSUtil.Service;
101
- const location = yield* Service78;
102
- const search = yield* Service33;
101
+ const location = yield* Service80;
102
+ const search = yield* Service63;
103
103
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
104
104
  if (cause.reason._tag === "NotFound")
105
105
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service32, Effect.gen(function* () {
109
109
  }));
110
110
  const resolve = Effect.fnUntraced(function* (input) {
111
111
  if (input.includes("\x00"))
112
- return yield* Effect.fail(new NotFoundError4({ path: input }));
112
+ return yield* Effect.fail(new NotFoundError9({ path: input }));
113
113
  const absolute = path.resolve(location.directory, input);
114
114
  if (!FSUtil.contains(location.directory, absolute))
115
- return yield* Effect.fail(new NotFoundError4({ path: input }));
116
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input })), (_, error) => Effect.die(error)));
115
+ return yield* Effect.fail(new NotFoundError9({ path: input }));
116
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input })), (_, error) => Effect.die(error)));
117
117
  if (!FSUtil.contains(root, real))
118
- return yield* Effect.fail(new NotFoundError4({ path: input }));
118
+ return yield* Effect.fail(new NotFoundError9({ path: input }));
119
119
  return { absolute, real, directory: location.directory };
120
120
  });
121
- return Service32.of({
121
+ return Service62.of({
122
122
  find: search.find,
123
123
  read: Effect.fn("FileSystem.read")(function* (input) {
124
124
  const target = yield* resolve(input.path);
125
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
125
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError9({ path: input.path })), (_, error) => Effect.die(error)));
126
126
  if (info.type !== "File")
127
- return yield* Effect.fail(new NotFoundError4({ path: input.path }));
127
+ return yield* Effect.fail(new NotFoundError9({ path: input.path }));
128
128
  return {
129
129
  mime: FSUtil.mimeType(target.real),
130
130
  size: Number(info.size),
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service32, Effect.gen(function* () {
134
134
  }),
135
135
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
136
136
  const directory = path.resolve(location.directory, input.path ?? ".");
137
- const missing = new NotFoundError4({ path: RelativePath2.make(input.path ?? ".") });
137
+ const missing = new NotFoundError9({ path: RelativePath2.make(input.path ?? ".") });
138
138
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "Directory")
140
140
  return yield* missing;
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service32, Effect.gen(function* () {
158
158
  })
159
159
  });
160
160
  }));
161
- var node35 = makeLocationNode({
162
- service: Service32,
161
+ var node65 = makeLocationNode({
162
+ service: Service62,
163
163
  layer: baseLayer,
164
- deps: [FSUtil.node, node82, node36]
164
+ deps: [FSUtil.node, node84, node66]
165
165
  });
166
166
 
167
- export { FindInput2, Write2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service32, node35, exports_filesystem, Entry2, Match2, Submatch2 };
167
+ export { FindInput2, Write2, NotFoundError9, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event11, Service62, node65, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./instruction-discovery-9fwsy5x7.js";
2
+ Service80,
3
+ node84
4
+ } from "./reference-sqrd2s2y.js";
5
5
  import {
6
6
  Key3,
7
- make23,
7
+ make21,
8
8
  combine2
9
- } from "./instruction-discovery-n01qhj0y.js";
9
+ } from "./reference-1kn6jdkn.js";
10
10
  import {
11
11
  __export
12
- } from "./instruction-discovery-9rqn6x4v.js";
12
+ } from "./reference-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service26,
19
- node: () => node29
18
+ Service: () => Service33,
19
+ node: () => node36
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service26 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service33 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service26, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service33, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service78;
29
- return Service26.of({
28
+ const location = yield* Service80;
29
+ return Service33.of({
30
30
  load: () => Effect.succeed(combine2([
31
- make23({
31
+ make21({
32
32
  key: Key3.make("core/date"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
37
37
  changed: (_previous, date) => `Today's date is now: ${date}`
38
38
  }
39
39
  }),
40
- make23({
40
+ make21({
41
41
  key: Key3.make("core/environment"),
42
42
  codec: Schema.toCodecJson(Schema.String),
43
43
  read: Effect.sync(() => [
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node29 = makeLocationNode({ service: Service26, layer, deps: [Global.node, node82] });
63
+ var node36 = makeLocationNode({ service: Service33, layer, deps: [Global.node, node84] });
64
64
 
65
- export { Service26, node29, exports_builtins };
65
+ export { Service33, node36, exports_builtins };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/provider-options.ts
6
6
  var exports_provider_options = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./reference-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -2,32 +2,32 @@ import {
2
2
  ephemeral2,
3
3
  Service86,
4
4
  node90
5
- } from "./instruction-discovery-rra832zv.js";
5
+ } from "./reference-1txfxaze.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make23,
10
+ make21,
11
11
  diffByKey2
12
- } from "./instruction-discovery-n01qhj0y.js";
12
+ } from "./reference-1kn6jdkn.js";
13
13
  import {
14
14
  create3
15
- } from "./instruction-discovery-204s3925.js";
15
+ } from "./reference-204s3925.js";
16
16
  import {
17
17
  __export
18
- } from "./instruction-discovery-9rqn6x4v.js";
18
+ } from "./reference-9rqn6x4v.js";
19
19
 
20
20
  // src/instruction-discovery.ts
21
21
  var exports_instruction_discovery = {};
22
22
  __export(exports_instruction_discovery, {
23
- Event: () => Event11,
23
+ Event: () => Event8,
24
24
  File: () => File2,
25
25
  InstructionDiscovery: () => exports_instruction_discovery,
26
26
  Options: () => Options4,
27
- Service: () => Service58,
28
- configured: () => configured6,
29
- layer: () => layer22,
30
- node: () => node61
27
+ Service: () => Service45,
28
+ configured: () => configured5,
29
+ layer: () => layer20,
30
+ node: () => node49
31
31
  });
32
32
  import { Context, Effect, Layer, Schema } from "effect";
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
39
39
  }
40
40
  var Files = Schema.Array(File2);
41
41
  var key = Key3.make("core/instructions");
42
- var Event11 = {
42
+ var Event8 = {
43
43
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
44
44
  };
45
45
  var Options4 = Schema.Struct({
@@ -47,9 +47,9 @@ var Options4 = Schema.Struct({
47
47
  global: Schema.optional(Schema.Boolean)
48
48
  });
49
49
 
50
- class Service58 extends Context.Service()("@opencode/InstructionDiscovery") {
50
+ class Service45 extends Context.Service()("@opencode/InstructionDiscovery") {
51
51
  }
52
- var layer22 = (options) => Layer.effect(Service58, Effect.gen(function* () {
52
+ var layer20 = (options) => Layer.effect(Service45, Effect.gen(function* () {
53
53
  const bus = yield* Service86;
54
54
  const state = create3({
55
55
  name: "instruction-discovery",
@@ -69,9 +69,9 @@ var layer22 = (options) => Layer.effect(Service58, Effect.gen(function* () {
69
69
  editor.available = false;
70
70
  }
71
71
  }),
72
- notify: () => bus.publish(Event11.Updated, {}).pipe(Effect.asVoid)
72
+ notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
73
73
  });
74
- const source = (value) => make23({
74
+ const source = (value) => make21({
75
75
  key,
76
76
  codec: Schema.toCodecJson(Files),
77
77
  read: Effect.succeed(value),
@@ -87,7 +87,7 @@ var layer22 = (options) => Layer.effect(Service58, Effect.gen(function* () {
87
87
  return unavailable3;
88
88
  return Array.from(current.files.values());
89
89
  });
90
- return Service58.of({
90
+ return Service45.of({
91
91
  project: options?.project !== false,
92
92
  global: options?.global !== false,
93
93
  transform: state.transform,
@@ -101,14 +101,14 @@ var layer22 = (options) => Layer.effect(Service58, Effect.gen(function* () {
101
101
  })
102
102
  });
103
103
  }));
104
- function configured6(options) {
104
+ function configured5(options) {
105
105
  return makeLocationNode({
106
- service: Service58,
107
- layer: layer22(options),
106
+ service: Service45,
107
+ layer: layer20(options),
108
108
  deps: [node90]
109
109
  });
110
110
  }
111
- var node61 = configured6();
111
+ var node49 = configured5();
112
112
  function render(files) {
113
113
  return files.map((file) => `Instructions from: ${file.path}
114
114
  ${file.content}`).join(`
@@ -139,4 +139,4 @@ ${render([after])}`;
139
139
  `);
140
140
  }
141
141
 
142
- export { File2, Event11, Options4, Service58, layer22, configured6, node61, exports_instruction_discovery };
142
+ export { File2, Event8, Options4, Service45, layer20, configured5, node49, exports_instruction_discovery };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service63
3
- } from "./instruction-discovery-nvbva47a.js";
2
+ Service65
3
+ } from "./reference-tjajrbfk.js";
4
4
  import {
5
5
  __export
6
- } from "./instruction-discovery-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var EXIT_WAIT = Duration.seconds(1);
22
22
  var STDERR_TAIL = 1000;
23
23
  var make2 = Effect.fnUntraced(function* (options) {
24
- const environment = yield* Service63;
24
+ const environment = yield* Service65;
25
25
  const scope = yield* Effect.scope;
26
26
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
27
27
  const buffer = new ReadBuffer;
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service68,
3
- node71
4
- } from "./instruction-discovery-h5ynnaae.js";
2
+ Service69,
3
+ node73
4
+ } from "./reference-82ryrchv.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./instruction-discovery-9fwsy5x7.js";
6
+ Service80,
7
+ node84
8
+ } from "./reference-sqrd2s2y.js";
9
9
  import {
10
- Service67,
11
- node70
12
- } from "./instruction-discovery-qzmmayfr.js";
10
+ Service68,
11
+ node72
12
+ } from "./reference-49qz2gqd.js";
13
13
  import {
14
14
  names2,
15
15
  discover2
16
- } from "./instruction-discovery-6esdw8yj.js";
16
+ } from "./reference-6esdw8yj.js";
17
17
  import {
18
18
  __export
19
- } from "./instruction-discovery-9rqn6x4v.js";
19
+ } from "./reference-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/source.ts
22
22
  var exports_source = {};
23
23
  __export(exports_source, {
24
24
  ConfigPluginSource: () => exports_source,
25
- Service: () => Service5,
25
+ Service: () => Service4,
26
26
  empty: () => empty2,
27
27
  layer: () => layer5,
28
28
  node: () => node6
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
34
34
  import path from "path";
35
35
  import { fileURLToPath, pathToFileURL } from "url";
36
- class Service5 extends Context.Service()("@opencode/ConfigPluginSource") {
36
+ class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
37
37
  }
38
- var layer5 = Layer.effect(Service5, Effect.gen(function* () {
39
- const config = yield* Service67;
40
- const watcher = yield* Service68;
38
+ var layer5 = Layer.effect(Service4, Effect.gen(function* () {
39
+ const config = yield* Service68;
40
+ const watcher = yield* Service69;
41
41
  const fs = yield* FSUtil.Service;
42
- const location = yield* Service78;
42
+ const location = yield* Service80;
43
43
  const configuredChanges = yield* PubSub.unbounded();
44
44
  const watched = new Set;
45
45
  const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
@@ -58,7 +58,7 @@ var layer5 = Layer.effect(Service5, Effect.gen(function* () {
58
58
  yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
59
59
  }
60
60
  });
61
- return Service5.of({
61
+ return Service4.of({
62
62
  operations: Effect.fn("ConfigPluginSource.operations")(function* () {
63
63
  const entries = yield* config.entries();
64
64
  const operations = yield* scan(fs, location, entries);
@@ -71,13 +71,13 @@ var layer5 = Layer.effect(Service5, Effect.gen(function* () {
71
71
  });
72
72
  }));
73
73
  var node6 = makeLocationNode({
74
- service: Service5,
74
+ service: Service4,
75
75
  layer: layer5,
76
- deps: [node70, FSUtil.node, node71, node82]
76
+ deps: [node72, FSUtil.node, node73, node84]
77
77
  });
78
78
  var empty2 = makeLocationNode({
79
- service: Service5,
80
- layer: Layer.succeed(Service5, Service5.of({
79
+ service: Service4,
80
+ layer: Layer.succeed(Service4, Service4.of({
81
81
  operations: () => Effect.succeed([]),
82
82
  changes: () => Stream.never
83
83
  })),
@@ -138,4 +138,4 @@ function isPluginSource(entries, file) {
138
138
  return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
139
139
  }
140
140
 
141
- export { Service5, layer5, node6, empty2, exports_source };
141
+ export { Service4, layer5, node6, empty2, exports_source };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./instruction-discovery-1jakw16s.js";
3
+ } from "./reference-1jakw16s.js";
4
4
  import {
5
5
  __export
6
- } from "./instruction-discovery-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin16,
11
+ Plugin: () => Plugin29,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin16 = define({
18
+ var Plugin29 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin16, exports_tool_input_repair };
123
+ export { Plugin29, exports_tool_input_repair };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./instruction-discovery-z5v4ffb3.js";
3
+ } from "./reference-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./instruction-discovery-9rqn6x4v.js";
6
+ } from "./reference-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
@@ -1,79 +1,79 @@
1
1
  import {
2
2
  Service87
3
- } from "./instruction-discovery-1eeyyfsn.js";
3
+ } from "./reference-05xp378r.js";
4
4
  import {
5
5
  Service86
6
- } from "./instruction-discovery-rra832zv.js";
6
+ } from "./reference-1txfxaze.js";
7
7
  import {
8
- Service40
9
- } from "./instruction-discovery-hvvf9qw8.js";
8
+ Service50
9
+ } from "./reference-pen16d07.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./instruction-discovery-k814nvkf.js";
12
+ } from "./reference-k814nvkf.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./instruction-discovery-gftt206x.js";
15
+ } from "./reference-gftt206x.js";
16
16
  import {
17
- NotFoundError9,
17
+ NotFoundError8,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./instruction-discovery-np7r7vht.js";
23
+ } from "./reference-nbw9vdm7.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./instruction-discovery-ec1grn59.js";
26
+ } from "./reference-ec1grn59.js";
27
27
  import {
28
- Service66
29
- } from "./instruction-discovery-m1epfjq1.js";
28
+ Service57
29
+ } from "./reference-3b67h89r.js";
30
30
  import {
31
31
  SyntheticPayload2,
32
- Service39
33
- } from "./instruction-discovery-4kr7f4hz.js";
32
+ Service49
33
+ } from "./reference-3n0qbat0.js";
34
34
  import {
35
- Service37
36
- } from "./instruction-discovery-s53p457m.js";
35
+ Service47
36
+ } from "./reference-mmjdt0jh.js";
37
37
  import {
38
38
  prepare2
39
- } from "./instruction-discovery-680724q2.js";
39
+ } from "./reference-2yjjj4kt.js";
40
40
  import {
41
41
  stage2,
42
42
  clear2,
43
43
  commit2
44
- } from "./instruction-discovery-y94tr38g.js";
44
+ } from "./reference-1zjscayb.js";
45
45
  import {
46
46
  start2
47
- } from "./instruction-discovery-dhkm6j2g.js";
47
+ } from "./reference-38xn8s1k.js";
48
48
  import {
49
49
  get4
50
- } from "./instruction-discovery-0cpsvkfc.js";
50
+ } from "./reference-tgb8sy1m.js";
51
51
  import {
52
52
  __export
53
- } from "./instruction-discovery-9rqn6x4v.js";
53
+ } from "./reference-9rqn6x4v.js";
54
54
 
55
55
  // src/session/session.ts
56
56
  var exports_session2 = {};
57
57
  __export(exports_session2, {
58
58
  Session: () => exports_session2,
59
- make: () => make14
59
+ make: () => make15
60
60
  });
61
61
  import { DateTime, Effect, Fiber, Scope } from "effect";
62
62
  import { Event } from "@opencode/schema/event";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
- var make14 = Effect.fn("Session.make")(function* () {
64
+ var make15 = Effect.fn("Session.make")(function* () {
65
65
  const bus = yield* Service86;
66
66
  const database = yield* Service87;
67
- const store = yield* Service66;
68
- const instances = yield* Service40;
69
- const execution = yield* Service37;
70
- const admission = yield* Service39;
67
+ const store = yield* Service57;
68
+ const instances = yield* Service50;
69
+ const execution = yield* Service47;
70
+ const admission = yield* Service49;
71
71
  const fs = yield* FSUtil.Service;
72
72
  const scope = yield* Scope.Scope;
73
73
  const get = Effect.fn("Session.get")(function* (sessionID) {
74
74
  const session = yield* store.get(sessionID);
75
75
  if (!session)
76
- return yield* new NotFoundError9({ sessionID });
76
+ return yield* new NotFoundError8({ sessionID });
77
77
  return session;
78
78
  });
79
79
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -164,7 +164,7 @@ var make14 = Effect.fn("Session.make")(function* () {
164
164
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
165
165
  const session = yield* get(sessionID);
166
166
  const running = yield* Effect.gen(function* () {
167
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service40, instances), Effect.tapError((error) => synthetic(sessionID, {
167
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service50, instances), Effect.tapError((error) => synthetic(sessionID, {
168
168
  text: `User shell command failed to start:
169
169
  ${input.command}
170
170
 
@@ -193,7 +193,7 @@ ${error.message}`,
193
193
  });
194
194
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
195
195
  const session = yield* get(sessionID);
196
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service40, instances));
196
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service50, instances));
197
197
  yield* bus.publish(SessionEvent2.Skill.Activated, {
198
198
  sessionID,
199
199
  id: skill.id,
@@ -250,13 +250,13 @@ ${error.message}`,
250
250
  const session = yield* get(sessionID);
251
251
  if (yield* execution.isActive(sessionID))
252
252
  return yield* new BusyError2({ sessionID });
253
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service87, database), Effect.provideService(Service86, bus));
253
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service87, database), Effect.provideService(Service86, bus));
254
254
  });
255
255
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
256
256
  const session = yield* get(sessionID);
257
257
  if (yield* execution.isActive(sessionID))
258
258
  return yield* new BusyError2({ sessionID });
259
- yield* clear2(session).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service86, bus));
259
+ yield* clear2(session).pipe(Effect.provideService(Service50, instances), Effect.provideService(Service86, bus));
260
260
  return yield* execution.wake(sessionID);
261
261
  });
262
262
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -348,4 +348,4 @@ ${error.message}`,
348
348
  return { forSession };
349
349
  });
350
350
 
351
- export { make14, exports_session2 };
351
+ export { make15, exports_session2 };