@opencode/core 0.0.0-dev-20828 → 0.0.0-dev-20829

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{form-ssbwjptr.js → pty-0cnykqaq.js} +5 -5
  8. package/dist/chunks/{form-an2yc5xr.js → pty-0f36crf5.js} +35 -35
  9. package/dist/chunks/{form-ft3bm8wc.js → pty-0hbbthgq.js} +5 -5
  10. package/dist/chunks/{form-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{form-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{form-njy67wa0.js → pty-0vygd7f8.js} +17 -17
  13. package/dist/chunks/{form-hbmkw9wp.js → pty-0xcfrkz9.js} +20 -20
  14. package/dist/chunks/{form-p4mj4rdp.js → pty-1ajx6rf5.js} +8 -8
  15. package/dist/chunks/{form-8kb1mg34.js → pty-1dmh880y.js} +4 -4
  16. package/dist/chunks/{form-setc7ajv.js → pty-1gpb38yh.js} +9 -9
  17. package/dist/chunks/{form-h83xjv7f.js → pty-1pxz8ven.js} +5 -5
  18. package/dist/chunks/{form-ce02pvrk.js → pty-1qxv4gah.js} +13 -13
  19. package/dist/chunks/{form-fsbk27r1.js → pty-1rh4yqvv.js} +9 -9
  20. package/dist/chunks/{form-q941vmqq.js → pty-1sheza49.js} +44 -44
  21. package/dist/chunks/{form-8v5x19vh.js → pty-281xas1t.js} +24 -24
  22. package/dist/chunks/{form-7deejnv5.js → pty-28rwbfbs.js} +27 -27
  23. package/dist/chunks/{form-7dqw4kz8.js → pty-2k8khapm.js} +5 -5
  24. package/dist/chunks/{form-c2j9akp4.js → pty-2kpekj74.js} +45 -45
  25. package/dist/chunks/{form-dypjmpy5.js → pty-2n79zsqk.js} +5 -5
  26. package/dist/chunks/{form-dyk8dg4h.js → pty-2rqksdxh.js} +28 -28
  27. package/dist/chunks/{form-2vvh33eb.js → pty-2vvh33eb.js} +2 -2
  28. package/dist/chunks/{form-edv7wmg4.js → pty-32cjn77w.js} +10 -10
  29. package/dist/chunks/{form-vfvdkzh7.js → pty-32tw229e.js} +18 -18
  30. package/dist/chunks/{form-7mehp2db.js → pty-33gphc4y.js} +5 -5
  31. package/dist/chunks/{form-adtep242.js → pty-34dz50e5.js} +14 -14
  32. package/dist/chunks/{form-ffsmct6j.js → pty-3f2jm17j.js} +11 -11
  33. package/dist/chunks/{form-ns6yht8e.js → pty-3fbg59cn.js} +10 -10
  34. package/dist/chunks/{form-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{form-98byex5e.js → pty-3h6fbjms.js} +10 -10
  36. package/dist/chunks/{form-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{form-3hwn7j4h.js → pty-3hwn7j4h.js} +2 -2
  38. package/dist/chunks/{form-s6kxze16.js → pty-3pkc36ya.js} +7 -7
  39. package/dist/chunks/{form-dw864gpf.js → pty-3pq4wa5c.js} +11 -11
  40. package/dist/chunks/{form-n6kqnd83.js → pty-3qddgp4y.js} +24 -24
  41. package/dist/chunks/{form-pk42rxm6.js → pty-3rqkssp8.js} +8 -8
  42. package/dist/chunks/{form-3ebsda8f.js → pty-3s8fpsh7.js} +40 -40
  43. package/dist/chunks/{form-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{form-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{form-v36zy0wa.js → pty-3zg7z3bw.js} +13 -13
  46. package/dist/chunks/{form-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
  47. package/dist/chunks/{form-ff7y9y3v.js → pty-4qb8ma89.js} +28 -28
  48. package/dist/chunks/{form-c95arbvr.js → pty-4rd96g3b.js} +16 -16
  49. package/dist/chunks/{form-7v1qqt5d.js → pty-4rt7dqfm.js} +7 -7
  50. package/dist/chunks/{form-2ccvkpx1.js → pty-4ts7tf6z.js} +2 -2
  51. package/dist/chunks/{form-g9w77p2h.js → pty-4wp3e6bz.js} +8 -8
  52. package/dist/chunks/{form-kkjh6fan.js → pty-4zyzs0ed.js} +36 -36
  53. package/dist/chunks/{form-410ssy4d.js → pty-508e6s6p.js} +6 -6
  54. package/dist/chunks/{form-1c5kbjh1.js → pty-5315f502.js} +6 -6
  55. package/dist/chunks/{form-2sejkfem.js → pty-5d607bsg.js} +9 -9
  56. package/dist/chunks/{form-7pggkc53.js → pty-5e3qmt7f.js} +1 -1
  57. package/dist/chunks/{form-5m9w47nd.js → pty-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{form-ppqr5nhx.js → pty-5n9cp24j.js} +9 -9
  59. package/dist/chunks/{form-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
  60. package/dist/chunks/{form-zcywpsge.js → pty-5xfmpj1j.js} +11 -11
  61. package/dist/chunks/{form-fg21g81d.js → pty-5zkvyedw.js} +28 -28
  62. package/dist/chunks/{form-daeg89qt.js → pty-61r3a0pq.js} +3 -3
  63. package/dist/chunks/{form-372hk0sy.js → pty-62g730j6.js} +4 -4
  64. package/dist/chunks/{form-z8x0h9ra.js → pty-62gtt4vs.js} +27 -27
  65. package/dist/chunks/{form-b0ynatpn.js → pty-688cz1j9.js} +10 -10
  66. package/dist/chunks/{form-y0e8a50k.js → pty-6dp5gy92.js} +6 -6
  67. package/dist/chunks/{form-pf6b5592.js → pty-6h6xfm99.js} +11 -11
  68. package/dist/chunks/{form-5dgjn14j.js → pty-6ma4rgg5.js} +8 -8
  69. package/dist/chunks/{form-f5qn9b68.js → pty-6q9eydss.js} +5 -5
  70. package/dist/chunks/{form-espax8zg.js → pty-6rm5yzkt.js} +4 -4
  71. package/dist/chunks/{form-6xb47vfp.js → pty-6xb47vfp.js} +1 -1
  72. package/dist/chunks/{form-tdc7v4mg.js → pty-736mwy1a.js} +38 -38
  73. package/dist/chunks/{form-xnbwxy24.js → pty-75ejmma1.js} +23 -23
  74. package/dist/chunks/{form-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{form-dmbwbvhk.js → pty-7e6328vk.js} +7 -7
  76. package/dist/chunks/{form-rkprpv83.js → pty-7fkffz83.js} +4 -4
  77. package/dist/chunks/{form-secas1cc.js → pty-7g19e4tp.js} +80 -80
  78. package/dist/chunks/{form-6w4z75dy.js → pty-7ssckh79.js} +14 -14
  79. package/dist/chunks/{form-2ngk0dg2.js → pty-7twrzkxr.js} +22 -22
  80. package/dist/chunks/{form-57ys8d4d.js → pty-803mzads.js} +11 -11
  81. package/dist/chunks/{form-407zx9f2.js → pty-816wh8nz.js} +13 -13
  82. package/dist/chunks/{form-7qxdy3ab.js → pty-819j0yj5.js} +23 -23
  83. package/dist/chunks/{form-endy3sye.js → pty-82ayfpam.js} +11 -11
  84. package/dist/chunks/{form-t49c1kc0.js → pty-835y4q1g.js} +11 -11
  85. package/dist/chunks/{form-26h36xx0.js → pty-882ve7ed.js} +153 -153
  86. package/dist/chunks/{form-gmvqaxcm.js → pty-8bzfeptx.js} +167 -167
  87. package/dist/chunks/{form-j3th3ztc.js → pty-8fqzmfzp.js} +8 -8
  88. package/dist/chunks/{form-8m6m0r52.js → pty-8m6m0r52.js} +1 -1
  89. package/dist/chunks/{form-qxq0nqwk.js → pty-8ppnx5kq.js} +6 -6
  90. package/dist/chunks/{form-e9gv8add.js → pty-9m0tzg6a.js} +17 -17
  91. package/dist/chunks/{form-8gjqxw1x.js → pty-9p8g6ccm.js} +3 -3
  92. package/dist/chunks/{form-dvs6amxs.js → pty-9q77khpg.js} +5 -5
  93. package/dist/chunks/{form-chk1c479.js → pty-9qgy8jr1.js} +9 -9
  94. package/dist/chunks/{form-y0kth46m.js → pty-9xf5g41x.js} +18 -18
  95. package/dist/chunks/{form-a81m50dc.js → pty-a053vxgn.js} +26 -26
  96. package/dist/chunks/{form-jewzahs7.js → pty-a89e0tac.js} +4 -4
  97. package/dist/chunks/{form-81key8bf.js → pty-a9vjqg87.js} +4 -4
  98. package/dist/chunks/{form-bnwvdr8k.js → pty-af1eyefv.js} +25 -25
  99. package/dist/chunks/{form-w7m721xm.js → pty-axbkptea.js} +2 -2
  100. package/dist/chunks/{form-tqp03w29.js → pty-az7915bh.js} +17 -17
  101. package/dist/chunks/{form-n8vdnqrc.js → pty-b674v2dg.js} +5 -5
  102. package/dist/chunks/{form-phz50fbd.js → pty-bxqk5pf5.js} +9 -9
  103. package/dist/chunks/{form-c1fqxshp.js → pty-c1fqxshp.js} +3 -3
  104. package/dist/chunks/{form-v241zgxx.js → pty-c2z82zd3.js} +4 -4
  105. package/dist/chunks/{form-fzb4jpac.js → pty-c84f5e61.js} +13 -13
  106. package/dist/chunks/{form-gbw80gmv.js → pty-cnhye612.js} +2 -2
  107. package/dist/chunks/{form-67fm9hxb.js → pty-cyfy6ny6.js} +20 -20
  108. package/dist/chunks/{form-p9tm5ycc.js → pty-d57w54x3.js} +16 -16
  109. package/dist/chunks/{form-zwdvdw98.js → pty-d5h7yrcx.js} +43 -43
  110. package/dist/chunks/{form-4vm585d8.js → pty-dcy4apwd.js} +14 -14
  111. package/dist/chunks/{form-85zcaa4a.js → pty-dffyxrs7.js} +18 -18
  112. package/dist/chunks/{form-bhx0crjq.js → pty-djsf3ra4.js} +8 -8
  113. package/dist/chunks/{form-y71avatq.js → pty-dpkg50ah.js} +4 -4
  114. package/dist/chunks/{form-kada6eax.js → pty-drmqggy3.js} +6 -6
  115. package/dist/chunks/{form-706phk7x.js → pty-drnf6xwf.js} +2 -2
  116. package/dist/chunks/{form-02xddtc0.js → pty-dxep3sqh.js} +21 -21
  117. package/dist/chunks/{form-sazevqmq.js → pty-dxx87avg.js} +10 -10
  118. package/dist/chunks/{form-ymgkxg7n.js → pty-dys7k0s0.js} +11 -11
  119. package/dist/chunks/{form-5rzwp8tz.js → pty-e80seqcp.js} +3 -3
  120. package/dist/chunks/{form-1p9yx0fe.js → pty-e920mvbt.js} +23 -23
  121. package/dist/chunks/{form-dr78sty6.js → pty-ebqxd2ph.js} +21 -21
  122. package/dist/chunks/{form-eej6y6fw.js → pty-eej6y6fw.js} +2 -2
  123. package/dist/chunks/{form-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{form-2b63rq0n.js → pty-efbe88xk.js} +18 -18
  125. package/dist/chunks/{form-8w44vpkn.js → pty-es811akx.js} +10 -10
  126. package/dist/chunks/{form-pspzh9gr.js → pty-ev663pnx.js} +3 -3
  127. package/dist/chunks/{form-qn2g7fdy.js → pty-extdh6e7.js} +22 -22
  128. package/dist/chunks/{form-t0pyhqcw.js → pty-f2mw6jyj.js} +11 -11
  129. package/dist/chunks/{form-e1b8n3gh.js → pty-f3zadn6b.js} +11 -11
  130. package/dist/chunks/{form-9b9geqmr.js → pty-fd80m7p3.js} +32 -32
  131. package/dist/chunks/{form-9n6wwvty.js → pty-fqq9xsk7.js} +11 -11
  132. package/dist/chunks/{form-t1dawjzh.js → pty-fqtvmpfq.js} +8 -8
  133. package/dist/chunks/{form-kqxat9ja.js → pty-fzd7gkan.js} +80 -80
  134. package/dist/chunks/{form-nx8rb7q9.js → pty-fzep1s2p.js} +13 -13
  135. package/dist/chunks/{form-cdv4x00t.js → pty-g2x3q6j9.js} +35 -35
  136. package/dist/chunks/{form-drac6928.js → pty-g3er6je0.js} +5 -5
  137. package/dist/chunks/{form-e4fpj63v.js → pty-g7g2pdja.js} +4 -4
  138. package/dist/chunks/{form-espmheeq.js → pty-g8e6zt8f.js} +6 -6
  139. package/dist/chunks/{form-hg2p2a9v.js → pty-g8yq79xy.js} +14 -14
  140. package/dist/chunks/pty-gb9jrr1j.js +26 -0
  141. package/dist/chunks/{form-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{form-7vrsjqpj.js → pty-gjscf0hp.js} +16 -16
  143. package/dist/chunks/{form-gk8qb678.js → pty-gk8qb678.js} +1 -1
  144. package/dist/chunks/{form-eb5pm11b.js → pty-gn2rf22p.js} +11 -11
  145. package/dist/chunks/{form-nvc3frs4.js → pty-gncde6fa.js} +6 -6
  146. package/dist/chunks/{form-q0dgg3zj.js → pty-gnp9y88q.js} +18 -18
  147. package/dist/chunks/{form-whbg0208.js → pty-gskmna2p.js} +20 -20
  148. package/dist/chunks/{form-0eta6zh7.js → pty-gwkq74jr.js} +24 -24
  149. package/dist/chunks/{form-wynsndej.js → pty-h64c4a83.js} +8 -8
  150. package/dist/chunks/{form-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{form-4tvwpn9h.js → pty-h6ztf8yp.js} +5 -5
  152. package/dist/chunks/{form-h7s7r6s9.js → pty-h7s7r6s9.js} +2 -2
  153. package/dist/chunks/{form-hgz4x7wa.js → pty-hgz4x7wa.js} +1 -1
  154. package/dist/chunks/{form-hkffa77z.js → pty-hkffa77z.js} +4 -4
  155. package/dist/chunks/{form-rzbjs5ks.js → pty-hnym75r4.js} +4 -4
  156. package/dist/chunks/{form-25cs5cen.js → pty-hpfvhvya.js} +8 -8
  157. package/dist/chunks/{form-91qna3x0.js → pty-j09zfasm.js} +3 -3
  158. package/dist/chunks/{form-j56e64zr.js → pty-j56e64zr.js} +1 -1
  159. package/dist/chunks/{form-aps8hww0.js → pty-j7d1263c.js} +16 -16
  160. package/dist/chunks/{form-2krnjfyp.js → pty-jbt4rr2d.js} +43 -43
  161. package/dist/chunks/{form-yqhrhpcs.js → pty-jefh3zb1.js} +19 -19
  162. package/dist/chunks/{form-02txvjnv.js → pty-jf6x9176.js} +11 -11
  163. package/dist/chunks/{form-602550ez.js → pty-jtgbyr4a.js} +22 -22
  164. package/dist/chunks/{form-k4tq5x53.js → pty-jvcn2d3z.js} +48 -48
  165. package/dist/chunks/{form-wyazd03e.js → pty-jzg6w2y0.js} +9 -9
  166. package/dist/chunks/{form-hwtfb5gf.js → pty-k1y0s7m5.js} +32 -32
  167. package/dist/chunks/{form-kqzz1msf.js → pty-k1zym2rk.js} +29 -29
  168. package/dist/chunks/{form-v7htmggb.js → pty-k3m00qb7.js} +3 -3
  169. package/dist/chunks/{form-d71bthh7.js → pty-k4ek9np0.js} +18 -18
  170. package/dist/chunks/{form-v6gtewkg.js → pty-kf5rw7j4.js} +48 -48
  171. package/dist/chunks/{form-1w2wqhfv.js → pty-khmqacep.js} +4 -4
  172. package/dist/chunks/{form-am0cn9r6.js → pty-kj20kd1j.js} +40 -40
  173. package/dist/chunks/{form-zcrspsvn.js → pty-kne8f3cn.js} +4 -4
  174. package/dist/chunks/{form-jmq43kgc.js → pty-kr6f0vqs.js} +16 -16
  175. package/dist/chunks/{form-jvqd6gcq.js → pty-ks0ccrx6.js} +8 -8
  176. package/dist/chunks/{form-g4m1e4g9.js → pty-kxkrnkd5.js} +35 -35
  177. package/dist/chunks/{form-h4svzz1k.js → pty-m2ca2kay.js} +8 -8
  178. package/dist/chunks/{form-7gra0nqm.js → pty-m329mjby.js} +5 -5
  179. package/dist/chunks/{form-3jp0e4zv.js → pty-m632hd4m.js} +13 -13
  180. package/dist/chunks/{form-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{form-z2qbjhyn.js → pty-ma48de29.js} +5 -5
  182. package/dist/chunks/{form-t5h642bt.js → pty-mrhpe6wz.js} +7 -7
  183. package/dist/chunks/{form-51f5btjf.js → pty-mx9vqzsb.js} +6 -6
  184. package/dist/chunks/{form-m6wf1b27.js → pty-mxcn0d43.js} +68 -68
  185. package/dist/chunks/{form-addxnjmp.js → pty-mxvxcxwy.js} +4 -4
  186. package/dist/chunks/{form-n7d88tpn.js → pty-my4zabxr.js} +2 -2
  187. package/dist/chunks/{form-kb4rw88y.js → pty-mzw0q7vr.js} +9 -9
  188. package/dist/chunks/{form-dsn3h2gd.js → pty-n8xxfej3.js} +23 -23
  189. package/dist/chunks/{form-q84ycsvd.js → pty-na80sj88.js} +31 -31
  190. package/dist/chunks/{form-he2v6sv2.js → pty-nfs59v65.js} +29 -29
  191. package/dist/chunks/{form-25gtbz14.js → pty-ngjdjm4k.js} +12 -12
  192. package/dist/chunks/{form-7yfmjjmm.js → pty-ngvyj94h.js} +19 -19
  193. package/dist/chunks/{form-3hq3wkzn.js → pty-nrekvyfh.js} +22 -22
  194. package/dist/chunks/{form-tmnkkjp7.js → pty-nv00r1cz.js} +3 -3
  195. package/dist/chunks/{form-5r61v62t.js → pty-nyczhf3x.js} +4 -4
  196. package/dist/chunks/{form-b1pkt330.js → pty-p0anqt4a.js} +35 -35
  197. package/dist/chunks/{form-8d86b3ha.js → pty-p8aeyc23.js} +25 -25
  198. package/dist/chunks/{form-n22ba5av.js → pty-pdc17wm4.js} +321 -321
  199. package/dist/chunks/{form-msrmpw8q.js → pty-pdz1473m.js} +4 -4
  200. package/dist/chunks/{form-ny6t9171.js → pty-pey5f48j.js} +1 -1
  201. package/dist/chunks/{form-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{form-pknna89w.js → pty-pknna89w.js} +1 -1
  203. package/dist/chunks/{form-gd0tnyjc.js → pty-pnzf6mjf.js} +1 -1
  204. package/dist/chunks/{form-psfd2gfy.js → pty-pwzbey2q.js} +50 -50
  205. package/dist/chunks/{form-0r7ekek2.js → pty-pxj76zhh.js} +25 -25
  206. package/dist/chunks/{form-85fyjh0d.js → pty-py0hhzem.js} +24 -24
  207. package/dist/chunks/{form-ggjznnsd.js → pty-pzfg0ztk.js} +11 -11
  208. package/dist/chunks/{form-0j77ygfz.js → pty-q0xm7vwc.js} +6 -6
  209. package/dist/chunks/{form-8wrxqz42.js → pty-q2v8m3fk.js} +10 -10
  210. package/dist/chunks/{form-wgngrczc.js → pty-qazrcecv.js} +17 -17
  211. package/dist/chunks/pty-qc068m1q.js +18 -0
  212. package/dist/chunks/{form-4t145sc8.js → pty-qcya3rg4.js} +44 -44
  213. package/dist/chunks/{form-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
  214. package/dist/chunks/{form-drwq78ky.js → pty-qqeeq2t9.js} +7 -7
  215. package/dist/chunks/{form-qsdy395h.js → pty-qsdy395h.js} +1 -1
  216. package/dist/chunks/{form-tnmf4dev.js → pty-qz98z2ah.js} +9 -9
  217. package/dist/chunks/{form-t1t87xhv.js → pty-r44wx0p4.js} +5 -5
  218. package/dist/chunks/{form-t286ahc8.js → pty-r6pqh68g.js} +12 -12
  219. package/dist/chunks/{form-54ma36ye.js → pty-r94pvvab.js} +4 -4
  220. package/dist/chunks/{form-tj99qrza.js → pty-razh9zgp.js} +24 -24
  221. package/dist/chunks/{form-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{form-dtnvqxqd.js → pty-re8fv4z8.js} +11 -11
  223. package/dist/chunks/{form-rert0e01.js → pty-rert0e01.js} +2 -2
  224. package/dist/chunks/{form-rj3eygr5.js → pty-rj3eygr5.js} +2 -2
  225. package/dist/chunks/{form-wnt7wp6b.js → pty-rqjzxqxs.js} +11 -11
  226. package/dist/chunks/{form-kt428qqn.js → pty-rrcp1k08.js} +11 -11
  227. package/dist/chunks/{form-p7s7eag1.js → pty-rwa6rxfx.js} +3 -3
  228. package/dist/chunks/{form-5ppwfcxb.js → pty-rwc2pc3v.js} +11 -11
  229. package/dist/chunks/{form-a2ew8a62.js → pty-ryr25ayn.js} +4 -4
  230. package/dist/chunks/{form-hgmkvm58.js → pty-s08bddtt.js} +15 -15
  231. package/dist/chunks/{form-q266kqc1.js → pty-s0c7z8s7.js} +24 -24
  232. package/dist/chunks/{form-c2ms8fjw.js → pty-s17w1n1e.js} +20 -20
  233. package/dist/chunks/{form-xhgknps5.js → pty-s1sr5m6z.js} +13 -13
  234. package/dist/chunks/{form-d32kv9sd.js → pty-s80jrect.js} +20 -20
  235. package/dist/chunks/{form-s8d7rejh.js → pty-s8d7rejh.js} +1 -1
  236. package/dist/chunks/{form-53qd1f5j.js → pty-s8qr3ezm.js} +27 -27
  237. package/dist/chunks/{form-m1aw2hct.js → pty-s9435745.js} +21 -21
  238. package/dist/chunks/{form-sa8ekw3f.js → pty-sa8ekw3f.js} +2 -2
  239. package/dist/chunks/{form-zyk1yjk8.js → pty-scgrse2b.js} +5 -5
  240. package/dist/chunks/{form-j85eagxk.js → pty-sdmzpsns.js} +29 -29
  241. package/dist/chunks/{form-2nkr91ag.js → pty-sh68mvxb.js} +18 -18
  242. package/dist/chunks/{form-syv4x271.js → pty-syv4x271.js} +1 -1
  243. package/dist/chunks/{form-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{form-kz0fxtr4.js → pty-tbr92r1g.js} +10 -10
  245. package/dist/chunks/{form-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
  246. package/dist/chunks/{form-tdstcens.js → pty-tdstcens.js} +1 -1
  247. package/dist/chunks/{form-69h1251q.js → pty-thtzhryg.js} +10 -10
  248. package/dist/chunks/{form-fs0s4xdc.js → pty-tsf8s7tw.js} +32 -32
  249. package/dist/chunks/{form-tyytaxap.js → pty-tyytaxap.js} +1 -1
  250. package/dist/chunks/{form-zz7jjxnj.js → pty-v01rw2zy.js} +16 -16
  251. package/dist/chunks/{form-v0es1rhs.js → pty-v0es1rhs.js} +2 -2
  252. package/dist/chunks/{form-83dsgdpz.js → pty-v68v43a8.js} +16 -16
  253. package/dist/chunks/{form-v7p4zvkq.js → pty-v7p4zvkq.js} +2 -2
  254. package/dist/chunks/{form-veqvce7d.js → pty-veqvce7d.js} +1 -1
  255. package/dist/chunks/{form-98kmy8hf.js → pty-vh716j4k.js} +5 -5
  256. package/dist/chunks/{form-95ff9q6w.js → pty-vkp0w3yf.js} +14 -14
  257. package/dist/chunks/{form-k1s8dyb0.js → pty-vqwz5fgy.js} +24 -24
  258. package/dist/chunks/{form-ny06cy4w.js → pty-vynmhvtw.js} +13 -13
  259. package/dist/chunks/{form-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
  260. package/dist/chunks/{form-mns24rw2.js → pty-w0y00tyh.js} +15 -15
  261. package/dist/chunks/{form-84txncab.js → pty-w1eejvng.js} +5 -5
  262. package/dist/chunks/{form-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  263. package/dist/chunks/{form-1j6m29mr.js → pty-waskdk5r.js} +9 -9
  264. package/dist/chunks/{form-wd87259q.js → pty-wd87259q.js} +1 -1
  265. package/dist/chunks/{form-ywt8jp22.js → pty-wjr9rjd7.js} +6 -6
  266. package/dist/chunks/{form-g23t6sg1.js → pty-wjtb6svr.js} +32 -32
  267. package/dist/chunks/{form-dbqktatz.js → pty-wze0qs61.js} +21 -21
  268. package/dist/chunks/{form-zwvaegnk.js → pty-x24b9x88.js} +20 -20
  269. package/dist/chunks/{form-v797c0nk.js → pty-xbt9ga98.js} +14 -14
  270. package/dist/chunks/{form-c8gen4ss.js → pty-xkb1khsr.js} +20 -20
  271. package/dist/chunks/{form-wk5z6jzv.js → pty-xrpg47n6.js} +9 -9
  272. package/dist/chunks/{form-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  273. package/dist/chunks/{form-674crf5e.js → pty-y94gemam.js} +13 -13
  274. package/dist/chunks/{form-78540c8n.js → pty-yak2w91k.js} +5 -5
  275. package/dist/chunks/{form-q1gp456n.js → pty-yj1m88h6.js} +11 -11
  276. package/dist/chunks/{form-6zz246r9.js → pty-ynnr5y5c.js} +4 -4
  277. package/dist/chunks/{form-f2n192rq.js → pty-yp2x3t23.js} +4 -4
  278. package/dist/chunks/{form-qst3dbrw.js → pty-ypeaesjs.js} +3 -3
  279. package/dist/chunks/{form-4z58m4b4.js → pty-yrcj3v3g.js} +4 -4
  280. package/dist/chunks/{form-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{form-eq967g2h.js → pty-z2sr2ytx.js} +15 -15
  282. package/dist/chunks/{form-wvx6w4rx.js → pty-zjm5cem5.js} +13 -13
  283. package/dist/chunks/{form-782zrs06.js → pty-zmhzecev.js} +5 -5
  284. package/dist/chunks/{form-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{form-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +85 -85
  291. package/dist/config/discovery.js +84 -84
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +101 -101
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +207 -207
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/compatibility.js +136 -136
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +119 -119
  300. package/dist/config/plugin/image.js +118 -118
  301. package/dist/config/plugin/instruction.js +92 -92
  302. package/dist/config/plugin/location-watcher.js +118 -118
  303. package/dist/config/plugin/mcp.js +125 -125
  304. package/dist/config/plugin/policy.js +119 -119
  305. package/dist/config/plugin/provider.js +118 -118
  306. package/dist/config/plugin/reference.js +120 -120
  307. package/dist/config/plugin/shell.js +120 -120
  308. package/dist/config/plugin/skill-file.js +104 -104
  309. package/dist/config/plugin/skill.js +139 -139
  310. package/dist/config/plugin/snapshot.js +118 -118
  311. package/dist/config/plugin/source.js +121 -121
  312. package/dist/config/plugin/tool-output.js +119 -119
  313. package/dist/config/plugin/websearch.js +119 -119
  314. package/dist/config/plugin/worktree.js +120 -120
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +123 -123
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +81 -81
  320. package/dist/database/database.js +68 -68
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  386. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  387. package/dist/database/migration.gen.js +51 -51
  388. package/dist/database/migration.js +53 -53
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +78 -78
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +368 -368
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +95 -95
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +97 -97
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +3 -3
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +72 -72
  412. package/dist/file-access.js +106 -106
  413. package/dist/file-mutation.js +96 -96
  414. package/dist/file-retention.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/location-watcher-policy.js +6 -6
  420. package/dist/filesystem/location-watcher.js +220 -220
  421. package/dist/filesystem/protected.js +1 -1
  422. package/dist/filesystem/search.js +105 -105
  423. package/dist/filesystem/watcher-binding.js +3 -3
  424. package/dist/filesystem/watcher.js +15 -15
  425. package/dist/filesystem.js +104 -104
  426. package/dist/form.js +84 -84
  427. package/dist/formatter/builtins.js +4 -4
  428. package/dist/formatter.js +89 -89
  429. package/dist/generate.js +107 -107
  430. package/dist/git.js +6 -6
  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 +101 -101
  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/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +359 -359
  454. package/dist/instruction-discovery.js +87 -87
  455. package/dist/instructions/builtins.js +89 -89
  456. package/dist/instructions/index.js +1 -1
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +89 -89
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +75 -75
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-lifecycle.js +109 -109
  464. package/dist/location-service-map.js +88 -88
  465. package/dist/location-services.js +356 -356
  466. package/dist/location.js +83 -83
  467. package/dist/managed-policy.js +8 -8
  468. package/dist/mcp/client.js +93 -93
  469. package/dist/mcp/index.js +111 -111
  470. package/dist/mcp/instructions.js +129 -129
  471. package/dist/mcp/oauth.js +80 -80
  472. package/dist/mcp/stdio.js +92 -92
  473. package/dist/mime.js +1 -1
  474. package/dist/modal/models.js +101 -101
  475. package/dist/model-resolver.js +100 -100
  476. package/dist/model.js +104 -104
  477. package/dist/models-dev.js +109 -109
  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 +113 -113
  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 +92 -92
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +77 -77
  487. package/dist/plugin/agent.js +76 -76
  488. package/dist/plugin/command.js +102 -102
  489. package/dist/plugin/hooks.js +5 -5
  490. package/dist/plugin/host.js +213 -213
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +331 -331
  494. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  495. package/dist/plugin/models-dev.js +98 -98
  496. package/dist/plugin/module.js +119 -119
  497. package/dist/plugin/optimize.js +2 -2
  498. package/dist/plugin/plan.js +104 -104
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  501. package/dist/plugin/provider/azure.js +119 -119
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/chatgpt.js +96 -96
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +114 -114
  508. package/dist/plugin/provider/databricks.js +1 -1
  509. package/dist/plugin/provider/digitalocean.js +95 -95
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/github-copilot.js +97 -97
  513. package/dist/plugin/provider/gitlab.js +95 -95
  514. package/dist/plugin/provider/google-vertex.js +115 -115
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +80 -80
  517. package/dist/plugin/provider/lmstudio.js +127 -127
  518. package/dist/plugin/provider/local.js +124 -124
  519. package/dist/plugin/provider/modal.js +94 -94
  520. package/dist/plugin/provider/neon.js +1 -1
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +127 -127
  523. package/dist/plugin/provider/openai.js +95 -95
  524. package/dist/plugin/provider/opencode.js +99 -99
  525. package/dist/plugin/provider/openrouter.js +93 -93
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +81 -81
  528. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  529. package/dist/plugin/provider/sap-ai-core.js +93 -93
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  532. package/dist/plugin/provider/vercel.js +92 -92
  533. package/dist/plugin/provider/vllm.js +127 -127
  534. package/dist/plugin/provider/xai.js +93 -93
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +169 -169
  537. package/dist/plugin/sdk.js +78 -78
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +136 -136
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +350 -350
  542. package/dist/plugin/tool-input-repair.js +4 -4
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +88 -88
  545. package/dist/plugin/vcs/hg.js +88 -88
  546. package/dist/plugin/verbosity.js +95 -95
  547. package/dist/plugin/warming.js +116 -116
  548. package/dist/plugin/websearch/exa.js +5 -5
  549. package/dist/plugin/websearch/firecrawl.js +6 -6
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +220 -220
  556. package/dist/project/schema.js +2 -2
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +82 -82
  559. package/dist/provider.js +101 -101
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +99 -99
  563. package/dist/reference/instructions.js +89 -89
  564. package/dist/reference.js +93 -93
  565. package/dist/repository-cache.js +83 -83
  566. package/dist/repository.js +3 -3
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +97 -97
  569. package/dist/rpc.js +88 -88
  570. package/dist/schema.js +1 -1
  571. package/dist/session/affinity.js +3 -3
  572. package/dist/session/command.js +76 -76
  573. package/dist/session/compaction.js +135 -135
  574. package/dist/session/context.js +155 -155
  575. package/dist/session/diff.js +90 -90
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +214 -214
  580. package/dist/session/execution.js +129 -129
  581. package/dist/session/generate.js +156 -156
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +90 -90
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +81 -81
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +99 -99
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +122 -122
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +131 -131
  593. package/dist/session/projector.js +88 -88
  594. package/dist/session/prompt.js +107 -107
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +92 -92
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +226 -226
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +100 -100
  602. package/dist/session/runner/publish-llm-event.js +115 -115
  603. package/dist/session/runner/retry.js +4 -4
  604. package/dist/session/runner/step.js +127 -127
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +3 -3
  607. package/dist/session/session.js +166 -166
  608. package/dist/session/shell.js +132 -132
  609. package/dist/session/skill.js +107 -107
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +75 -75
  612. package/dist/session/store.js +85 -85
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +207 -207
  615. package/dist/session/system-prompt.js +5 -5
  616. package/dist/session/title.js +159 -159
  617. package/dist/session/to-session-error.js +113 -113
  618. package/dist/session/transfer.js +207 -207
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +209 -209
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +7 -7
  625. package/dist/shell.js +134 -134
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +107 -107
  628. package/dist/skill.js +114 -114
  629. package/dist/snapshot.js +93 -93
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +128 -128
  634. package/dist/tool/plugin/edit.js +122 -122
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +126 -126
  637. package/dist/tool/plugin/grep.js +118 -118
  638. package/dist/tool/plugin/mcp-resource.js +119 -119
  639. package/dist/tool/plugin/opencode.js +111 -111
  640. package/dist/tool/plugin/patch.js +124 -124
  641. package/dist/tool/plugin/question.js +103 -103
  642. package/dist/tool/plugin/read.js +121 -121
  643. package/dist/tool/plugin/shell.js +212 -212
  644. package/dist/tool/plugin/skill.js +113 -113
  645. package/dist/tool/plugin/subagent.js +212 -212
  646. package/dist/tool/plugin/webfetch.js +108 -108
  647. package/dist/tool/plugin/websearch.js +116 -116
  648. package/dist/tool/plugin/write.js +120 -120
  649. package/dist/tool/read-filesystem.js +102 -102
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +7 -7
  652. package/dist/tool.js +14 -14
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +7 -7
  663. package/dist/v1/config/command.js +3 -3
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +94 -94
  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/variant.js +93 -93
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +91 -91
  674. package/dist/websearch.js +84 -84
  675. package/dist/wellknown/plugin.js +78 -78
  676. package/dist/wellknown.js +81 -81
  677. package/dist/workspace/driver.js +7 -7
  678. package/dist/workspace/sql.js +1 -1
  679. package/dist/workspace.js +84 -84
  680. package/dist/worktree/directory.js +2 -2
  681. package/dist/worktree/git.js +10 -10
  682. package/dist/worktree/sql.js +5 -5
  683. package/dist/worktree/strategies.js +91 -91
  684. package/dist/worktree.js +98 -98
  685. package/package.json +8 -8
  686. package/dist/chunks/form-5jpna63x.js +0 -26
  687. package/dist/chunks/form-by5v678g.js +0 -18
  688. /package/dist/chunks/{form-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{form-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{form-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{form-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{form-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{form-24dcb14g.js → pty-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{form-2710q6r3.js → pty-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{form-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{form-2bv980vf.js → pty-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{form-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{form-359p4xyc.js → pty-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{form-3asan66x.js → pty-3asan66x.js} +0 -0
  700. /package/dist/chunks/{form-3t0ybcrp.js → pty-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{form-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{form-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{form-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{form-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{form-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{form-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{form-53557ph1.js → pty-53557ph1.js} +0 -0
  708. /package/dist/chunks/{form-550bvhaj.js → pty-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{form-6prwharc.js → pty-6prwharc.js} +0 -0
  710. /package/dist/chunks/{form-6q2bdcd1.js → pty-6q2bdcd1.js} +0 -0
  711. /package/dist/chunks/{form-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{form-7m9af43g.js → pty-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{form-822emrt2.js → pty-822emrt2.js} +0 -0
  714. /package/dist/chunks/{form-84wd9syh.js → pty-84wd9syh.js} +0 -0
  715. /package/dist/chunks/{form-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{form-8n3pysct.js → pty-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{form-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
  718. /package/dist/chunks/{form-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{form-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{form-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{form-af5trqkr.js → pty-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{form-afrmfg78.js → pty-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{form-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{form-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{form-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{form-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{form-bw78ga2c.js → pty-bw78ga2c.js} +0 -0
  728. /package/dist/chunks/{form-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{form-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{form-d9fn303g.js → pty-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{form-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{form-dajrwvna.js → pty-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{form-dap0rakb.js → pty-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{form-df08tz66.js → pty-df08tz66.js} +0 -0
  735. /package/dist/chunks/{form-dy18nga0.js → pty-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{form-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{form-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{form-ec1grn59.js → pty-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{form-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{form-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{form-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{form-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{form-faypxj3z.js → pty-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{form-fd410y7t.js → pty-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{form-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{form-g86h250q.js → pty-g86h250q.js} +0 -0
  747. /package/dist/chunks/{form-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{form-gftt206x.js → pty-gftt206x.js} +0 -0
  749. /package/dist/chunks/{form-hk9envan.js → pty-hk9envan.js} +0 -0
  750. /package/dist/chunks/{form-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  751. /package/dist/chunks/{form-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  752. /package/dist/chunks/{form-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  753. /package/dist/chunks/{form-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  754. /package/dist/chunks/{form-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  755. /package/dist/chunks/{form-jze0r7bz.js → pty-jze0r7bz.js} +0 -0
  756. /package/dist/chunks/{form-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{form-m18g726c.js → pty-m18g726c.js} +0 -0
  758. /package/dist/chunks/{form-mp448xyj.js → pty-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{form-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{form-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{form-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{form-njntx4h6.js → pty-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{form-pkyv6v7h.js → pty-pkyv6v7h.js} +0 -0
  764. /package/dist/chunks/{form-pyv0edze.js → pty-pyv0edze.js} +0 -0
  765. /package/dist/chunks/{form-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{form-q74kybfr.js → pty-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{form-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{form-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{form-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{form-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{form-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{form-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{form-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{form-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{form-ve7vex1e.js → pty-ve7vex1e.js} +0 -0
  776. /package/dist/chunks/{form-w803qqfp.js → pty-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{form-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  778. /package/dist/chunks/{form-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{form-wtztk69x.js → pty-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{form-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{form-x61499pn.js → pty-x61499pn.js} +0 -0
  782. /package/dist/chunks/{form-y44na4kk.js → pty-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{form-y8f7s663.js → pty-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{form-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{form-ym463w8f.js → pty-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{form-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
  787. /package/dist/chunks/{form-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./form-gftt206x.js";
3
+ } from "./pty-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./form-n7d88tpn.js";
6
+ } from "./pty-my4zabxr.js";
7
7
  import {
8
8
  __export
9
- } from "./form-9rqn6x4v.js";
9
+ } from "./pty-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
- var exports_error = {};
13
- __export(exports_error, {
12
+ var exports_error2 = {};
13
+ __export(exports_error2, {
14
14
  AgentNotFoundError: () => AgentNotFoundError2,
15
15
  AttachmentError: () => AttachmentError2,
16
16
  BusyError: () => BusyError2,
@@ -19,9 +19,9 @@ __export(exports_error, {
19
19
  InboxConflictError: () => InboxConflictError2,
20
20
  MessageDecodeError: () => MessageDecodeError2,
21
21
  MessageNotFoundError: () => MessageNotFoundError2,
22
- NotFoundError: () => NotFoundError7,
22
+ NotFoundError: () => NotFoundError9,
23
23
  PromptConflictError: () => PromptConflictError2,
24
- SessionErrors: () => exports_error,
24
+ SessionErrors: () => exports_error2,
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 NotFoundError7 extends Schema.TaggedError()("Session.NotFoundError", {
34
+ class NotFoundError9 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 { NotFoundError7, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
119
+ export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./form-z5v4ffb3.js";
3
+ } from "./pty-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./form-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info19,
12
+ Info: () => Info10,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info19 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info10 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info19, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info10, exports_mcp5 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./form-v7htmggb.js";
4
+ } from "./pty-k3m00qb7.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
8
  make21,
9
9
  combine2
10
- } from "./form-s8d7rejh.js";
10
+ } from "./pty-s8d7rejh.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./form-c1fqxshp.js";
13
+ } from "./pty-c1fqxshp.js";
14
14
  import {
15
15
  __export
16
- } from "./form-9rqn6x4v.js";
16
+ } from "./pty-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info3,
21
+ Info: () => Info6,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service28,
25
+ Service: () => Service36,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node32,
29
+ node: () => node40,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info3 = InstructionEntry.Info;
37
+ var Info6 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service28 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service36 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
@@ -75,7 +75,7 @@ var source = (entry) => make21({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service28, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
79
79
  const { db } = yield* Service85;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service28.of({ list, put, remove, load });
111
+ return Service36.of({ list, put, remove, load });
112
112
  }));
113
- var node32 = makeLocationNode({ service: Service28, layer, deps: [node89] });
113
+ var node40 = makeLocationNode({ service: Service36, layer, deps: [node89] });
114
114
 
115
- export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service28, node32, exports_instruction_entry };
115
+ export { Key2, Info6, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service36, node40, exports_instruction_entry };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./form-rdw6cm16.js";
3
+ } from "./pty-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./form-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service66,
14
+ Service: () => Service77,
15
15
  SizeError: () => SizeError2,
16
- node: () => node70
16
+ node: () => node81
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service66 extends Context.Service()("@opencode/Image") {
45
+ class Service77 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service66, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service66.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service77.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node70 = makeLocationNode({ service: Service66, layer, deps: [] });
79
+ var node81 = makeLocationNode({ service: Service77, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service66, node70, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service77, node81, exports_image2 };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./form-z5v4ffb3.js";
3
+ } from "./pty-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service67
7
- } from "./form-am0cn9r6.js";
6
+ Service55
7
+ } from "./pty-kj20kd1j.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./form-hgz4x7wa.js";
10
+ } from "./pty-hgz4x7wa.js";
11
11
  import {
12
- Service49
13
- } from "./form-dr78sty6.js";
12
+ Service67
13
+ } from "./pty-ebqxd2ph.js";
14
14
  import {
15
- Service54
16
- } from "./form-95ff9q6w.js";
15
+ Service50
16
+ } from "./pty-vkp0w3yf.js";
17
17
  import {
18
18
  Service60
19
- } from "./form-an2yc5xr.js";
19
+ } from "./pty-0f36crf5.js";
20
20
  import {
21
- Service22,
21
+ Service17,
22
22
  resolvePath2
23
- } from "./form-xhgknps5.js";
23
+ } from "./pty-s1sr5m6z.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./form-vzs5sf6e.js";
29
+ } from "./pty-vzs5sf6e.js";
30
30
  import {
31
- Service72,
31
+ Service74,
32
32
  name15
33
- } from "./form-9n6wwvty.js";
33
+ } from "./pty-fqq9xsk7.js";
34
34
  import {
35
- NotFoundError4,
36
- Service46
37
- } from "./form-zwdvdw98.js";
35
+ NotFoundError7,
36
+ Service53
37
+ } from "./pty-d5h7yrcx.js";
38
38
  import {
39
- Service23
40
- } from "./form-kqxat9ja.js";
39
+ Service30
40
+ } from "./pty-fzd7gkan.js";
41
41
  import {
42
42
  scan2
43
- } from "./form-81key8bf.js";
43
+ } from "./pty-a9vjqg87.js";
44
44
  import {
45
45
  __export
46
- } from "./form-9rqn6x4v.js";
46
+ } from "./pty-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input3,
53
- Plugin: () => Plugin3,
54
- ShellTool: () => exports_shell,
55
- name: () => name3
52
+ Input: () => Input10,
53
+ Plugin: () => Plugin46,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name10
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name3 = "shell";
60
+ var name10 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input3 = Schema.Struct({
74
+ var Input10 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin3 = {
120
+ var Plugin46 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service23;
124
- const jobs = yield* Service54;
123
+ const sessions = yield* Service30;
124
+ const jobs = yield* Service50;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service49;
127
- const access = yield* Service22;
128
- const shell = yield* Service46;
129
- const shellSelect = yield* Service72;
126
+ const environment = yield* Service67;
127
+ const access = yield* Service17;
128
+ const shell = yield* Service53;
129
+ const shellSelect = yield* Service74;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
131
  const permission = yield* Service60;
132
- const config = yield* Service67;
132
+ const config = yield* Service55;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -148,7 +148,7 @@ var Plugin3 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name3,
151
+ action: name10,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin3 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name3,
188
+ name: name10,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input3,
191
+ input: Input10,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin3 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError4({ id: info.id });
214
+ return yield* new NotFoundError7({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name3,
228
+ type: name10,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name3];
258
+ const tool = event.tools[name10];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name15(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin3, exports_shell };
269
+ export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin46, exports_shell2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./form-88xbtdfr.js";
3
+ } from "./pty-88xbtdfr.js";
4
4
  import {
5
- load5
6
- } from "./form-e3qxr5gk.js";
5
+ load4
6
+ } from "./pty-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./form-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: () => Event13,
14
+ Event: () => Event9,
15
15
  Native: () => Native3,
16
- Options: () => Options8,
17
- Service: () => Service68,
16
+ Options: () => Options7,
17
+ Service: () => Service56,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured10,
20
+ configured: () => configured8,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer24,
22
+ layer: () => layer25,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node72,
25
+ node: () => node59,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -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 Event13 = { Updated: FileSystem.Event.Changed };
36
+ var Event9 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load5());
39
+ return createWrapper(load4());
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 Options8 = Schema.Struct({
56
+ var Options7 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service68 extends Context.Service()("@opencode/Watcher") {
60
+ class Service56 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer24 = (options) => Layer.effect(Service68, Effect.gen(function* () {
65
+ var layer25 = (options) => Layer.effect(Service56, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service68.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service56.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 layer24 = (options) => Layer.effect(Service68, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service68.of({ subscribe });
108
+ return Service56.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(layer24().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, Service68).subscribe,
134
+ subscribe: Context.get(context, Service56).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(Service68, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service56, 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 configured10(options) {
168
- return makeGlobalNode({ service: Service68, layer: layer24(options), deps: [nativeNode2] });
167
+ function configured8(options) {
168
+ return makeGlobalNode({ service: Service56, layer: layer25(options), deps: [nativeNode2] });
169
169
  }
170
- var node72 = configured10();
170
+ var node59 = configured8();
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 { Event13, hasNativeBinding2, Native3, Options8, Service68, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured10, node72, exports_watcher };
190
+ export { Event9, hasNativeBinding2, Native3, Options7, Service56, Test3, layer25, testLayer3, nativeLayer2, nativeNode2, configured8, node59, exports_watcher };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./form-8kb1mg34.js";
4
+ } from "./pty-1dmh880y.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./form-rdw6cm16.js";
8
+ } from "./pty-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./form-addxnjmp.js";
11
+ } from "./pty-mxvxcxwy.js";
12
12
  import {
13
- ID14,
14
- Service78,
15
- node82,
16
- Event18
17
- } from "./form-a81m50dc.js";
13
+ ID12,
14
+ Service66,
15
+ node69,
16
+ Event15
17
+ } from "./pty-a053vxgn.js";
18
18
  import {
19
19
  Service81,
20
20
  node85
21
- } from "./form-gbw80gmv.js";
21
+ } from "./pty-cnhye612.js";
22
22
  import {
23
23
  __export
24
- } from "./form-9rqn6x4v.js";
24
+ } from "./pty-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -38,13 +38,13 @@ __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
40
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
41
- Event: () => Event17,
42
- ID: () => ID13,
43
- Info: () => Info22,
41
+ Event: () => Event14,
42
+ ID: () => ID11,
43
+ Info: () => Info20,
44
44
  LoadError: () => LoadError3,
45
45
  Provider: () => exports_provider3,
46
46
  Request: () => Request3,
47
- Service: () => Service77,
47
+ Service: () => Service65,
48
48
  Settings: () => Settings2,
49
49
  Transport: () => Transport2,
50
50
  aisdk: () => aisdk2,
@@ -54,7 +54,7 @@ __export(exports_provider3, {
54
54
  mergeOverlay: () => mergeOverlay2,
55
55
  modelSettings: () => modelSettings2,
56
56
  nativeSettings: () => nativeSettings2,
57
- node: () => node81,
57
+ node: () => node68,
58
58
  packageName: () => packageName2,
59
59
  timeout: () => timeout2,
60
60
  timeouts: () => timeouts2
@@ -68,8 +68,8 @@ import { isRecord } from "@opencode/ai/utils/record";
68
68
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
69
69
  import { Credential } from "@opencode/schema/credential";
70
70
  import { freeze } from "immer";
71
- import { Event as Event17 } from "@opencode/schema/provider";
72
- var ID13 = Provider.ID;
71
+ import { Event as Event14 } from "@opencode/schema/provider";
72
+ var ID11 = Provider.ID;
73
73
  var AISDK_PREFIX2 = "aisdk:";
74
74
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
75
75
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -246,9 +246,9 @@ var Request3 = Provider.Request;
246
246
  var Compaction3 = Provider.Compaction;
247
247
  var Transport2 = Provider.Transport;
248
248
  var Settings2 = Provider.Settings;
249
- var Info22 = Provider.Info;
249
+ var Info20 = Provider.Info;
250
250
 
251
- class Service77 extends Context.Service()("@opencode/Provider") {
251
+ class Service65 extends Context.Service()("@opencode/Provider") {
252
252
  }
253
253
  var definitions = new WeakMap;
254
254
  function index(providerID, models) {
@@ -261,9 +261,9 @@ function index(providerID, models) {
261
261
  definitions.set(models, indexes);
262
262
  return result;
263
263
  }
264
- var layer = Layer.effect(Service77, Effect.gen(function* () {
264
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
265
265
  const bus = yield* Service84;
266
- const integrations = yield* Service78;
266
+ const integrations = yield* Service66;
267
267
  const location = yield* Service81;
268
268
  const state = create3({
269
269
  name: "provider",
@@ -275,7 +275,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
275
275
  const current = records.get(id);
276
276
  if (current)
277
277
  return current;
278
- const added = { provider: Info22.empty(id), models: new Map };
278
+ const added = { provider: Info20.empty(id), models: new Map };
279
279
  records.set(id, added);
280
280
  maps.add(added.models);
281
281
  return added;
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
356
356
  const available = Array.from(records.values()).filter((record) => {
357
357
  if (record.provider.activation === "disabled")
358
358
  return false;
359
- const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
359
+ const integration = byID.get(record.provider.integrationID ?? ID12.make(record.provider.id));
360
360
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
361
361
  return false;
362
362
  if (record.provider.activation === "enabled")
@@ -382,8 +382,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
382
382
  location: { directory: location.directory, workspaceID: location.workspaceID }
383
383
  });
384
384
  });
385
- yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
386
- return Service77.of({
385
+ yield* bus.subscribe([Event15.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
386
+ return Service65.of({
387
387
  transform: state.transform,
388
388
  reload: state.reload,
389
389
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -392,7 +392,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
392
392
  snapshot
393
393
  });
394
394
  }));
395
- var node81 = makeLocationNode({ service: Service77, layer, deps: [node88, node82, node85] });
395
+ var node68 = makeLocationNode({ service: Service65, layer, deps: [node88, node69, node85] });
396
396
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
397
397
  const module = yield* Effect.tryPromise({
398
398
  try: () => {
@@ -670,4 +670,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
670
670
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
671
671
  var decode = Schema2.decodeUnknownSync(Legacy);
672
672
 
673
- export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service77, node81, exports_provider3, Event17 };
673
+ export { rewrite2, native2, exports_aisdk_native, ID11, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info20, Service65, node68, exports_provider3, Event14 };