@opencode/core 0.0.0-dev-20836 → 0.0.0-dev-20841

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{shell-0bg7x39n.js → instruction-discovery-048wpaqz.js} +3 -3
  8. package/dist/chunks/{shell-qmt3zz31.js → instruction-discovery-0bs9zzzx.js} +11 -11
  9. package/dist/chunks/{shell-xckyy9vp.js → instruction-discovery-0cz3jc0p.js} +8 -8
  10. package/dist/chunks/instruction-discovery-0ef80a9n.js +513 -0
  11. package/dist/chunks/{shell-q0xm7vwc.js → instruction-discovery-0j77ygfz.js} +6 -6
  12. package/dist/chunks/{shell-bfv9bv9k.js → instruction-discovery-0n8a0ffz.js} +6 -6
  13. package/dist/chunks/{shell-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{shell-cqz0nh3j.js → instruction-discovery-0qwsa8cf.js} +23 -23
  15. package/dist/chunks/{shell-0vbcp93d.js → instruction-discovery-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{shell-v6w4sc2a.js → instruction-discovery-171zjyze.js} +31 -31
  17. package/dist/chunks/{shell-1qdt2r1d.js → instruction-discovery-18tb8vc6.js} +11 -11
  18. package/dist/chunks/{shell-txm3e8qz.js → instruction-discovery-1j6m29mr.js} +9 -9
  19. package/dist/chunks/{shell-1gm2naxv.js → instruction-discovery-1j9vsfxy.js} +13 -13
  20. package/dist/chunks/{shell-rkprpv83.js → instruction-discovery-1p07q0wb.js} +4 -4
  21. package/dist/chunks/{shell-as35ary9.js → instruction-discovery-1qs5jxd8.js} +19 -19
  22. package/dist/chunks/{shell-80m9hf21.js → instruction-discovery-1sc6p60b.js} +6 -6
  23. package/dist/chunks/{shell-ewnry29n.js → instruction-discovery-1th27d95.js} +16 -16
  24. package/dist/chunks/{shell-8yy53n16.js → instruction-discovery-204e7tx6.js} +13 -13
  25. package/dist/chunks/{shell-sa6tgskj.js → instruction-discovery-26n2nh92.js} +3 -3
  26. package/dist/chunks/{shell-659sfxq9.js → instruction-discovery-2c7hjkzv.js} +17 -17
  27. package/dist/chunks/{shell-4ts7tf6z.js → instruction-discovery-2ccvkpx1.js} +2 -2
  28. package/dist/chunks/{shell-xz6xj3j7.js → instruction-discovery-2ewrd21j.js} +11 -11
  29. package/dist/chunks/{shell-kttxcb4k.js → instruction-discovery-2hqksm5k.js} +3 -3
  30. package/dist/chunks/{shell-1mdgqtkc.js → instruction-discovery-2j1vbg91.js} +36 -36
  31. package/dist/chunks/{shell-43q6bdaf.js → instruction-discovery-2jb6nwe1.js} +4 -4
  32. package/dist/chunks/{shell-q2atyr5j.js → instruction-discovery-2jtaszgg.js} +11 -11
  33. package/dist/chunks/{shell-2k8khapm.js → instruction-discovery-2k8khapm.js} +1 -1
  34. package/dist/chunks/{shell-pyg4v0b6.js → instruction-discovery-2ryng5r3.js} +4 -4
  35. package/dist/chunks/{shell-sc07v166.js → instruction-discovery-2san2fa0.js} +16 -16
  36. package/dist/chunks/{shell-35rpdesc.js → instruction-discovery-2vr7dket.js} +5 -5
  37. package/dist/chunks/{shell-2vvh33eb.js → instruction-discovery-2vvh33eb.js} +2 -2
  38. package/dist/chunks/{shell-5p0nwytn.js → instruction-discovery-350x23wf.js} +9 -9
  39. package/dist/chunks/{shell-t95zyfn8.js → instruction-discovery-38mem431.js} +31 -31
  40. package/dist/chunks/{shell-prckms5z.js → instruction-discovery-3dytr8s2.js} +17 -17
  41. package/dist/chunks/{shell-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{shell-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{shell-3hwn7j4h.js → instruction-discovery-3hwn7j4h.js} +2 -2
  44. package/dist/chunks/{shell-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{shell-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{shell-3zsf4n22.js → instruction-discovery-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{shell-2eegacq4.js → instruction-discovery-4a0nv7mx.js} +8 -8
  48. package/dist/chunks/{shell-qxq6csq2.js → instruction-discovery-4r59zyn6.js} +30 -30
  49. package/dist/chunks/{shell-r1ndxyw5.js → instruction-discovery-4swz1dz7.js} +11 -11
  50. package/dist/chunks/{shell-thwx1f0b.js → instruction-discovery-4w7gm2tt.js} +20 -20
  51. package/dist/chunks/{shell-w39jehkq.js → instruction-discovery-4xpgt2w9.js} +5 -5
  52. package/dist/chunks/{shell-gbgr221m.js → instruction-discovery-548fqp7q.js} +8 -8
  53. package/dist/chunks/{shell-54ma36ye.js → instruction-discovery-54ma36ye.js} +1 -1
  54. package/dist/chunks/{shell-drwq78ky.js → instruction-discovery-57b9ws8p.js} +5 -5
  55. package/dist/chunks/{shell-zwet8thz.js → instruction-discovery-58ytqwj2.js} +7 -7
  56. package/dist/chunks/{shell-9bjv0g9x.js → instruction-discovery-5a9zf81m.js} +22 -22
  57. package/dist/chunks/{shell-4j4tgtq5.js → instruction-discovery-5dkn69vz.js} +4 -4
  58. package/dist/chunks/{shell-zzzndktg.js → instruction-discovery-5fa8zajf.js} +13 -13
  59. package/dist/chunks/{shell-h3k0sdzw.js → instruction-discovery-5hj7q0js.js} +9 -9
  60. package/dist/chunks/{shell-5m9w47nd.js → instruction-discovery-5m9w47nd.js} +1 -1
  61. package/dist/chunks/{shell-s35fd452.js → instruction-discovery-5pbz2dd0.js} +4 -4
  62. package/dist/chunks/{shell-cxpmc4b6.js → instruction-discovery-5qec7rge.js} +5 -5
  63. package/dist/chunks/{shell-4vvq79yt.js → instruction-discovery-5r4v0xwy.js} +11 -11
  64. package/dist/chunks/{shell-18nx2xr7.js → instruction-discovery-69enf89f.js} +22 -22
  65. package/dist/chunks/{shell-6xb47vfp.js → instruction-discovery-6xb47vfp.js} +1 -1
  66. package/dist/chunks/instruction-discovery-6xgwma86.js +26 -0
  67. package/dist/chunks/{shell-56zy6jf0.js → instruction-discovery-71dzwqxr.js} +46 -46
  68. package/dist/chunks/{shell-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{shell-863cd04q.js → instruction-discovery-7dpqhkm4.js} +72 -72
  70. package/dist/chunks/{shell-dse4pm89.js → instruction-discovery-7nazv9sg.js} +20 -20
  71. package/dist/chunks/{shell-ehf2432h.js → instruction-discovery-7np5bmja.js} +44 -44
  72. package/dist/chunks/{shell-8nk70ng7.js → instruction-discovery-7vsab7jg.js} +4 -4
  73. package/dist/chunks/{shell-gck135m7.js → instruction-discovery-7yw2sx3r.js} +6 -6
  74. package/dist/chunks/{shell-mqe4tty6.js → instruction-discovery-81gd8ewx.js} +24 -24
  75. package/dist/chunks/{shell-84txncab.js → instruction-discovery-84txncab.js} +1 -1
  76. package/dist/chunks/{shell-rfhtn9ck.js → instruction-discovery-85z0h67f.js} +10 -10
  77. package/dist/chunks/{shell-1cwr7fas.js → instruction-discovery-88qvqy1e.js} +17 -17
  78. package/dist/chunks/{shell-hkw96q8r.js → instruction-discovery-8evda89h.js} +27 -27
  79. package/dist/chunks/{shell-n4r3xatb.js → instruction-discovery-8gxqpgph.js} +4 -4
  80. package/dist/chunks/{shell-8m6m0r52.js → instruction-discovery-8m6m0r52.js} +1 -1
  81. package/dist/chunks/{shell-szrp9w6e.js → instruction-discovery-8tzwp5sx.js} +16 -16
  82. package/dist/chunks/{shell-91qna3x0.js → instruction-discovery-91qna3x0.js} +3 -3
  83. package/dist/chunks/{shell-6pqc4ehe.js → instruction-discovery-97y7hxer.js} +4 -4
  84. package/dist/chunks/{shell-4ygpxb0s.js → instruction-discovery-988cxgr8.js} +9 -9
  85. package/dist/chunks/{shell-8kpn7ake.js → instruction-discovery-99rzeaw0.js} +18 -18
  86. package/dist/chunks/{shell-e0s1tf5g.js → instruction-discovery-9jcxats4.js} +44 -44
  87. package/dist/chunks/{shell-2rnn254z.js → instruction-discovery-9w9w77gc.js} +28 -28
  88. package/dist/chunks/{shell-7rb4b10w.js → instruction-discovery-aahhmcvt.js} +32 -32
  89. package/dist/chunks/{shell-gqtdsdt7.js → instruction-discovery-addxnjmp.js} +4 -4
  90. package/dist/chunks/{shell-2nf59dfw.js → instruction-discovery-adejxgct.js} +13 -13
  91. package/dist/chunks/{shell-yya25979.js → instruction-discovery-afz809yg.js} +17 -17
  92. package/dist/chunks/{shell-48kw51zw.js → instruction-discovery-arz7hw7x.js} +3 -3
  93. package/dist/chunks/{shell-x2aynqqh.js → instruction-discovery-b4s8ej7r.js} +9 -9
  94. package/dist/chunks/{shell-dnrdk80a.js → instruction-discovery-b6qa6035.js} +32 -32
  95. package/dist/chunks/{shell-00832hy7.js → instruction-discovery-b6syrwy2.js} +8 -8
  96. package/dist/chunks/{shell-vpq4af2z.js → instruction-discovery-b9srm8rz.js} +11 -11
  97. package/dist/chunks/{shell-1ffvrpkg.js → instruction-discovery-bjx1sjef.js} +6 -6
  98. package/dist/chunks/instruction-discovery-bmqnjeh2.js +253 -0
  99. package/dist/chunks/{shell-czf8b53q.js → instruction-discovery-bt2dtkh7.js} +17 -17
  100. package/dist/chunks/{shell-t9vv0gfe.js → instruction-discovery-byr661vw.js} +10 -10
  101. package/dist/chunks/{shell-c41wscbt.js → instruction-discovery-c41wscbt.js} +2 -2
  102. package/dist/chunks/{shell-12ghwjj1.js → instruction-discovery-c5w8pbd1.js} +11 -11
  103. package/dist/chunks/{shell-c8ax2afj.js → instruction-discovery-c8ax2afj.js} +2 -2
  104. package/dist/chunks/{shell-fgth5ewa.js → instruction-discovery-c8ses4bc.js} +13 -13
  105. package/dist/chunks/{shell-r5geswyf.js → instruction-discovery-ch67yd34.js} +11 -11
  106. package/dist/chunks/{shell-g0445xdp.js → instruction-discovery-cmwkp3r5.js} +4 -4
  107. package/dist/chunks/{shell-gm86421b.js → instruction-discovery-d0ak8zy9.js} +7 -7
  108. package/dist/chunks/{shell-781jxg51.js → instruction-discovery-d15wnv4q.js} +16 -16
  109. package/dist/chunks/{shell-thj98scm.js → instruction-discovery-d3sk2mbt.js} +15 -15
  110. package/dist/chunks/{shell-nk9gm8qh.js → instruction-discovery-d5fxhgcy.js} +14 -14
  111. package/dist/chunks/{shell-g9a82wyw.js → instruction-discovery-d9kdwp41.js} +8 -8
  112. package/dist/chunks/{shell-mep1d9dn.js → instruction-discovery-dhhqcq64.js} +11 -11
  113. package/dist/chunks/{shell-ft3hqk2c.js → instruction-discovery-djszqvmq.js} +9 -9
  114. package/dist/chunks/{shell-rmk2c50f.js → instruction-discovery-dtqg9ce1.js} +5 -5
  115. package/dist/chunks/{shell-8x8j3m8g.js → instruction-discovery-dx2h6xhc.js} +24 -24
  116. package/dist/chunks/{shell-rnwakkaz.js → instruction-discovery-dzdcg5g9.js} +11 -11
  117. package/dist/chunks/{shell-7xc78qe9.js → instruction-discovery-e0pxcnmw.js} +8 -8
  118. package/dist/chunks/{shell-5qd3pb7m.js → instruction-discovery-e3qxr5gk.js} +2 -2
  119. package/dist/chunks/{shell-e80seqcp.js → instruction-discovery-e80seqcp.js} +1 -1
  120. package/dist/chunks/{shell-cgfkqdd2.js → instruction-discovery-eefd4g5w.js} +5 -5
  121. package/dist/chunks/{shell-eej6y6fw.js → instruction-discovery-eej6y6fw.js} +2 -2
  122. package/dist/chunks/{shell-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{shell-8n930zqj.js → instruction-discovery-eq08xn2q.js} +13 -13
  124. package/dist/chunks/{shell-d2mdrpz8.js → instruction-discovery-ereph1h9.js} +15 -15
  125. package/dist/chunks/{shell-es1vcfrp.js → instruction-discovery-es1vcfrp.js} +3 -3
  126. package/dist/chunks/{shell-8gw3c03x.js → instruction-discovery-ewk422xx.js} +14 -14
  127. package/dist/chunks/{shell-x38knr2x.js → instruction-discovery-ezzmrcry.js} +30 -30
  128. package/dist/chunks/{shell-7mzdt0w8.js → instruction-discovery-fng9jkm1.js} +9 -9
  129. package/dist/chunks/{shell-gzsaks7j.js → instruction-discovery-fqp3mcfq.js} +1 -1
  130. package/dist/chunks/{shell-y2jr2tth.js → instruction-discovery-fykx5zb5.js} +42 -42
  131. package/dist/chunks/{shell-7w9gykhe.js → instruction-discovery-fz79ktw5.js} +5 -5
  132. package/dist/chunks/{shell-pze8725k.js → instruction-discovery-g0z1em0w.js} +4 -4
  133. package/dist/chunks/{shell-af9trwvd.js → instruction-discovery-g6187q27.js} +28 -28
  134. package/dist/chunks/{shell-3g4h444j.js → instruction-discovery-g678yp76.js} +29 -29
  135. package/dist/chunks/{shell-9ytn1w1e.js → instruction-discovery-gcqzh3f4.js} +24 -24
  136. package/dist/chunks/{shell-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
  137. package/dist/chunks/{shell-t5k44akb.js → instruction-discovery-ge2q9s3y.js} +11 -11
  138. package/dist/chunks/{shell-6nk5k72v.js → instruction-discovery-ggsp0fny.js} +11 -11
  139. package/dist/chunks/{shell-rhtc0fgb.js → instruction-discovery-gjqhxvm8.js} +18 -18
  140. package/dist/chunks/{shell-gk8qb678.js → instruction-discovery-gk8qb678.js} +1 -1
  141. package/dist/chunks/{shell-jgk7vy4e.js → instruction-discovery-gq58s3m0.js} +25 -25
  142. package/dist/chunks/{shell-56bnbftg.js → instruction-discovery-h04zhhvt.js} +9 -9
  143. package/dist/chunks/{shell-v7zxpw2y.js → instruction-discovery-h11z96pq.js} +11 -11
  144. package/dist/chunks/{shell-6sy8vh35.js → instruction-discovery-h4ps1sgr.js} +3 -3
  145. package/dist/chunks/{shell-m2rp4ttb.js → instruction-discovery-h4y0jjzh.js} +22 -22
  146. package/dist/chunks/{shell-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{shell-31xfzrxg.js → instruction-discovery-h7s7r6s9.js} +5 -5
  148. package/dist/chunks/{shell-t8a7bgyd.js → instruction-discovery-hay4m1s6.js} +50 -50
  149. package/dist/chunks/{shell-hgz4x7wa.js → instruction-discovery-hgz4x7wa.js} +1 -1
  150. package/dist/chunks/{shell-5cncgnpd.js → instruction-discovery-hw2yy5aw.js} +11 -11
  151. package/dist/chunks/{shell-btbmdjwj.js → instruction-discovery-j34bs4nz.js} +4 -4
  152. package/dist/chunks/{shell-1m40js80.js → instruction-discovery-j47qf441.js} +18 -18
  153. package/dist/chunks/{shell-vbr7sme9.js → instruction-discovery-j4c2xja6.js} +13 -13
  154. package/dist/chunks/{shell-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
  155. package/dist/chunks/{shell-w6dgapmz.js → instruction-discovery-j6a2evck.js} +18 -18
  156. package/dist/chunks/{shell-xam4bgke.js → instruction-discovery-j9ysnh0t.js} +17 -17
  157. package/dist/chunks/{shell-s5j05cd1.js → instruction-discovery-janq1scx.js} +1 -1
  158. package/dist/chunks/{shell-9h5h6fqx.js → instruction-discovery-jgbvdr9r.js} +6 -6
  159. package/dist/chunks/{shell-xt4njr3s.js → instruction-discovery-jhdf29st.js} +1 -1
  160. package/dist/chunks/{shell-ja2m0vt7.js → instruction-discovery-jpen4qdf.js} +5 -5
  161. package/dist/chunks/instruction-discovery-jqh9b0xq.js +18 -0
  162. package/dist/chunks/{shell-2qq9qpvb.js → instruction-discovery-jvx148y3.js} +9 -9
  163. package/dist/chunks/{shell-y71avatq.js → instruction-discovery-jwcy2c2z.js} +4 -4
  164. package/dist/chunks/{shell-pfvzztvg.js → instruction-discovery-k2xcv0kf.js} +12 -12
  165. package/dist/chunks/{shell-cdvtns70.js → instruction-discovery-ketq9gmb.js} +9 -9
  166. package/dist/chunks/{shell-ny8edt06.js → instruction-discovery-khmqacep.js} +4 -4
  167. package/dist/chunks/{shell-30cr2dha.js → instruction-discovery-kppw7hr6.js} +21 -21
  168. package/dist/chunks/{shell-3e359xfy.js → instruction-discovery-ksek9mqj.js} +38 -38
  169. package/dist/chunks/{shell-558ctygn.js → instruction-discovery-ksqr7yfe.js} +7 -7
  170. package/dist/chunks/{shell-84ma1j0m.js → instruction-discovery-ky9vbweg.js} +25 -25
  171. package/dist/chunks/{shell-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
  172. package/dist/chunks/{shell-34493raz.js → instruction-discovery-mbkrq27a.js} +8 -8
  173. package/dist/chunks/{shell-8qb5k9ag.js → instruction-discovery-mf2nfva2.js} +23 -23
  174. package/dist/chunks/{shell-5n34zx7s.js → instruction-discovery-mkkx2xvk.js} +29 -29
  175. package/dist/chunks/{shell-czt2hbsm.js → instruction-discovery-mnv9vkrs.js} +3 -3
  176. package/dist/chunks/{shell-agdpje3n.js → instruction-discovery-myrhaa8e.js} +9 -9
  177. package/dist/chunks/{shell-tm2bkakz.js → instruction-discovery-n3aya5hh.js} +17 -17
  178. package/dist/chunks/{shell-kfqqh2dm.js → instruction-discovery-n3jw88fx.js} +9 -9
  179. package/dist/chunks/{shell-1tbz6nf6.js → instruction-discovery-na4dcjrg.js} +28 -28
  180. package/dist/chunks/{shell-cns87y7k.js → instruction-discovery-nbyj5sqq.js} +89 -89
  181. package/dist/chunks/{shell-gdp6c8vy.js → instruction-discovery-ne89875c.js} +16 -16
  182. package/dist/chunks/{shell-f0kngnrj.js → instruction-discovery-njm3x30h.js} +89 -89
  183. package/dist/chunks/{shell-rqa1jxse.js → instruction-discovery-nqxj0yn4.js} +2 -2
  184. package/dist/chunks/{shell-6zrtch0f.js → instruction-discovery-nvakrpsp.js} +14 -14
  185. package/dist/chunks/{shell-3agx5zz8.js → instruction-discovery-nzbbc5k0.js} +7 -7
  186. package/dist/chunks/{shell-mmzf3z6s.js → instruction-discovery-p097c2sx.js} +14 -14
  187. package/dist/chunks/{shell-m0r31qfn.js → instruction-discovery-ph842b28.js} +4 -4
  188. package/dist/chunks/{shell-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{shell-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
  190. package/dist/chunks/{shell-y7jcjyya.js → instruction-discovery-prhrtzb1.js} +55 -55
  191. package/dist/chunks/{shell-njq21eak.js → instruction-discovery-pw6jj9n3.js} +15 -15
  192. package/dist/chunks/{shell-pzd2mz5f.js → instruction-discovery-pwpq1fb6.js} +20 -20
  193. package/dist/chunks/{shell-4verpk1x.js → instruction-discovery-pznx5chc.js} +19 -19
  194. package/dist/chunks/{shell-heqq3mr6.js → instruction-discovery-q17sgkmf.js} +20 -20
  195. package/dist/chunks/{shell-xs9jsb3j.js → instruction-discovery-q78nszrx.js} +33 -33
  196. package/dist/chunks/{shell-t2fc4mz5.js → instruction-discovery-qa3qhgw8.js} +4 -4
  197. package/dist/chunks/{shell-7ap0sxd3.js → instruction-discovery-qgezrw5d.js} +20 -20
  198. package/dist/chunks/{shell-0cx75btx.js → instruction-discovery-qms70dv9.js} +3 -3
  199. package/dist/chunks/{shell-qnc92qwc.js → instruction-discovery-qnc92qwc.js} +1 -1
  200. package/dist/chunks/{shell-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
  201. package/dist/chunks/{shell-r2rrbk91.js → instruction-discovery-qyjj4w9t.js} +13 -13
  202. package/dist/chunks/{shell-1fpbjd13.js → instruction-discovery-r2a2vjc6.js} +45 -45
  203. package/dist/chunks/{shell-bacj9t34.js → instruction-discovery-r70na3yp.js} +9 -9
  204. package/dist/chunks/{shell-stc4cdgj.js → instruction-discovery-r75v65gt.js} +5 -5
  205. package/dist/chunks/{shell-60prr7yn.js → instruction-discovery-rb0m5pb6.js} +33 -33
  206. package/dist/chunks/{shell-rdw6cm16.js → instruction-discovery-rdw6cm16.js} +1 -1
  207. package/dist/chunks/{shell-eaj1djv9.js → instruction-discovery-rhjbct0v.js} +8 -8
  208. package/dist/chunks/{shell-7saes39r.js → instruction-discovery-rtbh45rc.js} +13 -13
  209. package/dist/chunks/{shell-zgyqwtqb.js → instruction-discovery-rwbpmje9.js} +22 -22
  210. package/dist/chunks/{shell-313kwqq3.js → instruction-discovery-s9bfrye6.js} +59 -59
  211. package/dist/chunks/{shell-scgrse2b.js → instruction-discovery-scgrse2b.js} +2 -2
  212. package/dist/chunks/{shell-4m6jjpz9.js → instruction-discovery-sddgd5f8.js} +20 -20
  213. package/dist/chunks/{shell-048e2n3v.js → instruction-discovery-sm4j4wt5.js} +16 -16
  214. package/dist/chunks/{shell-y8p1cgeb.js → instruction-discovery-sp61bypy.js} +17 -17
  215. package/dist/chunks/{shell-095d0b2q.js → instruction-discovery-ssgq4v3h.js} +21 -21
  216. package/dist/chunks/{shell-4j5fa2df.js → instruction-discovery-svysebdv.js} +171 -171
  217. package/dist/chunks/{shell-syv4x271.js → instruction-discovery-syv4x271.js} +1 -1
  218. package/dist/chunks/{shell-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
  219. package/dist/chunks/{shell-tcezcvh9.js → instruction-discovery-tcezcvh9.js} +1 -1
  220. package/dist/chunks/{shell-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
  221. package/dist/chunks/{shell-ckadtnr7.js → instruction-discovery-terdh6tz.js} +46 -46
  222. package/dist/chunks/{shell-tkb22qbm.js → instruction-discovery-tkb22qbm.js} +2 -2
  223. package/dist/chunks/{shell-9vdgkp4d.js → instruction-discovery-tppqj79j.js} +13 -13
  224. package/dist/chunks/{shell-0fzr6jaa.js → instruction-discovery-tqenhx9q.js} +6 -6
  225. package/dist/chunks/{shell-m5c0yzf1.js → instruction-discovery-ts8qfj50.js} +4 -4
  226. package/dist/chunks/{shell-vyjt0ajn.js → instruction-discovery-tvmrjeqd.js} +9 -9
  227. package/dist/chunks/{shell-kaapnyca.js → instruction-discovery-tym1zfxs.js} +9 -9
  228. package/dist/chunks/{shell-tyytaxap.js → instruction-discovery-tyytaxap.js} +1 -1
  229. package/dist/chunks/{shell-v0es1rhs.js → instruction-discovery-v0es1rhs.js} +2 -2
  230. package/dist/chunks/{shell-v7p4zvkq.js → instruction-discovery-v7p4zvkq.js} +2 -2
  231. package/dist/chunks/{shell-fk8bsqye.js → instruction-discovery-v8pa3zp8.js} +18 -18
  232. package/dist/chunks/{shell-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
  233. package/dist/chunks/{shell-6v23mrsw.js → instruction-discovery-vezvtjyv.js} +11 -11
  234. package/dist/chunks/{shell-xrv3xw4y.js → instruction-discovery-vhjwdtv8.js} +45 -45
  235. package/dist/chunks/{shell-adqsm0r6.js → instruction-discovery-vky023fh.js} +4 -4
  236. package/dist/chunks/{shell-aj3rbcf1.js → instruction-discovery-vrzt526f.js} +5 -5
  237. package/dist/chunks/{shell-qgbr337s.js → instruction-discovery-vt28d6rb.js} +30 -30
  238. package/dist/chunks/{shell-gkvpypj0.js → instruction-discovery-vw6bdczd.js} +5 -5
  239. package/dist/chunks/{shell-sjtbvg8y.js → instruction-discovery-vz2yvhh5.js} +18 -18
  240. package/dist/chunks/{shell-vzs5sf6e.js → instruction-discovery-vzs5sf6e.js} +1 -1
  241. package/dist/chunks/{shell-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
  242. package/dist/chunks/{shell-kfpf96s6.js → instruction-discovery-w96a8yrh.js} +19 -19
  243. package/dist/chunks/{shell-5y3m17fh.js → instruction-discovery-wby3r2te.js} +11 -11
  244. package/dist/chunks/{shell-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
  245. package/dist/chunks/{shell-azb66w4c.js → instruction-discovery-wf98qgyv.js} +18 -18
  246. package/dist/chunks/{shell-e21ryx48.js → instruction-discovery-wnk72qpq.js} +8 -8
  247. package/dist/chunks/{shell-m9584te0.js → instruction-discovery-wp8sj255.js} +22 -22
  248. package/dist/chunks/{shell-wexd9xpc.js → instruction-discovery-wpemy600.js} +7 -7
  249. package/dist/chunks/{shell-vj6eysyn.js → instruction-discovery-wr0v3f2s.js} +32 -32
  250. package/dist/chunks/{shell-0vbncn2w.js → instruction-discovery-wt4s349c.js} +22 -22
  251. package/dist/chunks/{shell-8e1b1gzh.js → instruction-discovery-wvej1134.js} +6 -6
  252. package/dist/chunks/{shell-epyzcj12.js → instruction-discovery-wwyp4jt6.js} +27 -27
  253. package/dist/chunks/{shell-hcv80w8f.js → instruction-discovery-x5wrmng7.js} +11 -11
  254. package/dist/chunks/{shell-vgb7x8w4.js → instruction-discovery-x7bx6zs0.js} +10 -10
  255. package/dist/chunks/{shell-svcw9x3w.js → instruction-discovery-xacpwdh9.js} +8 -8
  256. package/dist/chunks/{shell-bw9zjykr.js → instruction-discovery-xcd0eash.js} +6 -6
  257. package/dist/chunks/{shell-00zkxhvn.js → instruction-discovery-xk3qqngr.js} +11 -11
  258. package/dist/chunks/{shell-rt72sw9b.js → instruction-discovery-xkfm5vcm.js} +2 -2
  259. package/dist/chunks/{shell-3t4kfs4k.js → instruction-discovery-xqt608y9.js} +30 -30
  260. package/dist/chunks/{shell-rmmawkst.js → instruction-discovery-xyc3y5xg.js} +13 -13
  261. package/dist/chunks/{shell-8gknh66y.js → instruction-discovery-xz5716ww.js} +29 -29
  262. package/dist/chunks/{shell-nxmdvp48.js → instruction-discovery-xzdfrpe2.js} +26 -26
  263. package/dist/chunks/{shell-35yg89f7.js → instruction-discovery-y147vcw1.js} +20 -20
  264. package/dist/chunks/{shell-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
  265. package/dist/chunks/{shell-jp4jngxf.js → instruction-discovery-y1qj9qp6.js} +22 -22
  266. package/dist/chunks/{shell-j6yppb8b.js → instruction-discovery-y8ptd9jv.js} +30 -30
  267. package/dist/chunks/{shell-4xtcs679.js → instruction-discovery-yc7106p4.js} +20 -20
  268. package/dist/chunks/{shell-f0va00kd.js → instruction-discovery-yeyrdzm0.js} +23 -23
  269. package/dist/chunks/{shell-dt3wh0n6.js → instruction-discovery-yh9g6p3v.js} +40 -40
  270. package/dist/chunks/{shell-dsv7aeby.js → instruction-discovery-ykmz0d95.js} +5 -5
  271. package/dist/chunks/{shell-g86bj5d1.js → instruction-discovery-yng1p9nw.js} +9 -9
  272. package/dist/chunks/{shell-r8xr0va3.js → instruction-discovery-yp2x3t23.js} +4 -4
  273. package/dist/chunks/{shell-n68bzdq2.js → instruction-discovery-yztevfhp.js} +20 -20
  274. package/dist/chunks/{shell-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{shell-47xsw6m2.js → instruction-discovery-z2qawcf3.js} +12 -12
  276. package/dist/chunks/{shell-y8ccv8ms.js → instruction-discovery-z4dcjezs.js} +11 -11
  277. package/dist/chunks/{shell-7r0vwa6g.js → instruction-discovery-z5hqtv59.js} +7 -7
  278. package/dist/chunks/{shell-0r3c1bmw.js → instruction-discovery-z6c3x22d.js} +5 -5
  279. package/dist/chunks/{shell-m0n4gwem.js → instruction-discovery-zamq423t.js} +1 -1
  280. package/dist/chunks/{shell-7cyqmm7n.js → instruction-discovery-zest4r3s.js} +28 -28
  281. package/dist/chunks/{shell-sn52ycrc.js → instruction-discovery-zkskjjqs.js} +23 -23
  282. package/dist/chunks/{shell-tnj7jt5w.js → instruction-discovery-zmbx7t07.js} +47 -47
  283. package/dist/chunks/{shell-a3hddkr0.js → instruction-discovery-zp551mt7.js} +32 -32
  284. package/dist/chunks/{shell-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{shell-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +9 -9
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +85 -85
  291. package/dist/config/discovery.js +84 -84
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +207 -207
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/compatibility.js +136 -136
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +119 -119
  300. package/dist/config/plugin/image.js +118 -118
  301. package/dist/config/plugin/instruction.js +92 -92
  302. package/dist/config/plugin/location-watcher.js +120 -120
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +119 -119
  305. package/dist/config/plugin/provider.js +118 -118
  306. package/dist/config/plugin/reference.js +120 -120
  307. package/dist/config/plugin/shell.js +120 -120
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill.js +139 -139
  310. package/dist/config/plugin/snapshot.js +118 -118
  311. package/dist/config/plugin/source.js +121 -121
  312. package/dist/config/plugin/tool-output.js +119 -119
  313. package/dist/config/plugin/websearch.js +119 -119
  314. package/dist/config/plugin/worktree.js +120 -120
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +121 -121
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +87 -87
  320. package/dist/database/database.js +74 -74
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  386. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  387. package/dist/database/migration.gen.js +51 -51
  388. package/dist/database/migration.js +53 -53
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +95 -95
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +97 -97
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +3 -3
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +74 -74
  412. package/dist/file-access.js +102 -102
  413. package/dist/file-mutation.js +96 -96
  414. package/dist/file-retention.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +99 -99
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +13 -13
  425. package/dist/filesystem.js +100 -100
  426. package/dist/form.js +88 -88
  427. package/dist/formatter/builtins.js +2 -2
  428. package/dist/formatter.js +89 -89
  429. package/dist/generate.js +105 -105
  430. package/dist/git.js +8 -8
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +93 -93
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +359 -359
  454. package/dist/instruction-discovery.js +85 -85
  455. package/dist/instructions/builtins.js +89 -89
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +89 -89
  459. package/dist/job.js +80 -80
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +75 -75
  462. package/dist/location-activity.js +134 -134
  463. package/dist/location-lifecycle.js +109 -109
  464. package/dist/location-service-map.js +88 -88
  465. package/dist/location-services.js +356 -356
  466. package/dist/location.js +85 -85
  467. package/dist/managed-policy.js +6 -6
  468. package/dist/mcp/client.js +93 -93
  469. package/dist/mcp/index.js +107 -107
  470. package/dist/mcp/instructions.js +129 -129
  471. package/dist/mcp/oauth.js +80 -80
  472. package/dist/mcp/stdio.js +92 -92
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +93 -93
  475. package/dist/model-resolver.js +100 -100
  476. package/dist/model.js +102 -102
  477. package/dist/models-dev.js +103 -103
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +82 -82
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +119 -119
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +82 -82
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +77 -77
  487. package/dist/plugin/agent.js +76 -76
  488. package/dist/plugin/command.js +102 -102
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +3 -3
  493. package/dist/plugin/internal.js +331 -331
  494. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  495. package/dist/plugin/models-dev.js +98 -98
  496. package/dist/plugin/module.js +119 -119
  497. package/dist/plugin/optimize.js +2 -2
  498. package/dist/plugin/plan.js +104 -104
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  501. package/dist/plugin/provider/azure.js +119 -119
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/chatgpt.js +96 -96
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/databricks.js +1 -1
  509. package/dist/plugin/provider/digitalocean.js +95 -95
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/github-copilot.js +97 -97
  513. package/dist/plugin/provider/gitlab.js +95 -95
  514. package/dist/plugin/provider/google-vertex.js +115 -115
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +80 -80
  517. package/dist/plugin/provider/lmstudio.js +127 -127
  518. package/dist/plugin/provider/local.js +124 -124
  519. package/dist/plugin/provider/modal.js +94 -94
  520. package/dist/plugin/provider/neon.js +1 -1
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +127 -127
  523. package/dist/plugin/provider/openai.js +95 -95
  524. package/dist/plugin/provider/opencode.js +99 -99
  525. package/dist/plugin/provider/openrouter.js +93 -93
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +81 -81
  528. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  529. package/dist/plugin/provider/sap-ai-core.js +93 -93
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  532. package/dist/plugin/provider/vercel.js +92 -92
  533. package/dist/plugin/provider/vllm.js +125 -125
  534. package/dist/plugin/provider/xai.js +93 -93
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +169 -169
  537. package/dist/plugin/sdk.js +74 -74
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +136 -136
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +350 -350
  542. package/dist/plugin/tool-input-repair.js +4 -4
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +88 -88
  545. package/dist/plugin/vcs/hg.js +88 -88
  546. package/dist/plugin/verbosity.js +95 -95
  547. package/dist/plugin/warming.js +116 -116
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +224 -224
  556. package/dist/project/schema.js +2 -2
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +84 -84
  559. package/dist/provider.js +103 -103
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +101 -101
  563. package/dist/reference/instructions.js +91 -91
  564. package/dist/reference.js +87 -87
  565. package/dist/repository-cache.js +83 -83
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +93 -93
  569. package/dist/rpc.js +88 -88
  570. package/dist/schema.js +1 -1
  571. package/dist/session/affinity.js +1 -1
  572. package/dist/session/command.js +76 -76
  573. package/dist/session/compaction.js +135 -135
  574. package/dist/session/context.js +155 -155
  575. package/dist/session/diff.js +90 -90
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +217 -217
  580. package/dist/session/execution.js +127 -127
  581. package/dist/session/generate.js +156 -156
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +90 -90
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +81 -81
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +99 -99
  588. package/dist/session/message-updater.js +4 -4
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +120 -120
  591. package/dist/session/model-transport.js +7 -7
  592. package/dist/session/move.js +131 -131
  593. package/dist/session/projector.js +88 -88
  594. package/dist/session/prompt.js +107 -107
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +92 -92
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +226 -226
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +100 -100
  602. package/dist/session/runner/publish-llm-event.js +115 -115
  603. package/dist/session/runner/retry.js +2 -2
  604. package/dist/session/runner/step.js +127 -127
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +166 -166
  608. package/dist/session/shell.js +132 -132
  609. package/dist/session/skill.js +105 -105
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +75 -75
  612. package/dist/session/store.js +87 -87
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +207 -207
  615. package/dist/session/system-prompt.js +3 -3
  616. package/dist/session/title.js +159 -159
  617. package/dist/session/to-session-error.js +113 -113
  618. package/dist/session/transfer.js +212 -212
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +213 -213
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +13 -13
  625. package/dist/shell.js +134 -134
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +109 -109
  628. package/dist/skill.js +112 -112
  629. package/dist/snapshot.js +93 -93
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +130 -130
  634. package/dist/tool/plugin/edit.js +122 -122
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +126 -126
  637. package/dist/tool/plugin/grep.js +122 -122
  638. package/dist/tool/plugin/mcp-resource.js +119 -119
  639. package/dist/tool/plugin/opencode.js +111 -111
  640. package/dist/tool/plugin/patch.js +124 -124
  641. package/dist/tool/plugin/question.js +107 -107
  642. package/dist/tool/plugin/read.js +127 -127
  643. package/dist/tool/plugin/shell.js +212 -212
  644. package/dist/tool/plugin/skill.js +115 -115
  645. package/dist/tool/plugin/subagent.js +214 -214
  646. package/dist/tool/plugin/webfetch.js +114 -114
  647. package/dist/tool/plugin/websearch.js +114 -114
  648. package/dist/tool/plugin/write.js +124 -124
  649. package/dist/tool/read-filesystem.js +102 -102
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +7 -7
  652. package/dist/tool.js +14 -14
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +7 -7
  663. package/dist/v1/config/command.js +3 -3
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +94 -94
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +1 -1
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/variant.js +93 -93
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +91 -91
  674. package/dist/websearch.js +84 -84
  675. package/dist/wellknown/plugin.js +76 -76
  676. package/dist/wellknown.js +83 -83
  677. package/dist/workspace/driver.js +5 -5
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +82 -82
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +10 -10
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +91 -91
  684. package/dist/worktree.js +100 -100
  685. package/package.json +8 -8
  686. package/dist/chunks/shell-b6v5h50w.js +0 -513
  687. package/dist/chunks/shell-rap9a73h.js +0 -18
  688. package/dist/chunks/shell-rvqmnzzm.js +0 -253
  689. package/dist/chunks/shell-zs1gxd8f.js +0 -26
  690. /package/dist/chunks/{shell-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{shell-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{shell-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{shell-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{shell-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{shell-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{shell-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{shell-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{shell-2bv980vf.js → instruction-discovery-2bv980vf.js} +0 -0
  699. /package/dist/chunks/{shell-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{shell-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{shell-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
  702. /package/dist/chunks/{shell-3t0ybcrp.js → instruction-discovery-3t0ybcrp.js} +0 -0
  703. /package/dist/chunks/{shell-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{shell-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{shell-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{shell-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{shell-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{shell-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{shell-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
  710. /package/dist/chunks/{shell-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{shell-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
  712. /package/dist/chunks/{shell-6q2bdcd1.js → instruction-discovery-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{shell-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{shell-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{shell-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
  716. /package/dist/chunks/{shell-84wd9syh.js → instruction-discovery-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{shell-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{shell-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{shell-8wj87zfr.js → instruction-discovery-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{shell-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{shell-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{shell-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{shell-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{shell-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{shell-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{shell-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{shell-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{shell-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{shell-bw78ga2c.js → instruction-discovery-bw78ga2c.js} +0 -0
  730. /package/dist/chunks/{shell-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{shell-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{shell-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{shell-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{shell-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{shell-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{shell-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
  737. /package/dist/chunks/{shell-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{shell-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{shell-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{shell-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{shell-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{shell-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{shell-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{shell-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{shell-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{shell-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{shell-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{shell-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
  749. /package/dist/chunks/{shell-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{shell-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
  751. /package/dist/chunks/{shell-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
  752. /package/dist/chunks/{shell-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{shell-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{shell-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{shell-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{shell-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{shell-jze0r7bz.js → instruction-discovery-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{shell-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{shell-m18g726c.js → instruction-discovery-m18g726c.js} +0 -0
  760. /package/dist/chunks/{shell-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{shell-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{shell-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{shell-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{shell-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{shell-pkyv6v7h.js → instruction-discovery-pkyv6v7h.js} +0 -0
  766. /package/dist/chunks/{shell-pyv0edze.js → instruction-discovery-pyv0edze.js} +0 -0
  767. /package/dist/chunks/{shell-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{shell-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{shell-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{shell-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{shell-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{shell-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{shell-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{shell-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{shell-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{shell-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{shell-ve7vex1e.js → instruction-discovery-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{shell-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{shell-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{shell-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{shell-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{shell-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{shell-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
  784. /package/dist/chunks/{shell-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{shell-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{shell-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{shell-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{shell-z5v4ffb3.js → instruction-discovery-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{shell-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service84,
3
- node88
4
- } from "./shell-4vvq79yt.js";
3
+ node87
4
+ } from "./instruction-discovery-5r4v0xwy.js";
5
5
  import {
6
6
  __export
7
- } from "./shell-9rqn6x4v.js";
7
+ } from "./instruction-discovery-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,40 +12,40 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event17,
15
+ Event: () => Event20,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID11,
20
- Info: () => Info21,
19
+ ID: () => ID16,
20
+ Info: () => Info26,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError7,
24
- Reply: () => Reply2,
25
- Service: () => Service72,
23
+ NotFoundError: () => NotFoundError10,
24
+ Reply: () => Reply3,
25
+ Service: () => Service80,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer27,
29
- node: () => node76,
28
+ layer: () => layer26,
29
+ node: () => node83,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event17 } from "@opencode/schema/form";
36
+ import { Event as Event20 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID11 = Form.ID;
39
- var Info21 = Form.Info;
38
+ var ID16 = Form.ID;
39
+ var Info26 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply2 = Form.Reply;
45
+ var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID11
47
+ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID16
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID11
56
+ id: ID16
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID11
64
+ id: ID16
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID11,
72
+ id: ID16,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service72 extends Context.Service()("@opencode/Form") {
82
+ class Service80 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer27 = Layer.effect(Service72, Effect.gen(function* () {
84
+ var layer26 = Layer.effect(Service80, Effect.gen(function* () {
85
85
  const bus = yield* Service84;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError7({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID11.create();
93
+ const id = input.id ?? ID16.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service72, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service72.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service80.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node76 = makeLocationNode({ service: Service72, layer: layer27, deps: [node88] });
167
+ var node83 = makeLocationNode({ service: Service80, layer: layer26, deps: [node87] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID11, Info21, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError7, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service72, layer27, node76, validateAnswer2, validateFields2, exports_form, Event17 };
319
+ export { ID16, Info26, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service80, layer26, node83, validateAnswer2, validateFields2, exports_form, Event20 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./shell-z5v4ffb3.js";
3
+ } from "./instruction-discovery-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
- Info12
7
- } from "./shell-txm3e8qz.js";
6
+ Info17
7
+ } from "./instruction-discovery-1j6m29mr.js";
8
8
  import {
9
9
  __export
10
- } from "./shell-9rqn6x4v.js";
10
+ } from "./instruction-discovery-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
- var exports_agent3 = {};
14
- __export(exports_agent3, {
15
- ConfigAgentV1: () => exports_agent3,
16
- Info: () => Info11
13
+ var exports_agent4 = {};
14
+ __export(exports_agent4, {
15
+ ConfigAgentV1: () => exports_agent4,
16
+ Info: () => Info16
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
45
45
  description: "Maximum number of agentic iterations before forcing text-only response"
46
46
  }),
47
47
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
48
- permission: Schema.optional(Info12)
48
+ permission: Schema.optional(Info17)
49
49
  }), [Schema.Record(Schema.String, Schema.Any)]);
50
50
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
51
51
  var normalize = (agent) => {
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info11 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info16 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info11, exports_agent3 };
72
+ export { Info16, exports_agent4 };
@@ -2,28 +2,28 @@ import {
2
2
  Resource2,
3
3
  ResourceTemplate2,
4
4
  ResourceContent2,
5
- Service36
6
- } from "./shell-ckadtnr7.js";
5
+ Service42
6
+ } from "./instruction-discovery-terdh6tz.js";
7
7
  import {
8
- Service73
9
- } from "./shell-313kwqq3.js";
8
+ Service55
9
+ } from "./instruction-discovery-s9bfrye6.js";
10
10
  import {
11
11
  __export
12
- } from "./shell-9rqn6x4v.js";
12
+ } from "./instruction-discovery-9rqn6x4v.js";
13
13
 
14
14
  // src/tool/plugin/mcp-resource.ts
15
15
  var exports_mcp_resource = {};
16
16
  __export(exports_mcp_resource, {
17
17
  McpResourceTools: () => exports_mcp_resource,
18
- Plugin: () => Plugin15
18
+ Plugin: () => Plugin38
19
19
  });
20
20
  import { ToolFailure } from "@opencode/ai";
21
21
  import { Effect, Schema } from "effect";
22
- var Plugin15 = {
22
+ var Plugin38 = {
23
23
  id: "opencode.tools.mcp-resources",
24
24
  effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
25
- const mcp = yield* Service36;
26
- const permission = yield* Service73;
25
+ const mcp = yield* Service42;
26
+ const permission = yield* Service55;
27
27
  yield* ctx.tool.transform((editor) => {
28
28
  editor.add({
29
29
  name: "list_mcp_resources",
@@ -93,4 +93,4 @@ var Plugin15 = {
93
93
  })
94
94
  };
95
95
 
96
- export { Plugin15, exports_mcp_resource };
96
+ export { Plugin38, exports_mcp_resource };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./shell-z5v4ffb3.js";
4
+ } from "./instruction-discovery-z5v4ffb3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./shell-y71avatq.js";
7
+ } from "./instruction-discovery-jwcy2c2z.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./shell-tazgh4e4.js";
12
+ } from "./instruction-discovery-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./shell-ef5x83kb.js";
15
+ } from "./instruction-discovery-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./shell-9rqn6x4v.js";
18
+ } from "./instruction-discovery-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -27,7 +27,7 @@ __export(exports_git3, {
27
27
  TreeID: () => TreeID2,
28
28
  Worktree: () => Worktree2,
29
29
  WorktreeError: () => WorktreeError2,
30
- node: () => node87
30
+ node: () => node86
31
31
  });
32
32
  import path from "path";
33
33
  import { Cause, Context, Effect, Exit, Layer, Option, Schedule, Schema } from "effect";
@@ -734,7 +734,7 @@ var layer = Layer.effect(Service83, Effect.gen(function* () {
734
734
  objects: { pack: packObjects }
735
735
  });
736
736
  }));
737
- var node87 = makeGlobalNode({ service: Service83, layer, deps: [FSUtil.node, AppProcess.node] });
737
+ var node86 = makeGlobalNode({ service: Service83, layer, deps: [FSUtil.node, AppProcess.node] });
738
738
  function run(cwd, proc, args) {
739
739
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
740
740
  }
@@ -801,4 +801,4 @@ function resolvePath(cwd, value) {
801
801
  return path.resolve(cwd, normalized);
802
802
  }
803
803
 
804
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service83, node87, exports_git3 };
804
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service83, node86, exports_git3 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./instruction-discovery-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service62,
10
- node: () => node66
9
+ Service: () => Service52,
10
+ node: () => node54
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service62 extends Context.Service()("@opencode/Instance") {
16
+ class Service52 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node66 = LayerNode.unbound(Service62, Node.tags.values.global);
18
+ var node54 = LayerNode.unbound(Service52, Node.tags.values.global);
19
19
 
20
- export { Service62, node66, exports_service2 };
20
+ export { Service52, node54, exports_service2 };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service52
4
- } from "./shell-dt3wh0n6.js";
3
+ Service63
4
+ } from "./instruction-discovery-yh9g6p3v.js";
5
5
  import {
6
- Service38
7
- } from "./shell-2rnn254z.js";
6
+ Service46
7
+ } from "./instruction-discovery-9w9w77gc.js";
8
8
  import {
9
9
  observe2
10
- } from "./shell-qsdy395h.js";
10
+ } from "./instruction-discovery-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./shell-9rqn6x4v.js";
13
+ } from "./instruction-discovery-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin32
19
+ Plugin: () => Plugin29
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin32 = define({
23
+ var Plugin29 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service52;
27
- const snapshot = yield* Service38;
26
+ const config = yield* Service63;
27
+ const snapshot = yield* Service46;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin32 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin32, exports_snapshot };
38
+ export { Plugin29, exports_snapshot };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./shell-emrn6kk6.js";
4
+ } from "./instruction-discovery-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./shell-7r0vwa6g.js";
7
+ } from "./instruction-discovery-z5hqtv59.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  Service84,
3
- node88
4
- } from "./shell-4vvq79yt.js";
3
+ node87
4
+ } from "./instruction-discovery-5r4v0xwy.js";
5
5
  import {
6
6
  Service83,
7
- node87
8
- } from "./shell-svcw9x3w.js";
7
+ node86
8
+ } from "./instruction-discovery-xacpwdh9.js";
9
9
  import {
10
10
  Service81,
11
- node85
12
- } from "./shell-558ctygn.js";
11
+ node84
12
+ } from "./instruction-discovery-ksqr7yfe.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./shell-rap9a73h.js";
15
+ } from "./instruction-discovery-jqh9b0xq.js";
16
16
  import {
17
- Service53,
18
- node57
19
- } from "./shell-m9584te0.js";
17
+ Service64,
18
+ node66
19
+ } from "./instruction-discovery-wp8sj255.js";
20
20
  import {
21
- node25
22
- } from "./shell-heqq3mr6.js";
21
+ node26
22
+ } from "./instruction-discovery-q17sgkmf.js";
23
23
  import {
24
- Service13,
25
- node15
26
- } from "./shell-ft3hqk2c.js";
24
+ Service10,
25
+ node12
26
+ } from "./instruction-discovery-djszqvmq.js";
27
27
  import {
28
28
  __export
29
- } from "./shell-9rqn6x4v.js";
29
+ } from "./instruction-discovery-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
- var exports_location_watcher = {};
33
- __export(exports_location_watcher, {
34
- LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service2,
36
- node: () => node2
32
+ var exports_location_watcher2 = {};
33
+ __export(exports_location_watcher2, {
34
+ LocationWatcher: () => exports_location_watcher2,
35
+ Service: () => Service9,
36
+ node: () => node11
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service2 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service9 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service2, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service9, Effect.gen(function* () {
46
46
  const location = yield* Service81;
47
- const watcher = yield* Service53;
47
+ const watcher = yield* Service64;
48
48
  const bus = yield* Service84;
49
49
  const fs = yield* FSUtil.Service;
50
50
  const git = yield* Service83;
51
- const policy = yield* Service13;
51
+ const policy = yield* Service10;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service2.of({});
103
+ return Service9.of({});
104
104
  }));
105
- var node2 = makeLocationNode({
106
- service: Service2,
105
+ var node11 = makeLocationNode({
106
+ service: Service9,
107
107
  layer,
108
- deps: [node57, FSUtil.node, node85, node87, node88, node25, node15]
108
+ deps: [node66, FSUtil.node, node84, node86, node87, node26, node12]
109
109
  });
110
110
 
111
- export { Service2, node2, exports_location_watcher };
111
+ export { Service9, node11, exports_location_watcher2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./shell-y71avatq.js";
3
+ } from "./instruction-discovery-jwcy2c2z.js";
4
4
  import {
5
- Service55,
6
- node59
7
- } from "./shell-0vbncn2w.js";
5
+ Service66,
6
+ node68
7
+ } from "./instruction-discovery-wt4s349c.js";
8
8
  import {
9
9
  __export
10
- } from "./shell-9rqn6x4v.js";
10
+ } from "./instruction-discovery-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service18,
17
- node: () => node20,
16
+ Service: () => Service21,
17
+ node: () => node23,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service18 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service21 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service18, Effect.gen(function* () {
38
- const environment = yield* Service55;
37
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
38
+ const environment = yield* Service66;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service18.of({ withLock, write, writeTextPreservingBom });
59
+ return Service21.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node20 = makeLocationNode({ service: Service18, layer, deps: [node59] });
61
+ var node23 = makeLocationNode({ service: Service21, layer, deps: [node68] });
62
62
 
63
- export { Service18, readText2, syncTextBom2, node20, exports_file_mutation };
63
+ export { Service21, readText2, syncTextBom2, node23, exports_file_mutation };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node42
5
- } from "./shell-5y3m17fh.js";
4
+ node89
5
+ } from "./instruction-discovery-wby3r2te.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./shell-4j4tgtq5.js";
9
+ } from "./instruction-discovery-5dkn69vz.js";
10
10
  import {
11
- Service77,
12
- node81
13
- } from "./shell-2eegacq4.js";
11
+ Service68,
12
+ node71
13
+ } from "./instruction-discovery-4a0nv7mx.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./shell-313kwqq3.js";
16
+ } from "./instruction-discovery-s9bfrye6.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./shell-6zrtch0f.js";
19
+ } from "./instruction-discovery-nvakrpsp.js";
20
20
  import {
21
- Error4
22
- } from "./shell-mqe4tty6.js";
21
+ Error3
22
+ } from "./instruction-discovery-81gd8ewx.js";
23
23
  import {
24
24
  get5
25
- } from "./shell-54ma36ye.js";
25
+ } from "./instruction-discovery-54ma36ye.js";
26
26
  import {
27
- Service35,
28
- node38
29
- } from "./shell-cdvtns70.js";
27
+ Service38,
28
+ node41
29
+ } from "./instruction-discovery-ketq9gmb.js";
30
30
  import {
31
31
  make14
32
- } from "./shell-drwq78ky.js";
32
+ } from "./instruction-discovery-57b9ws8p.js";
33
33
  import {
34
34
  toLLMMessages2
35
- } from "./shell-xt4njr3s.js";
35
+ } from "./instruction-discovery-jhdf29st.js";
36
36
  import {
37
37
  __export
38
- } from "./shell-9rqn6x4v.js";
38
+ } from "./instruction-discovery-9rqn6x4v.js";
39
39
 
40
40
  // src/session/model-request.ts
41
41
  var exports_model_request = {};
42
42
  __export(exports_model_request, {
43
- Service: () => Service34,
43
+ Service: () => Service37,
44
44
  SessionModelRequest: () => exports_model_request,
45
45
  baseTranscript: () => baseTranscript2,
46
46
  boundImages: () => boundImages2,
47
47
  layer: () => layer15,
48
- node: () => node37,
48
+ node: () => node40,
49
49
  unsupportedParts: () => unsupportedParts2
50
50
  });
51
51
  import {
@@ -155,11 +155,11 @@ var boundImages2 = (messages) => {
155
155
  });
156
156
  };
157
157
 
158
- class Service34 extends Context.Service()("@opencode/SessionModelRequest") {
158
+ class Service37 extends Context.Service()("@opencode/SessionModelRequest") {
159
159
  }
160
- var layer15 = Layer.effect(Service34, Effect.gen(function* () {
161
- const hooks = yield* Service77;
162
- const transport = yield* Service35;
160
+ var layer15 = Layer.effect(Service37, Effect.gen(function* () {
161
+ const hooks = yield* Service68;
162
+ const transport = yield* Service38;
163
163
  const app = yield* Metadata2;
164
164
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
165
165
  const session = input.session;
@@ -167,7 +167,7 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
167
167
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
168
168
  const tools = input.tools ?? {
169
169
  definitions: [],
170
- execute: () => new Error4({ message: "Tools are not available for this request" })
170
+ execute: () => new Error3({ message: "Tools are not available for this request" })
171
171
  };
172
172
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
173
173
  const shaped = yield* shape({
@@ -264,17 +264,17 @@ var layer15 = Layer.effect(Service34, Effect.gen(function* () {
264
264
  };
265
265
  });
266
266
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
267
- return Service34.of({
267
+ return Service37.of({
268
268
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
269
269
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
270
270
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
271
271
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
272
272
  });
273
273
  }));
274
- var node37 = makeLocationNode({
275
- service: Service34,
274
+ var node40 = makeLocationNode({
275
+ service: Service37,
276
276
  layer: layer15,
277
- deps: [node81, node38, node42]
277
+ deps: [node71, node41, node89]
278
278
  });
279
279
 
280
- export { baseTranscript2, unsupportedParts2, boundImages2, Service34, layer15, node37, exports_model_request };
280
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service37, layer15, node40, exports_model_request };