@opencode/core 0.0.0-dev-20158 → 0.0.0-dev-20161

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 (803) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{model-resolver-qtq8atx0.js → persistent-pty-001y1jgc.js} +35 -35
  8. package/dist/chunks/{model-resolver-vegycmpw.js → persistent-pty-00qdhpqs.js} +17 -17
  9. package/dist/chunks/{model-resolver-typghqfk.js → persistent-pty-0hp4c3hn.js} +4 -4
  10. package/dist/chunks/{model-resolver-6f8s49am.js → persistent-pty-0km2ps5n.js} +15 -15
  11. package/dist/chunks/{model-resolver-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{model-resolver-6ms63ajj.js → persistent-pty-0tk0r9vs.js} +11 -11
  13. package/dist/chunks/{model-resolver-ha607pgt.js → persistent-pty-0zms6rpb.js} +6 -6
  14. package/dist/chunks/{model-resolver-zv2w3gwr.js → persistent-pty-0zs6fyez.js} +11 -11
  15. package/dist/chunks/{model-resolver-t1gsh4a5.js → persistent-pty-10cps0de.js} +60 -60
  16. package/dist/chunks/{model-resolver-b33searm.js → persistent-pty-16t7m2p8.js} +8 -8
  17. package/dist/chunks/{model-resolver-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{model-resolver-aqctzznh.js → persistent-pty-1dj1qnqc.js} +11 -11
  19. package/dist/chunks/{model-resolver-zds2rnmv.js → persistent-pty-1phy0an4.js} +9 -9
  20. package/dist/chunks/{model-resolver-4arp3q20.js → persistent-pty-1pkc5cmh.js} +25 -25
  21. package/dist/chunks/{model-resolver-k10ybmck.js → persistent-pty-1sjkd43q.js} +33 -33
  22. package/dist/chunks/{model-resolver-bn78pb0y.js → persistent-pty-1wgjazvh.js} +10 -10
  23. package/dist/chunks/{model-resolver-4g1652p2.js → persistent-pty-1y5g7d32.js} +5 -5
  24. package/dist/chunks/{model-resolver-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  25. package/dist/chunks/{model-resolver-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
  26. package/dist/chunks/{model-resolver-1kehk7jc.js → persistent-pty-25cqgkt3.js} +12 -12
  27. package/dist/chunks/{model-resolver-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{model-resolver-2bekqz3a.js → persistent-pty-2c7hjkzv.js} +9 -9
  29. package/dist/chunks/{model-resolver-2f0bjgcj.js → persistent-pty-2f0bjgcj.js} +2 -2
  30. package/dist/chunks/{model-resolver-gkz061q6.js → persistent-pty-2fcahxgq.js} +5 -5
  31. package/dist/chunks/{model-resolver-2htysf3r.js → persistent-pty-2gkx64as.js} +3 -3
  32. package/dist/chunks/{model-resolver-2k8khapm.js → persistent-pty-2k8khapm.js} +1 -1
  33. package/dist/chunks/{model-resolver-3918zp65.js → persistent-pty-2xsn1zg1.js} +8 -8
  34. package/dist/chunks/{model-resolver-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  35. package/dist/chunks/{model-resolver-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{model-resolver-5qn1w087.js → persistent-pty-3hz5d8pf.js} +33 -33
  37. package/dist/chunks/{model-resolver-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{model-resolver-22qs65eb.js → persistent-pty-3ttpyjev.js} +5 -5
  39. package/dist/chunks/{model-resolver-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{model-resolver-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{model-resolver-86gv9yex.js → persistent-pty-41tjw832.js} +44 -44
  42. package/dist/chunks/{model-resolver-wg2wgzge.js → persistent-pty-43amtwcs.js} +29 -29
  43. package/dist/chunks/{model-resolver-ermxvwhp.js → persistent-pty-4bm5ja14.js} +4 -4
  44. package/dist/chunks/{model-resolver-vcrm0pnt.js → persistent-pty-4ej9fmev.js} +6 -6
  45. package/dist/chunks/{model-resolver-z85c6j0e.js → persistent-pty-4g8a3071.js} +44 -44
  46. package/dist/chunks/{model-resolver-wkpvktmd.js → persistent-pty-4rjsgs5d.js} +13 -13
  47. package/dist/chunks/{model-resolver-n01f24md.js → persistent-pty-4sftmnet.js} +21 -21
  48. package/dist/chunks/{model-resolver-v52chzj3.js → persistent-pty-4snmkckq.js} +28 -28
  49. package/dist/chunks/{model-resolver-3n5xgdmc.js → persistent-pty-4v68peyh.js} +5 -5
  50. package/dist/chunks/{model-resolver-nysns02s.js → persistent-pty-511zxn61.js} +33 -33
  51. package/dist/chunks/{model-resolver-n799s5c3.js → persistent-pty-53tb33wk.js} +8 -8
  52. package/dist/chunks/{model-resolver-t3tp408p.js → persistent-pty-54whtqgx.js} +16 -16
  53. package/dist/chunks/{model-resolver-mfqp6xfm.js → persistent-pty-56gdpj1q.js} +6 -6
  54. package/dist/chunks/{model-resolver-57b9ws8p.js → persistent-pty-57b9ws8p.js} +1 -1
  55. package/dist/chunks/{model-resolver-4sn99hha.js → persistent-pty-57ez7d0k.js} +7 -7
  56. package/dist/chunks/{model-resolver-k8e8qrky.js → persistent-pty-58h6nhfy.js} +7 -7
  57. package/dist/chunks/{model-resolver-sv5s01x5.js → persistent-pty-58nbvhsb.js} +34 -34
  58. package/dist/chunks/{model-resolver-k1qrnqst.js → persistent-pty-5b84avn1.js} +8 -8
  59. package/dist/chunks/{model-resolver-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  60. package/dist/chunks/{model-resolver-0706z96g.js → persistent-pty-5hn18gj9.js} +19 -19
  61. package/dist/chunks/{model-resolver-90r4fb4b.js → persistent-pty-5kjs1xx3.js} +12 -12
  62. package/dist/chunks/{model-resolver-26see1q8.js → persistent-pty-5rc4gns8.js} +19 -19
  63. package/dist/chunks/{model-resolver-r322q3y6.js → persistent-pty-5s51epvc.js} +31 -31
  64. package/dist/chunks/{model-resolver-rehwyskh.js → persistent-pty-5sz0tvwy.js} +1 -1
  65. package/dist/chunks/{model-resolver-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  66. package/dist/chunks/{model-resolver-b9p5vg71.js → persistent-pty-5tmg9z32.js} +66 -66
  67. package/dist/chunks/persistent-pty-619r8v3y.js +18 -0
  68. package/dist/chunks/{model-resolver-0v1pwmed.js → persistent-pty-620nd8sc.js} +9 -9
  69. package/dist/chunks/{model-resolver-669tq793.js → persistent-pty-669tq793.js} +1 -1
  70. package/dist/chunks/{model-resolver-w7nphhe6.js → persistent-pty-6993v4hz.js} +3 -3
  71. package/dist/chunks/{model-resolver-0ft9cg2j.js → persistent-pty-6anwy9fs.js} +4 -4
  72. package/dist/chunks/{model-resolver-acvggdgr.js → persistent-pty-6b342141.js} +26 -26
  73. package/dist/chunks/{model-resolver-rwqynx0a.js → persistent-pty-6bd6ytb7.js} +16 -16
  74. package/dist/chunks/{model-resolver-nz34eq69.js → persistent-pty-6e3ttc5b.js} +34 -34
  75. package/dist/chunks/{model-resolver-hb2fds8x.js → persistent-pty-6jdw569z.js} +6 -6
  76. package/dist/chunks/{model-resolver-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  77. package/dist/chunks/{model-resolver-g762atc6.js → persistent-pty-6n4b0dsb.js} +9 -9
  78. package/dist/chunks/{model-resolver-8t84k4kw.js → persistent-pty-6v46makf.js} +33 -33
  79. package/dist/chunks/{model-resolver-e0e0xvb3.js → persistent-pty-6v65b3fz.js} +25 -25
  80. package/dist/chunks/{model-resolver-3w074pk4.js → persistent-pty-70s96e4j.js} +28 -28
  81. package/dist/chunks/{model-resolver-b5e2yk6d.js → persistent-pty-721wyhkj.js} +48 -48
  82. package/dist/chunks/{model-resolver-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{model-resolver-havtyyxz.js → persistent-pty-7dhhhw6e.js} +85 -85
  84. package/dist/chunks/{model-resolver-0jq9fyba.js → persistent-pty-82rhge12.js} +9 -9
  85. package/dist/chunks/{model-resolver-2y80ys67.js → persistent-pty-83g6ksvf.js} +14 -14
  86. package/dist/chunks/{model-resolver-vj8gdh7j.js → persistent-pty-83zq1v6a.js} +36 -36
  87. package/dist/chunks/{model-resolver-7jbkg8gb.js → persistent-pty-89tas9n7.js} +28 -28
  88. package/dist/chunks/{model-resolver-ze75yzft.js → persistent-pty-8ank75fn.js} +8 -8
  89. package/dist/chunks/{model-resolver-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  90. package/dist/chunks/{model-resolver-7qygjkb5.js → persistent-pty-8frg9jgy.js} +10 -10
  91. package/dist/chunks/{model-resolver-s0fa4gp7.js → persistent-pty-8h3wkb9t.js} +10 -10
  92. package/dist/chunks/{model-resolver-50g511xe.js → persistent-pty-8m2wsxaa.js} +5 -5
  93. package/dist/chunks/{model-resolver-kjesjdjk.js → persistent-pty-8pggv5rn.js} +20 -20
  94. package/dist/chunks/{model-resolver-bwg4kr2v.js → persistent-pty-8z04j688.js} +18 -18
  95. package/dist/chunks/{model-resolver-hk1vpbmp.js → persistent-pty-8z4djcf1.js} +10 -10
  96. package/dist/chunks/{model-resolver-2a6rn6yr.js → persistent-pty-909p1r3q.js} +6 -6
  97. package/dist/chunks/{model-resolver-z4px6pj1.js → persistent-pty-911wn564.js} +17 -17
  98. package/dist/chunks/{model-resolver-94ek1h2f.js → persistent-pty-94ek1h2f.js} +2 -2
  99. package/dist/chunks/{model-resolver-j8afcsyc.js → persistent-pty-96ctqc5x.js} +4 -4
  100. package/dist/chunks/{model-resolver-snqzjp2x.js → persistent-pty-973ajm3c.js} +26 -26
  101. package/dist/chunks/{model-resolver-czb8wht1.js → persistent-pty-99edkwrt.js} +45 -45
  102. package/dist/chunks/{model-resolver-r3tpvskf.js → persistent-pty-9b0hn6p1.js} +30 -30
  103. package/dist/chunks/{model-resolver-sf3bhtkb.js → persistent-pty-9cz1e5x5.js} +27 -27
  104. package/dist/chunks/{model-resolver-j028xdjb.js → persistent-pty-a1gpj94z.js} +3 -3
  105. package/dist/chunks/{model-resolver-q62m1k22.js → persistent-pty-a8b42nbe.js} +9 -9
  106. package/dist/chunks/{model-resolver-x6jzm7sq.js → persistent-pty-a9fv3hpn.js} +10 -10
  107. package/dist/chunks/{model-resolver-z6b4caet.js → persistent-pty-a9wcce88.js} +9 -9
  108. package/dist/chunks/{model-resolver-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  109. package/dist/chunks/{model-resolver-azeyjv65.js → persistent-pty-afed7ext.js} +12 -12
  110. package/dist/chunks/{model-resolver-56dkfrzf.js → persistent-pty-ag580yac.js} +4 -4
  111. package/dist/chunks/{model-resolver-tyzdkfdt.js → persistent-pty-ages87gt.js} +17 -17
  112. package/dist/chunks/{model-resolver-fjzx8x1z.js → persistent-pty-ajzbtavw.js} +12 -12
  113. package/dist/chunks/{model-resolver-91g4gbhj.js → persistent-pty-akhrmp6k.js} +3 -3
  114. package/dist/chunks/{model-resolver-0s2w903j.js → persistent-pty-ap94g0em.js} +1 -1
  115. package/dist/chunks/{model-resolver-m5m12nva.js → persistent-pty-aqxrhhqj.js} +3 -3
  116. package/dist/chunks/{model-resolver-q94qa9gk.js → persistent-pty-awbdf8k5.js} +12 -12
  117. package/dist/chunks/{model-resolver-nqp3avv2.js → persistent-pty-azw5h5wv.js} +8 -8
  118. package/dist/chunks/{model-resolver-an4y2yf1.js → persistent-pty-b2ymzsjy.js} +26 -26
  119. package/dist/chunks/{model-resolver-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  120. package/dist/chunks/{model-resolver-84zcxbc9.js → persistent-pty-b7b4ctej.js} +5 -5
  121. package/dist/chunks/{model-resolver-sf66h50n.js → persistent-pty-bdgt4s9b.js} +5 -5
  122. package/dist/chunks/{model-resolver-6xb8k124.js → persistent-pty-bex1ttf8.js} +18 -18
  123. package/dist/chunks/{model-resolver-qh65rry2.js → persistent-pty-bkk31atn.js} +24 -24
  124. package/dist/chunks/{model-resolver-ft2qew80.js → persistent-pty-bz1n60hy.js} +19 -19
  125. package/dist/chunks/{model-resolver-zv1jk2zx.js → persistent-pty-c53acc8g.js} +24 -24
  126. package/dist/chunks/{model-resolver-d8p93nrm.js → persistent-pty-c5e87xej.js} +20 -20
  127. package/dist/chunks/{model-resolver-gfpbexs2.js → persistent-pty-c7jcxm17.js} +55 -32
  128. package/dist/chunks/{model-resolver-fqp7qv4y.js → persistent-pty-c7vf4kh0.js} +4 -4
  129. package/dist/chunks/{model-resolver-50mzsvk4.js → persistent-pty-cavr175a.js} +4 -4
  130. package/dist/chunks/persistent-pty-cdss73z7.js +252 -0
  131. package/dist/chunks/{model-resolver-8c3w0b8b.js → persistent-pty-cenvhtqn.js} +21 -21
  132. package/dist/chunks/{model-resolver-stn6csqj.js → persistent-pty-cgp2fa9y.js} +20 -20
  133. package/dist/chunks/{model-resolver-a46d7692.js → persistent-pty-ck0wjfjv.js} +33 -33
  134. package/dist/chunks/{model-resolver-ckecvw8r.js → persistent-pty-ckecvw8r.js} +2 -2
  135. package/dist/chunks/{model-resolver-x206tq9p.js → persistent-pty-cmp9tspr.js} +28 -28
  136. package/dist/chunks/{model-resolver-4dgbcxzg.js → persistent-pty-cpj0znwe.js} +4 -4
  137. package/dist/chunks/{model-resolver-hbtqa4wz.js → persistent-pty-cpvy7b7p.js} +11 -11
  138. package/dist/chunks/{model-resolver-cwa6csj7.js → persistent-pty-cwa6csj7.js} +2 -2
  139. package/dist/chunks/{model-resolver-g1wask2c.js → persistent-pty-czpwm44a.js} +11 -11
  140. package/dist/chunks/{model-resolver-mmhjy9tz.js → persistent-pty-d9jme974.js} +10 -10
  141. package/dist/chunks/{model-resolver-b2m4v72c.js → persistent-pty-dbnx9smq.js} +14 -14
  142. package/dist/chunks/{model-resolver-52b8xadt.js → persistent-pty-dekmczra.js} +85 -85
  143. package/dist/chunks/{model-resolver-bct739vz.js → persistent-pty-dfe8djrf.js} +4 -4
  144. package/dist/chunks/{model-resolver-b1gxdpvp.js → persistent-pty-dk7pdvq2.js} +23 -23
  145. package/dist/chunks/{model-resolver-fhbtmvm6.js → persistent-pty-dq2map5x.js} +28 -28
  146. package/dist/chunks/{model-resolver-7h056913.js → persistent-pty-drbh3724.js} +23 -23
  147. package/dist/chunks/{model-resolver-n2kah95r.js → persistent-pty-dwq6ryhm.js} +8 -8
  148. package/dist/chunks/{model-resolver-tstsgrrw.js → persistent-pty-e48e4j0a.js} +28 -28
  149. package/dist/chunks/{model-resolver-4ffdv1a7.js → persistent-pty-e90jpx4a.js} +15 -15
  150. package/dist/chunks/{model-resolver-whmghete.js → persistent-pty-eb65cref.js} +3 -3
  151. package/dist/chunks/{model-resolver-ecfe7b91.js → persistent-pty-ecfe7b91.js} +2 -2
  152. package/dist/chunks/{model-resolver-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  153. package/dist/chunks/{model-resolver-q17kn81w.js → persistent-pty-efm0s0bd.js} +13 -13
  154. package/dist/chunks/{model-resolver-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  155. package/dist/chunks/{model-resolver-7h4fmbdk.js → persistent-pty-f19h6g1r.js} +21 -21
  156. package/dist/chunks/{model-resolver-y4838870.js → persistent-pty-f3bevy8m.js} +28 -28
  157. package/dist/chunks/{model-resolver-0f0kaz2k.js → persistent-pty-f5dmnpzb.js} +11 -11
  158. package/dist/chunks/{model-resolver-tmw06j42.js → persistent-pty-fgcwhffx.js} +6 -6
  159. package/dist/chunks/persistent-pty-fk7v7fft.js +511 -0
  160. package/dist/chunks/{model-resolver-vaqs8gs2.js → persistent-pty-fxv4vbj0.js} +5 -5
  161. package/dist/chunks/{model-resolver-eznmshf9.js → persistent-pty-g2by5rc0.js} +11 -11
  162. package/dist/chunks/{model-resolver-nbzsj80d.js → persistent-pty-g8jasmdt.js} +8 -8
  163. package/dist/chunks/{model-resolver-k5znp5xn.js → persistent-pty-gbqzgj7y.js} +22 -22
  164. package/dist/chunks/{model-resolver-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  165. package/dist/chunks/{model-resolver-0grg8x1d.js → persistent-pty-gm9ayw17.js} +17 -17
  166. package/dist/chunks/{model-resolver-xhp06ph4.js → persistent-pty-gpy90s52.js} +13 -13
  167. package/dist/chunks/{model-resolver-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
  168. package/dist/chunks/{model-resolver-7w8r2k62.js → persistent-pty-h584h0q7.js} +20 -20
  169. package/dist/chunks/{model-resolver-bhfy7g21.js → persistent-pty-h641zn2v.js} +44 -44
  170. package/dist/chunks/{model-resolver-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  171. package/dist/chunks/{model-resolver-mm5nt2nt.js → persistent-pty-h8d1bq6v.js} +20 -20
  172. package/dist/chunks/{model-resolver-jhhqz5ys.js → persistent-pty-hbn9qevp.js} +32 -32
  173. package/dist/chunks/{model-resolver-w9tzyeh2.js → persistent-pty-hfcyh0cs.js} +6 -6
  174. package/dist/chunks/{model-resolver-9kmbd9mt.js → persistent-pty-hkagk5ex.js} +2 -2
  175. package/dist/chunks/{model-resolver-4cpnk8xd.js → persistent-pty-hxtnvy26.js} +4 -4
  176. package/dist/chunks/{model-resolver-rdfh74de.js → persistent-pty-hy9skd6v.js} +8 -8
  177. package/dist/chunks/{model-resolver-c6ea9mwp.js → persistent-pty-j0exgwae.js} +20 -20
  178. package/dist/chunks/{model-resolver-yg5p90v9.js → persistent-pty-j3w6saxc.js} +5 -5
  179. package/dist/chunks/{model-resolver-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  180. package/dist/chunks/{model-resolver-7a04pq0x.js → persistent-pty-j622fpqk.js} +22 -22
  181. package/dist/chunks/{model-resolver-k0a3z2qz.js → persistent-pty-j8m1p4p1.js} +4 -4
  182. package/dist/chunks/{model-resolver-wpnzqk7a.js → persistent-pty-jmj6k8nb.js} +10 -10
  183. package/dist/chunks/{model-resolver-gcg1yrj4.js → persistent-pty-kaafkdk2.js} +39 -39
  184. package/dist/chunks/{model-resolver-t34y2eq7.js → persistent-pty-kdtg0hmj.js} +43 -43
  185. package/dist/chunks/{model-resolver-9g2t5fv6.js → persistent-pty-kg6vqa2g.js} +41 -41
  186. package/dist/chunks/{model-resolver-c57ase6y.js → persistent-pty-kj9mzqja.js} +27 -27
  187. package/dist/chunks/{model-resolver-sk9r5ttv.js → persistent-pty-kkxrf4q9.js} +18 -18
  188. package/dist/chunks/{model-resolver-sr97vwy6.js → persistent-pty-kqeepe86.js} +9 -9
  189. package/dist/chunks/{model-resolver-680vfc89.js → persistent-pty-m2r9tm47.js} +13 -13
  190. package/dist/chunks/{model-resolver-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
  191. package/dist/chunks/{model-resolver-sc29y7gj.js → persistent-pty-m7hh4551.js} +32 -32
  192. package/dist/chunks/{model-resolver-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  193. package/dist/chunks/{model-resolver-5pemj9ar.js → persistent-pty-mgmaefw5.js} +5 -5
  194. package/dist/chunks/{model-resolver-jh76kevn.js → persistent-pty-mgvjhcwg.js} +11 -11
  195. package/dist/chunks/{model-resolver-68z8xbqp.js → persistent-pty-mjeayme1.js} +31 -31
  196. package/dist/chunks/{model-resolver-38ys11y3.js → persistent-pty-mtrbqqrq.js} +5 -5
  197. package/dist/chunks/{model-resolver-pccq72bz.js → persistent-pty-mvksx64m.js} +4 -4
  198. package/dist/chunks/{model-resolver-xfw9zcsv.js → persistent-pty-n0aymgn1.js} +25 -25
  199. package/dist/chunks/{model-resolver-7jq3dafd.js → persistent-pty-n0ecsdh3.js} +13 -13
  200. package/dist/chunks/{model-resolver-v1ykme1f.js → persistent-pty-ncxkwzes.js} +13 -13
  201. package/dist/chunks/{model-resolver-mf9m2v67.js → persistent-pty-ndmv45hp.js} +3 -3
  202. package/dist/chunks/{model-resolver-yt0fqk68.js → persistent-pty-nxhqveyz.js} +5 -5
  203. package/dist/chunks/{model-resolver-nzks3jc8.js → persistent-pty-nzks3jc8.js} +3 -3
  204. package/dist/chunks/{model-resolver-mkthra7k.js → persistent-pty-p0m94kn1.js} +9 -9
  205. package/dist/chunks/{model-resolver-g0445xdp.js → persistent-pty-p42hj8p8.js} +8 -8
  206. package/dist/chunks/{model-resolver-mk1jn20m.js → persistent-pty-p4zsmmgp.js} +23 -23
  207. package/dist/chunks/{model-resolver-nd15zvwa.js → persistent-pty-p8q141tk.js} +5 -5
  208. package/dist/chunks/{model-resolver-gy7dsj4k.js → persistent-pty-p912m9y8.js} +29 -29
  209. package/dist/chunks/{model-resolver-0wvc14eb.js → persistent-pty-pgmzfdk5.js} +7 -7
  210. package/dist/chunks/{model-resolver-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{model-resolver-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  212. package/dist/chunks/{model-resolver-wymn1sd1.js → persistent-pty-pn9rmv0x.js} +10 -10
  213. package/dist/chunks/{model-resolver-hf3pz0b6.js → persistent-pty-pz0sazxr.js} +8 -8
  214. package/dist/chunks/{model-resolver-7re7g1jd.js → persistent-pty-pzwp9vyv.js} +41 -41
  215. package/dist/chunks/{model-resolver-6s4d8484.js → persistent-pty-q5wdx1yq.js} +6 -6
  216. package/dist/chunks/{model-resolver-r20xradg.js → persistent-pty-q66wawzv.js} +18 -18
  217. package/dist/chunks/{model-resolver-g8d3gcyj.js → persistent-pty-qa3qhgw8.js} +7 -7
  218. package/dist/chunks/persistent-pty-qapv375x.js +4 -0
  219. package/dist/chunks/{model-resolver-pnv527nz.js → persistent-pty-qg0jgkcp.js} +9 -9
  220. package/dist/chunks/{model-resolver-qy0qk774.js → persistent-pty-qghn429y.js} +22 -22
  221. package/dist/chunks/{model-resolver-sfntmzm9.js → persistent-pty-qjxevsft.js} +1 -1
  222. package/dist/chunks/{model-resolver-y6ttb9wj.js → persistent-pty-qpa1z2xq.js} +38 -38
  223. package/dist/chunks/{model-resolver-g6szcc3v.js → persistent-pty-qq4d284g.js} +2 -2
  224. package/dist/chunks/{model-resolver-4gycnsfp.js → persistent-pty-qq8x5mwt.js} +4 -4
  225. package/dist/chunks/{model-resolver-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  226. package/dist/chunks/{model-resolver-gawe0pa8.js → persistent-pty-qw6ew0vv.js} +17 -17
  227. package/dist/chunks/{model-resolver-tj92sfh7.js → persistent-pty-r16x646x.js} +11 -11
  228. package/dist/chunks/{model-resolver-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  229. package/dist/chunks/{model-resolver-t550f9t1.js → persistent-pty-rhjbct0v.js} +4 -4
  230. package/dist/chunks/{model-resolver-et83fa73.js → persistent-pty-rjgm2g5y.js} +11 -11
  231. package/dist/chunks/{model-resolver-v74wxkr3.js → persistent-pty-rrxgszfj.js} +27 -27
  232. package/dist/chunks/{model-resolver-nyrbevt9.js → persistent-pty-rzef2apf.js} +18 -18
  233. package/dist/chunks/{model-resolver-0vmm7rs7.js → persistent-pty-sjdt00n5.js} +22 -22
  234. package/dist/chunks/{model-resolver-hps07q8v.js → persistent-pty-sq5357bb.js} +19 -19
  235. package/dist/chunks/{model-resolver-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{model-resolver-d440cxsn.js → persistent-pty-tb7f0f66.js} +15 -15
  237. package/dist/chunks/{model-resolver-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{model-resolver-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  239. package/dist/chunks/{model-resolver-zzqe82vy.js → persistent-pty-tpzdabj1.js} +3 -3
  240. package/dist/chunks/{model-resolver-a46q39xd.js → persistent-pty-tvgkc4yy.js} +4 -4
  241. package/dist/chunks/{model-resolver-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  242. package/dist/chunks/{model-resolver-ytvzg9pg.js → persistent-pty-tyvhjzdr.js} +26 -26
  243. package/dist/chunks/{model-resolver-pvkbt02t.js → persistent-pty-v1xx0enh.js} +7 -7
  244. package/dist/chunks/{model-resolver-srpj3tpa.js → persistent-pty-v2zjbjd3.js} +48 -48
  245. package/dist/chunks/{model-resolver-fmyj3kws.js → persistent-pty-vdvpd1jg.js} +9 -9
  246. package/dist/chunks/{model-resolver-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  247. package/dist/chunks/{model-resolver-d981nn93.js → persistent-pty-vpyec1rj.js} +16 -16
  248. package/dist/chunks/{model-resolver-qqs8gy82.js → persistent-pty-vv5pystr.js} +25 -25
  249. package/dist/chunks/persistent-pty-vw66btjd.js +26 -0
  250. package/dist/chunks/{model-resolver-y72zmemf.js → persistent-pty-vwpcpzep.js} +8 -8
  251. package/dist/chunks/{model-resolver-xsym2eej.js → persistent-pty-vyx03eky.js} +186 -186
  252. package/dist/chunks/{model-resolver-48dv6t9d.js → persistent-pty-vz6t9qnh.js} +13 -13
  253. package/dist/chunks/{model-resolver-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{model-resolver-vzs5sf6e.js → persistent-pty-vzs5sf6e.js} +1 -1
  255. package/dist/chunks/{model-resolver-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{model-resolver-p1j6bn8g.js → persistent-pty-w5xkzqwn.js} +14 -14
  257. package/dist/chunks/{model-resolver-1p07q0wb.js → persistent-pty-w92k2e0p.js} +6 -6
  258. package/dist/chunks/{model-resolver-wd3x2cqz.js → persistent-pty-wd3x2cqz.js} +2 -2
  259. package/dist/chunks/{model-resolver-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  260. package/dist/chunks/{model-resolver-3zr4kwp4.js → persistent-pty-weyhrafj.js} +15 -15
  261. package/dist/chunks/{model-resolver-4c5t4vfv.js → persistent-pty-wfs1cdtc.js} +14 -14
  262. package/dist/chunks/{model-resolver-97fmyryk.js → persistent-pty-wrmrmykr.js} +6 -6
  263. package/dist/chunks/{model-resolver-q5n3bppz.js → persistent-pty-wt44zdry.js} +3 -3
  264. package/dist/chunks/{model-resolver-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{model-resolver-44ykhczy.js → persistent-pty-x64cfhhk.js} +47 -47
  266. package/dist/chunks/{model-resolver-206tr2x9.js → persistent-pty-xgv5607x.js} +3 -3
  267. package/dist/chunks/{model-resolver-mxterfad.js → persistent-pty-xjdbqttv.js} +19 -19
  268. package/dist/chunks/{model-resolver-xkntkrq7.js → persistent-pty-xkntkrq7.js} +2 -2
  269. package/dist/chunks/{model-resolver-amy9ev3g.js → persistent-pty-xqcdm74r.js} +15 -15
  270. package/dist/chunks/{model-resolver-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{model-resolver-y71avatq.js → persistent-pty-y71avatq.js} +1 -1
  272. package/dist/chunks/{model-resolver-4y596e4p.js → persistent-pty-y87t9fp6.js} +11 -11
  273. package/dist/chunks/{model-resolver-pnvk1zxf.js → persistent-pty-ydgy0jv4.js} +4 -4
  274. package/dist/chunks/{model-resolver-24sm1qyr.js → persistent-pty-yfydxkxn.js} +27 -27
  275. package/dist/chunks/{model-resolver-yjptyezs.js → persistent-pty-yjptyezs.js} +2 -2
  276. package/dist/chunks/{model-resolver-00yaqz7j.js → persistent-pty-yk0enmjw.js} +19 -19
  277. package/dist/chunks/{model-resolver-yp2x3t23.js → persistent-pty-yp2x3t23.js} +1 -1
  278. package/dist/chunks/{model-resolver-4wsh9859.js → persistent-pty-yr1cdtnb.js} +30 -30
  279. package/dist/chunks/{model-resolver-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{model-resolver-mywrbmkg.js → persistent-pty-yrtwb1pz.js} +9 -9
  281. package/dist/chunks/{model-resolver-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
  282. package/dist/chunks/{model-resolver-a0vyv8yz.js → persistent-pty-yyasfjgt.js} +18 -18
  283. package/dist/chunks/{model-resolver-z07pqspn.js → persistent-pty-z07pqspn.js} +3 -3
  284. package/dist/chunks/{model-resolver-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{model-resolver-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
  286. package/dist/chunks/{model-resolver-pv19q001.js → persistent-pty-zas2f676.js} +11 -11
  287. package/dist/chunks/{model-resolver-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{model-resolver-j26sntzs.js → persistent-pty-zp72hf0n.js} +12 -12
  289. package/dist/chunks/{model-resolver-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{model-resolver-zvt5dnpc.js → persistent-pty-zvt5dnpc.js} +1 -1
  291. package/dist/chunks/{model-resolver-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  292. package/dist/chunks/{model-resolver-p4776vvd.js → persistent-pty-zz6fs82c.js} +2 -2
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +5 -5
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -85
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +121 -121
  302. package/dist/config/plugin/command.js +212 -212
  303. package/dist/config/plugin/compaction.js +160 -160
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +126 -126
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +83 -83
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +89 -89
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +91 -91
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +74 -74
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +92 -92
  419. package/dist/file-retention.js +1 -1
  420. package/dist/file.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +2 -2
  427. package/dist/filesystem/location-watcher.js +221 -221
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +1 -1
  431. package/dist/filesystem/watcher.js +13 -13
  432. package/dist/filesystem.js +102 -102
  433. package/dist/form.js +84 -84
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +101 -101
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +81 -81
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +86 -86
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +132 -132
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-mutation.js +104 -104
  473. package/dist/location-service-map.js +86 -86
  474. package/dist/location-services.js +360 -360
  475. package/dist/location.js +87 -87
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -91
  478. package/dist/mcp/index.js +100 -100
  479. package/dist/mcp/instructions.js +128 -128
  480. package/dist/mcp/oauth.js +78 -78
  481. package/dist/mcp/stdio.js +90 -90
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +99 -99
  484. package/dist/model-resolver.js +98 -98
  485. package/dist/model.js +100 -100
  486. package/dist/models-dev.js +103 -103
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +82 -82
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +115 -115
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +86 -86
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +102 -102
  497. package/dist/plugin/command.js +99 -99
  498. package/dist/plugin/compaction.js +131 -131
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +220 -220
  501. package/dist/plugin/identity.js +3 -3
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +334 -334
  504. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  505. package/dist/plugin/models-dev.js +96 -96
  506. package/dist/plugin/module.js +7 -7
  507. package/dist/plugin/optimize.js +4 -4
  508. package/dist/plugin/plan.js +102 -102
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  511. package/dist/plugin/provider/azure.js +122 -122
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +93 -93
  522. package/dist/plugin/provider/gitlab.js +93 -93
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +77 -77
  526. package/dist/plugin/provider/lmstudio.js +122 -122
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +122 -122
  530. package/dist/plugin/provider/openai.js +94 -94
  531. package/dist/plugin/provider/opencode.js +95 -95
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +78 -78
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +122 -122
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +160 -160
  545. package/dist/plugin/sdk.js +76 -76
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +141 -141
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +353 -353
  550. package/dist/plugin/tool-input-repair.js +4 -4
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +86 -86
  553. package/dist/plugin/vcs/hg.js +86 -86
  554. package/dist/plugin/verbosity.js +93 -93
  555. package/dist/plugin/warming.js +121 -121
  556. package/dist/plugin/websearch/exa.js +7 -7
  557. package/dist/plugin/websearch/firecrawl.js +8 -8
  558. package/dist/plugin/websearch/index.js +9 -9
  559. package/dist/plugin/websearch/mcp.js +4 -4
  560. package/dist/plugin/websearch/parallel.js +6 -6
  561. package/dist/plugin/websearch/tavily.js +6 -6
  562. package/dist/plugin/websearch/tinyfish.js +8 -8
  563. package/dist/plugin.js +227 -227
  564. package/dist/project/schema.js +6 -6
  565. package/dist/project/sql.js +4 -4
  566. package/dist/project.js +88 -88
  567. package/dist/provider.js +101 -101
  568. package/dist/pty/protocol.js +1 -1
  569. package/dist/pty/schema.js +3 -3
  570. package/dist/pty/ticket.js +1 -1
  571. package/dist/pty.js +96 -96
  572. package/dist/reference/instructions.js +89 -89
  573. package/dist/reference.js +91 -91
  574. package/dist/repository-cache.js +81 -81
  575. package/dist/repository.js +1 -1
  576. package/dist/ripgrep/binary.js +2 -2
  577. package/dist/ripgrep.js +97 -97
  578. package/dist/rpc.js +86 -86
  579. package/dist/schema.js +1 -1
  580. package/dist/session/command.js +74 -74
  581. package/dist/session/compaction.js +128 -128
  582. package/dist/session/context.js +152 -152
  583. package/dist/session/diff.js +88 -88
  584. package/dist/session/environment.js +5 -5
  585. package/dist/session/error.js +5 -5
  586. package/dist/session/event.js +1 -1
  587. package/dist/session/execution/restart.js +221 -221
  588. package/dist/session/execution.js +124 -124
  589. package/dist/session/generate.js +151 -151
  590. package/dist/session/history.js +13 -13
  591. package/dist/session/inbox.js +82 -82
  592. package/dist/session/info.js +3 -3
  593. package/dist/session/instruction-entry.js +77 -77
  594. package/dist/session/instruction-state.js +8 -8
  595. package/dist/session/instructions.js +97 -97
  596. package/dist/session/message-updater.js +2 -2
  597. package/dist/session/message.js +1 -1
  598. package/dist/session/model-request.js +119 -119
  599. package/dist/session/model-transport.js +9 -9
  600. package/dist/session/move.js +130 -130
  601. package/dist/session/projector.js +86 -86
  602. package/dist/session/prompt.js +105 -105
  603. package/dist/session/provider-context.js +3 -3
  604. package/dist/session/revert.js +90 -90
  605. package/dist/session/run-coordinator.js +1 -1
  606. package/dist/session/runner/index.js +1 -1
  607. package/dist/session/runner/llm.js +231 -231
  608. package/dist/session/runner/max-steps.js +1 -1
  609. package/dist/session/runner/model.js +98 -98
  610. package/dist/session/runner/publish-llm-event.js +3 -3
  611. package/dist/session/runner/retry.js +114 -114
  612. package/dist/session/runner/step.js +126 -126
  613. package/dist/session/runner/to-llm-message.js +2 -2
  614. package/dist/session/schema.js +5 -5
  615. package/dist/session/session.js +170 -170
  616. package/dist/session/shell.js +138 -138
  617. package/dist/session/skill.js +103 -103
  618. package/dist/session/sql.js +5 -5
  619. package/dist/session/stats.js +73 -73
  620. package/dist/session/store.js +87 -87
  621. package/dist/session/subagent-completion.js +1 -1
  622. package/dist/session/subagent-job.js +210 -210
  623. package/dist/session/system-prompt.js +1 -1
  624. package/dist/session/title.js +156 -156
  625. package/dist/session/to-session-error.js +111 -111
  626. package/dist/session/transfer.js +220 -220
  627. package/dist/session/usage.js +1 -1
  628. package/dist/session.js +216 -216
  629. package/dist/shell/parse.js +6 -6
  630. package/dist/shell/result.js +1 -1
  631. package/dist/shell/scan.js +1 -1
  632. package/dist/shell/select.js +7 -7
  633. package/dist/shell.js +140 -140
  634. package/dist/skill/discovery.js +6 -6
  635. package/dist/skill/instructions.js +107 -107
  636. package/dist/skill.js +112 -112
  637. package/dist/snapshot.js +93 -93
  638. package/dist/state.js +1 -1
  639. package/dist/tool/html-markdown.js +1 -1
  640. package/dist/tool/http-body.js +1 -1
  641. package/dist/tool/mcp.js +123 -123
  642. package/dist/tool/plugin/edit.js +120 -120
  643. package/dist/tool/plugin/file-diff.js +1 -1
  644. package/dist/tool/plugin/glob.js +124 -124
  645. package/dist/tool/plugin/grep.js +124 -124
  646. package/dist/tool/plugin/mcp-resource.js +116 -116
  647. package/dist/tool/plugin/opencode.js +3 -3
  648. package/dist/tool/plugin/patch.js +122 -122
  649. package/dist/tool/plugin/question.js +101 -101
  650. package/dist/tool/plugin/read.js +125 -125
  651. package/dist/tool/plugin/shell.js +217 -217
  652. package/dist/tool/plugin/skill.js +111 -111
  653. package/dist/tool/plugin/subagent.js +219 -219
  654. package/dist/tool/plugin/webfetch.js +110 -110
  655. package/dist/tool/plugin/websearch.js +114 -114
  656. package/dist/tool/plugin/write.js +122 -122
  657. package/dist/tool/read-filesystem.js +100 -100
  658. package/dist/tool/runtime.js +1 -1
  659. package/dist/tool-output.js +8 -8
  660. package/dist/tool.js +14 -14
  661. package/dist/util/error-summary.js +1 -1
  662. package/dist/util/error.js +1 -1
  663. package/dist/util/git-executable.js +2 -2
  664. package/dist/util/iife.js +1 -1
  665. package/dist/util/lazy.js +1 -1
  666. package/dist/util/slug.js +1 -1
  667. package/dist/util/token.js +1 -1
  668. package/dist/util/which.js +1 -1
  669. package/dist/util/wildcard.js +1 -1
  670. package/dist/v1/config/agent.js +5 -5
  671. package/dist/v1/config/attachment.js +2 -2
  672. package/dist/v1/config/command.js +5 -5
  673. package/dist/v1/config/config.js +16 -16
  674. package/dist/v1/config/error.js +2 -2
  675. package/dist/v1/config/formatter.js +3 -3
  676. package/dist/v1/config/layout.js +1 -1
  677. package/dist/v1/config/lsp.js +3 -3
  678. package/dist/v1/config/mcp.js +4 -4
  679. package/dist/v1/config/migrate.js +92 -92
  680. package/dist/v1/config/permission.js +3 -3
  681. package/dist/v1/config/plugin.js +1 -1
  682. package/dist/v1/config/provider-options.js +1 -1
  683. package/dist/v1/config/provider.js +2 -2
  684. package/dist/v1/config/server.js +2 -2
  685. package/dist/v1/config/skills.js +3 -3
  686. package/dist/v1/permission.js +1 -1
  687. package/dist/variant.js +91 -91
  688. package/dist/vcs/patch.js +1 -1
  689. package/dist/vcs.js +87 -87
  690. package/dist/websearch.js +78 -78
  691. package/dist/wellknown/plugin.js +78 -78
  692. package/dist/wellknown.js +79 -79
  693. package/dist/workspace/driver.js +3 -3
  694. package/dist/workspace/sql.js +1 -1
  695. package/dist/workspace.js +80 -80
  696. package/dist/worktree/directory.js +2 -2
  697. package/dist/worktree/git.js +8 -8
  698. package/dist/worktree/sql.js +5 -5
  699. package/dist/worktree/strategies.js +89 -89
  700. package/dist/worktree.js +98 -98
  701. package/package.json +8 -8
  702. package/dist/chunks/model-resolver-6kdq0pjd.js +0 -4
  703. package/dist/chunks/model-resolver-9sh4wc5j.js +0 -18
  704. package/dist/chunks/model-resolver-as3mn4aa.js +0 -252
  705. package/dist/chunks/model-resolver-nf75hyxw.js +0 -26
  706. package/dist/chunks/model-resolver-z8ynyk0a.js +0 -511
  707. /package/dist/chunks/{model-resolver-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  708. /package/dist/chunks/{model-resolver-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  709. /package/dist/chunks/{model-resolver-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  710. /package/dist/chunks/{model-resolver-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  711. /package/dist/chunks/{model-resolver-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  712. /package/dist/chunks/{model-resolver-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  713. /package/dist/chunks/{model-resolver-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  714. /package/dist/chunks/{model-resolver-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  715. /package/dist/chunks/{model-resolver-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  716. /package/dist/chunks/{model-resolver-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
  717. /package/dist/chunks/{model-resolver-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  718. /package/dist/chunks/{model-resolver-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  719. /package/dist/chunks/{model-resolver-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  720. /package/dist/chunks/{model-resolver-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  721. /package/dist/chunks/{model-resolver-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  722. /package/dist/chunks/{model-resolver-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  723. /package/dist/chunks/{model-resolver-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  724. /package/dist/chunks/{model-resolver-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  725. /package/dist/chunks/{model-resolver-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  726. /package/dist/chunks/{model-resolver-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  727. /package/dist/chunks/{model-resolver-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  728. /package/dist/chunks/{model-resolver-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
  729. /package/dist/chunks/{model-resolver-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  730. /package/dist/chunks/{model-resolver-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  731. /package/dist/chunks/{model-resolver-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  732. /package/dist/chunks/{model-resolver-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  733. /package/dist/chunks/{model-resolver-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  734. /package/dist/chunks/{model-resolver-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  735. /package/dist/chunks/{model-resolver-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  736. /package/dist/chunks/{model-resolver-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  737. /package/dist/chunks/{model-resolver-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  738. /package/dist/chunks/{model-resolver-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  739. /package/dist/chunks/{model-resolver-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  740. /package/dist/chunks/{model-resolver-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  741. /package/dist/chunks/{model-resolver-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  742. /package/dist/chunks/{model-resolver-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  743. /package/dist/chunks/{model-resolver-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  744. /package/dist/chunks/{model-resolver-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  745. /package/dist/chunks/{model-resolver-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  746. /package/dist/chunks/{model-resolver-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  747. /package/dist/chunks/{model-resolver-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  748. /package/dist/chunks/{model-resolver-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  749. /package/dist/chunks/{model-resolver-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  750. /package/dist/chunks/{model-resolver-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  751. /package/dist/chunks/{model-resolver-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  752. /package/dist/chunks/{model-resolver-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  753. /package/dist/chunks/{model-resolver-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  754. /package/dist/chunks/{model-resolver-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  755. /package/dist/chunks/{model-resolver-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  756. /package/dist/chunks/{model-resolver-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  757. /package/dist/chunks/{model-resolver-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  758. /package/dist/chunks/{model-resolver-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  759. /package/dist/chunks/{model-resolver-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  760. /package/dist/chunks/{model-resolver-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  761. /package/dist/chunks/{model-resolver-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  762. /package/dist/chunks/{model-resolver-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  763. /package/dist/chunks/{model-resolver-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  764. /package/dist/chunks/{model-resolver-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  765. /package/dist/chunks/{model-resolver-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  766. /package/dist/chunks/{model-resolver-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  767. /package/dist/chunks/{model-resolver-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  768. /package/dist/chunks/{model-resolver-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  769. /package/dist/chunks/{model-resolver-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  770. /package/dist/chunks/{model-resolver-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  771. /package/dist/chunks/{model-resolver-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  772. /package/dist/chunks/{model-resolver-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  773. /package/dist/chunks/{model-resolver-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  774. /package/dist/chunks/{model-resolver-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  775. /package/dist/chunks/{model-resolver-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  776. /package/dist/chunks/{model-resolver-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  777. /package/dist/chunks/{model-resolver-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  778. /package/dist/chunks/{model-resolver-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  779. /package/dist/chunks/{model-resolver-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  780. /package/dist/chunks/{model-resolver-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  781. /package/dist/chunks/{model-resolver-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  782. /package/dist/chunks/{model-resolver-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  783. /package/dist/chunks/{model-resolver-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  784. /package/dist/chunks/{model-resolver-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  785. /package/dist/chunks/{model-resolver-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  786. /package/dist/chunks/{model-resolver-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  787. /package/dist/chunks/{model-resolver-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  788. /package/dist/chunks/{model-resolver-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  789. /package/dist/chunks/{model-resolver-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  790. /package/dist/chunks/{model-resolver-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  791. /package/dist/chunks/{model-resolver-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  792. /package/dist/chunks/{model-resolver-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  793. /package/dist/chunks/{model-resolver-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  794. /package/dist/chunks/{model-resolver-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  795. /package/dist/chunks/{model-resolver-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  796. /package/dist/chunks/{model-resolver-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  797. /package/dist/chunks/{model-resolver-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  798. /package/dist/chunks/{model-resolver-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  799. /package/dist/chunks/{model-resolver-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  800. /package/dist/chunks/{model-resolver-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  801. /package/dist/chunks/{model-resolver-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  802. /package/dist/chunks/{model-resolver-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  803. /package/dist/chunks/{model-resolver-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./model-resolver-m5m12nva.js";
4
+ } from "./persistent-pty-aqxrhhqj.js";
5
5
  import {
6
6
  latestSequence2,
7
- Service82,
8
- node85
9
- } from "./model-resolver-4c5t4vfv.js";
7
+ Service83,
8
+ node87
9
+ } from "./persistent-pty-wfs1cdtc.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./model-resolver-5t3nmthw.js";
12
+ } from "./persistent-pty-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./model-resolver-ec1grn59.js";
15
+ } from "./persistent-pty-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./model-resolver-hf3pz0b6.js";
18
+ } from "./persistent-pty-pz0sazxr.js";
19
19
  import {
20
- Service59,
21
- node61
22
- } from "./model-resolver-2y80ys67.js";
20
+ Service71,
21
+ node74
22
+ } from "./persistent-pty-83g6ksvf.js";
23
23
  import {
24
- Service33,
25
- node36
26
- } from "./model-resolver-havtyyxz.js";
24
+ Service30,
25
+ node33
26
+ } from "./persistent-pty-7dhhhw6e.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./model-resolver-tdstcens.js";
30
+ } from "./persistent-pty-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./model-resolver-9rqn6x4v.js";
33
+ } from "./persistent-pty-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service7,
38
+ Service: () => Service2,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer7,
42
- node: () => node9
41
+ layer: () => layer3,
42
+ node: () => node3
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service7 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service2 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer7 = Layer.effect(Service7, Effect.gen(function* () {
62
- const bus = yield* Service82;
61
+ var layer3 = Layer.effect(Service2, Effect.gen(function* () {
62
+ const bus = yield* Service83;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service33;
65
- const store = yield* Service59;
64
+ const context = yield* Service30;
65
+ const store = yield* Service71;
66
66
  const db = (yield* Service84).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service7.of({ generate });
148
+ return Service2.of({ generate });
149
149
  }));
150
- var node9 = makeLocationNode({
151
- service: Service7,
152
- layer: layer7,
153
- deps: [node85, llmClient2, node36, node61, node88]
150
+ var node3 = makeLocationNode({
151
+ service: Service2,
152
+ layer: layer3,
153
+ deps: [node87, llmClient2, node33, node74, node88]
154
154
  });
155
155
 
156
- export { Service7, isUntitled2, layer7, node9, exports_title };
156
+ export { Service2, isUntitled2, layer3, node3, exports_title };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin34,
9
+ Plugin: () => Plugin45,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin34 = define({
25
+ var Plugin45 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin34 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin34, exports_identity };
38
+ export { identity2, Plugin45, exports_identity };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./model-resolver-5daktx2q.js";
3
+ } from "./persistent-pty-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./model-resolver-922hggd3.js";
6
+ } from "./persistent-pty-922hggd3.js";
7
7
  import {
8
- ID5,
8
+ ID10,
9
9
  Name2
10
- } from "./model-resolver-tstsgrrw.js";
10
+ } from "./persistent-pty-e48e4j0a.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./persistent-pty-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
55
55
  return {
56
56
  _tag: "Parsed",
57
57
  skill: {
58
- id: ID5.make(id),
58
+ id: ID10.make(id),
59
59
  name: Name2.make(frontmatter.name ?? id),
60
60
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
61
61
  ...autoinvoke === undefined ? {} : { autoinvoke },
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID13,
3
- Service72,
4
- node75
5
- } from "./model-resolver-fhbtmvm6.js";
2
+ ID8,
3
+ Service63,
4
+ node66
5
+ } from "./persistent-pty-dq2map5x.js";
6
6
  import {
7
- ID12,
7
+ ID7,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -12,23 +12,23 @@ import {
12
12
  modelSettings2,
13
13
  mergeOverlay2,
14
14
  mergeHeaders2,
15
- Service71,
16
- node74
17
- } from "./model-resolver-qtq8atx0.js";
15
+ Service62,
16
+ node65
17
+ } from "./persistent-pty-001y1jgc.js";
18
18
  import {
19
- Service69,
20
- node72
21
- } from "./model-resolver-eznmshf9.js";
19
+ Service49,
20
+ node51
21
+ } from "./persistent-pty-g2by5rc0.js";
22
22
  import {
23
- ID11,
23
+ ID6,
24
24
  VariantID2,
25
25
  Ref2,
26
- Service70,
27
- node73
28
- } from "./model-resolver-5qn1w087.js";
26
+ Service61,
27
+ node64
28
+ } from "./persistent-pty-3hz5d8pf.js";
29
29
  import {
30
30
  __export
31
- } from "./model-resolver-9rqn6x4v.js";
31
+ } from "./persistent-pty-9rqn6x4v.js";
32
32
 
33
33
  // src/model-resolver.ts
34
34
  var exports_model_resolver = {};
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
37
37
  ModelConfigurationError: () => ModelConfigurationError3,
38
38
  ModelInitializationError: () => ModelInitializationError3,
39
39
  ModelResolver: () => exports_model_resolver,
40
- Service: () => Service68,
40
+ Service: () => Service48,
41
41
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
42
42
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
43
43
  UnsupportedPackageError: () => UnsupportedPackageError3,
44
44
  VariantUnavailableError: () => VariantUnavailableError3,
45
45
  fromCatalogModel: () => fromCatalogModel2,
46
46
  hasPackage: () => hasPackage2,
47
- layer: () => layer24,
48
- node: () => node71,
47
+ layer: () => layer20,
48
+ node: () => node50,
49
49
  resolveModel: () => resolveModel2,
50
50
  withVariant: () => withVariant2
51
51
  });
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
55
55
  import { Context, Effect, Layer, Schema, Struct } from "effect";
56
56
  import { Npm } from "@opencode/util/npm";
57
57
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
58
- providerID: ID12,
59
- modelID: ID11,
58
+ providerID: ID7,
59
+ modelID: ID6,
60
60
  variant: VariantID2
61
61
  }) {
62
62
  get message() {
@@ -65,8 +65,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
65
65
  }
66
66
 
67
67
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
68
- providerID: ID12,
69
- modelID: ID11,
68
+ providerID: ID7,
69
+ modelID: ID6,
70
70
  package: Schema.String
71
71
  }) {
72
72
  get message() {
@@ -76,8 +76,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
76
76
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
77
77
 
78
78
  class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
79
- providerID: ID12,
80
- modelID: ID11,
79
+ providerID: ID7,
80
+ modelID: ID6,
81
81
  package: Schema.String,
82
82
  detail: Schema.String
83
83
  }) {
@@ -87,8 +87,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
87
87
  }
88
88
 
89
89
  class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
90
- providerID: ID12,
91
- modelID: ID11,
90
+ providerID: ID7,
91
+ modelID: ID6,
92
92
  package: Schema.String,
93
93
  phase: InitializationPhase2,
94
94
  detail: Schema.String
@@ -99,8 +99,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
99
99
  }
100
100
 
101
101
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
102
- providerID: ID12,
103
- modelID: ID11,
102
+ providerID: ID7,
103
+ modelID: ID6,
104
104
  variables: Schema.Array(Schema.String)
105
105
  }) {
106
106
  get message() {
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
109
109
  }
110
110
 
111
111
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
112
- providerID: ID12,
113
- modelID: ID11,
112
+ providerID: ID7,
113
+ modelID: ID6,
114
114
  route: Schema.String
115
115
  }) {
116
116
  get message() {
@@ -118,7 +118,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
118
118
  }
119
119
  }
120
120
 
121
- class Service68 extends Context.Service()("@opencode/ModelResolver") {
121
+ class Service48 extends Context.Service()("@opencode/ModelResolver") {
122
122
  }
123
123
  var withVariant2 = (model, variantID) => {
124
124
  const id = variantID === "default" ? undefined : variantID;
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
258
258
  };
259
259
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
260
260
  var hasPackage2 = (model) => Boolean(model.package);
261
- var layer24 = Layer.effect(Service68, Effect.gen(function* () {
262
- const providers = yield* Service71;
263
- const models = yield* Service70;
264
- const integrations = yield* Service72;
261
+ var layer20 = Layer.effect(Service48, Effect.gen(function* () {
262
+ const providers = yield* Service62;
263
+ const models = yield* Service61;
264
+ const integrations = yield* Service63;
265
265
  const npm = yield* Npm.Service;
266
- const aisdk = yield* Service69;
266
+ const aisdk = yield* Service49;
267
267
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
268
268
  const provider = yield* providers.get(selected.providerID);
269
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
269
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID8.make(selected.providerID));
270
270
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
271
271
  const selectedVariant = yield* withVariant2(selected, variant);
272
272
  const runtimeInfo = {
@@ -293,7 +293,7 @@ var layer24 = Layer.effect(Service68, Effect.gen(function* () {
293
293
  chunkTimeout: provider?.settings?.chunkTimeout
294
294
  };
295
295
  });
296
- return Service68.of({
296
+ return Service48.of({
297
297
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
298
298
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
299
299
  if (!selected)
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
310
310
  const name = packageName2(packageName);
311
311
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
312
312
  }
313
- var node71 = makeLocationNode({
314
- service: Service68,
315
- layer: layer24,
316
- deps: [node74, node73, node75, Npm.node, node72]
313
+ var node50 = makeLocationNode({
314
+ service: Service48,
315
+ layer: layer20,
316
+ deps: [node65, node64, node66, Npm.node, node51]
317
317
  });
318
318
 
319
- export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service68, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node71, exports_model_resolver };
319
+ export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service48, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node50, exports_model_resolver };
@@ -5,15 +5,15 @@ import {
5
5
  ModelInitializationError3,
6
6
  UnresolvedProviderVariablesError3,
7
7
  UnsupportedCompactionError3,
8
- Service68,
9
- node71
10
- } from "./model-resolver-z85c6j0e.js";
8
+ Service48,
9
+ node50
10
+ } from "./persistent-pty-4g8a3071.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./model-resolver-mf9m2v67.js";
13
+ } from "./persistent-pty-ndmv45hp.js";
14
14
  import {
15
15
  __export
16
- } from "./model-resolver-9rqn6x4v.js";
16
+ } from "./persistent-pty-9rqn6x4v.js";
17
17
 
18
18
  // src/session/runner/model.ts
19
19
  var exports_model = {};
@@ -22,13 +22,13 @@ __export(exports_model, {
22
22
  ModelInitializationError: () => ModelInitializationError2,
23
23
  ModelNotSelectedError: () => ModelNotSelectedError2,
24
24
  ModelUnavailableError: () => ModelUnavailableError2,
25
- Service: () => Service46,
25
+ Service: () => Service47,
26
26
  SessionRunnerModel: () => exports_model,
27
27
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
28
28
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
29
29
  UnsupportedPackageError: () => UnsupportedPackageError2,
30
30
  VariantUnavailableError: () => VariantUnavailableError2,
31
- node: () => node48,
31
+ node: () => node49,
32
32
  resolved: () => resolved2
33
33
  });
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
57
57
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
58
58
  var UnsupportedCompactionError2 = UnsupportedCompactionError3;
59
59
 
60
- class Service46 extends Context.Service()("@opencode/SessionRunnerModel") {
60
+ class Service47 extends Context.Service()("@opencode/SessionRunnerModel") {
61
61
  }
62
62
  var resolved2 = (model, options) => ({
63
63
  model,
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
72
72
  compaction: options.compaction,
73
73
  transport: options.transport
74
74
  });
75
- var layer = Layer.effect(Service46, Effect.gen(function* () {
76
- const resolver = yield* Service68;
77
- return Service46.of({
75
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
76
+ const resolver = yield* Service48;
77
+ return Service47.of({
78
78
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
79
79
  if (!session.model) {
80
80
  const resolved = yield* resolver.resolve();
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
92
92
  })
93
93
  });
94
94
  }));
95
- var node48 = makeLocationNode({ service: Service46, layer, deps: [node71] });
95
+ var node49 = makeLocationNode({ service: Service47, layer, deps: [node50] });
96
96
 
97
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service46, resolved2, node48, exports_model };
97
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service47, resolved2, node49, exports_model };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service82,
4
- node85
5
- } from "./model-resolver-4c5t4vfv.js";
3
+ Service83,
4
+ node87
5
+ } from "./persistent-pty-wfs1cdtc.js";
6
6
  import {
7
- Service65,
8
- node68
9
- } from "./model-resolver-wymn1sd1.js";
7
+ Service66,
8
+ node69
9
+ } from "./persistent-pty-pn9rmv0x.js";
10
10
  import {
11
11
  __export
12
- } from "./model-resolver-9rqn6x4v.js";
12
+ } from "./persistent-pty-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event14,
19
+ Event: () => Event12,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service61,
22
+ Service: () => Service60,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node64,
25
+ node: () => node63,
26
26
  resolve: () => resolve3
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service61 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service60 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event14 = {
51
+ var Event12 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service61, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service65;
81
- const bus = yield* Service82;
80
+ const kv = yield* Service66;
81
+ const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
84
84
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event14.Updated, {});
112
+ yield* bus.publish(Event12.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service61.of({
115
+ return Service60.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event14.Updated, {});
128
+ yield* bus.publish(Event12.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event14.Updated, {});
141
+ yield* bus.publish(Event12.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node64 = makeGlobalNode({ service: Service61, layer, deps: [httpClient, node68, node85] });
146
+ var node63 = makeGlobalNode({ service: Service60, layer, deps: [httpClient, node69, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service61, Event14, inspect2, resolve3, node64, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service60, Event12, inspect2, resolve3, node63, exports_wellknown };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service82,
3
- node85
4
- } from "./model-resolver-4c5t4vfv.js";
2
+ Service83,
3
+ node87
4
+ } from "./persistent-pty-wfs1cdtc.js";
5
5
  import {
6
6
  __export
7
- } from "./model-resolver-9rqn6x4v.js";
7
+ } from "./persistent-pty-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,40 +12,40 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event20,
15
+ Event: () => Event16,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID15,
20
- Info: () => Info30,
19
+ ID: () => ID9,
20
+ Info: () => Info24,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError10,
24
- Reply: () => Reply3,
25
- Service: () => Service74,
23
+ NotFoundError: () => NotFoundError8,
24
+ Reply: () => Reply2,
25
+ Service: () => Service64,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer25,
29
- node: () => node77,
29
+ node: () => node67,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event20 } from "@opencode/schema/form";
36
+ import { Event as Event16 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID15 = Form.ID;
39
- var Info30 = Form.Info;
38
+ var ID9 = Form.ID;
39
+ var Info24 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply3 = Form.Reply;
45
+ var Reply2 = Form.Reply;
46
46
 
47
- class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID15
47
+ class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID9
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID15
56
+ id: ID9
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID15
64
+ id: ID9
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID15,
72
+ id: ID9,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service74 extends Context.Service()("@opencode/Form") {
82
+ class Service64 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service74, Effect.gen(function* () {
85
- const bus = yield* Service82;
84
+ var layer25 = Layer.effect(Service64, Effect.gen(function* () {
85
+ const bus = yield* Service83;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID15.create();
93
+ const id = input.id ?? ID9.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service74, Effect.gen(function* () {
159
159
  closed = true;
160
160
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
161
161
  yield* Effect.addFinalizer(() => close);
162
- return Service74.of({ create, ask, get, list, state, reply, cancel, close });
162
+ return Service64.of({ create, ask, get, list, state, reply, cancel, close });
163
163
  }));
164
- var node77 = makeLocationNode({ service: Service74, layer: layer25, deps: [node85] });
164
+ var node67 = makeLocationNode({ service: Service64, layer: layer25, deps: [node87] });
165
165
  function validateAnswer2(form, answer) {
166
166
  const fields = new Map(form.map((field) => [field.key, field]));
167
167
  for (const key of Object.keys(answer)) {
@@ -313,4 +313,4 @@ function isDateTime(value) {
313
313
  return !Number.isNaN(new Date(value).getTime());
314
314
  }
315
315
 
316
- export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service74, layer25, node77, validateAnswer2, validateFields2, exports_form, Event20 };
316
+ export { ID9, Info24, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service64, layer25, node67, validateAnswer2, validateFields2, exports_form, Event16 };