@opencode-ai/core 0.0.0-dev-19100 → 0.0.0-dev-19102

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 (771) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{job-cf3nzdp7.js → persistent-pty-010ymet8.js} +4 -4
  9. package/dist/chunks/{job-zzqnaw22.js → persistent-pty-03xjq0tm.js} +16 -16
  10. package/dist/chunks/{job-mjzwven8.js → persistent-pty-06b9fxmy.js} +27 -27
  11. package/dist/chunks/{job-jdahdk5n.js → persistent-pty-0d5mggnk.js} +25 -25
  12. package/dist/chunks/{job-0e0xafbb.js → persistent-pty-0e0xafbb.js} +2 -2
  13. package/dist/chunks/{job-mzcfs4x1.js → persistent-pty-0g7k506p.js} +10 -10
  14. package/dist/chunks/{job-2k8khapm.js → persistent-pty-0jwsre1p.js} +5 -5
  15. package/dist/chunks/{job-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{job-0s9ayhjt.js → persistent-pty-0s9ayhjt.js} +1 -1
  17. package/dist/chunks/{job-sxesk63z.js → persistent-pty-0v9kxdr7.js} +11 -11
  18. package/dist/chunks/{job-ktk9a21d.js → persistent-pty-0w19ktq4.js} +2 -2
  19. package/dist/chunks/{job-74kf6wkb.js → persistent-pty-10pzdvzd.js} +7 -7
  20. package/dist/chunks/{job-1ct4r87x.js → persistent-pty-1ct4r87x.js} +1 -1
  21. package/dist/chunks/{job-rgpp5x08.js → persistent-pty-1f1wzhgc.js} +4 -4
  22. package/dist/chunks/{job-jfqtm2ew.js → persistent-pty-1g7epwpd.js} +7 -7
  23. package/dist/chunks/{job-s8g0x53e.js → persistent-pty-1mdarqb0.js} +37 -37
  24. package/dist/chunks/{job-v98qgn33.js → persistent-pty-1nk2mnc0.js} +3 -3
  25. package/dist/chunks/{job-4172h78j.js → persistent-pty-1nknpwm3.js} +4 -4
  26. package/dist/chunks/{job-0amrg371.js → persistent-pty-1r9xt4cr.js} +32 -32
  27. package/dist/chunks/{job-rbk154pb.js → persistent-pty-1s4k183h.js} +18 -18
  28. package/dist/chunks/{job-5t1zbbry.js → persistent-pty-1tag838h.js} +27 -27
  29. package/dist/chunks/{job-69ayqp0q.js → persistent-pty-20jvp80s.js} +8 -8
  30. package/dist/chunks/{job-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  31. package/dist/chunks/{job-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
  32. package/dist/chunks/{job-7npnyrdg.js → persistent-pty-247ymhap.js} +1 -1
  33. package/dist/chunks/{job-29x78va6.js → persistent-pty-29x78va6.js} +2 -2
  34. package/dist/chunks/{job-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{job-7gt73157.js → persistent-pty-2b6y700x.js} +34 -34
  36. package/dist/chunks/{job-5zhf1z2n.js → persistent-pty-2ghkytyg.js} +36 -36
  37. package/dist/chunks/{job-2ht70gj7.js → persistent-pty-2ht70gj7.js} +1 -1
  38. package/dist/chunks/{job-2jqmte8w.js → persistent-pty-2jqmte8w.js} +2 -2
  39. package/dist/chunks/{job-8v1r77nv.js → persistent-pty-2pr8vdab.js} +43 -43
  40. package/dist/chunks/{job-x5yqqxk3.js → persistent-pty-2rjhfz2z.js} +6 -6
  41. package/dist/chunks/{job-mnhhr8vg.js → persistent-pty-2tn9agq3.js} +28 -28
  42. package/dist/chunks/{job-65gz9r6e.js → persistent-pty-30janqm6.js} +27 -27
  43. package/dist/chunks/persistent-pty-35chk74t.js +4 -0
  44. package/dist/chunks/{job-w6hdqetn.js → persistent-pty-369x3t65.js} +4 -4
  45. package/dist/chunks/{job-w4600456.js → persistent-pty-36mzbjn4.js} +4 -4
  46. package/dist/chunks/{job-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  47. package/dist/chunks/{job-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  48. package/dist/chunks/{job-76rzm6aj.js → persistent-pty-3j6zyyvs.js} +25 -25
  49. package/dist/chunks/{job-3qzbfqsy.js → persistent-pty-3qzbfqsy.js} +2 -2
  50. package/dist/chunks/{job-h9bwyndq.js → persistent-pty-3rtc4tqa.js} +6 -6
  51. package/dist/chunks/{job-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  52. package/dist/chunks/{job-z8msmd3j.js → persistent-pty-3t5jsk6c.js} +12 -12
  53. package/dist/chunks/{job-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  54. package/dist/chunks/persistent-pty-40ke5ycv.js +18 -0
  55. package/dist/chunks/{job-454k5vzh.js → persistent-pty-454k5vzh.js} +1 -1
  56. package/dist/chunks/{job-882hrpbs.js → persistent-pty-4kav5gz3.js} +9 -9
  57. package/dist/chunks/{job-4r2nyarf.js → persistent-pty-4r2nyarf.js} +1 -1
  58. package/dist/chunks/{job-f7kbfcfh.js → persistent-pty-4xjdkfjs.js} +12 -12
  59. package/dist/chunks/{job-p81m17bq.js → persistent-pty-54bnqtv9.js} +23 -23
  60. package/dist/chunks/{job-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  61. package/dist/chunks/{job-5fmxt4p5.js → persistent-pty-5fmxt4p5.js} +1 -1
  62. package/dist/chunks/{job-5jvc5tg2.js → persistent-pty-5jvc5tg2.js} +1 -1
  63. package/dist/chunks/{job-qz49fwgp.js → persistent-pty-5mdrv3hm.js} +6 -6
  64. package/dist/chunks/{job-1ymqjxt6.js → persistent-pty-5tfcvdvj.js} +5 -5
  65. package/dist/chunks/{job-4k0h8fvt.js → persistent-pty-628cc3h3.js} +16 -16
  66. package/dist/chunks/{job-9gq6sz2t.js → persistent-pty-63kze1d3.js} +4 -4
  67. package/dist/chunks/{job-ahkm12yq.js → persistent-pty-64fqqfmx.js} +8 -8
  68. package/dist/chunks/{job-18832vz4.js → persistent-pty-66b3gex4.js} +22 -22
  69. package/dist/chunks/{job-q2eqbc76.js → persistent-pty-68qdqky7.js} +15 -15
  70. package/dist/chunks/{job-35mhrkea.js → persistent-pty-6d0jr2jk.js} +32 -32
  71. package/dist/chunks/{job-zmjynawk.js → persistent-pty-6h414ywr.js} +5 -5
  72. package/dist/chunks/{job-ecez4qqn.js → persistent-pty-6kgy03tf.js} +11 -11
  73. package/dist/chunks/{job-r72b02md.js → persistent-pty-6svye9h2.js} +9 -9
  74. package/dist/chunks/{job-6tf8tr4v.js → persistent-pty-6tf8tr4v.js} +2 -2
  75. package/dist/chunks/{job-595aw0pg.js → persistent-pty-6ykkc5x7.js} +33 -33
  76. package/dist/chunks/{job-6abnk40k.js → persistent-pty-6z5bwd8g.js} +9 -9
  77. package/dist/chunks/{job-cgsm4ny8.js → persistent-pty-70203jtn.js} +29 -29
  78. package/dist/chunks/{job-snkf112e.js → persistent-pty-70nq51cn.js} +20 -20
  79. package/dist/chunks/{job-711hfp6y.js → persistent-pty-711hfp6y.js} +2 -2
  80. package/dist/chunks/{job-b23jn8gs.js → persistent-pty-738s90ft.js} +7 -7
  81. package/dist/chunks/{job-p1bjw1dn.js → persistent-pty-73tf0mnp.js} +45 -45
  82. package/dist/chunks/{job-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{job-pw62wfs5.js → persistent-pty-7dz4r7mk.js} +8 -8
  84. package/dist/chunks/{job-nt3cjhda.js → persistent-pty-7k5q7gm2.js} +24 -24
  85. package/dist/chunks/{job-qhwm6mz4.js → persistent-pty-7x0f5kvq.js} +11 -11
  86. package/dist/chunks/{job-q0kqjkmf.js → persistent-pty-81xmbs00.js} +30 -30
  87. package/dist/chunks/{job-9egx1b5f.js → persistent-pty-82aytm87.js} +1 -1
  88. package/dist/chunks/{job-5721agwt.js → persistent-pty-88fw41mx.js} +16 -16
  89. package/dist/chunks/{job-tcezcvh9.js → persistent-pty-89znhe33.js} +4 -4
  90. package/dist/chunks/{job-e5687zp2.js → persistent-pty-8g20mv6s.js} +18 -18
  91. package/dist/chunks/{job-byjwva70.js → persistent-pty-8hxn7kz0.js} +20 -20
  92. package/dist/chunks/{job-b2y7cwzc.js → persistent-pty-8jkpz5pq.js} +6 -6
  93. package/dist/chunks/{job-t8bmmp56.js → persistent-pty-8tj73bzm.js} +3 -3
  94. package/dist/chunks/{job-yge63rt3.js → persistent-pty-97058x90.js} +3 -3
  95. package/dist/chunks/{job-28pcbh69.js → persistent-pty-97f5v037.js} +4 -4
  96. package/dist/chunks/{job-dmfj988w.js → persistent-pty-97tyj6c6.js} +31 -31
  97. package/dist/chunks/{job-9qm9egsn.js → persistent-pty-9qm9egsn.js} +2 -2
  98. package/dist/chunks/{job-z25mwg4t.js → persistent-pty-a0q04gk3.js} +4 -4
  99. package/dist/chunks/{job-0946avfs.js → persistent-pty-a202dayn.js} +14 -14
  100. package/dist/chunks/{job-vep9yay1.js → persistent-pty-a3x9xvd8.js} +4 -4
  101. package/dist/chunks/{job-j36tnve8.js → persistent-pty-a62e05n8.js} +5 -5
  102. package/dist/chunks/{job-1xqencwf.js → persistent-pty-a80d3v2r.js} +17 -17
  103. package/dist/chunks/{job-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  104. package/dist/chunks/{job-7vhmdqap.js → persistent-pty-ac3j6t8f.js} +8 -8
  105. package/dist/chunks/{job-ejg3r42z.js → persistent-pty-acdzekmc.js} +15 -15
  106. package/dist/chunks/{job-ft2ykv9q.js → persistent-pty-af5cxv86.js} +52 -52
  107. package/dist/chunks/{job-q8eh6ga5.js → persistent-pty-aj6efch7.js} +12 -12
  108. package/dist/chunks/{job-ajtjthsy.js → persistent-pty-ajtjthsy.js} +2 -2
  109. package/dist/chunks/{job-06ehnqe9.js → persistent-pty-ajyamx78.js} +9 -9
  110. package/dist/chunks/{job-h0yr2gfs.js → persistent-pty-ak38yve4.js} +9 -9
  111. package/dist/chunks/{job-t5rzzqww.js → persistent-pty-ameg2vx3.js} +1 -1
  112. package/dist/chunks/{job-bf0ztrs3.js → persistent-pty-an7cqtb7.js} +4 -4
  113. package/dist/chunks/{job-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{job-bq4dtbh2.js → persistent-pty-b6xfkz6v.js} +32 -32
  115. package/dist/chunks/{job-b9wsbatv.js → persistent-pty-b9wsbatv.js} +1 -1
  116. package/dist/chunks/{job-5faehdjc.js → persistent-pty-bn8089at.js} +11 -11
  117. package/dist/chunks/{job-a72q18ty.js → persistent-pty-bpyfw359.js} +8 -8
  118. package/dist/chunks/{job-w51wkrn4.js → persistent-pty-bqgp69re.js} +15 -15
  119. package/dist/chunks/persistent-pty-by7j3p9d.js +22 -0
  120. package/dist/chunks/{job-jrh6xn4c.js → persistent-pty-bzc17vb9.js} +3 -3
  121. package/dist/chunks/{job-8c44xd3t.js → persistent-pty-c2c0m65v.js} +34 -34
  122. package/dist/chunks/{job-xhff6z51.js → persistent-pty-c3e32yye.js} +30 -30
  123. package/dist/chunks/{job-5y476dvm.js → persistent-pty-c47xcf4v.js} +17 -17
  124. package/dist/chunks/{job-c10fbwpz.js → persistent-pty-c4ka2x60.js} +35 -35
  125. package/dist/chunks/{job-8h9fkwdc.js → persistent-pty-c5g21jc3.js} +6 -6
  126. package/dist/chunks/{job-pstzsdxk.js → persistent-pty-cf6j12q4.js} +17 -17
  127. package/dist/chunks/persistent-pty-ch0he8ej.js +450 -0
  128. package/dist/chunks/{job-dxpa8sj6.js → persistent-pty-ckev9kd7.js} +3 -3
  129. package/dist/chunks/{job-s3239btt.js → persistent-pty-cqzeme2b.js} +16 -16
  130. package/dist/chunks/{job-2amnen0r.js → persistent-pty-craj34q5.js} +24 -24
  131. package/dist/chunks/{job-z0scd2p4.js → persistent-pty-czrfnqv4.js} +17 -17
  132. package/dist/chunks/{job-2jckzm9c.js → persistent-pty-d030bd0f.js} +11 -11
  133. package/dist/chunks/{job-62s86swy.js → persistent-pty-d3baj57q.js} +18 -18
  134. package/dist/chunks/{job-d72308c8.js → persistent-pty-d72308c8.js} +2 -2
  135. package/dist/chunks/{job-ex99dnp9.js → persistent-pty-d7zznenn.js} +9 -9
  136. package/dist/chunks/{job-w6tbt1ze.js → persistent-pty-d8brfqjj.js} +19 -19
  137. package/dist/chunks/{job-6v59swkn.js → persistent-pty-dba19q6g.js} +33 -33
  138. package/dist/chunks/{job-rh50mt9d.js → persistent-pty-ddbc03cc.js} +1 -1
  139. package/dist/chunks/{job-acsbsfnf.js → persistent-pty-e3vpkeje.js} +12 -12
  140. package/dist/chunks/{job-e999m61r.js → persistent-pty-edaf3eyg.js} +20 -20
  141. package/dist/chunks/{job-31s1nbqh.js → persistent-pty-eerwjj66.js} +48 -48
  142. package/dist/chunks/{job-j028xdjb.js → persistent-pty-eq1pz5kg.js} +3 -3
  143. package/dist/chunks/{job-gmrcnqc8.js → persistent-pty-eyrpjw8c.js} +26 -26
  144. package/dist/chunks/{job-5sg4xzjf.js → persistent-pty-ez5b8bq3.js} +7 -7
  145. package/dist/chunks/{job-2a0xfsw9.js → persistent-pty-f02rj1me.js} +82 -82
  146. package/dist/chunks/{job-0w09pq9x.js → persistent-pty-f44dq202.js} +5 -5
  147. package/dist/chunks/{job-sxj9wb3z.js → persistent-pty-f4ywn050.js} +17 -17
  148. package/dist/chunks/{job-4zqg48kz.js → persistent-pty-fa2er9zw.js} +9 -9
  149. package/dist/chunks/{job-m5jxsawq.js → persistent-pty-fgj7dkc9.js} +6 -6
  150. package/dist/chunks/{job-x6kesgn5.js → persistent-pty-fhzfk9q0.js} +23 -23
  151. package/dist/chunks/{job-d8v5a05d.js → persistent-pty-fjkyzcze.js} +11 -11
  152. package/dist/chunks/{job-g71sejg1.js → persistent-pty-fn2zck2h.js} +14 -14
  153. package/dist/chunks/{job-ewewazbk.js → persistent-pty-ftr4qpk4.js} +9 -9
  154. package/dist/chunks/{job-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
  155. package/dist/chunks/{job-fxypknc8.js → persistent-pty-fxypknc8.js} +1 -1
  156. package/dist/chunks/{job-eqkrc45d.js → persistent-pty-g1v92phv.js} +1 -1
  157. package/dist/chunks/{job-zmya9kwb.js → persistent-pty-g2c9bhkq.js} +6 -6
  158. package/dist/chunks/{job-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  159. package/dist/chunks/{job-ze0c3xje.js → persistent-pty-gev0qjxp.js} +13 -13
  160. package/dist/chunks/{job-x4e1mx07.js → persistent-pty-gjswkc62.js} +26 -26
  161. package/dist/chunks/{job-66d911n1.js → persistent-pty-gkdfetxb.js} +10 -10
  162. package/dist/chunks/{job-x0mxa1zg.js → persistent-pty-gpkgrk3z.js} +2 -2
  163. package/dist/chunks/{job-xny325h3.js → persistent-pty-gqdgqbeh.js} +10 -10
  164. package/dist/chunks/{job-abv4wn07.js → persistent-pty-gynq7mwy.js} +17 -17
  165. package/dist/chunks/{job-0k72pry1.js → persistent-pty-h2st8tcp.js} +4 -4
  166. package/dist/chunks/{job-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  167. package/dist/chunks/{job-91cfcvzb.js → persistent-pty-h8q6a69m.js} +24 -24
  168. package/dist/chunks/{job-heyhwy2w.js → persistent-pty-heyhwy2w.js} +1 -1
  169. package/dist/chunks/{job-hrvm11jt.js → persistent-pty-hrvm11jt.js} +3 -3
  170. package/dist/chunks/{job-eqb4av08.js → persistent-pty-j8xe25ng.js} +28 -28
  171. package/dist/chunks/{job-mappsm8s.js → persistent-pty-j90p7j59.js} +4 -4
  172. package/dist/chunks/{job-s9gykg7q.js → persistent-pty-jn521bbx.js} +67 -67
  173. package/dist/chunks/{job-xxzpesbj.js → persistent-pty-jnhf5mef.js} +1 -1
  174. package/dist/chunks/{job-jwcy2c2z.js → persistent-pty-jwcy2c2z.js} +1 -1
  175. package/dist/chunks/{job-k4bwy1x5.js → persistent-pty-k4bwy1x5.js} +1 -1
  176. package/dist/chunks/{job-senknpt6.js → persistent-pty-k50eqkg3.js} +13 -13
  177. package/dist/chunks/{job-hdja7q8b.js → persistent-pty-kbg5ppnb.js} +13 -13
  178. package/dist/chunks/{job-92gfg2p2.js → persistent-pty-kbyz2dkt.js} +9 -9
  179. package/dist/chunks/{job-kg06axw8.js → persistent-pty-kg06axw8.js} +1 -1
  180. package/dist/chunks/{job-eart6cj3.js → persistent-pty-kpyq2w0f.js} +3 -3
  181. package/dist/chunks/{job-kvsjn1dr.js → persistent-pty-kvsjn1dr.js} +2 -2
  182. package/dist/chunks/{job-m70sbz6t.js → persistent-pty-m1ggyr73.js} +4 -4
  183. package/dist/chunks/{job-a9zfrvqc.js → persistent-pty-m3fm0fm8.js} +5 -5
  184. package/dist/chunks/{job-7fvhnn29.js → persistent-pty-m79fg301.js} +15 -15
  185. package/dist/chunks/{job-1g6w0xr7.js → persistent-pty-m7khsb1d.js} +22 -22
  186. package/dist/chunks/{job-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{job-fyk6bpvp.js → persistent-pty-mbapk581.js} +40 -40
  188. package/dist/chunks/{job-djr7m0g5.js → persistent-pty-me6p58dn.js} +25 -25
  189. package/dist/chunks/{job-2wqt9t8b.js → persistent-pty-mpzahx5f.js} +167 -167
  190. package/dist/chunks/{job-5pd5qg07.js → persistent-pty-msxx7emw.js} +18 -18
  191. package/dist/chunks/{job-mzz8wxd0.js → persistent-pty-n50399pa.js} +10 -10
  192. package/dist/chunks/{job-j2g5j66x.js → persistent-pty-n8bbtjn9.js} +11 -11
  193. package/dist/chunks/{job-cf3tj770.js → persistent-pty-nca7p386.js} +4 -4
  194. package/dist/chunks/{job-78bankzg.js → persistent-pty-ne5w19nk.js} +29 -29
  195. package/dist/chunks/{job-r1dvxz8z.js → persistent-pty-nrse418z.js} +15 -15
  196. package/dist/chunks/{job-v562m3aa.js → persistent-pty-nt2wbfgf.js} +23 -23
  197. package/dist/chunks/{job-4ncfc14q.js → persistent-pty-nzf6eghd.js} +10 -10
  198. package/dist/chunks/{job-10qv4wd5.js → persistent-pty-pae9v2p1.js} +8 -8
  199. package/dist/chunks/{job-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{job-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  201. package/dist/chunks/{job-aweyc29q.js → persistent-pty-pzjeeacc.js} +4 -4
  202. package/dist/chunks/{job-5frspsv4.js → persistent-pty-qg20g60x.js} +17 -17
  203. package/dist/chunks/{job-wk8nrfcs.js → persistent-pty-qmkhq1hj.js} +13 -13
  204. package/dist/chunks/{job-ky7swqx3.js → persistent-pty-qp6zthdp.js} +18 -18
  205. package/dist/chunks/{job-jvh5jvbh.js → persistent-pty-qqbjvkxt.js} +53 -53
  206. package/dist/chunks/persistent-pty-qqytqg20.js +243 -0
  207. package/dist/chunks/{job-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  208. package/dist/chunks/{job-d8e75fze.js → persistent-pty-r60qd0ca.js} +22 -22
  209. package/dist/chunks/{job-r8dhm0tv.js → persistent-pty-r8dhm0tv.js} +1 -1
  210. package/dist/chunks/{job-ac41bq3y.js → persistent-pty-rb1agnwm.js} +12 -12
  211. package/dist/chunks/{job-9gtkrrg6.js → persistent-pty-rmpjenwd.js} +8 -8
  212. package/dist/chunks/{job-y5m8pq0x.js → persistent-pty-rpksmvzr.js} +11 -11
  213. package/dist/chunks/{job-2h5svvvd.js → persistent-pty-rs8bkfty.js} +2 -2
  214. package/dist/chunks/{job-q7e6n9zn.js → persistent-pty-rvn46zq7.js} +9 -9
  215. package/dist/chunks/{job-mw73v21r.js → persistent-pty-s1zas8dv.js} +8 -8
  216. package/dist/chunks/{job-65gnmf57.js → persistent-pty-s3kg5m6x.js} +11 -11
  217. package/dist/chunks/{job-vepj04m5.js → persistent-pty-s6qgbjky.js} +6 -6
  218. package/dist/chunks/{job-ce9ncmzb.js → persistent-pty-s8g36k60.js} +4 -4
  219. package/dist/chunks/{job-jp40s068.js → persistent-pty-sagqnce1.js} +3 -3
  220. package/dist/chunks/{job-sba4qhjf.js → persistent-pty-sba4qhjf.js} +1 -1
  221. package/dist/chunks/{job-e4kkw97y.js → persistent-pty-scarvxmk.js} +11 -11
  222. package/dist/chunks/{job-45em0vfw.js → persistent-pty-serxh5qa.js} +9 -9
  223. package/dist/chunks/{job-qgbsg1ke.js → persistent-pty-sgh09qtt.js} +27 -27
  224. package/dist/chunks/{job-9d04b11k.js → persistent-pty-shbsgx5h.js} +10 -10
  225. package/dist/chunks/{job-shfbkbb1.js → persistent-pty-skfe9q3s.js} +46 -46
  226. package/dist/chunks/{job-1eq7j3rm.js → persistent-pty-smgpfta5.js} +12 -12
  227. package/dist/chunks/{job-6b15sfh8.js → persistent-pty-ss7602g3.js} +18 -18
  228. package/dist/chunks/{job-qma472jp.js → persistent-pty-stfay7w2.js} +60 -60
  229. package/dist/chunks/{job-45nbt49a.js → persistent-pty-sy4zz7rh.js} +12 -12
  230. package/dist/chunks/{job-y8b5kh1c.js → persistent-pty-t7dkb9mz.js} +7 -7
  231. package/dist/chunks/{job-xnq53k63.js → persistent-pty-ta4jwntf.js} +4 -4
  232. package/dist/chunks/{job-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{job-wqdnwa2t.js → persistent-pty-tckacx9z.js} +32 -32
  234. package/dist/chunks/{job-6ebcx9xt.js → persistent-pty-tgpxmjaj.js} +21 -21
  235. package/dist/chunks/{job-bcezcar3.js → persistent-pty-thfv75je.js} +5 -5
  236. package/dist/chunks/{job-tjykrgmx.js → persistent-pty-tjykrgmx.js} +1 -1
  237. package/dist/chunks/{job-7k7y8275.js → persistent-pty-ts7bph5s.js} +89 -89
  238. package/dist/chunks/{job-4kkh8pys.js → persistent-pty-twtpgget.js} +7 -7
  239. package/dist/chunks/{job-rvwskcwc.js → persistent-pty-twy2b4zd.js} +8 -8
  240. package/dist/chunks/{job-mhjy9geh.js → persistent-pty-vng46sf0.js} +4 -4
  241. package/dist/chunks/{job-gkhj65gm.js → persistent-pty-vqxj4jm3.js} +21 -21
  242. package/dist/chunks/{job-cswytkgq.js → persistent-pty-vrxbpmbb.js} +43 -43
  243. package/dist/chunks/{job-pzhzvtrg.js → persistent-pty-vwnnwet6.js} +51 -51
  244. package/dist/chunks/{job-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{job-fw75d2j2.js → persistent-pty-w40bmgb5.js} +27 -27
  246. package/dist/chunks/{job-yr2007ak.js → persistent-pty-w5g2dnw1.js} +39 -39
  247. package/dist/chunks/{job-sqrpkr4f.js → persistent-pty-w6z2g4f7.js} +28 -28
  248. package/dist/chunks/{job-s97py5dz.js → persistent-pty-w7y9r27g.js} +44 -44
  249. package/dist/chunks/{job-pjsc4zyk.js → persistent-pty-wctfcgtb.js} +6 -6
  250. package/dist/chunks/{job-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  251. package/dist/chunks/{job-bfmmzv3y.js → persistent-pty-we5ggtsr.js} +8 -8
  252. package/dist/chunks/{job-y86695j7.js → persistent-pty-wvx09938.js} +12 -12
  253. package/dist/chunks/{job-y0gb186e.js → persistent-pty-x15v48ws.js} +15 -15
  254. package/dist/chunks/{job-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{job-yt5k7jn8.js → persistent-pty-x2rt1cxd.js} +5 -5
  256. package/dist/chunks/{job-fqygmygp.js → persistent-pty-x92yqmyb.js} +28 -28
  257. package/dist/chunks/{job-rdtt4ycx.js → persistent-pty-xa3k010d.js} +32 -32
  258. package/dist/chunks/{job-pydkqggy.js → persistent-pty-xmtn9a9r.js} +27 -27
  259. package/dist/chunks/{job-rw08jxvr.js → persistent-pty-xr14zjyh.js} +11 -11
  260. package/dist/chunks/{job-9vcfn3x3.js → persistent-pty-xspyb9m3.js} +8 -8
  261. package/dist/chunks/{job-vc8jhytw.js → persistent-pty-xw378f4n.js} +28 -28
  262. package/dist/chunks/{job-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{job-93a8yfjt.js → persistent-pty-y2cqme3r.js} +5 -5
  264. package/dist/chunks/{job-5c5mxy69.js → persistent-pty-y6raa7nc.js} +35 -35
  265. package/dist/chunks/{job-hb548ks1.js → persistent-pty-y89bt055.js} +11 -11
  266. package/dist/chunks/{job-p1h159n9.js → persistent-pty-yawraddd.js} +14 -14
  267. package/dist/chunks/{job-kk3rr3qh.js → persistent-pty-yfbd16n1.js} +5 -5
  268. package/dist/chunks/{job-t71v2ka4.js → persistent-pty-ykczf8eq.js} +5 -5
  269. package/dist/chunks/{job-nag7dxjf.js → persistent-pty-ymbwt96j.js} +9 -9
  270. package/dist/chunks/{job-gjb9fvjc.js → persistent-pty-yvyswnaa.js} +9 -9
  271. package/dist/chunks/{job-wta9sx1g.js → persistent-pty-yxzxwnyx.js} +8 -8
  272. package/dist/chunks/{job-famd3pv6.js → persistent-pty-yzd93mfj.js} +5 -5
  273. package/dist/chunks/{job-n5b9871t.js → persistent-pty-yzp432d8.js} +38 -38
  274. package/dist/chunks/{job-z1k01bn4.js → persistent-pty-z1k01bn4.js} +2 -2
  275. package/dist/chunks/{job-jbqt9jv7.js → persistent-pty-za3gge5n.js} +31 -31
  276. package/dist/chunks/{job-eexzqnt3.js → persistent-pty-zbqrcwzf.js} +23 -23
  277. package/dist/chunks/{job-k6mws45t.js → persistent-pty-zcc5h559.js} +24 -24
  278. package/dist/chunks/{job-y6c4d9ha.js → persistent-pty-zhhz7vvj.js} +22 -22
  279. package/dist/chunks/{job-r2qnyvne.js → persistent-pty-zja0h37x.js} +3 -3
  280. package/dist/chunks/{job-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  281. package/dist/chunks/persistent-pty-zy35xm16.js +20 -0
  282. package/dist/codemode/catalog.js +1 -1
  283. package/dist/codemode/instructions.js +9 -9
  284. package/dist/codemode/tool.js +2 -2
  285. package/dist/command.js +83 -83
  286. package/dist/config/discovery.js +79 -79
  287. package/dist/config/markdown.js +1 -1
  288. package/dist/config/normalize.js +19 -19
  289. package/dist/config/plugin/agent.js +116 -116
  290. package/dist/config/plugin/command.js +207 -207
  291. package/dist/config/plugin/compaction.js +153 -153
  292. package/dist/config/plugin/entry-observer.js +1 -1
  293. package/dist/config/plugin/formatter.js +116 -116
  294. package/dist/config/plugin/image.js +114 -114
  295. package/dist/config/plugin/instruction.js +85 -85
  296. package/dist/config/plugin/location-watcher.js +114 -114
  297. package/dist/config/plugin/mcp.js +125 -125
  298. package/dist/config/plugin/policy.js +113 -113
  299. package/dist/config/plugin/provider.js +112 -112
  300. package/dist/config/plugin/reference.js +116 -116
  301. package/dist/config/plugin/shell.js +115 -115
  302. package/dist/config/plugin/skill-file.js +96 -96
  303. package/dist/config/plugin/skill.js +134 -134
  304. package/dist/config/plugin/snapshot.js +114 -114
  305. package/dist/config/plugin/source.js +116 -116
  306. package/dist/config/plugin/tool-output.js +116 -116
  307. package/dist/config/plugin/websearch.js +112 -112
  308. package/dist/config/variable.js +3 -3
  309. package/dist/config/watch.js +1 -1
  310. package/dist/config.js +118 -118
  311. package/dist/credential/sql.js +2 -2
  312. package/dist/credential.js +80 -80
  313. package/dist/database/database.js +64 -64
  314. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  315. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  316. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  317. package/dist/database/drizzle/index.js +13 -13
  318. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  319. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  321. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  322. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  323. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  324. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  329. package/dist/database/drizzle.js +14 -14
  330. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  331. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  332. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  333. package/dist/database/migration/20260225215848_workspace.js +1 -1
  334. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  335. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  336. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  337. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  338. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  339. package/dist/database/migration/20260323234822_events.js +1 -1
  340. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  341. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  342. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  343. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  344. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  345. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  346. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  347. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  348. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  349. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  350. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  351. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  352. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  353. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  354. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  355. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  356. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  357. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  358. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  359. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  360. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  361. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  362. package/dist/database/migration/20260611035744_credential.js +1 -1
  363. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  364. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  365. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  366. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  367. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  368. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  369. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  370. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  371. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  372. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  373. package/dist/database/migration/20260812213948_worktree.js +1 -1
  374. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  375. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  376. package/dist/database/migration.gen.js +47 -47
  377. package/dist/database/migration.js +49 -49
  378. package/dist/database/path.js +2 -2
  379. package/dist/database/schema.gen.js +1 -1
  380. package/dist/database/schema.sql.js +1 -1
  381. package/dist/database/sqlite.bun.js +1 -1
  382. package/dist/database/sqlite.js +1 -1
  383. package/dist/database/sqlite.node.js +1 -1
  384. package/dist/database/sqlite.workerd.js +1 -1
  385. package/dist/database/v1-migration.bun.js +74 -74
  386. package/dist/database/v1-migration.js +1 -1
  387. package/dist/effect/app-node-builder.js +356 -356
  388. package/dist/effect/app-node-platform.js +2 -2
  389. package/dist/effect/keyed-mutex.js +1 -1
  390. package/dist/effect/websocket-constructor.js +1 -1
  391. package/dist/environment/driver.js +1 -1
  392. package/dist/environment/environment.js +88 -88
  393. package/dist/environment/exec-defaults.js +2 -2
  394. package/dist/environment/files.js +1 -1
  395. package/dist/environment/index.js +88 -88
  396. package/dist/environment/local.js +2 -2
  397. package/dist/environment/memory.js +2 -2
  398. package/dist/environment/unavailable.js +1 -1
  399. package/dist/event/sql.js +1 -1
  400. package/dist/event-logger.js +72 -72
  401. package/dist/file-mutation.js +89 -89
  402. package/dist/file-retention.js +1 -1
  403. package/dist/file.js +1 -1
  404. package/dist/filesystem/fff.bun.js +2 -2
  405. package/dist/filesystem/fff.js +1 -1
  406. package/dist/filesystem/fff.node.js +2 -2
  407. package/dist/filesystem/fff.workerd.js +2 -2
  408. package/dist/filesystem/ignore.js +1 -1
  409. package/dist/filesystem/location-watcher-policy.js +6 -6
  410. package/dist/filesystem/location-watcher.js +215 -215
  411. package/dist/filesystem/protected.js +3 -3
  412. package/dist/filesystem/search.js +99 -99
  413. package/dist/filesystem/watcher-binding.js +1 -1
  414. package/dist/filesystem/watcher.js +15 -15
  415. package/dist/filesystem.js +102 -102
  416. package/dist/form.js +82 -82
  417. package/dist/formatter/builtins.js +4 -4
  418. package/dist/formatter.js +82 -82
  419. package/dist/generate.js +88 -88
  420. package/dist/git.js +7 -7
  421. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  422. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  423. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  424. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  425. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  426. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  427. package/dist/github-copilot/copilot-provider.js +17 -17
  428. package/dist/github-copilot/models.js +3 -3
  429. package/dist/github-copilot/openai-compatible-error.js +1 -1
  430. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  431. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  432. package/dist/github-copilot/responses/openai-error.js +1 -1
  433. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  434. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  435. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  436. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  437. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  438. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  439. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  440. package/dist/id/id.js +1 -1
  441. package/dist/image/photon.js +2 -2
  442. package/dist/image.js +6 -6
  443. package/dist/instance/service.js +7 -7
  444. package/dist/instance.js +347 -347
  445. package/dist/instruction-discovery.js +83 -83
  446. package/dist/instructions/builtins.js +82 -82
  447. package/dist/instructions/index.js +3 -3
  448. package/dist/integration/connection.js +1 -1
  449. package/dist/integration.js +85 -85
  450. package/dist/job.js +77 -77
  451. package/dist/kv/sql.js +2 -2
  452. package/dist/kv.js +71 -71
  453. package/dist/location-activity.js +86 -86
  454. package/dist/location-mutation.js +81 -81
  455. package/dist/location-service-map.js +83 -83
  456. package/dist/location-services.js +344 -344
  457. package/dist/location.js +84 -84
  458. package/dist/mcp/client.js +86 -86
  459. package/dist/mcp/index.js +102 -102
  460. package/dist/mcp/instructions.js +118 -118
  461. package/dist/mcp/oauth.js +2 -2
  462. package/dist/mcp/stdio.js +85 -85
  463. package/dist/mime.js +1 -1
  464. package/dist/modal/models.js +3 -3
  465. package/dist/model-resolver.js +85 -85
  466. package/dist/model.js +8 -8
  467. package/dist/models-dev.js +82 -82
  468. package/dist/oauth/page.js +1 -1
  469. package/dist/permission/saved.js +80 -80
  470. package/dist/permission/sql.js +5 -5
  471. package/dist/permission.js +105 -105
  472. package/dist/persistent-pty/binary.bun.js +1 -1
  473. package/dist/persistent-pty/daemon.js +1 -1
  474. package/dist/persistent-pty/index.js +84 -84
  475. package/dist/persistent-pty/pty-binding.js +1 -1
  476. package/dist/persistent-pty.js +73 -73
  477. package/dist/plugin/agent.js +98 -98
  478. package/dist/plugin/command.js +95 -95
  479. package/dist/plugin/hooks.js +5 -5
  480. package/dist/plugin/host.js +210 -210
  481. package/dist/plugin/instance.js +5 -5
  482. package/dist/plugin/internal.js +316 -316
  483. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  484. package/dist/plugin/models-dev.js +75 -75
  485. package/dist/plugin/module.js +2 -2
  486. package/dist/plugin/plan.js +96 -96
  487. package/dist/plugin/promise.js +1 -1
  488. package/dist/plugin/provider/alibaba.js +2 -2
  489. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  490. package/dist/plugin/provider/anthropic.js +4 -4
  491. package/dist/plugin/provider/azure.js +117 -117
  492. package/dist/plugin/provider/cerebras.js +2 -2
  493. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  494. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  495. package/dist/plugin/provider/cohere.js +2 -2
  496. package/dist/plugin/provider/configured.js +113 -113
  497. package/dist/plugin/provider/dynamic.js +2 -2
  498. package/dist/plugin/provider/factory.js +1 -1
  499. package/dist/plugin/provider/gateway.js +2 -2
  500. package/dist/plugin/provider/github-copilot.js +79 -79
  501. package/dist/plugin/provider/gitlab.js +3 -3
  502. package/dist/plugin/provider/google-vertex.js +2 -2
  503. package/dist/plugin/provider/kilo.js +2 -2
  504. package/dist/plugin/provider/llmgateway.js +75 -75
  505. package/dist/plugin/provider/lmstudio.js +116 -116
  506. package/dist/plugin/provider/mistral.js +2 -2
  507. package/dist/plugin/provider/modal.js +78 -78
  508. package/dist/plugin/provider/nvidia.js +2 -2
  509. package/dist/plugin/provider/ollama.js +116 -116
  510. package/dist/plugin/provider/openai-compatible.js +1 -1
  511. package/dist/plugin/provider/openai.js +79 -79
  512. package/dist/plugin/provider/opencode.js +75 -75
  513. package/dist/plugin/provider/openrouter.js +3 -3
  514. package/dist/plugin/provider/perplexity.js +2 -2
  515. package/dist/plugin/provider/sap-ai-core.js +3 -3
  516. package/dist/plugin/provider/sdk-factory.js +1 -1
  517. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  518. package/dist/plugin/provider/venice.js +2 -2
  519. package/dist/plugin/provider/vercel.js +2 -2
  520. package/dist/plugin/provider/vllm.js +116 -116
  521. package/dist/plugin/provider/xai.js +76 -76
  522. package/dist/plugin/provider/zenmux.js +2 -2
  523. package/dist/plugin/provider.js +154 -154
  524. package/dist/plugin/sdk.js +72 -72
  525. package/dist/plugin/service.js +5 -5
  526. package/dist/plugin/skill.js +131 -131
  527. package/dist/plugin/source-directory.js +1 -1
  528. package/dist/plugin/supervisor.js +335 -335
  529. package/dist/plugin/system-prompt.js +5 -5
  530. package/dist/plugin/update.js +4 -4
  531. package/dist/plugin/variant.js +4 -4
  532. package/dist/plugin/vcs/git.js +82 -82
  533. package/dist/plugin/vcs/hg.js +82 -82
  534. package/dist/plugin/warming.js +111 -111
  535. package/dist/plugin/websearch/exa.js +7 -7
  536. package/dist/plugin/websearch/firecrawl.js +6 -6
  537. package/dist/plugin/websearch/index.js +8 -8
  538. package/dist/plugin/websearch/mcp.js +6 -6
  539. package/dist/plugin/websearch/parallel.js +8 -8
  540. package/dist/plugin/websearch/tavily.js +6 -6
  541. package/dist/plugin.js +219 -219
  542. package/dist/project/schema.js +8 -8
  543. package/dist/project/sql.js +4 -4
  544. package/dist/project.js +85 -85
  545. package/dist/provider.js +5 -5
  546. package/dist/pty/protocol.js +1 -1
  547. package/dist/pty/schema.js +3 -3
  548. package/dist/pty/ticket.js +1 -1
  549. package/dist/pty.js +92 -92
  550. package/dist/reference/instructions.js +82 -82
  551. package/dist/reference.js +84 -84
  552. package/dist/repository-cache.js +76 -76
  553. package/dist/repository.js +1 -1
  554. package/dist/ripgrep/binary.js +2 -2
  555. package/dist/ripgrep.js +93 -93
  556. package/dist/rpc.js +81 -81
  557. package/dist/schema.js +1 -1
  558. package/dist/session/command.js +72 -72
  559. package/dist/session/compaction.js +127 -127
  560. package/dist/session/context.js +145 -145
  561. package/dist/session/environment.js +5 -5
  562. package/dist/session/error.js +5 -5
  563. package/dist/session/event.js +1 -1
  564. package/dist/session/execution/restart.js +217 -217
  565. package/dist/session/execution.js +120 -120
  566. package/dist/session/generate.js +144 -144
  567. package/dist/session/history.js +12 -12
  568. package/dist/session/inbox.js +86 -86
  569. package/dist/session/info.js +3 -3
  570. package/dist/session/instruction-entry.js +77 -77
  571. package/dist/session/instruction-state.js +8 -8
  572. package/dist/session/instructions.js +91 -91
  573. package/dist/session/message-updater.js +4 -4
  574. package/dist/session/message.js +1 -1
  575. package/dist/session/model-request.js +112 -112
  576. package/dist/session/model-transport.js +9 -9
  577. package/dist/session/move.js +124 -124
  578. package/dist/session/projector.js +84 -84
  579. package/dist/session/prompt.js +99 -99
  580. package/dist/session/revert.js +85 -85
  581. package/dist/session/run-coordinator.js +3 -3
  582. package/dist/session/runner/index.js +3 -3
  583. package/dist/session/runner/llm.js +220 -220
  584. package/dist/session/runner/max-steps.js +1 -1
  585. package/dist/session/runner/model.js +83 -83
  586. package/dist/session/runner/publish-llm-event.js +3 -3
  587. package/dist/session/runner/retry.js +4 -4
  588. package/dist/session/runner/step.js +119 -119
  589. package/dist/session/runner/to-llm-message.js +1 -1
  590. package/dist/session/schema.js +5 -5
  591. package/dist/session/session.js +167 -167
  592. package/dist/session/shell.js +130 -130
  593. package/dist/session/skill.js +97 -97
  594. package/dist/session/sql.js +5 -5
  595. package/dist/session/stats.js +71 -71
  596. package/dist/session/store.js +84 -84
  597. package/dist/session/subagent-completion.js +1 -1
  598. package/dist/session/subagent-job.js +201 -201
  599. package/dist/session/system-prompt.js +3 -3
  600. package/dist/session/title.js +149 -149
  601. package/dist/session/to-session-error.js +105 -105
  602. package/dist/session/transfer.js +213 -213
  603. package/dist/session/usage.js +1 -1
  604. package/dist/session.js +211 -211
  605. package/dist/shell/parse.js +6 -6
  606. package/dist/shell/result.js +1 -1
  607. package/dist/shell/scan.js +1 -1
  608. package/dist/shell/select.js +13 -13
  609. package/dist/shell.js +132 -132
  610. package/dist/skill/discovery.js +6 -6
  611. package/dist/skill/instructions.js +101 -101
  612. package/dist/skill.js +106 -106
  613. package/dist/snapshot.js +86 -86
  614. package/dist/state.js +1 -1
  615. package/dist/tool/html-markdown.js +1 -1
  616. package/dist/tool/http-body.js +1 -1
  617. package/dist/tool/mcp.js +119 -119
  618. package/dist/tool/plugin/edit.js +114 -114
  619. package/dist/tool/plugin/file-diff.js +1 -1
  620. package/dist/tool/plugin/glob.js +119 -119
  621. package/dist/tool/plugin/grep.js +117 -117
  622. package/dist/tool/plugin/opencode.js +3 -3
  623. package/dist/tool/plugin/patch.js +114 -114
  624. package/dist/tool/plugin/question.js +99 -99
  625. package/dist/tool/plugin/read.js +120 -120
  626. package/dist/tool/plugin/shell.js +208 -208
  627. package/dist/tool/plugin/skill.js +105 -105
  628. package/dist/tool/plugin/subagent.js +210 -210
  629. package/dist/tool/plugin/webfetch.js +102 -102
  630. package/dist/tool/plugin/websearch.js +106 -106
  631. package/dist/tool/plugin/write.js +112 -112
  632. package/dist/tool/read-filesystem.js +96 -96
  633. package/dist/tool/runtime.js +1 -1
  634. package/dist/tool-output.js +8 -8
  635. package/dist/tool.js +15 -15
  636. package/dist/util/error.js +1 -1
  637. package/dist/util/iife.js +1 -1
  638. package/dist/util/lazy.js +1 -1
  639. package/dist/util/slug.js +1 -1
  640. package/dist/util/token.js +1 -1
  641. package/dist/util/which.js +1 -1
  642. package/dist/util/wildcard.js +1 -1
  643. package/dist/v1/config/agent.js +5 -5
  644. package/dist/v1/config/attachment.js +4 -4
  645. package/dist/v1/config/command.js +5 -5
  646. package/dist/v1/config/config.js +16 -16
  647. package/dist/v1/config/error.js +2 -2
  648. package/dist/v1/config/formatter.js +3 -3
  649. package/dist/v1/config/layout.js +1 -1
  650. package/dist/v1/config/lsp.js +5 -5
  651. package/dist/v1/config/mcp.js +4 -4
  652. package/dist/v1/config/migrate.js +4 -4
  653. package/dist/v1/config/permission.js +3 -3
  654. package/dist/v1/config/plugin.js +3 -3
  655. package/dist/v1/config/provider-options.js +1 -1
  656. package/dist/v1/config/provider.js +4 -4
  657. package/dist/v1/config/server.js +2 -2
  658. package/dist/v1/config/skills.js +3 -3
  659. package/dist/v1/permission.js +1 -1
  660. package/dist/vcs/patch.js +1 -1
  661. package/dist/vcs.js +85 -85
  662. package/dist/websearch.js +82 -82
  663. package/dist/wellknown/plugin.js +74 -74
  664. package/dist/wellknown.js +79 -79
  665. package/dist/workspace/driver.js +3 -3
  666. package/dist/workspace/sql.js +1 -1
  667. package/dist/workspace.js +74 -74
  668. package/dist/worktree/directory.js +4 -4
  669. package/dist/worktree/git.js +7 -7
  670. package/dist/worktree/sql.js +5 -5
  671. package/dist/worktree.js +90 -90
  672. package/package.json +7 -7
  673. package/dist/chunks/job-25sqyrs3.js +0 -22
  674. package/dist/chunks/job-7zk4hah4.js +0 -4
  675. package/dist/chunks/job-c6w4sqp6.js +0 -450
  676. package/dist/chunks/job-dxj72tfx.js +0 -18
  677. package/dist/chunks/job-hrk0pm50.js +0 -243
  678. package/dist/chunks/job-nv1mfemk.js +0 -20
  679. /package/dist/chunks/{job-0fabt78z.js → persistent-pty-0fabt78z.js} +0 -0
  680. /package/dist/chunks/{job-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  681. /package/dist/chunks/{job-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  682. /package/dist/chunks/{job-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  683. /package/dist/chunks/{job-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  684. /package/dist/chunks/{job-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  685. /package/dist/chunks/{job-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  686. /package/dist/chunks/{job-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  687. /package/dist/chunks/{job-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  688. /package/dist/chunks/{job-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  689. /package/dist/chunks/{job-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  690. /package/dist/chunks/{job-3t738kvx.js → persistent-pty-3t738kvx.js} +0 -0
  691. /package/dist/chunks/{job-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  692. /package/dist/chunks/{job-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  693. /package/dist/chunks/{job-41nvscxy.js → persistent-pty-41nvscxy.js} +0 -0
  694. /package/dist/chunks/{job-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  695. /package/dist/chunks/{job-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  696. /package/dist/chunks/{job-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  697. /package/dist/chunks/{job-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  698. /package/dist/chunks/{job-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  699. /package/dist/chunks/{job-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
  700. /package/dist/chunks/{job-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  701. /package/dist/chunks/{job-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  702. /package/dist/chunks/{job-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  703. /package/dist/chunks/{job-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  704. /package/dist/chunks/{job-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  705. /package/dist/chunks/{job-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  706. /package/dist/chunks/{job-982e01ww.js → persistent-pty-982e01ww.js} +0 -0
  707. /package/dist/chunks/{job-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  708. /package/dist/chunks/{job-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  709. /package/dist/chunks/{job-a1tpkmh4.js → persistent-pty-a1tpkmh4.js} +0 -0
  710. /package/dist/chunks/{job-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  711. /package/dist/chunks/{job-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  712. /package/dist/chunks/{job-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  713. /package/dist/chunks/{job-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  714. /package/dist/chunks/{job-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  715. /package/dist/chunks/{job-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  716. /package/dist/chunks/{job-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  717. /package/dist/chunks/{job-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  718. /package/dist/chunks/{job-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  719. /package/dist/chunks/{job-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  720. /package/dist/chunks/{job-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  721. /package/dist/chunks/{job-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  722. /package/dist/chunks/{job-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  723. /package/dist/chunks/{job-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  724. /package/dist/chunks/{job-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  725. /package/dist/chunks/{job-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  726. /package/dist/chunks/{job-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  727. /package/dist/chunks/{job-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  728. /package/dist/chunks/{job-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  729. /package/dist/chunks/{job-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  730. /package/dist/chunks/{job-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  731. /package/dist/chunks/{job-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  732. /package/dist/chunks/{job-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  733. /package/dist/chunks/{job-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  734. /package/dist/chunks/{job-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  735. /package/dist/chunks/{job-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  736. /package/dist/chunks/{job-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  737. /package/dist/chunks/{job-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  738. /package/dist/chunks/{job-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  739. /package/dist/chunks/{job-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  740. /package/dist/chunks/{job-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  741. /package/dist/chunks/{job-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  742. /package/dist/chunks/{job-mntxs535.js → persistent-pty-mntxs535.js} +0 -0
  743. /package/dist/chunks/{job-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  744. /package/dist/chunks/{job-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  745. /package/dist/chunks/{job-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  746. /package/dist/chunks/{job-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  747. /package/dist/chunks/{job-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  748. /package/dist/chunks/{job-p8qxwesx.js → persistent-pty-p8qxwesx.js} +0 -0
  749. /package/dist/chunks/{job-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  750. /package/dist/chunks/{job-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  751. /package/dist/chunks/{job-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  752. /package/dist/chunks/{job-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  753. /package/dist/chunks/{job-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  754. /package/dist/chunks/{job-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  755. /package/dist/chunks/{job-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  756. /package/dist/chunks/{job-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  757. /package/dist/chunks/{job-se0s1eqw.js → persistent-pty-se0s1eqw.js} +0 -0
  758. /package/dist/chunks/{job-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  759. /package/dist/chunks/{job-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  760. /package/dist/chunks/{job-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
  761. /package/dist/chunks/{job-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  762. /package/dist/chunks/{job-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  763. /package/dist/chunks/{job-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  764. /package/dist/chunks/{job-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  765. /package/dist/chunks/{job-x1b8g1yb.js → persistent-pty-x1b8g1yb.js} +0 -0
  766. /package/dist/chunks/{job-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  767. /package/dist/chunks/{job-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  768. /package/dist/chunks/{job-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  769. /package/dist/chunks/{job-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  770. /package/dist/chunks/{job-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
  771. /package/dist/chunks/{job-zbjnn3ac.js → persistent-pty-zbjnn3ac.js} +0 -0
@@ -1,50 +1,50 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./job-2a5m3afh.js";
3
+ } from "./persistent-pty-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./job-p8qxwesx.js";
6
+ } from "./persistent-pty-p8qxwesx.js";
7
7
  import {
8
- Service74
9
- } from "./job-5y476dvm.js";
8
+ Service67
9
+ } from "./persistent-pty-c47xcf4v.js";
10
10
  import {
11
- Service69
12
- } from "./job-gkhj65gm.js";
11
+ Service66
12
+ } from "./persistent-pty-vqxj4jm3.js";
13
13
  import {
14
- Service21
15
- } from "./job-e5687zp2.js";
14
+ Service65
15
+ } from "./persistent-pty-8g20mv6s.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
- Entry2
21
- } from "./job-fw75d2j2.js";
20
+ Entry4
21
+ } from "./persistent-pty-w40bmgb5.js";
22
22
  import {
23
23
  externalDirectoryPermission2,
24
- Service13
25
- } from "./job-4k0h8fvt.js";
24
+ Service38
25
+ } from "./persistent-pty-628cc3h3.js";
26
26
  import {
27
- Service45
28
- } from "./job-ft2ykv9q.js";
27
+ Service40
28
+ } from "./persistent-pty-af5cxv86.js";
29
29
  import {
30
30
  __export
31
- } from "./job-9rqn6x4v.js";
31
+ } from "./persistent-pty-9rqn6x4v.js";
32
32
 
33
33
  // src/tool/plugin/glob.ts
34
34
  var exports_glob = {};
35
35
  __export(exports_glob, {
36
36
  GlobTool: () => exports_glob,
37
- Input: () => Input7,
38
- Output: () => Output6,
39
- Plugin: () => Plugin7,
40
- name: () => name7,
41
- toModelContent: () => toModelContent3
37
+ Input: () => Input6,
38
+ Output: () => Output5,
39
+ Plugin: () => Plugin20,
40
+ name: () => name6,
41
+ toModelContent: () => toModelContent5
42
42
  });
43
43
  import { ToolFailure } from "@opencode-ai/ai";
44
44
  import { Effect, Schema } from "effect";
45
45
  import path from "path";
46
- var name7 = "glob";
47
- var Input7 = Schema.Struct({
46
+ var name6 = "glob";
47
+ var Input6 = Schema.Struct({
48
48
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
49
49
  path: Schema.optionalKey(RelativePath2).annotate({
50
50
  description: "Directory to search. Defaults to the current working directory."
@@ -56,28 +56,28 @@ var Input7 = Schema.Struct({
56
56
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
57
57
  })
58
58
  });
59
- var Output6 = Schema.Array(Entry2);
60
- var toModelContent3 = (entries, truncated = false) => {
59
+ var Output5 = Schema.Array(Entry4);
60
+ var toModelContent5 = (entries, truncated = false) => {
61
61
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
62
62
  if (truncated)
63
63
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
64
64
  return lines.join(`
65
65
  `);
66
66
  };
67
- var Plugin7 = {
67
+ var Plugin20 = {
68
68
  id: "opencode.tool.glob",
69
69
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
70
- const environment = yield* Service69;
71
- const ripgrep = yield* Service21;
72
- const location = yield* Service74;
73
- const mutation = yield* Service13;
74
- const permission = yield* Service45;
70
+ const environment = yield* Service66;
71
+ const ripgrep = yield* Service65;
72
+ const location = yield* Service67;
73
+ const mutation = yield* Service38;
74
+ const permission = yield* Service40;
75
75
  yield* ctx.tool.transform((editor) => editor.add({
76
- name: name7,
76
+ name: name6,
77
77
  options: { codemode: false },
78
78
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
79
- input: Input7,
80
- output: Output6,
79
+ input: Input6,
80
+ output: Output5,
81
81
  execute: (input, context) => Effect.gen(function* () {
82
82
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
83
83
  const source = { type: "tool", messageID: context.messageID, id: context.id };
@@ -91,7 +91,7 @@ var Plugin7 = {
91
91
  source
92
92
  });
93
93
  yield* permission.assert({
94
- action: name7,
94
+ action: name6,
95
95
  resources: [input.pattern],
96
96
  save: ["*"],
97
97
  metadata: {
@@ -119,18 +119,18 @@ var Plugin7 = {
119
119
  orElse: () => Effect.fail(new ToolFailure({
120
120
  message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
121
121
  }))
122
- }), Effect.map((result) => result.map((entry) => Entry2.make({
122
+ }), Effect.map((result) => result.map((entry) => Entry4.make({
123
123
  ...entry,
124
124
  path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
125
125
  }))));
126
126
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
127
127
  }).pipe(Effect.map((result) => ({
128
128
  output: result.entries,
129
- content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
129
+ content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
130
130
  metadata: { count: result.entries.length, truncated: result.truncated }
131
131
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
132
132
  })).pipe(Effect.orDie);
133
133
  })
134
134
  };
135
135
 
136
- export { name7, Input7, Output6, toModelContent3, Plugin7, exports_glob };
136
+ export { name6, Input6, Output5, toModelContent5, Plugin20, exports_glob };
@@ -1,7 +1,7 @@
1
1
  // src/session/schema.ts
2
2
  import * as SessionSchema2 from "@opencode-ai/schema/session";
3
3
  import { Session } from "@opencode-ai/schema/session";
4
- var ID15 = Session.ID;
5
- var Info27 = Session.Info;
4
+ var ID10 = Session.ID;
5
+ var Info22 = Session.Info;
6
6
 
7
- export { ID15, Info27, SessionSchema2 };
7
+ export { ID10, Info22, SessionSchema2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service69
3
- } from "./job-gkhj65gm.js";
2
+ Service66
3
+ } from "./persistent-pty-vqxj4jm3.js";
4
4
  import {
5
5
  __export
6
- } from "./job-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
19
19
  var OUTGOING_CAPACITY = 64;
20
20
  var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var make2 = Effect.fnUntraced(function* (options) {
22
- const environment = yield* Service69;
22
+ const environment = yield* Service66;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./job-p8qxwesx.js";
4
+ } from "./persistent-pty-p8qxwesx.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service76,
9
- node80
10
- } from "./job-9d04b11k.js";
8
+ Service69,
9
+ node72
10
+ } from "./persistent-pty-shbsgx5h.js";
11
11
  import {
12
- Service74,
13
- node78
14
- } from "./job-5y476dvm.js";
12
+ Service67,
13
+ node70
14
+ } from "./persistent-pty-c47xcf4v.js";
15
15
  import {
16
16
  create3
17
- } from "./job-kg06axw8.js";
17
+ } from "./persistent-pty-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./job-9rqn6x4v.js";
20
+ } from "./persistent-pty-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID5,
27
- Service: () => Service42,
25
+ Error: () => Error2,
26
+ ID: () => ID7,
27
+ Service: () => Service47,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node44,
29
+ node: () => node49,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode-ai/util/fs-util";
36
36
  import { Global } from "@opencode-ai/util/global";
37
- import { ID as ID5 } from "@opencode-ai/schema/snapshot";
37
+ import { ID as ID7 } from "@opencode-ai/schema/snapshot";
38
38
  import { Hash } from "@opencode-ai/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service42 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service47 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service42, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service76;
50
+ const git = yield* Service69;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service74;
52
+ const location = yield* Service67;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID5.make(yield* git.tree.capture({
85
+ return ID7.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
122
122
  for (const [file, snapshot] of input.files) {
123
123
  const absolute = path.resolve(worktree, file);
124
124
  if (!FSUtil.contains(worktree, absolute))
125
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
125
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
126
126
  files.set(file, TreeID2.make(snapshot));
127
127
  }
128
128
  return files;
129
129
  });
130
130
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
131
131
  if (!enabled())
132
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
132
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
133
133
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
134
134
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
135
135
  });
136
- return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
136
+ return Service47.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
137
137
  }).pipe(Effect.withSpan("Snapshot.boot")));
138
- var node44 = makeLocationNode({
139
- service: Service42,
138
+ var node49 = makeLocationNode({
139
+ service: Service47,
140
140
  layer,
141
- deps: [FSUtil.node, node80, Global.node, node78]
141
+ deps: [FSUtil.node, node72, Global.node, node70]
142
142
  });
143
- var noopLayer3 = Layer.succeed(Service42, Service42.of({
143
+ var noopLayer3 = Layer.succeed(Service47, Service47.of({
144
144
  transform: () => Effect.succeed({ dispose: Effect.void }),
145
145
  reload: () => Effect.void,
146
146
  capture: () => Effect.undefined,
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service42, Service42.of({
149
149
  restore: () => Effect.void
150
150
  }));
151
151
  function failure(operation, cause) {
152
- if (cause instanceof Error3 && cause.operation === operation)
152
+ if (cause instanceof Error2 && cause.operation === operation)
153
153
  return cause;
154
- return new Error3({
154
+ return new Error2({
155
155
  operation,
156
156
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
157
157
  cause
158
158
  });
159
159
  }
160
160
 
161
- export { ID5, Error3, Service42, node44, noopLayer3, exports_snapshot2 };
161
+ export { ID7, Error2, Service47, node49, noopLayer3, exports_snapshot2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  useragent2
3
- } from "./job-rvwskcwc.js";
3
+ } from "./persistent-pty-twy2b4zd.js";
4
4
  import {
5
- Service79
6
- } from "./job-1eq7j3rm.js";
5
+ Service78
6
+ } from "./persistent-pty-smgpfta5.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./job-q0kqjkmf.js";
9
+ Event19
10
+ } from "./persistent-pty-81xmbs00.js";
11
11
  import {
12
- ID10,
12
+ ID14,
13
13
  MethodID2
14
- } from "./job-78bankzg.js";
14
+ } from "./persistent-pty-ne5w19nk.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
- } from "./job-pjvnvgmy.js";
18
+ } from "./persistent-pty-pjvnvgmy.js";
19
19
  import {
20
- ID13,
20
+ ID18,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./job-zmya9kwb.js";
23
+ } from "./persistent-pty-g2c9bhkq.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
44
44
  }));
45
45
  var decodeClaims = Schema.decodeUnknownOption(Claims);
46
46
  var browser = (app) => ({
47
- integrationID: ID10.make("openai"),
47
+ integrationID: ID14.make("openai"),
48
48
  method: {
49
49
  id: browserMethodID,
50
50
  type: "oauth",
@@ -117,7 +117,7 @@ function addressInUse(error) {
117
117
  return "code" in error && error.code === "EADDRINUSE";
118
118
  }
119
119
  var headless = (app) => ({
120
- integrationID: ID10.make("openai"),
120
+ integrationID: ID14.make("openai"),
121
121
  method: {
122
122
  id: headlessMethodID,
123
123
  type: "oauth",
@@ -159,10 +159,10 @@ var headless = (app) => ({
159
159
  }),
160
160
  refresh: (value) => refresh(headlessMethodID, value, app)
161
161
  });
162
- var OpenAIPlugin3 = define({
162
+ var OpenAIPlugin2 = define({
163
163
  id: "opencode.provider.openai",
164
164
  effect: Effect.fn(function* (ctx) {
165
- const bus = yield* Service79;
165
+ const bus = yield* Service78;
166
166
  const loading = Semaphore.makeUnsafe(1);
167
167
  let chatgpt;
168
168
  const load = Effect.fn("OpenAIPlugin.load")(function* () {
@@ -178,7 +178,7 @@ var OpenAIPlugin3 = define({
178
178
  });
179
179
  yield* load();
180
180
  yield* ctx.catalog.transform((evt) => {
181
- const item = evt.provider.get(ID13.openai);
181
+ const item = evt.provider.get(ID18.openai);
182
182
  if (!item)
183
183
  return;
184
184
  for (const model of item.models.values()) {
@@ -218,9 +218,9 @@ var OpenAIPlugin3 = define({
218
218
  evt.baseURL = codexBaseURL;
219
219
  evt.headers.originator = "opencode";
220
220
  evt.headers["session-id"] = evt.sessionID;
221
- }), { providerID: ID13.openai });
221
+ }), { providerID: ID18.openai });
222
222
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
223
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
223
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
224
224
  })
225
225
  });
226
226
  function headers(contentType, app) {
@@ -311,4 +311,4 @@ function claim(token) {
311
311
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
312
312
  }
313
313
 
314
- export { OpenAIPlugin3 };
314
+ export { OpenAIPlugin2 };
@@ -1,25 +1,25 @@
1
- import {
2
- Service79,
3
- node83
4
- } from "./job-1eq7j3rm.js";
5
1
  import {
6
2
  Service78,
7
3
  node82
8
- } from "./job-4ncfc14q.js";
4
+ } from "./persistent-pty-smgpfta5.js";
5
+ import {
6
+ Service79,
7
+ node83
8
+ } from "./persistent-pty-nzf6eghd.js";
9
9
  import {
10
10
  create3
11
- } from "./job-kg06axw8.js";
11
+ } from "./persistent-pty-kg06axw8.js";
12
12
  import {
13
13
  __export
14
- } from "./job-9rqn6x4v.js";
14
+ } from "./persistent-pty-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event7,
21
- ID: () => ID4,
22
- Input: () => Input13,
20
+ Event: () => Event9,
21
+ ID: () => ID8,
22
+ Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,27 +28,27 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service23,
31
+ Service: () => Service52,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node26
33
+ node: () => node54
34
34
  });
35
35
  import { WebSearch } from "@opencode-ai/schema/websearch";
36
36
  import { Context, Effect, Layer, Option, Schema } from "effect";
37
37
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
38
- import { Event as Event7 } from "@opencode-ai/schema/websearch";
39
- var ID4 = WebSearch.ID;
38
+ import { Event as Event9 } from "@opencode-ai/schema/websearch";
39
+ var ID8 = WebSearch.ID;
40
40
  var Provider2 = WebSearch.Provider;
41
- var Input13 = WebSearch.Input;
41
+ var Input14 = WebSearch.Input;
42
42
  var Result2 = WebSearch.Result;
43
43
  var Response2 = WebSearch.Response;
44
44
  var ProviderKey2 = "websearch:provider";
45
- var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
45
+ var Selection2 = Schema.Union([ID8, Schema.Literal("random"), Schema.Literal(false)]);
46
46
 
47
47
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
48
48
  }
49
49
 
50
50
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
51
- providerID: ID4
51
+ providerID: ID8
52
52
  }) {
53
53
  }
54
54
 
@@ -56,16 +56,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
56
56
  }
57
57
 
58
58
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
59
- providerID: ID4,
59
+ providerID: ID8,
60
60
  cause: Schema.Defect()
61
61
  }) {
62
62
  }
63
63
 
64
- class Service23 extends Context.Service()("@opencode/WebSearch") {
64
+ class Service52 extends Context.Service()("@opencode/WebSearch") {
65
65
  }
66
- var layer = Layer.effect(Service23, Effect.gen(function* () {
67
- const bus = yield* Service79;
68
- const kv = yield* Service78;
66
+ var layer = Layer.effect(Service52, Effect.gen(function* () {
67
+ const bus = yield* Service78;
68
+ const kv = yield* Service79;
69
69
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
70
70
  const state = create3({
71
71
  initial: () => ({ providers: new Map }),
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
106
106
  return yield* new ProviderRequiredError2;
107
107
  return provider;
108
108
  });
109
- return Service23.of({
109
+ return Service52.of({
110
110
  transform: state.transform,
111
111
  reload: state.reload,
112
112
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -129,10 +129,10 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
129
129
  })
130
130
  });
131
131
  }));
132
- var node26 = makeLocationNode({
133
- service: Service23,
132
+ var node54 = makeLocationNode({
133
+ service: Service52,
134
134
  layer,
135
- deps: [node83, node82]
135
+ deps: [node82, node83]
136
136
  });
137
137
 
138
- export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service23, node26, exports_websearch3, Event7 };
138
+ export { ID8, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service52, node54, exports_websearch3, Event9 };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service79
3
- } from "./job-1eq7j3rm.js";
2
+ Service78
3
+ } from "./persistent-pty-smgpfta5.js";
4
4
  import {
5
- Service18,
6
- Event4
7
- } from "./job-rdtt4ycx.js";
5
+ Service16,
6
+ Event3
7
+ } from "./persistent-pty-xa3k010d.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -14,8 +14,8 @@ import { Effect, Stream } from "effect";
14
14
  var ModelsDevPlugin2 = define({
15
15
  id: "opencode.models.dev",
16
16
  effect: Effect.fn(function* (ctx) {
17
- const modelsDev = yield* Service18;
18
- const bus = yield* Service79;
17
+ const modelsDev = yield* Service16;
18
+ const bus = yield* Service78;
19
19
  const loaded = { data: snapshots(yield* modelsDev.get()) };
20
20
  yield* ctx.integration.transform((integrations) => {
21
21
  for (const provider of loaded.data) {
@@ -49,7 +49,7 @@ var ModelsDevPlugin2 = define({
49
49
  }
50
50
  }
51
51
  });
52
- yield* bus.subscribe(Event4.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
52
+ yield* bus.subscribe(Event3.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
53
53
  })
54
54
  });
55
55
  function environmentNames(provider) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./job-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/layout.ts
6
6
  var exports_layout = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./job-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./job-zmya9kwb.js";
4
+ } from "./persistent-pty-g2c9bhkq.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./job-2axfhc9x.js";
3
+ } from "./persistent-pty-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./job-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
9
  var exports_error2 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./job-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};