@opencode-ai/core 0.0.0-dev-19116 → 0.0.0-dev-19118

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 (770) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{persistent-pty-xba749n3.js → job-0btdqww6.js} +35 -35
  9. package/dist/chunks/{persistent-pty-0e0xafbb.js → job-0e0xafbb.js} +2 -2
  10. package/dist/chunks/{persistent-pty-f8r5v8zg.js → job-0jjx206k.js} +2 -2
  11. package/dist/chunks/{persistent-pty-0paq2nw3.js → job-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{persistent-pty-0s9ayhjt.js → job-0s9ayhjt.js} +1 -1
  13. package/dist/chunks/{persistent-pty-wanpp1k7.js → job-0th9t2kg.js} +8 -8
  14. package/dist/chunks/{persistent-pty-cmp1gbzr.js → job-0wqrqfxc.js} +8 -8
  15. package/dist/chunks/{persistent-pty-msqakgxm.js → job-10qv4wd5.js} +8 -8
  16. package/dist/chunks/{persistent-pty-zjey93np.js → job-15pj8rnv.js} +8 -8
  17. package/dist/chunks/{persistent-pty-51nwj3e2.js → job-16tg7smk.js} +61 -61
  18. package/dist/chunks/{persistent-pty-p4vsqmpc.js → job-18rw269z.js} +11 -11
  19. package/dist/chunks/{persistent-pty-vtmd3szc.js → job-1bwaarmf.js} +4 -4
  20. package/dist/chunks/{persistent-pty-1ct4r87x.js → job-1ct4r87x.js} +1 -1
  21. package/dist/chunks/{persistent-pty-7hw31dwt.js → job-1ea5x22e.js} +8 -8
  22. package/dist/chunks/{persistent-pty-14hmenm3.js → job-1hy241bm.js} +3 -3
  23. package/dist/chunks/{persistent-pty-21r38tys.js → job-21r38tys.js} +1 -1
  24. package/dist/chunks/{persistent-pty-2402vzrj.js → job-2402vzrj.js} +1 -1
  25. package/dist/chunks/{persistent-pty-wfhhk81x.js → job-27f7rjaq.js} +9 -9
  26. package/dist/chunks/{persistent-pty-fgjfecz2.js → job-28pcbh69.js} +8 -8
  27. package/dist/chunks/{persistent-pty-2a5m3afh.js → job-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{persistent-pty-k6gmgah6.js → job-2h8jgcrm.js} +9 -9
  29. package/dist/chunks/{persistent-pty-2ht70gj7.js → job-2ht70gj7.js} +1 -1
  30. package/dist/chunks/{persistent-pty-2jqmte8w.js → job-2jqmte8w.js} +2 -2
  31. package/dist/chunks/{persistent-pty-22wknqry.js → job-2ms6k9cn.js} +10 -10
  32. package/dist/chunks/{persistent-pty-vyrgm4zq.js → job-2sgw42tr.js} +11 -11
  33. package/dist/chunks/{persistent-pty-mcxg6pmm.js → job-2w6bfmvf.js} +1 -1
  34. package/dist/chunks/{persistent-pty-23c0csww.js → job-2zyj32sc.js} +9 -9
  35. package/dist/chunks/{persistent-pty-608x8pfm.js → job-35578s5n.js} +1 -1
  36. package/dist/chunks/{persistent-pty-w7v3ectx.js → job-3g7g9ggh.js} +18 -18
  37. package/dist/chunks/{persistent-pty-3hepkmqq.js → job-3hepkmqq.js} +1 -1
  38. package/dist/chunks/job-3k8be1mw.js +243 -0
  39. package/dist/chunks/{persistent-pty-6cmxkhbe.js → job-3mrm2hwf.js} +10 -10
  40. package/dist/chunks/{persistent-pty-3d8pr09w.js → job-3q0cqqj6.js} +19 -19
  41. package/dist/chunks/{persistent-pty-3qzbfqsy.js → job-3qzbfqsy.js} +2 -2
  42. package/dist/chunks/{persistent-pty-3smtnn6g.js → job-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{persistent-pty-3tvqynh2.js → job-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{persistent-pty-jg2z2cg4.js → job-3xr078r2.js} +39 -39
  45. package/dist/chunks/{persistent-pty-cnzcswpq.js → job-44ax3a64.js} +168 -168
  46. package/dist/chunks/{persistent-pty-454k5vzh.js → job-454k5vzh.js} +1 -1
  47. package/dist/chunks/{persistent-pty-ctqk5yba.js → job-46n9n21h.js} +7 -7
  48. package/dist/chunks/{persistent-pty-9xmd3vp9.js → job-48fnsstq.js} +25 -25
  49. package/dist/chunks/{persistent-pty-bnxgfjcz.js → job-4h57wxq9.js} +17 -17
  50. package/dist/chunks/{persistent-pty-bf4rn6za.js → job-4kbjwcge.js} +6 -6
  51. package/dist/chunks/{persistent-pty-psg7avar.js → job-4qck5215.js} +17 -17
  52. package/dist/chunks/{persistent-pty-j2y37yhm.js → job-4qma25wy.js} +26 -26
  53. package/dist/chunks/{persistent-pty-4r2nyarf.js → job-4r2nyarf.js} +1 -1
  54. package/dist/chunks/{persistent-pty-c69vx815.js → job-4xw211qy.js} +13 -13
  55. package/dist/chunks/{persistent-pty-7d3hynex.js → job-50jhk3hn.js} +18 -18
  56. package/dist/chunks/{persistent-pty-5daktx2q.js → job-5daktx2q.js} +1 -1
  57. package/dist/chunks/{persistent-pty-5fmxt4p5.js → job-5fmxt4p5.js} +1 -1
  58. package/dist/chunks/{persistent-pty-yvfkj8fv.js → job-5fnfwqar.js} +5 -5
  59. package/dist/chunks/{persistent-pty-b0grxa7w.js → job-5hx7d1d6.js} +5 -5
  60. package/dist/chunks/{persistent-pty-5jvc5tg2.js → job-5jvc5tg2.js} +1 -1
  61. package/dist/chunks/{persistent-pty-9mwzjgyd.js → job-5mfyzt34.js} +30 -30
  62. package/dist/chunks/{persistent-pty-pfdftes8.js → job-5mhvc9ws.js} +17 -17
  63. package/dist/chunks/{persistent-pty-ez5b8bq3.js → job-5sg4xzjf.js} +7 -7
  64. package/dist/chunks/{persistent-pty-tdz2d0bf.js → job-60yfj30v.js} +11 -11
  65. package/dist/chunks/{persistent-pty-m1peg48k.js → job-67jyh53q.js} +9 -9
  66. package/dist/chunks/{persistent-pty-w3jym6ha.js → job-6abnk40k.js} +6 -6
  67. package/dist/chunks/{persistent-pty-wkq1a691.js → job-6bfhvh0h.js} +20 -20
  68. package/dist/chunks/{persistent-pty-12gh2r0n.js → job-6k404gxp.js} +4 -4
  69. package/dist/chunks/{persistent-pty-2grmq5yz.js → job-6nrw9prn.js} +36 -36
  70. package/dist/chunks/{persistent-pty-6tf8tr4v.js → job-6tf8tr4v.js} +2 -2
  71. package/dist/chunks/{persistent-pty-hnhdj7rj.js → job-6z2sa7jc.js} +27 -27
  72. package/dist/chunks/job-70jsskm8.js +18 -0
  73. package/dist/chunks/{persistent-pty-711hfp6y.js → job-711hfp6y.js} +2 -2
  74. package/dist/chunks/{persistent-pty-j43tf9gr.js → job-7319g7yt.js} +5 -5
  75. package/dist/chunks/{persistent-pty-e5b0qn1c.js → job-768z0hjh.js} +1 -1
  76. package/dist/chunks/{persistent-pty-wpgkb29z.js → job-7a913jhw.js} +7 -7
  77. package/dist/chunks/{persistent-pty-7bmhse3q.js → job-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{persistent-pty-1zmt232p.js → job-7g8xccct.js} +8 -8
  79. package/dist/chunks/{persistent-pty-ad75gk38.js → job-7nfnjkp7.js} +15 -15
  80. package/dist/chunks/{persistent-pty-n8c15cqp.js → job-83nnjx99.js} +28 -28
  81. package/dist/chunks/{persistent-pty-v6d825jm.js → job-85cc2c4h.js} +21 -21
  82. package/dist/chunks/{persistent-pty-9staja66.js → job-8b5tyv7a.js} +6 -6
  83. package/dist/chunks/{persistent-pty-qf2z5hbw.js → job-8emfhm5v.js} +4 -4
  84. package/dist/chunks/{persistent-pty-t5zy0tn8.js → job-8kadg3td.js} +48 -48
  85. package/dist/chunks/{persistent-pty-nejtgedz.js → job-8mk0kgx1.js} +7 -7
  86. package/dist/chunks/{persistent-pty-fadw8aff.js → job-8q7dhh8n.js} +29 -29
  87. package/dist/chunks/{persistent-pty-93a8yfjt.js → job-93a8yfjt.js} +2 -2
  88. package/dist/chunks/{persistent-pty-vta8yyap.js → job-946h5rhj.js} +27 -27
  89. package/dist/chunks/{persistent-pty-75yd3t4x.js → job-9afcvx35.js} +28 -28
  90. package/dist/chunks/{persistent-pty-a3pq3n59.js → job-9bzmsse2.js} +43 -43
  91. package/dist/chunks/{persistent-pty-pt72vb4m.js → job-9f003kxj.js} +24 -24
  92. package/dist/chunks/{persistent-pty-gkvzh88r.js → job-9kz5pc73.js} +11 -11
  93. package/dist/chunks/{persistent-pty-5k3f87xj.js → job-9pfqepek.js} +3 -3
  94. package/dist/chunks/{persistent-pty-pjw71kmm.js → job-9prtx3kt.js} +16 -16
  95. package/dist/chunks/{persistent-pty-csd2kfzw.js → job-9qgy71j7.js} +9 -9
  96. package/dist/chunks/{persistent-pty-qvbcabdc.js → job-9qm9egsn.js} +2 -2
  97. package/dist/chunks/{persistent-pty-34rkz0x9.js → job-a2ew8a62.js} +7 -7
  98. package/dist/chunks/{persistent-pty-aaet6srn.js → job-aaet6srn.js} +2 -2
  99. package/dist/chunks/{persistent-pty-nvem0zh0.js → job-ahxzhcff.js} +2 -2
  100. package/dist/chunks/{persistent-pty-rmy3e5eg.js → job-aj7d9r5a.js} +3 -3
  101. package/dist/chunks/{persistent-pty-yg7sb877.js → job-ajtjthsy.js} +2 -2
  102. package/dist/chunks/{persistent-pty-e4b60twv.js → job-ak1zs6cs.js} +22 -22
  103. package/dist/chunks/{persistent-pty-039t5jx1.js → job-awef7rea.js} +11 -11
  104. package/dist/chunks/{persistent-pty-f86dfzph.js → job-ayxrghyw.js} +11 -11
  105. package/dist/chunks/job-b5q5y4vk.js +4 -0
  106. package/dist/chunks/{persistent-pty-b6gygkdw.js → job-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{persistent-pty-b9wsbatv.js → job-b9wsbatv.js} +1 -1
  108. package/dist/chunks/{persistent-pty-thfv75je.js → job-bcezcar3.js} +5 -5
  109. package/dist/chunks/{persistent-pty-ak6efjp5.js → job-bddv8fmn.js} +6 -6
  110. package/dist/chunks/{persistent-pty-0v53mg2y.js → job-bf0ztrs3.js} +4 -4
  111. package/dist/chunks/{persistent-pty-c3cb06f5.js → job-bpydn4kw.js} +13 -13
  112. package/dist/chunks/{persistent-pty-awqyf91x.js → job-btc4hvws.js} +5 -5
  113. package/dist/chunks/{persistent-pty-g3xm713x.js → job-c09kva8g.js} +12 -12
  114. package/dist/chunks/{persistent-pty-rys4mg1v.js → job-c91s5gke.js} +17 -17
  115. package/dist/chunks/job-c99jj7v8.js +450 -0
  116. package/dist/chunks/{persistent-pty-njxgh0n2.js → job-cj66esvq.js} +18 -18
  117. package/dist/chunks/{persistent-pty-hc00199r.js → job-ckwkgvrt.js} +10 -10
  118. package/dist/chunks/{persistent-pty-6xkccwtq.js → job-cmz0bryw.js} +6 -6
  119. package/dist/chunks/{persistent-pty-s5f025jh.js → job-csr079x2.js} +6 -6
  120. package/dist/chunks/{persistent-pty-g41n1fn3.js → job-d1a1bt21.js} +5 -5
  121. package/dist/chunks/job-d40ef2x4.js +22 -0
  122. package/dist/chunks/{persistent-pty-g2gt0w0k.js → job-d72308c8.js} +2 -2
  123. package/dist/chunks/{persistent-pty-rgpp5x08.js → job-dbggaqw1.js} +4 -4
  124. package/dist/chunks/{persistent-pty-k37hxh7q.js → job-dhtbjb2w.js} +22 -22
  125. package/dist/chunks/{persistent-pty-tcsbw5z6.js → job-dqs7g4t8.js} +16 -16
  126. package/dist/chunks/{persistent-pty-y4avtqgk.js → job-dr4sghex.js} +8 -8
  127. package/dist/chunks/{persistent-pty-egz8g656.js → job-dt7ke0cz.js} +31 -31
  128. package/dist/chunks/{persistent-pty-0ez61b8c.js → job-e1hrx4vk.js} +2 -2
  129. package/dist/chunks/{persistent-pty-ba9rkfcs.js → job-e2dcn2jx.js} +6 -6
  130. package/dist/chunks/{persistent-pty-dm4vv4a6.js → job-e7y2q7j4.js} +37 -37
  131. package/dist/chunks/{persistent-pty-1xdvak68.js → job-ecx34a5q.js} +24 -24
  132. package/dist/chunks/{persistent-pty-7w3s9kd0.js → job-edme2h3e.js} +9 -9
  133. package/dist/chunks/{persistent-pty-nqajw534.js → job-es0mq72s.js} +25 -25
  134. package/dist/chunks/{persistent-pty-ahexa12d.js → job-f0c97n7f.js} +43 -43
  135. package/dist/chunks/{persistent-pty-1pae77tt.js → job-f2a3x54z.js} +23 -23
  136. package/dist/chunks/{persistent-pty-ygpseft7.js → job-f4yhk0zg.js} +22 -22
  137. package/dist/chunks/{persistent-pty-wfhxja34.js → job-fdvq1v68.js} +92 -92
  138. package/dist/chunks/{persistent-pty-zrz343zw.js → job-fnptnz5b.js} +10 -10
  139. package/dist/chunks/{persistent-pty-hrabpqyz.js → job-fr5x210x.js} +29 -29
  140. package/dist/chunks/{persistent-pty-sg6b5yba.js → job-ftwv96jh.js} +43 -43
  141. package/dist/chunks/{persistent-pty-t0av4jg5.js → job-fw05b7c3.js} +18 -18
  142. package/dist/chunks/{persistent-pty-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
  143. package/dist/chunks/{persistent-pty-wy1gn0qd.js → job-fxjmm0ya.js} +5 -5
  144. package/dist/chunks/{persistent-pty-fxypknc8.js → job-fxypknc8.js} +1 -1
  145. package/dist/chunks/{persistent-pty-j7s4pw35.js → job-fy6n5twb.js} +4 -4
  146. package/dist/chunks/{persistent-pty-ey1a04aj.js → job-g585tkj2.js} +4 -4
  147. package/dist/chunks/{persistent-pty-gd4qta3r.js → job-gd4qta3r.js} +1 -1
  148. package/dist/chunks/{persistent-pty-3fc6dm20.js → job-gdvy8fx6.js} +4 -4
  149. package/dist/chunks/{persistent-pty-e3bzzpkn.js → job-gksdshpz.js} +8 -8
  150. package/dist/chunks/{persistent-pty-mzr3jh1b.js → job-gtayc572.js} +4 -4
  151. package/dist/chunks/{persistent-pty-mszhq5w3.js → job-gv3xhkv5.js} +16 -16
  152. package/dist/chunks/{persistent-pty-9fm1kxq4.js → job-gx171wzx.js} +3 -3
  153. package/dist/chunks/{persistent-pty-3bmsdbgc.js → job-h4j8xtsy.js} +25 -25
  154. package/dist/chunks/{persistent-pty-6ehp7zc5.js → job-h4n2ef1t.js} +4 -4
  155. package/dist/chunks/{persistent-pty-h6vf3j39.js → job-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{persistent-pty-heyhwy2w.js → job-heyhwy2w.js} +1 -1
  157. package/dist/chunks/{persistent-pty-2m4g9ewj.js → job-hj3nn2ka.js} +4 -4
  158. package/dist/chunks/{persistent-pty-mzr4n29e.js → job-hpwwyar4.js} +24 -24
  159. package/dist/chunks/{persistent-pty-g2dy4bvs.js → job-hrvm11jt.js} +3 -3
  160. package/dist/chunks/{persistent-pty-hw4pv20g.js → job-hw4pv20g.js} +2 -2
  161. package/dist/chunks/{persistent-pty-xm1jwy74.js → job-hw83ew9d.js} +86 -86
  162. package/dist/chunks/{persistent-pty-cb52j08x.js → job-hwb7s7hn.js} +35 -35
  163. package/dist/chunks/{persistent-pty-eq1pz5kg.js → job-j028xdjb.js} +3 -3
  164. package/dist/chunks/{persistent-pty-m8s7yz94.js → job-j901a4qz.js} +8 -8
  165. package/dist/chunks/{persistent-pty-tge6005x.js → job-j9mhyrra.js} +11 -11
  166. package/dist/chunks/{persistent-pty-xqsy6kp0.js → job-jnmmvqjs.js} +1 -1
  167. package/dist/chunks/{persistent-pty-nnhtcagv.js → job-jp2wbqm1.js} +4 -4
  168. package/dist/chunks/{persistent-pty-n2jk6qtv.js → job-jpqh7gfb.js} +11 -11
  169. package/dist/chunks/{persistent-pty-cq3yemdf.js → job-jqa8z6zt.js} +51 -51
  170. package/dist/chunks/{persistent-pty-f0nz223j.js → job-jwcy2c2z.js} +4 -4
  171. package/dist/chunks/{persistent-pty-ws50g6ew.js → job-jyg6rkr3.js} +29 -29
  172. package/dist/chunks/{persistent-pty-k4bwy1x5.js → job-k4bwy1x5.js} +1 -1
  173. package/dist/chunks/{persistent-pty-0rag4e4f.js → job-k8feg6vv.js} +4 -4
  174. package/dist/chunks/{persistent-pty-ezq5zned.js → job-kejyb2x0.js} +9 -9
  175. package/dist/chunks/{persistent-pty-kg06axw8.js → job-kg06axw8.js} +1 -1
  176. package/dist/chunks/{persistent-pty-gfze89fe.js → job-kqbpc9q5.js} +18 -18
  177. package/dist/chunks/{persistent-pty-8ftz6ejv.js → job-m0cwky14.js} +13 -13
  178. package/dist/chunks/{persistent-pty-sgv9af10.js → job-m2fmr5t4.js} +14 -14
  179. package/dist/chunks/{persistent-pty-02ghykkt.js → job-m4yjb678.js} +40 -40
  180. package/dist/chunks/{persistent-pty-dnk7gmhh.js → job-m8tcekea.js} +7 -7
  181. package/dist/chunks/{persistent-pty-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{persistent-pty-fy3x4dmh.js → job-mj4n74vr.js} +13 -13
  183. package/dist/chunks/{persistent-pty-rbyt0q31.js → job-mpsk2es2.js} +55 -55
  184. package/dist/chunks/{persistent-pty-x4bzwk8v.js → job-my6essfs.js} +9 -9
  185. package/dist/chunks/{persistent-pty-e18bnnvs.js → job-n1a2t0ww.js} +9 -9
  186. package/dist/chunks/{persistent-pty-15vsdprz.js → job-n1k6p5yy.js} +28 -28
  187. package/dist/chunks/{persistent-pty-e3rf8krc.js → job-n2hm8f0c.js} +20 -20
  188. package/dist/chunks/{persistent-pty-xe339285.js → job-n2qjf2wd.js} +24 -24
  189. package/dist/chunks/{persistent-pty-0k2v0y72.js → job-n3jkd22a.js} +4 -4
  190. package/dist/chunks/{persistent-pty-hqty32ca.js → job-n6s9nzrb.js} +25 -25
  191. package/dist/chunks/{persistent-pty-ggsr10e7.js → job-n7z8rwmy.js} +18 -18
  192. package/dist/chunks/{persistent-pty-038hmbfv.js → job-nf7j6g0s.js} +26 -26
  193. package/dist/chunks/{persistent-pty-j844sf2z.js → job-nhwtr1pc.js} +6 -6
  194. package/dist/chunks/{persistent-pty-dskqvp6c.js → job-nyh9yrk7.js} +71 -71
  195. package/dist/chunks/{persistent-pty-0q7jjq5p.js → job-p0ynmz4j.js} +12 -12
  196. package/dist/chunks/{persistent-pty-fak1e3ja.js → job-p6qgmdkk.js} +13 -13
  197. package/dist/chunks/{persistent-pty-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{persistent-pty-7rgs2zq8.js → job-pk2zcqpn.js} +11 -11
  199. package/dist/chunks/{persistent-pty-pknna89w.js → job-pknna89w.js} +1 -1
  200. package/dist/chunks/{persistent-pty-dypfnnxv.js → job-pnvdtg0w.js} +7 -7
  201. package/dist/chunks/{persistent-pty-h0z0jvv9.js → job-ppc0658n.js} +21 -21
  202. package/dist/chunks/{persistent-pty-1cse2xtn.js → job-psjng72d.js} +24 -24
  203. package/dist/chunks/{persistent-pty-s3eqpch7.js → job-pt7wq7x0.js} +1 -1
  204. package/dist/chunks/{persistent-pty-13b7zb7a.js → job-q40m3x69.js} +25 -25
  205. package/dist/chunks/{persistent-pty-nxa8wnw5.js → job-q4r5qz8q.js} +35 -35
  206. package/dist/chunks/{persistent-pty-wdsftsg6.js → job-q90qmqvm.js} +20 -20
  207. package/dist/chunks/{persistent-pty-0jwsre1p.js → job-qgn6gcr1.js} +5 -5
  208. package/dist/chunks/{persistent-pty-byd5pdh7.js → job-qncx3hba.js} +23 -23
  209. package/dist/chunks/{persistent-pty-9x2w7v1q.js → job-qrmtf44y.js} +7 -7
  210. package/dist/chunks/{persistent-pty-86s3977f.js → job-qs4avvkb.js} +1 -1
  211. package/dist/chunks/{persistent-pty-qsdy395h.js → job-qsdy395h.js} +1 -1
  212. package/dist/chunks/{persistent-pty-j3kams4z.js → job-qvz0mstn.js} +37 -37
  213. package/dist/chunks/{persistent-pty-5djpcxd2.js → job-qwtjsqs5.js} +17 -17
  214. package/dist/chunks/{persistent-pty-zyvs8cv6.js → job-r25yqspz.js} +13 -13
  215. package/dist/chunks/{persistent-pty-j0y8f0xq.js → job-r6xmjf87.js} +3 -3
  216. package/dist/chunks/{persistent-pty-r8dhm0tv.js → job-r8dhm0tv.js} +1 -1
  217. package/dist/chunks/{persistent-pty-1qdvjv25.js → job-re0h2561.js} +32 -32
  218. package/dist/chunks/{persistent-pty-jcsk617h.js → job-re5mh1em.js} +10 -10
  219. package/dist/chunks/{persistent-pty-8p28ygyr.js → job-rma47dj5.js} +9 -9
  220. package/dist/chunks/{persistent-pty-f7p58vk5.js → job-rpeaw09y.js} +18 -18
  221. package/dist/chunks/{persistent-pty-bjs2yq5f.js → job-rph3zd4r.js} +6 -6
  222. package/dist/chunks/{persistent-pty-7z714152.js → job-rqc3g00m.js} +9 -9
  223. package/dist/chunks/{persistent-pty-2nhytzg2.js → job-rrm5x7m0.js} +18 -18
  224. package/dist/chunks/{persistent-pty-4z6b0fg6.js → job-rvb2zp0m.js} +6 -6
  225. package/dist/chunks/{persistent-pty-qkvqzff6.js → job-s6t43sme.js} +36 -36
  226. package/dist/chunks/{persistent-pty-c44391z3.js → job-s8r7jtd6.js} +16 -16
  227. package/dist/chunks/{persistent-pty-sba4qhjf.js → job-sba4qhjf.js} +1 -1
  228. package/dist/chunks/{persistent-pty-e8zb6afy.js → job-sc33qmz3.js} +38 -38
  229. package/dist/chunks/{persistent-pty-vyrse5sf.js → job-sp4hjahe.js} +20 -20
  230. package/dist/chunks/{persistent-pty-heq22s2d.js → job-sr771y1d.js} +17 -17
  231. package/dist/chunks/{persistent-pty-jx8dgn9c.js → job-ssb0ehrn.js} +19 -19
  232. package/dist/chunks/{persistent-pty-xt7b81sn.js → job-t1mdxq6d.js} +32 -32
  233. package/dist/chunks/{persistent-pty-kyktj0vd.js → job-t6msp11s.js} +6 -6
  234. package/dist/chunks/{persistent-pty-tazgh4e4.js → job-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{persistent-pty-89znhe33.js → job-tcezcvh9.js} +4 -4
  236. package/dist/chunks/{persistent-pty-v59vraf9.js → job-te2bj7xz.js} +32 -32
  237. package/dist/chunks/{persistent-pty-tjykrgmx.js → job-tjykrgmx.js} +1 -1
  238. package/dist/chunks/{persistent-pty-v60ecprk.js → job-tppvcy65.js} +7 -7
  239. package/dist/chunks/{persistent-pty-yrcexxg5.js → job-v0e6f0mp.js} +23 -23
  240. package/dist/chunks/{persistent-pty-f2c1rw5q.js → job-v8yh8gmz.js} +8 -8
  241. package/dist/chunks/{persistent-pty-vpcrvpem.js → job-v9sc9168.js} +31 -31
  242. package/dist/chunks/{persistent-pty-djtdz80w.js → job-vep9yay1.js} +4 -4
  243. package/dist/chunks/{persistent-pty-nrvhq0he.js → job-vez0m4e7.js} +24 -24
  244. package/dist/chunks/{persistent-pty-61vgpbh6.js → job-vxand066.js} +37 -37
  245. package/dist/chunks/{persistent-pty-fsea1w0p.js → job-w1y4676r.js} +36 -36
  246. package/dist/chunks/{persistent-pty-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{persistent-pty-wd87259q.js → job-wd87259q.js} +1 -1
  248. package/dist/chunks/{persistent-pty-j53zazwc.js → job-wta9sx1g.js} +9 -9
  249. package/dist/chunks/{persistent-pty-1t8g2pth.js → job-wy3g45e0.js} +4 -4
  250. package/dist/chunks/{persistent-pty-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
  251. package/dist/chunks/{persistent-pty-4ffy803j.js → job-xaqp5che.js} +12 -12
  252. package/dist/chunks/{persistent-pty-f4h69zw7.js → job-xd1wx6xm.js} +32 -32
  253. package/dist/chunks/{persistent-pty-7zak5xvr.js → job-xg1wrpr4.js} +8 -8
  254. package/dist/chunks/{persistent-pty-wfq5jtmb.js → job-xk9j8rng.js} +24 -24
  255. package/dist/chunks/{persistent-pty-b8r2rjw8.js → job-xw3cw7rt.js} +28 -28
  256. package/dist/chunks/{persistent-pty-vsj8va3n.js → job-xyvckd2s.js} +29 -29
  257. package/dist/chunks/{persistent-pty-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
  258. package/dist/chunks/{persistent-pty-7ejv2hd0.js → job-y4c28rh3.js} +45 -45
  259. package/dist/chunks/{persistent-pty-n0cjdfmr.js → job-y8k3s664.js} +56 -56
  260. package/dist/chunks/{persistent-pty-kk3rr3qh.js → job-yfbd16n1.js} +5 -5
  261. package/dist/chunks/{persistent-pty-hmt4vayt.js → job-ygkg1k8b.js} +5 -5
  262. package/dist/chunks/{persistent-pty-r2kxtd6z.js → job-yjzbvh1e.js} +22 -22
  263. package/dist/chunks/{persistent-pty-gg2fk1c4.js → job-ynhf546z.js} +15 -15
  264. package/dist/chunks/{persistent-pty-g9a9rqx4.js → job-yt4p3xrd.js} +12 -12
  265. package/dist/chunks/{persistent-pty-h9k9cmfx.js → job-ytcbjck8.js} +8 -8
  266. package/dist/chunks/{persistent-pty-rc2v55kv.js → job-ywh3ajq2.js} +35 -35
  267. package/dist/chunks/{persistent-pty-pt9vp53c.js → job-yzf9ffkr.js} +46 -46
  268. package/dist/chunks/{persistent-pty-z1k01bn4.js → job-z1k01bn4.js} +2 -2
  269. package/dist/chunks/{persistent-pty-41j7tnv9.js → job-z3bmvn69.js} +9 -9
  270. package/dist/chunks/{persistent-pty-b4wqy378.js → job-z546nxfv.js} +25 -25
  271. package/dist/chunks/{persistent-pty-z63w68vq.js → job-z63w68vq.js} +2 -2
  272. package/dist/chunks/{persistent-pty-3cm4x8pz.js → job-z78tg67p.js} +5 -5
  273. package/dist/chunks/{persistent-pty-9aq2mrk7.js → job-z8c9zcae.js} +13 -13
  274. package/dist/chunks/{persistent-pty-zn2pq4p8.js → job-zajwd6at.js} +5 -5
  275. package/dist/chunks/{persistent-pty-q3b0vsmg.js → job-zhtgdjwq.js} +10 -10
  276. package/dist/chunks/{persistent-pty-pha9f2e6.js → job-zj8w0xf7.js} +11 -11
  277. package/dist/chunks/{persistent-pty-pf6xx1eb.js → job-zmetzt27.js} +6 -6
  278. package/dist/chunks/{persistent-pty-75ecc7tz.js → job-ztnraygn.js} +29 -29
  279. package/dist/chunks/{persistent-pty-p317p1wz.js → job-zvnk5jqh.js} +8 -8
  280. package/dist/chunks/{persistent-pty-zxq2ej10.js → job-zxq2ej10.js} +1 -1
  281. package/dist/chunks/{persistent-pty-6y243n7t.js → job-zxsmea59.js} +11 -11
  282. package/dist/codemode/catalog.js +3 -3
  283. package/dist/codemode/instructions.js +9 -9
  284. package/dist/codemode/tool.js +2 -2
  285. package/dist/command.js +83 -83
  286. package/dist/config/discovery.js +79 -79
  287. package/dist/config/markdown.js +1 -1
  288. package/dist/config/normalize.js +19 -19
  289. package/dist/config/plugin/agent.js +114 -114
  290. package/dist/config/plugin/command.js +205 -205
  291. package/dist/config/plugin/compaction.js +153 -153
  292. package/dist/config/plugin/entry-observer.js +1 -1
  293. package/dist/config/plugin/formatter.js +116 -116
  294. package/dist/config/plugin/image.js +114 -114
  295. package/dist/config/plugin/instruction.js +85 -85
  296. package/dist/config/plugin/location-watcher.js +116 -116
  297. package/dist/config/plugin/mcp.js +123 -123
  298. package/dist/config/plugin/policy.js +113 -113
  299. package/dist/config/plugin/provider.js +112 -112
  300. package/dist/config/plugin/reference.js +116 -116
  301. package/dist/config/plugin/shell.js +115 -115
  302. package/dist/config/plugin/skill-file.js +96 -96
  303. package/dist/config/plugin/skill.js +130 -130
  304. package/dist/config/plugin/snapshot.js +114 -114
  305. package/dist/config/plugin/source.js +114 -114
  306. package/dist/config/plugin/tool-output.js +116 -116
  307. package/dist/config/plugin/websearch.js +112 -112
  308. package/dist/config/variable.js +3 -3
  309. package/dist/config/watch.js +1 -1
  310. package/dist/config.js +118 -118
  311. package/dist/credential/sql.js +2 -2
  312. package/dist/credential.js +82 -82
  313. package/dist/database/database.js +72 -72
  314. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  315. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  316. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  317. package/dist/database/drizzle/index.js +15 -15
  318. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  319. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  321. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  322. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  323. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  324. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  329. package/dist/database/drizzle.js +16 -16
  330. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  331. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  332. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  333. package/dist/database/migration/20260225215848_workspace.js +1 -1
  334. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  335. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  336. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  337. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  338. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  339. package/dist/database/migration/20260323234822_events.js +1 -1
  340. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  341. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  342. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  343. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  344. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  345. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  346. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  347. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  348. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  349. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  350. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  351. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  352. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  353. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  354. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  355. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  356. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  357. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  358. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  359. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  360. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  361. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  362. package/dist/database/migration/20260611035744_credential.js +1 -1
  363. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  364. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  365. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  366. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  367. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  368. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  369. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  370. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  371. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  372. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  373. package/dist/database/migration/20260812213948_worktree.js +1 -1
  374. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  375. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  376. package/dist/database/migration.gen.js +47 -47
  377. package/dist/database/migration.js +49 -49
  378. package/dist/database/path.js +2 -2
  379. package/dist/database/schema.gen.js +1 -1
  380. package/dist/database/schema.sql.js +1 -1
  381. package/dist/database/sqlite.bun.js +1 -1
  382. package/dist/database/sqlite.js +1 -1
  383. package/dist/database/sqlite.node.js +1 -1
  384. package/dist/database/sqlite.workerd.js +1 -1
  385. package/dist/database/v1-migration.bun.js +77 -77
  386. package/dist/database/v1-migration.js +1 -1
  387. package/dist/effect/app-node-builder.js +356 -356
  388. package/dist/effect/app-node-platform.js +2 -2
  389. package/dist/effect/keyed-mutex.js +3 -3
  390. package/dist/effect/websocket-constructor.js +1 -1
  391. package/dist/environment/driver.js +1 -1
  392. package/dist/environment/environment.js +88 -88
  393. package/dist/environment/exec-defaults.js +2 -2
  394. package/dist/environment/files.js +1 -1
  395. package/dist/environment/index.js +90 -90
  396. package/dist/environment/local.js +2 -2
  397. package/dist/environment/memory.js +2 -2
  398. package/dist/environment/unavailable.js +1 -1
  399. package/dist/event/sql.js +1 -1
  400. package/dist/event-logger.js +72 -72
  401. package/dist/file-mutation.js +89 -89
  402. package/dist/file-retention.js +1 -1
  403. package/dist/file.js +1 -1
  404. package/dist/filesystem/fff.bun.js +2 -2
  405. package/dist/filesystem/fff.js +1 -1
  406. package/dist/filesystem/fff.node.js +2 -2
  407. package/dist/filesystem/fff.workerd.js +2 -2
  408. package/dist/filesystem/ignore.js +1 -1
  409. package/dist/filesystem/location-watcher-policy.js +6 -6
  410. package/dist/filesystem/location-watcher.js +217 -217
  411. package/dist/filesystem/protected.js +3 -3
  412. package/dist/filesystem/search.js +99 -99
  413. package/dist/filesystem/watcher-binding.js +1 -1
  414. package/dist/filesystem/watcher.js +15 -15
  415. package/dist/filesystem.js +102 -102
  416. package/dist/form.js +84 -84
  417. package/dist/formatter/builtins.js +4 -4
  418. package/dist/formatter.js +84 -84
  419. package/dist/generate.js +90 -90
  420. package/dist/git.js +7 -7
  421. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  422. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  423. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  424. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  425. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  426. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  427. package/dist/github-copilot/copilot-provider.js +17 -17
  428. package/dist/github-copilot/models.js +7 -7
  429. package/dist/github-copilot/openai-compatible-error.js +1 -1
  430. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  431. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  432. package/dist/github-copilot/responses/openai-error.js +1 -1
  433. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  434. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  435. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  436. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  437. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  438. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  439. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  440. package/dist/id/id.js +1 -1
  441. package/dist/image/photon.js +2 -2
  442. package/dist/image.js +6 -6
  443. package/dist/instance/service.js +5 -5
  444. package/dist/instance.js +347 -347
  445. package/dist/instruction-discovery.js +83 -83
  446. package/dist/instructions/builtins.js +82 -82
  447. package/dist/instructions/index.js +5 -5
  448. package/dist/integration/connection.js +1 -1
  449. package/dist/integration.js +83 -83
  450. package/dist/job.js +77 -77
  451. package/dist/kv/sql.js +2 -2
  452. package/dist/kv.js +71 -71
  453. package/dist/location-activity.js +86 -86
  454. package/dist/location-mutation.js +81 -81
  455. package/dist/location-service-map.js +81 -81
  456. package/dist/location-services.js +344 -344
  457. package/dist/location.js +82 -82
  458. package/dist/mcp/client.js +86 -86
  459. package/dist/mcp/index.js +104 -104
  460. package/dist/mcp/instructions.js +120 -120
  461. package/dist/mcp/oauth.js +2 -2
  462. package/dist/mcp/stdio.js +85 -85
  463. package/dist/mime.js +1 -1
  464. package/dist/modal/models.js +7 -7
  465. package/dist/model-resolver.js +85 -85
  466. package/dist/model.js +6 -6
  467. package/dist/models-dev.js +86 -86
  468. package/dist/oauth/page.js +1 -1
  469. package/dist/permission/saved.js +78 -78
  470. package/dist/permission/sql.js +5 -5
  471. package/dist/permission.js +105 -105
  472. package/dist/persistent-pty/binary.bun.js +1 -1
  473. package/dist/persistent-pty/daemon.js +1 -1
  474. package/dist/persistent-pty/index.js +82 -82
  475. package/dist/persistent-pty/pty-binding.js +1 -1
  476. package/dist/persistent-pty.js +73 -73
  477. package/dist/plugin/agent.js +96 -96
  478. package/dist/plugin/command.js +93 -93
  479. package/dist/plugin/hooks.js +5 -5
  480. package/dist/plugin/host.js +210 -210
  481. package/dist/plugin/instance.js +5 -5
  482. package/dist/plugin/internal.js +316 -316
  483. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  484. package/dist/plugin/models-dev.js +75 -75
  485. package/dist/plugin/module.js +2 -2
  486. package/dist/plugin/plan.js +96 -96
  487. package/dist/plugin/promise.js +1 -1
  488. package/dist/plugin/provider/alibaba.js +2 -2
  489. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  490. package/dist/plugin/provider/anthropic.js +4 -4
  491. package/dist/plugin/provider/azure.js +117 -117
  492. package/dist/plugin/provider/cerebras.js +2 -2
  493. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  494. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  495. package/dist/plugin/provider/cohere.js +2 -2
  496. package/dist/plugin/provider/configured.js +113 -113
  497. package/dist/plugin/provider/dynamic.js +2 -2
  498. package/dist/plugin/provider/factory.js +1 -1
  499. package/dist/plugin/provider/gateway.js +2 -2
  500. package/dist/plugin/provider/github-copilot.js +79 -79
  501. package/dist/plugin/provider/gitlab.js +3 -3
  502. package/dist/plugin/provider/google-vertex.js +2 -2
  503. package/dist/plugin/provider/kilo.js +2 -2
  504. package/dist/plugin/provider/llmgateway.js +75 -75
  505. package/dist/plugin/provider/lmstudio.js +116 -116
  506. package/dist/plugin/provider/mistral.js +2 -2
  507. package/dist/plugin/provider/modal.js +78 -78
  508. package/dist/plugin/provider/nvidia.js +2 -2
  509. package/dist/plugin/provider/ollama.js +114 -114
  510. package/dist/plugin/provider/openai-compatible.js +1 -1
  511. package/dist/plugin/provider/openai.js +79 -79
  512. package/dist/plugin/provider/opencode.js +75 -75
  513. package/dist/plugin/provider/openrouter.js +3 -3
  514. package/dist/plugin/provider/perplexity.js +2 -2
  515. package/dist/plugin/provider/sap-ai-core.js +3 -3
  516. package/dist/plugin/provider/sdk-factory.js +1 -1
  517. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  518. package/dist/plugin/provider/venice.js +2 -2
  519. package/dist/plugin/provider/vercel.js +2 -2
  520. package/dist/plugin/provider/vllm.js +114 -114
  521. package/dist/plugin/provider/xai.js +76 -76
  522. package/dist/plugin/provider/zenmux.js +2 -2
  523. package/dist/plugin/provider.js +154 -154
  524. package/dist/plugin/sdk.js +72 -72
  525. package/dist/plugin/service.js +3 -3
  526. package/dist/plugin/skill.js +131 -131
  527. package/dist/plugin/source-directory.js +1 -1
  528. package/dist/plugin/supervisor.js +333 -333
  529. package/dist/plugin/system-prompt.js +5 -5
  530. package/dist/plugin/update.js +6 -6
  531. package/dist/plugin/variant.js +4 -4
  532. package/dist/plugin/vcs/git.js +82 -82
  533. package/dist/plugin/vcs/hg.js +82 -82
  534. package/dist/plugin/warming.js +111 -111
  535. package/dist/plugin/websearch/exa.js +7 -7
  536. package/dist/plugin/websearch/firecrawl.js +8 -8
  537. package/dist/plugin/websearch/index.js +8 -8
  538. package/dist/plugin/websearch/mcp.js +4 -4
  539. package/dist/plugin/websearch/parallel.js +8 -8
  540. package/dist/plugin/websearch/tavily.js +6 -6
  541. package/dist/plugin.js +219 -219
  542. package/dist/project/schema.js +6 -6
  543. package/dist/project/sql.js +4 -4
  544. package/dist/project.js +83 -83
  545. package/dist/provider.js +5 -5
  546. package/dist/pty/protocol.js +1 -1
  547. package/dist/pty/schema.js +3 -3
  548. package/dist/pty/ticket.js +1 -1
  549. package/dist/pty.js +92 -92
  550. package/dist/reference/instructions.js +78 -78
  551. package/dist/reference.js +86 -86
  552. package/dist/repository-cache.js +76 -76
  553. package/dist/repository.js +1 -1
  554. package/dist/ripgrep/binary.js +2 -2
  555. package/dist/ripgrep.js +93 -93
  556. package/dist/rpc.js +81 -81
  557. package/dist/schema.js +1 -1
  558. package/dist/session/command.js +72 -72
  559. package/dist/session/compaction.js +127 -127
  560. package/dist/session/context.js +145 -145
  561. package/dist/session/environment.js +5 -5
  562. package/dist/session/error.js +5 -5
  563. package/dist/session/event.js +1 -1
  564. package/dist/session/execution/restart.js +217 -217
  565. package/dist/session/execution.js +120 -120
  566. package/dist/session/generate.js +144 -144
  567. package/dist/session/history.js +12 -12
  568. package/dist/session/inbox.js +86 -86
  569. package/dist/session/info.js +3 -3
  570. package/dist/session/instruction-entry.js +77 -77
  571. package/dist/session/instruction-state.js +8 -8
  572. package/dist/session/instructions.js +91 -91
  573. package/dist/session/message-updater.js +4 -4
  574. package/dist/session/message.js +1 -1
  575. package/dist/session/model-request.js +110 -110
  576. package/dist/session/model-transport.js +7 -7
  577. package/dist/session/move.js +124 -124
  578. package/dist/session/projector.js +84 -84
  579. package/dist/session/prompt.js +99 -99
  580. package/dist/session/revert.js +85 -85
  581. package/dist/session/run-coordinator.js +3 -3
  582. package/dist/session/runner/index.js +3 -3
  583. package/dist/session/runner/llm.js +220 -220
  584. package/dist/session/runner/max-steps.js +1 -1
  585. package/dist/session/runner/model.js +85 -85
  586. package/dist/session/runner/publish-llm-event.js +3 -3
  587. package/dist/session/runner/retry.js +4 -4
  588. package/dist/session/runner/step.js +119 -119
  589. package/dist/session/runner/to-llm-message.js +1 -1
  590. package/dist/session/schema.js +5 -5
  591. package/dist/session/session.js +167 -167
  592. package/dist/session/shell.js +130 -130
  593. package/dist/session/skill.js +97 -97
  594. package/dist/session/sql.js +5 -5
  595. package/dist/session/stats.js +73 -73
  596. package/dist/session/store.js +84 -84
  597. package/dist/session/subagent-completion.js +1 -1
  598. package/dist/session/subagent-job.js +201 -201
  599. package/dist/session/system-prompt.js +3 -3
  600. package/dist/session/title.js +149 -149
  601. package/dist/session/to-session-error.js +105 -105
  602. package/dist/session/transfer.js +216 -216
  603. package/dist/session/usage.js +1 -1
  604. package/dist/session.js +211 -211
  605. package/dist/shell/parse.js +6 -6
  606. package/dist/shell/result.js +1 -1
  607. package/dist/shell/scan.js +1 -1
  608. package/dist/shell/select.js +7 -7
  609. package/dist/shell.js +132 -132
  610. package/dist/skill/discovery.js +4 -4
  611. package/dist/skill/instructions.js +99 -99
  612. package/dist/skill.js +106 -106
  613. package/dist/snapshot.js +84 -84
  614. package/dist/state.js +1 -1
  615. package/dist/tool/html-markdown.js +1 -1
  616. package/dist/tool/http-body.js +1 -1
  617. package/dist/tool/mcp.js +119 -119
  618. package/dist/tool/plugin/edit.js +108 -108
  619. package/dist/tool/plugin/file-diff.js +1 -1
  620. package/dist/tool/plugin/glob.js +117 -117
  621. package/dist/tool/plugin/grep.js +119 -119
  622. package/dist/tool/plugin/opencode.js +3 -3
  623. package/dist/tool/plugin/patch.js +116 -116
  624. package/dist/tool/plugin/question.js +97 -97
  625. package/dist/tool/plugin/read.js +120 -120
  626. package/dist/tool/plugin/shell.js +208 -208
  627. package/dist/tool/plugin/skill.js +107 -107
  628. package/dist/tool/plugin/subagent.js +212 -212
  629. package/dist/tool/plugin/webfetch.js +106 -106
  630. package/dist/tool/plugin/websearch.js +104 -104
  631. package/dist/tool/plugin/write.js +114 -114
  632. package/dist/tool/read-filesystem.js +96 -96
  633. package/dist/tool/runtime.js +1 -1
  634. package/dist/tool-output.js +8 -8
  635. package/dist/tool.js +15 -15
  636. package/dist/util/error.js +1 -1
  637. package/dist/util/iife.js +1 -1
  638. package/dist/util/lazy.js +1 -1
  639. package/dist/util/slug.js +1 -1
  640. package/dist/util/token.js +1 -1
  641. package/dist/util/which.js +1 -1
  642. package/dist/util/wildcard.js +1 -1
  643. package/dist/v1/config/agent.js +5 -5
  644. package/dist/v1/config/attachment.js +4 -4
  645. package/dist/v1/config/command.js +5 -5
  646. package/dist/v1/config/config.js +16 -16
  647. package/dist/v1/config/error.js +2 -2
  648. package/dist/v1/config/formatter.js +7 -7
  649. package/dist/v1/config/layout.js +1 -1
  650. package/dist/v1/config/lsp.js +5 -5
  651. package/dist/v1/config/mcp.js +4 -4
  652. package/dist/v1/config/migrate.js +4 -4
  653. package/dist/v1/config/permission.js +3 -3
  654. package/dist/v1/config/plugin.js +3 -3
  655. package/dist/v1/config/provider-options.js +1 -1
  656. package/dist/v1/config/provider.js +4 -4
  657. package/dist/v1/config/server.js +2 -2
  658. package/dist/v1/config/skills.js +3 -3
  659. package/dist/v1/permission.js +1 -1
  660. package/dist/vcs/patch.js +1 -1
  661. package/dist/vcs.js +83 -83
  662. package/dist/websearch.js +80 -80
  663. package/dist/wellknown/plugin.js +74 -74
  664. package/dist/wellknown.js +77 -77
  665. package/dist/workspace/driver.js +5 -5
  666. package/dist/workspace/sql.js +1 -1
  667. package/dist/workspace.js +78 -78
  668. package/dist/worktree/directory.js +2 -2
  669. package/dist/worktree/git.js +7 -7
  670. package/dist/worktree/sql.js +5 -5
  671. package/dist/worktree.js +90 -90
  672. package/package.json +7 -7
  673. package/dist/chunks/persistent-pty-1k2nkqs9.js +0 -243
  674. package/dist/chunks/persistent-pty-20s8sfqs.js +0 -450
  675. package/dist/chunks/persistent-pty-7zk4hah4.js +0 -4
  676. package/dist/chunks/persistent-pty-ht5y0zrb.js +0 -18
  677. package/dist/chunks/persistent-pty-wpa9nskr.js +0 -22
  678. /package/dist/chunks/{persistent-pty-0fabt78z.js → job-0fabt78z.js} +0 -0
  679. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
  680. /package/dist/chunks/{persistent-pty-0zkw76rk.js → job-0zkw76rk.js} +0 -0
  681. /package/dist/chunks/{persistent-pty-17cy0kzp.js → job-17cy0kzp.js} +0 -0
  682. /package/dist/chunks/{persistent-pty-1cnp2v09.js → job-1cnp2v09.js} +0 -0
  683. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
  684. /package/dist/chunks/{persistent-pty-2710q6r3.js → job-2710q6r3.js} +0 -0
  685. /package/dist/chunks/{persistent-pty-2axfhc9x.js → job-2axfhc9x.js} +0 -0
  686. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
  687. /package/dist/chunks/{persistent-pty-359p4xyc.js → job-359p4xyc.js} +0 -0
  688. /package/dist/chunks/{persistent-pty-3asan66x.js → job-3asan66x.js} +0 -0
  689. /package/dist/chunks/{persistent-pty-3t738kvx.js → job-3t738kvx.js} +0 -0
  690. /package/dist/chunks/{persistent-pty-3v8g72cx.js → job-3v8g72cx.js} +0 -0
  691. /package/dist/chunks/{persistent-pty-3wcehsnq.js → job-3wcehsnq.js} +0 -0
  692. /package/dist/chunks/{persistent-pty-41nvscxy.js → job-41nvscxy.js} +0 -0
  693. /package/dist/chunks/{persistent-pty-43n2bw4t.js → job-43n2bw4t.js} +0 -0
  694. /package/dist/chunks/{persistent-pty-4knz6hnm.js → job-4knz6hnm.js} +0 -0
  695. /package/dist/chunks/{persistent-pty-4y7fprxs.js → job-4y7fprxs.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-53557ph1.js → job-53557ph1.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-550bvhaj.js → job-550bvhaj.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-6prwharc.js → job-6prwharc.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-7akdwqpd.js → job-7akdwqpd.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-7m9af43g.js → job-7m9af43g.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-822emrt2.js → job-822emrt2.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-88xbtdfr.js → job-88xbtdfr.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-8n3pysct.js → job-8n3pysct.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-982e01ww.js → job-982e01ww.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-9a4afbnw.js → job-9a4afbnw.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-a1tpkmh4.js → job-a1tpkmh4.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-af5trqkr.js → job-af5trqkr.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-afrmfg78.js → job-afrmfg78.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-atq7p7m5.js → job-atq7p7m5.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-cf4snx6d.js → job-cf4snx6d.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-d9fn303g.js → job-d9fn303g.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-dajrwvna.js → job-dajrwvna.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-dap0rakb.js → job-dap0rakb.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-df08tz66.js → job-df08tz66.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-dy18nga0.js → job-dy18nga0.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-e5kj55wp.js → job-e5kj55wp.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-e73j6tqm.js → job-e73j6tqm.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-eh3zwz77.js → job-eh3zwz77.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-emrn6kk6.js → job-emrn6kk6.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-f0mxakyp.js → job-f0mxakyp.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-faypxj3z.js → job-faypxj3z.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-fd410y7t.js → job-fd410y7t.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-g4wezp1m.js → job-g4wezp1m.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-g86h250q.js → job-g86h250q.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-gebd4c9n.js → job-gebd4c9n.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-hk9envan.js → job-hk9envan.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-j2ntwpah.js → job-j2ntwpah.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-j935v87r.js → job-j935v87r.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-mntxs535.js → job-mntxs535.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-mp448xyj.js → job-mp448xyj.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-msx8hqn2.js → job-msx8hqn2.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-n05xt0ee.js → job-n05xt0ee.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-n3j8tn72.js → job-n3j8tn72.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-njntx4h6.js → job-njntx4h6.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-p8qxwesx.js → job-p8qxwesx.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-q3sfg36h.js → job-q3sfg36h.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-q74kybfr.js → job-q74kybfr.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-qaymkmh1.js → job-qaymkmh1.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-qb87gjwd.js → job-qb87gjwd.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-qfa1cgps.js → job-qfa1cgps.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-qrg20bc0.js → job-qrg20bc0.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-se0s1eqw.js → job-se0s1eqw.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-ssg3fenm.js → job-ssg3fenm.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-twg0f83k.js → job-twg0f83k.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-w803qqfp.js → job-w803qqfp.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-wer8tq1h.js → job-wer8tq1h.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-wtztk69x.js → job-wtztk69x.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-x0ckcb58.js → job-x0ckcb58.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-x1b8g1yb.js → job-x1b8g1yb.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-x61499pn.js → job-x61499pn.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-y44na4kk.js → job-y44na4kk.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-y8cydn3q.js → job-y8cydn3q.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-z9919s4g.js → job-z9919s4g.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-zbjnn3ac.js → job-zbjnn3ac.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service78,
3
- node81
4
- } from "./persistent-pty-gfze89fe.js";
2
+ Service79,
3
+ node83
4
+ } from "./job-kqbpc9q5.js";
5
5
  import {
6
- Event14,
7
- Service59,
8
- node61
9
- } from "./persistent-pty-rc2v55kv.js";
6
+ Event19,
7
+ Service74,
8
+ node78
9
+ } from "./job-ywh3ajq2.js";
10
10
  import {
11
- Service47,
12
- node49
13
- } from "./persistent-pty-e4b60twv.js";
11
+ Service46,
12
+ node48
13
+ } from "./job-ak1zs6cs.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./persistent-pty-p8qxwesx.js";
16
+ } from "./job-p8qxwesx.js";
17
17
  import {
18
- Service75,
19
- node78
20
- } from "./persistent-pty-c44391z3.js";
18
+ Service76,
19
+ node80
20
+ } from "./job-s8r7jtd6.js";
21
21
  import {
22
22
  substitute2
23
- } from "./persistent-pty-hw4pv20g.js";
23
+ } from "./job-hw4pv20g.js";
24
24
  import {
25
25
  normalize2
26
- } from "./persistent-pty-xe339285.js";
26
+ } from "./job-n2qjf2wd.js";
27
27
  import {
28
- names3,
28
+ names4,
29
29
  discover3
30
- } from "./persistent-pty-22wknqry.js";
30
+ } from "./job-2ms6k9cn.js";
31
31
  import {
32
32
  plan2
33
- } from "./persistent-pty-0s9ayhjt.js";
33
+ } from "./job-0s9ayhjt.js";
34
34
  import {
35
- Service48,
36
- Event10,
37
- node50
38
- } from "./persistent-pty-v6d825jm.js";
35
+ Service47,
36
+ Event11,
37
+ node49
38
+ } from "./job-85cc2c4h.js";
39
39
  import {
40
40
  __export
41
- } from "./persistent-pty-9rqn6x4v.js";
41
+ } from "./job-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options4,
48
- Service: () => Service46,
47
+ Options: () => Options5,
48
+ Service: () => Service45,
49
49
  Test: () => Test2,
50
- configured: () => configured4,
50
+ configured: () => configured5,
51
51
  latest: () => latest2,
52
- layer: () => layer17,
53
- node: () => node48,
52
+ layer: () => layer18,
53
+ node: () => node47,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -71,14 +71,14 @@ import { Global } from "@opencode-ai/util/global";
71
71
  function latest2(entries, key) {
72
72
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
73
73
  }
74
- var Options4 = Schema.Struct({
74
+ var Options5 = Schema.Struct({
75
75
  project: Schema.optional(Schema.Boolean),
76
76
  global: Schema.optional(Schema.Boolean),
77
77
  file: Schema.optional(Schema.String),
78
78
  content: Schema.optional(Schema.String)
79
79
  });
80
80
 
81
- class Service46 extends Context.Service()("@opencode/Config") {
81
+ class Service45 extends Context.Service()("@opencode/Config") {
82
82
  }
83
83
 
84
84
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -92,15 +92,15 @@ var testLayer2 = (initial = []) => Layer.effectContext(Effect.gen(function* () {
92
92
  setEntries: (next) => Ref.set(entries, next),
93
93
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
94
94
  });
95
- return Context.empty().pipe(Context.add(Service46, service), Context.add(Test2, service));
95
+ return Context.empty().pipe(Context.add(Service45, service), Context.add(Test2, service));
96
96
  }));
97
- var layer17 = (options) => Layer.effect(Service46, Effect.gen(function* () {
97
+ var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const location = yield* Service75;
100
- const watcher = yield* Service47;
101
- const bus = yield* Service78;
102
- const credentials = yield* Service59;
103
- const wellknown = yield* Service48;
99
+ const location = yield* Service76;
100
+ const watcher = yield* Service46;
101
+ const bus = yield* Service79;
102
+ const credentials = yield* Service74;
103
+ const wellknown = yield* Service47;
104
104
  const reloadLock = Semaphore.makeUnsafe(1);
105
105
  const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
106
106
  const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
@@ -168,7 +168,7 @@ var layer17 = (options) => Layer.effect(Service46, Effect.gen(function* () {
168
168
  });
169
169
  const loadDirectory = Effect.fnUntraced(function* (directory) {
170
170
  return [
171
- ...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
171
+ ...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
172
172
  new Directory({ type: "directory", path: directory })
173
173
  ];
174
174
  });
@@ -223,8 +223,8 @@ var layer17 = (options) => Layer.effect(Service46, Effect.gen(function* () {
223
223
  }, (effect) => reloadLock.withPermit(effect));
224
224
  const pendingReloads = yield* PubSub.subscribe(reloads);
225
225
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
- yield* bus.subscribe(Event14.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
- yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
227
+ yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
228
228
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
229
229
  if (!wellknown.snapshot().length)
230
230
  return Effect.void;
@@ -235,20 +235,20 @@ var layer17 = (options) => Layer.effect(Service46, Effect.gen(function* () {
235
235
  }).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
236
236
  })), Effect.forever, Effect.forkScoped({ startImmediately: true }));
237
237
  yield* reloadLock.withPermit(reconcile(initial));
238
- return Service46.of({
238
+ return Service45.of({
239
239
  entries: Effect.fnUntraced(function* () {
240
240
  return configs;
241
241
  }),
242
242
  changes: () => Stream.fromPubSub(updates)
243
243
  });
244
244
  }));
245
- function configured4(options) {
245
+ function configured5(options) {
246
246
  return makeLocationNode({
247
- service: Service46,
248
- layer: layer17(options),
249
- deps: [node49, node81, FSUtil.node, Global.node, node78, node61, node50]
247
+ service: Service45,
248
+ layer: layer18(options),
249
+ deps: [node48, node83, FSUtil.node, Global.node, node80, node78, node49]
250
250
  });
251
251
  }
252
- var node48 = configured4();
252
+ var node47 = configured5();
253
253
 
254
- export { latest2, Options4, Service46, Test2, testLayer2, layer17, configured4, node48, exports_config };
254
+ export { latest2, Options5, Service45, Test2, testLayer2, layer18, configured5, node47, exports_config };
@@ -1,12 +1,12 @@
1
1
  import {
2
- ID9
3
- } from "./persistent-pty-6cmxkhbe.js";
2
+ ID15
3
+ } from "./job-3mrm2hwf.js";
4
4
  import {
5
- Service46
6
- } from "./persistent-pty-t5zy0tn8.js";
5
+ Service45
6
+ } from "./job-8kadg3td.js";
7
7
  import {
8
8
  foldSettings2
9
- } from "./persistent-pty-9x2w7v1q.js";
9
+ } from "./job-qrmtf44y.js";
10
10
 
11
11
  // src/plugin/provider/vllm.ts
12
12
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -26,7 +26,7 @@ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
26
26
  id: "opencode.provider.vllm",
27
27
  effect: Effect.fn(function* (ctx) {
28
28
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
29
- const config = yield* Service46;
29
+ const config = yield* Service45;
30
30
  const source = { current: configured(yield* config.entries(), origin) };
31
31
  const loaded = { models: [], hash: "[]" };
32
32
  yield* ctx.integration.transform((integrations) => {
@@ -53,7 +53,7 @@ function make5(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
53
53
  });
54
54
  for (const item of loaded.models) {
55
55
  catalog.model.update(providerID, item.id, (model) => {
56
- model.modelID = ID9.make(item.id);
56
+ model.modelID = ID15.make(item.id);
57
57
  model.name = item.id;
58
58
  model.capabilities = { tools: false, input: ["text"], output: ["text"] };
59
59
  if (typeof item.max_model_len === "number" && item.max_model_len > 0)
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node84
5
- } from "./persistent-pty-tdz2d0bf.js";
4
+ node68
5
+ } from "./job-60yfj30v.js";
6
6
  import {
7
- Service65,
8
- node67
9
- } from "./persistent-pty-p317p1wz.js";
7
+ Service56,
8
+ node58
9
+ } from "./job-zvnk5jqh.js";
10
10
  import {
11
11
  DeclinedError2
12
- } from "./persistent-pty-rbyt0q31.js";
12
+ } from "./job-mpsk2es2.js";
13
13
  import {
14
14
  CancelledError2
15
- } from "./persistent-pty-pha9f2e6.js";
15
+ } from "./job-zj8w0xf7.js";
16
16
  import {
17
- Error2
18
- } from "./persistent-pty-9xmd3vp9.js";
17
+ Error4
18
+ } from "./job-48fnsstq.js";
19
19
  import {
20
- Service26,
21
- node29
22
- } from "./persistent-pty-k6gmgah6.js";
20
+ Service24,
21
+ node27
22
+ } from "./job-2h8jgcrm.js";
23
23
  import {
24
- make16
25
- } from "./persistent-pty-0rag4e4f.js";
24
+ make13
25
+ } from "./job-k8feg6vv.js";
26
26
  import {
27
27
  toLLMMessages2
28
- } from "./persistent-pty-zbjnn3ac.js";
28
+ } from "./job-zbjnn3ac.js";
29
29
  import {
30
30
  __export
31
- } from "./persistent-pty-9rqn6x4v.js";
31
+ } from "./job-9rqn6x4v.js";
32
32
 
33
33
  // src/session/model-request.ts
34
34
  var exports_model_request = {};
35
35
  __export(exports_model_request, {
36
- Service: () => Service25,
36
+ Service: () => Service23,
37
37
  SessionModelRequest: () => exports_model_request,
38
38
  baseTranscript: () => baseTranscript2,
39
39
  boundImages: () => boundImages2,
40
40
  layer: () => layer11,
41
- node: () => node28,
41
+ node: () => node26,
42
42
  unsupportedParts: () => unsupportedParts2
43
43
  });
44
44
  import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode-ai/ai";
@@ -58,7 +58,7 @@ var baseTranscript2 = (input) => {
58
58
  return {
59
59
  providerMetadataKey,
60
60
  system: [
61
- input.agent.system ? input.agent.system : make16(input.tools.definitions.map((tool) => tool.name)),
61
+ input.agent.system ? input.agent.system : make13(input.tools.definitions.map((tool) => tool.name)),
62
62
  input.initial
63
63
  ].filter((part) => part.length > 0).map(SystemPart.make),
64
64
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -185,11 +185,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
185
185
  return HttpClientResponse.fromWeb(sent, after.response);
186
186
  }).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
187
187
 
188
- class Service25 extends Context.Service()("@opencode/SessionModelRequest") {
188
+ class Service23 extends Context.Service()("@opencode/SessionModelRequest") {
189
189
  }
190
- var layer11 = Layer.effect(Service25, Effect.gen(function* () {
191
- const hooks = yield* Service65;
192
- const transport = yield* Service26;
190
+ var layer11 = Layer.effect(Service23, Effect.gen(function* () {
191
+ const hooks = yield* Service56;
192
+ const transport = yield* Service24;
193
193
  const app = yield* Metadata2;
194
194
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
195
195
  const session = input.scope.session;
@@ -197,7 +197,7 @@ var layer11 = Layer.effect(Service25, Effect.gen(function* () {
197
197
  const model = resolved.model;
198
198
  const tools = input.scope.tools ?? {
199
199
  definitions: [],
200
- execute: () => new Error2({ message: "Tools are not available for this request" })
200
+ execute: () => new Error4({ message: "Tools are not available for this request" })
201
201
  };
202
202
  const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
203
203
  const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
@@ -254,12 +254,12 @@ var layer11 = Layer.effect(Service25, Effect.gen(function* () {
254
254
  executeTool
255
255
  };
256
256
  });
257
- return Service25.of({ prepare });
257
+ return Service23.of({ prepare });
258
258
  }));
259
- var node28 = makeLocationNode({
260
- service: Service25,
259
+ var node26 = makeLocationNode({
260
+ service: Service23,
261
261
  layer: layer11,
262
- deps: [node67, node29, node84]
262
+ deps: [node58, node27, node68]
263
263
  });
264
264
 
265
- export { baseTranscript2, unsupportedParts2, boundImages2, Service25, layer11, node28, exports_model_request };
265
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service23, layer11, node26, exports_model_request };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-p8qxwesx.js";
3
+ } from "./job-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./job-9rqn6x4v.js";
7
7
 
8
8
  // src/worktree/directory.ts
9
9
  var exports_directory = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service78,
3
- node81
4
- } from "./persistent-pty-gfze89fe.js";
2
+ Service79,
3
+ node83
4
+ } from "./job-kqbpc9q5.js";
5
5
  import {
6
6
  environment2
7
- } from "./persistent-pty-n2jk6qtv.js";
7
+ } from "./job-jpqh7gfb.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./persistent-pty-sk3qaz4a.js";
10
+ } from "./job-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./job-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError9,
19
+ NotFoundError: () => NotFoundError8,
20
20
  Options: () => Options8,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service67,
23
- UnavailableError: () => UnavailableError3,
22
+ Service: () => Service57,
23
+ UnavailableError: () => UnavailableError2,
24
24
  configured: () => configured7,
25
- layer: () => layer23,
26
- node: () => node69
25
+ layer: () => layer20,
26
+ node: () => node59
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -37,20 +37,20 @@ import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode-ai/schema/persistent-pty";
38
38
  var Options8 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError9 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError8 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service67 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service57 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* () {
53
- const bus = yield* Service78;
52
+ var makeLayer = (options = {}) => Layer.effect(Service57, Effect.gen(function* () {
53
+ const bus = yield* Service79;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
56
56
  const runFork = Effect.runForkWith(context);
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError9({ ptyID: id });
75
+ return yield* new NotFoundError8({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service67.of({
242
+ return Service57.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service67, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer23 = makeLayer();
258
+ var layer20 = makeLayer();
259
259
  var configured7 = (options) => makeGlobalNode({
260
- service: Service67,
261
- layer: options === undefined ? layer23 : makeLayer(options),
262
- deps: [node81, Global.node]
260
+ service: Service57,
261
+ layer: options === undefined ? layer20 : makeLayer(options),
262
+ deps: [node83, Global.node]
263
263
  });
264
- var node69 = configured7();
264
+ var node59 = configured7();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options8, UnavailableError3, NotFoundError9, Service67, layer23, configured7, node69, exports_persistent_pty, Handoff2 };
304
+ export { Options8, UnavailableError2, NotFoundError8, Service57, layer20, configured7, node59, exports_persistent_pty, Handoff2 };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
- Info32
5
- } from "./persistent-pty-4z6b0fg6.js";
4
+ Info29
5
+ } from "./job-rvb2zp0m.js";
6
6
  import {
7
- Info22
8
- } from "./persistent-pty-6cmxkhbe.js";
7
+ Info28
8
+ } from "./job-3mrm2hwf.js";
9
9
  import {
10
- Service78,
11
- node81
12
- } from "./persistent-pty-gfze89fe.js";
10
+ Service79,
11
+ node83
12
+ } from "./job-kqbpc9q5.js";
13
13
  import {
14
14
  create3
15
- } from "./persistent-pty-kg06axw8.js";
15
+ } from "./job-kg06axw8.js";
16
16
  import {
17
- ID7,
18
- Service57,
19
- node59
20
- } from "./persistent-pty-egz8g656.js";
17
+ ID12,
18
+ Service71,
19
+ node75
20
+ } from "./job-dt7ke0cz.js";
21
21
  import {
22
22
  __export
23
- } from "./persistent-pty-9rqn6x4v.js";
23
+ } from "./job-9rqn6x4v.js";
24
24
 
25
25
  // src/catalog.ts
26
26
  var exports_catalog2 = {};
27
27
  __export(exports_catalog2, {
28
28
  Catalog: () => exports_catalog2,
29
- Event: () => Event11,
30
- Service: () => Service56,
31
- node: () => node58
29
+ Event: () => Event16,
30
+ Service: () => Service70,
31
+ node: () => node74
32
32
  });
33
33
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode-ai/schema/catalog";
36
- import { Event as Event11 } from "@opencode-ai/schema/catalog";
36
+ import { Event as Event16 } from "@opencode-ai/schema/catalog";
37
37
 
38
- class Service56 extends Context.Service()("@opencode/Catalog") {
38
+ class Service70 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service56, Effect.gen(function* () {
41
- const bus = yield* Service78;
42
- const integrations = yield* Service57;
40
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
41
+ const bus = yield* Service79;
42
+ const integrations = yield* Service71;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
71
71
  let current = editor.providers.get(providerID);
72
72
  if (!current) {
73
73
  current = {
74
- provider: Info32.empty(providerID),
74
+ provider: Info29.empty(providerID),
75
75
  models: new Map
76
76
  };
77
77
  editor.providers.set(providerID, current);
@@ -89,12 +89,12 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
89
89
  let record = editor.providers.get(providerID);
90
90
  if (!record) {
91
91
  record = {
92
- provider: Info32.empty(providerID),
92
+ provider: Info29.empty(providerID),
93
93
  models: new Map
94
94
  };
95
95
  editor.providers.set(providerID, record);
96
96
  }
97
- const model = record.models.get(modelID) ?? Info22.default(providerID, modelID);
97
+ const model = record.models.get(modelID) ?? Info28.default(providerID, modelID);
98
98
  if (!record.models.has(modelID))
99
99
  record.models.set(modelID, model);
100
100
  fn(model);
@@ -128,7 +128,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
128
128
  }),
129
129
  available: Effect.fn("Catalog.provider.available")(function* () {
130
130
  const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
131
- return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID7.make(provider.id))));
131
+ return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID12.make(provider.id))));
132
132
  })
133
133
  },
134
134
  model: {
@@ -183,9 +183,9 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
183
183
  })
184
184
  }
185
185
  };
186
- return Service56.of(result);
186
+ return Service70.of(result);
187
187
  }));
188
188
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
189
- var node58 = makeLocationNode({ service: Service56, layer, deps: [node81, node59] });
189
+ var node74 = makeLocationNode({ service: Service70, layer, deps: [node83, node75] });
190
190
 
191
- export { Service56, node58, exports_catalog2, Event11 };
191
+ export { Service70, node74, exports_catalog2, Event16 };