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

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 +81 -81
  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/{command-drn755cb.js → persistent-pty-02ghykkt.js} +47 -47
  9. package/dist/chunks/{command-2w9k586s.js → persistent-pty-038hmbfv.js} +26 -26
  10. package/dist/chunks/{command-tz2h76xm.js → persistent-pty-039t5jx1.js} +9 -9
  11. package/dist/chunks/{command-0e0xafbb.js → persistent-pty-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{command-0ez61b8c.js → persistent-pty-0ez61b8c.js} +2 -2
  13. package/dist/chunks/{command-qgn6gcr1.js → persistent-pty-0jwsre1p.js} +5 -5
  14. package/dist/chunks/{command-ag4rn41e.js → persistent-pty-0k2v0y72.js} +4 -4
  15. package/dist/chunks/{command-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{command-84gdxzwd.js → persistent-pty-0q7jjq5p.js} +12 -12
  17. package/dist/chunks/{command-k8feg6vv.js → persistent-pty-0rag4e4f.js} +4 -4
  18. package/dist/chunks/{command-0s9ayhjt.js → persistent-pty-0s9ayhjt.js} +1 -1
  19. package/dist/chunks/{command-j83byb14.js → persistent-pty-0v53mg2y.js} +4 -4
  20. package/dist/chunks/{command-gzd7t3bg.js → persistent-pty-12gh2r0n.js} +4 -4
  21. package/dist/chunks/{command-3wbgnpam.js → persistent-pty-13b7zb7a.js} +23 -23
  22. package/dist/chunks/{command-14hmenm3.js → persistent-pty-14hmenm3.js} +1 -1
  23. package/dist/chunks/{command-w0117ta3.js → persistent-pty-15vsdprz.js} +25 -25
  24. package/dist/chunks/{command-cjy05afp.js → persistent-pty-1cse2xtn.js} +27 -27
  25. package/dist/chunks/{command-1ct4r87x.js → persistent-pty-1ct4r87x.js} +1 -1
  26. package/dist/chunks/persistent-pty-1k2nkqs9.js +243 -0
  27. package/dist/chunks/{command-1wndzdy1.js → persistent-pty-1pae77tt.js} +28 -28
  28. package/dist/chunks/{command-njfhyprf.js → persistent-pty-1qdvjv25.js} +28 -28
  29. package/dist/chunks/{command-cy3cnjq8.js → persistent-pty-1t8g2pth.js} +4 -4
  30. package/dist/chunks/{command-4ct4f13p.js → persistent-pty-1xdvak68.js} +24 -24
  31. package/dist/chunks/{command-rgks3f05.js → persistent-pty-1zmt232p.js} +8 -8
  32. package/dist/chunks/persistent-pty-20s8sfqs.js +450 -0
  33. package/dist/chunks/{command-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  34. package/dist/chunks/{command-g8p4v1rh.js → persistent-pty-22wknqry.js} +10 -10
  35. package/dist/chunks/{command-77tfyndb.js → persistent-pty-23c0csww.js} +9 -9
  36. package/dist/chunks/{command-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
  37. package/dist/chunks/{command-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  38. package/dist/chunks/{command-mv1gp3nd.js → persistent-pty-2grmq5yz.js} +34 -34
  39. package/dist/chunks/{command-2ht70gj7.js → persistent-pty-2ht70gj7.js} +1 -1
  40. package/dist/chunks/{command-2jqmte8w.js → persistent-pty-2jqmte8w.js} +2 -2
  41. package/dist/chunks/{command-h2st8tcp.js → persistent-pty-2m4g9ewj.js} +18 -18
  42. package/dist/chunks/{command-ght27my6.js → persistent-pty-2nhytzg2.js} +18 -18
  43. package/dist/chunks/{command-k8962brh.js → persistent-pty-34rkz0x9.js} +4 -4
  44. package/dist/chunks/{command-w16pqxss.js → persistent-pty-3bmsdbgc.js} +21 -21
  45. package/dist/chunks/{command-hjrjbgez.js → persistent-pty-3cm4x8pz.js} +5 -5
  46. package/dist/chunks/{command-s64tx33c.js → persistent-pty-3d8pr09w.js} +20 -20
  47. package/dist/chunks/{command-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  48. package/dist/chunks/{command-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{command-3qzbfqsy.js → persistent-pty-3qzbfqsy.js} +2 -2
  50. package/dist/chunks/{command-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{command-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{command-1m2qxpbx.js → persistent-pty-41j7tnv9.js} +9 -9
  53. package/dist/chunks/{command-454k5vzh.js → persistent-pty-454k5vzh.js} +1 -1
  54. package/dist/chunks/{command-dv0xdbpz.js → persistent-pty-4ffy803j.js} +12 -12
  55. package/dist/chunks/{command-4r2nyarf.js → persistent-pty-4r2nyarf.js} +1 -1
  56. package/dist/chunks/{command-4z6b0fg6.js → persistent-pty-4z6b0fg6.js} +1 -1
  57. package/dist/chunks/{command-nakmymdz.js → persistent-pty-51nwj3e2.js} +56 -56
  58. package/dist/chunks/{command-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  59. package/dist/chunks/{command-67nkcjnx.js → persistent-pty-5djpcxd2.js} +11 -11
  60. package/dist/chunks/{command-5fmxt4p5.js → persistent-pty-5fmxt4p5.js} +1 -1
  61. package/dist/chunks/{command-5jvc5tg2.js → persistent-pty-5jvc5tg2.js} +1 -1
  62. package/dist/chunks/{command-5k3f87xj.js → persistent-pty-5k3f87xj.js} +1 -1
  63. package/dist/chunks/{command-kwqsq9eb.js → persistent-pty-608x8pfm.js} +1 -1
  64. package/dist/chunks/{command-y3kam97a.js → persistent-pty-61vgpbh6.js} +35 -35
  65. package/dist/chunks/{command-3wfq9j39.js → persistent-pty-6cmxkhbe.js} +10 -10
  66. package/dist/chunks/{command-fbfj6zdn.js → persistent-pty-6ehp7zc5.js} +4 -4
  67. package/dist/chunks/{command-6tf8tr4v.js → persistent-pty-6tf8tr4v.js} +2 -2
  68. package/dist/chunks/{command-4hj13xk2.js → persistent-pty-6xkccwtq.js} +4 -4
  69. package/dist/chunks/{command-mw7ytvy7.js → persistent-pty-6y243n7t.js} +11 -11
  70. package/dist/chunks/{command-711hfp6y.js → persistent-pty-711hfp6y.js} +2 -2
  71. package/dist/chunks/{command-j57dr7w8.js → persistent-pty-75ecc7tz.js} +29 -29
  72. package/dist/chunks/{command-3q60g5tw.js → persistent-pty-75yd3t4x.js} +25 -25
  73. package/dist/chunks/{command-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{command-9ym4a5yt.js → persistent-pty-7d3hynex.js} +23 -23
  75. package/dist/chunks/{command-mznxs8d6.js → persistent-pty-7ejv2hd0.js} +45 -45
  76. package/dist/chunks/{command-1bdhjw18.js → persistent-pty-7hw31dwt.js} +5 -5
  77. package/dist/chunks/{command-1z9d9trm.js → persistent-pty-7rgs2zq8.js} +11 -11
  78. package/dist/chunks/{command-7w3s9kd0.js → persistent-pty-7w3s9kd0.js} +1 -1
  79. package/dist/chunks/{command-4k07pfeq.js → persistent-pty-7z714152.js} +9 -9
  80. package/dist/chunks/{command-pgzzhbmy.js → persistent-pty-7zak5xvr.js} +11 -11
  81. package/dist/chunks/persistent-pty-7zk4hah4.js +4 -0
  82. package/dist/chunks/{command-86s3977f.js → persistent-pty-86s3977f.js} +1 -1
  83. package/dist/chunks/{command-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
  84. package/dist/chunks/{command-4p3f57ee.js → persistent-pty-8ftz6ejv.js} +13 -13
  85. package/dist/chunks/{command-f18yxx57.js → persistent-pty-8p28ygyr.js} +9 -9
  86. package/dist/chunks/{command-93a8yfjt.js → persistent-pty-93a8yfjt.js} +2 -2
  87. package/dist/chunks/{command-45kzw0p8.js → persistent-pty-9aq2mrk7.js} +11 -11
  88. package/dist/chunks/{command-v63xgfyn.js → persistent-pty-9fm1kxq4.js} +3 -3
  89. package/dist/chunks/{command-tnsej14z.js → persistent-pty-9mwzjgyd.js} +28 -28
  90. package/dist/chunks/{command-c28brx2k.js → persistent-pty-9staja66.js} +9 -9
  91. package/dist/chunks/{command-wsdbxk0t.js → persistent-pty-9x2w7v1q.js} +7 -7
  92. package/dist/chunks/{command-kj8q7mtc.js → persistent-pty-9xmd3vp9.js} +24 -24
  93. package/dist/chunks/{command-4qs4g79n.js → persistent-pty-a3pq3n59.js} +41 -41
  94. package/dist/chunks/{command-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  95. package/dist/chunks/{command-qhdhv0w2.js → persistent-pty-ad75gk38.js} +15 -15
  96. package/dist/chunks/{command-sjwwpfw7.js → persistent-pty-ahexa12d.js} +41 -41
  97. package/dist/chunks/{command-ajeyjrs8.js → persistent-pty-ak6efjp5.js} +6 -6
  98. package/dist/chunks/{command-6h414ywr.js → persistent-pty-awqyf91x.js} +5 -5
  99. package/dist/chunks/{command-zk8c4w5t.js → persistent-pty-b0grxa7w.js} +5 -5
  100. package/dist/chunks/{command-ehkcz9nm.js → persistent-pty-b4wqy378.js} +18 -18
  101. package/dist/chunks/{command-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{command-w21nff9d.js → persistent-pty-b8r2rjw8.js} +25 -25
  103. package/dist/chunks/{command-b9wsbatv.js → persistent-pty-b9wsbatv.js} +1 -1
  104. package/dist/chunks/{command-y092mk2a.js → persistent-pty-ba9rkfcs.js} +6 -6
  105. package/dist/chunks/{command-megebd3a.js → persistent-pty-bf4rn6za.js} +4 -4
  106. package/dist/chunks/{command-j15mfg1p.js → persistent-pty-bjs2yq5f.js} +6 -6
  107. package/dist/chunks/{command-8f30jcen.js → persistent-pty-bnxgfjcz.js} +17 -17
  108. package/dist/chunks/{command-zqj49qgm.js → persistent-pty-byd5pdh7.js} +32 -32
  109. package/dist/chunks/{command-7nbw4m6q.js → persistent-pty-c3cb06f5.js} +13 -13
  110. package/dist/chunks/{command-4jcgzkct.js → persistent-pty-c44391z3.js} +17 -17
  111. package/dist/chunks/{command-dxvz0qx6.js → persistent-pty-c69vx815.js} +13 -13
  112. package/dist/chunks/{command-3jwbxfdj.js → persistent-pty-cb52j08x.js} +37 -37
  113. package/dist/chunks/{command-bc0bp3re.js → persistent-pty-cmp1gbzr.js} +8 -8
  114. package/dist/chunks/{command-rqajaxax.js → persistent-pty-cnzcswpq.js} +167 -167
  115. package/dist/chunks/{command-4rpnxrre.js → persistent-pty-cq3yemdf.js} +46 -46
  116. package/dist/chunks/{command-rx0dsajq.js → persistent-pty-csd2kfzw.js} +9 -9
  117. package/dist/chunks/{command-j3v7m4b4.js → persistent-pty-ctqk5yba.js} +7 -7
  118. package/dist/chunks/{command-djtdz80w.js → persistent-pty-djtdz80w.js} +1 -1
  119. package/dist/chunks/{command-2qan6xse.js → persistent-pty-dm4vv4a6.js} +37 -37
  120. package/dist/chunks/{command-578j1xdj.js → persistent-pty-dnk7gmhh.js} +10 -10
  121. package/dist/chunks/{command-dzntxkaj.js → persistent-pty-dskqvp6c.js} +68 -68
  122. package/dist/chunks/{command-zmnepbn3.js → persistent-pty-dypfnnxv.js} +7 -7
  123. package/dist/chunks/{command-9b3160jy.js → persistent-pty-e18bnnvs.js} +9 -9
  124. package/dist/chunks/{command-7rsx16tt.js → persistent-pty-e3bzzpkn.js} +10 -10
  125. package/dist/chunks/{command-48h7as0e.js → persistent-pty-e3rf8krc.js} +20 -20
  126. package/dist/chunks/{command-s631mnhv.js → persistent-pty-e4b60twv.js} +22 -22
  127. package/dist/chunks/{command-e5b0qn1c.js → persistent-pty-e5b0qn1c.js} +1 -1
  128. package/dist/chunks/{command-tj4a33e3.js → persistent-pty-e8zb6afy.js} +34 -34
  129. package/dist/chunks/{command-vbr4w0aw.js → persistent-pty-egz8g656.js} +33 -33
  130. package/dist/chunks/{command-mhkvc446.js → persistent-pty-eq1pz5kg.js} +3 -3
  131. package/dist/chunks/{command-g7csxrs7.js → persistent-pty-ey1a04aj.js} +4 -4
  132. package/dist/chunks/{command-ez5b8bq3.js → persistent-pty-ez5b8bq3.js} +1 -1
  133. package/dist/chunks/{command-3q0nngn9.js → persistent-pty-ezq5zned.js} +9 -9
  134. package/dist/chunks/{command-jwcy2c2z.js → persistent-pty-f0nz223j.js} +4 -4
  135. package/dist/chunks/{command-8npyp30c.js → persistent-pty-f2c1rw5q.js} +8 -8
  136. package/dist/chunks/{command-3zxznrdw.js → persistent-pty-f4h69zw7.js} +32 -32
  137. package/dist/chunks/{command-jmkbp1h5.js → persistent-pty-f7p58vk5.js} +13 -13
  138. package/dist/chunks/{command-52v0cq2v.js → persistent-pty-f86dfzph.js} +11 -11
  139. package/dist/chunks/{command-hjm0k3fp.js → persistent-pty-f8r5v8zg.js} +2 -2
  140. package/dist/chunks/{command-mxppkm1b.js → persistent-pty-fadw8aff.js} +27 -27
  141. package/dist/chunks/{command-vw50vsx1.js → persistent-pty-fak1e3ja.js} +16 -16
  142. package/dist/chunks/{command-mtcjf44p.js → persistent-pty-fgjfecz2.js} +6 -6
  143. package/dist/chunks/{command-jn88vsgf.js → persistent-pty-fsea1w0p.js} +36 -36
  144. package/dist/chunks/{command-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
  145. package/dist/chunks/{command-fxypknc8.js → persistent-pty-fxypknc8.js} +1 -1
  146. package/dist/chunks/{command-cxnm9dwg.js → persistent-pty-fy3x4dmh.js} +13 -13
  147. package/dist/chunks/{command-hrvm11jt.js → persistent-pty-g2dy4bvs.js} +3 -3
  148. package/dist/chunks/{command-d72308c8.js → persistent-pty-g2gt0w0k.js} +2 -2
  149. package/dist/chunks/{command-1n22b4te.js → persistent-pty-g3xm713x.js} +13 -13
  150. package/dist/chunks/{command-g41n1fn3.js → persistent-pty-g41n1fn3.js} +1 -1
  151. package/dist/chunks/{command-nxbchyd1.js → persistent-pty-g9a9rqx4.js} +15 -15
  152. package/dist/chunks/{command-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{command-pdae5shs.js → persistent-pty-gfze89fe.js} +18 -18
  154. package/dist/chunks/{command-mh85gtv1.js → persistent-pty-gg2fk1c4.js} +15 -15
  155. package/dist/chunks/{command-hzecryb5.js → persistent-pty-ggsr10e7.js} +10 -10
  156. package/dist/chunks/{command-hbwagpks.js → persistent-pty-gkvzh88r.js} +11 -11
  157. package/dist/chunks/{command-c5rwfbwf.js → persistent-pty-h0z0jvv9.js} +20 -20
  158. package/dist/chunks/{command-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{command-ex99dnp9.js → persistent-pty-h9k9cmfx.js} +5 -5
  160. package/dist/chunks/{command-s0fzeym9.js → persistent-pty-hc00199r.js} +10 -10
  161. package/dist/chunks/{command-xynvqm4b.js → persistent-pty-heq22s2d.js} +17 -17
  162. package/dist/chunks/{command-heyhwy2w.js → persistent-pty-heyhwy2w.js} +1 -1
  163. package/dist/chunks/{command-y0kje1kq.js → persistent-pty-hmt4vayt.js} +5 -5
  164. package/dist/chunks/{command-avf2gxwn.js → persistent-pty-hnhdj7rj.js} +27 -27
  165. package/dist/chunks/{command-k5kpsmwm.js → persistent-pty-hqty32ca.js} +25 -25
  166. package/dist/chunks/{command-jvh9gk2c.js → persistent-pty-hrabpqyz.js} +29 -29
  167. package/dist/chunks/persistent-pty-ht5y0zrb.js +18 -0
  168. package/dist/chunks/{command-kvsjn1dr.js → persistent-pty-hw4pv20g.js} +2 -2
  169. package/dist/chunks/{command-5rw6je3s.js → persistent-pty-j0y8f0xq.js} +3 -3
  170. package/dist/chunks/{command-0ptrrsjf.js → persistent-pty-j2y37yhm.js} +21 -21
  171. package/dist/chunks/{command-zk6hkb9n.js → persistent-pty-j3kams4z.js} +37 -37
  172. package/dist/chunks/{command-1eb7zprr.js → persistent-pty-j43tf9gr.js} +5 -5
  173. package/dist/chunks/{command-df9bnbjn.js → persistent-pty-j53zazwc.js} +9 -9
  174. package/dist/chunks/{command-ykcesz1b.js → persistent-pty-j7s4pw35.js} +4 -4
  175. package/dist/chunks/{command-2p8f7m2b.js → persistent-pty-j844sf2z.js} +6 -6
  176. package/dist/chunks/{command-5qd3pb7m.js → persistent-pty-j935v87r.js} +2 -2
  177. package/dist/chunks/{command-ne4gjgk6.js → persistent-pty-jcsk617h.js} +13 -13
  178. package/dist/chunks/{command-2vaz3fgd.js → persistent-pty-jg2z2cg4.js} +38 -38
  179. package/dist/chunks/{command-73azkrsd.js → persistent-pty-jx8dgn9c.js} +16 -16
  180. package/dist/chunks/{command-mw9mt08r.js → persistent-pty-k37hxh7q.js} +22 -22
  181. package/dist/chunks/{command-k4bwy1x5.js → persistent-pty-k4bwy1x5.js} +1 -1
  182. package/dist/chunks/{command-d674kx35.js → persistent-pty-k6gmgah6.js} +9 -9
  183. package/dist/chunks/{command-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
  184. package/dist/chunks/{command-yfbd16n1.js → persistent-pty-kk3rr3qh.js} +5 -5
  185. package/dist/chunks/{command-p4b86tx8.js → persistent-pty-kyktj0vd.js} +6 -6
  186. package/dist/chunks/{command-9qj8fy7h.js → persistent-pty-m1peg48k.js} +9 -9
  187. package/dist/chunks/{command-bc8zabkg.js → persistent-pty-m8s7yz94.js} +8 -8
  188. package/dist/chunks/{command-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{command-mcxg6pmm.js → persistent-pty-mcxg6pmm.js} +1 -1
  190. package/dist/chunks/{command-60q8mcwp.js → persistent-pty-msqakgxm.js} +8 -8
  191. package/dist/chunks/{command-m1annk93.js → persistent-pty-mszhq5w3.js} +11 -11
  192. package/dist/chunks/{command-5w9qjdt3.js → persistent-pty-mzr3jh1b.js} +2 -2
  193. package/dist/chunks/{command-pdgqnwae.js → persistent-pty-mzr4n29e.js} +13 -13
  194. package/dist/chunks/{command-pcednt3p.js → persistent-pty-n0cjdfmr.js} +49 -49
  195. package/dist/chunks/{command-x0pd42vp.js → persistent-pty-n2jk6qtv.js} +15 -15
  196. package/dist/chunks/{command-854ca1e8.js → persistent-pty-n8c15cqp.js} +26 -26
  197. package/dist/chunks/{command-3vdwy4mz.js → persistent-pty-nejtgedz.js} +10 -10
  198. package/dist/chunks/{command-58dzf215.js → persistent-pty-njxgh0n2.js} +14 -14
  199. package/dist/chunks/{command-e0nkwt9z.js → persistent-pty-nnhtcagv.js} +4 -4
  200. package/dist/chunks/{command-n5gana85.js → persistent-pty-nqajw534.js} +27 -27
  201. package/dist/chunks/{command-yzsm82be.js → persistent-pty-nrvhq0he.js} +24 -24
  202. package/dist/chunks/{command-t7rtampj.js → persistent-pty-nvem0zh0.js} +2 -2
  203. package/dist/chunks/{command-ff1sw35j.js → persistent-pty-nxa8wnw5.js} +35 -35
  204. package/dist/chunks/{command-ekmzxrqe.js → persistent-pty-p317p1wz.js} +8 -8
  205. package/dist/chunks/{command-4sjd4f28.js → persistent-pty-p4vsqmpc.js} +9 -9
  206. package/dist/chunks/{command-zzjwypeh.js → persistent-pty-pf6xx1eb.js} +4 -4
  207. package/dist/chunks/{command-f1kgb3zy.js → persistent-pty-pfdftes8.js} +9 -9
  208. package/dist/chunks/{command-qfnycs03.js → persistent-pty-pha9f2e6.js} +7 -7
  209. package/dist/chunks/{command-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  210. package/dist/chunks/{command-4t040z03.js → persistent-pty-pjw71kmm.js} +16 -16
  211. package/dist/chunks/{command-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  212. package/dist/chunks/{command-18v0n603.js → persistent-pty-psg7avar.js} +20 -20
  213. package/dist/chunks/{command-gpp6afyt.js → persistent-pty-pt72vb4m.js} +24 -24
  214. package/dist/chunks/{command-c80ydkjz.js → persistent-pty-pt9vp53c.js} +46 -46
  215. package/dist/chunks/{command-k6s5w27h.js → persistent-pty-q3b0vsmg.js} +10 -10
  216. package/dist/chunks/{command-vedqaezr.js → persistent-pty-qf2z5hbw.js} +4 -4
  217. package/dist/chunks/{command-qbhkz4mz.js → persistent-pty-qkvqzff6.js} +32 -32
  218. package/dist/chunks/{command-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  219. package/dist/chunks/{command-9qm9egsn.js → persistent-pty-qvbcabdc.js} +2 -2
  220. package/dist/chunks/{command-rzhgj3wg.js → persistent-pty-r2kxtd6z.js} +17 -17
  221. package/dist/chunks/{command-r8dhm0tv.js → persistent-pty-r8dhm0tv.js} +1 -1
  222. package/dist/chunks/{command-nkpkrkfc.js → persistent-pty-rbyt0q31.js} +62 -62
  223. package/dist/chunks/{command-vvhr8ap4.js → persistent-pty-rc2v55kv.js} +35 -35
  224. package/dist/chunks/{command-kx2gvdct.js → persistent-pty-rgpp5x08.js} +4 -4
  225. package/dist/chunks/{command-rmy3e5eg.js → persistent-pty-rmy3e5eg.js} +1 -1
  226. package/dist/chunks/{command-ha4v9y42.js → persistent-pty-rys4mg1v.js} +19 -19
  227. package/dist/chunks/{command-s3eqpch7.js → persistent-pty-s3eqpch7.js} +1 -1
  228. package/dist/chunks/{command-8zpj8ga2.js → persistent-pty-s5f025jh.js} +6 -6
  229. package/dist/chunks/{command-sba4qhjf.js → persistent-pty-sba4qhjf.js} +1 -1
  230. package/dist/chunks/{command-7ym5twnq.js → persistent-pty-sg6b5yba.js} +39 -39
  231. package/dist/chunks/{command-4we2taax.js → persistent-pty-sgv9af10.js} +14 -14
  232. package/dist/chunks/{command-e5rv1qf4.js → persistent-pty-t0av4jg5.js} +15 -15
  233. package/dist/chunks/{command-6dbg2gn2.js → persistent-pty-t5zy0tn8.js} +48 -48
  234. package/dist/chunks/{command-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{command-zpgxjj6y.js → persistent-pty-tcsbw5z6.js} +16 -16
  236. package/dist/chunks/{command-55yvdk0c.js → persistent-pty-tdz2d0bf.js} +11 -11
  237. package/dist/chunks/{command-z2bjgnfj.js → persistent-pty-tge6005x.js} +15 -15
  238. package/dist/chunks/{command-thfv75je.js → persistent-pty-thfv75je.js} +2 -2
  239. package/dist/chunks/{command-tjykrgmx.js → persistent-pty-tjykrgmx.js} +1 -1
  240. package/dist/chunks/{command-xnz7e9v2.js → persistent-pty-v59vraf9.js} +30 -30
  241. package/dist/chunks/{command-dqwszdkc.js → persistent-pty-v60ecprk.js} +9 -9
  242. package/dist/chunks/{command-qr1qsn5r.js → persistent-pty-v6d825jm.js} +23 -23
  243. package/dist/chunks/{command-p5d8w6vs.js → persistent-pty-vpcrvpem.js} +24 -24
  244. package/dist/chunks/{command-npkajqde.js → persistent-pty-vsj8va3n.js} +29 -29
  245. package/dist/chunks/{command-rxsvjy6j.js → persistent-pty-vta8yyap.js} +31 -31
  246. package/dist/chunks/{command-wgxn7ww3.js → persistent-pty-vtmd3szc.js} +4 -4
  247. package/dist/chunks/{command-9rem8hjd.js → persistent-pty-vyrgm4zq.js} +11 -11
  248. package/dist/chunks/{command-0yrmd491.js → persistent-pty-vyrse5sf.js} +18 -18
  249. package/dist/chunks/{command-6z5bwd8g.js → persistent-pty-w3jym6ha.js} +6 -6
  250. package/dist/chunks/{command-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{command-p8vd7n39.js → persistent-pty-w7v3ectx.js} +20 -20
  252. package/dist/chunks/{command-s41xc0fx.js → persistent-pty-wanpp1k7.js} +8 -8
  253. package/dist/chunks/{command-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  254. package/dist/chunks/{command-hv5tmyxa.js → persistent-pty-wdsftsg6.js} +23 -23
  255. package/dist/chunks/{command-yxwewdw9.js → persistent-pty-wfhhk81x.js} +9 -9
  256. package/dist/chunks/{command-7vhvnd6j.js → persistent-pty-wfhxja34.js} +89 -89
  257. package/dist/chunks/{command-4y9deqpk.js → persistent-pty-wfq5jtmb.js} +24 -24
  258. package/dist/chunks/{command-s4ye7va7.js → persistent-pty-wkq1a691.js} +16 -16
  259. package/dist/chunks/persistent-pty-wpa9nskr.js +22 -0
  260. package/dist/chunks/{command-x4f0ty3q.js → persistent-pty-wpgkb29z.js} +7 -7
  261. package/dist/chunks/{command-natwdt6v.js → persistent-pty-ws50g6ew.js} +29 -29
  262. package/dist/chunks/{command-bp4zbqtd.js → persistent-pty-wy1gn0qd.js} +5 -5
  263. package/dist/chunks/{command-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{command-jc31v14r.js → persistent-pty-x4bzwk8v.js} +9 -9
  265. package/dist/chunks/{command-mt8fk037.js → persistent-pty-xba749n3.js} +36 -36
  266. package/dist/chunks/{command-c26ks60e.js → persistent-pty-xe339285.js} +24 -24
  267. package/dist/chunks/{command-9x7bsm9r.js → persistent-pty-xm1jwy74.js} +86 -86
  268. package/dist/chunks/{command-xqsy6kp0.js → persistent-pty-xqsy6kp0.js} +1 -1
  269. package/dist/chunks/{command-7k848sc6.js → persistent-pty-xt7b81sn.js} +20 -20
  270. package/dist/chunks/{command-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{command-s1zas8dv.js → persistent-pty-y4avtqgk.js} +9 -9
  272. package/dist/chunks/{command-ajtjthsy.js → persistent-pty-yg7sb877.js} +2 -2
  273. package/dist/chunks/{command-jnbaqc7b.js → persistent-pty-ygpseft7.js} +15 -15
  274. package/dist/chunks/{command-qav3zztn.js → persistent-pty-yrcexxg5.js} +17 -17
  275. package/dist/chunks/{command-r9hy8h05.js → persistent-pty-yvfkj8fv.js} +5 -5
  276. package/dist/chunks/{command-z1k01bn4.js → persistent-pty-z1k01bn4.js} +2 -2
  277. package/dist/chunks/{command-29x78va6.js → persistent-pty-z63w68vq.js} +6 -6
  278. package/dist/chunks/{command-q8rpcfw0.js → persistent-pty-zjey93np.js} +8 -8
  279. package/dist/chunks/{command-zn2pq4p8.js → persistent-pty-zn2pq4p8.js} +2 -2
  280. package/dist/chunks/{command-mhsg1yty.js → persistent-pty-zrz343zw.js} +10 -10
  281. package/dist/chunks/{command-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  282. package/dist/chunks/{command-fvxhrhfw.js → persistent-pty-zyvs8cv6.js} +13 -13
  283. package/dist/codemode/catalog.js +1 -1
  284. package/dist/codemode/instructions.js +7 -7
  285. package/dist/codemode/tool.js +2 -2
  286. package/dist/command.js +81 -81
  287. package/dist/config/discovery.js +79 -79
  288. package/dist/config/markdown.js +1 -1
  289. package/dist/config/normalize.js +19 -19
  290. package/dist/config/plugin/agent.js +116 -116
  291. package/dist/config/plugin/command.js +207 -207
  292. package/dist/config/plugin/compaction.js +153 -153
  293. package/dist/config/plugin/entry-observer.js +1 -1
  294. package/dist/config/plugin/formatter.js +116 -116
  295. package/dist/config/plugin/image.js +114 -114
  296. package/dist/config/plugin/instruction.js +85 -85
  297. package/dist/config/plugin/location-watcher.js +116 -116
  298. package/dist/config/plugin/mcp.js +125 -125
  299. package/dist/config/plugin/policy.js +113 -113
  300. package/dist/config/plugin/provider.js +112 -112
  301. package/dist/config/plugin/reference.js +116 -116
  302. package/dist/config/plugin/shell.js +115 -115
  303. package/dist/config/plugin/skill-file.js +96 -96
  304. package/dist/config/plugin/skill.js +134 -134
  305. package/dist/config/plugin/snapshot.js +114 -114
  306. package/dist/config/plugin/source.js +116 -116
  307. package/dist/config/plugin/tool-output.js +116 -116
  308. package/dist/config/plugin/websearch.js +112 -112
  309. package/dist/config/variable.js +3 -3
  310. package/dist/config/watch.js +1 -1
  311. package/dist/config.js +118 -118
  312. package/dist/credential/sql.js +2 -2
  313. package/dist/credential.js +82 -82
  314. package/dist/database/database.js +72 -72
  315. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  316. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  317. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  318. package/dist/database/drizzle/index.js +15 -15
  319. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  321. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  322. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  323. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  324. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  330. package/dist/database/drizzle.js +16 -16
  331. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  332. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  333. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  334. package/dist/database/migration/20260225215848_workspace.js +1 -1
  335. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  336. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  337. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  338. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  339. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  340. package/dist/database/migration/20260323234822_events.js +1 -1
  341. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  342. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  343. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  344. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  345. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  346. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  347. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  348. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  349. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  350. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  351. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  352. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  353. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  354. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  355. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  356. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  357. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  358. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  359. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  360. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  361. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  362. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  363. package/dist/database/migration/20260611035744_credential.js +1 -1
  364. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  365. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  366. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  367. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  368. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  369. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  370. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  371. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  372. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  373. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  374. package/dist/database/migration/20260812213948_worktree.js +1 -1
  375. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  376. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  377. package/dist/database/migration.gen.js +47 -47
  378. package/dist/database/migration.js +49 -49
  379. package/dist/database/path.js +2 -2
  380. package/dist/database/schema.gen.js +1 -1
  381. package/dist/database/schema.sql.js +1 -1
  382. package/dist/database/sqlite.bun.js +1 -1
  383. package/dist/database/sqlite.js +1 -1
  384. package/dist/database/sqlite.node.js +1 -1
  385. package/dist/database/sqlite.workerd.js +1 -1
  386. package/dist/database/v1-migration.bun.js +77 -77
  387. package/dist/database/v1-migration.js +1 -1
  388. package/dist/effect/app-node-builder.js +356 -356
  389. package/dist/effect/app-node-platform.js +2 -2
  390. package/dist/effect/keyed-mutex.js +3 -3
  391. package/dist/effect/websocket-constructor.js +1 -1
  392. package/dist/environment/driver.js +1 -1
  393. package/dist/environment/environment.js +88 -88
  394. package/dist/environment/exec-defaults.js +2 -2
  395. package/dist/environment/files.js +1 -1
  396. package/dist/environment/index.js +88 -88
  397. package/dist/environment/local.js +2 -2
  398. package/dist/environment/memory.js +2 -2
  399. package/dist/environment/unavailable.js +1 -1
  400. package/dist/event/sql.js +1 -1
  401. package/dist/event-logger.js +72 -72
  402. package/dist/file-mutation.js +89 -89
  403. package/dist/file-retention.js +1 -1
  404. package/dist/file.js +1 -1
  405. package/dist/filesystem/fff.bun.js +2 -2
  406. package/dist/filesystem/fff.js +1 -1
  407. package/dist/filesystem/fff.node.js +2 -2
  408. package/dist/filesystem/fff.workerd.js +2 -2
  409. package/dist/filesystem/ignore.js +1 -1
  410. package/dist/filesystem/location-watcher-policy.js +6 -6
  411. package/dist/filesystem/location-watcher.js +217 -217
  412. package/dist/filesystem/protected.js +3 -3
  413. package/dist/filesystem/search.js +99 -99
  414. package/dist/filesystem/watcher-binding.js +3 -3
  415. package/dist/filesystem/watcher.js +13 -13
  416. package/dist/filesystem.js +102 -102
  417. package/dist/form.js +84 -84
  418. package/dist/formatter/builtins.js +4 -4
  419. package/dist/formatter.js +82 -82
  420. package/dist/generate.js +90 -90
  421. package/dist/git.js +7 -7
  422. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  423. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  424. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  425. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  426. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  428. package/dist/github-copilot/copilot-provider.js +17 -17
  429. package/dist/github-copilot/models.js +3 -3
  430. package/dist/github-copilot/openai-compatible-error.js +1 -1
  431. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  432. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  433. package/dist/github-copilot/responses/openai-error.js +1 -1
  434. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  435. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  436. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  437. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  438. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  439. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  440. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  441. package/dist/id/id.js +1 -1
  442. package/dist/image/photon.js +2 -2
  443. package/dist/image.js +6 -6
  444. package/dist/instance/service.js +5 -5
  445. package/dist/instance.js +347 -347
  446. package/dist/instruction-discovery.js +83 -83
  447. package/dist/instructions/builtins.js +82 -82
  448. package/dist/instructions/index.js +3 -3
  449. package/dist/integration/connection.js +1 -1
  450. package/dist/integration.js +85 -85
  451. package/dist/job.js +77 -77
  452. package/dist/kv/sql.js +2 -2
  453. package/dist/kv.js +71 -71
  454. package/dist/location-activity.js +86 -86
  455. package/dist/location-mutation.js +81 -81
  456. package/dist/location-service-map.js +81 -81
  457. package/dist/location-services.js +344 -344
  458. package/dist/location.js +84 -84
  459. package/dist/mcp/client.js +86 -86
  460. package/dist/mcp/index.js +100 -100
  461. package/dist/mcp/instructions.js +120 -120
  462. package/dist/mcp/oauth.js +2 -2
  463. package/dist/mcp/stdio.js +85 -85
  464. package/dist/mime.js +1 -1
  465. package/dist/modal/models.js +3 -3
  466. package/dist/model-resolver.js +85 -85
  467. package/dist/model.js +8 -8
  468. package/dist/models-dev.js +86 -86
  469. package/dist/oauth/page.js +1 -1
  470. package/dist/permission/saved.js +80 -80
  471. package/dist/permission/sql.js +5 -5
  472. package/dist/permission.js +111 -111
  473. package/dist/persistent-pty/binary.bun.js +1 -1
  474. package/dist/persistent-pty/daemon.js +1 -1
  475. package/dist/persistent-pty/index.js +86 -86
  476. package/dist/persistent-pty/pty-binding.js +1 -1
  477. package/dist/persistent-pty.js +73 -73
  478. package/dist/plugin/agent.js +98 -98
  479. package/dist/plugin/command.js +95 -95
  480. package/dist/plugin/hooks.js +5 -5
  481. package/dist/plugin/host.js +210 -210
  482. package/dist/plugin/instance.js +5 -5
  483. package/dist/plugin/internal.js +316 -316
  484. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  485. package/dist/plugin/models-dev.js +75 -75
  486. package/dist/plugin/module.js +2 -2
  487. package/dist/plugin/plan.js +96 -96
  488. package/dist/plugin/promise.js +1 -1
  489. package/dist/plugin/provider/alibaba.js +2 -2
  490. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  491. package/dist/plugin/provider/anthropic.js +2 -2
  492. package/dist/plugin/provider/azure.js +117 -117
  493. package/dist/plugin/provider/cerebras.js +2 -2
  494. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  495. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  496. package/dist/plugin/provider/cohere.js +2 -2
  497. package/dist/plugin/provider/configured.js +113 -113
  498. package/dist/plugin/provider/dynamic.js +2 -2
  499. package/dist/plugin/provider/factory.js +1 -1
  500. package/dist/plugin/provider/gateway.js +2 -2
  501. package/dist/plugin/provider/github-copilot.js +79 -79
  502. package/dist/plugin/provider/gitlab.js +3 -3
  503. package/dist/plugin/provider/google-vertex.js +2 -2
  504. package/dist/plugin/provider/kilo.js +2 -2
  505. package/dist/plugin/provider/llmgateway.js +75 -75
  506. package/dist/plugin/provider/lmstudio.js +116 -116
  507. package/dist/plugin/provider/mistral.js +2 -2
  508. package/dist/plugin/provider/modal.js +78 -78
  509. package/dist/plugin/provider/nvidia.js +2 -2
  510. package/dist/plugin/provider/ollama.js +114 -114
  511. package/dist/plugin/provider/openai-compatible.js +1 -1
  512. package/dist/plugin/provider/openai.js +77 -77
  513. package/dist/plugin/provider/opencode.js +75 -75
  514. package/dist/plugin/provider/openrouter.js +3 -3
  515. package/dist/plugin/provider/perplexity.js +2 -2
  516. package/dist/plugin/provider/sap-ai-core.js +3 -3
  517. package/dist/plugin/provider/sdk-factory.js +1 -1
  518. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  519. package/dist/plugin/provider/venice.js +2 -2
  520. package/dist/plugin/provider/vercel.js +2 -2
  521. package/dist/plugin/provider/vllm.js +116 -116
  522. package/dist/plugin/provider/xai.js +76 -76
  523. package/dist/plugin/provider/zenmux.js +2 -2
  524. package/dist/plugin/provider.js +154 -154
  525. package/dist/plugin/sdk.js +74 -74
  526. package/dist/plugin/service.js +3 -3
  527. package/dist/plugin/skill.js +131 -131
  528. package/dist/plugin/source-directory.js +1 -1
  529. package/dist/plugin/supervisor.js +331 -331
  530. package/dist/plugin/system-prompt.js +1 -1
  531. package/dist/plugin/update.js +6 -6
  532. package/dist/plugin/variant.js +4 -4
  533. package/dist/plugin/vcs/git.js +82 -82
  534. package/dist/plugin/vcs/hg.js +82 -82
  535. package/dist/plugin/warming.js +111 -111
  536. package/dist/plugin/websearch/exa.js +5 -5
  537. package/dist/plugin/websearch/firecrawl.js +8 -8
  538. package/dist/plugin/websearch/index.js +8 -8
  539. package/dist/plugin/websearch/mcp.js +4 -4
  540. package/dist/plugin/websearch/parallel.js +8 -8
  541. package/dist/plugin/websearch/tavily.js +6 -6
  542. package/dist/plugin.js +219 -219
  543. package/dist/project/schema.js +8 -8
  544. package/dist/project/sql.js +4 -4
  545. package/dist/project.js +85 -85
  546. package/dist/provider.js +1 -1
  547. package/dist/pty/protocol.js +1 -1
  548. package/dist/pty/schema.js +3 -3
  549. package/dist/pty/ticket.js +1 -1
  550. package/dist/pty.js +92 -92
  551. package/dist/reference/instructions.js +82 -82
  552. package/dist/reference.js +86 -86
  553. package/dist/repository-cache.js +76 -76
  554. package/dist/repository.js +1 -1
  555. package/dist/ripgrep/binary.js +2 -2
  556. package/dist/ripgrep.js +91 -91
  557. package/dist/rpc.js +81 -81
  558. package/dist/schema.js +1 -1
  559. package/dist/session/command.js +72 -72
  560. package/dist/session/compaction.js +125 -125
  561. package/dist/session/context.js +145 -145
  562. package/dist/session/environment.js +5 -5
  563. package/dist/session/error.js +7 -7
  564. package/dist/session/event.js +1 -1
  565. package/dist/session/execution/restart.js +217 -217
  566. package/dist/session/execution.js +120 -120
  567. package/dist/session/generate.js +144 -144
  568. package/dist/session/history.js +14 -14
  569. package/dist/session/inbox.js +82 -82
  570. package/dist/session/info.js +3 -3
  571. package/dist/session/instruction-entry.js +77 -77
  572. package/dist/session/instruction-state.js +8 -8
  573. package/dist/session/instructions.js +87 -87
  574. package/dist/session/message-updater.js +4 -4
  575. package/dist/session/message.js +1 -1
  576. package/dist/session/model-request.js +110 -110
  577. package/dist/session/model-transport.js +7 -7
  578. package/dist/session/move.js +120 -120
  579. package/dist/session/projector.js +84 -84
  580. package/dist/session/prompt.js +99 -99
  581. package/dist/session/revert.js +85 -85
  582. package/dist/session/run-coordinator.js +1 -1
  583. package/dist/session/runner/index.js +3 -3
  584. package/dist/session/runner/llm.js +220 -220
  585. package/dist/session/runner/max-steps.js +1 -1
  586. package/dist/session/runner/model.js +85 -85
  587. package/dist/session/runner/publish-llm-event.js +3 -3
  588. package/dist/session/runner/retry.js +2 -2
  589. package/dist/session/runner/step.js +117 -117
  590. package/dist/session/runner/to-llm-message.js +1 -1
  591. package/dist/session/schema.js +5 -5
  592. package/dist/session/session.js +167 -167
  593. package/dist/session/shell.js +130 -130
  594. package/dist/session/skill.js +97 -97
  595. package/dist/session/sql.js +5 -5
  596. package/dist/session/stats.js +73 -73
  597. package/dist/session/store.js +84 -84
  598. package/dist/session/subagent-completion.js +1 -1
  599. package/dist/session/subagent-job.js +203 -203
  600. package/dist/session/system-prompt.js +3 -3
  601. package/dist/session/title.js +147 -147
  602. package/dist/session/to-session-error.js +105 -105
  603. package/dist/session/transfer.js +216 -216
  604. package/dist/session/usage.js +1 -1
  605. package/dist/session.js +209 -209
  606. package/dist/shell/parse.js +6 -6
  607. package/dist/shell/result.js +1 -1
  608. package/dist/shell/scan.js +1 -1
  609. package/dist/shell/select.js +9 -9
  610. package/dist/shell.js +130 -130
  611. package/dist/skill/discovery.js +4 -4
  612. package/dist/skill/instructions.js +101 -101
  613. package/dist/skill.js +104 -104
  614. package/dist/snapshot.js +84 -84
  615. package/dist/state.js +1 -1
  616. package/dist/tool/html-markdown.js +1 -1
  617. package/dist/tool/http-body.js +1 -1
  618. package/dist/tool/mcp.js +117 -117
  619. package/dist/tool/plugin/edit.js +114 -114
  620. package/dist/tool/plugin/file-diff.js +1 -1
  621. package/dist/tool/plugin/glob.js +119 -119
  622. package/dist/tool/plugin/grep.js +119 -119
  623. package/dist/tool/plugin/opencode.js +3 -3
  624. package/dist/tool/plugin/patch.js +116 -116
  625. package/dist/tool/plugin/question.js +95 -95
  626. package/dist/tool/plugin/read.js +118 -118
  627. package/dist/tool/plugin/shell.js +208 -208
  628. package/dist/tool/plugin/skill.js +105 -105
  629. package/dist/tool/plugin/subagent.js +210 -210
  630. package/dist/tool/plugin/webfetch.js +102 -102
  631. package/dist/tool/plugin/websearch.js +100 -100
  632. package/dist/tool/plugin/write.js +114 -114
  633. package/dist/tool/read-filesystem.js +92 -92
  634. package/dist/tool/runtime.js +1 -1
  635. package/dist/tool-output.js +8 -8
  636. package/dist/tool.js +13 -13
  637. package/dist/util/error.js +1 -1
  638. package/dist/util/iife.js +1 -1
  639. package/dist/util/lazy.js +1 -1
  640. package/dist/util/slug.js +1 -1
  641. package/dist/util/token.js +1 -1
  642. package/dist/util/which.js +1 -1
  643. package/dist/util/wildcard.js +1 -1
  644. package/dist/v1/config/agent.js +7 -7
  645. package/dist/v1/config/attachment.js +4 -4
  646. package/dist/v1/config/command.js +3 -3
  647. package/dist/v1/config/config.js +16 -16
  648. package/dist/v1/config/error.js +4 -4
  649. package/dist/v1/config/formatter.js +1 -1
  650. package/dist/v1/config/layout.js +1 -1
  651. package/dist/v1/config/lsp.js +5 -5
  652. package/dist/v1/config/mcp.js +4 -4
  653. package/dist/v1/config/migrate.js +4 -4
  654. package/dist/v1/config/permission.js +5 -5
  655. package/dist/v1/config/plugin.js +3 -3
  656. package/dist/v1/config/provider-options.js +1 -1
  657. package/dist/v1/config/provider.js +4 -4
  658. package/dist/v1/config/server.js +2 -2
  659. package/dist/v1/config/skills.js +3 -3
  660. package/dist/v1/permission.js +1 -1
  661. package/dist/vcs/patch.js +1 -1
  662. package/dist/vcs.js +85 -85
  663. package/dist/websearch.js +80 -80
  664. package/dist/wellknown/plugin.js +74 -74
  665. package/dist/wellknown.js +79 -79
  666. package/dist/workspace/driver.js +3 -3
  667. package/dist/workspace/sql.js +1 -1
  668. package/dist/workspace.js +78 -78
  669. package/dist/worktree/directory.js +2 -2
  670. package/dist/worktree/git.js +7 -7
  671. package/dist/worktree/sql.js +5 -5
  672. package/dist/worktree.js +90 -90
  673. package/package.json +7 -7
  674. package/dist/chunks/command-4kfzb8gv.js +0 -450
  675. package/dist/chunks/command-9sh4wc5j.js +0 -18
  676. package/dist/chunks/command-csvvt798.js +0 -22
  677. package/dist/chunks/command-f4j0pa50.js +0 -4
  678. package/dist/chunks/command-qgqmyz30.js +0 -243
  679. /package/dist/chunks/{command-0fabt78z.js → persistent-pty-0fabt78z.js} +0 -0
  680. /package/dist/chunks/{command-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  681. /package/dist/chunks/{command-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  682. /package/dist/chunks/{command-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  683. /package/dist/chunks/{command-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  684. /package/dist/chunks/{command-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  685. /package/dist/chunks/{command-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  686. /package/dist/chunks/{command-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  687. /package/dist/chunks/{command-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  688. /package/dist/chunks/{command-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  689. /package/dist/chunks/{command-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  690. /package/dist/chunks/{command-3t738kvx.js → persistent-pty-3t738kvx.js} +0 -0
  691. /package/dist/chunks/{command-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  692. /package/dist/chunks/{command-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  693. /package/dist/chunks/{command-41nvscxy.js → persistent-pty-41nvscxy.js} +0 -0
  694. /package/dist/chunks/{command-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  695. /package/dist/chunks/{command-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  696. /package/dist/chunks/{command-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  697. /package/dist/chunks/{command-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  698. /package/dist/chunks/{command-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  699. /package/dist/chunks/{command-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  700. /package/dist/chunks/{command-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  701. /package/dist/chunks/{command-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  702. /package/dist/chunks/{command-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  703. /package/dist/chunks/{command-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  704. /package/dist/chunks/{command-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  705. /package/dist/chunks/{command-982e01ww.js → persistent-pty-982e01ww.js} +0 -0
  706. /package/dist/chunks/{command-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  707. /package/dist/chunks/{command-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  708. /package/dist/chunks/{command-a1tpkmh4.js → persistent-pty-a1tpkmh4.js} +0 -0
  709. /package/dist/chunks/{command-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  710. /package/dist/chunks/{command-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  711. /package/dist/chunks/{command-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  712. /package/dist/chunks/{command-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  713. /package/dist/chunks/{command-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  714. /package/dist/chunks/{command-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  715. /package/dist/chunks/{command-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  716. /package/dist/chunks/{command-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  717. /package/dist/chunks/{command-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  718. /package/dist/chunks/{command-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  719. /package/dist/chunks/{command-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  720. /package/dist/chunks/{command-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  721. /package/dist/chunks/{command-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  722. /package/dist/chunks/{command-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  723. /package/dist/chunks/{command-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  724. /package/dist/chunks/{command-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  725. /package/dist/chunks/{command-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  726. /package/dist/chunks/{command-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  727. /package/dist/chunks/{command-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  728. /package/dist/chunks/{command-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  729. /package/dist/chunks/{command-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  730. /package/dist/chunks/{command-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  731. /package/dist/chunks/{command-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  732. /package/dist/chunks/{command-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  733. /package/dist/chunks/{command-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  734. /package/dist/chunks/{command-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  735. /package/dist/chunks/{command-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  736. /package/dist/chunks/{command-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  737. /package/dist/chunks/{command-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  738. /package/dist/chunks/{command-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  739. /package/dist/chunks/{command-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  740. /package/dist/chunks/{command-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  741. /package/dist/chunks/{command-mntxs535.js → persistent-pty-mntxs535.js} +0 -0
  742. /package/dist/chunks/{command-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  743. /package/dist/chunks/{command-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  744. /package/dist/chunks/{command-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  745. /package/dist/chunks/{command-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  746. /package/dist/chunks/{command-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  747. /package/dist/chunks/{command-p8qxwesx.js → persistent-pty-p8qxwesx.js} +0 -0
  748. /package/dist/chunks/{command-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  749. /package/dist/chunks/{command-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  750. /package/dist/chunks/{command-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  751. /package/dist/chunks/{command-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  752. /package/dist/chunks/{command-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  753. /package/dist/chunks/{command-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  754. /package/dist/chunks/{command-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  755. /package/dist/chunks/{command-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  756. /package/dist/chunks/{command-se0s1eqw.js → persistent-pty-se0s1eqw.js} +0 -0
  757. /package/dist/chunks/{command-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  758. /package/dist/chunks/{command-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  759. /package/dist/chunks/{command-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
  760. /package/dist/chunks/{command-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  761. /package/dist/chunks/{command-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  762. /package/dist/chunks/{command-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  763. /package/dist/chunks/{command-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  764. /package/dist/chunks/{command-x1b8g1yb.js → persistent-pty-x1b8g1yb.js} +0 -0
  765. /package/dist/chunks/{command-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  766. /package/dist/chunks/{command-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  767. /package/dist/chunks/{command-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  768. /package/dist/chunks/{command-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  769. /package/dist/chunks/{command-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
  770. /package/dist/chunks/{command-zbjnn3ac.js → persistent-pty-zbjnn3ac.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./command-mh85gtv1.js";
2
+ Service79,
3
+ node82
4
+ } from "./persistent-pty-gg2fk1c4.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./command-jwcy2c2z.js";
7
+ } from "./persistent-pty-f0nz223j.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node69
12
- } from "./command-zzjwypeh.js";
11
+ node76
12
+ } from "./persistent-pty-pf6xx1eb.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./command-faypxj3z.js";
15
+ } from "./persistent-pty-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./command-9rqn6x4v.js";
18
+ } from "./persistent-pty-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID11,
25
- Info: () => Info24,
24
+ ID: () => ID15,
25
+ Info: () => Info28,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service66,
27
+ Service: () => Service73,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured9,
30
- node: () => node68
29
+ configured: () => configured10,
30
+ node: () => node75
31
31
  });
32
32
  import { Workspace } from "@opencode-ai/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID11 = Workspace.ID;
38
+ var ID15 = Workspace.ID;
39
39
 
40
- class Info24 extends Schema.Class("Workspace.Info")({
41
- id: ID11,
40
+ class Info28 extends Schema.Class("Workspace.Info")({
41
+ id: ID15,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,25 +46,25 @@ class Info24 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID11 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID15 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID11,
53
+ workspaceID: ID15,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service66 extends Context.Service()("@opencode/Workspace") {
59
+ class Service73 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured9 = (options = {}) => makeGlobalNode({
62
- service: Service66,
61
+ var configured10 = (options = {}) => makeGlobalNode({
62
+ service: Service73,
63
63
  layer: layer(options),
64
- deps: [node84, node69]
64
+ deps: [node82, node76]
65
65
  });
66
- var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
67
- const db = (yield* Service80).db;
66
+ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
67
+ const db = (yield* Service79).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
70
70
  const connections = new Map;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info24({
83
+ const info = (row, binding) => new Info28({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service66.of({
157
+ return Service73.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID11.create();
159
+ const workspaceID = input.id ?? ID15.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node68 = configured9();
224
+ var node75 = configured10();
225
225
 
226
- export { ID11, Info24, NotFound3, CreateConflict2, Service66, configured9, node68, exports_workspace };
226
+ export { ID15, Info28, NotFound3, CreateConflict2, Service73, configured10, node75, exports_workspace };
@@ -2,44 +2,44 @@ import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
4
  Info32
5
- } from "./command-4z6b0fg6.js";
5
+ } from "./persistent-pty-4z6b0fg6.js";
6
6
  import {
7
- Info31
8
- } from "./command-3wfq9j39.js";
7
+ Info22
8
+ } from "./persistent-pty-6cmxkhbe.js";
9
9
  import {
10
- Service79,
11
- node83
12
- } from "./command-pdae5shs.js";
10
+ Service78,
11
+ node81
12
+ } from "./persistent-pty-gfze89fe.js";
13
13
  import {
14
14
  create3
15
- } from "./command-kg06axw8.js";
15
+ } from "./persistent-pty-kg06axw8.js";
16
16
  import {
17
- ID14,
18
- Service73,
19
- node76
20
- } from "./command-vbr4w0aw.js";
17
+ ID7,
18
+ Service57,
19
+ node59
20
+ } from "./persistent-pty-egz8g656.js";
21
21
  import {
22
22
  __export
23
- } from "./command-9rqn6x4v.js";
23
+ } from "./persistent-pty-9rqn6x4v.js";
24
24
 
25
25
  // src/catalog.ts
26
26
  var exports_catalog2 = {};
27
27
  __export(exports_catalog2, {
28
28
  Catalog: () => exports_catalog2,
29
- Event: () => Event16,
30
- Service: () => Service72,
31
- node: () => node75
29
+ Event: () => Event11,
30
+ Service: () => Service56,
31
+ node: () => node58
32
32
  });
33
33
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode-ai/schema/catalog";
36
- import { Event as Event16 } from "@opencode-ai/schema/catalog";
36
+ import { Event as Event11 } from "@opencode-ai/schema/catalog";
37
37
 
38
- class Service72 extends Context.Service()("@opencode/Catalog") {
38
+ class Service56 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service72, Effect.gen(function* () {
41
- const bus = yield* Service79;
42
- const integrations = yield* Service73;
40
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
41
+ const bus = yield* Service78;
42
+ const integrations = yield* Service57;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -94,7 +94,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
94
94
  };
95
95
  editor.providers.set(providerID, record);
96
96
  }
97
- const model = record.models.get(modelID) ?? Info31.default(providerID, modelID);
97
+ const model = record.models.get(modelID) ?? Info22.default(providerID, modelID);
98
98
  if (!record.models.has(modelID))
99
99
  record.models.set(modelID, model);
100
100
  fn(model);
@@ -128,7 +128,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
128
128
  }),
129
129
  available: Effect.fn("Catalog.provider.available")(function* () {
130
130
  const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
131
- return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID14.make(provider.id))));
131
+ return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID7.make(provider.id))));
132
132
  })
133
133
  },
134
134
  model: {
@@ -183,9 +183,9 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
183
183
  })
184
184
  }
185
185
  };
186
- return Service72.of(result);
186
+ return Service56.of(result);
187
187
  }));
188
188
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
189
- var node75 = makeLocationNode({ service: Service72, layer, deps: [node83, node76] });
189
+ var node58 = makeLocationNode({ service: Service56, layer, deps: [node81, node59] });
190
190
 
191
- export { Service72, node75, exports_catalog2, Event16 };
191
+ export { Service56, node58, exports_catalog2, Event11 };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./command-emrn6kk6.js";
5
+ } from "./persistent-pty-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service79,
3
- node83
4
- } from "./command-pdae5shs.js";
2
+ Service78,
3
+ node81
4
+ } from "./persistent-pty-gfze89fe.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./command-p8qxwesx.js";
8
+ } from "./persistent-pty-p8qxwesx.js";
9
9
  import {
10
- Ref2,
11
- Service68,
12
- node71
13
- } from "./command-4jcgzkct.js";
10
+ Ref4,
11
+ Service75,
12
+ node78
13
+ } from "./persistent-pty-c44391z3.js";
14
14
  import {
15
15
  __export
16
- } from "./command-9rqn6x4v.js";
16
+ } from "./persistent-pty-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service17,
22
+ Service: () => Service74,
23
23
  define: () => define2,
24
- node: () => node20
24
+ node: () => node77
25
25
  });
26
26
  import { define as define2 } from "@opencode-ai/schema/rpc";
27
27
  import { Event } from "@opencode-ai/schema/event";
28
28
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
29
29
  import { Context, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service17 extends Context.Service()("@opencode/Rpc") {
30
+ class Service74 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service17, Effect.gen(function* () {
43
- const bus = yield* Service79;
44
- const location = yield* Service68;
45
- const ref = Ref2.make({ directory: location.directory, workspaceID: location.workspaceID });
42
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
43
+ const bus = yield* Service78;
44
+ const location = yield* Service75;
45
+ const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const callContext = {
47
47
  error: (type, message, data) => new DeclaredError(type, message, data)
48
48
  };
@@ -81,7 +81,7 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
81
81
  const event = registered.event;
82
82
  const data = yield* encode(event.schema, args[1]);
83
83
  return yield* bus.publish(registered.definition, data, {
84
- location: Ref2.make({ directory: ref.directory, workspaceID: ref.workspaceID })
84
+ location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
85
85
  }).pipe(Effect.asVoid);
86
86
  })
87
87
  }
@@ -115,19 +115,19 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
115
115
  const registered = events.get(name);
116
116
  if (!registered)
117
117
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
118
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service68, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
118
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service75, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
119
119
  }
120
120
  }
121
121
  };
122
122
  };
123
- return Service17.of({ register, call, client });
123
+ return Service74.of({ register, call, client });
124
124
  }));
125
- var node20 = makeLocationNode({ service: Service17, layer, deps: [node83, node71] });
125
+ var node77 = makeLocationNode({ service: Service74, layer, deps: [node81, node78] });
126
126
  var fields = {
127
127
  id: Event.ID,
128
128
  created: Schema.Finite,
129
129
  metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
130
- location: optional2(Ref2)
130
+ location: optional2(Ref4)
131
131
  };
132
132
  var EventData = Schema.Record(Schema.String, Schema.Unknown);
133
133
  var jsonSchemas = new WeakMap;
@@ -203,8 +203,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
203
203
  ...payload,
204
204
  type: eventType(definition, name),
205
205
  data,
206
- location: Ref2.make({ directory: ref.directory, workspaceID: ref.workspaceID })
206
+ location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
207
207
  };
208
208
  });
209
209
 
210
- export { Service17, node20, exports_rpc, define2 };
210
+ export { Service74, node77, exports_rpc, define2 };
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-p8qxwesx.js";
3
+ } from "./persistent-pty-p8qxwesx.js";
4
4
  import {
5
- node73
6
- } from "./command-mhsg1yty.js";
5
+ node80
6
+ } from "./persistent-pty-zrz343zw.js";
7
7
  import {
8
- ID13
9
- } from "./command-dqwszdkc.js";
8
+ ID17
9
+ } from "./persistent-pty-v60ecprk.js";
10
10
  import {
11
11
  Slug2
12
- } from "./command-gebd4c9n.js";
13
- import {
14
- Service80,
15
- node84
16
- } from "./command-mh85gtv1.js";
12
+ } from "./persistent-pty-gebd4c9n.js";
17
13
  import {
18
14
  Service79,
19
- node83
20
- } from "./command-pdae5shs.js";
15
+ node82
16
+ } from "./persistent-pty-gg2fk1c4.js";
17
+ import {
18
+ Service78,
19
+ node81
20
+ } from "./persistent-pty-gfze89fe.js";
21
21
  import {
22
22
  ProjectTable2
23
- } from "./command-9qm9egsn.js";
23
+ } from "./persistent-pty-qvbcabdc.js";
24
24
  import {
25
25
  WorktreeTable2
26
- } from "./command-ajtjthsy.js";
26
+ } from "./persistent-pty-yg7sb877.js";
27
27
  import {
28
- Service68,
29
- node71
30
- } from "./command-4jcgzkct.js";
28
+ Service75,
29
+ node78
30
+ } from "./persistent-pty-c44391z3.js";
31
31
  import {
32
32
  DirectoryUnavailableError2,
33
33
  canonical2
34
- } from "./command-93a8yfjt.js";
34
+ } from "./persistent-pty-93a8yfjt.js";
35
35
  import {
36
- make17
37
- } from "./command-q8rpcfw0.js";
36
+ make10
37
+ } from "./persistent-pty-zjey93np.js";
38
38
  import {
39
39
  __export
40
- } from "./command-9rqn6x4v.js";
40
+ } from "./persistent-pty-9rqn6x4v.js";
41
41
 
42
42
  // src/worktree.ts
43
43
  var exports_worktree = {};
@@ -46,21 +46,21 @@ __export(exports_worktree, {
46
46
  DestinationExistsError: () => DestinationExistsError2,
47
47
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
48
48
  DuplicateStrategyError: () => DuplicateStrategyError2,
49
- Event: () => Event8,
50
- Info: () => Info10,
49
+ Event: () => Event2,
50
+ Info: () => Info2,
51
51
  InvalidDirectoryError: () => InvalidDirectoryError2,
52
52
  List: () => List2,
53
53
  ListEntry: () => ListEntry3,
54
- ListInput: () => ListInput6,
54
+ ListInput: () => ListInput2,
55
55
  RefreshInput: () => RefreshInput2,
56
56
  RefreshResult: () => RefreshResult2,
57
57
  RemoveInput: () => RemoveInput2,
58
- Service: () => Service56,
58
+ Service: () => Service13,
59
59
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
60
60
  StrategyID: () => StrategyID2,
61
61
  StrategyUnavailableError: () => StrategyUnavailableError2,
62
62
  Worktree: () => exports_worktree,
63
- node: () => node58,
63
+ node: () => node15,
64
64
  refreshAfterBoot: () => refreshAfterBoot2,
65
65
  refreshNode: () => refreshNode2
66
66
  });
@@ -76,21 +76,21 @@ var StrategyID2 = Worktree.StrategyID;
76
76
  var CreateInput2 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
78
  var RefreshInput2 = Schema.Struct({
79
- projectID: ID13
79
+ projectID: ID17
80
80
  }).annotate({ identifier: "Worktree.RefreshInput" });
81
81
  var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info10 = Worktree.Info;
86
- var ListInput6 = Worktree.ListInput;
85
+ var Info2 = Worktree.Info;
86
+ var ListInput2 = Worktree.ListInput;
87
87
  var List2 = Worktree.List;
88
88
  var ListEntry3 = Schema.Struct({
89
89
  directory: AbsolutePath2,
90
90
  type: Schema.Literals(["root", "worktree"])
91
91
  }).annotate({ identifier: "Worktree.ListEntry" });
92
92
 
93
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID13, directory: Schema.optional(AbsolutePath2) }) {
93
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
94
94
  }
95
95
 
96
96
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -104,13 +104,13 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
104
104
 
105
105
  class DuplicateStrategyError2 extends Schema.TaggedError()("Worktree.DuplicateStrategyError", { strategy: StrategyID2 }) {
106
106
  }
107
- var Event8 = Worktree.Event;
107
+ var Event2 = Worktree.Event;
108
108
 
109
- class Service56 extends Context.Service()("@opencode/v2/Worktree") {
109
+ class Service13 extends Context.Service()("@opencode/v2/Worktree") {
110
110
  }
111
111
  var refreshAfterBoot2 = Effect.gen(function* () {
112
- const location = yield* Service68;
113
- const worktrees = yield* Service56;
112
+ const location = yield* Service75;
113
+ const worktrees = yield* Service13;
114
114
  yield* Effect.gen(function* () {
115
115
  yield* Effect.logInfo("worktree refresh started", { projectID: location.project.id });
116
116
  const result = yield* worktrees.refresh({ projectID: location.project.id });
@@ -121,14 +121,14 @@ var refreshAfterBoot2 = Effect.gen(function* () {
121
121
  });
122
122
  }).pipe(Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped, Effect.asVoid);
123
123
  });
124
- var layer = Layer.effect(Service56, Effect.gen(function* () {
124
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
125
125
  const fs = yield* FSUtil.Service;
126
- const db = (yield* Service80).db;
127
- const bus = yield* Service79;
126
+ const db = (yield* Service79).db;
127
+ const bus = yield* Service78;
128
128
  const processService = yield* AppProcess.Service;
129
129
  const changed = Effect.fnUntraced(function* (projectID, update) {
130
130
  if (update)
131
- yield* bus.publish(Event8.Updated, { projectID });
131
+ yield* bus.publish(Event2.Updated, { projectID });
132
132
  });
133
133
  const ops = {
134
134
  list: Effect.fn("Worktree.list")(function* (projectID) {
@@ -155,7 +155,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
155
155
  return yield* new DuplicateStrategyError2({ strategy: strategy.id });
156
156
  registry.set(strategy.id, strategy);
157
157
  });
158
- const gitStrategy = yield* make17;
158
+ const gitStrategy = yield* make10;
159
159
  yield* register(gitStrategy).pipe(Effect.orDie);
160
160
  const source = Effect.fnUntraced(function* (input, projectID) {
161
161
  const sourceDirectory = input ?? (yield* ops.primary(projectID))?.directory;
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
244
244
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
245
245
  return changes;
246
246
  });
247
- return Service56.of({
247
+ return Service13.of({
248
248
  register,
249
249
  list: ops.list,
250
250
  create,
@@ -252,15 +252,15 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
252
252
  refresh
253
253
  });
254
254
  }));
255
- var node58 = makeGlobalNode({
256
- service: Service56,
255
+ var node15 = makeGlobalNode({
256
+ service: Service13,
257
257
  layer,
258
- deps: [FSUtil.node, node73, node83, node84, AppProcess.node]
258
+ deps: [FSUtil.node, node80, node81, node82, AppProcess.node]
259
259
  });
260
260
  var refreshNode2 = makeLocationNode({
261
261
  name: "worktree-refresh",
262
262
  layer: Layer.effectDiscard(refreshAfterBoot2),
263
- deps: [node58, node71]
263
+ deps: [node15, node78]
264
264
  });
265
265
 
266
- export { StrategyID2, CreateInput2, RemoveInput2, RefreshInput2, RefreshResult2, Info10, ListInput6, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, DuplicateStrategyError2, Event8, Service56, refreshAfterBoot2, node58, refreshNode2, exports_worktree };
266
+ export { StrategyID2, CreateInput2, RemoveInput2, RefreshInput2, RefreshResult2, Info2, ListInput2, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, DuplicateStrategyError2, Event2, Service13, refreshAfterBoot2, node15, refreshNode2, exports_worktree };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  call2
3
- } from "./command-6z5bwd8g.js";
3
+ } from "./persistent-pty-w3jym6ha.js";
4
4
  import {
5
5
  __export
6
- } from "./command-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin3,
11
+ Plugin: () => Plugin18,
12
12
  WebSearchExa: () => exports_exa,
13
13
  endpoint: () => endpoint2
14
14
  });
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin3 = define({
30
+ var Plugin18 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint2, Plugin3, exports_exa };
83
+ export { endpoint2, Plugin18, exports_exa };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service57
4
- } from "./command-6dbg2gn2.js";
3
+ Service46
4
+ } from "./persistent-pty-t5zy0tn8.js";
5
5
  import {
6
- Service49
7
- } from "./command-yzsm82be.js";
6
+ Service50
7
+ } from "./persistent-pty-nrvhq0he.js";
8
8
  import {
9
9
  observe2
10
- } from "./command-qsdy395h.js";
10
+ } from "./persistent-pty-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./command-9rqn6x4v.js";
13
+ } from "./persistent-pty-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/snapshot.ts
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin24
19
+ Plugin: () => Plugin16
20
20
  });
21
21
  import { define } from "@opencode-ai/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin24 = define({
23
+ var Plugin16 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service57;
27
- const snapshot = yield* Service49;
26
+ const config = yield* Service46;
27
+ const snapshot = yield* Service50;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin24 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin24, exports_snapshot };
38
+ export { Plugin16, exports_snapshot };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
6
  var exports_formatter3 = {};
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./command-4z6b0fg6.js";
4
+ } from "./persistent-pty-4z6b0fg6.js";
5
5
  import {
6
6
  latest2,
7
- Service57
8
- } from "./command-6dbg2gn2.js";
7
+ Service46
8
+ } from "./persistent-pty-t5zy0tn8.js";
9
9
  import {
10
10
  observe2
11
- } from "./command-qsdy395h.js";
11
+ } from "./persistent-pty-qsdy395h.js";
12
12
  import {
13
13
  __export
14
- } from "./command-9rqn6x4v.js";
14
+ } from "./persistent-pty-9rqn6x4v.js";
15
15
 
16
16
  // src/config/plugin/provider.ts
17
17
  var exports_provider = {};
18
18
  __export(exports_provider, {
19
19
  ConfigProviderPlugin: () => exports_provider,
20
- Plugin: () => Plugin19
20
+ Plugin: () => Plugin7
21
21
  });
22
22
  import { define } from "@opencode-ai/plugin/effect/plugin";
23
23
  import { Money } from "@opencode-ai/schema/money";
24
24
  import { Effect } from "effect";
25
- var Plugin19 = define({
25
+ var Plugin7 = define({
26
26
  id: "opencode.config.provider",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service57;
28
+ const config = yield* Service46;
29
29
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
30
30
  yield* ctx.integration.transform((integrations) => {
31
31
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -151,4 +151,4 @@ function configuredProviders(entries) {
151
151
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
152
152
  }
153
153
 
154
- export { Plugin19, exports_provider };
154
+ export { Plugin7, exports_provider };