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

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 +81 -81
  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/{agent-ercvtcgz.js → model-resolver-01t4jxfe.js} +4 -4
  8. package/dist/chunks/{agent-034tev2y.js → model-resolver-034tev2y.js} +2 -2
  9. package/dist/chunks/{agent-5y6gyw07.js → model-resolver-042my71g.js} +15 -15
  10. package/dist/chunks/{agent-c22xs6zs.js → model-resolver-0b0dvc3v.js} +11 -11
  11. package/dist/chunks/{agent-r649t70p.js → model-resolver-0d85nndc.js} +37 -37
  12. package/dist/chunks/{agent-r6wgv8c9.js → model-resolver-0gka690g.js} +6 -6
  13. package/dist/chunks/{agent-gtwwf5qc.js → model-resolver-0h5mky2z.js} +24 -24
  14. package/dist/chunks/{agent-5pr0e8th.js → model-resolver-0trvysgd.js} +5 -5
  15. package/dist/chunks/{agent-7kk9vmc1.js → model-resolver-14enk98j.js} +28 -28
  16. package/dist/chunks/{agent-xpx0a1hv.js → model-resolver-17r7g020.js} +36 -36
  17. package/dist/chunks/{agent-yhhb56re.js → model-resolver-186bq886.js} +16 -16
  18. package/dist/chunks/{agent-1ep2p91f.js → model-resolver-1ep2p91f.js} +2 -2
  19. package/dist/chunks/{agent-4edy420v.js → model-resolver-1qsx4797.js} +9 -9
  20. package/dist/chunks/{agent-1x2knyw4.js → model-resolver-1x2knyw4.js} +1 -1
  21. package/dist/chunks/{agent-5zrxpy3q.js → model-resolver-1yq9hg58.js} +5 -5
  22. package/dist/chunks/{agent-jmt4g3es.js → model-resolver-249p08pd.js} +6 -6
  23. package/dist/chunks/{agent-3fq3g97k.js → model-resolver-256dg9vb.js} +4 -4
  24. package/dist/chunks/model-resolver-267g1ppg.js +257 -0
  25. package/dist/chunks/{agent-4q4hrjc3.js → model-resolver-26zk5kqv.js} +9 -9
  26. package/dist/chunks/{agent-mkr1zw4c.js → model-resolver-288p6brk.js} +24 -24
  27. package/dist/chunks/{agent-wmjzvx4b.js → model-resolver-2kj7f5bg.js} +7 -7
  28. package/dist/chunks/{agent-7mw2rj4h.js → model-resolver-2n1v95fn.js} +9 -9
  29. package/dist/chunks/{agent-6w1z0ptf.js → model-resolver-2ny6xyme.js} +4 -4
  30. package/dist/chunks/{agent-43pxryb4.js → model-resolver-2yxcna2e.js} +35 -35
  31. package/dist/chunks/{agent-2z1j29yd.js → model-resolver-2z1j29yd.js} +1 -1
  32. package/dist/chunks/{agent-5465mdww.js → model-resolver-2zpzp2bh.js} +23 -23
  33. package/dist/chunks/{agent-m9tz8kfk.js → model-resolver-3dy2brb4.js} +20 -20
  34. package/dist/chunks/{agent-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{agent-3nnrz6f6.js → model-resolver-3nnrz6f6.js} +1 -1
  36. package/dist/chunks/{agent-4n19pvv2.js → model-resolver-4dmmmd7w.js} +21 -21
  37. package/dist/chunks/{agent-1zsaqb4r.js → model-resolver-4rgde0gy.js} +9 -9
  38. package/dist/chunks/{agent-4v008n1t.js → model-resolver-4v008n1t.js} +1 -1
  39. package/dist/chunks/{agent-1q5awywt.js → model-resolver-4v4bfvma.js} +5 -5
  40. package/dist/chunks/{agent-4xvmh7wp.js → model-resolver-4xvmh7wp.js} +3 -3
  41. package/dist/chunks/{agent-c1nwn41d.js → model-resolver-52rn342d.js} +29 -29
  42. package/dist/chunks/{agent-xk6cct51.js → model-resolver-55w0c6dm.js} +30 -30
  43. package/dist/chunks/{agent-n7j6jkwh.js → model-resolver-57a19r08.js} +24 -24
  44. package/dist/chunks/{agent-xfrhb91r.js → model-resolver-58t9v70a.js} +41 -41
  45. package/dist/chunks/{agent-z8hxvef0.js → model-resolver-59x0c00c.js} +37 -37
  46. package/dist/chunks/{agent-qe4f2n8q.js → model-resolver-5c5bthfb.js} +33 -33
  47. package/dist/chunks/{agent-w2eysc6j.js → model-resolver-5enarcya.js} +6 -6
  48. package/dist/chunks/{agent-e1yvprzr.js → model-resolver-5jkzvvxq.js} +21 -21
  49. package/dist/chunks/{agent-tr53db22.js → model-resolver-5k8yxqxr.js} +31 -31
  50. package/dist/chunks/{agent-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{agent-g9jwm955.js → model-resolver-5p1zsrt3.js} +1 -1
  52. package/dist/chunks/{agent-b7mz4wb4.js → model-resolver-5zryechk.js} +2 -2
  53. package/dist/chunks/{agent-x1kqdqv8.js → model-resolver-65shdcb9.js} +10 -10
  54. package/dist/chunks/{agent-kwwqhmte.js → model-resolver-69ea4gs9.js} +24 -24
  55. package/dist/chunks/{agent-6esdw8yj.js → model-resolver-6esdw8yj.js} +1 -1
  56. package/dist/chunks/{agent-tf78gtve.js → model-resolver-6f6tsj36.js} +17 -17
  57. package/dist/chunks/{agent-01crwgf8.js → model-resolver-6gn7yv20.js} +7 -7
  58. package/dist/chunks/{agent-6pjqjmy2.js → model-resolver-6pjqjmy2.js} +1 -1
  59. package/dist/chunks/{agent-s1cekj41.js → model-resolver-6wq3ehfr.js} +5 -5
  60. package/dist/chunks/{agent-76cb1hcw.js → model-resolver-76cb1hcw.js} +1 -1
  61. package/dist/chunks/{agent-nae82sp2.js → model-resolver-7859jp66.js} +28 -28
  62. package/dist/chunks/{agent-eqh43b5v.js → model-resolver-799ckdtf.js} +5 -5
  63. package/dist/chunks/{agent-erjptbv1.js → model-resolver-7ag3s6hb.js} +4 -4
  64. package/dist/chunks/{agent-7df5b9k0.js → model-resolver-7agbanmz.js} +20 -20
  65. package/dist/chunks/{agent-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{agent-34s5tdcd.js → model-resolver-7g125bra.js} +4 -4
  67. package/dist/chunks/{agent-7w2ypzdf.js → model-resolver-7w2ypzdf.js} +1 -1
  68. package/dist/chunks/{agent-hm143rc2.js → model-resolver-83rat119.js} +3 -3
  69. package/dist/chunks/{agent-qrsf94hb.js → model-resolver-8bkscwtx.js} +14 -14
  70. package/dist/chunks/{agent-wdk09kh3.js → model-resolver-8gxpx3mz.js} +18 -18
  71. package/dist/chunks/{agent-8jztxfpf.js → model-resolver-8jztxfpf.js} +1 -1
  72. package/dist/chunks/{agent-w75qjcvt.js → model-resolver-8mjwfqkh.js} +8 -8
  73. package/dist/chunks/{agent-yqmxxt9c.js → model-resolver-8na9xnnb.js} +6 -6
  74. package/dist/chunks/{agent-81g59q3k.js → model-resolver-8nhp9y4m.js} +4 -4
  75. package/dist/chunks/{agent-f3xvtd5f.js → model-resolver-8njhevex.js} +11 -11
  76. package/dist/chunks/{agent-nq3tx4x1.js → model-resolver-8rdd1j7g.js} +42 -42
  77. package/dist/chunks/{agent-nt0vz67d.js → model-resolver-8sttbfsr.js} +11 -11
  78. package/dist/chunks/{agent-0teydma5.js → model-resolver-8thk20xz.js} +9 -9
  79. package/dist/chunks/{agent-0bxps2dt.js → model-resolver-8vhkf3wd.js} +30 -30
  80. package/dist/chunks/{agent-b50rsrab.js → model-resolver-8wc2fpae.js} +5 -5
  81. package/dist/chunks/{agent-8wtp7s3z.js → model-resolver-8wtp7s3z.js} +1 -1
  82. package/dist/chunks/{agent-j5pyptyp.js → model-resolver-917s922w.js} +20 -20
  83. package/dist/chunks/{agent-91rj84md.js → model-resolver-91rj84md.js} +1 -1
  84. package/dist/chunks/{agent-3wx5r2aw.js → model-resolver-95jjqqz3.js} +87 -87
  85. package/dist/chunks/{agent-998yhzzq.js → model-resolver-998yhzzq.js} +3 -3
  86. package/dist/chunks/{agent-w5t7bbyx.js → model-resolver-9bgp8a97.js} +13 -13
  87. package/dist/chunks/{agent-vxgn3e9c.js → model-resolver-9chjwwnc.js} +4 -4
  88. package/dist/chunks/{agent-gm52qjxn.js → model-resolver-9d19w6f1.js} +15 -15
  89. package/dist/chunks/{agent-nbwnjq76.js → model-resolver-9d64739r.js} +8 -8
  90. package/dist/chunks/{agent-gwff6e0f.js → model-resolver-9e09nyr2.js} +35 -35
  91. package/dist/chunks/{agent-zxrxde13.js → model-resolver-9ej1024d.js} +18 -18
  92. package/dist/chunks/{agent-aywq2m6b.js → model-resolver-9epsjbby.js} +11 -11
  93. package/dist/chunks/{agent-v6pnwzcj.js → model-resolver-9jh4j41s.js} +70 -70
  94. package/dist/chunks/{agent-036gtng7.js → model-resolver-9rqahw18.js} +5 -5
  95. package/dist/chunks/{agent-ea9qy1vr.js → model-resolver-9rrv4vns.js} +9 -9
  96. package/dist/chunks/{agent-0pes53yc.js → model-resolver-a05vx38g.js} +45 -45
  97. package/dist/chunks/{agent-cw4wsck5.js → model-resolver-amjb1f6j.js} +18 -18
  98. package/dist/chunks/{agent-v7v3rrns.js → model-resolver-avkwaw75.js} +9 -9
  99. package/dist/chunks/{agent-ayjs7tqn.js → model-resolver-ayjs7tqn.js} +2 -2
  100. package/dist/chunks/{agent-b0mv4wxm.js → model-resolver-b0mv4wxm.js} +2 -2
  101. package/dist/chunks/{agent-c9t2ty9q.js → model-resolver-b1pn0vxn.js} +4 -4
  102. package/dist/chunks/{agent-m96zp2x3.js → model-resolver-b2zdt2y6.js} +5 -5
  103. package/dist/chunks/{agent-r6g963jp.js → model-resolver-b5h3d3b4.js} +20 -20
  104. package/dist/chunks/{agent-s5ckv70a.js → model-resolver-b5sgdy3n.js} +10 -10
  105. package/dist/chunks/{agent-b6vsg801.js → model-resolver-b6vsg801.js} +2 -2
  106. package/dist/chunks/{agent-tha6crsv.js → model-resolver-bjzh04bx.js} +16 -16
  107. package/dist/chunks/{agent-5zmew617.js → model-resolver-bm6kf062.js} +27 -27
  108. package/dist/chunks/{agent-83xm0yd3.js → model-resolver-bn231r82.js} +11 -11
  109. package/dist/chunks/{agent-860hyfcr.js → model-resolver-bp5sb8yv.js} +14 -14
  110. package/dist/chunks/{agent-bstexjd6.js → model-resolver-bstexjd6.js} +1 -1
  111. package/dist/chunks/{agent-wgvnftve.js → model-resolver-c4vfmmrn.js} +8 -8
  112. package/dist/chunks/{agent-yjkkab03.js → model-resolver-cabw4y3p.js} +6 -6
  113. package/dist/chunks/{agent-pwb927wa.js → model-resolver-cb2t80kt.js} +76 -76
  114. package/dist/chunks/{agent-se8z0af6.js → model-resolver-cgdq2tez.js} +4 -4
  115. package/dist/chunks/{agent-rpd03b69.js → model-resolver-d4fqamkg.js} +18 -18
  116. package/dist/chunks/{agent-d4v9tmah.js → model-resolver-d4v9tmah.js} +2 -2
  117. package/dist/chunks/{agent-8avgn4nh.js → model-resolver-d7kh2pfg.js} +17 -17
  118. package/dist/chunks/{agent-k5g4ndkg.js → model-resolver-d910c31a.js} +35 -35
  119. package/dist/chunks/{agent-2yj94xj3.js → model-resolver-de152cyr.js} +13 -13
  120. package/dist/chunks/{agent-pc1v25hk.js → model-resolver-dh62xe4r.js} +3 -3
  121. package/dist/chunks/{agent-8yms0qqj.js → model-resolver-dh9mz5xr.js} +11 -11
  122. package/dist/chunks/{agent-shygem95.js → model-resolver-dphsmz0w.js} +20 -20
  123. package/dist/chunks/{agent-z0te8qnm.js → model-resolver-dt9gh0d3.js} +13 -13
  124. package/dist/chunks/{agent-k8sgxmwq.js → model-resolver-dw589k72.js} +18 -18
  125. package/dist/chunks/{agent-3hg15haz.js → model-resolver-e12mrd8m.js} +41 -41
  126. package/dist/chunks/{agent-ab61cr6d.js → model-resolver-e1b6vpy5.js} +14 -14
  127. package/dist/chunks/{agent-5qd3pb7m.js → model-resolver-e3qxr5gk.js} +2 -2
  128. package/dist/chunks/{agent-e834z07m.js → model-resolver-e834z07m.js} +1 -1
  129. package/dist/chunks/{agent-bc3gms31.js → model-resolver-e893v5n6.js} +21 -21
  130. package/dist/chunks/{agent-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{agent-mwam2bxf.js → model-resolver-eff1wqft.js} +25 -25
  132. package/dist/chunks/{agent-0aydfmfd.js → model-resolver-egspkehf.js} +10 -10
  133. package/dist/chunks/{agent-b39xeefv.js → model-resolver-ehjrwymt.js} +32 -32
  134. package/dist/chunks/{agent-h84cj61w.js → model-resolver-ejnxmkmt.js} +2 -2
  135. package/dist/chunks/{agent-2rb0wgje.js → model-resolver-ethxtnrp.js} +54 -54
  136. package/dist/chunks/{agent-yn9h7jnh.js → model-resolver-ev24k3w5.js} +7 -7
  137. package/dist/chunks/{agent-asx4crfn.js → model-resolver-ew2d9bn2.js} +24 -24
  138. package/dist/chunks/{agent-ysw37sry.js → model-resolver-f2kkq0wr.js} +44 -44
  139. package/dist/chunks/{agent-dy4xqx41.js → model-resolver-f5xnbmcd.js} +50 -50
  140. package/dist/chunks/{agent-xkv91zbc.js → model-resolver-f6r0dzq4.js} +20 -20
  141. package/dist/chunks/{agent-fffv3p7h.js → model-resolver-fffv3p7h.js} +1 -1
  142. package/dist/chunks/{agent-g0mjfn9f.js → model-resolver-fgr7hd3e.js} +12 -12
  143. package/dist/chunks/{agent-xf07g6fp.js → model-resolver-fj95ckg7.js} +33 -33
  144. package/dist/chunks/{agent-5e5fd4m6.js → model-resolver-fvp60fwe.js} +5 -5
  145. package/dist/chunks/{agent-d2jy9c0j.js → model-resolver-fw6eeex0.js} +4 -4
  146. package/dist/chunks/{agent-0h8y3ex8.js → model-resolver-fznmdakp.js} +4 -4
  147. package/dist/chunks/{agent-xsact9zs.js → model-resolver-g42b6ca9.js} +4 -4
  148. package/dist/chunks/{agent-0cpnqkys.js → model-resolver-g4n4wp2d.js} +5 -5
  149. package/dist/chunks/{agent-g5h9c0rr.js → model-resolver-g5h9c0rr.js} +2 -2
  150. package/dist/chunks/{agent-v8w832qv.js → model-resolver-g80tn5h1.js} +17 -17
  151. package/dist/chunks/{agent-ztngrg4w.js → model-resolver-gnqfcwar.js} +18 -18
  152. package/dist/chunks/{agent-prpkhwe7.js → model-resolver-h1abq7en.js} +50 -50
  153. package/dist/chunks/{agent-npyprqtv.js → model-resolver-h97v9g1b.js} +3 -3
  154. package/dist/chunks/{agent-84rbnah8.js → model-resolver-hdcqmdk3.js} +22 -22
  155. package/dist/chunks/{agent-7kaqzwxm.js → model-resolver-hv07rj1n.js} +11 -11
  156. package/dist/chunks/{agent-3e6zmnwb.js → model-resolver-j0b81h47.js} +12 -12
  157. package/dist/chunks/{agent-j113cymg.js → model-resolver-j113cymg.js} +1 -1
  158. package/dist/chunks/{agent-sdskc420.js → model-resolver-j1y01s4s.js} +178 -178
  159. package/dist/chunks/{agent-9mea8krd.js → model-resolver-j440n9b6.js} +20 -20
  160. package/dist/chunks/{agent-q6vmwcr3.js → model-resolver-j77g158z.js} +8 -8
  161. package/dist/chunks/{agent-vwac03cp.js → model-resolver-j7kazd1q.js} +6 -6
  162. package/dist/chunks/{agent-8k8r57g4.js → model-resolver-j8wtckwx.js} +8 -8
  163. package/dist/chunks/{agent-gcjdgkn2.js → model-resolver-jcqm84fr.js} +9 -9
  164. package/dist/chunks/{agent-g7yg2z4y.js → model-resolver-jfavpyep.js} +11 -11
  165. package/dist/chunks/{agent-tc4kyz8e.js → model-resolver-jhtz5kdf.js} +2 -2
  166. package/dist/chunks/{agent-e5dqjz6v.js → model-resolver-jneg3k74.js} +4 -4
  167. package/dist/chunks/{agent-sg8mkp01.js → model-resolver-jwrjw8tj.js} +43 -43
  168. package/dist/chunks/{agent-tzwfb695.js → model-resolver-jzrjgn5s.js} +20 -20
  169. package/dist/chunks/{agent-d8mgxzbr.js → model-resolver-k0ykqcdp.js} +26 -26
  170. package/dist/chunks/{agent-rm4sw271.js → model-resolver-k352a69z.js} +4 -4
  171. package/dist/chunks/{agent-a56egb6w.js → model-resolver-k7hnktg1.js} +5 -5
  172. package/dist/chunks/{agent-k814nvkf.js → model-resolver-k814nvkf.js} +1 -1
  173. package/dist/chunks/{agent-cv2j9yha.js → model-resolver-kc3bzs90.js} +3 -3
  174. package/dist/chunks/{agent-605j6g36.js → model-resolver-kf7rszbb.js} +25 -25
  175. package/dist/chunks/{agent-r8vff35f.js → model-resolver-kfwqqrwd.js} +20 -20
  176. package/dist/chunks/{agent-et6331cw.js → model-resolver-knfnv5xd.js} +46 -46
  177. package/dist/chunks/{agent-syd85nze.js → model-resolver-kntpyapc.js} +4 -4
  178. package/dist/chunks/{agent-zav2k54e.js → model-resolver-kqw486ce.js} +4 -4
  179. package/dist/chunks/{agent-cn8d63zf.js → model-resolver-kw1hde90.js} +8 -8
  180. package/dist/chunks/{agent-nwvcypp6.js → model-resolver-kxeaxsag.js} +11 -11
  181. package/dist/chunks/{agent-m1714858.js → model-resolver-m1714858.js} +1 -1
  182. package/dist/chunks/{agent-2j4fkc1b.js → model-resolver-m8jzyt6a.js} +11 -11
  183. package/dist/chunks/{agent-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{agent-maspj1v3.js → model-resolver-maspj1v3.js} +1 -1
  185. package/dist/chunks/{agent-70e5j6cm.js → model-resolver-mbb71zxb.js} +18 -18
  186. package/dist/chunks/{agent-egqc00n5.js → model-resolver-md2ky9q0.js} +9 -9
  187. package/dist/chunks/model-resolver-me0dhgxs.js +18 -0
  188. package/dist/chunks/{agent-1y0wdj51.js → model-resolver-mmx1mfjr.js} +9 -9
  189. package/dist/chunks/{agent-4fqqg07t.js → model-resolver-mwk65ptt.js} +29 -29
  190. package/dist/chunks/{agent-n0p0277s.js → model-resolver-n0p0277s.js} +1 -1
  191. package/dist/chunks/{agent-58wwcftr.js → model-resolver-n3hhze48.js} +19 -19
  192. package/dist/chunks/{agent-5agv5pnb.js → model-resolver-n48tsgyy.js} +9 -9
  193. package/dist/chunks/{agent-t34k7vdx.js → model-resolver-n527a7dv.js} +9 -9
  194. package/dist/chunks/{agent-vq55ta2w.js → model-resolver-n65a2gzt.js} +8 -8
  195. package/dist/chunks/{agent-nah043kf.js → model-resolver-nah043kf.js} +1 -1
  196. package/dist/chunks/{agent-e3cpefx3.js → model-resolver-ng64mz8r.js} +32 -32
  197. package/dist/chunks/{agent-ejyk05z4.js → model-resolver-njnmff7p.js} +20 -20
  198. package/dist/chunks/{agent-my1p2r7g.js → model-resolver-nt5q7dy9.js} +19 -19
  199. package/dist/chunks/{agent-2fhsvw3b.js → model-resolver-nzf6z8jh.js} +10 -10
  200. package/dist/chunks/{agent-p015t6z3.js → model-resolver-p015t6z3.js} +2 -2
  201. package/dist/chunks/{agent-eq3fc1qc.js → model-resolver-pacbbjc0.js} +5 -5
  202. package/dist/chunks/{agent-mv2fkptf.js → model-resolver-pfght9z5.js} +8 -8
  203. package/dist/chunks/{agent-1vpzeawt.js → model-resolver-pfjg1qnb.js} +16 -16
  204. package/dist/chunks/{agent-xmdjjv6p.js → model-resolver-pgt2b3dq.js} +15 -15
  205. package/dist/chunks/{agent-30wk5qzn.js → model-resolver-pj41ajb0.js} +3 -3
  206. package/dist/chunks/{agent-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  207. package/dist/chunks/{agent-731c8v1k.js → model-resolver-pve0p3g2.js} +34 -34
  208. package/dist/chunks/{agent-y8hmd8bf.js → model-resolver-q8rzw8xh.js} +10 -10
  209. package/dist/chunks/{agent-w1b192n3.js → model-resolver-qcchxstm.js} +16 -16
  210. package/dist/chunks/{agent-6rgwxkf7.js → model-resolver-qfjcwetg.js} +12 -12
  211. package/dist/chunks/{agent-zcv9t832.js → model-resolver-qpj4fywd.js} +12 -12
  212. package/dist/chunks/model-resolver-qyndfgfp.js +523 -0
  213. package/dist/chunks/{agent-r0yr0wbs.js → model-resolver-r0yr0wbs.js} +1 -1
  214. package/dist/chunks/{agent-qa2bc9h6.js → model-resolver-r28byzty.js} +33 -33
  215. package/dist/chunks/{agent-x29zv49r.js → model-resolver-r3hept05.js} +16 -16
  216. package/dist/chunks/{agent-45wkcxp1.js → model-resolver-r73hsa18.js} +18 -18
  217. package/dist/chunks/{agent-tbmp9t5p.js → model-resolver-r7qkw0sp.js} +12 -12
  218. package/dist/chunks/{agent-spa8vgy8.js → model-resolver-r7xar5ns.js} +11 -11
  219. package/dist/chunks/{agent-rb9dy4dg.js → model-resolver-rb9dy4dg.js} +1 -1
  220. package/dist/chunks/{agent-ba699vex.js → model-resolver-rcgvv2s7.js} +16 -16
  221. package/dist/chunks/{agent-7fhznn00.js → model-resolver-rsmyvrz3.js} +32 -32
  222. package/dist/chunks/{agent-rt5dr6hb.js → model-resolver-rt5dr6hb.js} +1 -1
  223. package/dist/chunks/{agent-2cxr0spy.js → model-resolver-s0t4rwnt.js} +11 -11
  224. package/dist/chunks/{agent-s626qfae.js → model-resolver-s626qfae.js} +1 -1
  225. package/dist/chunks/{agent-tybz541q.js → model-resolver-s6zqpwam.js} +23 -23
  226. package/dist/chunks/{agent-ht7bz1sv.js → model-resolver-sn02bkrk.js} +21 -21
  227. package/dist/chunks/{agent-5sgdhf0y.js → model-resolver-snpgexks.js} +39 -39
  228. package/dist/chunks/{agent-pdjy0dkv.js → model-resolver-snwj5w21.js} +1 -1
  229. package/dist/chunks/{agent-j8ka3dj3.js → model-resolver-spep79sh.js} +21 -21
  230. package/dist/chunks/{agent-sqjzf8x2.js → model-resolver-sqjzf8x2.js} +1 -1
  231. package/dist/chunks/{agent-5sgw76x3.js → model-resolver-sshe6cnz.js} +24 -24
  232. package/dist/chunks/{agent-3s89fne6.js → model-resolver-t7x5nw9y.js} +16 -16
  233. package/dist/chunks/{agent-6t50jf2k.js → model-resolver-t9qyj45c.js} +14 -14
  234. package/dist/chunks/{agent-r9jvn0me.js → model-resolver-ta21jq92.js} +15 -15
  235. package/dist/chunks/{agent-xkympmbz.js → model-resolver-tasvem1v.js} +6 -6
  236. package/dist/chunks/{agent-ya0bzcwn.js → model-resolver-tc5pmsfr.js} +27 -27
  237. package/dist/chunks/{agent-tczq8hjw.js → model-resolver-tczq8hjw.js} +1 -1
  238. package/dist/chunks/{agent-enkpkfwx.js → model-resolver-tg1vr1qt.js} +8 -8
  239. package/dist/chunks/{agent-c3cfh5w6.js → model-resolver-tkmwn4n3.js} +7 -7
  240. package/dist/chunks/{agent-fp2kss3x.js → model-resolver-tn5gxkrv.js} +6 -6
  241. package/dist/chunks/{agent-xxf3k3sy.js → model-resolver-tw4wrdz4.js} +14 -14
  242. package/dist/chunks/{agent-q2dycjj6.js → model-resolver-tw8wcj15.js} +7 -7
  243. package/dist/chunks/{agent-tw8zr1ps.js → model-resolver-tw8zr1ps.js} +1 -1
  244. package/dist/chunks/{agent-awmbx144.js → model-resolver-tw97zmqb.js} +10 -10
  245. package/dist/chunks/{agent-twv2r8f4.js → model-resolver-twv2r8f4.js} +2 -2
  246. package/dist/chunks/{agent-00n6seg6.js → model-resolver-tyfqe8mq.js} +35 -35
  247. package/dist/chunks/{agent-dwm0n3p0.js → model-resolver-tyfsk4mw.js} +5 -5
  248. package/dist/chunks/{agent-q431msev.js → model-resolver-v27kyr9e.js} +9 -9
  249. package/dist/chunks/{agent-v2r1d0zg.js → model-resolver-v2r1d0zg.js} +1 -1
  250. package/dist/chunks/{agent-zqfy40s7.js → model-resolver-v5d8y8eg.js} +24 -24
  251. package/dist/chunks/{agent-t81h9cx6.js → model-resolver-v79kmtvw.js} +17 -17
  252. package/dist/chunks/{agent-9q3bjtf0.js → model-resolver-v9e2a6a3.js} +18 -18
  253. package/dist/chunks/{agent-x7nn8z2j.js → model-resolver-vcxs933z.js} +8 -8
  254. package/dist/chunks/{agent-vd3b3yk9.js → model-resolver-vd3b3yk9.js} +1 -1
  255. package/dist/chunks/{agent-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
  256. package/dist/chunks/{agent-5vk473bb.js → model-resolver-vg0zp5sr.js} +12 -12
  257. package/dist/chunks/{agent-vmfhgzt5.js → model-resolver-vmfhgzt5.js} +1 -1
  258. package/dist/chunks/{agent-xw0c0mqp.js → model-resolver-vn71xy6d.js} +10 -10
  259. package/dist/chunks/{agent-e1x5hgfw.js → model-resolver-vv5h4bmz.js} +3 -3
  260. package/dist/chunks/{agent-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{agent-qps3wf85.js → model-resolver-w4ynznac.js} +11 -11
  262. package/dist/chunks/{agent-pyzjd10w.js → model-resolver-w8yd89gy.js} +3 -3
  263. package/dist/chunks/{agent-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
  264. package/dist/chunks/{agent-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  265. package/dist/chunks/{agent-z1b9nwea.js → model-resolver-wy7bdrzd.js} +6 -6
  266. package/dist/chunks/{agent-qdjpasa6.js → model-resolver-wzbm9yap.js} +17 -17
  267. package/dist/chunks/{agent-ez1g32xq.js → model-resolver-x7pzp06w.js} +8 -8
  268. package/dist/chunks/{agent-9egmy7ex.js → model-resolver-xj5vncmq.js} +23 -23
  269. package/dist/chunks/{agent-mvrp1pf2.js → model-resolver-xs05vffk.js} +13 -13
  270. package/dist/chunks/{agent-9q7rnr6m.js → model-resolver-y71ddsac.js} +14 -14
  271. package/dist/chunks/{agent-yb20nhc3.js → model-resolver-yb20nhc3.js} +1 -1
  272. package/dist/chunks/{agent-g1ay4zd8.js → model-resolver-yc4xwjk4.js} +9 -9
  273. package/dist/chunks/{agent-dza0thjn.js → model-resolver-yg834er4.js} +18 -18
  274. package/dist/chunks/{agent-c9nnf1dt.js → model-resolver-yh4ym469.js} +4 -4
  275. package/dist/chunks/{agent-njstssvg.js → model-resolver-ysdmcr0h.js} +16 -16
  276. package/dist/chunks/{agent-cb7xvab4.js → model-resolver-yvktxnyk.js} +15 -15
  277. package/dist/chunks/{agent-w1w7qgbq.js → model-resolver-ywtfgq8q.js} +11 -11
  278. package/dist/chunks/{agent-ac2jg0km.js → model-resolver-yxb96n0x.js} +44 -44
  279. package/dist/chunks/{agent-cbva7xm7.js → model-resolver-yzex6x75.js} +17 -17
  280. package/dist/chunks/{agent-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{agent-z38nccrw.js → model-resolver-z38nccrw.js} +1 -1
  282. package/dist/chunks/{agent-02kv643b.js → model-resolver-z49nhv4t.js} +13 -13
  283. package/dist/chunks/{agent-cr8qxe6d.js → model-resolver-z7724tht.js} +11 -11
  284. package/dist/chunks/{agent-yyd0z27r.js → model-resolver-z9pdc6em.js} +18 -18
  285. package/dist/chunks/{agent-sfayrj8h.js → model-resolver-zj7p4na3.js} +15 -15
  286. package/dist/chunks/model-resolver-zk2w4fb9.js +26 -0
  287. package/dist/chunks/{agent-zkg84ctx.js → model-resolver-zkg84ctx.js} +1 -1
  288. package/dist/chunks/{agent-0p88zpcm.js → model-resolver-zkgq49d1.js} +4 -4
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +5 -5
  291. package/dist/codemode/tool.js +3 -3
  292. package/dist/codemode/web.js +1 -1
  293. package/dist/command.js +87 -87
  294. package/dist/config/discovery.js +84 -84
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +101 -101
  297. package/dist/config/plugin/agent.js +116 -116
  298. package/dist/config/plugin/command.js +212 -212
  299. package/dist/config/plugin/compaction.js +155 -155
  300. package/dist/config/plugin/compatibility.js +135 -135
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +117 -117
  303. package/dist/config/plugin/image.js +116 -116
  304. package/dist/config/plugin/instruction.js +116 -116
  305. package/dist/config/plugin/location-watcher.js +116 -116
  306. package/dist/config/plugin/mcp.js +123 -123
  307. package/dist/config/plugin/policy.js +117 -117
  308. package/dist/config/plugin/provider.js +116 -116
  309. package/dist/config/plugin/reference.js +118 -118
  310. package/dist/config/plugin/shell.js +116 -116
  311. package/dist/config/plugin/skill-file.js +104 -104
  312. package/dist/config/plugin/skill-scan.js +1 -1
  313. package/dist/config/plugin/skill.js +136 -136
  314. package/dist/config/plugin/snapshot.js +116 -116
  315. package/dist/config/plugin/source.js +119 -119
  316. package/dist/config/plugin/tool-output.js +117 -117
  317. package/dist/config/plugin/websearch.js +115 -115
  318. package/dist/config/plugin/worktree.js +118 -118
  319. package/dist/config/variable.js +1 -1
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +121 -121
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +83 -83
  324. package/dist/database/database.js +68 -68
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  389. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  390. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  391. package/dist/database/migration.gen.js +51 -51
  392. package/dist/database/migration.js +53 -53
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +89 -89
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +370 -370
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +95 -95
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +97 -97
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +3 -3
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +72 -72
  416. package/dist/file-access.js +106 -106
  417. package/dist/file-mutation.js +96 -96
  418. package/dist/file-retention.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/location-watcher-policy.js +4 -4
  424. package/dist/filesystem/location-watcher.js +221 -221
  425. package/dist/filesystem/protected.js +1 -1
  426. package/dist/filesystem/search.js +99 -99
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +11 -11
  429. package/dist/filesystem.js +106 -106
  430. package/dist/form.js +84 -84
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +89 -89
  433. package/dist/generate.js +105 -105
  434. package/dist/git.js +10 -10
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +93 -93
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +361 -361
  458. package/dist/instruction-discovery.js +86 -86
  459. package/dist/instructions/builtins.js +89 -89
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +80 -80
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +75 -75
  466. package/dist/location-activity.js +156 -156
  467. package/dist/location-lifecycle.js +109 -109
  468. package/dist/location-service-map.js +88 -88
  469. package/dist/location-services.js +358 -358
  470. package/dist/location.js +89 -89
  471. package/dist/managed-policy.js +8 -8
  472. package/dist/mcp/client.js +93 -93
  473. package/dist/mcp/index.js +111 -111
  474. package/dist/mcp/instructions.js +138 -138
  475. package/dist/mcp/oauth.js +80 -80
  476. package/dist/mcp/socket-client.js +1 -1
  477. package/dist/mcp/stdio.js +92 -92
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +93 -93
  480. package/dist/model-resolver.js +101 -101
  481. package/dist/model-retry.js +1 -1
  482. package/dist/model.js +98 -98
  483. package/dist/models-dev.js +109 -109
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +82 -82
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +111 -111
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +88 -88
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +77 -77
  493. package/dist/plugin/agent.js +76 -76
  494. package/dist/plugin/command.js +102 -102
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +218 -218
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +333 -333
  500. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  501. package/dist/plugin/models-dev.js +98 -98
  502. package/dist/plugin/module.js +117 -117
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +104 -104
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  507. package/dist/plugin/provider/azure.js +116 -116
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/chatgpt.js +116 -116
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +112 -112
  514. package/dist/plugin/provider/databricks.js +1 -1
  515. package/dist/plugin/provider/digitalocean.js +95 -95
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/github-copilot.js +97 -97
  519. package/dist/plugin/provider/gitlab.js +95 -95
  520. package/dist/plugin/provider/google-vertex.js +113 -113
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +80 -80
  523. package/dist/plugin/provider/lmstudio.js +125 -125
  524. package/dist/plugin/provider/local.js +122 -122
  525. package/dist/plugin/provider/modal.js +94 -94
  526. package/dist/plugin/provider/neon.js +1 -1
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +125 -125
  529. package/dist/plugin/provider/openai-context-caps.js +92 -92
  530. package/dist/plugin/provider/openai.js +118 -118
  531. package/dist/plugin/provider/opencode.js +103 -103
  532. package/dist/plugin/provider/openrouter.js +93 -93
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +81 -81
  535. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  536. package/dist/plugin/provider/sap-ai-core.js +93 -93
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  539. package/dist/plugin/provider/vercel.js +92 -92
  540. package/dist/plugin/provider/vllm.js +125 -125
  541. package/dist/plugin/provider/xai.js +93 -93
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +171 -171
  544. package/dist/plugin/sdk.js +78 -78
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +134 -134
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +352 -352
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +88 -88
  552. package/dist/plugin/vcs/hg.js +88 -88
  553. package/dist/plugin/verbosity.js +95 -95
  554. package/dist/plugin/warming.js +114 -114
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +4 -4
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +225 -225
  563. package/dist/project/schema.js +6 -6
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +90 -90
  566. package/dist/provider.js +97 -97
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +99 -99
  570. package/dist/reference/instructions.js +91 -91
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +79 -79
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +99 -99
  576. package/dist/rpc.js +88 -88
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +76 -76
  580. package/dist/session/compaction.js +138 -138
  581. package/dist/session/context.js +164 -164
  582. package/dist/session/diff.js +90 -90
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +221 -221
  587. package/dist/session/execution.js +130 -130
  588. package/dist/session/generate.js +164 -164
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +97 -97
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +81 -81
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +99 -99
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +122 -122
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +132 -132
  600. package/dist/session/projector.js +91 -91
  601. package/dist/session/prompt.js +107 -107
  602. package/dist/session/recent-text.js +1 -1
  603. package/dist/session/revert.js +96 -96
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +231 -231
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +102 -102
  609. package/dist/session/runner/publish-llm-event.js +116 -116
  610. package/dist/session/runner/retry.js +5 -5
  611. package/dist/session/runner/step.js +128 -128
  612. package/dist/session/runner/to-llm-message.js +14 -14
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +163 -163
  615. package/dist/session/shell.js +130 -130
  616. package/dist/session/skill.js +105 -105
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +75 -75
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +212 -212
  622. package/dist/session/system-prompt.js +1 -1
  623. package/dist/session/title.js +168 -168
  624. package/dist/session/to-session-error.js +114 -114
  625. package/dist/session/transfer.js +217 -217
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +218 -218
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +132 -132
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +109 -109
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +95 -95
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +139 -139
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +126 -126
  644. package/dist/tool/plugin/grep.js +126 -126
  645. package/dist/tool/plugin/mcp-resource.js +126 -126
  646. package/dist/tool/plugin/opencode.js +111 -111
  647. package/dist/tool/plugin/patch.js +124 -124
  648. package/dist/tool/plugin/question.js +105 -105
  649. package/dist/tool/plugin/read.js +127 -127
  650. package/dist/tool/plugin/shell.js +215 -215
  651. package/dist/tool/plugin/skill.js +115 -115
  652. package/dist/tool/plugin/subagent.js +219 -219
  653. package/dist/tool/plugin/todo.js +136 -136
  654. package/dist/tool/plugin/webfetch.js +115 -115
  655. package/dist/tool/plugin/websearch.js +110 -110
  656. package/dist/tool/plugin/write.js +122 -122
  657. package/dist/tool/read-filesystem.js +102 -102
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +7 -7
  660. package/dist/tool.js +16 -16
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +7 -7
  669. package/dist/v1/config/command.js +5 -5
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +95 -95
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +90 -90
  680. package/dist/websearch.js +82 -82
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +83 -83
  683. package/dist/workspace/driver.js +7 -7
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +98 -98
  691. package/package.json +8 -8
  692. package/dist/chunks/agent-f56tfzs6.js +0 -523
  693. package/dist/chunks/agent-gbftmgpj.js +0 -26
  694. package/dist/chunks/agent-qsxt5pmn.js +0 -257
  695. package/dist/chunks/agent-z7bdqmx5.js +0 -18
  696. /package/dist/chunks/{agent-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{agent-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{agent-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{agent-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{agent-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{agent-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{agent-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{agent-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{agent-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{agent-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  706. /package/dist/chunks/{agent-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{agent-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{agent-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{agent-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{agent-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{agent-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{agent-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  713. /package/dist/chunks/{agent-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{agent-5fjb7ams.js → model-resolver-5fjb7ams.js} +0 -0
  715. /package/dist/chunks/{agent-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  716. /package/dist/chunks/{agent-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{agent-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{agent-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{agent-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  720. /package/dist/chunks/{agent-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{agent-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{agent-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{agent-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{agent-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{agent-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{agent-a058387c.js → model-resolver-a058387c.js} +0 -0
  727. /package/dist/chunks/{agent-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{agent-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{agent-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{agent-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{agent-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{agent-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{agent-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{agent-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{agent-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{agent-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{agent-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{agent-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{agent-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{agent-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  741. /package/dist/chunks/{agent-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{agent-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{agent-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{agent-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{agent-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{agent-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{agent-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{agent-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{agent-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{agent-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{agent-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{agent-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  753. /package/dist/chunks/{agent-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{agent-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  755. /package/dist/chunks/{agent-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{agent-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  757. /package/dist/chunks/{agent-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{agent-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{agent-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{agent-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{agent-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{agent-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{agent-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{agent-m18g726c.js → model-resolver-m18g726c.js} +0 -0
  765. /package/dist/chunks/{agent-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{agent-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{agent-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{agent-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{agent-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{agent-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{agent-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{agent-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{agent-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{agent-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{agent-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{agent-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{agent-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{agent-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{agent-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{agent-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{agent-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{agent-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{agent-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{agent-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{agent-wjj7prxr.js → model-resolver-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{agent-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{agent-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{agent-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  789. /package/dist/chunks/{agent-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{agent-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{agent-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{agent-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{agent-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{agent-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -2,32 +2,32 @@ import {
2
2
  ephemeral2,
3
3
  Service85,
4
4
  node89
5
- } from "./agent-vxgn3e9c.js";
5
+ } from "./model-resolver-9chjwwnc.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make20,
10
+ make21,
11
11
  diffByKey2
12
- } from "./agent-e5dqjz6v.js";
12
+ } from "./model-resolver-jneg3k74.js";
13
13
  import {
14
14
  create3
15
- } from "./agent-vd3b3yk9.js";
15
+ } from "./model-resolver-vd3b3yk9.js";
16
16
  import {
17
17
  __export
18
- } from "./agent-9rqn6x4v.js";
18
+ } from "./model-resolver-9rqn6x4v.js";
19
19
 
20
20
  // src/instruction-discovery.ts
21
21
  var exports_instruction_discovery = {};
22
22
  __export(exports_instruction_discovery, {
23
- Event: () => Event13,
23
+ Event: () => Event5,
24
24
  File: () => File2,
25
25
  InstructionDiscovery: () => exports_instruction_discovery,
26
- Options: () => Options8,
27
- Service: () => Service72,
28
- configured: () => configured11,
29
- layer: () => layer26,
30
- node: () => node76
26
+ Options: () => Options4,
27
+ Service: () => Service32,
28
+ configured: () => configured4,
29
+ layer: () => layer16,
30
+ node: () => node35
31
31
  });
32
32
  import { Context, Effect, Layer, Schema } from "effect";
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,17 +39,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
39
39
  }
40
40
  var Files = Schema.Array(File2);
41
41
  var key = Key3.make("core/instructions");
42
- var Event13 = {
42
+ var Event5 = {
43
43
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
44
44
  };
45
- var Options8 = Schema.Struct({
45
+ var Options4 = Schema.Struct({
46
46
  project: Schema.optional(Schema.Boolean),
47
47
  global: Schema.optional(Schema.Boolean)
48
48
  });
49
49
 
50
- class Service72 extends Context.Service()("@opencode/InstructionDiscovery") {
50
+ class Service32 extends Context.Service()("@opencode/InstructionDiscovery") {
51
51
  }
52
- var layer26 = (options) => Layer.effect(Service72, Effect.gen(function* () {
52
+ var layer16 = (options) => Layer.effect(Service32, Effect.gen(function* () {
53
53
  const bus = yield* Service85;
54
54
  const state = create3({
55
55
  name: "instruction-discovery",
@@ -69,9 +69,9 @@ var layer26 = (options) => Layer.effect(Service72, Effect.gen(function* () {
69
69
  editor.available = false;
70
70
  }
71
71
  }),
72
- notify: () => bus.publish(Event13.Updated, {}).pipe(Effect.asVoid)
72
+ notify: () => bus.publish(Event5.Updated, {}).pipe(Effect.asVoid)
73
73
  });
74
- const source = (value) => make20({
74
+ const source = (value) => make21({
75
75
  key,
76
76
  codec: Schema.toCodecJson(Files),
77
77
  read: Effect.succeed(value),
@@ -87,7 +87,7 @@ var layer26 = (options) => Layer.effect(Service72, Effect.gen(function* () {
87
87
  return unavailable3;
88
88
  return Array.from(current.files.values());
89
89
  });
90
- return Service72.of({
90
+ return Service32.of({
91
91
  project: options?.project !== false,
92
92
  global: options?.global !== false,
93
93
  transform: state.transform,
@@ -101,14 +101,14 @@ var layer26 = (options) => Layer.effect(Service72, Effect.gen(function* () {
101
101
  })
102
102
  });
103
103
  }));
104
- function configured11(options) {
104
+ function configured4(options) {
105
105
  return makeLocationNode({
106
- service: Service72,
107
- layer: layer26(options),
106
+ service: Service32,
107
+ layer: layer16(options),
108
108
  deps: [node89]
109
109
  });
110
110
  }
111
- var node76 = configured11();
111
+ var node35 = configured4();
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, Event13, Options8, Service72, layer26, configured11, node76, exports_instruction_discovery };
142
+ export { File2, Event5, Options4, Service32, layer16, configured4, node35, exports_instruction_discovery };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./agent-vxgn3e9c.js";
4
+ } from "./model-resolver-9chjwwnc.js";
5
5
  import {
6
6
  create3
7
- } from "./agent-vd3b3yk9.js";
7
+ } from "./model-resolver-vd3b3yk9.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./agent-5sgdhf0y.js";
10
+ } from "./model-resolver-snpgexks.js";
11
11
  import {
12
12
  __export
13
- } from "./agent-9rqn6x4v.js";
13
+ } from "./model-resolver-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event8,
21
- ID: () => ID6,
22
- Info: () => Info8,
20
+ Event: () => Event10,
21
+ ID: () => ID5,
22
+ Info: () => Info9,
23
23
  Name: () => Name2,
24
- Service: () => Service49,
24
+ Service: () => Service48,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available3,
29
- node: () => node53,
29
+ node: () => node52,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -35,13 +35,13 @@ import { FSUtil } from "@opencode/util/fs-util";
35
35
  import path from "path";
36
36
  import { Context, Effect, Layer } from "effect";
37
37
  import { Skill } from "@opencode/schema/skill";
38
- import { Event as Event8 } from "@opencode/schema/skill";
38
+ import { Event as Event10 } from "@opencode/schema/skill";
39
39
  var DirectorySource2 = Skill.DirectorySource;
40
40
  var UrlSource2 = Skill.UrlSource;
41
41
  var EmbeddedSource2 = Skill.EmbeddedSource;
42
42
  var Source4 = Skill.Source;
43
- var Info8 = Skill.Info;
44
- var ID6 = Skill.ID;
43
+ var Info9 = Skill.Info;
44
+ var ID5 = Skill.ID;
45
45
  var Name2 = Skill.Name;
46
46
  var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
47
47
  var toModelOutput3 = (skill, files) => {
@@ -78,21 +78,21 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
78
78
  };
79
79
  });
80
80
 
81
- class Service49 extends Context.Service()("@opencode/Skill") {
81
+ class Service48 extends Context.Service()("@opencode/Skill") {
82
82
  }
83
- var layer = Layer.effect(Service49, Effect.gen(function* () {
83
+ var layer = Layer.effect(Service48, Effect.gen(function* () {
84
84
  const bus = yield* Service85;
85
85
  const state = create3({
86
86
  name: "skill",
87
87
  initial: () => ({ skills: new Map }),
88
88
  editor: (editor) => ({
89
89
  list: () => Array.from(editor.skills.values()),
90
- get: (id) => editor.skills.get(ID6.make(id)),
90
+ get: (id) => editor.skills.get(ID5.make(id)),
91
91
  add: (skill) => {
92
92
  editor.skills.set(skill.id, { ...skill });
93
93
  },
94
94
  update: (id, update) => {
95
- const key = ID6.make(id);
95
+ const key = ID5.make(id);
96
96
  const current = editor.skills.get(key);
97
97
  if (!current)
98
98
  return;
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
100
100
  current.id = key;
101
101
  },
102
102
  remove: (id) => {
103
- editor.skills.delete(ID6.make(id));
103
+ editor.skills.delete(ID5.make(id));
104
104
  }
105
105
  }),
106
106
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
107
107
  });
108
- return Service49.of({
108
+ return Service48.of({
109
109
  transform: state.transform,
110
110
  reload: state.reload,
111
111
  get: Effect.fn("Skill.get")(function* (id) {
@@ -116,10 +116,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node53 = makeLocationNode({
120
- service: Service49,
119
+ var node52 = makeLocationNode({
120
+ service: Service48,
121
121
  layer,
122
122
  deps: [node89]
123
123
  });
124
124
 
125
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info8, ID6, Name2, available3, toModelOutput3, prepare3, Service49, node53, exports_skill5, Event8 };
125
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info9, ID5, Name2, available3, toModelOutput3, prepare3, Service48, node52, exports_skill5, Event10 };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./agent-vxgn3e9c.js";
4
+ } from "./model-resolver-9chjwwnc.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./agent-x29zv49r.js";
6
+ Service81,
7
+ node85
8
+ } from "./model-resolver-r3hept05.js";
9
9
  import {
10
10
  Service69,
11
11
  node73
12
- } from "./agent-3s89fne6.js";
12
+ } from "./model-resolver-t7x5nw9y.js";
13
13
  import {
14
- NotFoundError8
15
- } from "./agent-yjkkab03.js";
14
+ NotFoundError9
15
+ } from "./model-resolver-cabw4y3p.js";
16
16
  import {
17
- Service63,
18
- node67
19
- } from "./agent-6t50jf2k.js";
17
+ Service68,
18
+ node72
19
+ } from "./model-resolver-t9qyj45c.js";
20
20
  import {
21
21
  match2
22
- } from "./agent-z38nccrw.js";
22
+ } from "./model-resolver-z38nccrw.js";
23
23
  import {
24
- Service64,
25
- node68
26
- } from "./agent-1vpzeawt.js";
24
+ Service67,
25
+ node71
26
+ } from "./model-resolver-pfjg1qnb.js";
27
27
  import {
28
- Service65,
29
- node69
30
- } from "./agent-q6vmwcr3.js";
28
+ Service77,
29
+ node81
30
+ } from "./model-resolver-j77g158z.js";
31
31
  import {
32
32
  __export
33
- } from "./agent-9rqn6x4v.js";
33
+ } from "./model-resolver-9rqn6x4v.js";
34
34
 
35
35
  // src/permission.ts
36
- var exports_permission2 = {};
37
- __export(exports_permission2, {
36
+ var exports_permission = {};
37
+ __export(exports_permission, {
38
38
  BlockedError: () => BlockedError2,
39
39
  CorrectedError: () => CorrectedError2,
40
40
  DeclinedError: () => DeclinedError2,
41
41
  Effect: () => PermissionEffect,
42
- Event: () => Event10,
42
+ Event: () => Event11,
43
43
  ID: () => ID7,
44
44
  NotFoundError: () => NotFoundError7,
45
- Permission: () => exports_permission2,
45
+ Permission: () => exports_permission,
46
46
  Reply: () => Reply2,
47
47
  Request: () => Request2,
48
- Rule: () => Rule3,
48
+ Rule: () => Rule2,
49
49
  Ruleset: () => Ruleset2,
50
- Service: () => Service62,
50
+ Service: () => Service66,
51
51
  Source: () => Source5,
52
52
  evaluate: () => evaluate2,
53
53
  merge: () => merge2,
54
- node: () => node66
54
+ node: () => node70
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
57
57
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
58
58
  import { Permission } from "@opencode/schema/permission";
59
- import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
60
- import { Event as Event10 } from "@opencode/schema/permission";
59
+ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
60
+ import { Event as Event11 } from "@opencode/schema/permission";
61
61
  var PermissionEffect = Permission.Effect;
62
62
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
63
63
  var ID7 = Permission.ID;
@@ -99,15 +99,15 @@ function merge2(...rulesets) {
99
99
  return rulesets.flat();
100
100
  }
101
101
 
102
- class Service62 extends Context.Service()("@opencode/Permission") {
102
+ class Service66 extends Context.Service()("@opencode/Permission") {
103
103
  }
104
- var layer = Layer.effect(Service62, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service66, Effect.gen(function* () {
105
105
  const bus = yield* Service85;
106
- const location = yield* Service82;
106
+ const location = yield* Service81;
107
107
  const agents = yield* Service69;
108
- const sessions = yield* Service63;
109
- const saved = yield* Service64;
110
- const hooks = yield* Service65;
108
+ const sessions = yield* Service68;
109
+ const saved = yield* Service67;
110
+ const hooks = yield* Service77;
111
111
  const pending = new Map;
112
112
  let closed = false;
113
113
  const close = Effect.gen(function* () {
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
130
130
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
131
131
  const session = yield* sessions.get(sessionID);
132
132
  if (!session)
133
- return yield* new NotFoundError8({ sessionID });
133
+ return yield* new NotFoundError9({ sessionID });
134
134
  const agent = yield* agents.resolve(agentID ?? session.agent);
135
135
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
136
136
  });
@@ -271,12 +271,12 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
271
271
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
272
272
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
273
273
  });
274
- return Service62.of({ ask, assert, reply, get, forSession, list, close });
274
+ return Service66.of({ ask, assert, reply, get, forSession, list, close });
275
275
  }));
276
- var node66 = makeLocationNode({
277
- service: Service62,
276
+ var node70 = makeLocationNode({
277
+ service: Service66,
278
278
  layer,
279
- deps: [node89, node86, node73, node67, node68, node69]
279
+ deps: [node89, node85, node73, node72, node71, node81]
280
280
  });
281
281
 
282
- export { PermissionEffect, ID7, Source5, Request2, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service62, node66, exports_permission2, Rule3, Ruleset2, Event10 };
282
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service66, node70, exports_permission, Rule2, Ruleset2, Event11 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./agent-9egmy7ex.js";
4
+ } from "./model-resolver-xj5vncmq.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./agent-vxgn3e9c.js";
4
+ } from "./model-resolver-9chjwwnc.js";
5
5
  import {
6
6
  Key4,
7
7
  External2,
8
- Service77,
9
- node81
10
- } from "./agent-r8vff35f.js";
8
+ Service79,
9
+ node83
10
+ } from "./model-resolver-kfwqqrwd.js";
11
11
  import {
12
12
  create3
13
- } from "./agent-vd3b3yk9.js";
13
+ } from "./model-resolver-vd3b3yk9.js";
14
14
  import {
15
15
  key2
16
- } from "./agent-s626qfae.js";
16
+ } from "./model-resolver-s626qfae.js";
17
17
  import {
18
18
  validateAnswer2,
19
19
  validateFields2
20
- } from "./agent-84rbnah8.js";
20
+ } from "./model-resolver-hdcqmdk3.js";
21
21
  import {
22
22
  __export
23
- } from "./agent-9rqn6x4v.js";
23
+ } from "./model-resolver-9rqn6x4v.js";
24
24
 
25
25
  // src/integration.ts
26
26
  var exports_integration = {};
@@ -37,7 +37,7 @@ __export(exports_integration, {
37
37
  EnvMethod: () => EnvMethod2,
38
38
  Event: () => Event16,
39
39
  ExternalMethod: () => ExternalMethod2,
40
- ID: () => ID14,
40
+ ID: () => ID12,
41
41
  Info: () => Info21,
42
42
  Integration: () => exports_integration,
43
43
  KeyMethod: () => KeyMethod2,
@@ -45,8 +45,8 @@ __export(exports_integration, {
45
45
  MethodID: () => MethodID2,
46
46
  OAuthMethod: () => OAuthMethod2,
47
47
  Ref: () => Ref3,
48
- Service: () => Service75,
49
- node: () => node79
48
+ Service: () => Service76,
49
+ node: () => node80
50
50
  });
51
51
  import { makeLocationNode } from "@opencode/util/effect/app-node";
52
52
  import {
@@ -69,7 +69,7 @@ import { Integration } from "@opencode/schema/integration";
69
69
  import { AppProcess } from "@opencode/util/process";
70
70
  import { ChildProcess } from "effect/process";
71
71
  import { Event as Event16 } from "@opencode/schema/integration";
72
- var ID14 = Integration.ID;
72
+ var ID12 = Integration.ID;
73
73
  var MethodID2 = Integration.MethodID;
74
74
  var AttemptID2 = Integration.AttemptID;
75
75
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -101,19 +101,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
101
101
  }
102
102
 
103
103
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
104
- integrationID: ID14,
104
+ integrationID: ID12,
105
105
  attemptID: AttemptID2
106
106
  }) {
107
107
  }
108
108
  var Ref3 = Integration.Ref;
109
109
 
110
- class Service75 extends Context.Service()("@opencode/Integration") {
110
+ class Service76 extends Context.Service()("@opencode/Integration") {
111
111
  }
112
112
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
113
113
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
114
114
  var scrubInterval = Duration.seconds(30);
115
- var layer = Layer.effect(Service75, Effect.gen(function* () {
116
- const credentials = yield* Service77;
115
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
116
+ const credentials = yield* Service79;
117
117
  const bus = yield* Service85;
118
118
  const processes = yield* AppProcess.Service;
119
119
  const scope = yield* Scope.Scope;
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
447
447
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
448
448
  return CommandAttempt2.make({ attemptID, time });
449
449
  });
450
- return Service75.of({
450
+ return Service76.of({
451
451
  transform: state.transform,
452
452
  reload: state.reload,
453
453
  revision: state.revision,
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
629
629
  }
630
630
  });
631
631
  }));
632
- var node79 = makeLocationNode({
633
- service: Service75,
632
+ var node80 = makeLocationNode({
633
+ service: Service76,
634
634
  layer,
635
- deps: [node81, node89, AppProcess.node]
635
+ deps: [node83, node89, AppProcess.node]
636
636
  });
637
637
 
638
- export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info21, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service75, node79, exports_integration, Event16 };
638
+ export { ID12, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info21, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service76, node80, exports_integration, Event16 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./agent-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  requestExecutor2
3
- } from "./agent-p015t6z3.js";
3
+ } from "./model-resolver-p015t6z3.js";
4
4
  import {
5
- ID14,
6
- Service75,
7
- node79
8
- } from "./agent-j8ka3dj3.js";
5
+ ID12,
6
+ Service76,
7
+ node80
8
+ } from "./model-resolver-spep79sh.js";
9
9
  import {
10
10
  __export
11
- } from "./agent-9rqn6x4v.js";
11
+ } from "./model-resolver-9rqn6x4v.js";
12
12
 
13
13
  // src/voice.ts
14
14
  var exports_voice = {};
15
15
  __export(exports_voice, {
16
16
  InvalidRequestError: () => InvalidRequestError2,
17
- Service: () => Service60,
18
- UnavailableError: () => UnavailableError3,
17
+ Service: () => Service14,
18
+ UnavailableError: () => UnavailableError2,
19
19
  Voice: () => exports_voice,
20
- layer: () => layer23,
21
- node: () => node64
20
+ layer: () => layer9,
21
+ node: () => node17
22
22
  });
23
23
  import {
24
24
  Realtime
@@ -31,19 +31,19 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError3 extends Schema.TaggedError()("Voice.UnavailableError", {
34
+ class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service60 extends Context.Service()("@opencode/Voice") {
40
+ class Service14 extends Context.Service()("@opencode/Voice") {
41
41
  }
42
- var layer23 = Layer.effect(Service60, Effect.gen(function* () {
42
+ var layer9 = Layer.effect(Service14, Effect.gen(function* () {
43
43
  const executor = yield* RequestExecutor.Service;
44
- const integrations = yield* Service75;
44
+ const integrations = yield* Service76;
45
45
  let hosted;
46
- const findConnection = (provider) => integrations.get(ID14.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || item.method === "key")));
46
+ const findConnection = (provider) => integrations.get(ID12.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || item.method === "key")));
47
47
  const models = Effect.fn("Voice.models")(function* () {
48
48
  const host = hosted;
49
49
  const list = yield* Effect.forEach(Realtime.engines, (engine) => host?.models.includes(engine.model) ? Effect.succeed({
@@ -70,13 +70,13 @@ var layer23 = Layer.effect(Service60, Effect.gen(function* () {
70
70
  if (hosted?.models.includes(input.model))
71
71
  return yield* hosted.session(input);
72
72
  const connection = yield* findConnection(engine.provider);
73
- const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError3({ service: engine.provider, message: error.message }))) : undefined;
73
+ const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: engine.provider, message: error.message }))) : undefined;
74
74
  if (credential?.type !== "key")
75
- return yield* new UnavailableError3({
75
+ return yield* new UnavailableError2({
76
76
  service: engine.provider,
77
77
  message: missingKeyMessage[engine.provider]
78
78
  });
79
- const transport = yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: engine.provider })));
79
+ const transport = yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: engine.provider })));
80
80
  return { transport };
81
81
  });
82
82
  const instruct = Effect.fn("Voice.instruct")(function* (input) {
@@ -84,7 +84,7 @@ var layer23 = Layer.effect(Service60, Effect.gen(function* () {
84
84
  return yield* new InvalidRequestError2({ message: "Only hosted voice sessions take instructions" });
85
85
  return yield* hosted.instruct(input);
86
86
  });
87
- return Service60.of({
87
+ return Service14.of({
88
88
  models,
89
89
  session,
90
90
  instruct,
@@ -93,10 +93,10 @@ var layer23 = Layer.effect(Service60, Effect.gen(function* () {
93
93
  })
94
94
  });
95
95
  }));
96
- var node64 = makeLocationNode({
97
- service: Service60,
98
- layer: layer23,
99
- deps: [node79, requestExecutor2]
96
+ var node17 = makeLocationNode({
97
+ service: Service14,
98
+ layer: layer9,
99
+ deps: [node80, requestExecutor2]
100
100
  });
101
101
  var missingKeyMessage = {
102
102
  openai: "Voice needs an OpenAI API key on the server (a stored key or OPENAI_API_KEY). ChatGPT sign-in can't start voice sessions.",
@@ -104,4 +104,4 @@ var missingKeyMessage = {
104
104
  google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
105
105
  };
106
106
 
107
- export { InvalidRequestError2, UnavailableError3, Service60, layer23, node64, exports_voice };
107
+ export { InvalidRequestError2, UnavailableError2, Service14, layer9, node17, exports_voice };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./agent-vxgn3e9c.js";
4
+ } from "./model-resolver-9chjwwnc.js";
5
5
  import {
6
6
  create3
7
- } from "./agent-vd3b3yk9.js";
7
+ } from "./model-resolver-vd3b3yk9.js";
8
8
  import {
9
9
  __export
10
- } from "./agent-9rqn6x4v.js";
10
+ } from "./model-resolver-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent4 = {};
14
- __export(exports_agent4, {
15
- Agent: () => exports_agent4,
13
+ var exports_agent3 = {};
14
+ __export(exports_agent3, {
15
+ Agent: () => exports_agent3,
16
16
  Color: () => Color2,
17
- Event: () => Event11,
18
- ID: () => ID10,
19
- Info: () => Info17,
17
+ Event: () => Event12,
18
+ ID: () => ID9,
19
+ Info: () => Info13,
20
20
  Name: () => Name3,
21
21
  Service: () => Service69,
22
22
  defaultID: () => defaultID2,
@@ -25,12 +25,12 @@ __export(exports_agent4, {
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Array, Context, Effect, Layer } from "effect";
27
27
  import { Agent } from "@opencode/schema/agent";
28
- import { Event as Event11 } from "@opencode/schema/agent";
29
- var ID10 = Agent.ID;
28
+ import { Event as Event12 } from "@opencode/schema/agent";
29
+ var ID9 = Agent.ID;
30
30
  var Name3 = Agent.Name;
31
- var defaultID2 = ID10.make("build");
31
+ var defaultID2 = ID9.make("build");
32
32
  var Color2 = Agent.Color;
33
- var Info17 = Agent.Info;
33
+ var Info13 = Agent.Info;
34
34
 
35
35
  class Service69 extends Context.Service()("@opencode/Agent") {
36
36
  }
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
46
46
  editor.default = id;
47
47
  },
48
48
  update: (id, fn) => {
49
- const current = editor.agents.get(id) ?? Info17.default(id);
49
+ const current = editor.agents.get(id) ?? Info13.default(id);
50
50
  if (!editor.agents.has(id))
51
51
  editor.agents.set(id, current);
52
52
  fn(current);
@@ -81,7 +81,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
81
81
  }),
82
82
  resolve: Effect.fnUntraced(function* (id) {
83
83
  if (id !== undefined)
84
- return state.get().agents.get(ID10.make(id));
84
+ return state.get().agents.get(ID9.make(id));
85
85
  return selectedDefault();
86
86
  }),
87
87
  select: Effect.fn("Agent.select")(function* (id) {
@@ -101,4 +101,4 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
101
101
  }));
102
102
  var node73 = makeLocationNode({ service: Service69, layer, deps: [node89] });
103
103
 
104
- export { ID10, Name3, defaultID2, Color2, Info17, Service69, node73, exports_agent4, Event11 };
104
+ export { ID9, Name3, defaultID2, Color2, Info13, Service69, node73, exports_agent3, Event12 };