@opencode/core 0.0.0-dev-20265 → 0.0.0-dev-20271

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{instruction-discovery-4m2ax75s.js → schema-02fx2esq.js} +9 -9
  8. package/dist/chunks/{instruction-discovery-kjk4f8se.js → schema-03rhqhz8.js} +16 -16
  9. package/dist/chunks/{instruction-discovery-xj9hgx3w.js → schema-0455hjbt.js} +44 -44
  10. package/dist/chunks/{instruction-discovery-hbs2xy63.js → schema-04pw375h.js} +10 -10
  11. package/dist/chunks/{instruction-discovery-cw4qawdd.js → schema-057vntkv.js} +20 -20
  12. package/dist/chunks/{instruction-discovery-a9zhqkh4.js → schema-0eq7hms9.js} +3 -3
  13. package/dist/chunks/{instruction-discovery-473yxhcv.js → schema-0gxqnvpq.js} +47 -43
  14. package/dist/chunks/{instruction-discovery-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{instruction-discovery-2syk99rx.js → schema-0pj8398s.js} +27 -27
  16. package/dist/chunks/{instruction-discovery-0v53mg2y.js → schema-0v53mg2y.js} +1 -1
  17. package/dist/chunks/{instruction-discovery-97akkmbe.js → schema-0vq4p6sw.js} +11 -11
  18. package/dist/chunks/{instruction-discovery-22x1keze.js → schema-1380s59h.js} +36 -36
  19. package/dist/chunks/{instruction-discovery-kcp0xdhb.js → schema-153vd5vc.js} +3 -3
  20. package/dist/chunks/{instruction-discovery-hzrqtver.js → schema-17d68tkq.js} +20 -20
  21. package/dist/chunks/{instruction-discovery-1cakvm3y.js → schema-1bt4s3y9.js} +26 -26
  22. package/dist/chunks/{instruction-discovery-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{instruction-discovery-0s2j72ky.js → schema-1xys0ebv.js} +11 -11
  24. package/dist/chunks/{instruction-discovery-ynn26mj8.js → schema-20mv48v8.js} +10 -10
  25. package/dist/chunks/{instruction-discovery-21r38tys.js → schema-21r38tys.js} +1 -1
  26. package/dist/chunks/{instruction-discovery-z63w68vq.js → schema-29x78va6.js} +6 -6
  27. package/dist/chunks/{instruction-discovery-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{instruction-discovery-1vzw8yhg.js → schema-2fjb1j7y.js} +13 -13
  29. package/dist/chunks/{instruction-discovery-7dqw4kz8.js → schema-2k8khapm.js} +5 -5
  30. package/dist/chunks/{instruction-discovery-1hcjf4ej.js → schema-2nhp9p6w.js} +20 -20
  31. package/dist/chunks/{instruction-discovery-6sfywj03.js → schema-2phhkb6s.js} +16 -16
  32. package/dist/chunks/{instruction-discovery-rcf7gz4p.js → schema-2qfec9vm.js} +15 -15
  33. package/dist/chunks/{instruction-discovery-jj2cz9da.js → schema-2vxy01ew.js} +9 -9
  34. package/dist/chunks/{instruction-discovery-h2d9aakw.js → schema-32ygzjnf.js} +10 -10
  35. package/dist/chunks/{instruction-discovery-vcfhc88h.js → schema-34jh91rq.js} +3 -3
  36. package/dist/chunks/{instruction-discovery-gg3hnhsj.js → schema-3556dn8t.js} +1 -1
  37. package/dist/chunks/{instruction-discovery-43sv4aqe.js → schema-37y8hjd0.js} +9 -9
  38. package/dist/chunks/{instruction-discovery-g96gh810.js → schema-3d5p9naq.js} +16 -16
  39. package/dist/chunks/{instruction-discovery-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{instruction-discovery-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{instruction-discovery-fqk9fphv.js → schema-3m8k6a97.js} +39 -39
  42. package/dist/chunks/{instruction-discovery-dkzq4e42.js → schema-3r8mb62a.js} +22 -22
  43. package/dist/chunks/{instruction-discovery-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{instruction-discovery-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{instruction-discovery-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{instruction-discovery-0kzn65ts.js → schema-4c27qttd.js} +11 -11
  47. package/dist/chunks/{instruction-discovery-cpj0znwe.js → schema-4dgbcxzg.js} +4 -4
  48. package/dist/chunks/schema-4nsycqaw.js +507 -0
  49. package/dist/chunks/{instruction-discovery-rask17kc.js → schema-4py3js73.js} +9 -9
  50. package/dist/chunks/{instruction-discovery-q3q4fawj.js → schema-4sn99hha.js} +7 -7
  51. package/dist/chunks/{instruction-discovery-3rpjb0m5.js → schema-4vcqcfh5.js} +3 -3
  52. package/dist/chunks/{instruction-discovery-895w93kx.js → schema-4y0jsvk1.js} +20 -20
  53. package/dist/chunks/{instruction-discovery-a81kfqvn.js → schema-4z58m4b4.js} +4 -4
  54. package/dist/chunks/{instruction-discovery-2xt5mgkb.js → schema-53fn2v7c.js} +21 -21
  55. package/dist/chunks/schema-54ma36ye.js +13 -0
  56. package/dist/chunks/{instruction-discovery-5daktx2q.js → schema-5daktx2q.js} +1 -1
  57. package/dist/chunks/{instruction-discovery-3p7veh30.js → schema-5q0dqpvd.js} +21 -21
  58. package/dist/chunks/{instruction-discovery-a00r67f6.js → schema-5szbf8m3.js} +22 -22
  59. package/dist/chunks/{instruction-discovery-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{instruction-discovery-6cqrwtgh.js → schema-5z9p70xw.js} +23 -23
  61. package/dist/chunks/{instruction-discovery-669tq793.js → schema-669tq793.js} +1 -1
  62. package/dist/chunks/{instruction-discovery-2v08avye.js → schema-6cknckpe.js} +51 -51
  63. package/dist/chunks/{instruction-discovery-j17xhp8k.js → schema-6kmx0kce.js} +8 -8
  64. package/dist/chunks/{instruction-discovery-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
  65. package/dist/chunks/{instruction-discovery-djktq2qc.js → schema-6q1fpb12.js} +15 -15
  66. package/dist/chunks/{instruction-discovery-h6310vsd.js → schema-6t4hr8r6.js} +4 -4
  67. package/dist/chunks/{instruction-discovery-xbqt463g.js → schema-6xvpa3dg.js} +22 -22
  68. package/dist/chunks/{instruction-discovery-595j6h3z.js → schema-6yfh064v.js} +5 -5
  69. package/dist/chunks/{instruction-discovery-cytmn42c.js → schema-72b9nwr9.js} +12 -12
  70. package/dist/chunks/{instruction-discovery-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{instruction-discovery-tmezhr7e.js → schema-7bshkk6c.js} +7 -7
  72. package/dist/chunks/schema-7ggrqnkf.js +252 -0
  73. package/dist/chunks/{instruction-discovery-6vhktk4v.js → schema-7h24643z.js} +4 -4
  74. package/dist/chunks/{instruction-discovery-yx62cr6m.js → schema-7kaezs2e.js} +11 -11
  75. package/dist/chunks/{instruction-discovery-70gtrbvz.js → schema-7mrx23rq.js} +4 -4
  76. package/dist/chunks/{instruction-discovery-7j2qha59.js → schema-7s2tn799.js} +8 -8
  77. package/dist/chunks/{instruction-discovery-z5ntc05q.js → schema-7w99qc9d.js} +3 -3
  78. package/dist/chunks/{instruction-discovery-v0534hbg.js → schema-7x2w03m2.js} +32 -32
  79. package/dist/chunks/{instruction-discovery-xnbjqws6.js → schema-7xsd729g.js} +6 -6
  80. package/dist/chunks/{instruction-discovery-w1eejvng.js → schema-84txncab.js} +5 -5
  81. package/dist/chunks/{instruction-discovery-5e10wf8f.js → schema-84zcxbc9.js} +5 -5
  82. package/dist/chunks/{instruction-discovery-ab9238g2.js → schema-89e39zcy.js} +6 -6
  83. package/dist/chunks/{instruction-discovery-je1ehb5s.js → schema-89yhyecc.js} +15 -15
  84. package/dist/chunks/{instruction-discovery-tcezcvh9.js → schema-89znhe33.js} +4 -4
  85. package/dist/chunks/{instruction-discovery-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{instruction-discovery-dhzgzdmj.js → schema-8dt2nhtf.js} +27 -27
  87. package/dist/chunks/{instruction-discovery-ashvnr8e.js → schema-8p8sbe40.js} +2 -2
  88. package/dist/chunks/{instruction-discovery-vyfbn2ge.js → schema-8phqmggh.js} +8 -8
  89. package/dist/chunks/{instruction-discovery-8ppxfrtw.js → schema-8s4fd4h0.js} +20 -20
  90. package/dist/chunks/{instruction-discovery-6pc27hjz.js → schema-8sze2n9a.js} +2 -2
  91. package/dist/chunks/{instruction-discovery-xvp1j2dc.js → schema-8zh4h089.js} +5 -5
  92. package/dist/chunks/{instruction-discovery-46j82pgy.js → schema-92qe48v5.js} +9 -9
  93. package/dist/chunks/{instruction-discovery-94ek1h2f.js → schema-94ek1h2f.js} +2 -2
  94. package/dist/chunks/{instruction-discovery-e5jqtwc8.js → schema-9sp4j3g7.js} +11 -11
  95. package/dist/chunks/{instruction-discovery-s4frkg89.js → schema-9wcc5pj1.js} +22 -22
  96. package/dist/chunks/{instruction-discovery-nfk828h3.js → schema-9xq4rgak.js} +4 -4
  97. package/dist/chunks/{instruction-discovery-aaet6srn.js → schema-aaet6srn.js} +2 -2
  98. package/dist/chunks/{instruction-discovery-yja9z5zb.js → schema-abbdd1c6.js} +5 -5
  99. package/dist/chunks/{instruction-discovery-n3cgjj67.js → schema-af49n079.js} +8 -8
  100. package/dist/chunks/{instruction-discovery-53y6m0t7.js → schema-aqkyva7e.js} +35 -35
  101. package/dist/chunks/{instruction-discovery-e5x0150z.js → schema-b24dgscy.js} +12 -12
  102. package/dist/chunks/{instruction-discovery-v5dkyp31.js → schema-b27vhd2z.js} +4 -4
  103. package/dist/chunks/{instruction-discovery-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  104. package/dist/chunks/{instruction-discovery-zzct4swk.js → schema-b7ze0h6m.js} +11 -11
  105. package/dist/chunks/{instruction-discovery-tzct1v5g.js → schema-b9marwrz.js} +5 -5
  106. package/dist/chunks/{instruction-discovery-fkg6hj3y.js → schema-bb6qd770.js} +60 -60
  107. package/dist/chunks/{instruction-discovery-rweyf2z5.js → schema-bbgyx2ca.js} +25 -25
  108. package/dist/chunks/{instruction-discovery-e5bvbpgf.js → schema-bsthxcff.js} +15 -15
  109. package/dist/chunks/{instruction-discovery-9ce6tkzz.js → schema-c2ystsw5.js} +11 -11
  110. package/dist/chunks/{instruction-discovery-pt6k735w.js → schema-c3yncfhe.js} +18 -18
  111. package/dist/chunks/{instruction-discovery-6rcz3ycw.js → schema-c6qrx7z0.js} +25 -26
  112. package/dist/chunks/{instruction-discovery-6qs14qev.js → schema-c9c9gefm.js} +93 -93
  113. package/dist/chunks/{instruction-discovery-vkwyc6cx.js → schema-ccqrgpfr.js} +28 -28
  114. package/dist/chunks/{instruction-discovery-863rh99d.js → schema-cd1ha9xt.js} +12 -12
  115. package/dist/chunks/{instruction-discovery-ckecvw8r.js → schema-ckecvw8r.js} +2 -2
  116. package/dist/chunks/{instruction-discovery-j817qy9h.js → schema-ckz290np.js} +8 -8
  117. package/dist/chunks/{instruction-discovery-mjtjsyjj.js → schema-cr5r5t3v.js} +5 -5
  118. package/dist/chunks/{instruction-discovery-mdkfxwd5.js → schema-ctf78ks7.js} +32 -29
  119. package/dist/chunks/{instruction-discovery-cfqj2t13.js → schema-d20e8vw1.js} +12 -12
  120. package/dist/chunks/{instruction-discovery-xmfjrgmy.js → schema-d81r50pr.js} +11 -11
  121. package/dist/chunks/{instruction-discovery-bsqx64w4.js → schema-d9sgy5v4.js} +4 -4
  122. package/dist/chunks/{instruction-discovery-84trvwea.js → schema-dc6xss86.js} +23 -23
  123. package/dist/chunks/{instruction-discovery-5n469ean.js → schema-dh89yxex.js} +25 -25
  124. package/dist/chunks/{instruction-discovery-dmqcgk4z.js → schema-dmqcgk4z.js} +2 -2
  125. package/dist/chunks/{instruction-discovery-sbpfgvw3.js → schema-dq6warjh.js} +32 -32
  126. package/dist/chunks/{instruction-discovery-dj9sq318.js → schema-dqmwfghx.js} +5 -5
  127. package/dist/chunks/{instruction-discovery-c8wg0b7m.js → schema-dya6s92k.js} +18 -18
  128. package/dist/chunks/{instruction-discovery-5qd3pb7m.js → schema-e3qxr5gk.js} +2 -2
  129. package/dist/chunks/{instruction-discovery-1wg8se0x.js → schema-e5x26qyz.js} +4 -4
  130. package/dist/chunks/{instruction-discovery-8mxhwd9p.js → schema-eap6v6ka.js} +37 -34
  131. package/dist/chunks/{instruction-discovery-ecfe7b91.js → schema-ecfe7b91.js} +2 -2
  132. package/dist/chunks/{instruction-discovery-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{instruction-discovery-17razrp5.js → schema-ehpxdd9r.js} +35 -35
  134. package/dist/chunks/{instruction-discovery-za6yq9hg.js → schema-engkm2d6.js} +5 -5
  135. package/dist/chunks/{instruction-discovery-s62vt9wz.js → schema-erdgy6bb.js} +29 -29
  136. package/dist/chunks/{instruction-discovery-tjedn1bk.js → schema-ermxvwhp.js} +4 -4
  137. package/dist/chunks/{instruction-discovery-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{instruction-discovery-av73v616.js → schema-ey8a4wge.js} +8 -8
  139. package/dist/chunks/{instruction-discovery-d3eanfb0.js → schema-f1dxnh8x.js} +45 -45
  140. package/dist/chunks/{instruction-discovery-537d2h8y.js → schema-f4ktwvph.js} +17 -17
  141. package/dist/chunks/{instruction-discovery-817gm3bf.js → schema-fb08v964.js} +18 -18
  142. package/dist/chunks/{instruction-discovery-591s59y8.js → schema-fdhjyf6e.js} +26 -20
  143. package/dist/chunks/{instruction-discovery-e1rt1ry9.js → schema-feegf67a.js} +32 -32
  144. package/dist/chunks/{instruction-discovery-2kvq420b.js → schema-fgdrjr7g.js} +37 -37
  145. package/dist/chunks/{instruction-discovery-hj0fmptj.js → schema-fgdzjjn8.js} +10 -10
  146. package/dist/chunks/{instruction-discovery-6n4dhht5.js → schema-fma9b9zx.js} +48 -48
  147. package/dist/chunks/{instruction-discovery-xt3nzz9d.js → schema-fn5s1xt4.js} +5 -5
  148. package/dist/chunks/{instruction-discovery-7sf65sz4.js → schema-fwzh61wc.js} +6 -6
  149. package/dist/chunks/{instruction-discovery-s2k53bmx.js → schema-fzhk56mq.js} +24 -24
  150. package/dist/chunks/{instruction-discovery-trjjaw7x.js → schema-fzxn0rpd.js} +15 -15
  151. package/dist/chunks/schema-g6zjmjz7.js +65 -0
  152. package/dist/chunks/{instruction-discovery-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{instruction-discovery-9v1ppqd2.js → schema-gjyhvyzk.js} +11 -11
  154. package/dist/chunks/{instruction-discovery-j3vzqyes.js → schema-gr5dc40r.js} +14 -14
  155. package/dist/chunks/{instruction-discovery-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
  156. package/dist/chunks/{instruction-discovery-qz9hsrda.js → schema-gznm14y3.js} +34 -34
  157. package/dist/chunks/{instruction-discovery-4bt591nm.js → schema-h1nersjm.js} +31 -31
  158. package/dist/chunks/{instruction-discovery-w34c8dxf.js → schema-h57gm808.js} +15 -15
  159. package/dist/chunks/{instruction-discovery-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{instruction-discovery-0hf9g8pg.js → schema-hdab2k61.js} +6 -6
  161. package/dist/chunks/{instruction-discovery-2y34zzjz.js → schema-hdzt82x2.js} +4 -4
  162. package/dist/chunks/{instruction-discovery-r7hsk55y.js → schema-hefng7ga.js} +9 -9
  163. package/dist/chunks/{instruction-discovery-83c1zak0.js → schema-hh8v5qpg.js} +28 -28
  164. package/dist/chunks/{instruction-discovery-2qym09dt.js → schema-hm7qa9sr.js} +41 -41
  165. package/dist/chunks/{instruction-discovery-6g9h627f.js → schema-hs5b19ez.js} +23 -23
  166. package/dist/chunks/{instruction-discovery-8kg848v7.js → schema-hspndzgs.js} +8 -8
  167. package/dist/chunks/{instruction-discovery-gprqxqyp.js → schema-htk8gamf.js} +13 -13
  168. package/dist/chunks/{instruction-discovery-apyhsggy.js → schema-hx3vx9sm.js} +1 -1
  169. package/dist/chunks/{instruction-discovery-j56e64zr.js → schema-j56e64zr.js} +1 -1
  170. package/dist/chunks/{instruction-discovery-xxf3qkd3.js → schema-j575tj3n.js} +89 -89
  171. package/dist/chunks/{instruction-discovery-90t6c8wy.js → schema-j6de23b5.js} +17 -17
  172. package/dist/chunks/{instruction-discovery-wqpxpbjy.js → schema-j7wxbxne.js} +11 -11
  173. package/dist/chunks/{instruction-discovery-yf10kn3d.js → schema-k1qrnqst.js} +8 -8
  174. package/dist/chunks/{instruction-discovery-2zx654xv.js → schema-k1xs71rw.js} +31 -31
  175. package/dist/chunks/{instruction-discovery-k3c624dm.js → schema-k3c624dm.js} +3 -3
  176. package/dist/chunks/{instruction-discovery-6yrwvege.js → schema-kadj03x1.js} +12 -12
  177. package/dist/chunks/{instruction-discovery-kvfg1y8a.js → schema-kaqvhan9.js} +57 -57
  178. package/dist/chunks/{instruction-discovery-sddzfvn4.js → schema-kg3nfyrf.js} +8 -8
  179. package/dist/chunks/{instruction-discovery-35edcz9a.js → schema-kwp4z5r0.js} +15 -15
  180. package/dist/chunks/{instruction-discovery-8x6s24qq.js → schema-kykxfaeb.js} +14 -14
  181. package/dist/chunks/{instruction-discovery-qg5st3y5.js → schema-m1v72ch8.js} +21 -21
  182. package/dist/chunks/{instruction-discovery-2fnzb52j.js → schema-m36xmz2a.js} +27 -27
  183. package/dist/chunks/{instruction-discovery-yx96p73j.js → schema-m3aacv1r.js} +11 -11
  184. package/dist/chunks/{instruction-discovery-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{instruction-discovery-05dd0hqh.js → schema-m8psntbj.js} +31 -31
  186. package/dist/chunks/{instruction-discovery-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{instruction-discovery-z88c1cht.js → schema-mdhbd56y.js} +7 -7
  188. package/dist/chunks/{instruction-discovery-1ygqh575.js → schema-mfqp6xfm.js} +6 -6
  189. package/dist/chunks/{instruction-discovery-mhkvc446.js → schema-mhkvc446.js} +1 -1
  190. package/dist/chunks/{instruction-discovery-w4cn5rjk.js → schema-mwjz0nk2.js} +13 -13
  191. package/dist/chunks/{instruction-discovery-41fyejek.js → schema-mx6ypyf3.js} +13 -13
  192. package/dist/chunks/{instruction-discovery-kdvzk119.js → schema-n1ka8r9d.js} +4 -4
  193. package/dist/chunks/{instruction-discovery-xqgw658g.js → schema-n4mhh8dh.js} +27 -27
  194. package/dist/chunks/{instruction-discovery-rs5ja1ks.js → schema-ncfrwhmr.js} +75 -75
  195. package/dist/chunks/{instruction-discovery-ggwd74jc.js → schema-nng2ktcm.js} +2 -2
  196. package/dist/chunks/{instruction-discovery-jvf906gc.js → schema-p1xcnqpd.js} +8 -8
  197. package/dist/chunks/{instruction-discovery-7k0nb5a1.js → schema-p7jp4nkc.js} +5 -5
  198. package/dist/chunks/{instruction-discovery-s4f9hgft.js → schema-p810a5w3.js} +15 -15
  199. package/dist/chunks/{instruction-discovery-53qm6swg.js → schema-p97jtcyh.js} +24 -24
  200. package/dist/chunks/{instruction-discovery-pnvk1zxf.js → schema-phpw85vv.js} +4 -4
  201. package/dist/chunks/{instruction-discovery-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{instruction-discovery-pknna89w.js → schema-pknna89w.js} +1 -1
  203. package/dist/chunks/{instruction-discovery-hn28mh03.js → schema-pr2shm86.js} +36 -36
  204. package/dist/chunks/{instruction-discovery-zpjshyj8.js → schema-pstmv2d8.js} +11 -11
  205. package/dist/chunks/{instruction-discovery-wym4yngj.js → schema-ptstaxe9.js} +6 -6
  206. package/dist/chunks/{instruction-discovery-t909565e.js → schema-ptt6m9gv.js} +3 -3
  207. package/dist/chunks/{instruction-discovery-2336b01z.js → schema-q6d53jre.js} +8 -8
  208. package/dist/chunks/{instruction-discovery-jj6m7t8m.js → schema-q7d6akyq.js} +24 -24
  209. package/dist/chunks/{instruction-discovery-pper4dcb.js → schema-q8wjb94d.js} +38 -38
  210. package/dist/chunks/{instruction-discovery-yw8t9dwe.js → schema-qby9dwvd.js} +8 -8
  211. package/dist/chunks/{instruction-discovery-fhs97t90.js → schema-qg0jgkcp.js} +9 -9
  212. package/dist/chunks/{instruction-discovery-qmqgtz8f.js → schema-qmqgtz8f.js} +2 -2
  213. package/dist/chunks/{instruction-discovery-5qe4ms5y.js → schema-qnyr447v.js} +33 -33
  214. package/dist/chunks/{instruction-discovery-h2r7bbkd.js → schema-qs001aqx.js} +11 -11
  215. package/dist/chunks/{instruction-discovery-qsdy395h.js → schema-qsdy395h.js} +1 -1
  216. package/dist/chunks/{instruction-discovery-jv01nqvq.js → schema-qte5z7bc.js} +5 -5
  217. package/dist/chunks/{instruction-discovery-fw1dm0ew.js → schema-qtgetkc5.js} +11 -11
  218. package/dist/chunks/{instruction-discovery-2ngyvhah.js → schema-qvs3yrx0.js} +29 -29
  219. package/dist/chunks/{instruction-discovery-cyxgkn8e.js → schema-qxs49gs0.js} +22 -22
  220. package/dist/chunks/{instruction-discovery-1h7vkbsh.js → schema-qze8mdqk.js} +13 -13
  221. package/dist/chunks/{instruction-discovery-c4tcxkt3.js → schema-r5398wsk.js} +10 -10
  222. package/dist/chunks/{instruction-discovery-04tp0yna.js → schema-r79r0pmw.js} +18 -18
  223. package/dist/chunks/schema-rap9a73h.js +18 -0
  224. package/dist/chunks/{instruction-discovery-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{instruction-discovery-76ymgwed.js → schema-rpjgfq5s.js} +9 -9
  226. package/dist/chunks/{instruction-discovery-0p5r855a.js → schema-rz3d44tq.js} +47 -47
  227. package/dist/chunks/{instruction-discovery-yrznvahk.js → schema-s4enseaf.js} +2 -2
  228. package/dist/chunks/{instruction-discovery-vybhs2ww.js → schema-s532705d.js} +9 -9
  229. package/dist/chunks/{instruction-discovery-664gwng4.js → schema-s5cvb66r.js} +20 -20
  230. package/dist/chunks/{instruction-discovery-mq1rpz34.js → schema-scw85daj.js} +13 -13
  231. package/dist/chunks/{instruction-discovery-qzs5w1kq.js → schema-sgj69q70.js} +10 -10
  232. package/dist/chunks/{instruction-discovery-g73rfvt8.js → schema-szt33nzv.js} +26 -26
  233. package/dist/chunks/{instruction-discovery-dbrspz9p.js → schema-t1vq5jda.js} +178 -178
  234. package/dist/chunks/{instruction-discovery-0cg4n3gd.js → schema-t1zhpzyh.js} +23 -23
  235. package/dist/chunks/{instruction-discovery-gbt6w4kb.js → schema-t550f9t1.js} +6 -6
  236. package/dist/chunks/{instruction-discovery-a2knq7mb.js → schema-t89k7t2n.js} +3 -3
  237. package/dist/chunks/{instruction-discovery-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  238. package/dist/chunks/schema-tbcx5g6b.js +26 -0
  239. package/dist/chunks/{instruction-discovery-tdstcens.js → schema-tdstcens.js} +1 -1
  240. package/dist/chunks/{instruction-discovery-7c1hha0p.js → schema-tffeed3q.js} +12 -12
  241. package/dist/chunks/{instruction-discovery-p37cw4rj.js → schema-tpw6cwsb.js} +8 -8
  242. package/dist/chunks/{instruction-discovery-tvtrv512.js → schema-tvtrv512.js} +1 -1
  243. package/dist/chunks/{instruction-discovery-jazqgan2.js → schema-tvzckvfh.js} +19 -19
  244. package/dist/chunks/{instruction-discovery-1gnz4btn.js → schema-v1z5k6ya.js} +41 -41
  245. package/dist/chunks/{instruction-discovery-eqggwkkj.js → schema-v4khfddp.js} +24 -24
  246. package/dist/chunks/{instruction-discovery-veqvce7d.js → schema-veqvce7d.js} +1 -1
  247. package/dist/chunks/{instruction-discovery-rjatp68y.js → schema-vfb18kab.js} +15 -15
  248. package/dist/chunks/{instruction-discovery-kb3k4m85.js → schema-vhe05b2j.js} +18 -18
  249. package/dist/chunks/{instruction-discovery-bm55brr3.js → schema-vm9szz2v.js} +43 -43
  250. package/dist/chunks/{instruction-discovery-9ze7f770.js → schema-vnq9hngb.js} +31 -31
  251. package/dist/chunks/{instruction-discovery-p7xmn451.js → schema-vvyaap0j.js} +1 -1
  252. package/dist/chunks/{instruction-discovery-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{instruction-discovery-0fs6c5ns.js → schema-vzrrchan.js} +17 -17
  254. package/dist/chunks/{instruction-discovery-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{instruction-discovery-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{instruction-discovery-mfrn2wd3.js → schema-w3xe5wx0.js} +32 -32
  257. package/dist/chunks/{instruction-discovery-wd3x2cqz.js → schema-wd3x2cqz.js} +2 -2
  258. package/dist/chunks/{instruction-discovery-wd87259q.js → schema-wd87259q.js} +1 -1
  259. package/dist/chunks/{instruction-discovery-s9z9hht1.js → schema-wfnwj6ew.js} +16 -16
  260. package/dist/chunks/{instruction-discovery-0jq9fyba.js → schema-wk5z6jzv.js} +9 -9
  261. package/dist/chunks/{instruction-discovery-23354q28.js → schema-wk7amq94.js} +26 -26
  262. package/dist/chunks/{instruction-discovery-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{instruction-discovery-gy42h51d.js → schema-x5rm1qcs.js} +9 -9
  264. package/dist/chunks/{instruction-discovery-c80srvkw.js → schema-x9685y9e.js} +43 -43
  265. package/dist/chunks/{instruction-discovery-02hh4n40.js → schema-x9cd31tj.js} +6 -6
  266. package/dist/chunks/{instruction-discovery-d65zzxh9.js → schema-xdjq0qq8.js} +9 -9
  267. package/dist/chunks/{instruction-discovery-jw80jp6b.js → schema-xdk9p2qn.js} +21 -21
  268. package/dist/chunks/{instruction-discovery-drwq78ky.js → schema-xfkkasph.js} +4 -4
  269. package/dist/chunks/{instruction-discovery-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{instruction-discovery-x3r0xrsa.js → schema-y3hxgm3d.js} +15 -15
  271. package/dist/chunks/{instruction-discovery-73n7g0g0.js → schema-y6b4mn53.js} +23 -23
  272. package/dist/chunks/{instruction-discovery-y71avatq.js → schema-y71avatq.js} +1 -1
  273. package/dist/chunks/{instruction-discovery-jx4220gq.js → schema-y7dmryf8.js} +17 -17
  274. package/dist/chunks/{instruction-discovery-kjxkqgqq.js → schema-y99khw21.js} +3 -3
  275. package/dist/chunks/{instruction-discovery-r8y742f5.js → schema-yh9brxq5.js} +10 -10
  276. package/dist/chunks/{instruction-discovery-zdy9tpyw.js → schema-yhka94gb.js} +28 -28
  277. package/dist/chunks/{instruction-discovery-a46t4z4t.js → schema-ykkt2z7t.js} +19 -19
  278. package/dist/chunks/{instruction-discovery-0121bcaw.js → schema-ymfmgbr6.js} +10 -10
  279. package/dist/chunks/{instruction-discovery-ynys59px.js → schema-yntqjfz5.js} +16 -16
  280. package/dist/chunks/{instruction-discovery-1acjjqhc.js → schema-yp2x3t23.js} +4 -4
  281. package/dist/chunks/{instruction-discovery-0qmc57sd.js → schema-yr2s5jbd.js} +11 -11
  282. package/dist/chunks/{instruction-discovery-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{instruction-discovery-7gvwkz6m.js → schema-yt0fqk68.js} +5 -5
  284. package/dist/chunks/{instruction-discovery-z07pqspn.js → schema-z07pqspn.js} +3 -3
  285. package/dist/chunks/{instruction-discovery-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{instruction-discovery-nejch2yn.js → schema-za86s8b3.js} +9 -9
  287. package/dist/chunks/{instruction-discovery-baaqp4zd.js → schema-zav06jzw.js} +4 -4
  288. package/dist/chunks/{instruction-discovery-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{instruction-discovery-sa7x69qd.js → schema-zfzv19x2.js} +35 -35
  290. package/dist/chunks/{instruction-discovery-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{instruction-discovery-7pb776yk.js → schema-zrmtt4x8.js} +3 -3
  292. package/dist/chunks/{instruction-discovery-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +5 -5
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +81 -81
  298. package/dist/config/discovery.js +84 -84
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +215 -214
  303. package/dist/config/plugin/compaction.js +161 -160
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +126 -126
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +371 -370
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +2 -2
  426. package/dist/filesystem/location-watcher.js +228 -227
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +108 -108
  432. package/dist/form.js +80 -80
  433. package/dist/formatter/builtins.js +2 -2
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -361
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -358
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +102 -102
  477. package/dist/mcp/instructions.js +128 -128
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +102 -102
  484. package/dist/models-dev.js +103 -103
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +115 -115
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +86 -86
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +101 -101
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -218
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +334 -333
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -121
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +95 -94
  519. package/dist/plugin/provider/gitlab.js +93 -93
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +77 -77
  523. package/dist/plugin/provider/lmstudio.js +122 -122
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +122 -122
  527. package/dist/plugin/provider/openai.js +93 -92
  528. package/dist/plugin/provider/opencode.js +95 -95
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +78 -78
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +162 -161
  542. package/dist/plugin/sdk.js +76 -76
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +141 -141
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +353 -352
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/verbosity.js +93 -93
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +226 -225
  561. package/dist/project/schema.js +6 -6
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +88 -88
  564. package/dist/provider.js +101 -101
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +89 -89
  568. package/dist/reference/instructions.js +87 -87
  569. package/dist/reference.js +89 -89
  570. package/dist/repository-cache.js +81 -81
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +97 -97
  574. package/dist/rpc.js +86 -86
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +8 -0
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +133 -132
  579. package/dist/session/context.js +153 -152
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +7 -7
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +225 -224
  585. package/dist/session/execution.js +126 -126
  586. package/dist/session/generate.js +154 -153
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +90 -90
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +77 -77
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +93 -93
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +118 -117
  596. package/dist/session/model-transport.js +7 -7
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +232 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +4 -4
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +172 -172
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +209 -208
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +157 -156
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +221 -220
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +219 -218
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +13 -13
  630. package/dist/shell.js +140 -140
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +107 -107
  633. package/dist/skill.js +106 -106
  634. package/dist/snapshot.js +91 -91
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +125 -125
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +118 -118
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +116 -116
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +103 -103
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +216 -215
  649. package/dist/tool/plugin/skill.js +111 -111
  650. package/dist/tool/plugin/subagent.js +220 -219
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +112 -112
  654. package/dist/tool/read-filesystem.js +96 -96
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +14 -14
  658. package/dist/types/instructions/builtins.d.ts +1 -2
  659. package/dist/types/session/affinity.d.ts +4 -0
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +3 -3
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +1 -1
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +84 -84
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +79 -79
  692. package/dist/workspace/driver.js +3 -3
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +76 -76
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +10 -10
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +96 -96
  700. package/package.json +8 -8
  701. package/dist/chunks/instruction-discovery-726w9f8r.js +0 -26
  702. package/dist/chunks/instruction-discovery-ce6f651r.js +0 -252
  703. package/dist/chunks/instruction-discovery-ezddc45f.js +0 -507
  704. package/dist/chunks/instruction-discovery-pf31ssb9.js +0 -18
  705. package/dist/chunks/instruction-discovery-tee9eybj.js +0 -63
  706. /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  707. /package/dist/chunks/{instruction-discovery-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  708. /package/dist/chunks/{instruction-discovery-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  709. /package/dist/chunks/{instruction-discovery-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  710. /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  711. /package/dist/chunks/{instruction-discovery-24dcb14g.js → schema-24dcb14g.js} +0 -0
  712. /package/dist/chunks/{instruction-discovery-2710q6r3.js → schema-2710q6r3.js} +0 -0
  713. /package/dist/chunks/{instruction-discovery-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  714. /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  715. /package/dist/chunks/{instruction-discovery-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
  716. /package/dist/chunks/{instruction-discovery-359p4xyc.js → schema-359p4xyc.js} +0 -0
  717. /package/dist/chunks/{instruction-discovery-3asan66x.js → schema-3asan66x.js} +0 -0
  718. /package/dist/chunks/{instruction-discovery-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  719. /package/dist/chunks/{instruction-discovery-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
  720. /package/dist/chunks/{instruction-discovery-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{instruction-discovery-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{instruction-discovery-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{instruction-discovery-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  724. /package/dist/chunks/{instruction-discovery-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  725. /package/dist/chunks/{instruction-discovery-53557ph1.js → schema-53557ph1.js} +0 -0
  726. /package/dist/chunks/{instruction-discovery-550bvhaj.js → schema-550bvhaj.js} +0 -0
  727. /package/dist/chunks/{instruction-discovery-6prwharc.js → schema-6prwharc.js} +0 -0
  728. /package/dist/chunks/{instruction-discovery-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{instruction-discovery-7m9af43g.js → schema-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{instruction-discovery-822emrt2.js → schema-822emrt2.js} +0 -0
  731. /package/dist/chunks/{instruction-discovery-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{instruction-discovery-8n3pysct.js → schema-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{instruction-discovery-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{instruction-discovery-922hggd3.js → schema-922hggd3.js} +0 -0
  735. /package/dist/chunks/{instruction-discovery-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{instruction-discovery-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{instruction-discovery-af5trqkr.js → schema-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{instruction-discovery-afrmfg78.js → schema-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{instruction-discovery-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{instruction-discovery-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{instruction-discovery-d9fn303g.js → schema-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{instruction-discovery-dajrwvna.js → schema-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{instruction-discovery-dap0rakb.js → schema-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{instruction-discovery-df08tz66.js → schema-df08tz66.js} +0 -0
  751. /package/dist/chunks/{instruction-discovery-dy18nga0.js → schema-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{instruction-discovery-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{instruction-discovery-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{instruction-discovery-ec1grn59.js → schema-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{instruction-discovery-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{instruction-discovery-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{instruction-discovery-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{instruction-discovery-faypxj3z.js → schema-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{instruction-discovery-fd410y7t.js → schema-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{instruction-discovery-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{instruction-discovery-g86h250q.js → schema-g86h250q.js} +0 -0
  764. /package/dist/chunks/{instruction-discovery-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{instruction-discovery-gftt206x.js → schema-gftt206x.js} +0 -0
  766. /package/dist/chunks/{instruction-discovery-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{instruction-discovery-hk9envan.js → schema-hk9envan.js} +0 -0
  768. /package/dist/chunks/{instruction-discovery-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{instruction-discovery-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{instruction-discovery-mp448xyj.js → schema-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{instruction-discovery-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{instruction-discovery-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{instruction-discovery-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{instruction-discovery-njntx4h6.js → schema-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{instruction-discovery-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{instruction-discovery-q74kybfr.js → schema-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{instruction-discovery-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{instruction-discovery-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{instruction-discovery-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{instruction-discovery-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{instruction-discovery-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{instruction-discovery-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{instruction-discovery-w803qqfp.js → schema-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{instruction-discovery-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{instruction-discovery-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{instruction-discovery-wtztk69x.js → schema-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{instruction-discovery-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{instruction-discovery-x61499pn.js → schema-x61499pn.js} +0 -0
  796. /package/dist/chunks/{instruction-discovery-y44na4kk.js → schema-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{instruction-discovery-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{instruction-discovery-y8f7s663.js → schema-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{instruction-discovery-ym463w8f.js → schema-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{instruction-discovery-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service80,
3
- node83
4
- } from "./instruction-discovery-j3vzqyes.js";
2
+ Service83,
3
+ node87
4
+ } from "./schema-gr5dc40r.js";
5
5
  import {
6
6
  __export
7
- } from "./instruction-discovery-9rqn6x4v.js";
7
+ } from "./schema-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,7 +12,7 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event20,
15
+ Event: () => Event17,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
@@ -20,20 +20,20 @@ __export(exports_form, {
20
20
  Info: () => Info29,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError10,
23
+ NotFoundError: () => NotFoundError9,
24
24
  Reply: () => Reply3,
25
- Service: () => Service75,
25
+ Service: () => Service70,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer25,
29
- node: () => node78,
28
+ layer: () => layer24,
29
+ node: () => node73,
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 Event20 } from "@opencode/schema/form";
36
+ import { Event as Event17 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
38
  var ID14 = Form.ID;
39
39
  var Info29 = Form.Info;
@@ -44,7 +44,7 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
47
+ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
48
48
  id: ID14
49
49
  }) {
50
50
  get message() {
@@ -79,16 +79,16 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service75 extends Context.Service()("@opencode/Form") {
82
+ class Service70 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service75, Effect.gen(function* () {
85
- const bus = yield* Service80;
84
+ var layer24 = Layer.effect(Service70, Effect.gen(function* () {
85
+ const bus = yield* Service83;
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 NotFoundError10({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
93
  const id = input.id ?? ID14.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service75, Effect.gen(function* () {
159
159
  closed = true;
160
160
  }).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 })));
161
161
  yield* Effect.addFinalizer(() => close);
162
- return Service75.of({ create, ask, get, list, state, reply, cancel, close });
162
+ return Service70.of({ create, ask, get, list, state, reply, cancel, close });
163
163
  }));
164
- var node78 = makeLocationNode({ service: Service75, layer: layer25, deps: [node83] });
164
+ var node73 = makeLocationNode({ service: Service70, layer: layer24, deps: [node87] });
165
165
  function validateAnswer2(form, answer) {
166
166
  const fields = new Map(form.map((field) => [field.key, field]));
167
167
  for (const key of Object.keys(answer)) {
@@ -313,4 +313,4 @@ function isDateTime(value) {
313
313
  return !Number.isNaN(new Date(value).getTime());
314
314
  }
315
315
 
316
- export { ID14, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service75, layer25, node78, validateAnswer2, validateFields2, exports_form, Event20 };
316
+ export { ID14, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service70, layer24, node73, validateAnswer2, validateFields2, exports_form, Event17 };
@@ -1,9 +1,9 @@
1
1
  // src/filesystem/watcher-binding.ts
2
2
  import { createRequire } from "node:module";
3
- function load4() {
3
+ function load5() {
4
4
  const require2 = createRequire(import.meta.url);
5
5
  const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
6
6
  return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
7
7
  }
8
8
 
9
- export { load4 };
9
+ export { load5 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service76
3
- } from "./instruction-discovery-eqggwkkj.js";
2
+ Service78
3
+ } from "./schema-v4khfddp.js";
4
4
  import {
5
5
  __export
6
- } from "./instruction-discovery-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
19
19
  var OUTGOING_CAPACITY = 64;
20
20
  var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var make2 = Effect.fnUntraced(function* (options) {
22
- const environment = yield* Service76;
22
+ const environment = yield* Service78;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;
@@ -1,36 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./instruction-discovery-cpj0znwe.js";
3
+ } from "./schema-4dgbcxzg.js";
4
4
  import {
5
- Service80
6
- } from "./instruction-discovery-j3vzqyes.js";
5
+ Service83
6
+ } from "./schema-gr5dc40r.js";
7
7
  import {
8
8
  OAuth3,
9
- Event14
10
- } from "./instruction-discovery-5qe4ms5y.js";
9
+ Event19
10
+ } from "./schema-qnyr447v.js";
11
11
  import {
12
- ID8,
12
+ ID13,
13
13
  MethodID2
14
- } from "./instruction-discovery-v0534hbg.js";
14
+ } from "./schema-7x2w03m2.js";
15
15
  import {
16
- ID7,
16
+ ID12,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service60
20
- } from "./instruction-discovery-17razrp5.js";
19
+ Service68
20
+ } from "./schema-ehpxdd9r.js";
21
21
  import {
22
- ID6
23
- } from "./instruction-discovery-53y6m0t7.js";
22
+ ID11
23
+ } from "./schema-aqkyva7e.js";
24
24
  import {
25
25
  load3,
26
26
  derive3
27
- } from "./instruction-discovery-wqpxpbjy.js";
27
+ } from "./schema-j7wxbxne.js";
28
28
  import {
29
29
  useragent2
30
- } from "./instruction-discovery-9v1ppqd2.js";
30
+ } from "./schema-gjyhvyzk.js";
31
31
  import {
32
- ID13
33
- } from "./instruction-discovery-xqgw658g.js";
32
+ ID9
33
+ } from "./schema-n4mhh8dh.js";
34
+ import {
35
+ get5
36
+ } from "./schema-54ma36ye.js";
34
37
 
35
38
  // src/plugin/provider/github-copilot.ts
36
39
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -62,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
62
65
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
63
66
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
64
67
  var oauth = (app) => ({
65
- integrationID: ID8.make("github-copilot"),
68
+ integrationID: ID13.make("github-copilot"),
66
69
  method: {
67
70
  id: methodID,
68
71
  type: "oauth",
@@ -160,8 +163,8 @@ var oauth = (app) => ({
160
163
  var GithubCopilotPlugin2 = define({
161
164
  id: "opencode.provider.github.copilot",
162
165
  effect: Effect.fn(function* (ctx) {
163
- const providers = yield* Service60;
164
- const bus = yield* Service80;
166
+ const providers = yield* Service68;
167
+ const bus = yield* Service83;
165
168
  const loading = Semaphore.makeUnsafe(1);
166
169
  const loaded = {};
167
170
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -177,7 +180,7 @@ var GithubCopilotPlugin2 = define({
177
180
  return;
178
181
  }
179
182
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
180
- const provider = yield* providers.get(ID7.githubCopilot);
183
+ const provider = yield* providers.get(ID12.githubCopilot);
181
184
  const remote = yield* Effect.tryPromise({
182
185
  try: () => load3(url, {
183
186
  ...provider?.headers,
@@ -199,7 +202,7 @@ var GithubCopilotPlugin2 = define({
199
202
  editor.method.update(oauth(ctx.app));
200
203
  });
201
204
  yield* ctx.provider.transform((evt) => {
202
- const item = evt.get(ID7.githubCopilot);
205
+ const item = evt.get(ID12.githubCopilot);
203
206
  if (!item)
204
207
  return;
205
208
  if (loaded.models) {
@@ -219,17 +222,17 @@ var GithubCopilotPlugin2 = define({
219
222
  }
220
223
  });
221
224
  yield* ctx.model.transform((models) => {
222
- if (models.get(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
223
- models.update(ID7.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
225
+ if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
226
+ models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
224
227
  model.enabled = false;
225
228
  });
226
229
  }
227
230
  });
228
231
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
229
- yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID8.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
232
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
230
233
  yield* refresh().pipe(Effect.forkScoped);
231
234
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
232
- if (evt.model.providerID !== ID7.githubCopilot)
235
+ if (evt.model.providerID !== ID12.githubCopilot)
233
236
  return;
234
237
  if (evt.package !== "@ai-sdk/github-copilot")
235
238
  return;
@@ -238,23 +241,23 @@ var GithubCopilotPlugin2 = define({
238
241
  evt.sdk = mod.createOpenaiCompatible(evt.options);
239
242
  }));
240
243
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
241
- if (evt.model.providerID !== ID7.githubCopilot)
244
+ if (evt.model.providerID !== ID12.githubCopilot)
242
245
  return;
243
246
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
244
247
  return;
245
248
  }));
246
249
  const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
247
250
  evt.headers["X-Interaction-Type"] = interaction;
248
- evt.headers["X-Interaction-Id"] = evt.sessionID;
251
+ evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
249
252
  if (interaction !== "conversation-agent")
250
253
  evt.headers["x-initiator"] = "agent";
251
- }), { providerID: ID7.githubCopilot });
254
+ }), { providerID: ID12.githubCopilot });
252
255
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
253
- if (evt.model.providerID !== ID7.githubCopilot)
256
+ if (evt.model.providerID !== ID12.githubCopilot)
254
257
  return;
255
258
  if (!loaded.baseURL || !loaded.token || !loaded.models)
256
259
  return;
257
- const agent = yield* ctx.agent.get({ agentID: ID13.make("title") }).pipe(Effect.orElseSucceed(() => {
260
+ const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
258
261
  return;
259
262
  }));
260
263
  if (agent?.data.model)
@@ -265,9 +268,9 @@ var GithubCopilotPlugin2 = define({
265
268
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
266
269
  return;
267
270
  }));
268
- }), { providerID: ID7.githubCopilot });
271
+ }), { providerID: ID12.githubCopilot });
269
272
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
270
- if (evt.model.providerID !== ID7.githubCopilot)
273
+ if (evt.model.providerID !== ID12.githubCopilot)
271
274
  return;
272
275
  const token = evt.request.headers.get("x-api-key");
273
276
  if (!token)
@@ -275,9 +278,9 @@ var GithubCopilotPlugin2 = define({
275
278
  const text = yield* Effect.promise(() => evt.request.clone().text());
276
279
  const body = Option.getOrUndefined(decodeBody(text));
277
280
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
278
- }), { providerID: ID7.githubCopilot });
281
+ }), { providerID: ID12.githubCopilot });
279
282
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
280
- if (evt.model.providerID !== ID7.githubCopilot)
283
+ if (evt.model.providerID !== ID12.githubCopilot)
281
284
  return;
282
285
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
283
286
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./instruction-discovery-ec1grn59.js";
3
+ } from "./schema-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./instruction-discovery-tdstcens.js";
6
+ } from "./schema-tdstcens.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./instruction-discovery-qaymkmh1.js";
3
+ } from "./schema-qaymkmh1.js";
4
4
 
5
5
  // src/util/git-executable.ts
6
6
  import path from "path";
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service80,
3
- node83
4
- } from "./instruction-discovery-j3vzqyes.js";
2
+ Service83,
3
+ node87
4
+ } from "./schema-gr5dc40r.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./instruction-discovery-rdw6cm16.js";
8
+ } from "./schema-rdw6cm16.js";
9
9
  import {
10
- ID8,
11
- Service61,
12
- node64,
13
- Event13
14
- } from "./instruction-discovery-v0534hbg.js";
10
+ ID13,
11
+ Service69,
12
+ node72,
13
+ Event16
14
+ } from "./schema-7x2w03m2.js";
15
15
  import {
16
16
  key2
17
- } from "./instruction-discovery-cpj0znwe.js";
17
+ } from "./schema-4dgbcxzg.js";
18
18
  import {
19
- Service77,
20
- node80
21
- } from "./instruction-discovery-6sfywj03.js";
19
+ Service79,
20
+ node82
21
+ } from "./schema-2phhkb6s.js";
22
22
  import {
23
23
  __export
24
- } from "./instruction-discovery-9rqn6x4v.js";
24
+ } from "./schema-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -37,13 +37,13 @@ var exports_provider3 = {};
37
37
  __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
- Event: () => Event12,
41
- ID: () => ID7,
42
- Info: () => Info21,
40
+ Event: () => Event15,
41
+ ID: () => ID12,
42
+ Info: () => Info26,
43
43
  LoadError: () => LoadError3,
44
44
  Provider: () => exports_provider3,
45
- Request: () => Request2,
46
- Service: () => Service60,
45
+ Request: () => Request3,
46
+ Service: () => Service68,
47
47
  Settings: () => Settings2,
48
48
  Transport: () => Transport2,
49
49
  aisdk: () => aisdk2,
@@ -53,7 +53,7 @@ __export(exports_provider3, {
53
53
  mergeOverlay: () => mergeOverlay2,
54
54
  modelSettings: () => modelSettings2,
55
55
  nativeSettings: () => nativeSettings2,
56
- node: () => node63,
56
+ node: () => node71,
57
57
  packageName: () => packageName2
58
58
  });
59
59
  import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
@@ -64,8 +64,8 @@ import { isRecord } from "@opencode/ai/utils/record";
64
64
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
65
65
  import { Credential } from "@opencode/schema/credential";
66
66
  import { freeze } from "immer";
67
- import { Event as Event12 } from "@opencode/schema/provider";
68
- var ID7 = Provider.ID;
67
+ import { Event as Event15 } from "@opencode/schema/provider";
68
+ var ID12 = Provider.ID;
69
69
  var AISDK_PREFIX2 = "aisdk:";
70
70
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
71
71
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -206,13 +206,13 @@ function mergeHeaders2(base, overlay) {
206
206
  return result;
207
207
  }, new Map).values());
208
208
  }
209
- var Request2 = Provider.Request;
209
+ var Request3 = Provider.Request;
210
210
  var Compaction3 = Provider.Compaction;
211
211
  var Transport2 = Provider.Transport;
212
212
  var Settings2 = Provider.Settings;
213
- var Info21 = Provider.Info;
213
+ var Info26 = Provider.Info;
214
214
 
215
- class Service60 extends Context.Service()("@opencode/Provider") {
215
+ class Service68 extends Context.Service()("@opencode/Provider") {
216
216
  }
217
217
  var definitions = new WeakMap;
218
218
  function index(providerID, models) {
@@ -225,10 +225,10 @@ function index(providerID, models) {
225
225
  definitions.set(models, indexes);
226
226
  return result;
227
227
  }
228
- var layer = Layer.effect(Service60, Effect.gen(function* () {
229
- const bus = yield* Service80;
230
- const integrations = yield* Service61;
231
- const location = yield* Service77;
228
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
229
+ const bus = yield* Service83;
230
+ const integrations = yield* Service69;
231
+ const location = yield* Service79;
232
232
  const state = create3({
233
233
  name: "provider",
234
234
  initial: () => new Map,
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
239
239
  const current = records.get(id);
240
240
  if (current)
241
241
  return current;
242
- const added = { provider: Info21.empty(id), models: new Map };
242
+ const added = { provider: Info26.empty(id), models: new Map };
243
243
  records.set(id, added);
244
244
  maps.add(added.models);
245
245
  return added;
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
320
320
  const available = Array.from(records.values()).filter((record) => {
321
321
  if (record.provider.activation === "disabled")
322
322
  return false;
323
- const integration = byID.get(record.provider.integrationID ?? ID8.make(record.provider.id));
323
+ const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
324
324
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
325
325
  return false;
326
326
  if (record.provider.activation === "enabled")
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
346
346
  location: { directory: location.directory, workspaceID: location.workspaceID }
347
347
  });
348
348
  });
349
- yield* bus.subscribe([Event13.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
- return Service60.of({
349
+ yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
350
+ return Service68.of({
351
351
  transform: state.transform,
352
352
  reload: state.reload,
353
353
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
356
356
  snapshot
357
357
  });
358
358
  }));
359
- var node63 = makeLocationNode({ service: Service60, layer, deps: [node83, node64, node80] });
359
+ var node71 = makeLocationNode({ service: Service68, layer, deps: [node87, node72, node82] });
360
360
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
361
361
  const module = yield* Effect.tryPromise({
362
362
  try: () => {
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
625
625
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
626
626
  var decode = Schema2.decodeUnknownSync(Legacy);
627
627
 
628
- export { rewrite2, native2, exports_aisdk_native, ID7, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info21, Service60, node63, exports_provider3, Event12 };
628
+ export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info26, Service68, node71, exports_provider3, Event15 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  codeInterpreterArgsSchema2
3
- } from "./instruction-discovery-eh3zwz77.js";
3
+ } from "./schema-eh3zwz77.js";
4
4
  import {
5
5
  fileSearchArgsSchema2
6
- } from "./instruction-discovery-e73j6tqm.js";
6
+ } from "./schema-e73j6tqm.js";
7
7
  import {
8
8
  webSearchArgsSchema2
9
- } from "./instruction-discovery-3wcehsnq.js";
9
+ } from "./schema-3wcehsnq.js";
10
10
  import {
11
11
  webSearchPreviewArgsSchema2
12
- } from "./instruction-discovery-dap0rakb.js";
12
+ } from "./schema-dap0rakb.js";
13
13
  import {
14
14
  imageGenerationArgsSchema2
15
- } from "./instruction-discovery-4y7fprxs.js";
15
+ } from "./schema-4y7fprxs.js";
16
16
 
17
17
  // src/github-copilot/responses/openai-responses-prepare-tools.ts
18
18
  import {
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./instruction-discovery-kjxkqgqq.js";
4
+ } from "./schema-y99khw21.js";
5
5
  import {
6
6
  latestSequence2,
7
- Service80,
8
- node83
9
- } from "./instruction-discovery-j3vzqyes.js";
7
+ Service83,
8
+ node87
9
+ } from "./schema-gr5dc40r.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./instruction-discovery-5t3nmthw.js";
12
+ } from "./schema-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./instruction-discovery-ec1grn59.js";
15
+ } from "./schema-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./instruction-discovery-yx96p73j.js";
18
+ } from "./schema-m3aacv1r.js";
19
19
  import {
20
- Service71,
21
- node74
22
- } from "./instruction-discovery-ynys59px.js";
20
+ Service54,
21
+ node56
22
+ } from "./schema-yntqjfz5.js";
23
23
  import {
24
- Service27,
25
- node29
26
- } from "./instruction-discovery-xxf3qkd3.js";
24
+ Service29,
25
+ node33
26
+ } from "./schema-j575tj3n.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./instruction-discovery-tdstcens.js";
30
+ } from "./schema-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./instruction-discovery-9rqn6x4v.js";
33
+ } from "./schema-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service6,
38
+ Service: () => Service2,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer5,
42
- node: () => node8
41
+ layer: () => layer3,
42
+ node: () => node3
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service6 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service2 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer5 = Layer.effect(Service6, Effect.gen(function* () {
62
- const bus = yield* Service80;
61
+ var layer3 = Layer.effect(Service2, Effect.gen(function* () {
62
+ const bus = yield* Service83;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service27;
65
- const store = yield* Service71;
64
+ const context = yield* Service29;
65
+ const store = yield* Service54;
66
66
  const db = (yield* Service84).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service6.of({ generate });
148
+ return Service2.of({ generate });
149
149
  }));
150
- var node8 = makeLocationNode({
151
- service: Service6,
152
- layer: layer5,
153
- deps: [node83, llmClient2, node29, node74, node88]
150
+ var node3 = makeLocationNode({
151
+ service: Service2,
152
+ layer: layer3,
153
+ deps: [node87, llmClient2, node33, node56, node88]
154
154
  });
155
155
 
156
- export { Service6, isUntitled2, layer5, node8, exports_title };
156
+ export { Service2, isUntitled2, layer3, node3, exports_title };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin17,
9
+ Plugin: () => Plugin34,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin17 = define({
25
+ var Plugin34 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin17 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin17, exports_identity };
38
+ export { identity2, Plugin34, exports_identity };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};