@opencode/core 0.0.0-dev-21730 → 0.0.0-dev-21734

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{model-resolver-2ny6xyme.js → persistent-pty-00s53wgx.js} +1 -1
  8. package/dist/chunks/{model-resolver-yg834er4.js → persistent-pty-01res37g.js} +18 -18
  9. package/dist/chunks/{model-resolver-dh62xe4r.js → persistent-pty-033a0jkt.js} +3 -3
  10. package/dist/chunks/{model-resolver-034tev2y.js → persistent-pty-034tev2y.js} +2 -2
  11. package/dist/chunks/{model-resolver-fvp60fwe.js → persistent-pty-03qj99jn.js} +5 -5
  12. package/dist/chunks/{model-resolver-69ea4gs9.js → persistent-pty-04jfy8dp.js} +24 -24
  13. package/dist/chunks/{model-resolver-wy7bdrzd.js → persistent-pty-05gkwb83.js} +4 -4
  14. package/dist/chunks/{model-resolver-amjb1f6j.js → persistent-pty-0725bc3m.js} +21 -21
  15. package/dist/chunks/{model-resolver-8vhkf3wd.js → persistent-pty-091vk1nr.js} +26 -26
  16. package/dist/chunks/{model-resolver-2kj7f5bg.js → persistent-pty-0ahs07zn.js} +7 -7
  17. package/dist/chunks/{model-resolver-tyfqe8mq.js → persistent-pty-0bjvb68n.js} +35 -35
  18. package/dist/chunks/{model-resolver-ta21jq92.js → persistent-pty-0c68abaz.js} +17 -17
  19. package/dist/chunks/{model-resolver-0trvysgd.js → persistent-pty-10bbn146.js} +5 -5
  20. package/dist/chunks/{model-resolver-pgt2b3dq.js → persistent-pty-121mwpky.js} +15 -15
  21. package/dist/chunks/{model-resolver-tg1vr1qt.js → persistent-pty-160yv0cs.js} +8 -8
  22. package/dist/chunks/{model-resolver-mbb71zxb.js → persistent-pty-161q6wr2.js} +26 -26
  23. package/dist/chunks/persistent-pty-18cbc7hj.js +523 -0
  24. package/dist/chunks/{model-resolver-jcqm84fr.js → persistent-pty-18g90bpv.js} +9 -9
  25. package/dist/chunks/{model-resolver-1ep2p91f.js → persistent-pty-1ep2p91f.js} +2 -2
  26. package/dist/chunks/{model-resolver-bn231r82.js → persistent-pty-1mbb3nqq.js} +11 -11
  27. package/dist/chunks/{model-resolver-9d19w6f1.js → persistent-pty-1r5fcxrd.js} +15 -15
  28. package/dist/chunks/{model-resolver-5zryechk.js → persistent-pty-1v15skyy.js} +2 -2
  29. package/dist/chunks/{model-resolver-vcxs933z.js → persistent-pty-1v7y2gfm.js} +8 -8
  30. package/dist/chunks/{model-resolver-qcchxstm.js → persistent-pty-1wr4254w.js} +14 -14
  31. package/dist/chunks/{model-resolver-1x2knyw4.js → persistent-pty-1x2knyw4.js} +1 -1
  32. package/dist/chunks/{model-resolver-1yq9hg58.js → persistent-pty-1yq9hg58.js} +1 -1
  33. package/dist/chunks/{model-resolver-tasvem1v.js → persistent-pty-1z6jjy5p.js} +3 -3
  34. package/dist/chunks/{model-resolver-0b0dvc3v.js → persistent-pty-23fw7d8n.js} +11 -11
  35. package/dist/chunks/{model-resolver-f6r0dzq4.js → persistent-pty-25yt9nvs.js} +13 -13
  36. package/dist/chunks/{model-resolver-yxb96n0x.js → persistent-pty-294nmx0v.js} +41 -41
  37. package/dist/chunks/{model-resolver-b2zdt2y6.js → persistent-pty-2kyrhkym.js} +5 -5
  38. package/dist/chunks/{model-resolver-01t4jxfe.js → persistent-pty-2q88n7qb.js} +4 -4
  39. package/dist/chunks/{model-resolver-8rdd1j7g.js → persistent-pty-2qkmb929.js} +43 -43
  40. package/dist/chunks/{model-resolver-2z1j29yd.js → persistent-pty-2z1j29yd.js} +1 -1
  41. package/dist/chunks/{model-resolver-6f6tsj36.js → persistent-pty-2zve0z6t.js} +15 -15
  42. package/dist/chunks/{model-resolver-v9e2a6a3.js → persistent-pty-33jdcjy6.js} +20 -20
  43. package/dist/chunks/{model-resolver-sn02bkrk.js → persistent-pty-34kc3y55.js} +18 -18
  44. package/dist/chunks/{model-resolver-55w0c6dm.js → persistent-pty-3e5cks6s.js} +33 -33
  45. package/dist/chunks/{model-resolver-g42b6ca9.js → persistent-pty-3gv0spa2.js} +4 -4
  46. package/dist/chunks/{model-resolver-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{model-resolver-ew2d9bn2.js → persistent-pty-3mferp1a.js} +26 -26
  48. package/dist/chunks/{model-resolver-3nnrz6f6.js → persistent-pty-3nnrz6f6.js} +1 -1
  49. package/dist/chunks/{model-resolver-x7pzp06w.js → persistent-pty-3ntfh06s.js} +8 -8
  50. package/dist/chunks/{model-resolver-52rn342d.js → persistent-pty-408p0c2c.js} +30 -30
  51. package/dist/chunks/{model-resolver-5enarcya.js → persistent-pty-40za9wsf.js} +6 -6
  52. package/dist/chunks/{model-resolver-knfnv5xd.js → persistent-pty-4s7gz49e.js} +46 -46
  53. package/dist/chunks/{model-resolver-4v008n1t.js → persistent-pty-4v008n1t.js} +1 -1
  54. package/dist/chunks/{model-resolver-bp5sb8yv.js → persistent-pty-4wwst2cr.js} +16 -16
  55. package/dist/chunks/{model-resolver-4xvmh7wp.js → persistent-pty-4xvmh7wp.js} +3 -3
  56. package/dist/chunks/{model-resolver-8gxpx3mz.js → persistent-pty-54bdth8f.js} +18 -18
  57. package/dist/chunks/{model-resolver-8na9xnnb.js → persistent-pty-54zw250x.js} +3 -3
  58. package/dist/chunks/{model-resolver-kw1hde90.js → persistent-pty-5a4vd8th.js} +8 -8
  59. package/dist/chunks/{model-resolver-17r7g020.js → persistent-pty-5m7egt4k.js} +34 -34
  60. package/dist/chunks/{model-resolver-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
  61. package/dist/chunks/{model-resolver-yc4xwjk4.js → persistent-pty-5qv54f7z.js} +9 -9
  62. package/dist/chunks/{model-resolver-nzf6z8jh.js → persistent-pty-61g7nd3s.js} +10 -10
  63. package/dist/chunks/{model-resolver-pfjg1qnb.js → persistent-pty-660eev4r.js} +21 -21
  64. package/dist/chunks/{model-resolver-egspkehf.js → persistent-pty-66nsc0mc.js} +10 -10
  65. package/dist/chunks/{model-resolver-kc3bzs90.js → persistent-pty-68ed1heq.js} +3 -3
  66. package/dist/chunks/persistent-pty-6903n5ex.js +26 -0
  67. package/dist/chunks/{model-resolver-n527a7dv.js → persistent-pty-6b7kqf9p.js} +23 -23
  68. package/dist/chunks/{model-resolver-bm6kf062.js → persistent-pty-6bjkdwrx.js} +27 -27
  69. package/dist/chunks/{model-resolver-6esdw8yj.js → persistent-pty-6esdw8yj.js} +1 -1
  70. package/dist/chunks/{model-resolver-7agbanmz.js → persistent-pty-6feaf270.js} +26 -26
  71. package/dist/chunks/{model-resolver-d7kh2pfg.js → persistent-pty-6n590pe1.js} +20 -20
  72. package/dist/chunks/{model-resolver-8thk20xz.js → persistent-pty-6pe7vn7p.js} +13 -13
  73. package/dist/chunks/{model-resolver-n65a2gzt.js → persistent-pty-6pgzxxev.js} +10 -10
  74. package/dist/chunks/{model-resolver-6pjqjmy2.js → persistent-pty-6pjqjmy2.js} +1 -1
  75. package/dist/chunks/{model-resolver-9chjwwnc.js → persistent-pty-6ydxn510.js} +4 -4
  76. package/dist/chunks/{model-resolver-76cb1hcw.js → persistent-pty-76cb1hcw.js} +1 -1
  77. package/dist/chunks/{model-resolver-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{model-resolver-8njhevex.js → persistent-pty-7qq4ydd3.js} +11 -11
  79. package/dist/chunks/{model-resolver-dt9gh0d3.js → persistent-pty-7rrajkn6.js} +13 -13
  80. package/dist/chunks/{model-resolver-7w2ypzdf.js → persistent-pty-7w2ypzdf.js} +1 -1
  81. package/dist/chunks/{model-resolver-cgdq2tez.js → persistent-pty-7wyxsj6k.js} +4 -4
  82. package/dist/chunks/{model-resolver-w4ynznac.js → persistent-pty-8fttzn5c.js} +11 -11
  83. package/dist/chunks/{model-resolver-6gn7yv20.js → persistent-pty-8gfmmcm9.js} +7 -7
  84. package/dist/chunks/{model-resolver-7859jp66.js → persistent-pty-8hdpe52s.js} +23 -23
  85. package/dist/chunks/{model-resolver-j77g158z.js → persistent-pty-8k8pzbp4.js} +8 -8
  86. package/dist/chunks/{model-resolver-cb2t80kt.js → persistent-pty-8km5q4vd.js} +88 -88
  87. package/dist/chunks/{model-resolver-d910c31a.js → persistent-pty-8m8genj6.js} +35 -35
  88. package/dist/chunks/{model-resolver-t9qyj45c.js → persistent-pty-8tkzkck7.js} +12 -12
  89. package/dist/chunks/{model-resolver-8wtp7s3z.js → persistent-pty-8wtp7s3z.js} +1 -1
  90. package/dist/chunks/{model-resolver-7ag3s6hb.js → persistent-pty-8ybp78tx.js} +4 -4
  91. package/dist/chunks/{model-resolver-r7xar5ns.js → persistent-pty-8ykqf5wm.js} +8 -8
  92. package/dist/chunks/{model-resolver-j8wtckwx.js → persistent-pty-8ze93nwk.js} +8 -8
  93. package/dist/chunks/{model-resolver-91rj84md.js → persistent-pty-91rj84md.js} +1 -1
  94. package/dist/chunks/{model-resolver-998yhzzq.js → persistent-pty-998yhzzq.js} +3 -3
  95. package/dist/chunks/{model-resolver-pve0p3g2.js → persistent-pty-9get8zjh.js} +35 -35
  96. package/dist/chunks/{model-resolver-f2kkq0wr.js → persistent-pty-9j1dz88j.js} +45 -45
  97. package/dist/chunks/{model-resolver-57a19r08.js → persistent-pty-9rvvae9w.js} +21 -21
  98. package/dist/chunks/{model-resolver-a05vx38g.js → persistent-pty-9syqs7e3.js} +45 -45
  99. package/dist/chunks/{model-resolver-vv5h4bmz.js → persistent-pty-a5wwxj4r.js} +3 -3
  100. package/dist/chunks/{model-resolver-v27kyr9e.js → persistent-pty-ac29g10j.js} +9 -9
  101. package/dist/chunks/{model-resolver-ywtfgq8q.js → persistent-pty-ae89zrxe.js} +11 -11
  102. package/dist/chunks/{model-resolver-jwrjw8tj.js → persistent-pty-ajn3f7q8.js} +44 -44
  103. package/dist/chunks/{model-resolver-kqw486ce.js → persistent-pty-anm6wys2.js} +4 -4
  104. package/dist/chunks/{model-resolver-7g125bra.js → persistent-pty-atkwrhtv.js} +4 -4
  105. package/dist/chunks/{model-resolver-m8jzyt6a.js → persistent-pty-avt17yc9.js} +9 -9
  106. package/dist/chunks/{model-resolver-r73hsa18.js → persistent-pty-ax6rcmt6.js} +21 -21
  107. package/dist/chunks/{model-resolver-ayjs7tqn.js → persistent-pty-ayjs7tqn.js} +2 -2
  108. package/dist/chunks/{model-resolver-b0mv4wxm.js → persistent-pty-b0mv4wxm.js} +2 -2
  109. package/dist/chunks/{model-resolver-b1pn0vxn.js → persistent-pty-b1pn0vxn.js} +1 -1
  110. package/dist/chunks/{model-resolver-jfavpyep.js → persistent-pty-b3cs7hat.js} +11 -11
  111. package/dist/chunks/{model-resolver-b6vsg801.js → persistent-pty-b6vsg801.js} +2 -2
  112. package/dist/chunks/{model-resolver-pj41ajb0.js → persistent-pty-bf187ngt.js} +5 -5
  113. package/dist/chunks/{model-resolver-zj7p4na3.js → persistent-pty-bhyfhejz.js} +10 -10
  114. package/dist/chunks/{model-resolver-9d64739r.js → persistent-pty-bpvzah12.js} +8 -8
  115. package/dist/chunks/{model-resolver-bstexjd6.js → persistent-pty-bstexjd6.js} +1 -1
  116. package/dist/chunks/{model-resolver-fj95ckg7.js → persistent-pty-bt7dwcvz.js} +35 -35
  117. package/dist/chunks/{model-resolver-ng64mz8r.js → persistent-pty-bwnaxshz.js} +21 -21
  118. package/dist/chunks/{model-resolver-gnqfcwar.js → persistent-pty-c3qhhm1y.js} +18 -18
  119. package/dist/chunks/{model-resolver-tn5gxkrv.js → persistent-pty-c4phwmq5.js} +6 -6
  120. package/dist/chunks/{model-resolver-9bgp8a97.js → persistent-pty-ccjrskvd.js} +13 -13
  121. package/dist/chunks/{model-resolver-8nhp9y4m.js → persistent-pty-ce5jk55z.js} +4 -4
  122. package/dist/chunks/{model-resolver-2n1v95fn.js → persistent-pty-cech5wam.js} +11 -11
  123. package/dist/chunks/{model-resolver-md2ky9q0.js → persistent-pty-cpkbxa7x.js} +9 -9
  124. package/dist/chunks/{model-resolver-dphsmz0w.js → persistent-pty-csnb57rc.js} +18 -18
  125. package/dist/chunks/{model-resolver-bjzh04bx.js → persistent-pty-ctasavsb.js} +16 -16
  126. package/dist/chunks/{model-resolver-pfght9z5.js → persistent-pty-cvfh7m2t.js} +8 -8
  127. package/dist/chunks/{model-resolver-eff1wqft.js → persistent-pty-cx2kx0qt.js} +22 -22
  128. package/dist/chunks/{model-resolver-d4v9tmah.js → persistent-pty-d4v9tmah.js} +2 -2
  129. package/dist/chunks/{model-resolver-4rgde0gy.js → persistent-pty-d9jre66y.js} +9 -9
  130. package/dist/chunks/{model-resolver-fw6eeex0.js → persistent-pty-dctwdp88.js} +4 -4
  131. package/dist/chunks/{model-resolver-s0t4rwnt.js → persistent-pty-dgxgs7gd.js} +11 -11
  132. package/dist/chunks/{model-resolver-tw4wrdz4.js → persistent-pty-e6gw0w82.js} +11 -11
  133. package/dist/chunks/{model-resolver-e834z07m.js → persistent-pty-e834z07m.js} +1 -1
  134. package/dist/chunks/{model-resolver-n48tsgyy.js → persistent-pty-e8nh79sb.js} +9 -9
  135. package/dist/chunks/{model-resolver-jhtz5kdf.js → persistent-pty-ef2tezb6.js} +2 -2
  136. package/dist/chunks/{model-resolver-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{model-resolver-95jjqqz3.js → persistent-pty-eh70mckh.js} +88 -88
  138. package/dist/chunks/{model-resolver-de152cyr.js → persistent-pty-eh8nrxr4.js} +13 -13
  139. package/dist/chunks/{model-resolver-y71ddsac.js → persistent-pty-esf8vws2.js} +7 -7
  140. package/dist/chunks/{model-resolver-9jh4j41s.js → persistent-pty-esn29r3v.js} +67 -67
  141. package/dist/chunks/{model-resolver-rcgvv2s7.js → persistent-pty-f5vh2ee2.js} +13 -13
  142. package/dist/chunks/{model-resolver-9rrv4vns.js → persistent-pty-f9mjwvbf.js} +22 -22
  143. package/dist/chunks/{model-resolver-h1abq7en.js → persistent-pty-f9wddpqr.js} +48 -48
  144. package/dist/chunks/{model-resolver-2zpzp2bh.js → persistent-pty-fbbt1p90.js} +28 -28
  145. package/dist/chunks/{model-resolver-9ej1024d.js → persistent-pty-fd4whgj1.js} +15 -15
  146. package/dist/chunks/{model-resolver-fffv3p7h.js → persistent-pty-fffv3p7h.js} +1 -1
  147. package/dist/chunks/{model-resolver-042my71g.js → persistent-pty-fggnmsc4.js} +18 -18
  148. package/dist/chunks/{model-resolver-3dy2brb4.js → persistent-pty-fk3tbwms.js} +16 -16
  149. package/dist/chunks/{model-resolver-z9pdc6em.js → persistent-pty-fkdwm9b5.js} +16 -16
  150. package/dist/chunks/{model-resolver-256dg9vb.js → persistent-pty-fn8ks8sk.js} +4 -4
  151. package/dist/chunks/{model-resolver-59x0c00c.js → persistent-pty-fnx72q8e.js} +34 -34
  152. package/dist/chunks/{model-resolver-wzbm9yap.js → persistent-pty-fpe37385.js} +17 -17
  153. package/dist/chunks/{model-resolver-z7724tht.js → persistent-pty-fsmg7dz8.js} +14 -14
  154. package/dist/chunks/{model-resolver-kf7rszbb.js → persistent-pty-ftsvrs41.js} +30 -30
  155. package/dist/chunks/persistent-pty-fvd0rj3z.js +257 -0
  156. package/dist/chunks/{model-resolver-5c5bthfb.js → persistent-pty-fvkpm49k.js} +43 -43
  157. package/dist/chunks/{model-resolver-cabw4y3p.js → persistent-pty-fxyx2m2r.js} +6 -6
  158. package/dist/chunks/{model-resolver-26zk5kqv.js → persistent-pty-g0qn3exy.js} +11 -11
  159. package/dist/chunks/{model-resolver-g5h9c0rr.js → persistent-pty-g5h9c0rr.js} +2 -2
  160. package/dist/chunks/{model-resolver-yvktxnyk.js → persistent-pty-g5p6kgnn.js} +13 -13
  161. package/dist/chunks/{model-resolver-jzrjgn5s.js → persistent-pty-g6dbhsy2.js} +21 -21
  162. package/dist/chunks/{model-resolver-vmfhgzt5.js → persistent-pty-g7esga4v.js} +5 -5
  163. package/dist/chunks/{model-resolver-n3hhze48.js → persistent-pty-gc6gmd57.js} +19 -19
  164. package/dist/chunks/{model-resolver-8bkscwtx.js → persistent-pty-ge050bsd.js} +14 -14
  165. package/dist/chunks/{model-resolver-pacbbjc0.js → persistent-pty-gj8x1tda.js} +5 -5
  166. package/dist/chunks/{model-resolver-k0ykqcdp.js → persistent-pty-gkta77xp.js} +26 -26
  167. package/dist/chunks/{model-resolver-9e09nyr2.js → persistent-pty-gqyxmvm3.js} +35 -35
  168. package/dist/chunks/persistent-pty-grzehpz7.js +18 -0
  169. package/dist/chunks/{model-resolver-snwj5w21.js → persistent-pty-gz08a6qd.js} +1 -1
  170. package/dist/chunks/{model-resolver-j0b81h47.js → persistent-pty-h42ma301.js} +17 -17
  171. package/dist/chunks/{model-resolver-vn71xy6d.js → persistent-pty-h49tjgxv.js} +10 -10
  172. package/dist/chunks/{model-resolver-j7kazd1q.js → persistent-pty-h57qbt9v.js} +6 -6
  173. package/dist/chunks/{model-resolver-ejnxmkmt.js → persistent-pty-h8x3rwmh.js} +2 -2
  174. package/dist/chunks/{model-resolver-5jkzvvxq.js → persistent-pty-ha1j02re.js} +21 -21
  175. package/dist/chunks/{model-resolver-e1b6vpy5.js → persistent-pty-hbabaj69.js} +14 -14
  176. package/dist/chunks/{model-resolver-8mjwfqkh.js → persistent-pty-hbjmb8md.js} +6 -6
  177. package/dist/chunks/{model-resolver-8sttbfsr.js → persistent-pty-hqhqtbhg.js} +11 -11
  178. package/dist/chunks/{model-resolver-ehjrwymt.js → persistent-pty-hvmts6en.js} +27 -27
  179. package/dist/chunks/{model-resolver-j113cymg.js → persistent-pty-j113cymg.js} +1 -1
  180. package/dist/chunks/{model-resolver-qfjcwetg.js → persistent-pty-j15yj0h5.js} +16 -16
  181. package/dist/chunks/{model-resolver-xs05vffk.js → persistent-pty-j1yh4sgk.js} +13 -13
  182. package/dist/chunks/{model-resolver-kxeaxsag.js → persistent-pty-j8fhehe3.js} +7 -7
  183. package/dist/chunks/{model-resolver-8wc2fpae.js → persistent-pty-ja63h2sr.js} +5 -5
  184. package/dist/chunks/{model-resolver-dw589k72.js → persistent-pty-jbfg18k8.js} +24 -24
  185. package/dist/chunks/{model-resolver-jneg3k74.js → persistent-pty-jneg3k74.js} +1 -1
  186. package/dist/chunks/{model-resolver-dh9mz5xr.js → persistent-pty-jv13vvcg.js} +11 -11
  187. package/dist/chunks/{model-resolver-0d85nndc.js → persistent-pty-jw74enqw.js} +35 -35
  188. package/dist/chunks/{model-resolver-f5xnbmcd.js → persistent-pty-jxvpemrm.js} +50 -50
  189. package/dist/chunks/{model-resolver-snpgexks.js → persistent-pty-k1pq61t6.js} +45 -45
  190. package/dist/chunks/{model-resolver-k814nvkf.js → persistent-pty-k814nvkf.js} +1 -1
  191. package/dist/chunks/{model-resolver-9epsjbby.js → persistent-pty-kf3n0zsb.js} +11 -11
  192. package/dist/chunks/{model-resolver-qpj4fywd.js → persistent-pty-khr1vc7x.js} +20 -20
  193. package/dist/chunks/{model-resolver-nt5q7dy9.js → persistent-pty-kn420qbw.js} +19 -19
  194. package/dist/chunks/{model-resolver-m1714858.js → persistent-pty-m1714858.js} +1 -1
  195. package/dist/chunks/{model-resolver-186bq886.js → persistent-pty-m6ccv8cv.js} +16 -16
  196. package/dist/chunks/{model-resolver-5p1zsrt3.js → persistent-pty-m6nxwkyz.js} +1 -1
  197. package/dist/chunks/{model-resolver-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  198. package/dist/chunks/{model-resolver-maspj1v3.js → persistent-pty-maspj1v3.js} +1 -1
  199. package/dist/chunks/{model-resolver-249p08pd.js → persistent-pty-md3qpsr3.js} +6 -6
  200. package/dist/chunks/{model-resolver-tkmwn4n3.js → persistent-pty-mmkbt6v3.js} +9 -9
  201. package/dist/chunks/{model-resolver-917s922w.js → persistent-pty-mmwnf7h5.js} +18 -18
  202. package/dist/chunks/{model-resolver-k352a69z.js → persistent-pty-msan5q7r.js} +4 -4
  203. package/dist/chunks/{model-resolver-s6zqpwam.js → persistent-pty-mw7msr43.js} +21 -21
  204. package/dist/chunks/{model-resolver-n0p0277s.js → persistent-pty-n0p0277s.js} +1 -1
  205. package/dist/chunks/{model-resolver-nah043kf.js → persistent-pty-nah043kf.js} +1 -1
  206. package/dist/chunks/{model-resolver-mwk65ptt.js → persistent-pty-nc3280dk.js} +30 -30
  207. package/dist/chunks/{model-resolver-z49nhv4t.js → persistent-pty-njpcv6ga.js} +15 -15
  208. package/dist/chunks/{model-resolver-p015t6z3.js → persistent-pty-p015t6z3.js} +2 -2
  209. package/dist/chunks/{model-resolver-d4fqamkg.js → persistent-pty-p3ns8jke.js} +13 -13
  210. package/dist/chunks/{model-resolver-9rqahw18.js → persistent-pty-pczbwg7v.js} +5 -5
  211. package/dist/chunks/{model-resolver-q8rzw8xh.js → persistent-pty-pesbm1zb.js} +10 -10
  212. package/dist/chunks/{model-resolver-j440n9b6.js → persistent-pty-phjxmwhn.js} +21 -21
  213. package/dist/chunks/{model-resolver-rsmyvrz3.js → persistent-pty-pjs8qn0x.js} +24 -24
  214. package/dist/chunks/{model-resolver-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  215. package/dist/chunks/{model-resolver-e893v5n6.js → persistent-pty-pnr414s4.js} +21 -21
  216. package/dist/chunks/{model-resolver-hv07rj1n.js → persistent-pty-pykbr5hq.js} +14 -14
  217. package/dist/chunks/{model-resolver-4v4bfvma.js → persistent-pty-q17z9dx8.js} +5 -5
  218. package/dist/chunks/{model-resolver-v5d8y8eg.js → persistent-pty-q96z823n.js} +18 -18
  219. package/dist/chunks/{model-resolver-e12mrd8m.js → persistent-pty-q9yhf14s.js} +40 -40
  220. package/dist/chunks/{model-resolver-5k8yxqxr.js → persistent-pty-qgy371m4.js} +36 -36
  221. package/dist/chunks/{model-resolver-8jztxfpf.js → persistent-pty-qjgzc4b4.js} +4 -4
  222. package/dist/chunks/{model-resolver-r0yr0wbs.js → persistent-pty-r0yr0wbs.js} +1 -1
  223. package/dist/chunks/{model-resolver-0gka690g.js → persistent-pty-r1k9m3eb.js} +8 -8
  224. package/dist/chunks/{model-resolver-k7hnktg1.js → persistent-pty-r8qav4j0.js} +5 -5
  225. package/dist/chunks/{model-resolver-rb9dy4dg.js → persistent-pty-rb9dy4dg.js} +1 -1
  226. package/dist/chunks/{model-resolver-b5sgdy3n.js → persistent-pty-rdah1jex.js} +10 -10
  227. package/dist/chunks/{model-resolver-kfwqqrwd.js → persistent-pty-reectsvn.js} +28 -28
  228. package/dist/chunks/{model-resolver-v79kmtvw.js → persistent-pty-rjdr2w59.js} +17 -17
  229. package/dist/chunks/{model-resolver-g80tn5h1.js → persistent-pty-rk6acy23.js} +19 -19
  230. package/dist/chunks/{model-resolver-4dmmmd7w.js → persistent-pty-rqvbyf66.js} +18 -18
  231. package/dist/chunks/{model-resolver-s626qfae.js → persistent-pty-rrad2nt9.js} +4 -4
  232. package/dist/chunks/{model-resolver-rt5dr6hb.js → persistent-pty-rt5dr6hb.js} +1 -1
  233. package/dist/chunks/{model-resolver-83rat119.js → persistent-pty-rw3vattc.js} +3 -3
  234. package/dist/chunks/{model-resolver-tyfsk4mw.js → persistent-pty-s2bbvfew.js} +5 -5
  235. package/dist/chunks/{model-resolver-1qsx4797.js → persistent-pty-s56mqf4d.js} +9 -9
  236. package/dist/chunks/{model-resolver-mmx1mfjr.js → persistent-pty-s7kyse9r.js} +4 -4
  237. package/dist/chunks/{model-resolver-tw8wcj15.js → persistent-pty-s95241p9.js} +7 -7
  238. package/dist/chunks/{model-resolver-xj5vncmq.js → persistent-pty-sgy5bk4a.js} +30 -30
  239. package/dist/chunks/{model-resolver-g4n4wp2d.js → persistent-pty-skvb6hty.js} +5 -5
  240. package/dist/chunks/{model-resolver-sqjzf8x2.js → persistent-pty-sqjzf8x2.js} +1 -1
  241. package/dist/chunks/{model-resolver-6wq3ehfr.js → persistent-pty-sy012hfn.js} +5 -5
  242. package/dist/chunks/{model-resolver-avkwaw75.js → persistent-pty-szdqchb7.js} +9 -9
  243. package/dist/chunks/{model-resolver-yh4ym469.js → persistent-pty-t3qvsv4x.js} +4 -4
  244. package/dist/chunks/{model-resolver-c4vfmmrn.js → persistent-pty-t42gxy5r.js} +8 -8
  245. package/dist/chunks/{model-resolver-b5h3d3b4.js → persistent-pty-t4g57g0x.js} +28 -28
  246. package/dist/chunks/{model-resolver-ev24k3w5.js → persistent-pty-tay0mcsq.js} +7 -7
  247. package/dist/chunks/{model-resolver-tczq8hjw.js → persistent-pty-tczq8hjw.js} +1 -1
  248. package/dist/chunks/{model-resolver-vg0zp5sr.js → persistent-pty-tjb7g1kd.js} +12 -12
  249. package/dist/chunks/{model-resolver-tw8zr1ps.js → persistent-pty-tw8zr1ps.js} +1 -1
  250. package/dist/chunks/{model-resolver-twv2r8f4.js → persistent-pty-twv2r8f4.js} +2 -2
  251. package/dist/chunks/{model-resolver-v2r1d0zg.js → persistent-pty-v2r1d0zg.js} +1 -1
  252. package/dist/chunks/{model-resolver-sshe6cnz.js → persistent-pty-vd2fkr8n.js} +19 -19
  253. package/dist/chunks/{model-resolver-vd3b3yk9.js → persistent-pty-vd3b3yk9.js} +1 -1
  254. package/dist/chunks/{model-resolver-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  255. package/dist/chunks/{model-resolver-799ckdtf.js → persistent-pty-vgk61ywp.js} +9 -9
  256. package/dist/chunks/{model-resolver-spep79sh.js → persistent-pty-vzpstrvw.js} +28 -28
  257. package/dist/chunks/{model-resolver-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{model-resolver-fznmdakp.js → persistent-pty-w687dnns.js} +4 -4
  259. package/dist/chunks/{model-resolver-zkgq49d1.js → persistent-pty-w7zjqt6n.js} +4 -4
  260. package/dist/chunks/{model-resolver-j1y01s4s.js → persistent-pty-w8ghnhvg.js} +189 -189
  261. package/dist/chunks/{model-resolver-wakvkjy4.js → persistent-pty-wakvkjy4.js} +1 -1
  262. package/dist/chunks/{model-resolver-hdcqmdk3.js → persistent-pty-wb3scwf2.js} +24 -24
  263. package/dist/chunks/{model-resolver-ysdmcr0h.js → persistent-pty-wb4j7ppe.js} +18 -18
  264. package/dist/chunks/{model-resolver-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  265. package/dist/chunks/{model-resolver-r3hept05.js → persistent-pty-wgh1engb.js} +17 -17
  266. package/dist/chunks/{model-resolver-2yxcna2e.js → persistent-pty-wrevpsh3.js} +35 -35
  267. package/dist/chunks/{model-resolver-yzex6x75.js → persistent-pty-wwmj1kay.js} +20 -20
  268. package/dist/chunks/{model-resolver-65shdcb9.js → persistent-pty-x4gbert3.js} +7 -7
  269. package/dist/chunks/{model-resolver-r28byzty.js → persistent-pty-xh5r1497.js} +32 -32
  270. package/dist/chunks/{model-resolver-w8yd89gy.js → persistent-pty-xkhfjrgz.js} +3 -3
  271. package/dist/chunks/{model-resolver-r7qkw0sp.js → persistent-pty-xq1w8mg4.js} +12 -12
  272. package/dist/chunks/{model-resolver-ethxtnrp.js → persistent-pty-xw8kzvbj.js} +54 -54
  273. package/dist/chunks/{model-resolver-14enk98j.js → persistent-pty-xxcxpnax.js} +28 -28
  274. package/dist/chunks/{model-resolver-tw97zmqb.js → persistent-pty-y0f86df7.js} +13 -13
  275. package/dist/chunks/{model-resolver-h97v9g1b.js → persistent-pty-y7np224s.js} +6 -6
  276. package/dist/chunks/{model-resolver-0h5mky2z.js → persistent-pty-y9cdfkc4.js} +24 -24
  277. package/dist/chunks/{model-resolver-t7x5nw9y.js → persistent-pty-yayqpxs7.js} +19 -19
  278. package/dist/chunks/{model-resolver-yb20nhc3.js → persistent-pty-yb20nhc3.js} +1 -1
  279. package/dist/chunks/{model-resolver-288p6brk.js → persistent-pty-yk8k27y0.js} +24 -24
  280. package/dist/chunks/{model-resolver-tc5pmsfr.js → persistent-pty-yngw6wxf.js} +27 -27
  281. package/dist/chunks/{model-resolver-58t9v70a.js → persistent-pty-ypvpgzxc.js} +43 -43
  282. package/dist/chunks/{model-resolver-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{model-resolver-z38nccrw.js → persistent-pty-z38nccrw.js} +1 -1
  284. package/dist/chunks/{model-resolver-njnmff7p.js → persistent-pty-zf39jeyk.js} +18 -18
  285. package/dist/chunks/{model-resolver-zkg84ctx.js → persistent-pty-zkg84ctx.js} +1 -1
  286. package/dist/chunks/{model-resolver-kntpyapc.js → persistent-pty-zteabxmp.js} +1 -1
  287. package/dist/chunks/{model-resolver-fgr7hd3e.js → persistent-pty-ztffxed8.js} +12 -12
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +87 -87
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +214 -214
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +117 -117
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +94 -94
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +221 -221
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +9 -9
  428. package/dist/filesystem.js +102 -102
  429. package/dist/form.js +86 -86
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +87 -87
  432. package/dist/generate.js +109 -109
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +101 -101
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +91 -91
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +91 -91
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +109 -109
  473. package/dist/mcp/instructions.js +138 -138
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +101 -101
  479. package/dist/model-resolver.js +101 -101
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +100 -100
  482. package/dist/models-dev.js +109 -109
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +84 -84
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +111 -111
  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 +88 -88
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +78 -78
  493. package/dist/plugin/command.js +104 -104
  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 +333 -333
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +98 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +116 -116
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +125 -125
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +123 -123
  528. package/dist/plugin/provider/openai-context-caps.js +92 -92
  529. package/dist/plugin/provider/openai.js +118 -118
  530. package/dist/plugin/provider/opencode.js +103 -103
  531. package/dist/plugin/provider/openrouter.js +93 -93
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +81 -81
  534. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  535. package/dist/plugin/provider/sap-ai-core.js +93 -93
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  538. package/dist/plugin/provider/vercel.js +92 -92
  539. package/dist/plugin/provider/vllm.js +123 -123
  540. package/dist/plugin/provider/xai.js +93 -93
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +171 -171
  543. package/dist/plugin/sdk.js +78 -78
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +134 -134
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +352 -352
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +88 -88
  551. package/dist/plugin/vcs/hg.js +88 -88
  552. package/dist/plugin/verbosity.js +95 -95
  553. package/dist/plugin/warming.js +114 -114
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +6 -6
  561. package/dist/plugin.js +229 -229
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +90 -90
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +95 -95
  569. package/dist/reference/instructions.js +91 -91
  570. package/dist/reference.js +93 -93
  571. package/dist/repository-cache.js +83 -83
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +99 -99
  575. package/dist/rpc.js +88 -88
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +76 -76
  579. package/dist/session/compaction.js +136 -136
  580. package/dist/session/context.js +164 -164
  581. package/dist/session/diff.js +90 -90
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +130 -130
  587. package/dist/session/generate.js +166 -166
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +93 -93
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +81 -81
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +99 -99
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +7 -7
  598. package/dist/session/move.js +132 -132
  599. package/dist/session/projector.js +91 -91
  600. package/dist/session/prompt.js +107 -107
  601. package/dist/session/recent-text.js +1 -1
  602. package/dist/session/revert.js +96 -96
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +231 -231
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +102 -102
  608. package/dist/session/runner/publish-llm-event.js +116 -116
  609. package/dist/session/runner/retry.js +3 -3
  610. package/dist/session/runner/step.js +128 -128
  611. package/dist/session/runner/to-llm-message.js +14 -14
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +165 -165
  614. package/dist/session/shell.js +130 -130
  615. package/dist/session/skill.js +105 -105
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +212 -212
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +168 -168
  623. package/dist/session/to-session-error.js +114 -114
  624. package/dist/session/transfer.js +217 -217
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +218 -218
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +9 -9
  631. package/dist/shell.js +132 -132
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +95 -95
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +139 -139
  640. package/dist/tool/plugin/edit.js +122 -122
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +126 -126
  643. package/dist/tool/plugin/grep.js +126 -126
  644. package/dist/tool/plugin/mcp-resource.js +126 -126
  645. package/dist/tool/plugin/opencode.js +111 -111
  646. package/dist/tool/plugin/patch.js +124 -124
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +127 -127
  649. package/dist/tool/plugin/shell.js +215 -215
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/todo.js +138 -138
  653. package/dist/tool/plugin/webfetch.js +113 -113
  654. package/dist/tool/plugin/websearch.js +114 -114
  655. package/dist/tool/plugin/write.js +124 -124
  656. package/dist/tool/read-filesystem.js +104 -104
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +7 -7
  659. package/dist/tool.js +12 -12
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +1 -1
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +93 -93
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +88 -88
  679. package/dist/websearch.js +82 -82
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +81 -81
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +84 -84
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +98 -98
  690. package/package.json +8 -8
  691. package/dist/chunks/model-resolver-267g1ppg.js +0 -257
  692. package/dist/chunks/model-resolver-me0dhgxs.js +0 -18
  693. package/dist/chunks/model-resolver-qyndfgfp.js +0 -523
  694. package/dist/chunks/model-resolver-zk2w4fb9.js +0 -26
  695. /package/dist/chunks/{model-resolver-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{model-resolver-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{model-resolver-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{model-resolver-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{model-resolver-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{model-resolver-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{model-resolver-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{model-resolver-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{model-resolver-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{model-resolver-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  705. /package/dist/chunks/{model-resolver-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{model-resolver-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{model-resolver-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{model-resolver-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{model-resolver-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{model-resolver-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{model-resolver-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  712. /package/dist/chunks/{model-resolver-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{model-resolver-5fjb7ams.js → persistent-pty-5fjb7ams.js} +0 -0
  714. /package/dist/chunks/{model-resolver-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  715. /package/dist/chunks/{model-resolver-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
  716. /package/dist/chunks/{model-resolver-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{model-resolver-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{model-resolver-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  719. /package/dist/chunks/{model-resolver-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
  720. /package/dist/chunks/{model-resolver-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{model-resolver-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{model-resolver-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  723. /package/dist/chunks/{model-resolver-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{model-resolver-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{model-resolver-a058387c.js → persistent-pty-a058387c.js} +0 -0
  726. /package/dist/chunks/{model-resolver-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{model-resolver-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{model-resolver-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{model-resolver-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{model-resolver-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{model-resolver-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{model-resolver-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{model-resolver-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{model-resolver-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{model-resolver-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{model-resolver-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{model-resolver-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{model-resolver-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{model-resolver-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  740. /package/dist/chunks/{model-resolver-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{model-resolver-e3qxr5gk.js → persistent-pty-e3qxr5gk.js} +0 -0
  742. /package/dist/chunks/{model-resolver-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{model-resolver-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{model-resolver-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{model-resolver-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{model-resolver-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{model-resolver-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{model-resolver-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{model-resolver-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{model-resolver-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{model-resolver-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{model-resolver-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  753. /package/dist/chunks/{model-resolver-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{model-resolver-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  755. /package/dist/chunks/{model-resolver-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{model-resolver-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  757. /package/dist/chunks/{model-resolver-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{model-resolver-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{model-resolver-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{model-resolver-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{model-resolver-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{model-resolver-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{model-resolver-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{model-resolver-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
  765. /package/dist/chunks/{model-resolver-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{model-resolver-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{model-resolver-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{model-resolver-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{model-resolver-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{model-resolver-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{model-resolver-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{model-resolver-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{model-resolver-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{model-resolver-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{model-resolver-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{model-resolver-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{model-resolver-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{model-resolver-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{model-resolver-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{model-resolver-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{model-resolver-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{model-resolver-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{model-resolver-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{model-resolver-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{model-resolver-wjj7prxr.js → persistent-pty-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{model-resolver-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{model-resolver-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{model-resolver-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  789. /package/dist/chunks/{model-resolver-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{model-resolver-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{model-resolver-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{model-resolver-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{model-resolver-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{model-resolver-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -2,45 +2,45 @@ import {
2
2
  NotFound3,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./model-resolver-zkg84ctx.js";
5
+ } from "./persistent-pty-zkg84ctx.js";
6
6
  import {
7
- Service81
8
- } from "./model-resolver-r3hept05.js";
7
+ Service79
8
+ } from "./persistent-pty-wgh1engb.js";
9
9
  import {
10
- Service55
11
- } from "./model-resolver-0h5mky2z.js";
10
+ Service56
11
+ } from "./persistent-pty-y9cdfkc4.js";
12
12
  import {
13
13
  Service16
14
- } from "./model-resolver-zj7p4na3.js";
14
+ } from "./persistent-pty-bhyfhejz.js";
15
15
  import {
16
- Service40,
16
+ Service17,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./model-resolver-de152cyr.js";
19
+ } from "./persistent-pty-eh8nrxr4.js";
20
20
  import {
21
- Service66
22
- } from "./model-resolver-snpgexks.js";
21
+ Service65
22
+ } from "./persistent-pty-k1pq61t6.js";
23
23
  import {
24
- Service36,
24
+ Service13,
25
25
  resolvePath2
26
- } from "./model-resolver-gnqfcwar.js";
26
+ } from "./persistent-pty-c3qhhm1y.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./model-resolver-6prwharc.js";
29
+ } from "./persistent-pty-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./model-resolver-9rqn6x4v.js";
32
+ } from "./persistent-pty-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input13,
39
- Output: () => Output9,
38
+ Input: () => Input2,
39
+ Output: () => Output2,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin49,
42
- name: () => name13,
43
- toModelContent: () => toModelContent6
41
+ Plugin: () => Plugin38,
42
+ name: () => name2,
43
+ toModelContent: () => toModelContent2
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name13 = "patch";
89
- var Input13 = Schema.Struct({
88
+ var name2 = "patch";
89
+ var Input2 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output9 = Schema.Struct({
99
+ var Output2 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent6 = (output) => [
103
+ var toModelContent2 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin49 = {
108
+ var Plugin38 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service55;
112
- const access = yield* Service36;
113
- const fileMutation = yield* Service40;
111
+ const environment = yield* Service56;
112
+ const access = yield* Service13;
113
+ const fileMutation = yield* Service17;
114
114
  const formatter = yield* Service16;
115
- const location = yield* Service81;
116
- const permission = yield* Service66;
115
+ const location = yield* Service79;
116
+ const permission = yield* Service65;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name13,
118
+ name: name2,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input13,
122
- output: Output9,
121
+ input: Input2,
122
+ output: Output2,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin49 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent6(output),
269
+ content: toModelContent2(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name13, Input13, Applied2, Output9, toModelContent6, Plugin49, exports_patch };
329
+ export { name2, Input2, Applied2, Output2, toModelContent2, Plugin38, exports_patch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./model-resolver-6q2bdcd1.js";
3
+ } from "./persistent-pty-6q2bdcd1.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./model-resolver-8jztxfpf.js";
3
+ } from "./persistent-pty-qjgzc4b4.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service7,
13
- node: () => node8
12
+ Service: () => Service4,
13
+ node: () => node6
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service7 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service4 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service7, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service4, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service7.of({
27
+ return Service4.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node8 = makeGlobalNode({ service: Service7, layer, deps: [Npm.node] });
52
+ var node6 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
53
53
 
54
- export { Service7, node8, exports_update };
54
+ export { Service4, node6, exports_update };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  match2
3
- } from "./model-resolver-z38nccrw.js";
3
+ } from "./persistent-pty-z38nccrw.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/managed-policy.ts
9
9
  var exports_managed_policy = {};
10
10
  __export(exports_managed_policy, {
11
11
  ManagedPolicy: () => exports_managed_policy,
12
- Service: () => Service37,
12
+ Service: () => Service14,
13
13
  decision: () => decision2,
14
- layer: () => layer17,
15
- node: () => node40,
14
+ layer: () => layer9,
15
+ node: () => node16,
16
16
  statements: () => statements2
17
17
  });
18
18
  import { isDeepStrictEqual } from "node:util";
19
19
  import { Context, Effect, Layer, PubSub, Stream } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
 
22
- class Service37 extends Context.Service()("@opencode/ManagedPolicy") {
22
+ class Service14 extends Context.Service()("@opencode/ManagedPolicy") {
23
23
  }
24
- var layer17 = Layer.effect(Service37, Effect.gen(function* () {
24
+ var layer9 = Layer.effect(Service14, Effect.gen(function* () {
25
25
  const changes = yield* PubSub.unbounded();
26
26
  const state = { current: { statements: [] } };
27
- return Service37.of({
27
+ return Service14.of({
28
28
  changes: () => Stream.fromPubSub(changes),
29
29
  current: () => state.current,
30
30
  set: (next) => Effect.gen(function* () {
@@ -36,7 +36,7 @@ var layer17 = Layer.effect(Service37, Effect.gen(function* () {
36
36
  })
37
37
  });
38
38
  }));
39
- var node40 = makeGlobalNode({ service: Service37, layer: layer17, deps: [] });
39
+ var node16 = makeGlobalNode({ service: Service14, layer: layer9, deps: [] });
40
40
  function statements2(entries, organization) {
41
41
  return [
42
42
  ...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
50
50
  return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
51
51
  }
52
52
 
53
- export { Service37, layer17, node40, statements2, decision2, exports_managed_policy };
53
+ export { Service14, layer9, node16, statements2, decision2, exports_managed_policy };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./model-resolver-kc3bzs90.js";
4
+ } from "./persistent-pty-68ed1heq.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./model-resolver-1ep2p91f.js";
7
+ } from "./persistent-pty-1ep2p91f.js";
8
8
  import {
9
9
  __export
10
- } from "./model-resolver-9rqn6x4v.js";
10
+ } from "./persistent-pty-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  ConflictError: () => ConflictError2,
16
- ID: () => ID8,
17
- Info: () => Info12,
18
- NotFoundError: () => NotFoundError8,
16
+ ID: () => ID9,
17
+ Info: () => Info13,
18
+ NotFoundError: () => NotFoundError9,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service67,
21
- node: () => node71
20
+ Service: () => Service66,
21
+ node: () => node70
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { isSqlError } from "effect/sql/SqlError";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID8 = PermissionSaved.ID;
29
- var Info12 = PermissionSaved.Info;
28
+ var ID9 = PermissionSaved.ID;
29
+ var Info13 = PermissionSaved.Info;
30
30
 
31
- class NotFoundError8 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
- id: ID8
31
+ class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
32
+ id: ID9
33
33
  }) {
34
34
  }
35
35
 
36
36
  class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
37
- id: ID8,
37
+ id: ID9,
38
38
  action: Schema.String,
39
39
  resource: Schema.String
40
40
  }) {
41
41
  }
42
42
 
43
- class Service67 extends Context.Service()("@opencode/PermissionSaved") {
43
+ class Service66 extends Context.Service()("@opencode/PermissionSaved") {
44
44
  }
45
- var layer = Layer.effect(Service67, Effect.gen(function* () {
45
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
46
46
  const db = (yield* Service86).db;
47
47
  const list = Effect.fnUntraced(function* (input) {
48
48
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
52
52
  if (!input.resources.length)
53
53
  return;
54
54
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
55
- id: ID8.create(),
55
+ id: ID9.create(),
56
56
  project_id: input.projectID,
57
57
  action: input.action,
58
58
  resource
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
61
61
  const update = Effect.fn("PermissionSaved.update")(function* (input) {
62
62
  const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
63
63
  if (!current)
64
- return yield* new NotFoundError8({ id: input.id });
64
+ return yield* new NotFoundError9({ id: input.id });
65
65
  const action = input.action ?? current.action;
66
66
  const resource = input.resource ?? current.resource;
67
67
  const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
68
68
  if (!updated)
69
- return yield* new NotFoundError8({ id: input.id });
69
+ return yield* new NotFoundError9({ id: input.id });
70
70
  return info(updated);
71
71
  });
72
72
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
73
73
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
74
74
  });
75
- return Service67.of({ list, add, update, remove });
75
+ return Service66.of({ list, add, update, remove });
76
76
  }));
77
77
  var isUniqueViolation = (error) => {
78
78
  const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
@@ -90,6 +90,6 @@ var info = (row) => ({
90
90
  updated: DateTime.makeUnsafe(row.time_updated)
91
91
  }
92
92
  });
93
- var node71 = makeGlobalNode({ service: Service67, layer, deps: [node90] });
93
+ var node70 = makeGlobalNode({ service: Service66, layer, deps: [node90] });
94
94
 
95
- export { ID8, Info12, NotFoundError8, ConflictError2, Service67, node71, exports_saved };
95
+ export { ID9, Info13, NotFoundError9, ConflictError2, Service66, node70, exports_saved };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service85
3
- } from "./model-resolver-9chjwwnc.js";
3
+ } from "./persistent-pty-6ydxn510.js";
4
4
  import {
5
- Service72,
6
- Event13
7
- } from "./model-resolver-njnmff7p.js";
5
+ Service76,
6
+ Event15
7
+ } from "./persistent-pty-zf39jeyk.js";
8
8
  import {
9
9
  __export
10
- } from "./model-resolver-9rqn6x4v.js";
10
+ } from "./persistent-pty-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin20,
15
+ Plugin: () => Plugin2,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin20 = define({
20
+ var Plugin2 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  const bus = yield* Service85;
24
- const wellknown = yield* Service72;
24
+ const wellknown = yield* Service76;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin20 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin20, exports_plugin };
48
+ export { Plugin2, exports_plugin };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./model-resolver-h97v9g1b.js";
3
+ } from "./persistent-pty-y7np224s.js";
4
4
  import {
5
5
  apply3
6
- } from "./model-resolver-83rat119.js";
6
+ } from "./persistent-pty-rw3vattc.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./persistent-pty-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
@@ -0,0 +1,26 @@
1
+ import {
2
+ Plugin10
3
+ } from "./persistent-pty-3ntfh06s.js";
4
+ import {
5
+ Plugin11
6
+ } from "./persistent-pty-cpkbxa7x.js";
7
+ import {
8
+ Plugin8
9
+ } from "./persistent-pty-d9jre66y.js";
10
+ import {
11
+ Plugin9
12
+ } from "./persistent-pty-8ze93nwk.js";
13
+ import {
14
+ Plugin3
15
+ } from "./persistent-pty-esf8vws2.js";
16
+
17
+ // src/plugin/websearch/index.ts
18
+ var WebSearchPlugins2 = [
19
+ Plugin10,
20
+ Plugin11,
21
+ Plugin8,
22
+ Plugin9,
23
+ Plugin3
24
+ ];
25
+
26
+ export { WebSearchPlugins2 };
@@ -1,28 +1,28 @@
1
1
  import {
2
- ID11,
2
+ ID13,
3
3
  mergeOverlay2
4
- } from "./model-resolver-xj5vncmq.js";
4
+ } from "./persistent-pty-sgy5bk4a.js";
5
5
  import {
6
- ID10,
6
+ ID12,
7
7
  VariantID2,
8
- Info19,
8
+ Info21,
9
9
  compatibility2
10
- } from "./model-resolver-kf7rszbb.js";
10
+ } from "./persistent-pty-ftsvrs41.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./persistent-pty-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models = {};
17
- __export(exports_models, {
18
- ModalModels: () => exports_models,
19
- derive: () => derive2,
20
- get: () => get2,
21
- load: () => load2
16
+ var exports_models2 = {};
17
+ __export(exports_models2, {
18
+ ModalModels: () => exports_models2,
19
+ derive: () => derive3,
20
+ get: () => get3,
21
+ load: () => load3
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
25
- var providerID = ID11.make("modal");
25
+ var providerID = ID13.make("modal");
26
26
  var ReasoningOption = Schema.Struct({
27
27
  type: Schema.Literal("effort"),
28
28
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get2(baseURL, apiKey, existing) {
58
- return derive2(baseURL, await load2(baseURL, apiKey), existing);
57
+ async function get3(baseURL, apiKey, existing) {
58
+ return derive3(baseURL, await load3(baseURL, apiKey), existing);
59
59
  }
60
- async function load2(baseURL, apiKey) {
60
+ async function load3(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,12 +71,12 @@ async function load2(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive2(baseURL, remote, existing) {
74
+ function derive3(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
78
- const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
- const id = ID10.make(item.id);
78
+ const template = templates.get(ID12.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
79
+ const id = ID12.make(item.id);
80
80
  result.set(id, build(id, item, baseURL, template));
81
81
  }
82
82
  return result;
@@ -94,10 +94,10 @@ function limit(value, fallback) {
94
94
  function build(id, remote, baseURL, previous) {
95
95
  const cost = previous?.cost[0];
96
96
  const input = previous?.limit.input;
97
- return Info19.make({
98
- ...Info19.default(providerID, id),
97
+ return Info21.make({
98
+ ...Info21.default(providerID, id),
99
99
  id,
100
- modelID: ID10.make(remote.id),
100
+ modelID: ID12.make(remote.id),
101
101
  providerID,
102
102
  name: remote.name ?? previous?.name ?? remote.id,
103
103
  family: previous?.family,
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get2, load2, derive2, exports_models };
147
+ export { get3, load3, derive3, exports_models2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-z5v4ffb3.js";
3
+ } from "./persistent-pty-z5v4ffb3.js";
4
4
  import {
5
- Service81
6
- } from "./model-resolver-r3hept05.js";
5
+ Service79
6
+ } from "./persistent-pty-wgh1engb.js";
7
7
  import {
8
- Service36
9
- } from "./model-resolver-gnqfcwar.js";
8
+ Service13
9
+ } from "./persistent-pty-c3qhhm1y.js";
10
10
  import {
11
- Service12
12
- } from "./model-resolver-nt5q7dy9.js";
11
+ Service11
12
+ } from "./persistent-pty-kn420qbw.js";
13
13
  import {
14
14
  NotFound3
15
- } from "./model-resolver-zkg84ctx.js";
15
+ } from "./persistent-pty-zkg84ctx.js";
16
16
  import {
17
17
  BinaryFileError2,
18
18
  MediaIngestLimitError2,
@@ -22,26 +22,26 @@ import {
22
22
  FileContent2,
23
23
  TextPage2,
24
24
  ListPage2,
25
- Service25
26
- } from "./model-resolver-g80tn5h1.js";
25
+ Service41
26
+ } from "./persistent-pty-rk6acy23.js";
27
27
  import {
28
28
  __export
29
- } from "./model-resolver-9rqn6x4v.js";
29
+ } from "./persistent-pty-9rqn6x4v.js";
30
30
 
31
31
  // src/tool/plugin/read.ts
32
32
  var exports_read = {};
33
33
  __export(exports_read, {
34
- Input: () => Input5,
35
- Plugin: () => Plugin40,
34
+ Input: () => Input10,
35
+ Plugin: () => Plugin47,
36
36
  ReadTool: () => exports_read,
37
- name: () => name5,
38
- toModelContent: () => toModelContent2
37
+ name: () => name10,
38
+ toModelContent: () => toModelContent5
39
39
  });
40
40
  import { basename, dirname, join } from "path";
41
41
  import { ToolFailure } from "@opencode/ai";
42
42
  import { Effect, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
- var name5 = "read";
44
+ var name10 = "read";
45
45
  var FILENAME = "AGENTS.md";
46
46
  var LocationInput = Schema.Struct({
47
47
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
52
52
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
53
53
  })
54
54
  });
55
- var Input5 = LocationInput;
55
+ var Input10 = LocationInput;
56
56
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
57
- var Plugin40 = {
57
+ var Plugin47 = {
58
58
  id: "opencode.tool.read",
59
59
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
60
- const reader = yield* Service25;
61
- const access = yield* Service36;
62
- const sessionInstructions = yield* Service12;
60
+ const reader = yield* Service41;
61
+ const access = yield* Service13;
62
+ const sessionInstructions = yield* Service11;
63
63
  const fs = yield* FSUtil.Service;
64
- const location = yield* Service81;
64
+ const location = yield* Service79;
65
65
  yield* ctx.tool.transform((editor) => editor.add({
66
- name: name5,
66
+ name: name10,
67
67
  options: { codemode: false },
68
68
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
69
- input: Input5,
69
+ input: Input10,
70
70
  output: Output,
71
71
  execute: (input, context) => {
72
72
  return Effect.gen(function* () {
@@ -110,7 +110,7 @@ var Plugin40 = {
110
110
  return { output: result.content, path: result.path };
111
111
  }).pipe(Effect.map((result) => ({
112
112
  output: result.output,
113
- content: toModelContent2(result.path, input.offset, result.output),
113
+ content: toModelContent5(result.path, input.offset, result.output),
114
114
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
115
115
  })), Effect.mapError((error) => {
116
116
  if (error instanceof ToolFailure)
@@ -143,7 +143,7 @@ ${suggestions.join(`
143
143
  });
144
144
  })
145
145
  };
146
- var toModelContent2 = (path, offset, output) => {
146
+ var toModelContent5 = (path, offset, output) => {
147
147
  if (output.type === "file" && output.encoding === "base64")
148
148
  return [
149
149
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -179,4 +179,4 @@ var toModelContent2 = (path, offset, output) => {
179
179
  `);
180
180
  };
181
181
 
182
- export { name5, Input5, Plugin40, toModelContent2, exports_read };
182
+ export { name10, Input10, Plugin47, toModelContent5, exports_read };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/source-directory.ts
6
6
  var exports_source_directory = {};