@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,31 +1,31 @@
1
1
  import {
2
- ID18,
2
+ ID16,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./persistent-pty-4z6b0fg6.js";
5
+ } from "./job-rvb2zp0m.js";
6
6
  import {
7
- ID9
8
- } from "./persistent-pty-6cmxkhbe.js";
7
+ ID15
8
+ } from "./job-3mrm2hwf.js";
9
9
  import {
10
- Service78
11
- } from "./persistent-pty-gfze89fe.js";
10
+ Service79
11
+ } from "./job-kqbpc9q5.js";
12
12
  import {
13
13
  OAuth3,
14
- Event14
15
- } from "./persistent-pty-rc2v55kv.js";
14
+ Event19
15
+ } from "./job-ywh3ajq2.js";
16
16
  import {
17
- ID7,
17
+ ID12,
18
18
  MethodID2
19
- } from "./persistent-pty-egz8g656.js";
19
+ } from "./job-dt7ke0cz.js";
20
20
  import {
21
- Service56
22
- } from "./persistent-pty-75yd3t4x.js";
21
+ Service70
22
+ } from "./job-9afcvx35.js";
23
23
  import {
24
- get2
25
- } from "./persistent-pty-pfdftes8.js";
24
+ get3
25
+ } from "./job-5mhvc9ws.js";
26
26
  import {
27
27
  useragent2
28
- } from "./persistent-pty-tdz2d0bf.js";
28
+ } from "./job-60yfj30v.js";
29
29
 
30
30
  // src/plugin/provider/github-copilot.ts
31
31
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
57
57
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
58
58
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
59
59
  var oauth = (app) => ({
60
- integrationID: ID7.make("github-copilot"),
60
+ integrationID: ID12.make("github-copilot"),
61
61
  method: {
62
62
  id: methodID,
63
63
  type: "oauth",
@@ -155,8 +155,8 @@ var oauth = (app) => ({
155
155
  var GithubCopilotPlugin2 = define({
156
156
  id: "opencode.provider.github.copilot",
157
157
  effect: Effect.fn(function* (ctx) {
158
- const catalog = yield* Service56;
159
- const bus = yield* Service78;
158
+ const catalog = yield* Service70;
159
+ const bus = yield* Service79;
160
160
  const loading = Semaphore.makeUnsafe(1);
161
161
  const loaded = {};
162
162
  const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
170
170
  return;
171
171
  }
172
172
  loaded.baseURL = copilotBaseURL2(credential.metadata);
173
- const provider = yield* catalog.provider.get(ID18.githubCopilot);
174
- const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID18.githubCopilot);
173
+ const provider = yield* catalog.provider.get(ID16.githubCopilot);
174
+ const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID16.githubCopilot);
175
175
  loaded.models = yield* Effect.tryPromise({
176
- try: () => get2(loaded.baseURL ?? baseURL(), {
176
+ try: () => get3(loaded.baseURL ?? baseURL(), {
177
177
  ...provider?.headers,
178
178
  Authorization: `Bearer ${credential.refresh}`,
179
179
  "User-Agent": useragent2(ctx.app),
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
187
187
  editor.method.update(oauth(ctx.app));
188
188
  });
189
189
  yield* ctx.catalog.transform((evt) => {
190
- const item = evt.provider.get(ID18.githubCopilot);
190
+ const item = evt.provider.get(ID16.githubCopilot);
191
191
  if (!item)
192
192
  return;
193
193
  if (loaded.models) {
194
194
  for (const id of item.models.keys()) {
195
- if (!loaded.models.has(ID9.make(id)))
195
+ if (!loaded.models.has(ID15.make(id)))
196
196
  evt.model.remove(item.provider.id, id);
197
197
  }
198
198
  for (const [id, model] of loaded.models) {
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
207
207
  });
208
208
  }
209
209
  }
210
- if (item.models.has(ID9.make("gpt-5-chat-latest"))) {
211
- evt.model.update(item.provider.id, ID9.make("gpt-5-chat-latest"), (model) => {
210
+ if (item.models.has(ID15.make("gpt-5-chat-latest"))) {
211
+ evt.model.update(item.provider.id, ID15.make("gpt-5-chat-latest"), (model) => {
212
212
  model.enabled = false;
213
213
  });
214
214
  }
215
215
  });
216
216
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
217
- yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
217
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
218
218
  yield* refresh().pipe(Effect.forkScoped);
219
219
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
220
- if (evt.model.providerID !== ID18.githubCopilot)
220
+ if (evt.model.providerID !== ID16.githubCopilot)
221
221
  return;
222
222
  if (evt.package !== "@ai-sdk/github-copilot")
223
223
  return;
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
226
226
  evt.sdk = mod.createOpenaiCompatible(evt.options);
227
227
  }));
228
228
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
229
- if (evt.model.providerID !== ID18.githubCopilot)
229
+ if (evt.model.providerID !== ID16.githubCopilot)
230
230
  return;
231
231
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
232
232
  return;
@@ -235,9 +235,9 @@ var GithubCopilotPlugin2 = define({
235
235
  evt.headers["X-Interaction-Type"] = interaction;
236
236
  if (interaction !== "conversation-agent")
237
237
  evt.headers["x-initiator"] = "agent";
238
- }), { providerID: ID18.githubCopilot });
238
+ }), { providerID: ID16.githubCopilot });
239
239
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
240
- if (evt.model.providerID !== ID18.githubCopilot)
240
+ if (evt.model.providerID !== ID16.githubCopilot)
241
241
  return;
242
242
  const token = evt.request.headers.get("x-api-key");
243
243
  if (!token)
@@ -245,9 +245,9 @@ var GithubCopilotPlugin2 = define({
245
245
  const text = yield* Effect.promise(() => evt.request.clone().text());
246
246
  const body = Option.getOrUndefined(decodeBody(text));
247
247
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
248
- }), { providerID: ID18.githubCopilot });
248
+ }), { providerID: ID16.githubCopilot });
249
249
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
250
- if (evt.model.providerID !== ID18.githubCopilot)
250
+ if (evt.model.providerID !== ID16.githubCopilot)
251
251
  return;
252
252
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
253
253
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./persistent-pty-fxgpk5d8.js";
3
+ } from "./job-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./persistent-pty-g4wezp1m.js";
6
+ } from "./job-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./persistent-pty-x61499pn.js";
9
+ } from "./job-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./persistent-pty-af5trqkr.js";
12
+ } from "./job-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./persistent-pty-afrmfg78.js";
15
+ } from "./job-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./persistent-pty-x0ckcb58.js";
18
+ } from "./job-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -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/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
7
7
  __export(exports_protected, {
8
8
  Protected: () => exports_protected,
9
9
  isHome: () => isHome2,
10
- names: () => names4,
10
+ names: () => names3,
11
11
  paths: () => paths2
12
12
  });
13
13
  import os from "os";
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
41
41
  ];
42
42
  var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
43
43
  var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
44
- function names4() {
44
+ function names3() {
45
45
  if (process.platform === "darwin")
46
46
  return new Set(DARWIN_HOME);
47
47
  if (process.platform === "win32")
@@ -60,4 +60,4 @@ function paths2() {
60
60
  return [];
61
61
  }
62
62
 
63
- export { isHome2, names4, paths2, exports_protected };
63
+ export { isHome2, names3, paths2, exports_protected };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service79,
3
- node82
4
- } from "./persistent-pty-gg2fk1c4.js";
2
+ Service80,
3
+ node84
4
+ } from "./job-ynhf546z.js";
5
5
  import {
6
6
  latestSequence2,
7
- Service78,
8
- node81
9
- } from "./persistent-pty-gfze89fe.js";
7
+ Service79,
8
+ node83
9
+ } from "./job-kqbpc9q5.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./persistent-pty-0e0xafbb.js";
12
+ } from "./job-0e0xafbb.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./persistent-pty-mntxs535.js";
15
+ } from "./job-mntxs535.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./persistent-pty-dnk7gmhh.js";
18
+ } from "./job-m8tcekea.js";
19
19
  import {
20
- Service62,
21
- node64
22
- } from "./persistent-pty-rys4mg1v.js";
20
+ Service51,
21
+ node53
22
+ } from "./job-c91s5gke.js";
23
23
  import {
24
- Service18,
25
- node21
26
- } from "./persistent-pty-xm1jwy74.js";
24
+ Service16,
25
+ node19
26
+ } from "./job-hw83ew9d.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./persistent-pty-tjykrgmx.js";
30
+ } from "./job-tjykrgmx.js";
31
31
  import {
32
32
  __export
33
- } from "./persistent-pty-9rqn6x4v.js";
33
+ } from "./job-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service6,
38
+ Service: () => Service11,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer6,
42
- node: () => node8
41
+ layer: () => layer7,
42
+ node: () => node13
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode-ai/ai";
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service6 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service11 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer6 = Layer.effect(Service6, Effect.gen(function* () {
62
- const bus = yield* Service78;
61
+ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
62
+ const bus = yield* Service79;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service18;
65
- const store = yield* Service62;
66
- const db = (yield* Service79).db;
64
+ const context = yield* Service16;
65
+ const store = yield* Service51;
66
+ const db = (yield* Service80).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
69
69
  let failed = false;
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service6.of({ generate });
148
+ return Service11.of({ generate });
149
149
  }));
150
- var node8 = makeLocationNode({
151
- service: Service6,
152
- layer: layer6,
153
- deps: [node81, llmClient2, node21, node64, node82]
150
+ var node13 = makeLocationNode({
151
+ service: Service11,
152
+ layer: layer7,
153
+ deps: [node83, llmClient2, node19, node53, node84]
154
154
  });
155
155
 
156
- export { Service6, isUntitled2, layer6, node8, exports_title };
156
+ export { Service11, isUntitled2, layer7, node13, exports_title };
@@ -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/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,26 +1,26 @@
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/project/schema.ts
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
12
  Event: () => Event20,
13
- ID: () => ID17,
14
- Info: () => Info31,
13
+ ID: () => ID18,
14
+ Info: () => Info32,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput4,
17
17
  Vcs: () => Vcs3
18
18
  });
19
19
  import { Schema } from "effect";
20
20
  import { Project } from "@opencode-ai/schema/project";
21
- var ID17 = Project.ID;
21
+ var ID18 = Project.ID;
22
22
  var Current3 = Project.Current;
23
- var Info31 = Project.Info;
23
+ var Info32 = Project.Info;
24
24
  var UpdateInput4 = Project.UpdateInput;
25
25
  var Event20 = Project.Event;
26
26
  var Vcs3 = Schema.Struct({
@@ -28,4 +28,4 @@ var Vcs3 = Schema.Struct({
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID17, Current3, Info31, UpdateInput4, Event20, Vcs3, exports_schema };
31
+ export { ID18, Current3, Info32, UpdateInput4, Event20, Vcs3, exports_schema };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service61
3
- } from "./persistent-pty-rbyt0q31.js";
2
+ Service49
3
+ } from "./job-mpsk2es2.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./persistent-pty-a1tpkmh4.js";
7
+ } from "./job-a1tpkmh4.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./persistent-pty-3v8g72cx.js";
10
+ } from "./job-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./job-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input12,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
19
+ Input: () => Input7,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin43,
22
+ Plugin: () => Plugin24,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description5,
25
+ description: () => description3,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name12
27
+ name: () => name7
28
28
  });
29
29
  import { ToolFailure } from "@opencode-ai/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name12 = "webfetch";
34
- var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
33
+ var name7 = "webfetch";
34
+ var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input12 = Schema.Struct({
41
+ var Input7 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input12 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input12.fields.format,
51
+ format: Input7.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin43 = {
95
+ var Plugin24 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service61;
99
+ const permission = yield* Service49;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name12,
101
+ name: name7,
102
102
  options: { codemode: false },
103
- description: description5,
104
- input: Input12,
103
+ description: description3,
104
+ input: Input7,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin43 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name12,
112
+ action: name7,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name12, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input12, Plugin43, extractTextFromHTML2, exports_webfetch };
170
+ export { name7, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input7, Plugin24, extractTextFromHTML2, exports_webfetch };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service40,
8
+ Service: () => Service44,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node42
10
+ node: () => node46
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
14
14
 
15
- class Service40 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service44 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service40, () => {
17
+ var layer = Layer.sync(Service44, () => {
18
18
  const environments = new Map;
19
- return Service40.of({
19
+ return Service44.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service40, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node42 = makeGlobalNode({ service: Service40, layer, deps: [] });
29
+ var node46 = makeGlobalNode({ service: Service44, layer, deps: [] });
30
30
 
31
- export { Service40, node42, exports_environment };
31
+ export { Service44, node46, exports_environment };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-p8qxwesx.js";
3
+ } from "./job-p8qxwesx.js";
4
4
  import {
5
- Service75
6
- } from "./persistent-pty-c44391z3.js";
5
+ Service76
6
+ } from "./job-s8r7jtd6.js";
7
7
  import {
8
8
  externalDirectoryPermission2,
9
- Service45
10
- } from "./persistent-pty-tcsbw5z6.js";
9
+ Service68
10
+ } from "./job-dqs7g4t8.js";
11
11
  import {
12
- Service61
13
- } from "./persistent-pty-rbyt0q31.js";
12
+ Service49
13
+ } from "./job-mpsk2es2.js";
14
14
  import {
15
- Service11
16
- } from "./persistent-pty-ygpseft7.js";
15
+ Service12
16
+ } from "./job-f4yhk0zg.js";
17
17
  import {
18
18
  NotFound2
19
- } from "./persistent-pty-2a5m3afh.js";
19
+ } from "./job-2a5m3afh.js";
20
20
  import {
21
21
  MEDIA_MIMES2,
22
22
  BinaryFileError2,
@@ -27,26 +27,26 @@ import {
27
27
  FileContent2,
28
28
  TextPage2,
29
29
  ListPage2,
30
- Service12
31
- } from "./persistent-pty-5djpcxd2.js";
30
+ Service5
31
+ } from "./job-qwtjsqs5.js";
32
32
  import {
33
33
  __export
34
- } from "./persistent-pty-9rqn6x4v.js";
34
+ } from "./job-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/read.ts
37
37
  var exports_read = {};
38
38
  __export(exports_read, {
39
- Input: () => Input8,
40
- Plugin: () => Plugin38,
39
+ Input: () => Input12,
40
+ Plugin: () => Plugin29,
41
41
  ReadTool: () => exports_read,
42
- name: () => name8,
43
- toModelContent: () => toModelContent4
42
+ name: () => name12,
43
+ toModelContent: () => toModelContent6
44
44
  });
45
45
  import { basename, dirname, join } from "path";
46
46
  import { ToolFailure } from "@opencode-ai/ai";
47
47
  import { Effect, Schema } from "effect";
48
48
  import { FSUtil } from "@opencode-ai/util/fs-util";
49
- var name8 = "read";
49
+ var name12 = "read";
50
50
  var FILENAME = "AGENTS.md";
51
51
  var LocationInput = Schema.Struct({
52
52
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -57,22 +57,22 @@ var LocationInput = Schema.Struct({
57
57
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
58
58
  })
59
59
  });
60
- var Input8 = LocationInput;
60
+ var Input12 = LocationInput;
61
61
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
62
- var Plugin38 = {
62
+ var Plugin29 = {
63
63
  id: "opencode.tool.read",
64
64
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
65
- const reader = yield* Service12;
66
- const mutation = yield* Service45;
67
- const permission = yield* Service61;
68
- const sessionInstructions = yield* Service11;
65
+ const reader = yield* Service5;
66
+ const mutation = yield* Service68;
67
+ const permission = yield* Service49;
68
+ const sessionInstructions = yield* Service12;
69
69
  const fs = yield* FSUtil.Service;
70
- const location = yield* Service75;
70
+ const location = yield* Service76;
71
71
  yield* ctx.tool.transform((editor) => editor.add({
72
- name: name8,
72
+ name: name12,
73
73
  options: { codemode: false },
74
74
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
75
- input: Input8,
75
+ input: Input12,
76
76
  output: Output,
77
77
  execute: (input, context) => {
78
78
  return Effect.gen(function* () {
@@ -90,7 +90,7 @@ var Plugin38 = {
90
90
  source
91
91
  });
92
92
  yield* permission.assert({
93
- action: name8,
93
+ action: name12,
94
94
  resources: [target.resource],
95
95
  save: ["*"],
96
96
  sessionID: context.sessionID,
@@ -141,7 +141,7 @@ var Plugin38 = {
141
141
  return { output: result.content, path: result.path };
142
142
  }).pipe(Effect.map((result) => ({
143
143
  output: result.output,
144
- content: toModelContent4(result.path, input.offset, result.output),
144
+ content: toModelContent6(result.path, input.offset, result.output),
145
145
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
146
146
  })), Effect.mapError((error) => {
147
147
  if (error instanceof ToolFailure)
@@ -173,7 +173,7 @@ ${suggestions.join(`
173
173
  });
174
174
  })
175
175
  };
176
- var toModelContent4 = (path, offset, output) => {
176
+ var toModelContent6 = (path, offset, output) => {
177
177
  if (output.type === "file" && output.encoding === "base64")
178
178
  return [
179
179
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -208,4 +208,4 @@ var toModelContent4 = (path, offset, output) => {
208
208
  `);
209
209
  };
210
210
 
211
- export { name8, Input8, Plugin38, toModelContent4, exports_read };
211
+ export { name12, Input12, Plugin29, toModelContent6, exports_read };