@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,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./persistent-pty-qfa1cgps.js";
3
+ } from "./job-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./persistent-pty-qvbcabdc.js";
6
+ } from "./job-9qm9egsn.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-exclusion.ts
6
6
  var exports_mcp_codemode_exclusion = {};
7
7
  __export(exports_mcp_codemode_exclusion, {
8
8
  McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
9
- Plugin: () => Plugin30
9
+ Plugin: () => Plugin37
10
10
  });
11
11
  import { define } from "@opencode-ai/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
- var Plugin30 = define({
14
+ var Plugin37 = define({
15
15
  id: "opencode.mcp.codemode.exclusion",
16
16
  effect: Effect.fn(function* (ctx) {
17
17
  yield* ctx.mcp.transform((editor) => {
@@ -34,4 +34,4 @@ var Plugin30 = define({
34
34
  })
35
35
  });
36
36
 
37
- export { Plugin30, exports_mcp_codemode_exclusion };
37
+ export { Plugin37, exports_mcp_codemode_exclusion };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./persistent-pty-0e0xafbb.js";
3
+ } from "./job-0e0xafbb.js";
4
4
  import {
5
- Service55,
6
- node57
7
- } from "./persistent-pty-61vgpbh6.js";
5
+ Service69,
6
+ node73
7
+ } from "./job-vxand066.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./job-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate2 = {};
14
14
  __export(exports_generate2, {
15
15
  Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service38,
18
- UnavailableError: () => UnavailableError2,
19
- layer: () => layer16,
20
- node: () => node40
17
+ Service: () => Service67,
18
+ UnavailableError: () => UnavailableError3,
19
+ layer: () => layer23,
20
+ node: () => node71
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode-ai/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,45 +27,45 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service38 extends Context.Service()("@opencode/Generate") {
36
+ class Service67 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer16 = Layer.effect(Service38, Effect.gen(function* () {
38
+ var layer23 = Layer.effect(Service67, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service55;
40
+ const resolver = yield* Service69;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
44
44
  "SessionRunnerModel.UnsupportedPackageError",
45
45
  "SessionRunnerModel.UnresolvedProviderVariablesError"
46
46
  ], (error) => {
47
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
47
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
48
48
  return Effect.fail(mapped);
49
49
  }));
50
50
  if (!resolved)
51
51
  return yield* new ModelSelectionError2({
52
52
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
53
53
  });
54
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
54
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
55
55
  message: error.message,
56
56
  service: resolved.ref.providerID
57
57
  })));
58
58
  return response.text;
59
59
  });
60
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
60
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
61
61
  message: "Generation credentials are unavailable"
62
62
  })));
63
- return Service38.of({ text });
63
+ return Service67.of({ text });
64
64
  }));
65
- var node40 = makeLocationNode({
66
- service: Service38,
67
- layer: layer16,
68
- deps: [node57, llmClient2]
65
+ var node71 = makeLocationNode({
66
+ service: Service67,
67
+ layer: layer23,
68
+ deps: [node73, llmClient2]
69
69
  });
70
70
 
71
- export { ModelSelectionError2, UnavailableError2, Service38, layer16, node40, exports_generate2 };
71
+ export { ModelSelectionError2, UnavailableError3, Service67, layer23, node71, exports_generate2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-p8qxwesx.js";
3
+ } from "./job-p8qxwesx.js";
4
4
  import {
5
5
  root2
6
- } from "./persistent-pty-02ghykkt.js";
6
+ } from "./job-m4yjb678.js";
7
7
  import {
8
- Service75,
9
- node78
10
- } from "./persistent-pty-c44391z3.js";
8
+ Service76,
9
+ node80
10
+ } from "./job-s8r7jtd6.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./job-9rqn6x4v.js";
14
14
 
15
15
  // src/location-mutation.ts
16
16
  var exports_location_mutation = {};
@@ -18,9 +18,9 @@ __export(exports_location_mutation, {
18
18
  Kind: () => Kind2,
19
19
  LocationMutation: () => exports_location_mutation,
20
20
  ResolveInput: () => ResolveInput2,
21
- Service: () => Service45,
21
+ Service: () => Service68,
22
22
  externalDirectoryPermission: () => externalDirectoryPermission2,
23
- node: () => node47,
23
+ node: () => node72,
24
24
  resolvePath: () => resolvePath2
25
25
  });
26
26
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -43,12 +43,12 @@ var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  return path.resolve(directory, normalized === "~" ? home : normalized.startsWith("~/") || process.platform === "win32" && normalized.startsWith("~\\") ? path.join(home, normalized.slice(2)) : normalized);
44
44
  };
45
45
 
46
- class Service45 extends Context.Service()("@opencode/LocationMutation") {
46
+ class Service68 extends Context.Service()("@opencode/LocationMutation") {
47
47
  }
48
48
  var slash = (value) => value.replaceAll("\\", "/");
49
- var layer = Layer.effect(Service45, Effect.gen(function* () {
49
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
50
50
  const fs = yield* FSUtil.Service;
51
- const location = yield* Service75;
51
+ const location = yield* Service76;
52
52
  const resolve = Effect.fnUntraced(function* (input) {
53
53
  const absolute = resolvePath2(location.directory, input.path);
54
54
  const worktree = path.resolve(location.project.directory);
@@ -73,12 +73,12 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
73
73
  }
74
74
  };
75
75
  });
76
- return Service45.of({ resolve });
76
+ return Service68.of({ resolve });
77
77
  }));
78
- var node47 = makeLocationNode({
79
- service: Service45,
78
+ var node72 = makeLocationNode({
79
+ service: Service68,
80
80
  layer,
81
- deps: [FSUtil.node, node78]
81
+ deps: [FSUtil.node, node80]
82
82
  });
83
83
 
84
- export { Kind2, ResolveInput2, externalDirectoryPermission2, resolvePath2, Service45, node47, exports_location_mutation };
84
+ export { Kind2, ResolveInput2, externalDirectoryPermission2, resolvePath2, Service68, node72, exports_location_mutation };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./persistent-pty-p8qxwesx.js";
3
+ } from "./job-p8qxwesx.js";
4
4
  import {
5
- Info18
6
- } from "./persistent-pty-2m4g9ewj.js";
5
+ Info17
6
+ } from "./job-hj3nn2ka.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./job-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
13
13
  __export(exports_agent3, {
14
14
  ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info11
15
+ Info: () => Info16
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info18)
47
+ permission: Schema.optional(Info17)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info11 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info16 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info11, exports_agent3 };
74
+ export { Info16, exports_agent3 };
@@ -1,22 +1,22 @@
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
- Key3,
7
- Service59,
8
- node61
9
- } from "./persistent-pty-rc2v55kv.js";
6
+ Key4,
7
+ Service74,
8
+ node78
9
+ } from "./job-ywh3ajq2.js";
10
10
  import {
11
11
  create3
12
- } from "./persistent-pty-kg06axw8.js";
12
+ } from "./job-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./persistent-pty-hrabpqyz.js";
16
+ } from "./job-fr5x210x.js";
17
17
  import {
18
18
  __export
19
- } from "./persistent-pty-9rqn6x4v.js";
19
+ } from "./job-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -30,17 +30,17 @@ __export(exports_integration, {
30
30
  CommandAttemptStatus: () => CommandAttemptStatus2,
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
- Event: () => Event12,
34
- ID: () => ID7,
35
- Info: () => Info20,
33
+ Event: () => Event17,
34
+ ID: () => ID12,
35
+ Info: () => Info25,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
41
  Ref: () => Ref2,
42
- Service: () => Service57,
43
- node: () => node59
42
+ Service: () => Service71,
43
+ node: () => node75
44
44
  });
45
45
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
46
46
  import {
@@ -61,8 +61,8 @@ import {
61
61
  import { Integration } from "@opencode-ai/schema/integration";
62
62
  import { AppProcess } from "@opencode-ai/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
- import { Event as Event12 } from "@opencode-ai/schema/integration";
65
- var ID7 = Integration.ID;
64
+ import { Event as Event17 } from "@opencode-ai/schema/integration";
65
+ var ID12 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
68
68
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info20 = Integration.Info;
73
+ var Info25 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -87,14 +87,14 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
87
87
  }
88
88
  var Ref2 = Integration.Ref;
89
89
 
90
- class Service57 extends Context.Service()("@opencode/Integration") {
90
+ class Service71 extends Context.Service()("@opencode/Integration") {
91
91
  }
92
92
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
- var layer = Layer.effect(Service57, Effect.gen(function* () {
96
- const credentials = yield* Service59;
97
- const bus = yield* Service78;
95
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
96
+ const credentials = yield* Service74;
97
+ const bus = yield* Service79;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
100
100
  const attempts = SynchronizedRef.makeUnsafe(new Map);
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info20.make({
190
+ const project = (entry, connections) => Info25.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
271
271
  const persistence = yield* createCredential({
272
272
  integrationID: attempt.integrationID,
273
273
  label: attempt.label,
274
- value: Key3.make({ type: "key", key: exit.value })
274
+ value: Key4.make({ type: "key", key: exit.value })
275
275
  }).pipe(Effect.asVoid, Effect.exit);
276
276
  const settledAt = yield* Clock.currentTimeMillis;
277
277
  const terminal = Exit.isSuccess(persistence) ? {
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
417
417
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
418
418
  return CommandAttempt2.make({ attemptID, time });
419
419
  });
420
- return Service57.of({
420
+ return Service71.of({
421
421
  transform: state.transform,
422
422
  reload: state.reload,
423
423
  get: Effect.fn("Integration.get")(function* (id) {
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
438
438
  resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
439
439
  if (connection.type === "env") {
440
440
  const key = process.env[connection.name];
441
- return key ? Key3.make({ type: "key", key }) : undefined;
441
+ return key ? Key4.make({ type: "key", key }) : undefined;
442
442
  }
443
443
  const credential = yield* credentials.get(connection.id);
444
444
  if (!credential)
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
471
471
  yield* createCredential({
472
472
  integrationID: input.integrationID,
473
473
  label: input.label,
474
- value: Key3.make({
474
+ value: Key4.make({
475
475
  type: "key",
476
476
  key: input.key,
477
477
  ...Object.keys(answer).length > 0 ? { configuration: answer } : {}
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node59 = makeLocationNode({
569
- service: Service57,
568
+ var node75 = makeLocationNode({
569
+ service: Service71,
570
570
  layer,
571
- deps: [node61, node81, AppProcess.node]
571
+ deps: [node78, node83, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID7, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info20, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service57, node59, exports_integration, Event12 };
574
+ export { ID12, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info25, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service71, node75, exports_integration, Event17 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./persistent-pty-4z6b0fg6.js";
4
+ } from "./job-rvb2zp0m.js";
5
5
  import {
6
6
  __export
7
- } from "./persistent-pty-9rqn6x4v.js";
7
+ } from "./job-9rqn6x4v.js";
8
8
 
9
9
  // src/aisdk-native.ts
10
10
  var exports_aisdk_native = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service31,
10
- node: () => node33
9
+ Service: () => Service29,
10
+ node: () => node31
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode-ai/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode-ai/util/effect/layer-node";
15
15
 
16
- class Service31 extends Context.Service()("@opencode/Instance") {
16
+ class Service29 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node33 = LayerNode.unbound(Service31, Node.tags.values.global);
18
+ var node31 = LayerNode.unbound(Service29, Node.tags.values.global);
19
19
 
20
- export { Service31, node33, exports_service2 };
20
+ export { Service29, node31, exports_service2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
- Service79
3
- } from "./persistent-pty-gg2fk1c4.js";
2
+ Service80
3
+ } from "./job-ynhf546z.js";
4
4
  import {
5
- Service78
6
- } from "./persistent-pty-gfze89fe.js";
5
+ Service79
6
+ } from "./job-kqbpc9q5.js";
7
7
  import {
8
- Service31
9
- } from "./persistent-pty-ba9rkfcs.js";
8
+ Service29
9
+ } from "./job-e2dcn2jx.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./persistent-pty-fxbjtjnd.js";
12
+ } from "./job-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./persistent-pty-982e01ww.js";
15
+ } from "./job-982e01ww.js";
16
16
  import {
17
- NotFoundError8,
17
+ NotFoundError7,
18
18
  MessageNotFoundError2,
19
19
  MessageNotAssistantError2,
20
20
  MessageIncompleteError2,
@@ -24,61 +24,61 @@ import {
24
24
  CompactionConflictError2,
25
25
  BusyError2,
26
26
  InboxConflictError2
27
- } from "./persistent-pty-9staja66.js";
27
+ } from "./job-8b5tyv7a.js";
28
28
  import {
29
29
  SessionEvent2
30
- } from "./persistent-pty-mntxs535.js";
30
+ } from "./job-mntxs535.js";
31
31
  import {
32
- Service62
33
- } from "./persistent-pty-rys4mg1v.js";
32
+ Service51
33
+ } from "./job-c91s5gke.js";
34
34
  import {
35
35
  Delivery2,
36
36
  SyntheticPayload2,
37
- Service23
38
- } from "./persistent-pty-j2y37yhm.js";
37
+ Service28
38
+ } from "./job-4qma25wy.js";
39
39
  import {
40
- Service21
41
- } from "./persistent-pty-ahexa12d.js";
40
+ Service26
41
+ } from "./job-f0c97n7f.js";
42
42
  import {
43
43
  prepare2
44
- } from "./persistent-pty-pjw71kmm.js";
44
+ } from "./job-9prtx3kt.js";
45
45
  import {
46
46
  stage2,
47
47
  clear2,
48
48
  commit2
49
- } from "./persistent-pty-hqty32ca.js";
49
+ } from "./job-n6s9nzrb.js";
50
50
  import {
51
51
  start2
52
- } from "./persistent-pty-e18bnnvs.js";
52
+ } from "./job-n1a2t0ww.js";
53
53
  import {
54
54
  get4
55
- } from "./persistent-pty-23c0csww.js";
55
+ } from "./job-2zyj32sc.js";
56
56
  import {
57
57
  __export
58
- } from "./persistent-pty-9rqn6x4v.js";
58
+ } from "./job-9rqn6x4v.js";
59
59
 
60
60
  // src/session/session.ts
61
61
  var exports_session2 = {};
62
62
  __export(exports_session2, {
63
63
  Session: () => exports_session2,
64
- make: () => make12
64
+ make: () => make11
65
65
  });
66
66
  import { DateTime, Effect, Fiber, Schema, Scope } from "effect";
67
67
  import { Event } from "@opencode-ai/schema/event";
68
68
  import { FSUtil } from "@opencode-ai/util/fs-util";
69
- var make12 = Effect.fn("Session.make")(function* () {
70
- const bus = yield* Service78;
71
- const database = yield* Service79;
72
- const store = yield* Service62;
73
- const instances = yield* Service31;
74
- const execution = yield* Service21;
75
- const admission = yield* Service23;
69
+ var make11 = Effect.fn("Session.make")(function* () {
70
+ const bus = yield* Service79;
71
+ const database = yield* Service80;
72
+ const store = yield* Service51;
73
+ const instances = yield* Service29;
74
+ const execution = yield* Service26;
75
+ const admission = yield* Service28;
76
76
  const fs = yield* FSUtil.Service;
77
77
  const scope = yield* Scope.Scope;
78
78
  const get = Effect.fn("Session.get")(function* (sessionID) {
79
79
  const session = yield* store.get(sessionID);
80
80
  if (!session)
81
- return yield* new NotFoundError8({ sessionID });
81
+ return yield* new NotFoundError7({ sessionID });
82
82
  return session;
83
83
  });
84
84
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -154,7 +154,7 @@ var make12 = Effect.fn("Session.make")(function* () {
154
154
  });
155
155
  if (existing)
156
156
  return existing;
157
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service31, instances), Effect.provideService(FSUtil.Service, fs)));
157
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service29, instances), Effect.provideService(FSUtil.Service, fs)));
158
158
  if (session.revert)
159
159
  yield* commit2(bus, session);
160
160
  return yield* admission.admit({
@@ -170,7 +170,7 @@ var make12 = Effect.fn("Session.make")(function* () {
170
170
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
171
171
  const session = yield* get(sessionID);
172
172
  const running = yield* Effect.gen(function* () {
173
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service31, instances), Effect.tapError((error) => synthetic(sessionID, {
173
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service29, instances), Effect.tapError((error) => synthetic(sessionID, {
174
174
  text: `User shell command failed to start:
175
175
  ${input.command}
176
176
 
@@ -199,7 +199,7 @@ ${error.message}`,
199
199
  });
200
200
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
201
201
  const session = yield* get(sessionID);
202
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service31, instances));
202
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service29, instances));
203
203
  yield* bus.publish(SessionEvent2.Skill.Activated, {
204
204
  sessionID,
205
205
  id: skill.id,
@@ -256,13 +256,13 @@ ${error.message}`,
256
256
  const session = yield* get(sessionID);
257
257
  if (yield* execution.isActive(sessionID))
258
258
  return yield* new BusyError2({ sessionID });
259
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service31, instances), Effect.provideService(Service79, database), Effect.provideService(Service78, bus));
259
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service29, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
260
260
  });
261
261
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
262
262
  const session = yield* get(sessionID);
263
263
  if (yield* execution.isActive(sessionID))
264
264
  return yield* new BusyError2({ sessionID });
265
- yield* clear2(session).pipe(Effect.provideService(Service31, instances), Effect.provideService(Service78, bus));
265
+ yield* clear2(session).pipe(Effect.provideService(Service29, instances), Effect.provideService(Service79, bus));
266
266
  return yield* execution.wake(sessionID);
267
267
  });
268
268
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -348,4 +348,4 @@ function isUnfinishedTool(content) {
348
348
  return content.type === "tool" && (content.state.status === "streaming" || content.state.status === "running");
349
349
  }
350
350
 
351
- export { make12, exports_session2 };
351
+ export { make11, exports_session2 };