@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,50 +1,50 @@
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
  llmClient2
7
- } from "./persistent-pty-0e0xafbb.js";
7
+ } from "./job-0e0xafbb.js";
8
8
  import {
9
9
  SessionEvent2
10
- } from "./persistent-pty-mntxs535.js";
10
+ } from "./job-mntxs535.js";
11
11
  import {
12
12
  create3
13
- } from "./persistent-pty-kg06axw8.js";
13
+ } from "./job-kg06axw8.js";
14
14
  import {
15
15
  toLLMMessages2
16
- } from "./persistent-pty-zbjnn3ac.js";
16
+ } from "./job-zbjnn3ac.js";
17
17
  import {
18
18
  baseTranscript2,
19
19
  unsupportedParts2
20
- } from "./persistent-pty-fadw8aff.js";
20
+ } from "./job-8q7dhh8n.js";
21
21
  import {
22
22
  isRetryable2,
23
23
  policy2
24
- } from "./persistent-pty-thfv75je.js";
24
+ } from "./job-bcezcar3.js";
25
25
  import {
26
26
  toSessionError2
27
- } from "./persistent-pty-qf2z5hbw.js";
27
+ } from "./job-8emfhm5v.js";
28
28
  import {
29
29
  estimate2
30
- } from "./persistent-pty-h6vf3j39.js";
30
+ } from "./job-h6vf3j39.js";
31
31
  import {
32
32
  record2,
33
33
  add2
34
- } from "./persistent-pty-tjykrgmx.js";
34
+ } from "./job-tjykrgmx.js";
35
35
  import {
36
36
  __export
37
- } from "./persistent-pty-9rqn6x4v.js";
37
+ } from "./job-9rqn6x4v.js";
38
38
 
39
39
  // src/session/compaction.ts
40
40
  var exports_compaction2 = {};
41
41
  __export(exports_compaction2, {
42
- Service: () => Service7,
42
+ Service: () => Service10,
43
43
  SessionCompaction: () => exports_compaction2,
44
44
  buildPrompt: () => buildPrompt2,
45
45
  estimateTokens: () => estimateTokens2,
46
- layer: () => layer7,
47
- node: () => node9,
46
+ layer: () => layer6,
47
+ node: () => node12,
48
48
  serializeToolContent: () => serializeToolContent2,
49
49
  truncateToolOutput: () => truncateToolOutput2
50
50
  });
@@ -108,7 +108,7 @@ var SUMMARY_RULES = `Rules:
108
108
  var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
109
109
  `).filter((line) => line.startsWith("##"));
110
110
 
111
- class Service7 extends Context.Service()("@opencode/SessionCompaction") {
111
+ class Service10 extends Context.Service()("@opencode/SessionCompaction") {
112
112
  }
113
113
  var estimateTokens2 = (input) => {
114
114
  const index = input.messages.findLastIndex((message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0);
@@ -262,8 +262,8 @@ var buildPrompt2 = (update) => {
262
262
  };
263
263
  var hasSummarySection = (summary) => summary.split(`
264
264
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
265
- var layer7 = Layer.effect(Service7, Effect.gen(function* () {
266
- const bus = yield* Service78;
265
+ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
266
+ const bus = yield* Service79;
267
267
  const llm = yield* LLMClient.Service;
268
268
  const state = create3({
269
269
  name: "session-compaction",
@@ -479,7 +479,7 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
479
479
  })
480
480
  }));
481
481
  });
482
- return Service7.of({
482
+ return Service10.of({
483
483
  transform: state.transform,
484
484
  reload: state.reload,
485
485
  enabled: () => state.get().auto,
@@ -488,10 +488,10 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
488
488
  compactManual
489
489
  });
490
490
  }));
491
- var node9 = makeLocationNode({
492
- service: Service7,
493
- layer: layer7,
494
- deps: [node81, llmClient2]
491
+ var node12 = makeLocationNode({
492
+ service: Service10,
493
+ layer: layer6,
494
+ deps: [node83, llmClient2]
495
495
  });
496
496
 
497
- export { Service7, estimateTokens2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node9, exports_compaction2 };
497
+ export { Service10, estimateTokens2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node12, exports_compaction2 };
@@ -1,66 +1,66 @@
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
- Service75,
7
- node78
8
- } from "./persistent-pty-c44391z3.js";
6
+ Service76,
7
+ node80
8
+ } from "./job-s8r7jtd6.js";
9
9
  import {
10
- ID2
11
- } from "./persistent-pty-7zk4hah4.js";
10
+ ID3
11
+ } from "./job-b5q5y4vk.js";
12
12
  import {
13
- Service68,
13
+ Service58,
14
14
  login2,
15
- node70
16
- } from "./persistent-pty-n2jk6qtv.js";
15
+ node60
16
+ } from "./job-jpqh7gfb.js";
17
17
  import {
18
18
  lazy2
19
- } from "./persistent-pty-88xbtdfr.js";
19
+ } from "./job-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./persistent-pty-9rqn6x4v.js";
22
+ } from "./job-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
27
  CreateInput: () => CreateInput3,
28
- Event: () => Event4,
28
+ Event: () => Event8,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info3,
31
- NotFoundError: () => NotFoundError2,
30
+ Info: () => Info9,
31
+ NotFoundError: () => NotFoundError4,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service15,
33
+ Service: () => Service39,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node17
35
+ node: () => node41
36
36
  });
37
37
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode-ai/schema/pty";
40
- import { Event as Event4 } from "@opencode-ai/schema/pty";
40
+ import { Event as Event8 } from "@opencode-ai/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info3 = Pty.Info;
44
+ var Info9 = Pty.Info;
45
45
  var CreateInput3 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID2
48
+ class NotFoundError4 extends Schema.TaggedError()("Pty.NotFoundError", {
49
+ ptyID: ID3
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID2
54
+ ptyID: ID3
55
55
  }) {
56
56
  }
57
57
 
58
- class Service15 extends Context.Service()("@opencode/Pty") {
58
+ class Service39 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service15, Effect.gen(function* () {
61
- const bus = yield* Service78;
62
- const location = yield* Service75;
63
- const shell = yield* Service68;
60
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
61
+ const bus = yield* Service79;
62
+ const location = yield* Service76;
63
+ const shell = yield* Service58;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError2({ ptyID: id });
100
+ return yield* new NotFoundError4({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID2.ascending();
126
+ const id = ID3.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service15.of({ list, get, create, update, remove, write, attach });
271
+ return Service39.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node17 = makeLocationNode({
274
- service: Service15,
273
+ var node41 = makeLocationNode({
274
+ service: Service39,
275
275
  layer,
276
- deps: [node81, node78, node70]
276
+ deps: [node83, node80, node60]
277
277
  });
278
278
 
279
- export { Info3, CreateInput3, UpdateInput2, NotFoundError2, ExitedError2, Service15, node17, exports_pty, Event4 };
279
+ export { Info9, CreateInput3, UpdateInput2, NotFoundError4, ExitedError2, Service39, node41, exports_pty, Event8 };
@@ -1,23 +1,23 @@
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
- Service75,
7
- node78
8
- } from "./persistent-pty-c44391z3.js";
6
+ Service76,
7
+ node80
8
+ } from "./job-s8r7jtd6.js";
9
9
  import {
10
10
  reconcile2,
11
11
  create3
12
- } from "./persistent-pty-kg06axw8.js";
12
+ } from "./job-kg06axw8.js";
13
13
  import {
14
14
  PATCH_CONTEXT_LINES2,
15
15
  MAX_TOTAL_PATCH_BYTES2,
16
16
  emptyPatch2
17
- } from "./persistent-pty-tazgh4e4.js";
17
+ } from "./job-tazgh4e4.js";
18
18
  import {
19
19
  __export
20
- } from "./persistent-pty-9rqn6x4v.js";
20
+ } from "./job-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -28,9 +28,9 @@ __export(exports_vcs, {
28
28
  FileStatus: () => FileStatus2,
29
29
  Info: () => Info7,
30
30
  Mode: () => Mode2,
31
- Service: () => Service41,
31
+ Service: () => Service36,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node43
33
+ node: () => node38
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service41 extends Context.Service()("@opencode/Vcs") {
48
+ class Service36 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service41, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service75;
53
- const bus = yield* Service78;
52
+ const location = yield* Service76;
53
+ const bus = yield* Service79;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
56
56
  const vcs = location.vcs;
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
115
115
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
116
116
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
117
117
  }
118
- return Service41.of({
118
+ return Service36.of({
119
119
  transform: state.transform,
120
120
  reload: state.reload,
121
121
  info: Effect.fn("Vcs.info")(function* () {
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node43 = makeLocationNode({
165
- service: Service41,
164
+ var node38 = makeLocationNode({
165
+ service: Service36,
166
166
  layer,
167
- deps: [FSUtil.node, node78, node81]
167
+ deps: [FSUtil.node, node80, node83]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info7, Mode2, DiffError2, Service41, node43, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info7, Mode2, DiffError2, Service36, node38, exports_vcs };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options6,
9
+ Options: () => Options7,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options6 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options6]))]);
13
+ var Options7 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
15
15
 
16
- export { Options6, Spec2, exports_plugin3 };
16
+ export { Options7, Spec2, exports_plugin3 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service75
3
- } from "./persistent-pty-c44391z3.js";
2
+ Service76
3
+ } from "./job-s8r7jtd6.js";
4
4
  import {
5
- Service72
6
- } from "./persistent-pty-wfq5jtmb.js";
5
+ Service60
6
+ } from "./job-xk9j8rng.js";
7
7
  import {
8
- Service51,
8
+ Service59,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./persistent-pty-fy3x4dmh.js";
11
+ } from "./job-mj4n74vr.js";
12
12
  import {
13
- Service16
14
- } from "./persistent-pty-t0av4jg5.js";
13
+ Service75
14
+ } from "./job-fw05b7c3.js";
15
15
  import {
16
16
  externalDirectoryPermission2,
17
17
  resolvePath2,
18
- Service45
19
- } from "./persistent-pty-tcsbw5z6.js";
18
+ Service68
19
+ } from "./job-dqs7g4t8.js";
20
20
  import {
21
- Service61
22
- } from "./persistent-pty-rbyt0q31.js";
21
+ Service49
22
+ } from "./job-mpsk2es2.js";
23
23
  import {
24
24
  fileDiff2
25
- } from "./persistent-pty-6prwharc.js";
25
+ } from "./job-6prwharc.js";
26
26
  import {
27
27
  __export
28
- } from "./persistent-pty-9rqn6x4v.js";
28
+ } from "./job-9rqn6x4v.js";
29
29
 
30
30
  // src/tool/plugin/edit.ts
31
31
  var exports_edit = {};
@@ -33,7 +33,7 @@ __export(exports_edit, {
33
33
  EditTool: () => exports_edit,
34
34
  Input: () => Input2,
35
35
  Output: () => Output2,
36
- Plugin: () => Plugin32,
36
+ Plugin: () => Plugin18,
37
37
  name: () => name2
38
38
  });
39
39
  import { ToolFailure } from "@opencode-ai/ai";
@@ -104,15 +104,15 @@ var findLineOccurrences = (content, search) => {
104
104
  return result;
105
105
  }, []);
106
106
  };
107
- var Plugin32 = {
107
+ var Plugin18 = {
108
108
  id: "opencode.tool.edit",
109
109
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
110
- const mutation = yield* Service45;
111
- const fileMutation = yield* Service51;
112
- const environment = yield* Service72;
113
- const formatter = yield* Service16;
114
- const location = yield* Service75;
115
- const permission = yield* Service61;
110
+ const mutation = yield* Service68;
111
+ const fileMutation = yield* Service59;
112
+ const environment = yield* Service60;
113
+ const formatter = yield* Service75;
114
+ const location = yield* Service76;
115
+ const permission = yield* Service49;
116
116
  yield* ctx.tool.transform((editor) => editor.add({
117
117
  name: name2,
118
118
  options: { codemode: false, permission: "edit" },
@@ -203,4 +203,4 @@ var Plugin32 = {
203
203
  })
204
204
  };
205
205
 
206
- export { name2, Input2, Output2, Plugin32, exports_edit };
206
+ export { name2, Input2, Output2, Plugin18, exports_edit };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  mergeOverlay2
3
- } from "./persistent-pty-4z6b0fg6.js";
3
+ } from "./job-rvb2zp0m.js";
4
4
  import {
5
- Service56
6
- } from "./persistent-pty-75yd3t4x.js";
5
+ Service70
6
+ } from "./job-9afcvx35.js";
7
7
  import {
8
- Service46
9
- } from "./persistent-pty-t5zy0tn8.js";
8
+ Service45
9
+ } from "./job-8kadg3td.js";
10
10
 
11
11
  // src/plugin/provider/configured.ts
12
12
  import { Effect, Option } from "effect";
13
13
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
14
- const catalog = yield* Service56;
14
+ const catalog = yield* Service70;
15
15
  const current = (yield* catalog.provider.get(id))?.settings;
16
- const service = yield* Effect.serviceOption(Service46);
16
+ const service = yield* Effect.serviceOption(Service45);
17
17
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
18
18
  return foldSettings2(entries, id, current);
19
19
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  packageName2
3
- } from "./persistent-pty-4z6b0fg6.js";
3
+ } from "./job-rvb2zp0m.js";
4
4
 
5
5
  // src/plugin/provider/cerebras.ts
6
6
  import { Effect } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./persistent-pty-2a5m3afh.js";
3
+ } from "./job-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./persistent-pty-p8qxwesx.js";
6
+ } from "./job-p8qxwesx.js";
7
7
  import {
8
- Service75
9
- } from "./persistent-pty-c44391z3.js";
8
+ Service76
9
+ } from "./job-s8r7jtd6.js";
10
10
  import {
11
- Service72
12
- } from "./persistent-pty-wfq5jtmb.js";
11
+ Service60
12
+ } from "./job-xk9j8rng.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service71
16
- } from "./persistent-pty-njxgh0n2.js";
15
+ Service42
16
+ } from "./job-cj66esvq.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
- Entry4,
21
+ Entry2,
22
22
  Match2
23
- } from "./persistent-pty-hnhdj7rj.js";
23
+ } from "./job-6z2sa7jc.js";
24
24
  import {
25
25
  externalDirectoryPermission2,
26
- Service45
27
- } from "./persistent-pty-tcsbw5z6.js";
26
+ Service68
27
+ } from "./job-dqs7g4t8.js";
28
28
  import {
29
- Service61
30
- } from "./persistent-pty-rbyt0q31.js";
29
+ Service49
30
+ } from "./job-mpsk2es2.js";
31
31
  import {
32
32
  __export
33
- } from "./persistent-pty-9rqn6x4v.js";
33
+ } from "./job-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/grep.ts
36
36
  var exports_grep = {};
37
37
  __export(exports_grep, {
38
38
  GrepTool: () => exports_grep,
39
- Input: () => Input10,
40
- Output: () => Output8,
41
- Plugin: () => Plugin40,
42
- name: () => name10,
43
- toModelContent: () => toModelContent6
39
+ Input: () => Input9,
40
+ Output: () => Output6,
41
+ Plugin: () => Plugin26,
42
+ name: () => name9,
43
+ toModelContent: () => toModelContent5
44
44
  });
45
45
  import { ToolFailure } from "@opencode-ai/ai";
46
46
  import { Effect, Schema } from "effect";
47
47
  import path from "path";
48
- var name10 = "grep";
49
- var Input10 = Schema.Struct({
48
+ var name9 = "grep";
49
+ var Input9 = Schema.Struct({
50
50
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
51
51
  description: "Regular expression or literal text to match in file contents."
52
52
  }),
@@ -66,8 +66,8 @@ var Input10 = Schema.Struct({
66
66
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
67
67
  })
68
68
  });
69
- var Output8 = Schema.Array(Match2);
70
- var toModelContent6 = (matches, truncated = false) => {
69
+ var Output6 = Schema.Array(Match2);
70
+ var toModelContent5 = (matches, truncated = false) => {
71
71
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
72
72
  let current = "";
73
73
  for (const match of matches) {
@@ -84,20 +84,20 @@ var toModelContent6 = (matches, truncated = false) => {
84
84
  return lines.join(`
85
85
  `);
86
86
  };
87
- var Plugin40 = {
87
+ var Plugin26 = {
88
88
  id: "opencode.tool.grep",
89
89
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
90
- const environment = yield* Service72;
91
- const ripgrep = yield* Service71;
92
- const location = yield* Service75;
93
- const mutation = yield* Service45;
94
- const permission = yield* Service61;
90
+ const environment = yield* Service60;
91
+ const ripgrep = yield* Service42;
92
+ const location = yield* Service76;
93
+ const mutation = yield* Service68;
94
+ const permission = yield* Service49;
95
95
  yield* ctx.tool.transform((editor) => editor.add({
96
- name: name10,
96
+ name: name9,
97
97
  options: { codemode: false },
98
98
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
99
- input: Input10,
100
- output: Output8,
99
+ input: Input9,
100
+ output: Output6,
101
101
  execute: (input, context) => Effect.gen(function* () {
102
102
  const source = { type: "tool", messageID: context.messageID, id: context.id };
103
103
  const target = yield* mutation.resolve({ path: input.path ?? "." });
@@ -109,7 +109,7 @@ var Plugin40 = {
109
109
  source
110
110
  });
111
111
  yield* permission.assert({
112
- action: name10,
112
+ action: name9,
113
113
  resources: [input.pattern],
114
114
  save: ["*"],
115
115
  metadata: {
@@ -143,7 +143,7 @@ var Plugin40 = {
143
143
  }))
144
144
  }), Effect.map((result) => result.map((match) => Match2.make({
145
145
  ...match,
146
- entry: Entry4.make({
146
+ entry: Entry2.make({
147
147
  ...match.entry,
148
148
  path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
149
149
  })
@@ -151,7 +151,7 @@ var Plugin40 = {
151
151
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
152
152
  }).pipe(Effect.map((result) => ({
153
153
  output: result.matches,
154
- content: toModelContent6(result.matches.map((match) => ({
154
+ content: toModelContent5(result.matches.map((match) => ({
155
155
  ...match,
156
156
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
157
157
  })), result.truncated),
@@ -161,4 +161,4 @@ var Plugin40 = {
161
161
  })
162
162
  };
163
163
 
164
- export { name10, Input10, Output8, toModelContent6, Plugin40, exports_grep };
164
+ export { name9, Input9, Output6, toModelContent5, Plugin26, exports_grep };