@opencode/core 0.0.0-dev-21651 → 0.0.0-dev-21661

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 (791) 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 +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{persistent-pty-xx92f0z9.js → model-retry-09pgmfn5.js} +3 -3
  8. package/dist/chunks/{persistent-pty-jc99n3kj.js → model-retry-0eaaaj4x.js} +18 -18
  9. package/dist/chunks/{persistent-pty-2hep2db8.js → model-retry-0etvtzr7.js} +11 -11
  10. package/dist/chunks/{persistent-pty-dkq45v8d.js → model-retry-0gka690g.js} +6 -6
  11. package/dist/chunks/{persistent-pty-ypqy3h3f.js → model-retry-0qev6pn3.js} +13 -13
  12. package/dist/chunks/{persistent-pty-8xz0jfv3.js → model-retry-15b56cgm.js} +6 -6
  13. package/dist/chunks/{persistent-pty-tg1vr1qt.js → model-retry-160yv0cs.js} +8 -8
  14. package/dist/chunks/{persistent-pty-5kfkg5r8.js → model-retry-16z8xvrr.js} +5 -5
  15. package/dist/chunks/{persistent-pty-rmt6m6se.js → model-retry-18g90bpv.js} +5 -5
  16. package/dist/chunks/{persistent-pty-cn8x8bav.js → model-retry-1gde04cj.js} +9 -9
  17. package/dist/chunks/{persistent-pty-7yz8t82k.js → model-retry-1gv4f02v.js} +5 -5
  18. package/dist/chunks/{persistent-pty-zkvx2ye6.js → model-retry-1pd714jw.js} +18 -18
  19. package/dist/chunks/{persistent-pty-s2dg58v9.js → model-retry-1q6rtcwx.js} +11 -11
  20. package/dist/chunks/{persistent-pty-vxsjar9r.js → model-retry-1rpbm281.js} +7 -7
  21. package/dist/chunks/{persistent-pty-9e7skq3b.js → model-retry-1x14vdzp.js} +36 -36
  22. package/dist/chunks/{persistent-pty-1x2knyw4.js → model-retry-1x2knyw4.js} +1 -1
  23. package/dist/chunks/{persistent-pty-79fsmkt2.js → model-retry-20bsrc0x.js} +10 -10
  24. package/dist/chunks/{persistent-pty-vm0wcjea.js → model-retry-20nwq5j7.js} +9 -9
  25. package/dist/chunks/{persistent-pty-10jwkg0d.js → model-retry-2352cqpm.js} +13 -13
  26. package/dist/chunks/{persistent-pty-1ep2p91f.js → model-retry-27w5k9zf.js} +2 -2
  27. package/dist/chunks/{persistent-pty-rf77k6n7.js → model-retry-295s1tfa.js} +21 -21
  28. package/dist/chunks/{persistent-pty-p0tsr9h6.js → model-retry-2azy8kv6.js} +4 -4
  29. package/dist/chunks/{persistent-pty-msgnwe08.js → model-retry-2wmk5873.js} +4 -4
  30. package/dist/chunks/{persistent-pty-2z1j29yd.js → model-retry-2z1j29yd.js} +1 -1
  31. package/dist/chunks/{persistent-pty-799ckdtf.js → model-retry-32s59e8p.js} +9 -9
  32. package/dist/chunks/{persistent-pty-etps9a87.js → model-retry-33jrma66.js} +16 -16
  33. package/dist/chunks/{persistent-pty-ayjs7tqn.js → model-retry-3cbjf1nt.js} +2 -2
  34. package/dist/chunks/{persistent-pty-3hepkmqq.js → model-retry-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{persistent-pty-3nnrz6f6.js → model-retry-3nnrz6f6.js} +1 -1
  36. package/dist/chunks/{persistent-pty-m8qqb4k3.js → model-retry-3x6mzmtb.js} +29 -29
  37. package/dist/chunks/{persistent-pty-5enarcya.js → model-retry-40za9wsf.js} +6 -6
  38. package/dist/chunks/{persistent-pty-w7s37af3.js → model-retry-4efv169t.js} +4 -4
  39. package/dist/chunks/{persistent-pty-mqpc6sp9.js → model-retry-4eyfa5bt.js} +14 -14
  40. package/dist/chunks/{persistent-pty-0vawvjhj.js → model-retry-4fzjj0zw.js} +6 -6
  41. package/dist/chunks/{persistent-pty-vt63w9ze.js → model-retry-4j6ygzg0.js} +17 -17
  42. package/dist/chunks/{persistent-pty-qwe9t09h.js → model-retry-4kxrtmfk.js} +34 -34
  43. package/dist/chunks/{persistent-pty-b3dt0wfc.js → model-retry-4nh7jqqy.js} +78 -78
  44. package/dist/chunks/{persistent-pty-pb7j0m6g.js → model-retry-4p63kbz0.js} +19 -19
  45. package/dist/chunks/{persistent-pty-4v008n1t.js → model-retry-4v008n1t.js} +1 -1
  46. package/dist/chunks/{persistent-pty-4xvmh7wp.js → model-retry-4xvmh7wp.js} +3 -3
  47. package/dist/chunks/{persistent-pty-ep8g8f2q.js → model-retry-4z2d5fre.js} +17 -17
  48. package/dist/chunks/{persistent-pty-18qnwgya.js → model-retry-504h1h2p.js} +5 -5
  49. package/dist/chunks/{persistent-pty-hsn14kaz.js → model-retry-5bnhtwbz.js} +50 -50
  50. package/dist/chunks/{persistent-pty-26d30kmm.js → model-retry-5bwswyjb.js} +28 -28
  51. package/dist/chunks/{persistent-pty-5m9w47nd.js → model-retry-5m9w47nd.js} +1 -1
  52. package/dist/chunks/{persistent-pty-w2jp9fqe.js → model-retry-5ntvbkr3.js} +22 -22
  53. package/dist/chunks/{persistent-pty-jfjbts63.js → model-retry-5r72z9dp.js} +8 -8
  54. package/dist/chunks/{persistent-pty-cmtp12gq.js → model-retry-5r8en0fy.js} +7 -7
  55. package/dist/chunks/{persistent-pty-b25rcpjn.js → model-retry-5v7kgtbj.js} +5 -5
  56. package/dist/chunks/{persistent-pty-j975cw6z.js → model-retry-61wyp4gr.js} +4 -4
  57. package/dist/chunks/{persistent-pty-6esdw8yj.js → model-retry-6esdw8yj.js} +1 -1
  58. package/dist/chunks/{persistent-pty-14x9rdgq.js → model-retry-6fshephh.js} +21 -21
  59. package/dist/chunks/{persistent-pty-6pjqjmy2.js → model-retry-6pjqjmy2.js} +1 -1
  60. package/dist/chunks/{persistent-pty-4dzz3k2c.js → model-retry-6pk7avk3.js} +13 -13
  61. package/dist/chunks/{persistent-pty-nbtna00v.js → model-retry-6z7s29v1.js} +24 -24
  62. package/dist/chunks/{persistent-pty-76cb1hcw.js → model-retry-76cb1hcw.js} +1 -1
  63. package/dist/chunks/{persistent-pty-7bmhse3q.js → model-retry-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{persistent-pty-f2m57aq3.js → model-retry-7cy37jqv.js} +7 -7
  65. package/dist/chunks/{persistent-pty-qkzpeykj.js → model-retry-7d4vabvg.js} +25 -25
  66. package/dist/chunks/{persistent-pty-jefvzq89.js → model-retry-7gq17r0e.js} +11 -11
  67. package/dist/chunks/{persistent-pty-4jq3hvv0.js → model-retry-7pg8rm12.js} +8 -8
  68. package/dist/chunks/{persistent-pty-4b0snw21.js → model-retry-7vrs0mxf.js} +14 -14
  69. package/dist/chunks/{persistent-pty-7w2ypzdf.js → model-retry-7w2ypzdf.js} +1 -1
  70. package/dist/chunks/{persistent-pty-qqef8819.js → model-retry-7xrq36hz.js} +34 -34
  71. package/dist/chunks/{persistent-pty-66hjg21n.js → model-retry-88wp77t0.js} +9 -9
  72. package/dist/chunks/{persistent-pty-tndygt87.js → model-retry-8gpczyd8.js} +7 -7
  73. package/dist/chunks/{persistent-pty-qjgzc4b4.js → model-retry-8jztxfpf.js} +4 -4
  74. package/dist/chunks/{persistent-pty-3kdbrncp.js → model-retry-8wc2fpae.js} +5 -5
  75. package/dist/chunks/{persistent-pty-8wtp7s3z.js → model-retry-8wtp7s3z.js} +1 -1
  76. package/dist/chunks/{persistent-pty-2f50b9jg.js → model-retry-8zmpysdb.js} +1 -1
  77. package/dist/chunks/{persistent-pty-91rj84md.js → model-retry-91rj84md.js} +1 -1
  78. package/dist/chunks/{persistent-pty-6g0s59t4.js → model-retry-945mzj2f.js} +14 -14
  79. package/dist/chunks/{persistent-pty-epts1v3z.js → model-retry-95x7pe01.js} +2 -2
  80. package/dist/chunks/{persistent-pty-k0c2abhw.js → model-retry-9abfe0c3.js} +12 -12
  81. package/dist/chunks/{persistent-pty-yte8j0g9.js → model-retry-9gzd5sdz.js} +11 -11
  82. package/dist/chunks/{persistent-pty-z5dq5ktq.js → model-retry-9wbkt707.js} +25 -25
  83. package/dist/chunks/{persistent-pty-3z6cn8x0.js → model-retry-a0ze7ap3.js} +13 -13
  84. package/dist/chunks/{persistent-pty-5r569r17.js → model-retry-a634j94t.js} +7 -7
  85. package/dist/chunks/{persistent-pty-kgeqanye.js → model-retry-a6zfrhwy.js} +15 -15
  86. package/dist/chunks/{persistent-pty-04qzb6ng.js → model-retry-a8rk6bya.js} +15 -15
  87. package/dist/chunks/{persistent-pty-0gxwnce6.js → model-retry-adfgt62e.js} +11 -11
  88. package/dist/chunks/{persistent-pty-034tev2y.js → model-retry-aj7mw0zk.js} +2 -2
  89. package/dist/chunks/{persistent-pty-evvj0048.js → model-retry-akeabbgf.js} +6 -6
  90. package/dist/chunks/{persistent-pty-xcawzme1.js → model-retry-antzfpbp.js} +20 -20
  91. package/dist/chunks/{persistent-pty-27zy431c.js → model-retry-aqtvbfp8.js} +4 -4
  92. package/dist/chunks/{persistent-pty-b0mv4wxm.js → model-retry-b0mv4wxm.js} +2 -2
  93. package/dist/chunks/{persistent-pty-b6vsg801.js → model-retry-b6vsg801.js} +2 -2
  94. package/dist/chunks/{persistent-pty-h1fcnfrv.js → model-retry-bdhbhy6a.js} +11 -11
  95. package/dist/chunks/{persistent-pty-k6e6yg7w.js → model-retry-bdv51ks6.js} +41 -41
  96. package/dist/chunks/{persistent-pty-wjfsv5vx.js → model-retry-bh48jfkc.js} +176 -176
  97. package/dist/chunks/{persistent-pty-ar2j3j0f.js → model-retry-bjhzkqyk.js} +4 -4
  98. package/dist/chunks/{persistent-pty-bstexjd6.js → model-retry-bstexjd6.js} +1 -1
  99. package/dist/chunks/{persistent-pty-sd1t0gyg.js → model-retry-btsa3r6q.js} +1 -1
  100. package/dist/chunks/{persistent-pty-c3cfh5w6.js → model-retry-c3cfh5w6.js} +2 -2
  101. package/dist/chunks/{persistent-pty-c4970w7t.js → model-retry-c4970w7t.js} +1 -1
  102. package/dist/chunks/{persistent-pty-s6p20e1k.js → model-retry-c5m2a8vb.js} +8 -8
  103. package/dist/chunks/{persistent-pty-kedzwwnr.js → model-retry-cfkc8wvf.js} +4 -4
  104. package/dist/chunks/{persistent-pty-v1smpbvx.js → model-retry-cfkzqjea.js} +20 -20
  105. package/dist/chunks/{persistent-pty-z6k1srac.js → model-retry-ckhajkac.js} +14 -14
  106. package/dist/chunks/{persistent-pty-7q3wyea1.js → model-retry-cmjj196d.js} +26 -26
  107. package/dist/chunks/{persistent-pty-csnq1vx8.js → model-retry-cvqzdst0.js} +4 -4
  108. package/dist/chunks/{persistent-pty-603avsaw.js → model-retry-d0h8t5hk.js} +8 -8
  109. package/dist/chunks/{persistent-pty-c9t2ty9q.js → model-retry-d2887f8n.js} +4 -4
  110. package/dist/chunks/{persistent-pty-d4v9tmah.js → model-retry-d4v9tmah.js} +2 -2
  111. package/dist/chunks/{persistent-pty-xcarn5dh.js → model-retry-daaznt2t.js} +4 -4
  112. package/dist/chunks/model-retry-das67r30.js +26 -0
  113. package/dist/chunks/{persistent-pty-pnb0v8tr.js → model-retry-dmhcp16a.js} +13 -13
  114. package/dist/chunks/{persistent-pty-998yhzzq.js → model-retry-dvj9ct8m.js} +3 -3
  115. package/dist/chunks/{persistent-pty-gtwwgaxd.js → model-retry-dw7m3xvw.js} +17 -17
  116. package/dist/chunks/{persistent-pty-6wm2ekws.js → model-retry-dw8101p3.js} +17 -17
  117. package/dist/chunks/{persistent-pty-b430ghfg.js → model-retry-dxtt3dn7.js} +43 -43
  118. package/dist/chunks/{persistent-pty-630bcr6j.js → model-retry-e3e7vv2j.js} +11 -11
  119. package/dist/chunks/{persistent-pty-5qd3pb7m.js → model-retry-e3qxr5gk.js} +2 -2
  120. package/dist/chunks/{persistent-pty-9p9xqj3m.js → model-retry-e5dqjz6v.js} +8 -8
  121. package/dist/chunks/{persistent-pty-e834z07m.js → model-retry-e834z07m.js} +1 -1
  122. package/dist/chunks/{persistent-pty-wqb48wsw.js → model-retry-ea0wswcg.js} +45 -45
  123. package/dist/chunks/{persistent-pty-mcbaxyan.js → model-retry-ecw9kts4.js} +12 -12
  124. package/dist/chunks/{persistent-pty-ef5x83kb.js → model-retry-ef5x83kb.js} +1 -1
  125. package/dist/chunks/{persistent-pty-fzppqy49.js → model-retry-ewms6j9b.js} +331 -331
  126. package/dist/chunks/{persistent-pty-53fkqhzs.js → model-retry-ezfrkc6y.js} +14 -14
  127. package/dist/chunks/{persistent-pty-gsnt20he.js → model-retry-f49gwp6r.js} +19 -19
  128. package/dist/chunks/model-retry-f8ma18fn.js +18 -0
  129. package/dist/chunks/{persistent-pty-fffv3p7h.js → model-retry-fffv3p7h.js} +1 -1
  130. package/dist/chunks/{persistent-pty-c3z1dwp4.js → model-retry-fhjm4z34.js} +30 -30
  131. package/dist/chunks/{persistent-pty-kjzbhe9f.js → model-retry-fmhdrg4y.js} +26 -26
  132. package/dist/chunks/{persistent-pty-gbkbh0za.js → model-retry-fn90fkvf.js} +30 -30
  133. package/dist/chunks/{persistent-pty-mgn9jeqr.js → model-retry-g02cgtqg.js} +73 -73
  134. package/dist/chunks/{persistent-pty-g5h9c0rr.js → model-retry-g5h9c0rr.js} +2 -2
  135. package/dist/chunks/{persistent-pty-dpy78jr7.js → model-retry-gddkg3ta.js} +19 -19
  136. package/dist/chunks/{persistent-pty-1h6ms3ts.js → model-retry-gg5ajwfv.js} +26 -26
  137. package/dist/chunks/{persistent-pty-vrpz8t5t.js → model-retry-ghrzdqqx.js} +5 -5
  138. package/dist/chunks/{persistent-pty-fvc4bqe2.js → model-retry-gj8x1tda.js} +5 -5
  139. package/dist/chunks/{persistent-pty-zntgk0c3.js → model-retry-gj9fd72a.js} +16 -16
  140. package/dist/chunks/{persistent-pty-epv93m9y.js → model-retry-gmwwyjpc.js} +13 -13
  141. package/dist/chunks/{persistent-pty-dpyjajp2.js → model-retry-gqy3s5ng.js} +19 -19
  142. package/dist/chunks/{persistent-pty-z600r55a.js → model-retry-grv9e0a8.js} +30 -30
  143. package/dist/chunks/{persistent-pty-97arjhc9.js → model-retry-h2v6w9fm.js} +21 -21
  144. package/dist/chunks/{persistent-pty-mr4m2xt3.js → model-retry-h6yftxtc.js} +18 -18
  145. package/dist/chunks/{persistent-pty-y4rx9zcm.js → model-retry-h86hs4jx.js} +20 -20
  146. package/dist/chunks/{persistent-pty-4ccqqpnm.js → model-retry-hd9p2qrn.js} +4 -4
  147. package/dist/chunks/{persistent-pty-64tk1142.js → model-retry-hfc726b7.js} +2 -2
  148. package/dist/chunks/{persistent-pty-avrfdzax.js → model-retry-hg04c070.js} +18 -18
  149. package/dist/chunks/{persistent-pty-5dzbshvg.js → model-retry-hjw91gt8.js} +4 -4
  150. package/dist/chunks/{persistent-pty-hffck5p6.js → model-retry-hk6b7xe4.js} +19 -19
  151. package/dist/chunks/{persistent-pty-437171mk.js → model-retry-hnrrf75a.js} +10 -10
  152. package/dist/chunks/{persistent-pty-j113cymg.js → model-retry-j113cymg.js} +1 -1
  153. package/dist/chunks/{persistent-pty-8zn70gxd.js → model-retry-j5644rm0.js} +8 -8
  154. package/dist/chunks/{persistent-pty-m3kqm4cm.js → model-retry-j8qp8vb7.js} +2 -2
  155. package/dist/chunks/{persistent-pty-c5mdmb7d.js → model-retry-jav3q4wh.js} +5 -5
  156. package/dist/chunks/{persistent-pty-j4mbz3fw.js → model-retry-jeyepegn.js} +10 -10
  157. package/dist/chunks/{persistent-pty-v568fy96.js → model-retry-jq4gkdch.js} +38 -38
  158. package/dist/chunks/{persistent-pty-ww71evjc.js → model-retry-jt5vb9t1.js} +20 -20
  159. package/dist/chunks/{persistent-pty-4pa8nav4.js → model-retry-jzh23w2y.js} +3 -3
  160. package/dist/chunks/{persistent-pty-d8qd4w10.js → model-retry-jzpxygg0.js} +8 -8
  161. package/dist/chunks/{persistent-pty-m9458166.js → model-retry-k2qg1sgb.js} +30 -30
  162. package/dist/chunks/{persistent-pty-wbrbrqnn.js → model-retry-k4pkx3h8.js} +3 -3
  163. package/dist/chunks/{persistent-pty-k814nvkf.js → model-retry-k814nvkf.js} +1 -1
  164. package/dist/chunks/{persistent-pty-s9ty2h8k.js → model-retry-kj1j79ct.js} +11 -11
  165. package/dist/chunks/{persistent-pty-z18nf20h.js → model-retry-kjgnzevm.js} +8 -8
  166. package/dist/chunks/{persistent-pty-4h1ntjay.js → model-retry-knncxtrw.js} +7 -7
  167. package/dist/chunks/{persistent-pty-br64vc86.js → model-retry-kr6h74hd.js} +4 -4
  168. package/dist/chunks/{persistent-pty-2xk6ct32.js → model-retry-kt8g20y3.js} +21 -21
  169. package/dist/chunks/{persistent-pty-2bky7t1z.js → model-retry-ktxkps69.js} +60 -60
  170. package/dist/chunks/{persistent-pty-44etcz8n.js → model-retry-m04867d5.js} +5 -5
  171. package/dist/chunks/{persistent-pty-m1714858.js → model-retry-m1714858.js} +1 -1
  172. package/dist/chunks/{persistent-pty-gd1vvcjv.js → model-retry-m2hnwcn8.js} +9 -9
  173. package/dist/chunks/{persistent-pty-m9w0rfyh.js → model-retry-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{persistent-pty-maspj1v3.js → model-retry-maspj1v3.js} +1 -1
  175. package/dist/chunks/{persistent-pty-57y9frfy.js → model-retry-mfvka9j5.js} +11 -11
  176. package/dist/chunks/{persistent-pty-1z6jjy5p.js → model-retry-mt3ysty9.js} +6 -6
  177. package/dist/chunks/{persistent-pty-g45kmxae.js → model-retry-mw1nm45k.js} +12 -12
  178. package/dist/chunks/{persistent-pty-n0p0277s.js → model-retry-n0p0277s.js} +1 -1
  179. package/dist/chunks/{persistent-pty-231a8wys.js → model-retry-n7wnam13.js} +8 -8
  180. package/dist/chunks/{persistent-pty-nah043kf.js → model-retry-nah043kf.js} +1 -1
  181. package/dist/chunks/{persistent-pty-n8ys9nef.js → model-retry-nekjk3x1.js} +25 -25
  182. package/dist/chunks/{persistent-pty-p015t6z3.js → model-retry-p015t6z3.js} +2 -2
  183. package/dist/chunks/{persistent-pty-yw5cr2kg.js → model-retry-p4gac2xv.js} +22 -22
  184. package/dist/chunks/{persistent-pty-p5fvs1tf.js → model-retry-p4nbw5fh.js} +28 -28
  185. package/dist/chunks/{persistent-pty-dh62xe4r.js → model-retry-pc1v25hk.js} +3 -3
  186. package/dist/chunks/{persistent-pty-4v888qby.js → model-retry-pdw6wz0h.js} +3 -3
  187. package/dist/chunks/{persistent-pty-8rcbafry.js → model-retry-pfyk31y2.js} +5 -5
  188. package/dist/chunks/{persistent-pty-wjj9j73p.js → model-retry-pgeypdwc.js} +29 -29
  189. package/dist/chunks/{persistent-pty-pknna89w.js → model-retry-pknna89w.js} +1 -1
  190. package/dist/chunks/{persistent-pty-wgxpxc97.js → model-retry-pppg3y1y.js} +43 -43
  191. package/dist/chunks/{persistent-pty-zgfrp2wc.js → model-retry-pqrp5r8r.js} +21 -21
  192. package/dist/chunks/{persistent-pty-ncjgtf7q.js → model-retry-q8skw5t4.js} +11 -11
  193. package/dist/chunks/{persistent-pty-ap300940.js → model-retry-qbat39qr.js} +1 -1
  194. package/dist/chunks/{persistent-pty-a4extrcm.js → model-retry-qe6vkhvx.js} +11 -11
  195. package/dist/chunks/{persistent-pty-qq9errcn.js → model-retry-qgmn31h3.js} +32 -32
  196. package/dist/chunks/{persistent-pty-1689f439.js → model-retry-qjqtgprh.js} +5 -5
  197. package/dist/chunks/model-retry-qrbjjv6t.js +257 -0
  198. package/dist/chunks/{persistent-pty-mb72d0pe.js → model-retry-qvw98tg0.js} +5 -5
  199. package/dist/chunks/{persistent-pty-amwp0aeg.js → model-retry-qxbnebsm.js} +42 -42
  200. package/dist/chunks/{persistent-pty-3837d0nm.js → model-retry-qy1wtshc.js} +6 -6
  201. package/dist/chunks/{persistent-pty-z5ya83ez.js → model-retry-qyjpv9b5.js} +11 -11
  202. package/dist/chunks/{persistent-pty-r0yr0wbs.js → model-retry-r0yr0wbs.js} +1 -1
  203. package/dist/chunks/{persistent-pty-qyt594kh.js → model-retry-r3hh8w6n.js} +21 -21
  204. package/dist/chunks/{persistent-pty-qycnq4qn.js → model-retry-r8a6rr1y.js} +17 -17
  205. package/dist/chunks/{persistent-pty-rb9dy4dg.js → model-retry-rb9dy4dg.js} +1 -1
  206. package/dist/chunks/{persistent-pty-0a4e2wep.js → model-retry-rf0axqhe.js} +20 -20
  207. package/dist/chunks/{persistent-pty-5vgcj10y.js → model-retry-rfqv2m6w.js} +3 -3
  208. package/dist/chunks/{persistent-pty-rt5dr6hb.js → model-retry-rt5dr6hb.js} +1 -1
  209. package/dist/chunks/{persistent-pty-xz8jn1n5.js → model-retry-rxcn9dmj.js} +42 -42
  210. package/dist/chunks/{persistent-pty-a4316p25.js → model-retry-s3aa97yb.js} +26 -26
  211. package/dist/chunks/{persistent-pty-hqqyr421.js → model-retry-s6zqqgcc.js} +25 -25
  212. package/dist/chunks/{persistent-pty-a9ya4442.js → model-retry-s71ympam.js} +29 -29
  213. package/dist/chunks/{persistent-pty-d2dx6a7h.js → model-retry-s7kyse9r.js} +9 -9
  214. package/dist/chunks/{persistent-pty-b0wr9pq4.js → model-retry-s7pe5jpp.js} +14 -14
  215. package/dist/chunks/{persistent-pty-a4ab7jhs.js → model-retry-sd3cteb1.js} +3 -3
  216. package/dist/chunks/{persistent-pty-2aabkt2r.js → model-retry-sdxydkh6.js} +11 -11
  217. package/dist/chunks/{persistent-pty-3k9f0r09.js → model-retry-sgsbvhae.js} +19 -19
  218. package/dist/chunks/{persistent-pty-xzhmj86d.js → model-retry-sjxh0ebt.js} +4 -4
  219. package/dist/chunks/{persistent-pty-2m6p7yk7.js → model-retry-sm6vx8r5.js} +16 -16
  220. package/dist/chunks/{persistent-pty-sqjzf8x2.js → model-retry-sqjzf8x2.js} +1 -1
  221. package/dist/chunks/{persistent-pty-3b8pv6kk.js → model-retry-t00mk0ke.js} +24 -24
  222. package/dist/chunks/{persistent-pty-kqnnmbvx.js → model-retry-t3mtxhe8.js} +32 -32
  223. package/dist/chunks/{persistent-pty-8y3ed661.js → model-retry-tbbj6rhj.js} +9 -9
  224. package/dist/chunks/{persistent-pty-mgqesnpe.js → model-retry-tc3wr7kw.js} +8 -8
  225. package/dist/chunks/{persistent-pty-tczq8hjw.js → model-retry-tczq8hjw.js} +1 -1
  226. package/dist/chunks/{persistent-pty-c97kafxv.js → model-retry-tfkjdz6t.js} +12 -12
  227. package/dist/chunks/{persistent-pty-ssg99487.js → model-retry-thtmsm01.js} +35 -35
  228. package/dist/chunks/{persistent-pty-rth52m3v.js → model-retry-tjcpgb0t.js} +11 -11
  229. package/dist/chunks/{persistent-pty-kzatpa33.js → model-retry-tsemnbjg.js} +32 -32
  230. package/dist/chunks/{persistent-pty-tw8zr1ps.js → model-retry-tw8zr1ps.js} +1 -1
  231. package/dist/chunks/{persistent-pty-twv2r8f4.js → model-retry-twv2r8f4.js} +2 -2
  232. package/dist/chunks/{persistent-pty-n8km3ktm.js → model-retry-tx653dhe.js} +21 -21
  233. package/dist/chunks/{persistent-pty-tmd1r8tg.js → model-retry-tx91wa5k.js} +4 -4
  234. package/dist/chunks/{persistent-pty-7vhe8rph.js → model-retry-txfdt2b0.js} +15 -15
  235. package/dist/chunks/{persistent-pty-jrqenxex.js → model-retry-v1y7x4cv.js} +14 -14
  236. package/dist/chunks/{persistent-pty-v2r1d0zg.js → model-retry-v2r1d0zg.js} +1 -1
  237. package/dist/chunks/{persistent-pty-5s24fm1p.js → model-retry-v7edqz63.js} +12 -12
  238. package/dist/chunks/{persistent-pty-5zrxpy3q.js → model-retry-v9ez2kgh.js} +5 -5
  239. package/dist/chunks/{persistent-pty-65xym8dq.js → model-retry-vck6kdh7.js} +26 -26
  240. package/dist/chunks/{persistent-pty-vd3b3yk9.js → model-retry-vd3b3yk9.js} +1 -1
  241. package/dist/chunks/{persistent-pty-veqvce7d.js → model-retry-veqvce7d.js} +1 -1
  242. package/dist/chunks/{persistent-pty-m37sd98t.js → model-retry-vmfhgzt5.js} +4 -4
  243. package/dist/chunks/{persistent-pty-nf6qtgmx.js → model-retry-vrq9j7rb.js} +15 -15
  244. package/dist/chunks/{persistent-pty-3pjdfsqh.js → model-retry-vryb9jrf.js} +8 -8
  245. package/dist/chunks/{persistent-pty-ws8qaw4q.js → model-retry-vsdtm3y6.js} +21 -21
  246. package/dist/chunks/{persistent-pty-ak32zwvb.js → model-retry-w1zjn144.js} +11 -11
  247. package/dist/chunks/{persistent-pty-w3wsvvr9.js → model-retry-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{persistent-pty-h4ja5x6t.js → model-retry-w445jyrw.js} +8 -8
  249. package/dist/chunks/{persistent-pty-fznmdakp.js → model-retry-w687dnns.js} +4 -4
  250. package/dist/chunks/{persistent-pty-c0ahb6m2.js → model-retry-w7cnq13e.js} +42 -42
  251. package/dist/chunks/{persistent-pty-xmb6acqt.js → model-retry-w830et9m.js} +11 -11
  252. package/dist/chunks/{persistent-pty-w9w8mt4n.js → model-retry-w9w8mt4n.js} +1 -1
  253. package/dist/chunks/{persistent-pty-0r8hms5j.js → model-retry-waexrkk0.js} +15 -15
  254. package/dist/chunks/{persistent-pty-wakvkjy4.js → model-retry-wakvkjy4.js} +1 -1
  255. package/dist/chunks/{persistent-pty-wd87259q.js → model-retry-wd87259q.js} +1 -1
  256. package/dist/chunks/{persistent-pty-9mw7dhxy.js → model-retry-wecx54fa.js} +51 -51
  257. package/dist/chunks/{persistent-pty-2dwppexq.js → model-retry-wh6kfv27.js} +43 -43
  258. package/dist/chunks/{persistent-pty-9k8g54ar.js → model-retry-wjkdsmbm.js} +12 -12
  259. package/dist/chunks/{persistent-pty-77ffb5fa.js → model-retry-wkgj5k69.js} +5 -5
  260. package/dist/chunks/{persistent-pty-nvk1va1n.js → model-retry-wmtep305.js} +28 -28
  261. package/dist/chunks/{persistent-pty-ptp6ncr1.js → model-retry-wnr6a5h7.js} +15 -15
  262. package/dist/chunks/{persistent-pty-9nc01p2h.js → model-retry-x2s7p62g.js} +7 -7
  263. package/dist/chunks/{persistent-pty-q7hewr9v.js → model-retry-xby873vx.js} +19 -19
  264. package/dist/chunks/{persistent-pty-3y9jhrfk.js → model-retry-xe04d561.js} +15 -15
  265. package/dist/chunks/{persistent-pty-jmz0pryv.js → model-retry-xegc1gxr.js} +15 -15
  266. package/dist/chunks/{persistent-pty-jcq455ft.js → model-retry-xn0dkv9k.js} +10 -10
  267. package/dist/chunks/{persistent-pty-1ncazf2z.js → model-retry-xp3wxx2t.js} +19 -19
  268. package/dist/chunks/{persistent-pty-zx0t21mj.js → model-retry-xv9gw8q2.js} +8 -8
  269. package/dist/chunks/{persistent-pty-n9qkr232.js → model-retry-xvee63d2.js} +9 -9
  270. package/dist/chunks/{persistent-pty-2ex3p3f1.js → model-retry-y1249fzv.js} +12 -12
  271. package/dist/chunks/{persistent-pty-p8zvtb4f.js → model-retry-y3xtvwd4.js} +16 -16
  272. package/dist/chunks/{persistent-pty-yb20nhc3.js → model-retry-yb20nhc3.js} +1 -1
  273. package/dist/chunks/{persistent-pty-7xcfq1ha.js → model-retry-yfyqcpqq.js} +6 -6
  274. package/dist/chunks/{persistent-pty-knck272c.js → model-retry-ygy08vjq.js} +25 -25
  275. package/dist/chunks/{persistent-pty-1xxray5a.js → model-retry-yq1gzmdm.js} +19 -19
  276. package/dist/chunks/{persistent-pty-96jdb81n.js → model-retry-yr0q3nx1.js} +6 -6
  277. package/dist/chunks/{persistent-pty-xqtsmx9f.js → model-retry-ytzfdnxp.js} +11 -11
  278. package/dist/chunks/{persistent-pty-506rfma8.js → model-retry-yy9yh1zy.js} +13 -13
  279. package/dist/chunks/{persistent-pty-z0bkrqjs.js → model-retry-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{persistent-pty-8tqac9jx.js → model-retry-z0t0wh6t.js} +6 -6
  281. package/dist/chunks/{persistent-pty-4nnbnrz1.js → model-retry-z16rqh1h.js} +11 -11
  282. package/dist/chunks/{persistent-pty-d622t3vc.js → model-retry-z26cgg3v.js} +20 -20
  283. package/dist/chunks/{persistent-pty-z38nccrw.js → model-retry-z38nccrw.js} +1 -1
  284. package/dist/chunks/{persistent-pty-4s573z1s.js → model-retry-z4svz70a.js} +4 -4
  285. package/dist/chunks/{persistent-pty-acqhz89c.js → model-retry-zjy8xeq5.js} +33 -33
  286. package/dist/chunks/{persistent-pty-zkg84ctx.js → model-retry-zkg84ctx.js} +1 -1
  287. package/dist/chunks/{persistent-pty-h9gq6eq0.js → model-retry-zp9devnn.js} +2 -2
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  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 +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +87 -87
  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 +87 -87
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +363 -363
  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 +92 -92
  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 +99 -99
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +11 -11
  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 +89 -89
  432. package/dist/generate.js +107 -107
  433. package/dist/git.js +6 -6
  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 +93 -93
  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 +1 -1
  456. package/dist/instance.js +356 -356
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +153 -153
  466. package/dist/location-lifecycle.js +105 -105
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +357 -357
  469. package/dist/location.js +83 -83
  470. package/dist/managed-policy.js +6 -6
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +105 -105
  473. package/dist/mcp/instructions.js +140 -140
  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 +93 -93
  479. package/dist/model-resolver.js +101 -101
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +102 -102
  482. package/dist/models-dev.js +103 -103
  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 +119 -119
  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 +82 -82
  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 +332 -332
  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 +114 -114
  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 +123 -123
  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 +125 -125
  528. package/dist/plugin/provider/openai.js +118 -118
  529. package/dist/plugin/provider/opencode.js +103 -103
  530. package/dist/plugin/provider/openrouter.js +93 -93
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +81 -81
  533. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  534. package/dist/plugin/provider/sap-ai-core.js +93 -93
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  537. package/dist/plugin/provider/vercel.js +92 -92
  538. package/dist/plugin/provider/vllm.js +125 -125
  539. package/dist/plugin/provider/xai.js +93 -93
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +170 -170
  542. package/dist/plugin/sdk.js +78 -78
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +134 -134
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +351 -351
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +4 -4
  549. package/dist/plugin/vcs/git.js +88 -88
  550. package/dist/plugin/vcs/hg.js +88 -88
  551. package/dist/plugin/verbosity.js +95 -95
  552. package/dist/plugin/warming.js +114 -114
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +221 -221
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +82 -82
  564. package/dist/provider.js +103 -103
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +87 -87
  568. package/dist/reference/instructions.js +91 -91
  569. package/dist/reference.js +89 -89
  570. package/dist/repository-cache.js +83 -83
  571. package/dist/repository.js +1 -1
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +97 -97
  574. package/dist/rpc.js +88 -88
  575. package/dist/schema.js +1 -1
  576. package/dist/session/affinity.js +1 -1
  577. package/dist/session/command.js +76 -76
  578. package/dist/session/compaction.js +138 -138
  579. package/dist/session/context.js +164 -164
  580. package/dist/session/diff.js +90 -90
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +218 -218
  585. package/dist/session/execution.js +126 -126
  586. package/dist/session/generate.js +166 -166
  587. package/dist/session/history.js +15 -15
  588. package/dist/session/inbox.js +91 -91
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +79 -79
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +99 -99
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +122 -122
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +132 -132
  598. package/dist/session/projector.js +91 -91
  599. package/dist/session/prompt.js +107 -107
  600. package/dist/session/recent-text.js +1 -1
  601. package/dist/session/revert.js +96 -96
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +1 -1
  604. package/dist/session/runner/llm.js +231 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +97 -97
  607. package/dist/session/runner/publish-llm-event.js +116 -116
  608. package/dist/session/runner/retry.js +5 -5
  609. package/dist/session/runner/step.js +128 -128
  610. package/dist/session/runner/to-llm-message.js +14 -14
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +165 -165
  613. package/dist/session/shell.js +130 -130
  614. package/dist/session/skill.js +105 -105
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +75 -75
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +212 -212
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +168 -168
  622. package/dist/session/to-session-error.js +114 -114
  623. package/dist/session/transfer.js +214 -214
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +218 -218
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +7 -7
  630. package/dist/shell.js +132 -132
  631. package/dist/skill/discovery.js +4 -4
  632. package/dist/skill/instructions.js +107 -107
  633. package/dist/skill.js +110 -110
  634. package/dist/snapshot.js +95 -95
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +139 -139
  639. package/dist/tool/plugin/edit.js +122 -122
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +124 -124
  642. package/dist/tool/plugin/grep.js +126 -126
  643. package/dist/tool/plugin/mcp-resource.js +126 -126
  644. package/dist/tool/plugin/opencode.js +109 -109
  645. package/dist/tool/plugin/patch.js +124 -124
  646. package/dist/tool/plugin/question.js +107 -107
  647. package/dist/tool/plugin/read.js +127 -127
  648. package/dist/tool/plugin/shell.js +215 -215
  649. package/dist/tool/plugin/skill.js +113 -113
  650. package/dist/tool/plugin/subagent.js +219 -219
  651. package/dist/tool/plugin/todo.js +138 -138
  652. package/dist/tool/plugin/webfetch.js +113 -113
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +124 -124
  655. package/dist/tool/read-filesystem.js +104 -104
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +7 -7
  658. package/dist/tool.js +14 -14
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +94 -94
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/variant.js +93 -93
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +91 -91
  677. package/dist/voice.js +88 -88
  678. package/dist/websearch.js +86 -86
  679. package/dist/wellknown/plugin.js +78 -78
  680. package/dist/wellknown.js +81 -81
  681. package/dist/workspace/driver.js +7 -7
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +84 -84
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +91 -91
  688. package/dist/worktree.js +100 -100
  689. package/package.json +8 -8
  690. package/dist/chunks/persistent-pty-d77dj7jw.js +0 -18
  691. package/dist/chunks/persistent-pty-ddefqdxn.js +0 -257
  692. package/dist/chunks/persistent-pty-dj18ndtz.js +0 -26
  693. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → model-retry-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{persistent-pty-0zkw76rk.js → model-retry-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{persistent-pty-17cy0kzp.js → model-retry-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-1cnp2v09.js → model-retry-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-24dcb14g.js → model-retry-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-2710q6r3.js → model-retry-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-2bv980vf.js → model-retry-2bv980vf.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → model-retry-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-359p4xyc.js → model-retry-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-3asan66x.js → model-retry-3asan66x.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-3v8g72cx.js → model-retry-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-3wcehsnq.js → model-retry-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-43n2bw4t.js → model-retry-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-4knz6hnm.js → model-retry-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → model-retry-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-4y7fprxs.js → model-retry-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-53557ph1.js → model-retry-53557ph1.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-550bvhaj.js → model-retry-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-5fjb7ams.js → model-retry-5fjb7ams.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-6prwharc.js → model-retry-6prwharc.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-6q2bdcd1.js → model-retry-6q2bdcd1.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-7akdwqpd.js → model-retry-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-7m9af43g.js → model-retry-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-822emrt2.js → model-retry-822emrt2.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-84wd9syh.js → model-retry-84wd9syh.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-88xbtdfr.js → model-retry-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-8n3pysct.js → model-retry-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-8wj87zfr.js → model-retry-8wj87zfr.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-9a4afbnw.js → model-retry-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → model-retry-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-a058387c.js → model-retry-a058387c.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-a6k6eb26.js → model-retry-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-af5trqkr.js → model-retry-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-afrmfg78.js → model-retry-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → model-retry-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-atq7p7m5.js → model-retry-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → model-retry-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → model-retry-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-cf4snx6d.js → model-retry-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → model-retry-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-d9fn303g.js → model-retry-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → model-retry-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-dajrwvna.js → model-retry-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-dap0rakb.js → model-retry-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-df08tz66.js → model-retry-df08tz66.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-dy18nga0.js → model-retry-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-e5kj55wp.js → model-retry-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-e73j6tqm.js → model-retry-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-ec1grn59.js → model-retry-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-eh3zwz77.js → model-retry-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-emrn6kk6.js → model-retry-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-f0mxakyp.js → model-retry-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → model-retry-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-faypxj3z.js → model-retry-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-fd410y7t.js → model-retry-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-g4wezp1m.js → model-retry-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-g86h250q.js → model-retry-g86h250q.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-gebd4c9n.js → model-retry-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-gftt206x.js → model-retry-gftt206x.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-hcxmzztb.js → model-retry-hcxmzztb.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-hk9envan.js → model-retry-hk9envan.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-j2ntwpah.js → model-retry-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → model-retry-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-jjkms2e6.js → model-retry-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → model-retry-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → model-retry-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-jze0r7bz.js → model-retry-jze0r7bz.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → model-retry-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-m18g726c.js → model-retry-m18g726c.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-mp448xyj.js → model-retry-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-msx8hqn2.js → model-retry-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-n05xt0ee.js → model-retry-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-n3j8tn72.js → model-retry-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-njntx4h6.js → model-retry-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-pkyv6v7h.js → model-retry-pkyv6v7h.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-q3sfg36h.js → model-retry-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-q74kybfr.js → model-retry-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-qaymkmh1.js → model-retry-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-qb87gjwd.js → model-retry-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-qfa1cgps.js → model-retry-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-qg3g05ea.js → model-retry-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-qrg20bc0.js → model-retry-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → model-retry-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → model-retry-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-ssg3fenm.js → model-retry-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-ve7vex1e.js → model-retry-ve7vex1e.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-w803qqfp.js → model-retry-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → model-retry-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-wer8tq1h.js → model-retry-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-wjj7prxr.js → model-retry-wjj7prxr.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-wtztk69x.js → model-retry-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-x0ckcb58.js → model-retry-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-x61499pn.js → model-retry-x61499pn.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-y44na4kk.js → model-retry-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-y8f7s663.js → model-retry-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → model-retry-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-ym463w8f.js → model-retry-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-z5v4ffb3.js → model-retry-z5v4ffb3.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-z9919s4g.js → model-retry-z9919s4g.js} +0 -0
@@ -2,20 +2,20 @@ import {
2
2
  ephemeral2,
3
3
  Service85,
4
4
  node89
5
- } from "./persistent-pty-4ccqqpnm.js";
5
+ } from "./model-retry-hd9p2qrn.js";
6
6
  import {
7
- Key4,
7
+ Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make21,
10
+ make20,
11
11
  diffByKey2
12
- } from "./persistent-pty-9p9xqj3m.js";
12
+ } from "./model-retry-e5dqjz6v.js";
13
13
  import {
14
14
  create3
15
- } from "./persistent-pty-vd3b3yk9.js";
15
+ } from "./model-retry-vd3b3yk9.js";
16
16
  import {
17
17
  __export
18
- } from "./persistent-pty-9rqn6x4v.js";
18
+ } from "./model-retry-9rqn6x4v.js";
19
19
 
20
20
  // src/instruction-discovery.ts
21
21
  var exports_instruction_discovery = {};
@@ -23,11 +23,11 @@ __export(exports_instruction_discovery, {
23
23
  Event: () => Event11,
24
24
  File: () => File2,
25
25
  InstructionDiscovery: () => exports_instruction_discovery,
26
- Options: () => Options4,
27
- Service: () => Service54,
28
- configured: () => configured6,
29
- layer: () => layer21,
30
- node: () => node57
26
+ Options: () => Options6,
27
+ Service: () => Service63,
28
+ configured: () => configured8,
29
+ layer: () => layer24,
30
+ node: () => node66
31
31
  });
32
32
  import { Context, Effect, Layer, Schema } from "effect";
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -38,18 +38,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
38
38
  }) {
39
39
  }
40
40
  var Files = Schema.Array(File2);
41
- var key = Key4.make("core/instructions");
41
+ var key = Key3.make("core/instructions");
42
42
  var Event11 = {
43
43
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
44
44
  };
45
- var Options4 = Schema.Struct({
45
+ var Options6 = Schema.Struct({
46
46
  project: Schema.optional(Schema.Boolean),
47
47
  global: Schema.optional(Schema.Boolean)
48
48
  });
49
49
 
50
- class Service54 extends Context.Service()("@opencode/InstructionDiscovery") {
50
+ class Service63 extends Context.Service()("@opencode/InstructionDiscovery") {
51
51
  }
52
- var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
52
+ var layer24 = (options) => Layer.effect(Service63, Effect.gen(function* () {
53
53
  const bus = yield* Service85;
54
54
  const state = create3({
55
55
  name: "instruction-discovery",
@@ -71,7 +71,7 @@ var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
71
71
  }),
72
72
  notify: () => bus.publish(Event11.Updated, {}).pipe(Effect.asVoid)
73
73
  });
74
- const source = (value) => make21({
74
+ const source = (value) => make20({
75
75
  key,
76
76
  codec: Schema.toCodecJson(Files),
77
77
  read: Effect.succeed(value),
@@ -87,7 +87,7 @@ var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
87
87
  return unavailable3;
88
88
  return Array.from(current.files.values());
89
89
  });
90
- return Service54.of({
90
+ return Service63.of({
91
91
  project: options?.project !== false,
92
92
  global: options?.global !== false,
93
93
  transform: state.transform,
@@ -101,14 +101,14 @@ var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
101
101
  })
102
102
  });
103
103
  }));
104
- function configured6(options) {
104
+ function configured8(options) {
105
105
  return makeLocationNode({
106
- service: Service54,
107
- layer: layer21(options),
106
+ service: Service63,
107
+ layer: layer24(options),
108
108
  deps: [node89]
109
109
  });
110
110
  }
111
- var node57 = configured6();
111
+ var node66 = configured8();
112
112
  function render(files) {
113
113
  return files.map((file) => `Instructions from: ${file.path}
114
114
  ${file.content}`).join(`
@@ -139,4 +139,4 @@ ${render([after])}`;
139
139
  `);
140
140
  }
141
141
 
142
- export { File2, Event11, Options4, Service54, layer21, configured6, node57, exports_instruction_discovery };
142
+ export { File2, Event11, Options6, Service63, layer24, configured8, node66, exports_instruction_discovery };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service82
3
- } from "./persistent-pty-epts1v3z.js";
3
+ } from "./model-retry-95x7pe01.js";
4
4
  import {
5
- Service65
6
- } from "./persistent-pty-14x9rdgq.js";
5
+ Service61
6
+ } from "./model-retry-6fshephh.js";
7
7
  import {
8
8
  Service19,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./persistent-pty-9nc01p2h.js";
11
+ } from "./model-retry-x2s7p62g.js";
12
12
  import {
13
- Service13
14
- } from "./persistent-pty-a4extrcm.js";
13
+ Service17
14
+ } from "./model-retry-qe6vkhvx.js";
15
15
  import {
16
- Service76
17
- } from "./persistent-pty-9mw7dhxy.js";
16
+ Service55
17
+ } from "./model-retry-wecx54fa.js";
18
18
  import {
19
- Service17,
19
+ Service18,
20
20
  resolvePath2
21
- } from "./persistent-pty-04qzb6ng.js";
21
+ } from "./model-retry-a8rk6bya.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./persistent-pty-6prwharc.js";
24
+ } from "./model-retry-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./persistent-pty-9rqn6x4v.js";
27
+ } from "./model-retry-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input3,
34
- Output: () => Output3,
35
- Plugin: () => Plugin38,
36
- name: () => name3
33
+ Input: () => Input8,
34
+ Output: () => Output5,
35
+ Plugin: () => Plugin42,
36
+ name: () => name8
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name3 = "edit";
43
- var Input3 = Schema.Struct({
42
+ var name8 = "edit";
43
+ var Input8 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input3 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output3 = Schema.Struct({
53
+ var Output5 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin38 = {
193
+ var Plugin42 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service17;
196
+ const access = yield* Service18;
197
197
  const fileMutation = yield* Service19;
198
- const environment = yield* Service65;
199
- const formatter = yield* Service13;
198
+ const environment = yield* Service61;
199
+ const formatter = yield* Service17;
200
200
  const location = yield* Service82;
201
- const permission = yield* Service76;
201
+ const permission = yield* Service55;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name3,
203
+ name: name8,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
206
- input: Input3,
207
- output: Output3,
206
+ input: Input8,
207
+ output: Output5,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin38 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name3, Input3, Output3, Plugin38, exports_edit };
279
+ export { name8, Input8, Output5, Plugin42, exports_edit };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  which2
3
- } from "./persistent-pty-qaymkmh1.js";
3
+ } from "./model-retry-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/process";
8
8
  import { isRecord } from "@opencode/ai/utils/record";
9
- function make8(input) {
9
+ function make10(input) {
10
10
  const disabled = false;
11
11
  const findExecutable = (name) => which2(name, undefined, input.bin);
12
12
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
259
259
  return isRecord(input[field]) && key in input[field];
260
260
  }
261
261
 
262
- export { make8 };
262
+ export { make10 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./persistent-pty-z5v4ffb3.js";
3
+ } from "./model-retry-z5v4ffb3.js";
4
4
  import {
5
5
  Service82
6
- } from "./persistent-pty-epts1v3z.js";
6
+ } from "./model-retry-95x7pe01.js";
7
7
  import {
8
8
  __export
9
- } from "./persistent-pty-9rqn6x4v.js";
9
+ } from "./model-retry-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./persistent-pty-2f50b9jg.js";
5
+ } from "./model-retry-8zmpysdb.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
- make23,
9
+ make22,
10
10
  makeWithDefaults2
11
- } from "./persistent-pty-96jdb81n.js";
11
+ } from "./model-retry-yr0q3nx1.js";
12
12
  import {
13
13
  __export
14
- } from "./persistent-pty-9rqn6x4v.js";
14
+ } from "./model-retry-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
22
22
  EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
23
23
  EffectSQLiteSession: () => EffectSQLiteSession2,
24
24
  EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
25
- make: () => make23,
25
+ make: () => make22,
26
26
  makeWithDefaults: () => makeWithDefaults2,
27
27
  managesTransactionsNatively: () => managesTransactionsNatively2
28
28
  });
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./persistent-pty-4ccqqpnm.js";
4
+ } from "./model-retry-hd9p2qrn.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./persistent-pty-vd3b3yk9.js";
8
+ } from "./model-retry-vd3b3yk9.js";
9
9
  import {
10
10
  key2
11
- } from "./persistent-pty-ar2j3j0f.js";
11
+ } from "./model-retry-bjhzkqyk.js";
12
12
  import {
13
- ID10,
14
- Service71,
15
- node75,
16
- Event14
17
- } from "./persistent-pty-m9458166.js";
13
+ ID14,
14
+ Service79,
15
+ node83,
16
+ Event17
17
+ } from "./model-retry-k2qg1sgb.js";
18
18
  import {
19
19
  Service82,
20
20
  node86
21
- } from "./persistent-pty-epts1v3z.js";
21
+ } from "./model-retry-95x7pe01.js";
22
22
  import {
23
23
  __export
24
- } from "./persistent-pty-9rqn6x4v.js";
24
+ } from "./model-retry-9rqn6x4v.js";
25
25
 
26
26
  // src/provider.ts
27
27
  var exports_provider3 = {};
@@ -30,13 +30,13 @@ __export(exports_provider3, {
30
30
  Compaction: () => Compaction3,
31
31
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
32
32
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
33
- Event: () => Event13,
34
- ID: () => ID9,
35
- Info: () => Info18,
33
+ Event: () => Event16,
34
+ ID: () => ID13,
35
+ Info: () => Info22,
36
36
  LoadError: () => LoadError3,
37
37
  Provider: () => exports_provider3,
38
- Request: () => Request2,
39
- Service: () => Service68,
38
+ Request: () => Request3,
39
+ Service: () => Service78,
40
40
  Settings: () => Settings2,
41
41
  Transport: () => Transport2,
42
42
  aisdk: () => aisdk2,
@@ -48,7 +48,7 @@ __export(exports_provider3, {
48
48
  mergeOverlay: () => mergeOverlay2,
49
49
  modelSettings: () => modelSettings2,
50
50
  nativeSettings: () => nativeSettings2,
51
- node: () => node72,
51
+ node: () => node82,
52
52
  packageName: () => packageName2,
53
53
  timeout: () => timeout2,
54
54
  timeouts: () => timeouts2
@@ -323,8 +323,8 @@ var Legacy = Schema.StructWithRest(Schema.Struct({
323
323
  var decode = Schema.decodeUnknownSync(Legacy);
324
324
 
325
325
  // src/provider.ts
326
- import { Event as Event13 } from "@opencode/schema/provider";
327
- var ID9 = Provider.ID;
326
+ import { Event as Event16 } from "@opencode/schema/provider";
327
+ var ID13 = Provider.ID;
328
328
  var AISDK_PREFIX2 = "aisdk:";
329
329
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
330
330
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -534,13 +534,13 @@ function mergeHeaders2(base, overlay) {
534
534
  return result;
535
535
  }, new Map).values());
536
536
  }
537
- var Request2 = Provider.Request;
537
+ var Request3 = Provider.Request;
538
538
  var Compaction3 = Provider.Compaction;
539
539
  var Transport2 = Provider.Transport;
540
540
  var Settings2 = Provider.Settings;
541
- var Info18 = Provider.Info;
541
+ var Info22 = Provider.Info;
542
542
 
543
- class Service68 extends Context.Service()("@opencode/Provider") {
543
+ class Service78 extends Context.Service()("@opencode/Provider") {
544
544
  }
545
545
  var definitions = new WeakMap;
546
546
  function index(providerID, models) {
@@ -553,9 +553,9 @@ function index(providerID, models) {
553
553
  definitions.set(models, indexes);
554
554
  return result;
555
555
  }
556
- var layer = Layer.effect(Service68, Effect2.gen(function* () {
556
+ var layer = Layer.effect(Service78, Effect2.gen(function* () {
557
557
  const bus = yield* Service85;
558
- const integrations = yield* Service71;
558
+ const integrations = yield* Service79;
559
559
  const location = yield* Service82;
560
560
  const state = create3({
561
561
  name: "provider",
@@ -567,7 +567,7 @@ var layer = Layer.effect(Service68, Effect2.gen(function* () {
567
567
  const current = records.get(id);
568
568
  if (current)
569
569
  return current;
570
- const added = { provider: Info18.empty(id), models: new Map };
570
+ const added = { provider: Info22.empty(id), models: new Map };
571
571
  records.set(id, added);
572
572
  maps.add(added.models);
573
573
  return added;
@@ -648,7 +648,7 @@ var layer = Layer.effect(Service68, Effect2.gen(function* () {
648
648
  const available = Array.from(records.values()).filter((record) => {
649
649
  if (record.provider.activation === "disabled")
650
650
  return false;
651
- const integration = byID.get(record.provider.integrationID ?? ID10.make(record.provider.id));
651
+ const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
652
652
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
653
653
  return false;
654
654
  if (record.provider.activation === "enabled")
@@ -674,8 +674,8 @@ var layer = Layer.effect(Service68, Effect2.gen(function* () {
674
674
  location: { directory: location.directory, workspaceID: location.workspaceID }
675
675
  });
676
676
  });
677
- yield* bus.subscribe([Event14.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
678
- return Service68.of({
677
+ yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect2.forkScoped({ startImmediately: true }));
678
+ return Service78.of({
679
679
  transform: state.transform,
680
680
  reload: state.reload,
681
681
  get: Effect2.fn("Provider.get")((id) => Effect2.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -684,7 +684,7 @@ var layer = Layer.effect(Service68, Effect2.gen(function* () {
684
684
  snapshot
685
685
  });
686
686
  }));
687
- var node72 = makeLocationNode({ service: Service68, layer, deps: [node89, node75, node86] });
687
+ var node82 = makeLocationNode({ service: Service78, layer, deps: [node89, node83, node86] });
688
688
  var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
689
689
  const module = yield* Effect2.tryPromise({
690
690
  try: () => {
@@ -706,4 +706,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
706
706
  return module;
707
707
  });
708
708
 
709
- export { rewrite2, native2, exports_aisdk_native, ID9, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info18, Service68, node72, exports_provider3, Event13 };
709
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service78, node82, exports_provider3, Event16 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./persistent-pty-qfa1cgps.js";
3
+ } from "./model-retry-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service79
3
- } from "./persistent-pty-gsnt20he.js";
2
+ Service71
3
+ } from "./model-retry-f49gwp6r.js";
4
4
  import {
5
5
  Ref2,
6
- Service67
7
- } from "./persistent-pty-a9ya4442.js";
6
+ Service76
7
+ } from "./model-retry-s71ympam.js";
8
8
  import {
9
9
  latest2,
10
- Service63
11
- } from "./persistent-pty-amwp0aeg.js";
10
+ Service58
11
+ } from "./model-retry-qxbnebsm.js";
12
12
  import {
13
13
  SessionSchema2
14
- } from "./persistent-pty-4pa8nav4.js";
14
+ } from "./model-retry-jzh23w2y.js";
15
15
  import {
16
- Service55
17
- } from "./persistent-pty-p8zvtb4f.js";
16
+ Service53
17
+ } from "./model-retry-y3xtvwd4.js";
18
18
  import {
19
19
  evaluate2,
20
- Service76
21
- } from "./persistent-pty-9mw7dhxy.js";
20
+ Service55
21
+ } from "./model-retry-wecx54fa.js";
22
22
  import {
23
- Service25
24
- } from "./persistent-pty-mgn9jeqr.js";
23
+ Service23
24
+ } from "./model-retry-g02cgtqg.js";
25
25
  import {
26
26
  NO_TEXT2
27
- } from "./persistent-pty-sqjzf8x2.js";
27
+ } from "./model-retry-sqjzf8x2.js";
28
28
  import {
29
- Service11
30
- } from "./persistent-pty-1ncazf2z.js";
29
+ Service12
30
+ } from "./model-retry-xp3wxx2t.js";
31
31
  import {
32
32
  __export
33
- } from "./persistent-pty-9rqn6x4v.js";
33
+ } from "./model-retry-9rqn6x4v.js";
34
34
 
35
35
  // src/tool/plugin/subagent.ts
36
36
  var exports_subagent = {};
37
37
  __export(exports_subagent, {
38
- Input: () => Input2,
39
- Output: () => Output2,
40
- Plugin: () => Plugin37,
38
+ Input: () => Input10,
39
+ Output: () => Output6,
40
+ Plugin: () => Plugin44,
41
41
  SubagentTool: () => exports_subagent,
42
- description: () => description2,
43
- name: () => name2
42
+ description: () => description5,
43
+ name: () => name10
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { Effect, Predicate, Schema } from "effect";
47
- var name2 = "subagent";
47
+ var name10 = "subagent";
48
48
  var backgroundResult = (sessionID) => ({
49
49
  sessionID,
50
50
  status: "running",
@@ -55,7 +55,7 @@ var backgroundResult = (sessionID) => ({
55
55
  ].join(`
56
56
  `)
57
57
  });
58
- var Input2 = Schema.Struct({
58
+ var Input10 = Schema.Struct({
59
59
  agent: Schema.String.annotate({
60
60
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
61
61
  }),
@@ -71,12 +71,12 @@ var Input2 = Schema.Struct({
71
71
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
72
72
  })
73
73
  });
74
- var Output2 = Schema.Struct({
74
+ var Output6 = Schema.Struct({
75
75
  sessionID: SessionSchema2.ID,
76
76
  status: Schema.Literals(["completed", "running"]),
77
77
  output: Schema.String
78
78
  });
79
- var description2 = [
79
+ var description5 = [
80
80
  "Spawns an agent in a child session to work on the specified task.",
81
81
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
82
82
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -85,16 +85,16 @@ var description2 = [
85
85
  "Use background only for independent work that can run while you continue elsewhere."
86
86
  ].join(`
87
87
  `);
88
- var Plugin37 = {
88
+ var Plugin44 = {
89
89
  id: "opencode.tool.subagent",
90
90
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
91
- const sessions = yield* Service25;
92
- const jobs = yield* Service55;
93
- const agents = yield* Service79;
94
- const config = yield* Service63;
95
- const permission = yield* Service76;
96
- const models = yield* Service67;
97
- const subagents = yield* Service11;
91
+ const sessions = yield* Service23;
92
+ const jobs = yield* Service53;
93
+ const agents = yield* Service71;
94
+ const config = yield* Service58;
95
+ const permission = yield* Service55;
96
+ const models = yield* Service76;
97
+ const subagents = yield* Service12;
98
98
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
99
99
  const ref = yield* Effect.try({
100
100
  try: () => Ref2.parse(input),
@@ -114,11 +114,11 @@ var Plugin37 = {
114
114
  return ref;
115
115
  });
116
116
  yield* ctx.tool.transform((editor) => editor.add({
117
- name: name2,
117
+ name: name10,
118
118
  options: { codemode: false },
119
- description: description2,
120
- input: Input2,
121
- output: Output2,
119
+ description: description5,
120
+ input: Input10,
121
+ output: Output6,
122
122
  execute: (input, context) => Effect.gen(function* () {
123
123
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
124
124
  let current = parent;
@@ -138,7 +138,7 @@ var Plugin37 = {
138
138
  if (agent.mode === "primary")
139
139
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
140
140
  yield* permission.assert({
141
- action: name2,
141
+ action: name10,
142
142
  resources: [agent.id],
143
143
  save: [agent.id],
144
144
  sessionID: context.sessionID,
@@ -217,7 +217,7 @@ ${output.output}
217
217
  })))
218
218
  })).pipe(Effect.orDie);
219
219
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
220
- if (event.tool !== name2 || !Predicate.isObject(event.input))
220
+ if (event.tool !== name10 || !Predicate.isObject(event.input))
221
221
  return;
222
222
  if (event.input.model !== "" && event.input.sessionID !== "")
223
223
  return;
@@ -229,13 +229,13 @@ ${output.output}
229
229
  event.input = input;
230
230
  }));
231
231
  const hook = (event) => Effect.gen(function* () {
232
- const tool = event.tools[name2];
232
+ const tool = event.tools[name10];
233
233
  if (!tool)
234
234
  return;
235
235
  const selected = yield* agents.resolve(event.agent);
236
236
  if (!selected)
237
237
  return;
238
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
238
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
239
  if (available.length === 0)
240
240
  return;
241
241
  tool.description = [
@@ -252,4 +252,4 @@ ${output.output}
252
252
  })
253
253
  };
254
254
 
255
- export { name2, Input2, Output2, description2, Plugin37, exports_subagent };
255
+ export { name10, Input10, Output6, description5, Plugin44, exports_subagent };