@opencode/core 0.0.0-dev-20289 → 0.0.0-dev-20290

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{project-ws541e64.js → pty-00pys7g3.js} +32 -32
  8. package/dist/chunks/{project-0gdmqesm.js → pty-0gdmqesm.js} +1 -1
  9. package/dist/chunks/{project-tx8aftqs.js → pty-0kptsf41.js} +29 -29
  10. package/dist/chunks/{project-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{project-xnaw95gh.js → pty-12m9tcs5.js} +13 -13
  12. package/dist/chunks/{project-5aevq8xe.js → pty-166nas2n.js} +75 -75
  13. package/dist/chunks/{project-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  14. package/dist/chunks/{project-rqkmnqjz.js → pty-1r4hg1ab.js} +92 -92
  15. package/dist/chunks/{project-6yq02ve2.js → pty-1sspf4zp.js} +11 -11
  16. package/dist/chunks/{project-21r38tys.js → pty-21r38tys.js} +1 -1
  17. package/dist/chunks/{project-aym04382.js → pty-22pf21tc.js} +4 -4
  18. package/dist/chunks/{project-njdvb0jf.js → pty-25wmepd2.js} +13 -13
  19. package/dist/chunks/{project-zbt67hek.js → pty-298khz9n.js} +27 -27
  20. package/dist/chunks/{project-z63w68vq.js → pty-29x78va6.js} +6 -6
  21. package/dist/chunks/{project-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  22. package/dist/chunks/{project-mw8gr7fr.js → pty-2qp1m1e2.js} +15 -15
  23. package/dist/chunks/{project-dtm8hsv1.js → pty-2xv95c3w.js} +17 -17
  24. package/dist/chunks/{project-4n60pb9e.js → pty-31j2dbav.js} +3 -3
  25. package/dist/chunks/{project-56gdpj1q.js → pty-33w4ejhs.js} +6 -6
  26. package/dist/chunks/{project-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  27. package/dist/chunks/{project-690tj456.js → pty-3gxahddg.js} +9 -9
  28. package/dist/chunks/{project-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  29. package/dist/chunks/{project-12t2360m.js → pty-3sm5tmhn.js} +35 -35
  30. package/dist/chunks/{project-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  31. package/dist/chunks/{project-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  32. package/dist/chunks/{project-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
  33. package/dist/chunks/{project-52d0evsq.js → pty-47rn6gb0.js} +9 -9
  34. package/dist/chunks/{project-28jfcc4w.js → pty-4fj5vy9w.js} +31 -31
  35. package/dist/chunks/{project-vdgcxr2s.js → pty-4j5pe0vj.js} +26 -26
  36. package/dist/chunks/{project-b3tbq4w8.js → pty-4m37mf4n.js} +5 -5
  37. package/dist/chunks/{project-3tzgvxzm.js → pty-4seh7fh4.js} +32 -32
  38. package/dist/chunks/{project-v8dfz6e8.js → pty-4t6c091a.js} +15 -15
  39. package/dist/chunks/{project-j88kjays.js → pty-4yn5zrg4.js} +15 -15
  40. package/dist/chunks/{project-7jfn2nfr.js → pty-4zpej1ag.js} +5 -5
  41. package/dist/chunks/{project-eckmdhj3.js → pty-547v9var.js} +17 -17
  42. package/dist/chunks/{project-54ma36ye.js → pty-54ma36ye.js} +1 -1
  43. package/dist/chunks/{project-s7g4z28s.js → pty-56d7j3tv.js} +30 -30
  44. package/dist/chunks/{project-57ez7d0k.js → pty-57ez7d0k.js} +2 -2
  45. package/dist/chunks/{project-5daktx2q.js → pty-5daktx2q.js} +1 -1
  46. package/dist/chunks/{project-zsr4wwhv.js → pty-5dkn69vz.js} +4 -4
  47. package/dist/chunks/{project-gynv5cx7.js → pty-5epte933.js} +3 -3
  48. package/dist/chunks/{project-sfq9drnd.js → pty-5ggvksrg.js} +29 -29
  49. package/dist/chunks/{project-meyf4ekz.js → pty-5k8pr68x.js} +4 -4
  50. package/dist/chunks/{project-49nm2bgr.js → pty-5r8pgr53.js} +5 -5
  51. package/dist/chunks/{project-7a79fyt5.js → pty-5rqh976q.js} +3 -3
  52. package/dist/chunks/{project-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  53. package/dist/chunks/{project-vrjh2f6v.js → pty-5v9sj2jh.js} +7 -7
  54. package/dist/chunks/{project-dkdgcpb9.js → pty-5xrxk02f.js} +8 -8
  55. package/dist/chunks/{project-8rz9f2b3.js → pty-5ynr4ewv.js} +29 -29
  56. package/dist/chunks/{project-1mkytn8n.js → pty-63xt2gg6.js} +25 -25
  57. package/dist/chunks/{project-669tq793.js → pty-669tq793.js} +1 -1
  58. package/dist/chunks/{project-vkfb4jx0.js → pty-69eq3qtv.js} +4 -4
  59. package/dist/chunks/{project-731p8km1.js → pty-6bncvy53.js} +16 -16
  60. package/dist/chunks/{project-py18572k.js → pty-6faamtbd.js} +24 -24
  61. package/dist/chunks/{project-7wha6mnd.js → pty-6gp8watj.js} +14 -14
  62. package/dist/chunks/{project-2a4f6v5q.js → pty-6hcnmam1.js} +8 -8
  63. package/dist/chunks/{project-a3ftg8j6.js → pty-6hjx5zpb.js} +9 -9
  64. package/dist/chunks/{project-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  65. package/dist/chunks/{project-ar3z6bxk.js → pty-6n7pjf9k.js} +11 -11
  66. package/dist/chunks/{project-rkprpv83.js → pty-6pc27hjz.js} +6 -6
  67. package/dist/chunks/{project-p4vtg1gg.js → pty-6rqaarfj.js} +14 -14
  68. package/dist/chunks/{project-b3e7wqv3.js → pty-6z415m3h.js} +5 -5
  69. package/dist/chunks/{project-9bf000qt.js → pty-6zycmakc.js} +11 -11
  70. package/dist/chunks/{project-axs6pdy0.js → pty-705e2ap1.js} +5 -5
  71. package/dist/chunks/{project-7zdfjpaf.js → pty-7101ktrf.js} +8 -8
  72. package/dist/chunks/{project-rm2jqjsd.js → pty-77p2n3ka.js} +29 -29
  73. package/dist/chunks/{project-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{project-607tc6va.js → pty-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{project-aj8j3wxk.js → pty-7hs0hr17.js} +23 -23
  76. package/dist/chunks/{project-64mbz47k.js → pty-7tha5tbn.js} +6 -6
  77. package/dist/chunks/{project-x4sg8qy2.js → pty-7tnxghr4.js} +25 -25
  78. package/dist/chunks/{project-csmvz898.js → pty-7v81x33d.js} +9 -9
  79. package/dist/chunks/{project-sy9r8w3b.js → pty-839b17zc.js} +43 -43
  80. package/dist/chunks/{project-w1eejvng.js → pty-84txncab.js} +5 -5
  81. package/dist/chunks/{project-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{project-4rc67e32.js → pty-8p7750b3.js} +25 -25
  83. package/dist/chunks/{project-sjbpejxc.js → pty-8qkhqjvg.js} +12 -12
  84. package/dist/chunks/{project-w2ac37ab.js → pty-8rz6jvcp.js} +19 -19
  85. package/dist/chunks/{project-053jwjs2.js → pty-8ym6e508.js} +12 -12
  86. package/dist/chunks/{project-4z47mc45.js → pty-903617vw.js} +12 -12
  87. package/dist/chunks/{project-8n69n882.js → pty-91p1v22t.js} +8 -8
  88. package/dist/chunks/{project-xfacq6rb.js → pty-93xvzgtc.js} +39 -39
  89. package/dist/chunks/{project-94ek1h2f.js → pty-94ek1h2f.js} +2 -2
  90. package/dist/chunks/{project-k7thdygn.js → pty-95ws1gjh.js} +3 -3
  91. package/dist/chunks/{project-4zxebnwz.js → pty-9aja3qk6.js} +11 -11
  92. package/dist/chunks/{project-cd5e0ncw.js → pty-9gca7nqa.js} +1 -1
  93. package/dist/chunks/{project-yne44ej7.js → pty-9gqjtvj6.js} +85 -85
  94. package/dist/chunks/{project-phstrbs2.js → pty-9hn6k4tm.js} +8 -8
  95. package/dist/chunks/{project-stw4c2x8.js → pty-9mwkpmby.js} +27 -27
  96. package/dist/chunks/{project-eptgt4qp.js → pty-9r73yh2k.js} +19 -19
  97. package/dist/chunks/{project-fraxrbyh.js → pty-9wn9fhxy.js} +2 -2
  98. package/dist/chunks/{project-pyvffvbh.js → pty-a14qddyf.js} +18 -18
  99. package/dist/chunks/{project-yycjvcgh.js → pty-a3ymefbh.js} +6 -6
  100. package/dist/chunks/{project-erf911ze.js → pty-a51vj2sy.js} +26 -26
  101. package/dist/chunks/{project-aaet6srn.js → pty-aaet6srn.js} +2 -2
  102. package/dist/chunks/{project-c78bbtc9.js → pty-ag9w8cw1.js} +5 -5
  103. package/dist/chunks/{project-sx1n432n.js → pty-an7cqtb7.js} +4 -4
  104. package/dist/chunks/{project-ezkvecwj.js → pty-ash4hwch.js} +9 -9
  105. package/dist/chunks/{project-06y3hwfp.js → pty-b1xes142.js} +21 -21
  106. package/dist/chunks/{project-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{project-nb6xv2ms.js → pty-b8pxkphb.js} +13 -13
  108. package/dist/chunks/{project-b3dr5ww8.js → pty-bskxk100.js} +11 -11
  109. package/dist/chunks/{project-jadga48t.js → pty-bvz46swk.js} +30 -30
  110. package/dist/chunks/{project-4h4fe64w.js → pty-bwv6jga4.js} +178 -178
  111. package/dist/chunks/{project-r4czcqfh.js → pty-c36kazt5.js} +11 -11
  112. package/dist/chunks/{project-ckecvw8r.js → pty-ckecvw8r.js} +2 -2
  113. package/dist/chunks/{project-tbeap78k.js → pty-cyyr2ryx.js} +14 -14
  114. package/dist/chunks/{project-rn8q0cx6.js → pty-cz9at8s3.js} +16 -16
  115. package/dist/chunks/{project-hzv9afqd.js → pty-d6zc0yrw.js} +46 -46
  116. package/dist/chunks/{project-qafwspfk.js → pty-db9gxvpc.js} +35 -35
  117. package/dist/chunks/{project-36t51zhw.js → pty-dh4n3axn.js} +29 -29
  118. package/dist/chunks/{project-818pfwc9.js → pty-dhwr7h25.js} +11 -11
  119. package/dist/chunks/{project-y6bex35g.js → pty-dnxkq42g.js} +4 -4
  120. package/dist/chunks/{project-drwq78ky.js → pty-drwq78ky.js} +1 -1
  121. package/dist/chunks/{project-as4r4vj3.js → pty-dtpcx3sj.js} +20 -20
  122. package/dist/chunks/{project-mv9h8c6d.js → pty-dyhjeyw1.js} +30 -30
  123. package/dist/chunks/{project-5qd3pb7m.js → pty-e3qxr5gk.js} +2 -2
  124. package/dist/chunks/{project-gz46k2a1.js → pty-ebqraxde.js} +22 -22
  125. package/dist/chunks/{project-ecfe7b91.js → pty-ecfe7b91.js} +2 -2
  126. package/dist/chunks/{project-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{project-r1bvamk5.js → pty-emvsgpqw.js} +21 -21
  128. package/dist/chunks/{project-a694798e.js → pty-engkm2d6.js} +5 -5
  129. package/dist/chunks/{project-r5x6zcsm.js → pty-eq1pz5kg.js} +3 -3
  130. package/dist/chunks/{project-yj5dcj2b.js → pty-eracma60.js} +54 -54
  131. package/dist/chunks/pty-erp3bzqc.js +252 -0
  132. package/dist/chunks/{project-x2d8hca6.js → pty-etnqkgne.js} +10 -10
  133. package/dist/chunks/{project-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  134. package/dist/chunks/{project-twncgfvc.js → pty-f02r5e20.js} +11 -11
  135. package/dist/chunks/{project-evttz6pw.js → pty-f05szktz.js} +21 -21
  136. package/dist/chunks/{project-f2n192rq.js → pty-f2n192rq.js} +1 -1
  137. package/dist/chunks/{project-b77cpj6m.js → pty-f4c1ttaq.js} +3 -3
  138. package/dist/chunks/{project-fcbbx3j9.js → pty-f6gb79hb.js} +9 -9
  139. package/dist/chunks/{project-ha1653ey.js → pty-f7csm4ve.js} +26 -26
  140. package/dist/chunks/{project-pe58eyng.js → pty-f9g9yax9.js} +9 -9
  141. package/dist/chunks/{project-kpt1qdq7.js → pty-fq6n6ras.js} +10 -10
  142. package/dist/chunks/{project-e6hd9jay.js → pty-fvanntqq.js} +6 -6
  143. package/dist/chunks/{project-z0sn24qa.js → pty-fw473rf4.js} +44 -44
  144. package/dist/chunks/{project-qx4t3fpp.js → pty-g1ja7mqv.js} +20 -20
  145. package/dist/chunks/{project-6aqenpe6.js → pty-g2eq9m13.js} +43 -43
  146. package/dist/chunks/{project-h6b02349.js → pty-g5agzp2h.js} +5 -5
  147. package/dist/chunks/{project-kbwf032e.js → pty-g97bb4fb.js} +2 -2
  148. package/dist/chunks/{project-7me2h9s5.js → pty-gb7cfa7m.js} +8 -8
  149. package/dist/chunks/{project-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{project-8apd0fk3.js → pty-gee5yzwp.js} +2 -2
  151. package/dist/chunks/{project-2149nv1z.js → pty-gghfkarr.js} +4 -4
  152. package/dist/chunks/{project-ce0gdwa2.js → pty-gkjzek3h.js} +16 -16
  153. package/dist/chunks/{project-8hgqfxgb.js → pty-gm6y06j9.js} +14 -14
  154. package/dist/chunks/{project-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  155. package/dist/chunks/{project-ps3kyhtj.js → pty-gx3m57p0.js} +26 -26
  156. package/dist/chunks/{project-5wm15th1.js → pty-gy1zn137.js} +24 -24
  157. package/dist/chunks/{project-bf4f4tc6.js → pty-gy9sb033.js} +10 -10
  158. package/dist/chunks/{project-ncnm8wen.js → pty-h5w29vws.js} +1 -1
  159. package/dist/chunks/{project-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{project-d1mtykxg.js → pty-hdab2k61.js} +6 -6
  161. package/dist/chunks/{project-5kvqrqtt.js → pty-hehaxqkv.js} +4 -4
  162. package/dist/chunks/{project-qyeqsdzg.js → pty-hzgv6j90.js} +11 -11
  163. package/dist/chunks/{project-qsxf26yz.js → pty-j5208yae.js} +6 -6
  164. package/dist/chunks/{project-j56e64zr.js → pty-j56e64zr.js} +1 -1
  165. package/dist/chunks/pty-jqh9b0xq.js +18 -0
  166. package/dist/chunks/{project-jdts96jg.js → pty-js3ryzpr.js} +11 -11
  167. package/dist/chunks/{project-r41x2cw7.js → pty-k06rjv8x.js} +13 -13
  168. package/dist/chunks/{project-t8y50d2h.js → pty-k2q1nrn1.js} +1 -1
  169. package/dist/chunks/{project-a4790m31.js → pty-k3zkbgx7.js} +25 -25
  170. package/dist/chunks/{project-bv2xgvbd.js → pty-k4wv29t5.js} +48 -48
  171. package/dist/chunks/{project-ddjweyn8.js → pty-k94pa5tz.js} +7 -7
  172. package/dist/chunks/{project-nnaqtnp0.js → pty-kadk3yqy.js} +42 -42
  173. package/dist/chunks/{project-xearycz2.js → pty-kcjjyj53.js} +21 -21
  174. package/dist/chunks/{project-nmhvxzxh.js → pty-kefs7twp.js} +20 -20
  175. package/dist/chunks/{project-ab0bg4br.js → pty-krfrp5kz.js} +11 -11
  176. package/dist/chunks/{project-bacyadyn.js → pty-m0r31qfn.js} +4 -4
  177. package/dist/chunks/{project-ff0zxw5w.js → pty-m21hmhy7.js} +19 -19
  178. package/dist/chunks/{project-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{project-czdj9312.js → pty-m5gekzn4.js} +13 -13
  180. package/dist/chunks/{project-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{project-shs60xat.js → pty-mbeja11x.js} +13 -13
  182. package/dist/chunks/{project-4d1sz7eg.js → pty-md3t2qq1.js} +26 -26
  183. package/dist/chunks/{project-s55akzd0.js → pty-mh6b7rh2.js} +40 -40
  184. package/dist/chunks/{project-ckz58j26.js → pty-mjk8ns3s.js} +18 -18
  185. package/dist/chunks/{project-6d6xcght.js → pty-mvfdckk2.js} +6 -6
  186. package/dist/chunks/{project-cmhg39yj.js → pty-mxe8gkry.js} +51 -51
  187. package/dist/chunks/{project-395kcsa0.js → pty-mxmb5cw3.js} +9 -9
  188. package/dist/chunks/{project-ba6x0ep7.js → pty-n05etbth.js} +20 -20
  189. package/dist/chunks/{project-83tfvzb6.js → pty-n7j8ea7m.js} +25 -25
  190. package/dist/chunks/{project-4t67bpxd.js → pty-nh7v3r81.js} +5 -5
  191. package/dist/chunks/{project-ywxt88nj.js → pty-nna5ba44.js} +9 -9
  192. package/dist/chunks/{project-1njvbn15.js → pty-nsd6ttt2.js} +38 -38
  193. package/dist/chunks/{project-282se8s8.js → pty-nw0j14yf.js} +15 -15
  194. package/dist/chunks/{project-yhabtz5d.js → pty-nwcqeccj.js} +5 -5
  195. package/dist/chunks/{project-6n85nym7.js → pty-nwmgq5md.js} +31 -31
  196. package/dist/chunks/{project-k3c624dm.js → pty-nzks3jc8.js} +3 -3
  197. package/dist/chunks/{project-ezes30fq.js → pty-p6sc6xf4.js} +14 -14
  198. package/dist/chunks/{project-s04kah20.js → pty-p7hfcpb1.js} +12 -12
  199. package/dist/chunks/{project-3x2vzye0.js → pty-pghs74jm.js} +10 -10
  200. package/dist/chunks/{project-d7fjbfjm.js → pty-pgwpntn4.js} +4 -4
  201. package/dist/chunks/{project-2wsxz18f.js → pty-pj681x6p.js} +20 -20
  202. package/dist/chunks/{project-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{project-pknna89w.js → pty-pknna89w.js} +1 -1
  204. package/dist/chunks/pty-pm9ypstk.js +26 -0
  205. package/dist/chunks/{project-t1abnjvg.js → pty-ppxj9f8n.js} +18 -18
  206. package/dist/chunks/{project-89pqg31m.js → pty-pqnsbq8t.js} +11 -11
  207. package/dist/chunks/{project-4jatx6ft.js → pty-pvh8k8j6.js} +5 -5
  208. package/dist/chunks/{project-qk6h43bm.js → pty-q3dqc3h2.js} +33 -33
  209. package/dist/chunks/{project-t8x4yvbd.js → pty-q3dzamve.js} +18 -18
  210. package/dist/chunks/{project-y5941b4h.js → pty-q607fvbk.js} +23 -23
  211. package/dist/chunks/{project-xtsr5b6r.js → pty-q82q9exb.js} +6 -6
  212. package/dist/chunks/{project-vttfgm5c.js → pty-q9e230a9.js} +57 -57
  213. package/dist/chunks/{project-gs3s1a1g.js → pty-qby9dwvd.js} +8 -8
  214. package/dist/chunks/{project-pnv527nz.js → pty-qg0jgkcp.js} +9 -9
  215. package/dist/chunks/{project-my56d36v.js → pty-qjzxgxpv.js} +3 -3
  216. package/dist/chunks/{project-2mq1h16s.js → pty-qmqgtz8f.js} +9 -9
  217. package/dist/chunks/{project-4dv29wnx.js → pty-qn8304n9.js} +330 -330
  218. package/dist/chunks/{project-7fswxymx.js → pty-qr5c3gzw.js} +32 -32
  219. package/dist/chunks/{project-qsdy395h.js → pty-qsdy395h.js} +1 -1
  220. package/dist/chunks/{project-ecsp9bpp.js → pty-r4vqcvbj.js} +35 -35
  221. package/dist/chunks/{project-97q8ans0.js → pty-r5e5zwbb.js} +34 -34
  222. package/dist/chunks/{project-redx8gv2.js → pty-rac3vem9.js} +31 -31
  223. package/dist/chunks/{project-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{project-xjcg4rpa.js → pty-rr0hpwez.js} +12 -12
  225. package/dist/chunks/{project-yrznvahk.js → pty-s4enseaf.js} +2 -2
  226. package/dist/chunks/{project-mymfc32k.js → pty-sgc66tsc.js} +28 -28
  227. package/dist/chunks/{project-pk4a84s8.js → pty-skxtpxf8.js} +10 -10
  228. package/dist/chunks/{project-kxf98cfh.js → pty-sp625ab5.js} +8 -8
  229. package/dist/chunks/{project-w45fphrw.js → pty-spg8qqh0.js} +28 -28
  230. package/dist/chunks/{project-7xph3mbh.js → pty-sxzc4anv.js} +16 -16
  231. package/dist/chunks/{project-z6k6vx84.js → pty-t713ny8j.js} +11 -11
  232. package/dist/chunks/{project-5t8yajra.js → pty-t94cx5vh.js} +8 -8
  233. package/dist/chunks/{project-2yf83c6y.js → pty-t9teg1yf.js} +11 -11
  234. package/dist/chunks/{project-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{project-tazp3vs0.js → pty-tazp3vs0.js} +4 -4
  236. package/dist/chunks/{project-89znhe33.js → pty-tcezcvh9.js} +4 -4
  237. package/dist/chunks/{project-tdstcens.js → pty-tdstcens.js} +1 -1
  238. package/dist/chunks/{project-9tef4xa6.js → pty-tebcm7m3.js} +24 -24
  239. package/dist/chunks/{project-qrj3wnkg.js → pty-tffeed3q.js} +12 -12
  240. package/dist/chunks/{project-fy53vy2g.js → pty-tkg4d23p.js} +23 -23
  241. package/dist/chunks/{project-tvtrv512.js → pty-tvtrv512.js} +1 -1
  242. package/dist/chunks/{project-h91h2q9q.js → pty-v6dqrb48.js} +11 -11
  243. package/dist/chunks/{project-q5ny0xm2.js → pty-v6pj48ph.js} +8 -8
  244. package/dist/chunks/{project-gqfpkqz0.js → pty-v9efh8jq.js} +11 -11
  245. package/dist/chunks/{project-5cks982w.js → pty-va5acnyd.js} +9 -9
  246. package/dist/chunks/{project-3z8zkz19.js → pty-vb9k7s1g.js} +8 -8
  247. package/dist/chunks/{project-6prsfskb.js → pty-vdjz1shn.js} +34 -34
  248. package/dist/chunks/{project-veqvce7d.js → pty-veqvce7d.js} +1 -1
  249. package/dist/chunks/{project-x3gqap9d.js → pty-vfjhn2wd.js} +4 -4
  250. package/dist/chunks/{project-g190xswt.js → pty-vsp1fds9.js} +21 -21
  251. package/dist/chunks/{project-3bxd3j1q.js → pty-vz4jexq7.js} +8 -8
  252. package/dist/chunks/{project-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{project-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
  254. package/dist/chunks/{project-fw203re9.js → pty-vzxynfrx.js} +10 -10
  255. package/dist/chunks/{project-m6a39cfz.js → pty-w1rhgxjx.js} +20 -20
  256. package/dist/chunks/{project-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{project-ezzzks3g.js → pty-w9xbefsq.js} +19 -19
  258. package/dist/chunks/{project-qn4ba14w.js → pty-wbkyxrgf.js} +5 -5
  259. package/dist/chunks/{project-njwxmpwa.js → pty-wcdd63eg.js} +28 -28
  260. package/dist/chunks/{project-wd3x2cqz.js → pty-wd3x2cqz.js} +2 -2
  261. package/dist/chunks/{project-wd87259q.js → pty-wd87259q.js} +1 -1
  262. package/dist/chunks/{project-va0y9eaw.js → pty-wet12kzw.js} +15 -15
  263. package/dist/chunks/{project-cwsayzrf.js → pty-wfr11ckr.js} +11 -11
  264. package/dist/chunks/{project-x2th391j.js → pty-wh872f6y.js} +10 -10
  265. package/dist/chunks/{project-zke1m8at.js → pty-wjahz7sy.js} +24 -24
  266. package/dist/chunks/{project-622ek8sf.js → pty-wkj69y2r.js} +6 -6
  267. package/dist/chunks/{project-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{project-b4m32151.js → pty-x9d5zs2r.js} +7 -7
  269. package/dist/chunks/{project-sxz6gkc3.js → pty-xb02k0wq.js} +7 -7
  270. package/dist/chunks/{project-exkqnn2s.js → pty-xdbc7yds.js} +11 -11
  271. package/dist/chunks/{project-8tbe00j0.js → pty-xh9bnhqc.js} +47 -47
  272. package/dist/chunks/{project-xkntkrq7.js → pty-xkntkrq7.js} +2 -2
  273. package/dist/chunks/{project-vcrqcsww.js → pty-xtcsdhc6.js} +3 -3
  274. package/dist/chunks/{project-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{project-y71avatq.js → pty-y71avatq.js} +1 -1
  276. package/dist/chunks/{project-f7rj482f.js → pty-yf10kn3d.js} +8 -8
  277. package/dist/chunks/{project-5ddde2n9.js → pty-ymjj4a8f.js} +27 -27
  278. package/dist/chunks/{project-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{project-a1a50ys5.js → pty-yt0fqk68.js} +5 -5
  280. package/dist/chunks/{project-afed7ext.js → pty-ywv187z9.js} +12 -12
  281. package/dist/chunks/{project-z07pqspn.js → pty-z07pqspn.js} +3 -3
  282. package/dist/chunks/{project-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{project-ka32nkxa.js → pty-z236ez34.js} +15 -15
  284. package/dist/chunks/{project-yamj9jch.js → pty-z8njfdrm.js} +46 -46
  285. package/dist/chunks/{project-ddt2bs9e.js → pty-zav06jzw.js} +4 -4
  286. package/dist/chunks/{project-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{project-x9y4zj8b.js → pty-zmqnc1z2.js} +28 -28
  288. package/dist/chunks/{project-mw9zgz6k.js → pty-zmzm6hpq.js} +3 -3
  289. package/dist/chunks/{project-q04r6a4p.js → pty-zp56f3pw.js} +30 -30
  290. package/dist/chunks/{project-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{project-11pagn9f.js → pty-zv15rf3h.js} +13 -13
  292. package/dist/chunks/{project-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -85
  298. package/dist/config/discovery.js +84 -84
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +215 -215
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +83 -83
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +371 -371
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +226 -226
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +3 -3
  430. package/dist/filesystem/watcher.js +15 -15
  431. package/dist/filesystem.js +108 -108
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +1 -1
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +87 -87
  466. package/dist/job.js +77 -77
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -359
  473. package/dist/location.js +81 -81
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +102 -102
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +115 -115
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +86 -86
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +102 -102
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +334 -334
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +95 -95
  519. package/dist/plugin/provider/gitlab.js +93 -93
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +78 -78
  523. package/dist/plugin/provider/lmstudio.js +122 -122
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +122 -122
  527. package/dist/plugin/provider/openai.js +95 -95
  528. package/dist/plugin/provider/opencode.js +95 -95
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +79 -79
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +162 -162
  542. package/dist/plugin/sdk.js +76 -76
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +141 -141
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +353 -353
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/verbosity.js +93 -93
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +226 -226
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +80 -80
  564. package/dist/provider.js +99 -99
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +93 -93
  568. package/dist/reference/instructions.js +89 -89
  569. package/dist/reference.js +91 -91
  570. package/dist/repository-cache.js +81 -81
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +97 -97
  574. package/dist/rpc.js +86 -86
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +133 -133
  579. package/dist/session/context.js +153 -153
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +7 -7
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +225 -225
  585. package/dist/session/execution.js +128 -128
  586. package/dist/session/generate.js +154 -154
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +86 -86
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +77 -77
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +120 -120
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +1 -1
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +232 -232
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +4 -4
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +172 -172
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +211 -211
  620. package/dist/session/system-prompt.js +1 -1
  621. package/dist/session/title.js +157 -157
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +218 -218
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +221 -221
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +13 -13
  630. package/dist/shell.js +140 -140
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +107 -107
  633. package/dist/skill.js +112 -112
  634. package/dist/snapshot.js +93 -93
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +128 -128
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +124 -124
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +117 -117
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +105 -105
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +218 -218
  649. package/dist/tool/plugin/skill.js +113 -113
  650. package/dist/tool/plugin/subagent.js +218 -218
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +14 -14
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +5 -5
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +4 -4
  672. package/dist/v1/config/formatter.js +5 -5
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +5 -5
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +7 -7
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +93 -93
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +89 -89
  687. package/dist/websearch.js +84 -84
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +81 -81
  690. package/dist/workspace/driver.js +5 -5
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +80 -80
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +10 -10
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +96 -96
  698. package/package.json +8 -8
  699. package/dist/chunks/project-7y0h37ky.js +0 -252
  700. package/dist/chunks/project-9zdhvgqs.js +0 -18
  701. package/dist/chunks/project-agjs0zsw.js +0 -26
  702. /package/dist/chunks/{project-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{project-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{project-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{project-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{project-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{project-24dcb14g.js → pty-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{project-2710q6r3.js → pty-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{project-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{project-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{project-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
  712. /package/dist/chunks/{project-359p4xyc.js → pty-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{project-3asan66x.js → pty-3asan66x.js} +0 -0
  714. /package/dist/chunks/{project-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{project-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  716. /package/dist/chunks/{project-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{project-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{project-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{project-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{project-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{project-53557ph1.js → pty-53557ph1.js} +0 -0
  722. /package/dist/chunks/{project-550bvhaj.js → pty-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{project-6prwharc.js → pty-6prwharc.js} +0 -0
  724. /package/dist/chunks/{project-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{project-7m9af43g.js → pty-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{project-822emrt2.js → pty-822emrt2.js} +0 -0
  727. /package/dist/chunks/{project-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{project-8n3pysct.js → pty-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{project-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{project-922hggd3.js → pty-922hggd3.js} +0 -0
  731. /package/dist/chunks/{project-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{project-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{project-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{project-af5trqkr.js → pty-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{project-afrmfg78.js → pty-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{project-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{project-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{project-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{project-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{project-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{project-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{project-d9fn303g.js → pty-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{project-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{project-dajrwvna.js → pty-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{project-dap0rakb.js → pty-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{project-df08tz66.js → pty-df08tz66.js} +0 -0
  747. /package/dist/chunks/{project-dy18nga0.js → pty-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{project-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{project-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{project-ec1grn59.js → pty-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{project-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{project-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{project-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{project-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{project-faypxj3z.js → pty-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{project-fd410y7t.js → pty-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{project-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  758. /package/dist/chunks/{project-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{project-g86h250q.js → pty-g86h250q.js} +0 -0
  760. /package/dist/chunks/{project-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{project-gftt206x.js → pty-gftt206x.js} +0 -0
  762. /package/dist/chunks/{project-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  763. /package/dist/chunks/{project-hk9envan.js → pty-hk9envan.js} +0 -0
  764. /package/dist/chunks/{project-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{project-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{project-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  767. /package/dist/chunks/{project-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{project-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{project-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{project-mp448xyj.js → pty-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{project-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{project-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{project-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{project-njntx4h6.js → pty-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{project-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{project-q74kybfr.js → pty-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{project-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{project-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{project-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{project-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{project-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{project-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{project-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{project-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  785. /package/dist/chunks/{project-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{project-w803qqfp.js → pty-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{project-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{project-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{project-wtztk69x.js → pty-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{project-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{project-x61499pn.js → pty-x61499pn.js} +0 -0
  792. /package/dist/chunks/{project-y44na4kk.js → pty-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{project-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{project-y8f7s663.js → pty-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{project-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{project-ym463w8f.js → pty-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{project-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./project-gftt206x.js";
3
+ } from "./pty-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./project-gynv5cx7.js";
6
+ } from "./pty-5epte933.js";
7
7
  import {
8
8
  __export
9
- } from "./project-9rqn6x4v.js";
9
+ } from "./pty-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
- var exports_error2 = {};
13
- __export(exports_error2, {
12
+ var exports_error = {};
13
+ __export(exports_error, {
14
14
  AgentNotFoundError: () => AgentNotFoundError2,
15
15
  AttachmentError: () => AttachmentError2,
16
16
  BusyError: () => BusyError2,
@@ -19,9 +19,9 @@ __export(exports_error2, {
19
19
  InboxConflictError: () => InboxConflictError2,
20
20
  MessageDecodeError: () => MessageDecodeError2,
21
21
  MessageNotFoundError: () => MessageNotFoundError2,
22
- NotFoundError: () => NotFoundError6,
22
+ NotFoundError: () => NotFoundError8,
23
23
  PromptConflictError: () => PromptConflictError2,
24
- SessionErrors: () => exports_error2,
24
+ SessionErrors: () => exports_error,
25
25
  SkillNotFoundError: () => SkillNotFoundError2,
26
26
  StepFailedError: () => StepFailedError2,
27
27
  SyntheticConflictError: () => SyntheticConflictError2
@@ -31,7 +31,7 @@ import { Agent } from "@opencode/schema/agent";
31
31
  import { Skill } from "@opencode/schema/skill";
32
32
  import { SessionError } from "@opencode/schema/session-error";
33
33
 
34
- class NotFoundError6 extends Schema.TaggedError()("Session.NotFoundError", {
34
+ class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
35
35
  sessionID: SessionSchema2.ID
36
36
  }) {
37
37
  }
@@ -116,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
116
116
  }) {
117
117
  }
118
118
 
119
- export { NotFoundError6, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
119
+ export { NotFoundError8, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./project-mw9zgz6k.js";
4
+ } from "./pty-zmzm6hpq.js";
5
5
  import {
6
- Service83,
7
- node87
8
- } from "./project-053jwjs2.js";
6
+ Service82,
7
+ node86
8
+ } from "./pty-8ym6e508.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./project-pknna89w.js";
11
+ } from "./pty-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./project-3zsf4n22.js";
14
+ } from "./pty-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./project-9rqn6x4v.js";
17
+ } from "./pty-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event15,
24
- ID: () => ID13,
25
- Info: () => Info26,
23
+ Event: () => Event20,
24
+ ID: () => ID16,
25
+ Info: () => Info31,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service64,
28
+ Service: () => Service79,
29
29
  Value: () => Value2,
30
- node: () => node67
30
+ node: () => node83
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID13 = Credential.ID;
37
+ var ID16 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event15 = Credential.Event;
41
+ var Event20 = Credential.Event;
42
42
 
43
- class Info26 extends Schema.Class("Credential.Info")({
44
- id: ID13,
43
+ class Info31 extends Schema.Class("Credential.Info")({
44
+ id: ID16,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service64 extends Context.Service()("@opencode/Credential") {
51
+ class Service79 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service64, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
- const bus = yield* Service83;
55
+ const bus = yield* Service82;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info26({
60
+ return new Info31({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service64.of({
71
+ return Service79.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info26({
80
- id: ID13.create(),
79
+ const credential = new Info31({
80
+ id: ID16.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event15.Updated, {}, { global: true });
105
- yield* bus.publish(Event15.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event20.Updated, {}, { global: true });
105
+ yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event15.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event15.Updated, {}, { global: true });
157
+ yield* bus.publish(Event20.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event15.Updated, {}, { global: true });
190
+ yield* bus.publish(Event20.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event15.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node67 = makeGlobalNode({ service: Service64, layer, deps: [node88, node87] });
196
+ var node83 = makeGlobalNode({ service: Service79, layer, deps: [node88, node86] });
197
197
 
198
- export { ID13, OAuth3, Key4, Value2, Event15, Info26, Service64, node67, exports_credential };
198
+ export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service79, node83, exports_credential };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./project-mw9zgz6k.js";
4
+ } from "./pty-zmzm6hpq.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./project-y71avatq.js";
7
+ } from "./pty-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node79
12
- } from "./project-6d6xcght.js";
11
+ node75
12
+ } from "./pty-mvfdckk2.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./project-faypxj3z.js";
15
+ } from "./pty-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./project-9rqn6x4v.js";
18
+ } from "./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: () => ID15,
25
- Info: () => Info29,
24
+ ID: () => ID11,
25
+ Info: () => Info24,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service75,
27
+ Service: () => Service71,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured11,
30
- node: () => node78
29
+ configured: () => configured10,
30
+ node: () => node74
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/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 ID15 = Workspace.ID;
38
+ var ID11 = Workspace.ID;
39
39
 
40
- class Info29 extends Schema.Class("Workspace.Info")({
41
- id: ID15,
40
+ class Info24 extends Schema.Class("Workspace.Info")({
41
+ id: ID11,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info29 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID15 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID11 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID15,
53
+ workspaceID: ID11,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service75 extends Context.Service()("@opencode/Workspace") {
59
+ class Service71 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured11 = (options = {}) => makeGlobalNode({
62
- service: Service75,
61
+ var configured10 = (options = {}) => makeGlobalNode({
62
+ service: Service71,
63
63
  layer: layer(options),
64
- deps: [node88, node79]
64
+ deps: [node88, node75]
65
65
  });
66
- var layer = (options) => Layer.effect(Service75, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
67
67
  const db = (yield* Service84).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service75, 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 Info29({
83
+ const info = (row, binding) => new Info24({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service75, 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 Service75.of({
157
+ return Service71.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID15.create();
159
+ const workspaceID = input.id ?? ID11.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(Service75, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node78 = configured11();
224
+ var node74 = configured10();
225
225
 
226
- export { ID15, Info29, NotFound3, CreateConflict2, Service75, configured11, node78, exports_workspace };
226
+ export { ID11, Info24, NotFound3, CreateConflict2, Service71, configured10, node74, exports_workspace };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID11
3
- } from "./project-mv9h8c6d.js";
2
+ ID13
3
+ } from "./pty-dyhjeyw1.js";
4
4
 
5
5
  // src/plugin/provider/google-vertex.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var GoogleVertexPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.provider.transform((evt) => {
26
26
  for (const item of evt.list()) {
27
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
27
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
28
28
  continue;
29
29
  const project = resolveProject(item.provider.settings ?? {});
30
30
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -42,7 +42,7 @@ var GoogleVertexPlugin2 = define({
42
42
  });
43
43
  yield* ctx.model.transform((models) => {
44
44
  for (const item of models.provider.list()) {
45
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
45
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID13.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
46
46
  continue;
47
47
  const project = resolveProject(item.provider.settings ?? {});
48
48
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -59,7 +59,7 @@ var GoogleVertexPlugin2 = define({
59
59
  }
60
60
  });
61
61
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
62
- if (evt.model.providerID !== ID11.googleVertex)
62
+ if (evt.model.providerID !== ID13.googleVertex)
63
63
  return;
64
64
  evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
65
65
  }));
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./project-053jwjs2.js";
2
+ Service82,
3
+ node86
4
+ } from "./pty-8ym6e508.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./project-rdw6cm16.js";
8
+ } from "./pty-rdw6cm16.js";
9
9
  import {
10
10
  Service80,
11
11
  node84
12
- } from "./project-fraxrbyh.js";
12
+ } from "./pty-9wn9fhxy.js";
13
13
  import {
14
14
  rewrite2,
15
- ID11,
15
+ ID13,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service62,
20
- node65,
21
- Event13
22
- } from "./project-mv9h8c6d.js";
19
+ Service76,
20
+ node80,
21
+ Event17
22
+ } from "./pty-dyhjeyw1.js";
23
23
  import {
24
24
  __export
25
- } from "./project-9rqn6x4v.js";
25
+ } from "./pty-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,25 +30,25 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event12,
33
+ Event: () => Event16,
34
34
  Family: () => Family2,
35
- ID: () => ID10,
36
- Info: () => Info22,
35
+ ID: () => ID12,
36
+ Info: () => Info26,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service58,
40
+ Service: () => Service75,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
- node: () => node61,
44
- parse: () => parse4
43
+ node: () => node79,
44
+ parse: () => parse5
45
45
  });
46
46
  import { Model } from "@opencode/schema/model";
47
47
  import { Context, Effect, Layer, Stream } from "effect";
48
48
  import { makeLocationNode } from "@opencode/util/effect/app-node";
49
49
  import { freeze } from "immer";
50
- import { Event as Event12 } from "@opencode/schema/model";
51
- var ID10 = Model.ID;
50
+ import { Event as Event16 } from "@opencode/schema/model";
51
+ var ID12 = Model.ID;
52
52
  var VariantID2 = Model.VariantID;
53
53
  var Family2 = Model.Family;
54
54
  var ReasoningField2 = Model.ReasoningField;
@@ -56,13 +56,13 @@ var Compatibility2 = Model.Compatibility;
56
56
  var Capabilities2 = Model.Capabilities;
57
57
  var Cost2 = Model.Cost;
58
58
  var Ref2 = Model.Ref;
59
- var Info22 = Model.Info;
59
+ var Info26 = Model.Info;
60
60
 
61
- class Service58 extends Context.Service()("@opencode/Model") {
61
+ class Service75 extends Context.Service()("@opencode/Model") {
62
62
  }
63
- var layer = Layer.effect(Service58, Effect.gen(function* () {
64
- const providers = yield* Service62;
65
- const bus = yield* Service83;
63
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
64
+ const providers = yield* Service76;
65
+ const bus = yield* Service82;
66
66
  const location = yield* Service80;
67
67
  let input;
68
68
  const state = create3({
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
108
108
  const models = writable(providerID);
109
109
  if (!models)
110
110
  return;
111
- const model = draft(providerID, modelID) ?? Info22.default(providerID, modelID);
111
+ const model = draft(providerID, modelID) ?? Info26.default(providerID, modelID);
112
112
  update(model);
113
113
  model.id = modelID;
114
114
  model.providerID = providerID;
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
197
197
  location: { directory: location.directory, workspaceID: location.workspaceID }
198
198
  });
199
199
  });
200
- yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
- return Service58.of({
200
+ yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
+ return Service75.of({
202
202
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
203
203
  reload,
204
204
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
217
217
  })
218
218
  });
219
219
  }));
220
- var node61 = makeLocationNode({ service: Service58, layer, deps: [node65, node87, node84] });
220
+ var node79 = makeLocationNode({ service: Service75, layer, deps: [node80, node86, node84] });
221
221
  function compatibility2(input) {
222
222
  if (typeof input === "string")
223
223
  return { reasoningField: input };
@@ -225,12 +225,12 @@ function compatibility2(input) {
225
225
  return;
226
226
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
227
227
  }
228
- function parse4(input) {
228
+ function parse5(input) {
229
229
  const index = input.indexOf("/");
230
230
  return {
231
- providerID: ID11.make(index === -1 ? input : input.slice(0, index)),
232
- modelID: ID10.make(index === -1 ? "" : input.slice(index + 1))
231
+ providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
232
+ modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
233
233
  };
234
234
  }
235
235
 
236
- export { ID10, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info22, Service58, node61, compatibility2, parse4, exports_model2, Event12 };
236
+ export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service75, node79, compatibility2, parse5, exports_model2, Event16 };
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID16,
2
+ ID8,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./project-stw4c2x8.js";
5
+ } from "./pty-9mwkpmby.js";
6
6
  import {
7
7
  merge2
8
- } from "./project-vttfgm5c.js";
8
+ } from "./pty-q9e230a9.js";
9
9
  import {
10
10
  __export
11
- } from "./project-9rqn6x4v.js";
11
+ } from "./pty-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
- var exports_agent2 = {};
15
- __export(exports_agent2, {
16
- AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin48
14
+ var exports_agent = {};
15
+ __export(exports_agent, {
16
+ AgentPlugin: () => exports_agent,
17
+ Plugin: () => Plugin17
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin48 = define({
93
+ var Plugin17 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin48 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID16.make("general"), (item) => {
103
+ editor.update(ID8.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID16.make("explore"), (item) => {
109
+ editor.update(ID8.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin48 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID16.make("compaction"), (item) => {
128
+ editor.update(ID8.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID16.make("title"), (item) => {
133
+ editor.update(ID8.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID16.make("summary"), (item) => {
140
+ editor.update(ID8.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin48 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin48, exports_agent2 };
151
+ export { Plugin17, exports_agent };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service83
3
- } from "./project-053jwjs2.js";
2
+ Service82
3
+ } from "./pty-8ym6e508.js";
4
4
  import {
5
5
  key2
6
- } from "./project-y6bex35g.js";
6
+ } from "./pty-dnxkq42g.js";
7
7
  import {
8
- Event15
9
- } from "./project-28jfcc4w.js";
8
+ Event20
9
+ } from "./pty-4fj5vy9w.js";
10
10
  import {
11
- ID12
12
- } from "./project-8rz9f2b3.js";
11
+ ID14
12
+ } from "./pty-5ynr4ewv.js";
13
13
  import {
14
- ID11,
15
- Service62
16
- } from "./project-mv9h8c6d.js";
14
+ ID13,
15
+ Service76
16
+ } from "./pty-dyhjeyw1.js";
17
17
  import {
18
18
  load3,
19
19
  derive3
20
- } from "./project-s04kah20.js";
20
+ } from "./pty-p7hfcpb1.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID11.make("modal");
25
+ var providerID = ID13.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service62;
30
- const bus = yield* Service83;
29
+ const providers = yield* Service76;
30
+ const bus = yield* Service82;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
33
33
  const load = Effect.fn("ModalPlugin.load")(function* () {
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2
4
- } from "./project-52d0evsq.js";
4
+ } from "./pty-47rn6gb0.js";
5
5
  import {
6
6
  BlockedError2
7
- } from "./project-vttfgm5c.js";
7
+ } from "./pty-q9e230a9.js";
8
8
  import {
9
9
  AuthorizationError2
10
- } from "./project-8rz9f2b3.js";
10
+ } from "./pty-5ynr4ewv.js";
11
11
  import {
12
12
  VariantUnavailableError2,
13
13
  UnsupportedPackageError2,
@@ -15,11 +15,11 @@ import {
15
15
  ModelInitializationError2,
16
16
  UnresolvedProviderVariablesError2,
17
17
  UnsupportedCompactionError2
18
- } from "./project-z0sn24qa.js";
18
+ } from "./pty-fw473rf4.js";
19
19
  import {
20
20
  ModelNotSelectedError2,
21
21
  ModelUnavailableError2
22
- } from "./project-czdj9312.js";
22
+ } from "./pty-m5gekzn4.js";
23
23
 
24
24
  // src/session/to-session-error.ts
25
25
  import { AIError, ToolFailure } from "@opencode/ai";