@opencode/core 0.0.0-dev-19370 → 0.0.0-dev-19372

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 (782) 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 +5 -5
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{credential-e9cy62py.js → pty-02zskd6f.js} +4 -4
  9. package/dist/chunks/{credential-ck0ahkdp.js → pty-07770t2t.js} +6 -6
  10. package/dist/chunks/{credential-f7ehr2sm.js → pty-0996nyz8.js} +5 -5
  11. package/dist/chunks/{credential-t550f9t1.js → pty-0gdmqesm.js} +4 -4
  12. package/dist/chunks/{credential-h4e6gkjy.js → pty-0gg4eh9d.js} +11 -11
  13. package/dist/chunks/{credential-1dfhrqqs.js → pty-0hpxrkyb.js} +5 -5
  14. package/dist/chunks/{credential-34jgwge8.js → pty-0jzeq7bg.js} +9 -9
  15. package/dist/chunks/pty-0mesazry.js +4 -0
  16. package/dist/chunks/{credential-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{credential-prhyc2hv.js → pty-0pyqcms3.js} +1 -1
  18. package/dist/chunks/{credential-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  19. package/dist/chunks/{credential-j5eg37j2.js → pty-0wmswe57.js} +23 -23
  20. package/dist/chunks/{credential-hv14eds1.js → pty-0x1qwe4m.js} +9 -9
  21. package/dist/chunks/{credential-enjtf4g5.js → pty-0x4g6ndm.js} +29 -29
  22. package/dist/chunks/{credential-rce8n207.js → pty-0xkh6216.js} +34 -34
  23. package/dist/chunks/{credential-e4f8tf4k.js → pty-102jvkd5.js} +63 -63
  24. package/dist/chunks/{credential-4sdp0m6c.js → pty-107fwvqp.js} +37 -37
  25. package/dist/chunks/{credential-xwrmknpr.js → pty-14p0bf99.js} +4 -4
  26. package/dist/chunks/{credential-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{credential-djgrr753.js → pty-1khr35v4.js} +27 -27
  28. package/dist/chunks/{credential-1398rwbr.js → pty-1y981vcy.js} +33 -33
  29. package/dist/chunks/{credential-21r38tys.js → pty-21r38tys.js} +1 -1
  30. package/dist/chunks/{credential-z63w68vq.js → pty-29x78va6.js} +6 -6
  31. package/dist/chunks/{credential-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{credential-a8bn8zg0.js → pty-2pnhn36q.js} +21 -21
  33. package/dist/chunks/{credential-b8q0kteq.js → pty-2x9w7gwc.js} +4 -4
  34. package/dist/chunks/{credential-1ygqh575.js → pty-33w4ejhs.js} +6 -6
  35. package/dist/chunks/{credential-10w8kkbh.js → pty-357v7vj3.js} +33 -33
  36. package/dist/chunks/{credential-j4xyrz15.js → pty-3a50zsz9.js} +17 -17
  37. package/dist/chunks/{credential-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{credential-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{credential-4p7g3wg8.js → pty-3mke1r8k.js} +23 -23
  40. package/dist/chunks/{credential-fwr271s3.js → pty-3pmjwr1e.js} +24 -24
  41. package/dist/chunks/{credential-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{credential-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{credential-jpreg3hv.js → pty-3zhfhk0f.js} +5 -5
  44. package/dist/chunks/{credential-q2ytqwwa.js → pty-40d8dwxk.js} +14 -14
  45. package/dist/chunks/{credential-vnn0ngfa.js → pty-41q0v4q7.js} +9 -9
  46. package/dist/chunks/{credential-v5tz0txx.js → pty-47fetphe.js} +32 -32
  47. package/dist/chunks/{credential-z56nne8r.js → pty-4azybn4n.js} +37 -37
  48. package/dist/chunks/{credential-rxpr5tzb.js → pty-4dfh6zmw.js} +17 -17
  49. package/dist/chunks/{credential-7rr0m4bs.js → pty-4qv5c5xf.js} +26 -26
  50. package/dist/chunks/{credential-bsmwhs5j.js → pty-4rph1v41.js} +13 -13
  51. package/dist/chunks/{credential-8gcdc49z.js → pty-4sksr709.js} +5 -5
  52. package/dist/chunks/{credential-b191y2av.js → pty-4z80d8a9.js} +3 -3
  53. package/dist/chunks/{credential-089q26yp.js → pty-51kcvgxx.js} +18 -18
  54. package/dist/chunks/{credential-ybjz3e3p.js → pty-526v470z.js} +2 -2
  55. package/dist/chunks/{credential-hrm8y51b.js → pty-578n16w1.js} +28 -28
  56. package/dist/chunks/{credential-5daktx2q.js → pty-5daktx2q.js} +1 -1
  57. package/dist/chunks/{credential-tscy7q8w.js → pty-5g6xb262.js} +28 -28
  58. package/dist/chunks/{credential-8r1kcnkf.js → pty-5j4skxhh.js} +9 -9
  59. package/dist/chunks/{credential-yx2kztkn.js → pty-5j7h8n2k.js} +16 -16
  60. package/dist/chunks/{credential-ffnezcy6.js → pty-5sjkzzsa.js} +46 -46
  61. package/dist/chunks/{credential-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{credential-fvn9gckt.js → pty-5vs9ndt5.js} +26 -26
  63. package/dist/chunks/{credential-sc5zwnjf.js → pty-5zthbsee.js} +7 -7
  64. package/dist/chunks/{credential-13p69r1g.js → pty-60geffh5.js} +7 -7
  65. package/dist/chunks/{credential-snndsnj2.js → pty-6126dgt1.js} +46 -46
  66. package/dist/chunks/{credential-8f79ekhe.js → pty-62k5e5wb.js} +20 -20
  67. package/dist/chunks/{credential-669tq793.js → pty-669tq793.js} +1 -1
  68. package/dist/chunks/{credential-6h73sxmp.js → pty-6h73sxmp.js} +1 -1
  69. package/dist/chunks/{credential-gsx0ryk4.js → pty-6jnybvqn.js} +9 -9
  70. package/dist/chunks/{credential-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{credential-af3pq8fz.js → pty-6qw5vjfk.js} +5 -5
  72. package/dist/chunks/{credential-yckq38a0.js → pty-6xe913v8.js} +22 -22
  73. package/dist/chunks/{credential-4xe4npvy.js → pty-6zm1wyjc.js} +20 -20
  74. package/dist/chunks/{credential-71q4at8m.js → pty-71q4at8m.js} +1 -1
  75. package/dist/chunks/{credential-gb33nbqp.js → pty-76mrr06k.js} +43 -43
  76. package/dist/chunks/{credential-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{credential-r8d99g81.js → pty-7ce2cjd5.js} +18 -18
  78. package/dist/chunks/{credential-esafk7q3.js → pty-7dqw4kz8.js} +5 -5
  79. package/dist/chunks/{credential-aqsvh3mt.js → pty-7rjdtxkk.js} +4 -4
  80. package/dist/chunks/{credential-n3yewg4x.js → pty-7xggmshf.js} +8 -8
  81. package/dist/chunks/{credential-3nxb9rvh.js → pty-81swgkk7.js} +9 -9
  82. package/dist/chunks/{credential-msq0jde0.js → pty-88sz8qcd.js} +4 -4
  83. package/dist/chunks/{credential-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{credential-ayzmjt8w.js → pty-8gtqgsn5.js} +37 -37
  85. package/dist/chunks/{credential-26pye05k.js → pty-8kcmt1fk.js} +7 -7
  86. package/dist/chunks/{credential-8p4f9s12.js → pty-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{credential-9m3dk78v.js → pty-8vct2pgr.js} +3 -3
  88. package/dist/chunks/{credential-ed29z705.js → pty-8w0tny4e.js} +4 -4
  89. package/dist/chunks/{credential-q928s5sj.js → pty-9cg0vjy1.js} +8 -8
  90. package/dist/chunks/{credential-trt7jtkk.js → pty-9ef57syn.js} +11 -11
  91. package/dist/chunks/{credential-cw7k1zn0.js → pty-9fxpdq0y.js} +28 -28
  92. package/dist/chunks/{credential-qjhwvxvx.js → pty-9m9t2a7k.js} +18 -18
  93. package/dist/chunks/{credential-qhbg58t9.js → pty-9p3b3m98.js} +6 -6
  94. package/dist/chunks/{credential-a1bz86dw.js → pty-a1bz86dw.js} +3 -3
  95. package/dist/chunks/{credential-966c8cap.js → pty-a1dptbm0.js} +25 -25
  96. package/dist/chunks/{credential-dda3kyyb.js → pty-a31gkhvw.js} +8 -8
  97. package/dist/chunks/{credential-aaet6srn.js → pty-aaet6srn.js} +2 -2
  98. package/dist/chunks/{credential-x9nmc2sn.js → pty-abkdt1xb.js} +1 -1
  99. package/dist/chunks/{credential-xmhy143a.js → pty-ajghh6ra.js} +6 -6
  100. package/dist/chunks/{credential-0hch6svz.js → pty-an126cry.js} +30 -30
  101. package/dist/chunks/{credential-y2vjxt4h.js → pty-b1rqwz98.js} +9 -9
  102. package/dist/chunks/{credential-p33ejz0k.js → pty-b3wkxfg9.js} +1 -1
  103. package/dist/chunks/{credential-05jaqbfy.js → pty-b428793c.js} +17 -17
  104. package/dist/chunks/{credential-txc11aqg.js → pty-b5svzbqe.js} +11 -11
  105. package/dist/chunks/{credential-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{credential-a5drzcdb.js → pty-b7n25z46.js} +16 -16
  107. package/dist/chunks/{credential-8w44pm91.js → pty-bagg3g1z.js} +2 -2
  108. package/dist/chunks/{credential-v1szd0f8.js → pty-bgks4w36.js} +24 -24
  109. package/dist/chunks/{credential-q3mrh7hn.js → pty-bh8p3ktg.js} +6 -6
  110. package/dist/chunks/{credential-ejv06xv9.js → pty-bw8xqn9c.js} +54 -54
  111. package/dist/chunks/{credential-04cfyv7b.js → pty-bxft0ra9.js} +32 -32
  112. package/dist/chunks/pty-by5v678g.js +18 -0
  113. package/dist/chunks/{credential-3batxdes.js → pty-c487kk09.js} +45 -45
  114. package/dist/chunks/{credential-jd8xsdb7.js → pty-c4twzx9w.js} +20 -20
  115. package/dist/chunks/{credential-zjmsgra3.js → pty-c9cenec4.js} +5 -5
  116. package/dist/chunks/{credential-kyfddjrj.js → pty-cd4mc13g.js} +1 -1
  117. package/dist/chunks/{credential-c576t1j6.js → pty-cf3tj770.js} +7 -7
  118. package/dist/chunks/{credential-4naz9raq.js → pty-cf7stcnz.js} +6 -6
  119. package/dist/chunks/{credential-cfpkc3c9.js → pty-cfpkc3c9.js} +2 -2
  120. package/dist/chunks/{credential-hczynf47.js → pty-cgs7ndjq.js} +9 -9
  121. package/dist/chunks/{credential-6k8padng.js → pty-cj4mykbe.js} +9 -9
  122. package/dist/chunks/{credential-crkg5x17.js → pty-cjr8y0wq.js} +20 -20
  123. package/dist/chunks/{credential-rzs3gq0x.js → pty-cny5rd43.js} +8 -8
  124. package/dist/chunks/{credential-33kgjfz5.js → pty-crd48we5.js} +83 -83
  125. package/dist/chunks/{credential-83jbspt8.js → pty-cwtk2d1m.js} +6 -6
  126. package/dist/chunks/{credential-nqnvy2d4.js → pty-d1f48wm0.js} +46 -46
  127. package/dist/chunks/{credential-tq9yxfd0.js → pty-dcdbx179.js} +50 -50
  128. package/dist/chunks/{credential-rfhr4evy.js → pty-ddmrj1q7.js} +27 -27
  129. package/dist/chunks/{credential-xw0r27ex.js → pty-dhmh7aw6.js} +4 -4
  130. package/dist/chunks/{credential-844ef7ks.js → pty-dv1qgsyq.js} +8 -8
  131. package/dist/chunks/{credential-c9v3njsq.js → pty-e1sywrpy.js} +6 -6
  132. package/dist/chunks/{credential-h54g1dhn.js → pty-eea9n1gg.js} +5 -5
  133. package/dist/chunks/{credential-mgpvk6q1.js → pty-eg20r4ae.js} +17 -17
  134. package/dist/chunks/{credential-tzar2m42.js → pty-egkwkxxa.js} +86 -86
  135. package/dist/chunks/{credential-mhkvc446.js → pty-eq1pz5kg.js} +3 -3
  136. package/dist/chunks/{credential-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{credential-h4j6qtac.js → pty-ewyzxja9.js} +10 -10
  138. package/dist/chunks/{credential-pefy2fys.js → pty-exrwhhqk.js} +4 -4
  139. package/dist/chunks/{credential-hyd8y20x.js → pty-ezs85qj9.js} +2 -2
  140. package/dist/chunks/{credential-yn5yksm3.js → pty-f242nvhy.js} +6 -6
  141. package/dist/chunks/{credential-yp2x3t23.js → pty-f2n192rq.js} +4 -4
  142. package/dist/chunks/{credential-st6cv0zf.js → pty-f4dw8gwj.js} +41 -41
  143. package/dist/chunks/{credential-f828m53h.js → pty-f828m53h.js} +2 -2
  144. package/dist/chunks/{credential-z2ymbzcw.js → pty-f9dcx0s3.js} +17 -17
  145. package/dist/chunks/{credential-p0p6txpm.js → pty-feebpcf8.js} +20 -20
  146. package/dist/chunks/{credential-dj9sq318.js → pty-fpmq6gma.js} +5 -5
  147. package/dist/chunks/{credential-qtnnx2m7.js → pty-fr2caje5.js} +36 -36
  148. package/dist/chunks/{credential-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{credential-rnnysrbx.js → pty-g254301b.js} +3 -3
  150. package/dist/chunks/{credential-7b5mp5c8.js → pty-gcbpht8g.js} +18 -18
  151. package/dist/chunks/{credential-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{credential-drxtvntd.js → pty-gf4qtxm6.js} +1 -1
  153. package/dist/chunks/{credential-yc60x9p4.js → pty-ghe33san.js} +15 -15
  154. package/dist/chunks/{credential-bgs9y14h.js → pty-ghrzdqqx.js} +5 -5
  155. package/dist/chunks/{credential-z1f4gy9p.js → pty-gj9xpvv3.js} +4 -4
  156. package/dist/chunks/{credential-9c1g789v.js → pty-gqqez5b8.js} +9 -9
  157. package/dist/chunks/{credential-05ffq7ws.js → pty-gtjpq3yd.js} +10 -10
  158. package/dist/chunks/{credential-dsgca7mb.js → pty-gvvw2n81.js} +11 -11
  159. package/dist/chunks/{credential-7vqdbxhf.js → pty-gw1k03mf.js} +11 -11
  160. package/dist/chunks/{credential-ay8ez75v.js → pty-gy3ftesa.js} +32 -32
  161. package/dist/chunks/{credential-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
  162. package/dist/chunks/{credential-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{credential-1b74es1f.js → pty-h91yv7bq.js} +16 -16
  164. package/dist/chunks/{credential-e6hmchc5.js → pty-hcz3zddy.js} +5 -5
  165. package/dist/chunks/{credential-dy52c8h1.js → pty-hdsygwhy.js} +12 -12
  166. package/dist/chunks/{credential-v8tn9yq8.js → pty-hv7vaf99.js} +7 -7
  167. package/dist/chunks/{credential-cbtntvbe.js → pty-hw55hn24.js} +7 -7
  168. package/dist/chunks/{credential-h2j3v1fy.js → pty-j4rqb0e8.js} +293 -293
  169. package/dist/chunks/{credential-j56e64zr.js → pty-j56e64zr.js} +1 -1
  170. package/dist/chunks/{credential-paphc93g.js → pty-j935v87r.js} +2 -2
  171. package/dist/chunks/pty-jcst6tya.js +247 -0
  172. package/dist/chunks/{credential-yjqv8qmq.js → pty-jefma2gq.js} +10 -10
  173. package/dist/chunks/{credential-aqapmjqb.js → pty-jfdrs8g9.js} +10 -10
  174. package/dist/chunks/{credential-ratrq7cm.js → pty-jfqtm2ew.js} +4 -4
  175. package/dist/chunks/{credential-qaf3yvw3.js → pty-jjc2e0wf.js} +16 -16
  176. package/dist/chunks/{credential-eddgwn1r.js → pty-jrvvap85.js} +22 -22
  177. package/dist/chunks/{credential-q567r7t6.js → pty-jsaewa63.js} +5 -5
  178. package/dist/chunks/{credential-ff6j3eyt.js → pty-jt2m25jy.js} +13 -13
  179. package/dist/chunks/{credential-jaevav1w.js → pty-jxcvs55h.js} +13 -13
  180. package/dist/chunks/{credential-n5650byf.js → pty-jy3rk2pm.js} +15 -15
  181. package/dist/chunks/{credential-ywa477g8.js → pty-k8a0mrdq.js} +39 -39
  182. package/dist/chunks/{credential-7vx5fws8.js → pty-ken34rgm.js} +20 -20
  183. package/dist/chunks/{credential-kg06axw8.js → pty-kg06axw8.js} +1 -1
  184. package/dist/chunks/{credential-1319r755.js → pty-khy2t77v.js} +32 -32
  185. package/dist/chunks/{credential-s1y2e255.js → pty-kjr2p1gf.js} +37 -37
  186. package/dist/chunks/{credential-6rm0dwms.js → pty-kv3072p9.js} +4 -4
  187. package/dist/chunks/{credential-zetb5yra.js → pty-kwgqzsmm.js} +4 -4
  188. package/dist/chunks/{credential-m4455s3y.js → pty-m0f7gyab.js} +24 -24
  189. package/dist/chunks/{credential-k0ncd55s.js → pty-m0pn08h0.js} +8 -8
  190. package/dist/chunks/{credential-4f4r2056.js → pty-m2r7xkr0.js} +18 -18
  191. package/dist/chunks/{credential-2feh4c3v.js → pty-m5aw9kqs.js} +18 -18
  192. package/dist/chunks/{credential-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{credential-qnkzwnkk.js → pty-mf3kdcv1.js} +10 -10
  194. package/dist/chunks/{credential-mkcjrzeh.js → pty-mkcjrzeh.js} +1 -1
  195. package/dist/chunks/{credential-k8mz02ds.js → pty-mnewsc6w.js} +34 -34
  196. package/dist/chunks/{credential-shh6fz4q.js → pty-mqy0jkn2.js} +4 -4
  197. package/dist/chunks/{credential-d2aac7k2.js → pty-mtft99cd.js} +5 -5
  198. package/dist/chunks/{credential-q312td4y.js → pty-mwva2wqz.js} +18 -18
  199. package/dist/chunks/{credential-b15px6y4.js → pty-nfk4q15c.js} +22 -22
  200. package/dist/chunks/{credential-5kzc33a4.js → pty-ng5shs3s.js} +1 -1
  201. package/dist/chunks/{credential-e82z9tr0.js → pty-nhy5jxhy.js} +7 -7
  202. package/dist/chunks/{credential-essb66p0.js → pty-nw5w3cjp.js} +23 -23
  203. package/dist/chunks/{credential-t0x5rdq8.js → pty-p1wf2k30.js} +9 -9
  204. package/dist/chunks/{credential-pny7yx7d.js → pty-p9ts1dg8.js} +13 -13
  205. package/dist/chunks/{credential-dtrk9gzb.js → pty-pc04q47q.js} +24 -24
  206. package/dist/chunks/{credential-2nycvdb8.js → pty-pe79rxdj.js} +31 -31
  207. package/dist/chunks/{credential-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  208. package/dist/chunks/{credential-pknna89w.js → pty-pknna89w.js} +1 -1
  209. package/dist/chunks/{credential-r7cr63pb.js → pty-pqd1mzxt.js} +8 -8
  210. package/dist/chunks/{credential-0m29xn9k.js → pty-q1bbvmq4.js} +26 -26
  211. package/dist/chunks/{credential-21a5jk7k.js → pty-q1hjdkpd.js} +14 -14
  212. package/dist/chunks/{credential-rfs6vkg6.js → pty-q1tx050w.js} +8 -8
  213. package/dist/chunks/{credential-p9tm0mrs.js → pty-q24fq4k9.js} +18 -18
  214. package/dist/chunks/{credential-gsdcmbmr.js → pty-q6rs4hjt.js} +49 -49
  215. package/dist/chunks/{credential-bzrne2cf.js → pty-qgp720zn.js} +27 -27
  216. package/dist/chunks/{credential-ekab52cg.js → pty-qgy2rw28.js} +7 -7
  217. package/dist/chunks/{credential-7g3h93b8.js → pty-qpw0y00r.js} +17 -17
  218. package/dist/chunks/{credential-vncycja5.js → pty-qq11w61w.js} +4 -4
  219. package/dist/chunks/{credential-8tzm5kpv.js → pty-qr736bxy.js} +11 -11
  220. package/dist/chunks/{credential-qsdy395h.js → pty-qsdy395h.js} +1 -1
  221. package/dist/chunks/{credential-1nzs1dt7.js → pty-qz49fwgp.js} +6 -6
  222. package/dist/chunks/{credential-cvs5r53p.js → pty-qzdews7q.js} +6 -6
  223. package/dist/chunks/{credential-m4r2ec35.js → pty-r0xf0e5c.js} +25 -25
  224. package/dist/chunks/{credential-5dsh741q.js → pty-r8febyms.js} +14 -14
  225. package/dist/chunks/{credential-dnanfhkd.js → pty-r8nahq2d.js} +15 -15
  226. package/dist/chunks/{credential-mb942295.js → pty-rbygrj0c.js} +6 -6
  227. package/dist/chunks/{credential-015cheya.js → pty-refnp3pv.js} +4 -4
  228. package/dist/chunks/{credential-5jjjy8t8.js → pty-rkg39e93.js} +7 -7
  229. package/dist/chunks/pty-rnevd4w8.js +22 -0
  230. package/dist/chunks/{credential-tksm74b3.js → pty-rrdk89a5.js} +27 -27
  231. package/dist/chunks/{credential-4j4j6b7c.js → pty-rssnh3zg.js} +24 -24
  232. package/dist/chunks/{credential-zcrvs66x.js → pty-rxjhrqx1.js} +20 -20
  233. package/dist/chunks/{credential-kg7hpk6b.js → pty-rxyhbgbe.js} +20 -20
  234. package/dist/chunks/{credential-4e4ycstq.js → pty-rzyzyf97.js} +10 -10
  235. package/dist/chunks/{credential-er05gb0t.js → pty-s0fyf8fb.js} +19 -19
  236. package/dist/chunks/{credential-yrznvahk.js → pty-s4enseaf.js} +2 -2
  237. package/dist/chunks/{credential-pg4ttegr.js → pty-s4sy206n.js} +32 -32
  238. package/dist/chunks/{credential-pw9v3g6d.js → pty-s8bz6z4k.js} +8 -8
  239. package/dist/chunks/{credential-vmar8n8n.js → pty-sgaqms2z.js} +13 -13
  240. package/dist/chunks/{credential-dkgmj00c.js → pty-sgvsg5c7.js} +15 -15
  241. package/dist/chunks/{credential-5z248baa.js → pty-sr4mx09d.js} +11 -11
  242. package/dist/chunks/{credential-wm06yq12.js → pty-szjmac0q.js} +25 -25
  243. package/dist/chunks/{credential-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{credential-89znhe33.js → pty-tcezcvh9.js} +4 -4
  245. package/dist/chunks/{credential-tdstcens.js → pty-tdstcens.js} +1 -1
  246. package/dist/chunks/{credential-ewhzqcma.js → pty-te0vzhy5.js} +10 -10
  247. package/dist/chunks/{credential-th5km1p3.js → pty-th5km1p3.js} +2 -2
  248. package/dist/chunks/{credential-wb9vn7gc.js → pty-tp2tr8k0.js} +3 -3
  249. package/dist/chunks/{credential-tvtrv512.js → pty-tvtrv512.js} +1 -1
  250. package/dist/chunks/{credential-hq4namph.js → pty-tzaf1sec.js} +10 -10
  251. package/dist/chunks/{credential-4eb3ngbp.js → pty-v1y1zkts.js} +6 -6
  252. package/dist/chunks/{credential-kxcd42x8.js → pty-v6wk655t.js} +36 -36
  253. package/dist/chunks/{credential-s90d8d6b.js → pty-v8jfbz3g.js} +6 -6
  254. package/dist/chunks/{credential-w5837gkz.js → pty-v9cmgtcf.js} +1 -1
  255. package/dist/chunks/{credential-mxcvjysz.js → pty-vaynpwqg.js} +12 -12
  256. package/dist/chunks/{credential-veqvce7d.js → pty-veqvce7d.js} +1 -1
  257. package/dist/chunks/{credential-bajakh74.js → pty-vkxpz7g2.js} +4 -4
  258. package/dist/chunks/{credential-cwmq7ztw.js → pty-vyqtz9n7.js} +1 -1
  259. package/dist/chunks/{credential-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  260. package/dist/chunks/{credential-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{credential-b1xevyg4.js → pty-w7zd1bg5.js} +22 -22
  262. package/dist/chunks/{credential-3sqtj86k.js → pty-w8dmehha.js} +41 -41
  263. package/dist/chunks/{credential-wd87259q.js → pty-wd87259q.js} +1 -1
  264. package/dist/chunks/{credential-jkw62c4x.js → pty-wf7nhwxb.js} +21 -21
  265. package/dist/chunks/{credential-7hdna1a1.js → pty-wnqzfj2j.js} +12 -12
  266. package/dist/chunks/{credential-6640nxyp.js → pty-wreggwv7.js} +13 -13
  267. package/dist/chunks/{credential-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  268. package/dist/chunks/{credential-x43y2vfs.js → pty-x43y2vfs.js} +2 -2
  269. package/dist/chunks/{credential-svntbjgt.js → pty-xa6by1f1.js} +22 -22
  270. package/dist/chunks/{credential-qrxqsn15.js → pty-xdzdvgbv.js} +20 -20
  271. package/dist/chunks/{credential-wq4tenhy.js → pty-xj584aw0.js} +11 -11
  272. package/dist/chunks/{credential-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{credential-dpkg50ah.js → pty-y71avatq.js} +4 -4
  274. package/dist/chunks/{credential-s7zpjck1.js → pty-yfbmjfv9.js} +11 -11
  275. package/dist/chunks/{credential-7fy1mpjh.js → pty-ym4367vb.js} +20 -20
  276. package/dist/chunks/{credential-mjanhrey.js → pty-yntqacmd.js} +15 -15
  277. package/dist/chunks/{credential-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{credential-1h4ktfcf.js → pty-yww5gzhe.js} +5 -5
  279. package/dist/chunks/{credential-x92tzhpc.js → pty-yy158baq.js} +14 -14
  280. package/dist/chunks/{credential-3g58nq9n.js → pty-yzsvg0b0.js} +170 -170
  281. package/dist/chunks/{credential-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{credential-bpgg8zv2.js → pty-z5c2cr5p.js} +16 -16
  283. package/dist/chunks/{credential-0wd4jbpn.js → pty-z5wc9zep.js} +11 -11
  284. package/dist/chunks/{credential-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{credential-kkxyzwpq.js → pty-zjqdssy0.js} +18 -18
  286. package/dist/chunks/{credential-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{credential-58jet3bj.js → pty-zvpdk192.js} +24 -24
  288. package/dist/chunks/{credential-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{credential-y7x142mt.js → pty-zyr433b0.js} +11 -11
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +81 -81
  294. package/dist/config/discovery.js +79 -79
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +115 -115
  298. package/dist/config/plugin/command.js +207 -207
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +115 -115
  303. package/dist/config/plugin/instruction.js +85 -85
  304. package/dist/config/plugin/location-watcher.js +117 -117
  305. package/dist/config/plugin/mcp.js +124 -124
  306. package/dist/config/plugin/policy.js +114 -114
  307. package/dist/config/plugin/provider.js +113 -113
  308. package/dist/config/plugin/reference.js +117 -117
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +97 -97
  311. package/dist/config/plugin/skill.js +136 -136
  312. package/dist/config/plugin/snapshot.js +115 -115
  313. package/dist/config/plugin/source.js +117 -117
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +113 -113
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +119 -119
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +81 -81
  322. package/dist/database/database.js +64 -64
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration.gen.js +47 -47
  386. package/dist/database/migration.js +49 -49
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +74 -74
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +362 -362
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +88 -88
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +90 -90
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +68 -68
  410. package/dist/file-access.js +99 -99
  411. package/dist/file-mutation.js +89 -89
  412. package/dist/file-retention.js +1 -1
  413. package/dist/file.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/ignore.js +1 -1
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +222 -222
  421. package/dist/filesystem/protected.js +3 -3
  422. package/dist/filesystem/search.js +99 -99
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +102 -102
  426. package/dist/form.js +82 -82
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +84 -84
  429. package/dist/generate.js +93 -93
  430. package/dist/git.js +7 -7
  431. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  432. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  433. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  435. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  437. package/dist/github-copilot/copilot-provider.js +17 -17
  438. package/dist/github-copilot/models.js +7 -7
  439. package/dist/github-copilot/openai-compatible-error.js +1 -1
  440. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  441. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  442. package/dist/github-copilot/responses/openai-error.js +1 -1
  443. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  444. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  445. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  446. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  447. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  450. package/dist/id/id.js +1 -1
  451. package/dist/image/photon.js +2 -2
  452. package/dist/image.js +4 -4
  453. package/dist/instance/service.js +5 -5
  454. package/dist/instance.js +353 -353
  455. package/dist/instruction-discovery.js +81 -81
  456. package/dist/instructions/builtins.js +82 -82
  457. package/dist/instructions/index.js +3 -3
  458. package/dist/integration/connection.js +1 -1
  459. package/dist/integration.js +86 -86
  460. package/dist/job.js +75 -75
  461. package/dist/kv/sql.js +2 -2
  462. package/dist/kv.js +71 -71
  463. package/dist/location-activity.js +128 -128
  464. package/dist/location-mutation.js +99 -99
  465. package/dist/location-service-map.js +81 -81
  466. package/dist/location-services.js +350 -350
  467. package/dist/location.js +84 -84
  468. package/dist/mcp/client.js +86 -86
  469. package/dist/mcp/index.js +103 -103
  470. package/dist/mcp/instructions.js +120 -120
  471. package/dist/mcp/oauth.js +3 -3
  472. package/dist/mcp/stdio.js +85 -85
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +7 -7
  475. package/dist/model-resolver.js +86 -86
  476. package/dist/model.js +8 -8
  477. package/dist/models-dev.js +86 -86
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +78 -78
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +106 -106
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +86 -86
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +73 -73
  487. package/dist/plugin/agent.js +97 -97
  488. package/dist/plugin/command.js +94 -94
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +324 -324
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +75 -75
  495. package/dist/plugin/module.js +7 -7
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +97 -97
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/alibaba.js +2 -2
  500. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  501. package/dist/plugin/provider/anthropic.js +2 -2
  502. package/dist/plugin/provider/azure.js +118 -118
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/digitalocean.js +79 -79
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +80 -80
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +115 -115
  518. package/dist/plugin/provider/mistral.js +2 -2
  519. package/dist/plugin/provider/modal.js +79 -79
  520. package/dist/plugin/provider/nvidia.js +2 -2
  521. package/dist/plugin/provider/ollama.js +117 -117
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +78 -78
  524. package/dist/plugin/provider/opencode.js +79 -79
  525. package/dist/plugin/provider/openrouter.js +3 -3
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +76 -76
  528. package/dist/plugin/provider/sap-ai-core.js +3 -3
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +2 -2
  533. package/dist/plugin/provider/vllm.js +117 -117
  534. package/dist/plugin/provider/xai.js +77 -77
  535. package/dist/plugin/provider/zenmux.js +2 -2
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +74 -74
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +133 -133
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +343 -343
  542. package/dist/plugin/update.js +4 -4
  543. package/dist/plugin/variant.js +4 -4
  544. package/dist/plugin/vcs/git.js +82 -82
  545. package/dist/plugin/vcs/hg.js +82 -82
  546. package/dist/plugin/warming.js +112 -112
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +6 -6
  549. package/dist/plugin/websearch/index.js +8 -8
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +85 -85
  557. package/dist/provider.js +5 -5
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +94 -94
  562. package/dist/reference/instructions.js +84 -84
  563. package/dist/reference.js +84 -84
  564. package/dist/repository-cache.js +76 -76
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +93 -93
  568. package/dist/rpc.js +81 -81
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +72 -72
  571. package/dist/session/compaction.js +129 -129
  572. package/dist/session/context.js +147 -147
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +5 -5
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +216 -216
  577. package/dist/session/execution.js +122 -122
  578. package/dist/session/generate.js +148 -148
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +86 -86
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +75 -75
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +92 -92
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +113 -113
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +126 -126
  590. package/dist/session/projector.js +84 -84
  591. package/dist/session/prompt.js +100 -100
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +85 -85
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +225 -225
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +86 -86
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +110 -110
  601. package/dist/session/runner/step.js +121 -121
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +169 -169
  605. package/dist/session/shell.js +131 -131
  606. package/dist/session/skill.js +98 -98
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +71 -71
  609. package/dist/session/store.js +85 -85
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +203 -203
  612. package/dist/session/system-prompt.js +5 -5
  613. package/dist/session/title.js +151 -151
  614. package/dist/session/to-session-error.js +107 -107
  615. package/dist/session/transfer.js +212 -212
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +211 -211
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +7 -7
  622. package/dist/shell.js +133 -133
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +102 -102
  625. package/dist/skill.js +105 -105
  626. package/dist/snapshot.js +86 -86
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +121 -121
  631. package/dist/tool/plugin/edit.js +115 -115
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +120 -120
  634. package/dist/tool/plugin/grep.js +120 -120
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +117 -117
  637. package/dist/tool/plugin/question.js +100 -100
  638. package/dist/tool/plugin/read.js +121 -121
  639. package/dist/tool/plugin/shell.js +212 -212
  640. package/dist/tool/plugin/skill.js +108 -108
  641. package/dist/tool/plugin/subagent.js +212 -212
  642. package/dist/tool/plugin/webfetch.js +107 -107
  643. package/dist/tool/plugin/websearch.js +109 -109
  644. package/dist/tool/plugin/write.js +117 -117
  645. package/dist/tool/read-filesystem.js +96 -96
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +13 -13
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/formatter.js +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +5 -5
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +4 -4
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +85 -85
  676. package/dist/websearch.js +82 -82
  677. package/dist/wellknown/plugin.js +72 -72
  678. package/dist/wellknown.js +77 -77
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +76 -76
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +7 -7
  684. package/dist/worktree/refresh.js +342 -342
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree.js +91 -91
  687. package/package.json +8 -8
  688. package/dist/chunks/credential-4vjscmnp.js +0 -247
  689. package/dist/chunks/credential-6kdq0pjd.js +0 -4
  690. package/dist/chunks/credential-qdyb70sk.js +0 -18
  691. package/dist/chunks/credential-tw6y6bmq.js +0 -22
  692. /package/dist/chunks/{credential-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{credential-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{credential-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{credential-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{credential-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{credential-2710q6r3.js → pty-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{credential-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{credential-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{credential-359p4xyc.js → pty-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{credential-3asan66x.js → pty-3asan66x.js} +0 -0
  702. /package/dist/chunks/{credential-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{credential-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{credential-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{credential-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{credential-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{credential-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{credential-53557ph1.js → pty-53557ph1.js} +0 -0
  709. /package/dist/chunks/{credential-550bvhaj.js → pty-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{credential-6prwharc.js → pty-6prwharc.js} +0 -0
  711. /package/dist/chunks/{credential-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{credential-7m9af43g.js → pty-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{credential-822emrt2.js → pty-822emrt2.js} +0 -0
  714. /package/dist/chunks/{credential-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{credential-8n3pysct.js → pty-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{credential-922hggd3.js → pty-922hggd3.js} +0 -0
  717. /package/dist/chunks/{credential-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{credential-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{credential-a1tpkmh4.js → pty-a1tpkmh4.js} +0 -0
  720. /package/dist/chunks/{credential-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{credential-af5trqkr.js → pty-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{credential-afrmfg78.js → pty-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{credential-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{credential-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{credential-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{credential-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{credential-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{credential-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{credential-d9fn303g.js → pty-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{credential-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{credential-dajrwvna.js → pty-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{credential-dap0rakb.js → pty-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{credential-df08tz66.js → pty-df08tz66.js} +0 -0
  734. /package/dist/chunks/{credential-dy18nga0.js → pty-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{credential-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{credential-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{credential-ec1grn59.js → pty-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{credential-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{credential-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{credential-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{credential-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{credential-faypxj3z.js → pty-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{credential-fd410y7t.js → pty-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{credential-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{credential-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{credential-g86h250q.js → pty-g86h250q.js} +0 -0
  747. /package/dist/chunks/{credential-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{credential-gftt206x.js → pty-gftt206x.js} +0 -0
  749. /package/dist/chunks/{credential-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{credential-hk9envan.js → pty-hk9envan.js} +0 -0
  751. /package/dist/chunks/{credential-hrnqkpcd.js → pty-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{credential-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{credential-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{credential-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{credential-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{credential-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{credential-mp448xyj.js → pty-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{credential-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{credential-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{credential-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{credential-njntx4h6.js → pty-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{credential-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{credential-q74kybfr.js → pty-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{credential-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{credential-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{credential-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{credential-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{credential-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{credential-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{credential-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{credential-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{credential-twg0f83k.js → pty-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{credential-w803qqfp.js → pty-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{credential-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{credential-wtztk69x.js → pty-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{credential-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{credential-x61499pn.js → pty-x61499pn.js} +0 -0
  778. /package/dist/chunks/{credential-y44na4kk.js → pty-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{credential-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{credential-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{credential-ym463w8f.js → pty-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{credential-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./credential-88xbtdfr.js";
3
+ } from "./pty-88xbtdfr.js";
4
4
  import {
5
- load2
6
- } from "./credential-paphc93g.js";
5
+ load3
6
+ } from "./pty-j935v87r.js";
7
7
  import {
8
8
  __export
9
- } from "./credential-9rqn6x4v.js";
9
+ } from "./pty-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event6,
14
+ Event: () => Event17,
15
15
  Native: () => Native3,
16
- Options: () => Options5,
17
- Service: () => Service39,
16
+ Options: () => Options8,
17
+ Service: () => Service68,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured4,
20
+ configured: () => configured9,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer17,
22
+ layer: () => layer25,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node42,
25
+ node: () => node72,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event6 = { Updated: FileSystem.Event.Changed };
36
+ var Event17 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load2());
39
+ return createWrapper(load3());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options5 = Schema.Struct({
56
+ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service39 extends Context.Service()("@opencode/Watcher") {
60
+ class Service68 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
65
+ var layer25 = (options) => Layer.effect(Service68, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service39.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service68.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer17 = (options) => Layer.effect(Service39, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service39.of({ subscribe });
108
+ return Service68.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer17().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service39).subscribe,
134
+ subscribe: Context.get(context, Service68).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service39, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service68, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured4(options) {
168
- return makeGlobalNode({ service: Service39, layer: layer17(options), deps: [nativeNode2] });
167
+ function configured9(options) {
168
+ return makeGlobalNode({ service: Service68, layer: layer25(options), deps: [nativeNode2] });
169
169
  }
170
- var node42 = configured4();
170
+ var node72 = configured9();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event6, hasNativeBinding2, Native3, Options5, Service39, Test3, layer17, testLayer3, nativeLayer2, nativeNode2, configured4, node42, exports_watcher };
190
+ export { Event17, hasNativeBinding2, Native3, Options8, Service68, Test3, layer25, testLayer3, nativeLayer2, nativeNode2, configured9, node72, exports_watcher };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service80
3
- } from "./credential-b191y2av.js";
3
+ } from "./pty-4z80d8a9.js";
4
4
  import {
5
5
  Service79
6
- } from "./credential-ed29z705.js";
6
+ } from "./pty-8w0tny4e.js";
7
7
  import {
8
- Service31
9
- } from "./credential-s90d8d6b.js";
8
+ Service49
9
+ } from "./pty-v8jfbz3g.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./credential-fxbjtjnd.js";
12
+ } from "./pty-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./credential-gftt206x.js";
15
+ } from "./pty-gftt206x.js";
16
16
  import {
17
17
  NotFoundError7,
18
18
  PromptConflictError2,
@@ -20,55 +20,55 @@ import {
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./credential-ekab52cg.js";
23
+ } from "./pty-qgy2rw28.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./credential-ec1grn59.js";
26
+ } from "./pty-ec1grn59.js";
27
27
  import {
28
- Service54
29
- } from "./credential-bpgg8zv2.js";
28
+ Service53
29
+ } from "./pty-z5c2cr5p.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service29
34
- } from "./credential-p0p6txpm.js";
33
+ Service47
34
+ } from "./pty-feebpcf8.js";
35
35
  import {
36
- Service27
37
- } from "./credential-z56nne8r.js";
36
+ Service45
37
+ } from "./pty-4azybn4n.js";
38
38
  import {
39
39
  prepare2
40
- } from "./credential-qaf3yvw3.js";
40
+ } from "./pty-jjc2e0wf.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./credential-kg7hpk6b.js";
45
+ } from "./pty-rxyhbgbe.js";
46
46
  import {
47
47
  start2
48
- } from "./credential-6k8padng.js";
48
+ } from "./pty-cj4mykbe.js";
49
49
  import {
50
50
  get4
51
- } from "./credential-9c1g789v.js";
51
+ } from "./pty-gqqez5b8.js";
52
52
  import {
53
53
  __export
54
- } from "./credential-9rqn6x4v.js";
54
+ } from "./pty-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make12
60
+ make: () => make13
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make12 = Effect.fn("Session.make")(function* () {
65
+ var make13 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service79;
67
67
  const database = yield* Service80;
68
- const store = yield* Service54;
69
- const instances = yield* Service31;
70
- const execution = yield* Service27;
71
- const admission = yield* Service29;
68
+ const store = yield* Service53;
69
+ const instances = yield* Service49;
70
+ const execution = yield* Service45;
71
+ const admission = yield* Service47;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
@@ -127,7 +127,7 @@ var make12 = Effect.fn("Session.make")(function* () {
127
127
  });
128
128
  if (existing)
129
129
  return existing;
130
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service31, instances), Effect.provideService(FSUtil.Service, fs)));
130
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service49, instances), Effect.provideService(FSUtil.Service, fs)));
131
131
  if (session.revert)
132
132
  yield* commit2(bus, session);
133
133
  return yield* admission.admit({
@@ -143,7 +143,7 @@ var make12 = Effect.fn("Session.make")(function* () {
143
143
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
144
144
  const session = yield* get(sessionID);
145
145
  const running = yield* Effect.gen(function* () {
146
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service31, instances), Effect.tapError((error) => synthetic(sessionID, {
146
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service49, instances), Effect.tapError((error) => synthetic(sessionID, {
147
147
  text: `User shell command failed to start:
148
148
  ${input.command}
149
149
 
@@ -172,7 +172,7 @@ ${error.message}`,
172
172
  });
173
173
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
174
174
  const session = yield* get(sessionID);
175
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service31, instances));
175
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service49, instances));
176
176
  yield* bus.publish(SessionEvent2.Skill.Activated, {
177
177
  sessionID,
178
178
  id: skill.id,
@@ -229,13 +229,13 @@ ${error.message}`,
229
229
  const session = yield* get(sessionID);
230
230
  if (yield* execution.isActive(sessionID))
231
231
  return yield* new BusyError2({ sessionID });
232
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service31, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
232
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
233
233
  });
234
234
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
235
235
  const session = yield* get(sessionID);
236
236
  if (yield* execution.isActive(sessionID))
237
237
  return yield* new BusyError2({ sessionID });
238
- yield* clear2(session).pipe(Effect.provideService(Service31, instances), Effect.provideService(Service79, bus));
238
+ yield* clear2(session).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service79, bus));
239
239
  return yield* execution.wake(sessionID);
240
240
  });
241
241
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -315,4 +315,4 @@ ${error.message}`,
315
315
  return { forSession };
316
316
  });
317
317
 
318
- export { make12, exports_session2 };
318
+ export { make13, exports_session2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./credential-qfa1cgps.js";
3
+ } from "./pty-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./credential-kg06axw8.js";
3
+ } from "./pty-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./credential-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,7 +11,7 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service42,
14
+ Service: () => Service41,
15
15
  SizeError: () => SizeError2,
16
16
  node: () => node45
17
17
  });
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service42 extends Context.Service()("@opencode/Image") {
45
+ class Service41 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service42, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service42.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service41.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node45 = makeLocationNode({ service: Service42, layer, deps: [] });
79
+ var node45 = makeLocationNode({ service: Service41, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service42, node45, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service41, node45, exports_image2 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./credential-ed29z705.js";
4
+ } from "./pty-8w0tny4e.js";
5
5
  import {
6
6
  Key4,
7
- Service78,
8
- node83
9
- } from "./credential-tscy7q8w.js";
7
+ Service72,
8
+ node77
9
+ } from "./pty-5g6xb262.js";
10
10
  import {
11
11
  create3
12
- } from "./credential-kg06axw8.js";
12
+ } from "./pty-kg06axw8.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./credential-m4455s3y.js";
16
+ } from "./pty-m0f7gyab.js";
17
17
  import {
18
18
  __export
19
- } from "./credential-9rqn6x4v.js";
19
+ } from "./pty-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -30,17 +30,17 @@ __export(exports_integration, {
30
30
  CommandAttemptStatus: () => CommandAttemptStatus2,
31
31
  CommandMethod: () => CommandMethod2,
32
32
  EnvMethod: () => EnvMethod2,
33
- Event: () => Event18,
34
- ID: () => ID16,
35
- Info: () => Info31,
33
+ Event: () => Event14,
34
+ ID: () => ID10,
35
+ Info: () => Info12,
36
36
  Integration: () => exports_integration,
37
37
  KeyMethod: () => KeyMethod2,
38
38
  Method: () => Method2,
39
39
  MethodID: () => MethodID2,
40
40
  OAuthMethod: () => OAuthMethod2,
41
- Ref: () => Ref4,
42
- Service: () => Service76,
43
- node: () => node81
41
+ Ref: () => Ref2,
42
+ Service: () => Service58,
43
+ node: () => node61
44
44
  });
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import {
@@ -61,8 +61,8 @@ import {
61
61
  import { Integration } from "@opencode/schema/integration";
62
62
  import { AppProcess } from "@opencode/util/process";
63
63
  import { ChildProcess } from "effect/unstable/process";
64
- import { Event as Event18 } from "@opencode/schema/integration";
65
- var ID16 = Integration.ID;
64
+ import { Event as Event14 } from "@opencode/schema/integration";
65
+ var ID10 = Integration.ID;
66
66
  var MethodID2 = Integration.MethodID;
67
67
  var AttemptID2 = Integration.AttemptID;
68
68
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
70
70
  var KeyMethod2 = Integration.KeyMethod;
71
71
  var EnvMethod2 = Integration.EnvMethod;
72
72
  var Method2 = Integration.Method;
73
- var Info31 = Integration.Info;
73
+ var Info12 = Integration.Info;
74
74
  var Attempt2 = Integration.Attempt;
75
75
  var AttemptStatus2 = Integration.AttemptStatus;
76
76
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -85,15 +85,15 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
85
85
  cause: Schema.Defect()
86
86
  }) {
87
87
  }
88
- var Ref4 = Integration.Ref;
88
+ var Ref2 = Integration.Ref;
89
89
 
90
- class Service76 extends Context.Service()("@opencode/Integration") {
90
+ class Service58 extends Context.Service()("@opencode/Integration") {
91
91
  }
92
92
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
93
93
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
94
94
  var scrubInterval = Duration.seconds(30);
95
- var layer = Layer.effect(Service76, Effect.gen(function* () {
96
- const credentials = yield* Service78;
95
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
96
+ const credentials = yield* Service72;
97
97
  const bus = yield* Service79;
98
98
  const processes = yield* AppProcess.Service;
99
99
  const scope = yield* Scope.Scope;
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
187
187
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
188
188
  return [...credentials, ...env];
189
189
  };
190
- const project = (entry, connections) => Info31.make({
190
+ const project = (entry, connections) => Info12.make({
191
191
  id: entry.ref.id,
192
192
  name: entry.ref.name,
193
193
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
417
417
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
418
418
  return CommandAttempt2.make({ attemptID, time });
419
419
  });
420
- return Service76.of({
420
+ return Service58.of({
421
421
  transform: state.transform,
422
422
  reload: state.reload,
423
423
  get: Effect.fn("Integration.get")(function* (id) {
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
565
565
  }
566
566
  });
567
567
  }));
568
- var node81 = makeLocationNode({
569
- service: Service76,
568
+ var node61 = makeLocationNode({
569
+ service: Service58,
570
570
  layer,
571
- deps: [node83, node84, AppProcess.node]
571
+ deps: [node77, node84, AppProcess.node]
572
572
  });
573
573
 
574
- export { ID16, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info31, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref4, Service76, node81, exports_integration, Event18 };
574
+ export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info12, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service58, node61, exports_integration, Event14 };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service77
3
- } from "./credential-m4455s3y.js";
2
+ Service59
3
+ } from "./pty-m0f7gyab.js";
4
4
  import {
5
- Service53
6
- } from "./credential-gsdcmbmr.js";
5
+ Service51
6
+ } from "./pty-q6rs4hjt.js";
7
7
  import {
8
8
  __export
9
- } from "./credential-9rqn6x4v.js";
9
+ } from "./pty-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input13,
15
+ Input: () => Input14,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin45,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name13,
20
+ name: () => name14,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name13 = "question";
26
+ var name14 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input13 = Schema.Struct({
37
+ var Input14 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin45 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service77;
57
- const permission = yield* Service53;
56
+ const forms = yield* Service59;
57
+ const permission = yield* Service51;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name13,
59
+ name: name14,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input13,
62
+ input: Input14,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -115,4 +115,4 @@ function toField(question, index) {
115
115
  };
116
116
  }
117
117
 
118
- export { name13, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
118
+ export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service35
3
- } from "./credential-jkw62c4x.js";
2
+ Service44
3
+ } from "./pty-wf7nhwxb.js";
4
4
  import {
5
- Service31
6
- } from "./credential-s90d8d6b.js";
5
+ Service49
6
+ } from "./pty-v8jfbz3g.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./credential-qdyb70sk.js";
9
+ } from "./pty-by5v678g.js";
10
10
  import {
11
11
  __export
12
- } from "./credential-9rqn6x4v.js";
12
+ } from "./pty-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service31;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service35), instances.provide(input.session));
22
+ const instances = yield* Service49;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service44), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -1,27 +1,27 @@
1
1
  import {
2
- ID11,
2
+ ID16,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./credential-qhbg58t9.js";
5
+ } from "./pty-9p3b3m98.js";
6
6
  import {
7
- ID9,
7
+ ID15,
8
8
  VariantID2,
9
- Info25,
9
+ Info28,
10
10
  compatibility2
11
- } from "./credential-7hdna1a1.js";
11
+ } from "./pty-wnqzfj2j.js";
12
12
  import {
13
13
  __export
14
- } from "./credential-9rqn6x4v.js";
14
+ } from "./pty-9rqn6x4v.js";
15
15
 
16
16
  // src/modal/models.ts
17
- var exports_models = {};
18
- __export(exports_models, {
19
- ModalModels: () => exports_models,
20
- get: () => get2
17
+ var exports_models2 = {};
18
+ __export(exports_models2, {
19
+ ModalModels: () => exports_models2,
20
+ get: () => get3
21
21
  });
22
22
  import { Money } from "@opencode/schema/money";
23
23
  import { Option, Schema } from "effect";
24
- var providerID = ID11.make("modal");
24
+ var providerID = ID16.make("modal");
25
25
  var ReasoningOption = Schema.Struct({
26
26
  type: Schema.Literal("effort"),
27
27
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
53
53
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
54
54
  var decodeResponse = Schema.decodeUnknownSync(Response);
55
55
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
56
- async function get2(baseURL, apiKey, existing) {
56
+ async function get3(baseURL, apiKey, existing) {
57
57
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
58
58
  headers: {
59
59
  Authorization: `Bearer ${apiKey}`
@@ -69,8 +69,8 @@ async function get2(baseURL, apiKey, existing) {
69
69
  const templates = new Map(existing.map((model) => [model.id, model]));
70
70
  const result = new Map;
71
71
  for (const item of remote) {
72
- const template = templates.get(ID9.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
73
- const id = ID9.make(item.id);
72
+ const template = templates.get(ID15.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
73
+ const id = ID15.make(item.id);
74
74
  result.set(id, build(id, item, baseURL, template));
75
75
  }
76
76
  return result;
@@ -88,10 +88,10 @@ function limit(value, fallback) {
88
88
  function build(id, remote, baseURL, previous) {
89
89
  const cost = previous?.cost[0];
90
90
  const input = previous?.limit.input;
91
- return Info25.make({
92
- ...Info25.default(providerID, id),
91
+ return Info28.make({
92
+ ...Info28.default(providerID, id),
93
93
  id,
94
- modelID: ID9.make(remote.id),
94
+ modelID: ID15.make(remote.id),
95
95
  providerID,
96
96
  name: remote.name ?? previous?.name ?? remote.id,
97
97
  family: previous?.family,
@@ -138,4 +138,4 @@ function variants(remote) {
138
138
  return [...seen.values()];
139
139
  }
140
140
 
141
- export { get2, exports_models };
141
+ export { get3, exports_models2 };