@opencode/core 0.0.0-dev-20464 → 0.0.0-dev-20465

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{image-zvt5dnpc.js → pty-06x8he3q.js} +4 -4
  8. package/dist/chunks/{image-a6ty810w.js → pty-0b3yex2r.js} +3 -3
  9. package/dist/chunks/{image-gbsz0qsk.js → pty-0gg0ptvt.js} +13 -13
  10. package/dist/chunks/{image-zchy057q.js → pty-0htt3qwy.js} +4 -4
  11. package/dist/chunks/{image-q0xm7vwc.js → pty-0j77ygfz.js} +6 -6
  12. package/dist/chunks/{image-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{image-80xbwfe7.js → pty-0pvpap86.js} +47 -47
  14. package/dist/chunks/{image-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{image-sn66a7hz.js → pty-0ymz9t41.js} +15 -15
  16. package/dist/chunks/{image-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{image-84h8c373.js → pty-1dvck2a7.js} +2 -2
  18. package/dist/chunks/{image-8sze2n9a.js → pty-1p07q0wb.js} +8 -8
  19. package/dist/chunks/{image-t71v2ka4.js → pty-1q5awywt.js} +5 -5
  20. package/dist/chunks/{image-4j4tgtq5.js → pty-1rn5pcm9.js} +4 -4
  21. package/dist/chunks/{image-thcn4j4g.js → pty-1tat02m1.js} +9 -9
  22. package/dist/chunks/pty-1x11rq2a.js +18 -0
  23. package/dist/chunks/{image-wwz3fet9.js → pty-1z3nqx9t.js} +10 -10
  24. package/dist/chunks/{image-mgffa9p1.js → pty-1zg7we31.js} +14 -14
  25. package/dist/chunks/{image-21r38tys.js → pty-21r38tys.js} +1 -1
  26. package/dist/chunks/{image-srcme16r.js → pty-268dwz27.js} +2 -2
  27. package/dist/chunks/{image-w12sp0d5.js → pty-27vvhq6q.js} +43 -43
  28. package/dist/chunks/{image-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{image-60gn6qh1.js → pty-2aahd4k0.js} +1 -1
  30. package/dist/chunks/{image-ky6yw5g0.js → pty-2bekqz3a.js} +15 -15
  31. package/dist/chunks/{image-4ts7tf6z.js → pty-2ccvkpx1.js} +2 -2
  32. package/dist/chunks/{image-21tvpp2c.js → pty-2m8jawch.js} +4 -4
  33. package/dist/chunks/{image-k2e0zhht.js → pty-2mqpdq13.js} +6 -6
  34. package/dist/chunks/{image-98wz219e.js → pty-2pzrgdj0.js} +11 -11
  35. package/dist/chunks/{image-ep0szcwf.js → pty-31ec1s0m.js} +20 -20
  36. package/dist/chunks/{image-ca74j1r2.js → pty-33h0sywe.js} +4 -4
  37. package/dist/chunks/{image-6eyqb1k2.js → pty-39h54dwb.js} +23 -23
  38. package/dist/chunks/{image-c18t40wb.js → pty-3b7ev2pn.js} +33 -33
  39. package/dist/chunks/{image-0ztm1jns.js → pty-3bvvdvt1.js} +36 -36
  40. package/dist/chunks/{image-yxwwqrqy.js → pty-3dfke6ah.js} +15 -15
  41. package/dist/chunks/{image-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{image-w5n9q6z9.js → pty-3h7mwb1y.js} +13 -13
  43. package/dist/chunks/{image-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{image-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{image-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{image-a1aswydz.js → pty-3ymzsrgp.js} +4 -4
  47. package/dist/chunks/{image-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
  48. package/dist/chunks/{image-tjedn1bk.js → pty-4bm5ja14.js} +4 -4
  49. package/dist/chunks/{image-aq70pd4y.js → pty-4r3m895s.js} +1 -1
  50. package/dist/chunks/{image-chp1bn5t.js → pty-4vybm4fz.js} +15 -15
  51. package/dist/chunks/{image-54ma36ye.js → pty-54ma36ye.js} +1 -1
  52. package/dist/chunks/{image-3v5tjer0.js → pty-54r1wzpb.js} +7 -7
  53. package/dist/chunks/{image-1ygqh575.js → pty-56gdpj1q.js} +9 -9
  54. package/dist/chunks/{image-cc5gsnw6.js → pty-56rn98qe.js} +16 -16
  55. package/dist/chunks/{image-xfkkasph.js → pty-57b9ws8p.js} +7 -7
  56. package/dist/chunks/{image-ksm31ved.js → pty-58r1cxk0.js} +28 -28
  57. package/dist/chunks/{image-s5m2kygz.js → pty-5cm3k1aq.js} +16 -16
  58. package/dist/chunks/{image-5daktx2q.js → pty-5daktx2q.js} +1 -1
  59. package/dist/chunks/{image-vwgbk249.js → pty-5eftksh5.js} +11 -11
  60. package/dist/chunks/{image-dbv05mm3.js → pty-5qwkxp89.js} +4 -4
  61. package/dist/chunks/{image-0wnna5q9.js → pty-5qxcgjcr.js} +15 -15
  62. package/dist/chunks/{image-r9yc2pp4.js → pty-5r1ecmk3.js} +8 -8
  63. package/dist/chunks/{image-6gz6jn5b.js → pty-5r2x0qgd.js} +21 -21
  64. package/dist/chunks/{image-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{image-aeadqpms.js → pty-5yswx35n.js} +34 -34
  66. package/dist/chunks/{image-yp9bahc3.js → pty-654wfw74.js} +2 -2
  67. package/dist/chunks/{image-7jkt0fxj.js → pty-65d6t9nm.js} +34 -34
  68. package/dist/chunks/{image-rh68v6pd.js → pty-65zgsz9y.js} +7 -7
  69. package/dist/chunks/{image-669tq793.js → pty-669tq793.js} +1 -1
  70. package/dist/chunks/{image-jtc0ez1y.js → pty-69j0j58y.js} +11 -11
  71. package/dist/chunks/{image-mjrr4cxq.js → pty-6pz0f3gp.js} +24 -24
  72. package/dist/chunks/{image-c61xtve1.js → pty-6t1p0y7j.js} +15 -15
  73. package/dist/chunks/{image-yf10kn3d.js → pty-6ysrkrkr.js} +8 -8
  74. package/dist/chunks/{image-n9j51zqt.js → pty-6zzs5mwg.js} +20 -20
  75. package/dist/chunks/{image-f75zav2x.js → pty-71az546q.js} +2 -2
  76. package/dist/chunks/{image-pcj7ew95.js → pty-744jnaem.js} +16 -16
  77. package/dist/chunks/{image-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{image-qgn6gcr1.js → pty-7dqw4kz8.js} +5 -5
  79. package/dist/chunks/{image-rhy99zhc.js → pty-7tp0thxb.js} +32 -32
  80. package/dist/chunks/{image-1yswt5ka.js → pty-7wew4q66.js} +3 -3
  81. package/dist/chunks/{image-1s3p39g4.js → pty-7yqjxrmz.js} +4 -4
  82. package/dist/chunks/{image-vecbk87r.js → pty-85xxa1xb.js} +2 -2
  83. package/dist/chunks/{image-ga8sz7qh.js → pty-86ndwq9q.js} +53 -53
  84. package/dist/chunks/{image-aqhyrthb.js → pty-89r56116.js} +26 -26
  85. package/dist/chunks/{image-0sm3r10n.js → pty-8cgmda8d.js} +9 -9
  86. package/dist/chunks/{image-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{image-nxdkcg0t.js → pty-8d883stb.js} +3 -3
  88. package/dist/chunks/{image-p7fpkw5j.js → pty-8f516jjj.js} +30 -30
  89. package/dist/chunks/{image-fc2ee7ty.js → pty-8gxy57kn.js} +8 -8
  90. package/dist/chunks/{image-21g07xqr.js → pty-8s5pwsga.js} +9 -9
  91. package/dist/chunks/{image-s5nt2pgb.js → pty-8skk2bv8.js} +9 -9
  92. package/dist/chunks/{image-7ssjw8ge.js → pty-8spjttef.js} +18 -18
  93. package/dist/chunks/{image-zhp5xvv1.js → pty-9804v7wv.js} +27 -27
  94. package/dist/chunks/{image-8r69rzf5.js → pty-9a3mtckk.js} +12 -12
  95. package/dist/chunks/{image-kb9j3d72.js → pty-9e5bzkjp.js} +3 -3
  96. package/dist/chunks/{image-fjtfhqwy.js → pty-9g3vzsh2.js} +4 -4
  97. package/dist/chunks/{image-m96306pw.js → pty-9rq40ggw.js} +10 -10
  98. package/dist/chunks/{image-v6vttxdm.js → pty-9t5v5m66.js} +11 -11
  99. package/dist/chunks/{image-g6k5sbhh.js → pty-9vygzh4b.js} +10 -10
  100. package/dist/chunks/{image-dhs430jm.js → pty-9zncbkq8.js} +7 -7
  101. package/dist/chunks/{image-aaet6srn.js → pty-aaet6srn.js} +2 -2
  102. package/dist/chunks/{image-p28xhz3t.js → pty-aep3mzsj.js} +11 -11
  103. package/dist/chunks/{image-5fykfdj7.js → pty-ahsttzmd.js} +5 -5
  104. package/dist/chunks/{image-q2b1ymqp.js → pty-an7cqtb7.js} +4 -4
  105. package/dist/chunks/{image-gk0hf70s.js → pty-b37nj31g.js} +20 -20
  106. package/dist/chunks/{image-rnr5nq63.js → pty-b4tw85s5.js} +15 -15
  107. package/dist/chunks/{image-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{image-7rdvab6p.js → pty-b6n73f8d.js} +37 -37
  109. package/dist/chunks/{image-xxynqx5z.js → pty-ba07h9gm.js} +3 -3
  110. package/dist/chunks/{image-761m9ptj.js → pty-bfnsmjbw.js} +5 -5
  111. package/dist/chunks/{image-xg914bgd.js → pty-bj1wp5mv.js} +32 -32
  112. package/dist/chunks/{image-vzbxwz1d.js → pty-bq7b46md.js} +11 -11
  113. package/dist/chunks/{image-spq0309d.js → pty-btsk7ns6.js} +70 -70
  114. package/dist/chunks/{image-11dqjexa.js → pty-bydnjh3t.js} +9 -9
  115. package/dist/chunks/{image-grb7vy93.js → pty-c94by4w0.js} +28 -28
  116. package/dist/chunks/{image-r58jdwrp.js → pty-cg76ry6w.js} +32 -32
  117. package/dist/chunks/{image-jafr5hga.js → pty-cgaacc6a.js} +16 -16
  118. package/dist/chunks/{image-7qzq4r78.js → pty-cjrfn32c.js} +6 -6
  119. package/dist/chunks/{image-faqa2exm.js → pty-cp2e1w3e.js} +6 -6
  120. package/dist/chunks/{image-6d7r2zbw.js → pty-cq2fm5z3.js} +10 -10
  121. package/dist/chunks/{image-cscmj1zk.js → pty-cwem3fhm.js} +23 -23
  122. package/dist/chunks/{image-5r8zah6f.js → pty-cx924f93.js} +22 -22
  123. package/dist/chunks/{image-5a1rh38j.js → pty-cyr2cxn9.js} +1 -1
  124. package/dist/chunks/pty-cyrqa2n4.js +252 -0
  125. package/dist/chunks/{image-zga9tyk5.js → pty-cyswwyve.js} +17 -17
  126. package/dist/chunks/pty-d4pshd8q.js +26 -0
  127. package/dist/chunks/{image-c8qaf2dv.js → pty-d6wdd58k.js} +32 -32
  128. package/dist/chunks/{image-2t6f5hr5.js → pty-d79y3jv5.js} +26 -26
  129. package/dist/chunks/{image-hkxn87db.js → pty-dar8dhhp.js} +46 -46
  130. package/dist/chunks/{image-3pp23jbc.js → pty-dbneng7t.js} +20 -20
  131. package/dist/chunks/{image-5dkmmgqv.js → pty-dfa350ep.js} +1 -1
  132. package/dist/chunks/{image-h59rdxvh.js → pty-dnkc5m6k.js} +1 -1
  133. package/dist/chunks/{image-dpkg50ah.js → pty-dpkg50ah.js} +1 -1
  134. package/dist/chunks/{image-42497aj7.js → pty-dpra9b9a.js} +9 -9
  135. package/dist/chunks/{image-a89mz3cp.js → pty-dvxfaxz1.js} +30 -30
  136. package/dist/chunks/{image-3ykdjwsk.js → pty-e2jeb051.js} +6 -6
  137. package/dist/chunks/{image-5qd3pb7m.js → pty-e3qxr5gk.js} +2 -2
  138. package/dist/chunks/{image-2wqsmy18.js → pty-e6k5s2wm.js} +19 -19
  139. package/dist/chunks/{image-f62qkzqr.js → pty-e8qyrgb1.js} +5 -5
  140. package/dist/chunks/{image-t0ycnkdp.js → pty-e9h38f33.js} +13 -13
  141. package/dist/chunks/{image-hmyqrp7v.js → pty-eb0vzkjg.js} +28 -28
  142. package/dist/chunks/{image-m52hejx6.js → pty-ef5raw6k.js} +30 -30
  143. package/dist/chunks/{image-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
  144. package/dist/chunks/{image-mqzwkyay.js → pty-ej9mn2hm.js} +6 -6
  145. package/dist/chunks/{image-z1qyan5f.js → pty-ekezbvqg.js} +325 -325
  146. package/dist/chunks/{image-mqxcq9ag.js → pty-emz89tv7.js} +6 -6
  147. package/dist/chunks/{image-44ak30pa.js → pty-espax8zg.js} +4 -4
  148. package/dist/chunks/{image-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  149. package/dist/chunks/{image-vf6bps2h.js → pty-eycf18wc.js} +3 -3
  150. package/dist/chunks/{image-2z8cmg4f.js → pty-f992e8rm.js} +48 -48
  151. package/dist/chunks/{image-kmz19h6b.js → pty-f9bdb5ag.js} +8 -8
  152. package/dist/chunks/{image-pbfwh0cy.js → pty-fm2qvscf.js} +7 -7
  153. package/dist/chunks/{image-m7y2j1m1.js → pty-fxcz0da0.js} +11 -11
  154. package/dist/chunks/{image-0k944k3j.js → pty-gcwax8a0.js} +6 -6
  155. package/dist/chunks/{image-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{image-2j8mnjbv.js → pty-gkxwzehf.js} +26 -26
  157. package/dist/chunks/{image-cs4cg7d7.js → pty-gneskcp7.js} +5 -5
  158. package/dist/chunks/{image-y30wg3jc.js → pty-gp73hwme.js} +13 -13
  159. package/dist/chunks/{image-wtxvck1s.js → pty-grh2mbxc.js} +5 -5
  160. package/dist/chunks/{image-8sgt1317.js → pty-gx5xjf3t.js} +18 -18
  161. package/dist/chunks/{image-3cegwx68.js → pty-h2b79v29.js} +2 -2
  162. package/dist/chunks/{image-1xsshfr0.js → pty-h4bqv94p.js} +27 -27
  163. package/dist/chunks/{image-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{image-g94yrgwb.js → pty-h7ym8ggf.js} +10 -10
  165. package/dist/chunks/{image-j6vvxpwj.js → pty-h82kh8n3.js} +11 -11
  166. package/dist/chunks/{image-qhrpv7ts.js → pty-h8g6pbq3.js} +3 -3
  167. package/dist/chunks/{image-52rqy9p1.js → pty-hcsm92x8.js} +30 -30
  168. package/dist/chunks/{image-s3sykjag.js → pty-hmzm1mrk.js} +20 -20
  169. package/dist/chunks/{image-fzj1jff2.js → pty-j0vs91sp.js} +14 -14
  170. package/dist/chunks/{image-kr7k13qe.js → pty-j16d020p.js} +11 -11
  171. package/dist/chunks/{image-dfe9pek6.js → pty-j1qwbh4p.js} +18 -18
  172. package/dist/chunks/{image-j56e64zr.js → pty-j56e64zr.js} +1 -1
  173. package/dist/chunks/{image-apnpp3zq.js → pty-j5j7sqd7.js} +20 -20
  174. package/dist/chunks/{image-mvvpz48z.js → pty-j6vz790y.js} +23 -23
  175. package/dist/chunks/{image-6kgskxtw.js → pty-j7jm1rg4.js} +11 -11
  176. package/dist/chunks/{image-aa1twyr9.js → pty-j8r070e4.js} +4 -4
  177. package/dist/chunks/{image-86mmp9h0.js → pty-jgynzvas.js} +144 -144
  178. package/dist/chunks/{image-15nepkqg.js → pty-jhpaar4x.js} +8 -8
  179. package/dist/chunks/{image-k1gkpfdk.js → pty-jvnghvnw.js} +8 -8
  180. package/dist/chunks/{image-tbe244gn.js → pty-jw3e9cpn.js} +3 -3
  181. package/dist/chunks/{image-ecawf14c.js → pty-jymza7x7.js} +3 -3
  182. package/dist/chunks/{image-71sy1pc3.js → pty-jyn8qy1m.js} +34 -34
  183. package/dist/chunks/{image-k70p9jzb.js → pty-k70p9jzb.js} +2 -2
  184. package/dist/chunks/{image-cm0bbx3s.js → pty-k747m8pa.js} +29 -29
  185. package/dist/chunks/{image-ddxj6fcx.js → pty-k7y6sfy1.js} +19 -19
  186. package/dist/chunks/{image-w9vf9qqj.js → pty-kgen349b.js} +9 -9
  187. package/dist/chunks/{image-8mfdap3f.js → pty-kjfdeayr.js} +8 -8
  188. package/dist/chunks/{image-50mzsvk4.js → pty-kk00bynn.js} +21 -21
  189. package/dist/chunks/{image-z8ye16b1.js → pty-krym5cze.js} +20 -20
  190. package/dist/chunks/{image-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
  191. package/dist/chunks/{image-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{image-mazbtkaa.js → pty-mazbtkaa.js} +2 -2
  193. package/dist/chunks/{image-gw4p2be1.js → pty-mcc6t1v4.js} +5 -5
  194. package/dist/chunks/{image-scgrse2b.js → pty-mha52fg8.js} +5 -5
  195. package/dist/chunks/{image-rrpq0de9.js → pty-mjqndqed.js} +5 -5
  196. package/dist/chunks/{image-dnxkq42g.js → pty-mpk0rfs5.js} +4 -4
  197. package/dist/chunks/{image-ffseywqd.js → pty-my6s2k18.js} +14 -14
  198. package/dist/chunks/{image-cte04r2d.js → pty-n099z6kj.js} +8 -8
  199. package/dist/chunks/{image-7fz4jeqr.js → pty-n34nv609.js} +12 -12
  200. package/dist/chunks/{image-pd029kdh.js → pty-n6mbxeh3.js} +31 -31
  201. package/dist/chunks/{image-050747bh.js → pty-na5ad8x6.js} +15 -15
  202. package/dist/chunks/{image-5qkxfyep.js → pty-nca7p386.js} +4 -4
  203. package/dist/chunks/{image-kwemrkca.js → pty-nkqe1jkz.js} +11 -11
  204. package/dist/chunks/{image-8gzt5gq5.js → pty-nryt7kay.js} +6 -6
  205. package/dist/chunks/{image-f5fbtp4g.js → pty-ntah2d2v.js} +8 -8
  206. package/dist/chunks/{image-ejsrhqvc.js → pty-p3gefhvv.js} +3 -3
  207. package/dist/chunks/{image-6wmcyxva.js → pty-p3xya2zq.js} +24 -24
  208. package/dist/chunks/{image-zy8gc5xd.js → pty-pbcwpz6x.js} +26 -26
  209. package/dist/chunks/{image-wtphr49s.js → pty-pe69whtr.js} +30 -30
  210. package/dist/chunks/{image-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{image-pknna89w.js → pty-pknna89w.js} +1 -1
  212. package/dist/chunks/{image-3hapy7hd.js → pty-pngzmcmx.js} +17 -17
  213. package/dist/chunks/{image-f0c8m7at.js → pty-ppy93fad.js} +8 -8
  214. package/dist/chunks/{image-djszqvmq.js → pty-qmqgtz8f.js} +9 -9
  215. package/dist/chunks/{image-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
  216. package/dist/chunks/{image-qsdy395h.js → pty-qsdy395h.js} +1 -1
  217. package/dist/chunks/{image-3frwt2gp.js → pty-qxppefrw.js} +15 -15
  218. package/dist/chunks/{image-mn3wcm04.js → pty-qyrkwdx9.js} +20 -20
  219. package/dist/chunks/{image-brnq6xsh.js → pty-r4dcwnmb.js} +24 -24
  220. package/dist/chunks/{image-a1gpj94z.js → pty-r5x6zcsm.js} +3 -3
  221. package/dist/chunks/{image-1acjjqhc.js → pty-r8xr0va3.js} +4 -4
  222. package/dist/chunks/{image-f422tj0t.js → pty-ra8qt2z6.js} +12 -12
  223. package/dist/chunks/{image-38x80653.js → pty-rbzagpv5.js} +18 -18
  224. package/dist/chunks/{image-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
  225. package/dist/chunks/{image-exb05pns.js → pty-rfdgkn6p.js} +27 -27
  226. package/dist/chunks/{image-jp9apkzt.js → pty-rp04m9y7.js} +41 -41
  227. package/dist/chunks/{image-4eehw1ga.js → pty-ryndyrje.js} +57 -57
  228. package/dist/chunks/{image-kh7dws7q.js → pty-s0q1fkaz.js} +23 -23
  229. package/dist/chunks/{image-05qndnz8.js → pty-s9rwj2jy.js} +13 -13
  230. package/dist/chunks/{image-zzfd9are.js → pty-sa8a2jg7.js} +24 -24
  231. package/dist/chunks/{image-8rrj4k8n.js → pty-sjt06tff.js} +27 -27
  232. package/dist/chunks/{image-hn98ts76.js → pty-svhsva1n.js} +45 -45
  233. package/dist/chunks/{image-909p1r3q.js → pty-sxzvkvgj.js} +6 -6
  234. package/dist/chunks/{image-kqs9gk44.js → pty-syjz6ynj.js} +9 -9
  235. package/dist/chunks/{image-vdwrjv7p.js → pty-t15nrssv.js} +10 -10
  236. package/dist/chunks/{image-s8d7rejh.js → pty-t550f9t1.js} +4 -4
  237. package/dist/chunks/{image-6c2x04qg.js → pty-t7d8dr7r.js} +11 -11
  238. package/dist/chunks/{image-m4ke77ch.js → pty-t9kt8c31.js} +13 -13
  239. package/dist/chunks/{image-msh8crmm.js → pty-ta546dzx.js} +24 -24
  240. package/dist/chunks/{image-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{image-jmyv0skj.js → pty-tbb8wp41.js} +14 -14
  242. package/dist/chunks/{image-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
  243. package/dist/chunks/{image-tdstcens.js → pty-tdstcens.js} +1 -1
  244. package/dist/chunks/{image-2xh2tc1m.js → pty-tfjx5c9j.js} +7 -7
  245. package/dist/chunks/{image-16bw4kza.js → pty-thfkeznf.js} +13 -13
  246. package/dist/chunks/{image-p37cw4rj.js → pty-tpw6cwsb.js} +8 -8
  247. package/dist/chunks/{image-qq8ybhxb.js → pty-tz8876m4.js} +8 -8
  248. package/dist/chunks/{image-3cb0t53g.js → pty-v56p6sfb.js} +22 -22
  249. package/dist/chunks/{image-5ht2nh62.js → pty-v9ywz4w0.js} +16 -16
  250. package/dist/chunks/{image-tcj6tfcg.js → pty-vczvxyc1.js} +79 -79
  251. package/dist/chunks/{image-veqvce7d.js → pty-veqvce7d.js} +1 -1
  252. package/dist/chunks/{image-jg0gax7x.js → pty-vkeqp8nw.js} +6 -6
  253. package/dist/chunks/{image-aeknpwjp.js → pty-vnfn90d3.js} +24 -24
  254. package/dist/chunks/{image-zt6rd191.js → pty-vrfmkq1b.js} +2 -2
  255. package/dist/chunks/{image-pm8wv035.js → pty-vvf5cqb2.js} +24 -24
  256. package/dist/chunks/{image-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{image-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
  258. package/dist/chunks/{image-4wrkd8nn.js → pty-w0nkn6ve.js} +11 -11
  259. package/dist/chunks/{image-84txncab.js → pty-w1eejvng.js} +5 -5
  260. package/dist/chunks/{image-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{image-xnb8j3dt.js → pty-wc19s0z4.js} +6 -6
  262. package/dist/chunks/{image-wd87259q.js → pty-wd87259q.js} +1 -1
  263. package/dist/chunks/{image-5yycg6pq.js → pty-wdbg2mx5.js} +9 -9
  264. package/dist/chunks/{image-mc1ma7x5.js → pty-wj0fpcc3.js} +30 -30
  265. package/dist/chunks/{image-4npmrd5n.js → pty-wj8xfhrt.js} +11 -11
  266. package/dist/chunks/{image-0ebn0ftm.js → pty-wm9zswm7.js} +27 -27
  267. package/dist/chunks/{image-7ha321xz.js → pty-wps6jxys.js} +15 -15
  268. package/dist/chunks/{image-r4dz3w7d.js → pty-wv696c4x.js} +8 -8
  269. package/dist/chunks/{image-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  270. package/dist/chunks/{image-q2yq2gjj.js → pty-x5w3d5vd.js} +9 -9
  271. package/dist/chunks/{image-gr36eqey.js → pty-x6xfjs65.js} +11 -11
  272. package/dist/chunks/{image-h6jawyz7.js → pty-x7ya3ng0.js} +37 -37
  273. package/dist/chunks/{image-2wv53gaq.js → pty-x8nnxcg2.js} +9 -9
  274. package/dist/chunks/{image-m3kj9yrs.js → pty-xaj1t2na.js} +28 -28
  275. package/dist/chunks/{image-dmqcgk4z.js → pty-xkntkrq7.js} +5 -5
  276. package/dist/chunks/{image-hd8vw2pw.js → pty-xp3fh2h7.js} +1 -1
  277. package/dist/chunks/{image-xyafkbt0.js → pty-xyafkbt0.js} +3 -3
  278. package/dist/chunks/{image-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  279. package/dist/chunks/{image-tn8117tr.js → pty-y2nr333m.js} +1 -1
  280. package/dist/chunks/{image-kyhmjvgm.js → pty-y5drw8vz.js} +20 -20
  281. package/dist/chunks/{image-d13vq5ht.js → pty-yd7m906j.js} +90 -90
  282. package/dist/chunks/{image-aepy4w1n.js → pty-ykwjawef.js} +18 -18
  283. package/dist/chunks/{image-74he8rv4.js → pty-ypj3qt3a.js} +14 -14
  284. package/dist/chunks/{image-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  285. package/dist/chunks/{image-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{image-dm3wn0ce.js → pty-zgw7gart.js} +6 -6
  287. package/dist/chunks/{image-aj9wrhbp.js → pty-zm3tt0zb.js} +9 -9
  288. package/dist/chunks/{image-9hwaqfsw.js → pty-zmr78fwr.js} +5 -5
  289. package/dist/chunks/{image-pdysjfwk.js → pty-zr1tm1t6.js} +18 -18
  290. package/dist/chunks/{image-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{image-mc7td6e3.js → pty-zwqdfq5j.js} +42 -42
  292. package/dist/chunks/{image-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +81 -81
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +214 -214
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +124 -124
  320. package/dist/config/plugin/websearch.js +122 -122
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +128 -128
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +79 -79
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +371 -371
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +225 -225
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +3 -3
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +106 -106
  431. package/dist/form.js +80 -80
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +103 -103
  435. package/dist/git.js +6 -6
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +91 -91
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +362 -362
  459. package/dist/instruction-discovery.js +85 -85
  460. package/dist/instructions/builtins.js +83 -83
  461. package/dist/instructions/index.js +3 -3
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +73 -73
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +107 -107
  469. package/dist/location-service-map.js +86 -86
  470. package/dist/location-services.js +359 -359
  471. package/dist/location.js +87 -87
  472. package/dist/managed-policy.js +5 -5
  473. package/dist/mcp/client.js +91 -91
  474. package/dist/mcp/index.js +109 -109
  475. package/dist/mcp/instructions.js +127 -127
  476. package/dist/mcp/oauth.js +78 -78
  477. package/dist/mcp/stdio.js +90 -90
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +91 -91
  480. package/dist/model-resolver.js +98 -98
  481. package/dist/model.js +100 -100
  482. package/dist/models-dev.js +107 -107
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +80 -80
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +115 -115
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +90 -90
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +75 -75
  492. package/dist/plugin/agent.js +104 -104
  493. package/dist/plugin/command.js +102 -102
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +334 -334
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +96 -96
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +102 -102
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  506. package/dist/plugin/provider/azure.js +124 -124
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +93 -93
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +119 -119
  513. package/dist/plugin/provider/digitalocean.js +93 -93
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +95 -95
  518. package/dist/plugin/provider/gitlab.js +93 -93
  519. package/dist/plugin/provider/google-vertex.js +90 -90
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +78 -78
  522. package/dist/plugin/provider/lmstudio.js +122 -122
  523. package/dist/plugin/provider/modal.js +92 -92
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +122 -122
  526. package/dist/plugin/provider/openai.js +95 -95
  527. package/dist/plugin/provider/opencode.js +96 -96
  528. package/dist/plugin/provider/openrouter.js +91 -91
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +79 -79
  531. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  532. package/dist/plugin/provider/sap-ai-core.js +91 -91
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +90 -90
  537. package/dist/plugin/provider/vllm.js +122 -122
  538. package/dist/plugin/provider/xai.js +91 -91
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +163 -163
  541. package/dist/plugin/sdk.js +76 -76
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +141 -141
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +353 -353
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +86 -86
  549. package/dist/plugin/vcs/hg.js +86 -86
  550. package/dist/plugin/verbosity.js +93 -93
  551. package/dist/plugin/warming.js +121 -121
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +6 -6
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +229 -229
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +86 -86
  563. package/dist/provider.js +97 -97
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +99 -99
  567. package/dist/reference/instructions.js +87 -87
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +81 -81
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +86 -86
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +74 -74
  577. package/dist/session/compaction.js +135 -135
  578. package/dist/session/context.js +153 -153
  579. package/dist/session/diff.js +88 -88
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +7 -7
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +221 -221
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +152 -152
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +88 -88
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +79 -79
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +97 -97
  592. package/dist/session/message-updater.js +4 -4
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +120 -120
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +86 -86
  598. package/dist/session/prompt.js +105 -105
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +90 -90
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +231 -231
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +98 -98
  606. package/dist/session/runner/publish-llm-event.js +113 -113
  607. package/dist/session/runner/retry.js +4 -4
  608. package/dist/session/runner/step.js +125 -125
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +169 -169
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +103 -103
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +73 -73
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +210 -210
  619. package/dist/session/system-prompt.js +5 -5
  620. package/dist/session/title.js +157 -157
  621. package/dist/session/to-session-error.js +111 -111
  622. package/dist/session/transfer.js +217 -217
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +218 -218
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +11 -11
  629. package/dist/shell.js +139 -139
  630. package/dist/skill/discovery.js +2 -2
  631. package/dist/skill/instructions.js +101 -101
  632. package/dist/skill.js +112 -112
  633. package/dist/snapshot.js +93 -93
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +126 -126
  638. package/dist/tool/plugin/edit.js +120 -120
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +122 -122
  641. package/dist/tool/plugin/grep.js +122 -122
  642. package/dist/tool/plugin/mcp-resource.js +117 -117
  643. package/dist/tool/plugin/opencode.js +3 -3
  644. package/dist/tool/plugin/patch.js +122 -122
  645. package/dist/tool/plugin/question.js +105 -105
  646. package/dist/tool/plugin/read.js +125 -125
  647. package/dist/tool/plugin/shell.js +211 -211
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +219 -219
  650. package/dist/tool/plugin/webfetch.js +112 -112
  651. package/dist/tool/plugin/websearch.js +112 -112
  652. package/dist/tool/plugin/write.js +122 -122
  653. package/dist/tool/read-filesystem.js +100 -100
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +14 -14
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +7 -7
  667. package/dist/v1/config/attachment.js +4 -4
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/config.js +16 -16
  670. package/dist/v1/config/error.js +4 -4
  671. package/dist/v1/config/formatter.js +3 -3
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +3 -3
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +92 -92
  676. package/dist/v1/config/permission.js +7 -7
  677. package/dist/v1/config/plugin.js +3 -3
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +3 -3
  682. package/dist/variant.js +93 -93
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +89 -89
  685. package/dist/websearch.js +82 -82
  686. package/dist/wellknown/plugin.js +76 -76
  687. package/dist/wellknown.js +81 -81
  688. package/dist/workspace/driver.js +5 -5
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +80 -80
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +89 -89
  695. package/dist/worktree.js +98 -98
  696. package/package.json +8 -8
  697. package/dist/chunks/image-9sh4wc5j.js +0 -18
  698. package/dist/chunks/image-k9hpsh7n.js +0 -26
  699. package/dist/chunks/image-s3cjcvsp.js +0 -252
  700. package/dist/id/id.js +0 -56
  701. package/dist/types/id/id.d.ts +0 -19
  702. /package/dist/chunks/{image-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{image-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{image-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{image-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{image-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{image-24dcb14g.js → pty-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{image-2710q6r3.js → pty-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{image-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{image-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{image-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
  712. /package/dist/chunks/{image-359p4xyc.js → pty-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{image-3asan66x.js → pty-3asan66x.js} +0 -0
  714. /package/dist/chunks/{image-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{image-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  716. /package/dist/chunks/{image-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{image-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{image-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{image-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{image-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{image-53557ph1.js → pty-53557ph1.js} +0 -0
  722. /package/dist/chunks/{image-550bvhaj.js → pty-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{image-6prwharc.js → pty-6prwharc.js} +0 -0
  724. /package/dist/chunks/{image-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{image-7m9af43g.js → pty-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{image-822emrt2.js → pty-822emrt2.js} +0 -0
  727. /package/dist/chunks/{image-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{image-8n3pysct.js → pty-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{image-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{image-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{image-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{image-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{image-af5trqkr.js → pty-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{image-afrmfg78.js → pty-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{image-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{image-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{image-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{image-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{image-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{image-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{image-d9fn303g.js → pty-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{image-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{image-dajrwvna.js → pty-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{image-dap0rakb.js → pty-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{image-df08tz66.js → pty-df08tz66.js} +0 -0
  746. /package/dist/chunks/{image-dy18nga0.js → pty-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{image-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{image-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{image-ec1grn59.js → pty-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{image-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{image-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{image-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{image-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{image-faypxj3z.js → pty-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{image-fd410y7t.js → pty-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{image-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  757. /package/dist/chunks/{image-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  758. /package/dist/chunks/{image-g86h250q.js → pty-g86h250q.js} +0 -0
  759. /package/dist/chunks/{image-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  760. /package/dist/chunks/{image-gftt206x.js → pty-gftt206x.js} +0 -0
  761. /package/dist/chunks/{image-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  762. /package/dist/chunks/{image-hk9envan.js → pty-hk9envan.js} +0 -0
  763. /package/dist/chunks/{image-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  764. /package/dist/chunks/{image-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  765. /package/dist/chunks/{image-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
  766. /package/dist/chunks/{image-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  767. /package/dist/chunks/{image-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  768. /package/dist/chunks/{image-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{image-mp448xyj.js → pty-mp448xyj.js} +0 -0
  770. /package/dist/chunks/{image-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  771. /package/dist/chunks/{image-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  772. /package/dist/chunks/{image-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  773. /package/dist/chunks/{image-njntx4h6.js → pty-njntx4h6.js} +0 -0
  774. /package/dist/chunks/{image-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  775. /package/dist/chunks/{image-q74kybfr.js → pty-q74kybfr.js} +0 -0
  776. /package/dist/chunks/{image-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  777. /package/dist/chunks/{image-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  778. /package/dist/chunks/{image-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  779. /package/dist/chunks/{image-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
  780. /package/dist/chunks/{image-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  781. /package/dist/chunks/{image-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  782. /package/dist/chunks/{image-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  783. /package/dist/chunks/{image-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  784. /package/dist/chunks/{image-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  785. /package/dist/chunks/{image-w803qqfp.js → pty-w803qqfp.js} +0 -0
  786. /package/dist/chunks/{image-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
  787. /package/dist/chunks/{image-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  788. /package/dist/chunks/{image-wtztk69x.js → pty-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{image-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{image-x61499pn.js → pty-x61499pn.js} +0 -0
  791. /package/dist/chunks/{image-y44na4kk.js → pty-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{image-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  793. /package/dist/chunks/{image-y8f7s663.js → pty-y8f7s663.js} +0 -0
  794. /package/dist/chunks/{image-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  795. /package/dist/chunks/{image-ym463w8f.js → pty-ym463w8f.js} +0 -0
  796. /package/dist/chunks/{image-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
  797. /package/dist/chunks/{image-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./image-z5v4ffb3.js";
3
+ } from "./pty-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./image-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./image-zchy057q.js";
4
+ } from "./pty-0htt3qwy.js";
5
5
  import {
6
6
  environment2
7
- } from "./image-rnr5nq63.js";
7
+ } from "./pty-b4tw85s5.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./image-sk3qaz4a.js";
10
+ } from "./pty-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./image-9rqn6x4v.js";
13
+ } from "./pty-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError6,
20
- Options: () => Options8,
19
+ NotFoundError: () => NotFoundError3,
20
+ Options: () => Options3,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service48,
23
- UnavailableError: () => UnavailableError3,
24
- available: () => available2,
25
- configured: () => configured7,
26
- layer: () => layer20,
27
- node: () => node50
22
+ Service: () => Service34,
23
+ UnavailableError: () => UnavailableError2,
24
+ available: () => available3,
25
+ configured: () => configured3,
26
+ layer: () => layer13,
27
+ node: () => node37
28
28
  });
29
29
  import os from "node:os";
30
30
  import path from "node:path";
@@ -36,22 +36,22 @@ import { Pty } from "@opencode/schema/pty";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { resolveBinary } from "#persistent-pty-binary";
38
38
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
39
- import { available as available2 } from "#persistent-pty-binary";
40
- var Options8 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
+ import { available as available3 } from "#persistent-pty-binary";
40
+ var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
41
41
 
42
- class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
42
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
43
43
  message: Schema.String
44
44
  }) {
45
45
  }
46
46
 
47
- class NotFoundError6 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
47
+ class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
48
48
  ptyID: Pty.ID
49
49
  }) {
50
50
  }
51
51
 
52
- class Service48 extends Context.Service()("@opencode/PersistentPty") {
52
+ class Service34 extends Context.Service()("@opencode/PersistentPty") {
53
53
  }
54
- var makeLayer = (options = {}) => Layer.effect(Service48, Effect.gen(function* () {
54
+ var makeLayer = (options = {}) => Layer.effect(Service34, Effect.gen(function* () {
55
55
  const bus = yield* Service83;
56
56
  const global = yield* Global.Service;
57
57
  const context = yield* Effect.context();
@@ -74,7 +74,7 @@ var makeLayer = (options = {}) => Layer.effect(Service48, Effect.gen(function* (
74
74
  const get = Effect.fn("PersistentPty.get")(function* (id) {
75
75
  const found = (yield* list()).find((terminal) => terminal.id === id);
76
76
  if (!found)
77
- return yield* new NotFoundError6({ ptyID: id });
77
+ return yield* new NotFoundError3({ ptyID: id });
78
78
  return found;
79
79
  });
80
80
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -164,7 +164,7 @@ var makeLayer = (options = {}) => Layer.effect(Service48, Effect.gen(function* (
164
164
  });
165
165
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
166
166
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
167
- return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
167
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
168
168
  const id = current.get(sessionID);
169
169
  if (!id)
170
170
  return null;
@@ -241,7 +241,7 @@ var makeLayer = (options = {}) => Layer.effect(Service48, Effect.gen(function* (
241
241
  detach: attachment.detach
242
242
  };
243
243
  });
244
- return Service48.of({
244
+ return Service34.of({
245
245
  list,
246
246
  get,
247
247
  create,
@@ -257,17 +257,17 @@ var makeLayer = (options = {}) => Layer.effect(Service48, Effect.gen(function* (
257
257
  attach
258
258
  });
259
259
  }));
260
- var layer20 = makeLayer();
261
- var configured7 = (options) => makeGlobalNode({
262
- service: Service48,
263
- layer: options === undefined ? layer20 : makeLayer(options),
260
+ var layer13 = makeLayer();
261
+ var configured3 = (options) => makeGlobalNode({
262
+ service: Service34,
263
+ layer: options === undefined ? layer13 : makeLayer(options),
264
264
  deps: [node87, Global.node]
265
265
  });
266
- var node50 = configured7();
266
+ var node37 = configured3();
267
267
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
268
268
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
269
- var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
270
- var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
269
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
270
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
271
271
  var runtimeDirectory = () => {
272
272
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
273
273
  return path.join(root, crypto.randomUUID());
@@ -303,4 +303,4 @@ function fromID(value) {
303
303
  return parsed;
304
304
  }
305
305
 
306
- export { Options8, UnavailableError3, NotFoundError6, Service48, layer20, configured7, node50, exports_persistent_pty, Handoff2, available2 };
306
+ export { Options3, UnavailableError2, NotFoundError3, Service34, layer13, configured3, node37, exports_persistent_pty, Handoff2, available3 };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  useragent2
3
- } from "./image-4npmrd5n.js";
3
+ } from "./pty-wj8xfhrt.js";
4
4
  import {
5
5
  Service83
6
- } from "./image-zchy057q.js";
6
+ } from "./pty-0htt3qwy.js";
7
7
  import {
8
- ID15,
8
+ ID16,
9
9
  OAuth3,
10
10
  Event19,
11
- Service78
12
- } from "./image-cc5gsnw6.js";
11
+ Service76
12
+ } from "./pty-56rn98qe.js";
13
13
  import {
14
14
  key2
15
- } from "./image-dnxkq42g.js";
15
+ } from "./pty-mpk0rfs5.js";
16
16
  import {
17
17
  ID14,
18
18
  MethodID2
19
- } from "./image-6eyqb1k2.js";
19
+ } from "./pty-39h54dwb.js";
20
20
  import {
21
21
  which2
22
- } from "./image-qaymkmh1.js";
22
+ } from "./pty-qaymkmh1.js";
23
23
  import {
24
24
  ID13,
25
- Service76
26
- } from "./image-2j8mnjbv.js";
25
+ Service73
26
+ } from "./pty-gkxwzehf.js";
27
27
  import {
28
28
  ID12
29
- } from "./image-1xsshfr0.js";
29
+ } from "./pty-h4bqv94p.js";
30
30
  import {
31
31
  iife2
32
- } from "./image-1kg9ymc8.js";
32
+ } from "./pty-1kg9ymc8.js";
33
33
  import {
34
34
  configuredSettings2
35
- } from "./image-jg0gax7x.js";
35
+ } from "./pty-vkeqp8nw.js";
36
36
 
37
37
  // src/plugin/provider/azure.ts
38
38
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -67,7 +67,7 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
67
67
  }));
68
68
  var ResourceQuery = Schema.Struct({ query: Schema.String });
69
69
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
70
- function make5(endpoints = {
70
+ function make8(endpoints = {
71
71
  resource: (name) => `https://${name}.openai.azure.com/openai`,
72
72
  management: "https://management.azure.com"
73
73
  }) {
@@ -77,8 +77,8 @@ function make5(endpoints = {
77
77
  const configured = yield* configuredSettings2(ID13.azure);
78
78
  const processes = yield* AppProcess.Service;
79
79
  const bus = yield* Service83;
80
- const credentials = yield* Service78;
81
- const providers = yield* Service76;
80
+ const credentials = yield* Service76;
81
+ const providers = yield* Service73;
82
82
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
83
83
  const tokens = new Map;
84
84
  const resourceIDs = new Map;
@@ -153,7 +153,7 @@ function make5(endpoints = {
153
153
  });
154
154
  const load = Effect.fn("AzurePlugin.load")(function* () {
155
155
  const connection = yield* ctx.integration.connection.active(ID13.azure);
156
- const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
156
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
157
157
  return { connection, resource: credentialResource(stored?.value) };
158
158
  });
159
159
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -322,7 +322,7 @@ function make5(endpoints = {
322
322
  })
323
323
  });
324
324
  }
325
- var AzurePlugin2 = make5();
325
+ var AzurePlugin2 = make8();
326
326
  function resolveResourceName(settings, fallback) {
327
327
  const configured = settings?.resourceName;
328
328
  if (typeof configured === "string" && configured.trim() !== "")
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
378
378
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
379
379
  }
380
380
 
381
- export { make5, AzurePlugin2 };
381
+ export { make8, AzurePlugin2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./image-rdw6cm16.js";
3
+ } from "./pty-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./image-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: () => Service64,
14
+ Service: () => Service58,
15
15
  SizeError: () => SizeError2,
16
- node: () => node68
16
+ node: () => node60
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 Service64 extends Context.Service()("@opencode/Image") {
45
+ class Service58 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service64, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service64.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service58.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node68 = makeLocationNode({ service: Service64, layer, deps: [] });
79
+ var node60 = makeLocationNode({ service: Service58, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service64, node68, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service58, node60, exports_image2 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./image-1ygqh575.js";
3
+ } from "./pty-56gdpj1q.js";
4
4
  import {
5
5
  __export
6
- } from "./image-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin8,
11
+ Plugin: () => Plugin36,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint6
13
+ endpoint: () => endpoint2
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint6 = "https://mcp.exa.ai/mcp";
18
+ var endpoint2 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin8 = define({
30
+ var Plugin36 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin8 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint6);
52
+ const url = new URL(endpoint2);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint6, Plugin8, exports_exa };
83
+ export { endpoint2, Plugin36, exports_exa };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission = {};
7
- __export(exports_permission, {
6
+ var exports_permission2 = {};
7
+ __export(exports_permission2, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission,
10
- Info: () => Info14,
9
+ ConfigPermissionV1: () => exports_permission2,
10
+ Info: () => Info24,
11
11
  Object: () => Object2,
12
- Rule: () => Rule2
12
+ Rule: () => Rule3
13
13
  });
14
14
  import { Schema, SchemaGetter } from "effect";
15
15
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
16
16
  var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
17
- var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
17
+ var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
18
18
  var InputObject = Schema.StructWithRest(Schema.Struct({
19
- read: Schema.optional(Rule2),
20
- edit: Schema.optional(Rule2),
21
- glob: Schema.optional(Rule2),
22
- grep: Schema.optional(Rule2),
23
- list: Schema.optional(Rule2),
24
- bash: Schema.optional(Rule2),
25
- task: Schema.optional(Rule2),
26
- external_directory: Schema.optional(Rule2),
19
+ read: Schema.optional(Rule3),
20
+ edit: Schema.optional(Rule3),
21
+ glob: Schema.optional(Rule3),
22
+ grep: Schema.optional(Rule3),
23
+ list: Schema.optional(Rule3),
24
+ bash: Schema.optional(Rule3),
25
+ task: Schema.optional(Rule3),
26
+ external_directory: Schema.optional(Rule3),
27
27
  question: Schema.optional(Action2),
28
- webfetch: Schema.optional(Rule2),
28
+ webfetch: Schema.optional(Rule3),
29
29
  websearch: Schema.optional(Action2),
30
- lsp: Schema.optional(Rule2),
30
+ lsp: Schema.optional(Rule3),
31
31
  doom_loop: Schema.optional(Action2),
32
- skill: Schema.optional(Rule2)
33
- }), [Schema.Record(Schema.String, Rule2)]);
32
+ skill: Schema.optional(Rule3)
33
+ }), [Schema.Record(Schema.String, Rule3)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info14 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info24 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info14, exports_permission };
41
+ export { Action2, Object2, Rule3, Info24, exports_permission2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./image-z5v4ffb3.js";
3
+ } from "./pty-z5v4ffb3.js";
4
4
  import {
5
5
  Service82,
6
6
  node86
7
- } from "./image-rrpq0de9.js";
7
+ } from "./pty-mjqndqed.js";
8
8
  import {
9
- parse4,
9
+ parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./image-84txncab.js";
13
+ } from "./pty-w1eejvng.js";
14
14
  import {
15
- Service63,
16
- node67
17
- } from "./image-m96306pw.js";
15
+ Service81,
16
+ node85
17
+ } from "./pty-9rq40ggw.js";
18
18
  import {
19
19
  __export
20
- } from "./image-9rqn6x4v.js";
20
+ } from "./pty-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service62,
33
+ Service: () => Service80,
34
34
  isError: () => isError2,
35
- node: () => node66,
35
+ node: () => node84,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service62 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service80 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service62, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
106
  const git = yield* Service82;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service63;
110
- return Service62.of({
109
+ const kv = yield* Service81;
110
+ return Service80.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse4(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse5(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse4(origin) : undefined;
122
+ const originReference = origin ? parse5(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node66 = makeGlobalNode({
171
- service: Service62,
170
+ var node84 = makeGlobalNode({
171
+ service: Service80,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node67]
173
+ deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node85]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service62, isError2, validateBranch2, node66, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service80, isError2, validateBranch2, node84, exports_repository_cache };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./image-emrn6kk6.js";
7
+ } from "./pty-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./image-z5v4ffb3.js";
3
+ } from "./pty-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./image-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/server.ts
9
9
  var exports_server = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./image-4eehw1ga.js";
3
+ } from "./pty-ryndyrje.js";
4
4
  import {
5
5
  __export
6
- } from "./image-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin15
12
+ Plugin: () => Plugin42
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin15 = define({
32
+ var Plugin42 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin15, exports_plan };
109
+ export { Plugin42, exports_plan };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./image-ec1grn59.js";
3
+ } from "./pty-ec1grn59.js";
4
4
  import {
5
5
  __export
6
- } from "./image-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/session/runner/retry.ts
9
9
  var exports_retry = {};
10
10
  __export(exports_retry, {
11
11
  SessionRunnerRetry: () => exports_retry,
12
12
  isRetryable: () => isRetryable2,
13
- make: () => make9,
13
+ make: () => make7,
14
14
  policy: () => policy2
15
15
  });
16
16
  import { isRetryable as isRetryable2 } from "@opencode/ai";
@@ -60,7 +60,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
60
60
  return { retry: true, attempt, delay: normalized };
61
61
  });
62
62
  });
63
- var make9 = (bus, sessionID) => Effect.gen(function* () {
63
+ var make7 = (bus, sessionID) => Effect.gen(function* () {
64
64
  const decide = yield* policy2(sessionID);
65
65
  const wait = (input) => Effect.gen(function* () {
66
66
  const scheduled = yield* Clock.currentTimeMillis;
@@ -77,4 +77,4 @@ var make9 = (bus, sessionID) => Effect.gen(function* () {
77
77
  return { decide, wait };
78
78
  });
79
79
 
80
- export { isRetryable2, policy2, make9, exports_retry };
80
+ export { isRetryable2, policy2, make7, exports_retry };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./image-z5v4ffb3.js";
4
+ } from "./pty-z5v4ffb3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./image-dpkg50ah.js";
7
+ } from "./pty-dpkg50ah.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./image-tazgh4e4.js";
12
+ } from "./pty-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./image-ef5x83kb.js";
15
+ } from "./pty-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./image-9rqn6x4v.js";
18
+ } from "./pty-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./image-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info29,
10
+ Info: () => Info28,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  Status: () => Status3,
13
13
  key: () => key2
@@ -15,7 +15,7 @@ __export(exports_connection, {
15
15
  import { Connection } from "@opencode/schema/connection";
16
16
  var CredentialInfo2 = Connection.CredentialInfo;
17
17
  var EnvInfo2 = Connection.EnvInfo;
18
- var Info29 = Connection.Info;
18
+ var Info28 = Connection.Info;
19
19
  var Status3 = Connection.Status;
20
20
  function key2(connection) {
21
21
  if (!connection)
@@ -23,4 +23,4 @@ function key2(connection) {
23
23
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
24
24
  }
25
25
 
26
- export { CredentialInfo2, EnvInfo2, Info29, Status3, key2, exports_connection };
26
+ export { CredentialInfo2, EnvInfo2, Info28, Status3, key2, exports_connection };