@opencode/core 0.0.0-dev-20527 → 0.0.0-dev-20528

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 (782) 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 +69 -69
  7. package/dist/chunks/{location-lifecycle-3zbwexce.js → bus-062bw71t.js} +8 -8
  8. package/dist/chunks/{location-lifecycle-2b4fjshv.js → bus-0avwb0pz.js} +5 -5
  9. package/dist/chunks/{location-lifecycle-1hwney77.js → bus-0dp46qqw.js} +10 -10
  10. package/dist/chunks/{location-lifecycle-4x76qkv8.js → bus-0ew4w6t8.js} +36 -36
  11. package/dist/chunks/{location-lifecycle-aar7s3mw.js → bus-0h47pg7m.js} +11 -11
  12. package/dist/chunks/{location-lifecycle-q0xm7vwc.js → bus-0j77ygfz.js} +6 -6
  13. package/dist/chunks/{location-lifecycle-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{location-lifecycle-gwznxh9r.js → bus-0q1hsqvw.js} +4 -4
  15. package/dist/chunks/{location-lifecycle-0vbcp93d.js → bus-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{location-lifecycle-pn3cc07s.js → bus-14cna52h.js} +8 -8
  17. package/dist/chunks/{location-lifecycle-be7qvw84.js → bus-15nepkqg.js} +8 -8
  18. package/dist/chunks/{location-lifecycle-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{location-lifecycle-1fnjp5k2.js → bus-1n5v9331.js} +9 -9
  20. package/dist/chunks/{location-lifecycle-33r5dz8z.js → bus-1npcx4x5.js} +11 -11
  21. package/dist/chunks/{location-lifecycle-rxbw1nce.js → bus-21rk0v2x.js} +30 -30
  22. package/dist/chunks/{location-lifecycle-yb7hkqdw.js → bus-26ye3vwj.js} +8 -8
  23. package/dist/chunks/{location-lifecycle-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
  24. package/dist/chunks/{location-lifecycle-4ts7tf6z.js → bus-2ccvkpx1.js} +2 -2
  25. package/dist/chunks/{location-lifecycle-5a1bwj15.js → bus-2k2k1e4d.js} +22 -22
  26. package/dist/chunks/{location-lifecycle-k2v0xxpy.js → bus-2mb2wnf1.js} +32 -32
  27. package/dist/chunks/{location-lifecycle-cavr175a.js → bus-2pnhn36q.js} +21 -21
  28. package/dist/chunks/{location-lifecycle-5d9gfxm5.js → bus-2qx1vwxr.js} +31 -31
  29. package/dist/chunks/{location-lifecycle-jdayrf5p.js → bus-2zttkrbk.js} +24 -24
  30. package/dist/chunks/{location-lifecycle-gwwnqsk8.js → bus-32hqb9rg.js} +1 -1
  31. package/dist/chunks/{location-lifecycle-vw7wvyac.js → bus-33fymb46.js} +18 -18
  32. package/dist/chunks/{location-lifecycle-58296w7g.js → bus-3a151g65.js} +8 -8
  33. package/dist/chunks/{location-lifecycle-4ht2td90.js → bus-3abbgv3w.js} +51 -51
  34. package/dist/chunks/{location-lifecycle-h2b79v29.js → bus-3cegwx68.js} +2 -2
  35. package/dist/chunks/{location-lifecycle-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{location-lifecycle-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{location-lifecycle-7cwqg3jv.js → bus-3q3tbh2k.js} +42 -42
  38. package/dist/chunks/{location-lifecycle-11fe6sx3.js → bus-3q8rvzgr.js} +5 -5
  39. package/dist/chunks/{location-lifecycle-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{location-lifecycle-n8vwsn6h.js → bus-3tcgjz9c.js} +11 -11
  41. package/dist/chunks/{location-lifecycle-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{location-lifecycle-wdtanhag.js → bus-3x5m0wp2.js} +29 -29
  43. package/dist/chunks/{location-lifecycle-3zsf4n22.js → bus-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{location-lifecycle-88dsh8x0.js → bus-44nxam66.js} +14 -14
  45. package/dist/chunks/{location-lifecycle-5mtaxy7e.js → bus-4ax44qck.js} +21 -21
  46. package/dist/chunks/{location-lifecycle-ae40vj86.js → bus-4kyzs2qw.js} +11 -11
  47. package/dist/chunks/{location-lifecycle-1mgv3v64.js → bus-4mgcp0pb.js} +26 -26
  48. package/dist/chunks/{location-lifecycle-0tp00n3f.js → bus-4mk0yh5v.js} +15 -15
  49. package/dist/chunks/{location-lifecycle-s4f6agx1.js → bus-4yg5qhvj.js} +10 -10
  50. package/dist/chunks/{location-lifecycle-54ma36ye.js → bus-54ma36ye.js} +1 -1
  51. package/dist/chunks/{location-lifecycle-56gdpj1q.js → bus-56gdpj1q.js} +2 -2
  52. package/dist/chunks/{location-lifecycle-kjdm35cs.js → bus-57myy5jh.js} +5 -5
  53. package/dist/chunks/{location-lifecycle-yh47nrta.js → bus-59djkhay.js} +9 -9
  54. package/dist/chunks/{location-lifecycle-prq7hedt.js → bus-5aps1zy9.js} +9 -9
  55. package/dist/chunks/{location-lifecycle-rjskn9df.js → bus-5cbjwyn2.js} +41 -41
  56. package/dist/chunks/{location-lifecycle-5daktx2q.js → bus-5daktx2q.js} +1 -1
  57. package/dist/chunks/{location-lifecycle-mpr4bnn1.js → bus-5m8z81sk.js} +17 -17
  58. package/dist/chunks/{location-lifecycle-j6hwpd8q.js → bus-5rp0d938.js} +13 -13
  59. package/dist/chunks/{location-lifecycle-ywxshz3p.js → bus-5s4d2rwe.js} +1 -1
  60. package/dist/chunks/{location-lifecycle-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{location-lifecycle-v1xty7y4.js → bus-5zymz6xz.js} +8 -8
  62. package/dist/chunks/bus-60msy0h1.js +26 -0
  63. package/dist/chunks/{location-lifecycle-w5rka97k.js → bus-63kpjth9.js} +9 -9
  64. package/dist/chunks/{location-lifecycle-34njhhe5.js → bus-63rqqvz6.js} +10 -10
  65. package/dist/chunks/{location-lifecycle-5sb37669.js → bus-6508c6yq.js} +20 -20
  66. package/dist/chunks/{location-lifecycle-669tq793.js → bus-669tq793.js} +1 -1
  67. package/dist/chunks/{location-lifecycle-6x0v3epy.js → bus-68v5rke7.js} +25 -25
  68. package/dist/chunks/{location-lifecycle-1hpkm8ay.js → bus-69r9gc94.js} +25 -25
  69. package/dist/chunks/{location-lifecycle-880gxvw7.js → bus-6g7tcwcb.js} +1 -1
  70. package/dist/chunks/{location-lifecycle-wesvmh3j.js → bus-6mvsw307.js} +6 -6
  71. package/dist/chunks/{location-lifecycle-xn2taqs8.js → bus-6nv0705h.js} +13 -13
  72. package/dist/chunks/{location-lifecycle-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{location-lifecycle-2k8khapm.js → bus-7dqw4kz8.js} +5 -5
  74. package/dist/chunks/{location-lifecycle-z4vapwce.js → bus-7mw37t8g.js} +14 -14
  75. package/dist/chunks/{location-lifecycle-n0a89n4g.js → bus-7nk92rs9.js} +18 -18
  76. package/dist/chunks/{location-lifecycle-rernm79y.js → bus-7pb5msvq.js} +15 -15
  77. package/dist/chunks/{location-lifecycle-fg14c903.js → bus-7q4asrqv.js} +11 -11
  78. package/dist/chunks/{location-lifecycle-crahewxf.js → bus-7s3an50r.js} +7 -7
  79. package/dist/chunks/{location-lifecycle-67j6pqag.js → bus-7v9pb5aa.js} +15 -15
  80. package/dist/chunks/{location-lifecycle-n0qpbrq0.js → bus-7ya4bwdq.js} +46 -46
  81. package/dist/chunks/{location-lifecycle-mvfsc1pv.js → bus-7yh4e7ss.js} +3 -3
  82. package/dist/chunks/{location-lifecycle-f1kjpmaz.js → bus-7zavcbms.js} +6 -6
  83. package/dist/chunks/{location-lifecycle-1dvck2a7.js → bus-84h8c373.js} +2 -2
  84. package/dist/chunks/{location-lifecycle-84txncab.js → bus-84txncab.js} +1 -1
  85. package/dist/chunks/{location-lifecycle-96zzk72z.js → bus-88r1cn22.js} +6 -6
  86. package/dist/chunks/{location-lifecycle-gsjpzxb5.js → bus-8btdadkw.js} +5 -5
  87. package/dist/chunks/{location-lifecycle-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
  88. package/dist/chunks/{location-lifecycle-nxeekfv0.js → bus-8hpx4v08.js} +23 -23
  89. package/dist/chunks/{location-lifecycle-ns3eape4.js → bus-8whseyrk.js} +1 -1
  90. package/dist/chunks/{location-lifecycle-n1n192bv.js → bus-8zp79j7j.js} +4 -4
  91. package/dist/chunks/{location-lifecycle-xysr0336.js → bus-97xtdwm1.js} +23 -23
  92. package/dist/chunks/{location-lifecycle-6rfy7r9d.js → bus-98q6njb0.js} +30 -30
  93. package/dist/chunks/{location-lifecycle-p9cwmtnh.js → bus-9ftsnmnn.js} +3 -3
  94. package/dist/chunks/{location-lifecycle-d29p5ncg.js → bus-9h82ctm8.js} +16 -16
  95. package/dist/chunks/{location-lifecycle-5tp5mc0z.js → bus-9qcmtpsj.js} +14 -14
  96. package/dist/chunks/{location-lifecycle-xb50yt4b.js → bus-9x77fmbz.js} +4 -4
  97. package/dist/chunks/{location-lifecycle-2nyffpph.js → bus-a0d5603r.js} +6 -6
  98. package/dist/chunks/{location-lifecycle-s7jc9pwx.js → bus-a2tncpxa.js} +1 -1
  99. package/dist/chunks/{location-lifecycle-g8nb572c.js → bus-a53cn5ne.js} +174 -174
  100. package/dist/chunks/bus-a92xy198.js +507 -0
  101. package/dist/chunks/{location-lifecycle-aaet6srn.js → bus-aaet6srn.js} +2 -2
  102. package/dist/chunks/{location-lifecycle-3szpxf4e.js → bus-agam93qz.js} +3 -3
  103. package/dist/chunks/{location-lifecycle-wrqhzqe6.js → bus-attbt6m1.js} +18 -18
  104. package/dist/chunks/{location-lifecycle-nt5yg2md.js → bus-av1badb0.js} +30 -30
  105. package/dist/chunks/{location-lifecycle-k4a7v8bn.js → bus-avrevnxw.js} +11 -11
  106. package/dist/chunks/{location-lifecycle-cm3wj67j.js → bus-b00fjsj8.js} +23 -23
  107. package/dist/chunks/{location-lifecycle-ycnt8qav.js → bus-b12m1t8w.js} +11 -11
  108. package/dist/chunks/{location-lifecycle-w9c3fasb.js → bus-b1t7hkt2.js} +9 -9
  109. package/dist/chunks/{location-lifecycle-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{location-lifecycle-ram0ygt7.js → bus-b7hk97w1.js} +6 -6
  111. package/dist/chunks/{location-lifecycle-cv53qt83.js → bus-b9beb9jd.js} +11 -11
  112. package/dist/chunks/{location-lifecycle-gd9afk0s.js → bus-bhb1nrwe.js} +18 -18
  113. package/dist/chunks/{location-lifecycle-g0445xdp.js → bus-br0tr5aq.js} +8 -8
  114. package/dist/chunks/{location-lifecycle-rwzfmm4e.js → bus-bww70sgj.js} +4 -4
  115. package/dist/chunks/bus-by5v678g.js +18 -0
  116. package/dist/chunks/{location-lifecycle-xdggbtd6.js → bus-c8sdstdm.js} +17 -17
  117. package/dist/chunks/{location-lifecycle-8sze2n9a.js → bus-cfsekr6v.js} +6 -6
  118. package/dist/chunks/{location-lifecycle-qd53sc6s.js → bus-ckjey40x.js} +21 -21
  119. package/dist/chunks/{location-lifecycle-qd06wrk4.js → bus-cqk9t7df.js} +43 -43
  120. package/dist/chunks/{location-lifecycle-rtx7nsaa.js → bus-cxg1v9xt.js} +10 -10
  121. package/dist/chunks/{location-lifecycle-3cv4wgvw.js → bus-cytj1s2b.js} +9 -9
  122. package/dist/chunks/{location-lifecycle-py94dew6.js → bus-d0xt6pb0.js} +56 -56
  123. package/dist/chunks/{location-lifecycle-cpneeje0.js → bus-d4he2qe1.js} +5 -5
  124. package/dist/chunks/{location-lifecycle-1y3ncvm9.js → bus-d8nj9df2.js} +40 -40
  125. package/dist/chunks/{location-lifecycle-82017kgq.js → bus-d9h8yfv6.js} +22 -22
  126. package/dist/chunks/{location-lifecycle-d0apkz1x.js → bus-dfya69s0.js} +16 -16
  127. package/dist/chunks/{location-lifecycle-2tzrr9s8.js → bus-dg7vv6km.js} +26 -26
  128. package/dist/chunks/{location-lifecycle-gbvvt2rd.js → bus-dmg6kksp.js} +21 -21
  129. package/dist/chunks/{location-lifecycle-2h4bcnjm.js → bus-dzmh4f25.js} +15 -15
  130. package/dist/chunks/{location-lifecycle-9tkrmsrp.js → bus-dzyereph.js} +26 -26
  131. package/dist/chunks/{location-lifecycle-5qd3pb7m.js → bus-e3qxr5gk.js} +2 -2
  132. package/dist/chunks/{location-lifecycle-xqq1v675.js → bus-ebvq7s73.js} +71 -71
  133. package/dist/chunks/{location-lifecycle-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{location-lifecycle-1ksexcmn.js → bus-ejcp9k6a.js} +9 -9
  135. package/dist/chunks/{location-lifecycle-t2az9yje.js → bus-embw8kgh.js} +4 -4
  136. package/dist/chunks/{location-lifecycle-8e28aty2.js → bus-epppjn0x.js} +16 -16
  137. package/dist/chunks/{location-lifecycle-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
  138. package/dist/chunks/{location-lifecycle-21hs5cwd.js → bus-evxzag28.js} +16 -16
  139. package/dist/chunks/{location-lifecycle-910czmnb.js → bus-f1k63k1a.js} +17 -17
  140. package/dist/chunks/{location-lifecycle-71az546q.js → bus-f75zav2x.js} +2 -2
  141. package/dist/chunks/{location-lifecycle-dwm69vz7.js → bus-ff5sg8nr.js} +25 -25
  142. package/dist/chunks/{location-lifecycle-ryr25ayn.js → bus-fm2qvscf.js} +4 -4
  143. package/dist/chunks/{location-lifecycle-4434d9q2.js → bus-fpecnkgp.js} +9 -9
  144. package/dist/chunks/{location-lifecycle-6hpcj5v3.js → bus-fw7xxda2.js} +13 -13
  145. package/dist/chunks/{location-lifecycle-yfnz24wt.js → bus-fz37x9gn.js} +35 -35
  146. package/dist/chunks/{location-lifecycle-xfkkasph.js → bus-g5w8qwbj.js} +4 -4
  147. package/dist/chunks/{location-lifecycle-w5dhw84v.js → bus-g97m3cx8.js} +8 -8
  148. package/dist/chunks/{location-lifecycle-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{location-lifecycle-kbqjp078.js → bus-gg4dpy88.js} +5 -5
  150. package/dist/chunks/{location-lifecycle-k1crjkkb.js → bus-gh4cdc92.js} +10 -10
  151. package/dist/chunks/{location-lifecycle-x27mk1f7.js → bus-gpffk3sd.js} +2 -2
  152. package/dist/chunks/{location-lifecycle-m164ajwd.js → bus-gwa2mc6d.js} +19 -19
  153. package/dist/chunks/{location-lifecycle-r2jqd7kh.js → bus-h575n3kc.js} +4 -4
  154. package/dist/chunks/{location-lifecycle-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{location-lifecycle-h9qs4w9g.js → bus-hafepx0m.js} +12 -12
  156. package/dist/chunks/{location-lifecycle-6gnb6hk1.js → bus-hcwc3h8h.js} +18 -18
  157. package/dist/chunks/{location-lifecycle-zbdj16p8.js → bus-hgmvgqm7.js} +9 -9
  158. package/dist/chunks/{location-lifecycle-hmx5nkgf.js → bus-hh9zdb1h.js} +48 -48
  159. package/dist/chunks/{location-lifecycle-c8cgfd79.js → bus-hmhp1yt2.js} +4 -4
  160. package/dist/chunks/{location-lifecycle-9ae44cfy.js → bus-hq8zt1th.js} +6 -6
  161. package/dist/chunks/{location-lifecycle-j56e64zr.js → bus-j56e64zr.js} +1 -1
  162. package/dist/chunks/{location-lifecycle-dc0c81ep.js → bus-j6pqrj3v.js} +17 -17
  163. package/dist/chunks/{location-lifecycle-gsf4mfvw.js → bus-j7a3k319.js} +24 -24
  164. package/dist/chunks/{location-lifecycle-x3gqap9d.js → bus-j8m1p4p1.js} +4 -4
  165. package/dist/chunks/{location-lifecycle-te0t49k2.js → bus-jaah0z8w.js} +22 -22
  166. package/dist/chunks/{location-lifecycle-h4e8knmw.js → bus-jqxjpj4d.js} +8 -8
  167. package/dist/chunks/{location-lifecycle-gy00b4px.js → bus-jxbgt45t.js} +22 -22
  168. package/dist/chunks/{location-lifecycle-2a4f6v5q.js → bus-jygqzb3h.js} +8 -8
  169. package/dist/chunks/{location-lifecycle-mthz10xn.js → bus-jzjcb49d.js} +28 -28
  170. package/dist/chunks/{location-lifecycle-2296s1c0.js → bus-k1qrnqst.js} +8 -8
  171. package/dist/chunks/{location-lifecycle-9e5bzkjp.js → bus-kb9j3d72.js} +3 -3
  172. package/dist/chunks/{location-lifecycle-a9b67nrv.js → bus-kbgwbpaq.js} +30 -30
  173. package/dist/chunks/{location-lifecycle-z2qbjhyn.js → bus-kbj2dgab.js} +5 -5
  174. package/dist/chunks/{location-lifecycle-hw3b7921.js → bus-kn1wn28d.js} +24 -24
  175. package/dist/chunks/{location-lifecycle-r2zbaadd.js → bus-kswjze58.js} +8 -8
  176. package/dist/chunks/{location-lifecycle-35k2916m.js → bus-kxy7nzzk.js} +20 -20
  177. package/dist/chunks/{location-lifecycle-j3r1f5f2.js → bus-ky8sey70.js} +17 -17
  178. package/dist/chunks/{location-lifecycle-afkvkv10.js → bus-kyccdhtf.js} +11 -11
  179. package/dist/chunks/{location-lifecycle-ewwc48x6.js → bus-m1ebtf8y.js} +28 -28
  180. package/dist/chunks/{location-lifecycle-hdcxjhkc.js → bus-m2dm6aaw.js} +21 -21
  181. package/dist/chunks/{location-lifecycle-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{location-lifecycle-xkqvhxkq.js → bus-m4me3t1z.js} +22 -22
  183. package/dist/chunks/{location-lifecycle-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{location-lifecycle-en9087x0.js → bus-mbca2hxa.js} +14 -14
  185. package/dist/chunks/{location-lifecycle-gwy9g9cp.js → bus-mcqt9qjk.js} +15 -15
  186. package/dist/chunks/{location-lifecycle-qnxksr5a.js → bus-mp5qahyg.js} +34 -34
  187. package/dist/chunks/{location-lifecycle-p2svhgs8.js → bus-mpmd08n4.js} +18 -18
  188. package/dist/chunks/{location-lifecycle-zpva5yp6.js → bus-mqwmb34d.js} +12 -12
  189. package/dist/chunks/{location-lifecycle-dtka71h2.js → bus-mw4m8fya.js} +24 -24
  190. package/dist/chunks/{location-lifecycle-rrd4qz5h.js → bus-mx1qtak0.js} +17 -17
  191. package/dist/chunks/{location-lifecycle-3y377wv9.js → bus-mxvxcxwy.js} +4 -4
  192. package/dist/chunks/{location-lifecycle-nt94w8bb.js → bus-n04q887z.js} +39 -39
  193. package/dist/chunks/{location-lifecycle-7hhqs9ev.js → bus-n4d3d4w3.js} +11 -11
  194. package/dist/chunks/{location-lifecycle-9naf3h3b.js → bus-n88t58eh.js} +11 -11
  195. package/dist/chunks/{location-lifecycle-sn3cptvh.js → bus-ndkksb5f.js} +9 -9
  196. package/dist/chunks/{location-lifecycle-48qyzgv8.js → bus-nx817z3s.js} +8 -8
  197. package/dist/chunks/{location-lifecycle-dpkg50ah.js → bus-nxm207yx.js} +4 -4
  198. package/dist/chunks/{location-lifecycle-n2amha0h.js → bus-p23dhdth.js} +11 -11
  199. package/dist/chunks/{location-lifecycle-x1v8p9tg.js → bus-p4pkk9xt.js} +19 -19
  200. package/dist/chunks/{location-lifecycle-wykvkkng.js → bus-p5m43jmh.js} +27 -27
  201. package/dist/chunks/{location-lifecycle-dwf6zmnn.js → bus-p675gkya.js} +10 -10
  202. package/dist/chunks/{location-lifecycle-1pj67zbx.js → bus-pc4a07xm.js} +8 -8
  203. package/dist/chunks/{location-lifecycle-qgdsxw13.js → bus-pgdf7f6z.js} +14 -14
  204. package/dist/chunks/{location-lifecycle-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{location-lifecycle-pknna89w.js → bus-pknna89w.js} +1 -1
  206. package/dist/chunks/bus-pmem3b8z.js +253 -0
  207. package/dist/chunks/{location-lifecycle-bddk7pqm.js → bus-prnf2p7v.js} +25 -25
  208. package/dist/chunks/{location-lifecycle-37r0976v.js → bus-psevvpfg.js} +7 -7
  209. package/dist/chunks/{location-lifecycle-3grjawsb.js → bus-pw950zh1.js} +5 -5
  210. package/dist/chunks/{location-lifecycle-nbe4w6xg.js → bus-q8xdd368.js} +15 -15
  211. package/dist/chunks/{location-lifecycle-z4knkhav.js → bus-qcz3a2pj.js} +3 -3
  212. package/dist/chunks/{location-lifecycle-sz9gegs6.js → bus-qdbrb2ae.js} +24 -24
  213. package/dist/chunks/{location-lifecycle-qnc92qwc.js → bus-qnc92qwc.js} +1 -1
  214. package/dist/chunks/{location-lifecycle-0dbjc75y.js → bus-qqx9qqxa.js} +9 -9
  215. package/dist/chunks/{location-lifecycle-7zdfbm64.js → bus-qsare228.js} +5 -5
  216. package/dist/chunks/{location-lifecycle-qsdy395h.js → bus-qsdy395h.js} +1 -1
  217. package/dist/chunks/{location-lifecycle-xyafkbt0.js → bus-qxjc9qry.js} +3 -3
  218. package/dist/chunks/{location-lifecycle-3ewed21c.js → bus-r66xghd9.js} +4 -4
  219. package/dist/chunks/{location-lifecycle-d5ywaays.js → bus-r89hfgxs.js} +45 -45
  220. package/dist/chunks/{location-lifecycle-1acjjqhc.js → bus-r8xr0va3.js} +4 -4
  221. package/dist/chunks/{location-lifecycle-qzzs1xc5.js → bus-rar8z9yk.js} +15 -15
  222. package/dist/chunks/{location-lifecycle-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{location-lifecycle-yj4pw853.js → bus-rf7wnnvv.js} +11 -11
  224. package/dist/chunks/{location-lifecycle-84wsetqv.js → bus-rhtnc6e7.js} +21 -21
  225. package/dist/chunks/{location-lifecycle-b7p9mmcs.js → bus-rjaxefsm.js} +13 -13
  226. package/dist/chunks/{location-lifecycle-893rahry.js → bus-rtpbxsk2.js} +32 -32
  227. package/dist/chunks/{location-lifecycle-2m8jawch.js → bus-rx9ava5n.js} +4 -4
  228. package/dist/chunks/{location-lifecycle-qg1dxwny.js → bus-rz03v147.js} +2 -2
  229. package/dist/chunks/{location-lifecycle-819n4xfa.js → bus-s0rpadc8.js} +30 -30
  230. package/dist/chunks/{location-lifecycle-6pcg8kg2.js → bus-s4eg4czg.js} +30 -30
  231. package/dist/chunks/{location-lifecycle-dkrtd87p.js → bus-s5h4p73x.js} +4 -4
  232. package/dist/chunks/{location-lifecycle-t550f9t1.js → bus-s8d7rejh.js} +4 -4
  233. package/dist/chunks/{location-lifecycle-744vtqj3.js → bus-sesvvx24.js} +9 -9
  234. package/dist/chunks/{location-lifecycle-b4q8b87x.js → bus-sft7r91c.js} +57 -57
  235. package/dist/chunks/{location-lifecycle-axe3mf62.js → bus-sk6yq7gh.js} +3 -3
  236. package/dist/chunks/{location-lifecycle-1p2zhkn0.js → bus-sksw2c3r.js} +11 -11
  237. package/dist/chunks/{location-lifecycle-g08z8dq8.js → bus-spzjt392.js} +87 -87
  238. package/dist/chunks/{location-lifecycle-c01nkytp.js → bus-srq8z0b0.js} +5 -5
  239. package/dist/chunks/{location-lifecycle-z6kn09km.js → bus-sw9ya77t.js} +11 -11
  240. package/dist/chunks/{location-lifecycle-4gpqapdf.js → bus-t4vhf3zd.js} +30 -30
  241. package/dist/chunks/{location-lifecycle-gs88pkvr.js → bus-t6msp11s.js} +6 -6
  242. package/dist/chunks/{location-lifecycle-nms2wt4g.js → bus-tag6x3x4.js} +11 -11
  243. package/dist/chunks/{location-lifecycle-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{location-lifecycle-38571c3c.js → bus-tbgq5war.js} +4 -4
  245. package/dist/chunks/{location-lifecycle-525bad6w.js → bus-tcawe1f3.js} +18 -18
  246. package/dist/chunks/{location-lifecycle-89znhe33.js → bus-tcezcvh9.js} +4 -4
  247. package/dist/chunks/{location-lifecycle-tdstcens.js → bus-tdstcens.js} +1 -1
  248. package/dist/chunks/{location-lifecycle-cn4rk5mp.js → bus-thagpx6h.js} +2 -2
  249. package/dist/chunks/{location-lifecycle-kwctbf7w.js → bus-ths52tqb.js} +9 -9
  250. package/dist/chunks/{location-lifecycle-c1wfn033.js → bus-tp2cn5ae.js} +10 -10
  251. package/dist/chunks/{location-lifecycle-tvft88yj.js → bus-tvc1vb6k.js} +12 -12
  252. package/dist/chunks/{location-lifecycle-zjbv19xv.js → bus-v2zxy9vy.js} +1 -1
  253. package/dist/chunks/{location-lifecycle-ea16cwsk.js → bus-vefmky7z.js} +17 -17
  254. package/dist/chunks/{location-lifecycle-veqvce7d.js → bus-veqvce7d.js} +1 -1
  255. package/dist/chunks/{location-lifecycle-mf34zbxj.js → bus-vnnb4fd2.js} +11 -11
  256. package/dist/chunks/{location-lifecycle-0m08kv58.js → bus-vrx5s5q9.js} +21 -21
  257. package/dist/chunks/{location-lifecycle-e6avgvqk.js → bus-vts12sgn.js} +14 -14
  258. package/dist/chunks/{location-lifecycle-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
  259. package/dist/chunks/{location-lifecycle-vzs5sf6e.js → bus-vzs5sf6e.js} +1 -1
  260. package/dist/chunks/{location-lifecycle-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{location-lifecycle-wd87259q.js → bus-wd87259q.js} +1 -1
  262. package/dist/chunks/{location-lifecycle-b3f8fkhc.js → bus-wecqtg5s.js} +5 -5
  263. package/dist/chunks/{location-lifecycle-cz5mp6zw.js → bus-wmk7jyr0.js} +13 -13
  264. package/dist/chunks/{location-lifecycle-rhygb5vz.js → bus-wq5ry9pe.js} +34 -34
  265. package/dist/chunks/{location-lifecycle-f348dfqp.js → bus-wvn6r189.js} +15 -15
  266. package/dist/chunks/{location-lifecycle-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{location-lifecycle-jr83h071.js → bus-x94qb275.js} +20 -20
  268. package/dist/chunks/{location-lifecycle-npxhwpaz.js → bus-xa8b9tvy.js} +23 -23
  269. package/dist/chunks/{location-lifecycle-6a4qhw64.js → bus-xaehw3v9.js} +32 -32
  270. package/dist/chunks/{location-lifecycle-5gb8v3q0.js → bus-xcf5a4h9.js} +3 -3
  271. package/dist/chunks/{location-lifecycle-8ff8zvrx.js → bus-xj1ny1rv.js} +12 -12
  272. package/dist/chunks/{location-lifecycle-dmqcgk4z.js → bus-xkntkrq7.js} +5 -5
  273. package/dist/chunks/{location-lifecycle-061q4pce.js → bus-xmgnb5pn.js} +89 -89
  274. package/dist/chunks/{location-lifecycle-5tgwtrb4.js → bus-xzhjfv9h.js} +25 -25
  275. package/dist/chunks/{location-lifecycle-9y9sk2j9.js → bus-y0s875v8.js} +2 -2
  276. package/dist/chunks/{location-lifecycle-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
  277. package/dist/chunks/{location-lifecycle-f8asj3v0.js → bus-ycgg54q6.js} +8 -8
  278. package/dist/chunks/{location-lifecycle-x8dzr4wn.js → bus-yh0kz87z.js} +1 -1
  279. package/dist/chunks/{location-lifecycle-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{location-lifecycle-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{location-lifecycle-47jkzegy.js → bus-z6c3x22d.js} +5 -5
  282. package/dist/chunks/{location-lifecycle-911kytge.js → bus-z7vdbf44.js} +18 -18
  283. package/dist/chunks/{location-lifecycle-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{location-lifecycle-tx3jtc6f.js → bus-zt3khfp6.js} +19 -19
  285. package/dist/chunks/{location-lifecycle-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +7 -7
  288. package/dist/codemode/tool.js +3 -3
  289. package/dist/codemode/web.js +1 -1
  290. package/dist/command.js +83 -83
  291. package/dist/config/discovery.js +84 -84
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +99 -99
  294. package/dist/config/plugin/agent.js +116 -116
  295. package/dist/config/plugin/command.js +205 -205
  296. package/dist/config/plugin/compaction.js +154 -154
  297. package/dist/config/plugin/compatibility.js +134 -134
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +117 -117
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +90 -90
  302. package/dist/config/plugin/location-watcher.js +118 -118
  303. package/dist/config/plugin/mcp.js +123 -123
  304. package/dist/config/plugin/policy.js +117 -117
  305. package/dist/config/plugin/provider.js +116 -116
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +116 -116
  308. package/dist/config/plugin/skill-file.js +102 -102
  309. package/dist/config/plugin/skill.js +135 -135
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +119 -119
  312. package/dist/config/plugin/tool-output.js +117 -117
  313. package/dist/config/plugin/websearch.js +115 -115
  314. package/dist/config/plugin/worktree.js +118 -118
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +121 -121
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +83 -83
  320. package/dist/database/database.js +66 -66
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +16 -16
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  385. package/dist/database/migration.gen.js +49 -49
  386. package/dist/database/migration.js +51 -51
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +76 -76
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +364 -364
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +3 -3
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +93 -93
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +95 -95
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +1 -1
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +70 -70
  410. package/dist/file-access.js +104 -104
  411. package/dist/file-mutation.js +94 -94
  412. package/dist/file-retention.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/location-watcher-policy.js +4 -4
  418. package/dist/filesystem/location-watcher.js +220 -220
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +103 -103
  421. package/dist/filesystem/watcher-binding.js +3 -3
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +106 -106
  424. package/dist/form.js +82 -82
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +87 -87
  427. package/dist/generate.js +105 -105
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +99 -99
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +355 -355
  452. package/dist/instruction-discovery.js +85 -85
  453. package/dist/instructions/builtins.js +87 -87
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +89 -89
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +73 -73
  460. package/dist/location-activity.js +131 -131
  461. package/dist/location-lifecycle.js +107 -107
  462. package/dist/location-service-map.js +86 -86
  463. package/dist/location-services.js +352 -352
  464. package/dist/location.js +89 -89
  465. package/dist/managed-policy.js +5 -5
  466. package/dist/mcp/client.js +91 -91
  467. package/dist/mcp/index.js +109 -109
  468. package/dist/mcp/instructions.js +129 -129
  469. package/dist/mcp/oauth.js +78 -78
  470. package/dist/mcp/stdio.js +90 -90
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +99 -99
  473. package/dist/model-resolver.js +98 -98
  474. package/dist/model.js +96 -96
  475. package/dist/models-dev.js +107 -107
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +82 -82
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +115 -115
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +86 -86
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +75 -75
  485. package/dist/plugin/agent.js +102 -102
  486. package/dist/plugin/command.js +100 -100
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +211 -211
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +327 -327
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +96 -96
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +102 -102
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  499. package/dist/plugin/provider/azure.js +117 -117
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +93 -93
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +112 -112
  506. package/dist/plugin/provider/digitalocean.js +93 -93
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +95 -95
  511. package/dist/plugin/provider/gitlab.js +93 -93
  512. package/dist/plugin/provider/google-vertex.js +90 -90
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +78 -78
  515. package/dist/plugin/provider/lmstudio.js +115 -115
  516. package/dist/plugin/provider/modal.js +92 -92
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +115 -115
  519. package/dist/plugin/provider/openai.js +95 -95
  520. package/dist/plugin/provider/opencode.js +96 -96
  521. package/dist/plugin/provider/openrouter.js +91 -91
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +79 -79
  524. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  525. package/dist/plugin/provider/sap-ai-core.js +91 -91
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +90 -90
  530. package/dist/plugin/provider/vllm.js +115 -115
  531. package/dist/plugin/provider/xai.js +91 -91
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +156 -156
  534. package/dist/plugin/sdk.js +76 -76
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +132 -132
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +346 -346
  539. package/dist/plugin/tool-input-repair.js +4 -4
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/vcs/git.js +86 -86
  542. package/dist/plugin/vcs/hg.js +86 -86
  543. package/dist/plugin/verbosity.js +93 -93
  544. package/dist/plugin/warming.js +114 -114
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +2 -2
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin/websearch/tinyfish.js +8 -8
  552. package/dist/plugin.js +218 -218
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +90 -90
  556. package/dist/provider.js +95 -95
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +99 -99
  560. package/dist/reference/instructions.js +89 -89
  561. package/dist/reference.js +91 -91
  562. package/dist/repository-cache.js +81 -81
  563. package/dist/repository.js +1 -1
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +95 -95
  566. package/dist/rpc.js +86 -86
  567. package/dist/schema.js +1 -1
  568. package/dist/session/affinity.js +1 -1
  569. package/dist/session/command.js +74 -74
  570. package/dist/session/compaction.js +135 -135
  571. package/dist/session/context.js +153 -153
  572. package/dist/session/diff.js +88 -88
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +214 -214
  577. package/dist/session/execution.js +125 -125
  578. package/dist/session/generate.js +154 -154
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +86 -86
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +79 -79
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +97 -97
  585. package/dist/session/message-updater.js +4 -4
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +120 -120
  588. package/dist/session/model-transport.js +9 -9
  589. package/dist/session/move.js +129 -129
  590. package/dist/session/projector.js +86 -86
  591. package/dist/session/prompt.js +105 -105
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +90 -90
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +224 -224
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +98 -98
  599. package/dist/session/runner/publish-llm-event.js +113 -113
  600. package/dist/session/runner/retry.js +4 -4
  601. package/dist/session/runner/step.js +125 -125
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +162 -162
  605. package/dist/session/shell.js +130 -130
  606. package/dist/session/skill.js +103 -103
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +73 -73
  609. package/dist/session/store.js +85 -85
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +203 -203
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +157 -157
  614. package/dist/session/to-session-error.js +111 -111
  615. package/dist/session/transfer.js +210 -210
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +211 -211
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +130 -130
  623. package/dist/skill/discovery.js +4 -4
  624. package/dist/skill/instructions.js +107 -107
  625. package/dist/skill.js +112 -112
  626. package/dist/snapshot.js +89 -89
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +128 -128
  631. package/dist/tool/plugin/edit.js +120 -120
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +114 -114
  634. package/dist/tool/plugin/grep.js +120 -120
  635. package/dist/tool/plugin/mcp-resource.js +117 -117
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +112 -112
  638. package/dist/tool/plugin/question.js +103 -103
  639. package/dist/tool/plugin/read.js +121 -121
  640. package/dist/tool/plugin/shell.js +208 -208
  641. package/dist/tool/plugin/skill.js +111 -111
  642. package/dist/tool/plugin/subagent.js +212 -212
  643. package/dist/tool/plugin/webfetch.js +104 -104
  644. package/dist/tool/plugin/websearch.js +106 -106
  645. package/dist/tool/plugin/write.js +122 -122
  646. package/dist/tool/read-filesystem.js +100 -100
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +7 -7
  649. package/dist/tool.js +14 -14
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/command.js +3 -3
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/mcp.js +4 -4
  663. package/dist/v1/config/migrate.js +92 -92
  664. package/dist/v1/config/permission.js +7 -7
  665. package/dist/v1/config/plugin.js +3 -3
  666. package/dist/v1/config/provider-options.js +1 -1
  667. package/dist/v1/config/provider.js +4 -4
  668. package/dist/variant.js +93 -93
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +89 -89
  671. package/dist/websearch.js +82 -82
  672. package/dist/wellknown/plugin.js +76 -76
  673. package/dist/wellknown.js +79 -79
  674. package/dist/workspace/driver.js +3 -3
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +80 -80
  677. package/dist/worktree/directory.js +2 -2
  678. package/dist/worktree/git.js +10 -10
  679. package/dist/worktree/sql.js +5 -5
  680. package/dist/worktree/strategies.js +89 -89
  681. package/dist/worktree.js +98 -98
  682. package/package.json +8 -8
  683. package/dist/chunks/location-lifecycle-8fx7c703.js +0 -26
  684. package/dist/chunks/location-lifecycle-ht5y0zrb.js +0 -18
  685. package/dist/chunks/location-lifecycle-k3sqnzzn.js +0 -507
  686. package/dist/chunks/location-lifecycle-m3s7f8hw.js +0 -253
  687. /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{location-lifecycle-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{location-lifecycle-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{location-lifecycle-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{location-lifecycle-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{location-lifecycle-24dcb14g.js → bus-24dcb14g.js} +0 -0
  693. /package/dist/chunks/{location-lifecycle-2710q6r3.js → bus-2710q6r3.js} +0 -0
  694. /package/dist/chunks/{location-lifecycle-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
  695. /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
  696. /package/dist/chunks/{location-lifecycle-34c7v6d4.js → bus-34c7v6d4.js} +0 -0
  697. /package/dist/chunks/{location-lifecycle-359p4xyc.js → bus-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{location-lifecycle-3asan66x.js → bus-3asan66x.js} +0 -0
  699. /package/dist/chunks/{location-lifecycle-3t0ybcrp.js → bus-3t0ybcrp.js} +0 -0
  700. /package/dist/chunks/{location-lifecycle-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
  701. /package/dist/chunks/{location-lifecycle-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
  702. /package/dist/chunks/{location-lifecycle-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{location-lifecycle-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{location-lifecycle-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{location-lifecycle-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{location-lifecycle-53557ph1.js → bus-53557ph1.js} +0 -0
  708. /package/dist/chunks/{location-lifecycle-550bvhaj.js → bus-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{location-lifecycle-6prwharc.js → bus-6prwharc.js} +0 -0
  710. /package/dist/chunks/{location-lifecycle-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
  711. /package/dist/chunks/{location-lifecycle-7m9af43g.js → bus-7m9af43g.js} +0 -0
  712. /package/dist/chunks/{location-lifecycle-822emrt2.js → bus-822emrt2.js} +0 -0
  713. /package/dist/chunks/{location-lifecycle-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
  714. /package/dist/chunks/{location-lifecycle-8n3pysct.js → bus-8n3pysct.js} +0 -0
  715. /package/dist/chunks/{location-lifecycle-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
  716. /package/dist/chunks/{location-lifecycle-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
  717. /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
  718. /package/dist/chunks/{location-lifecycle-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
  719. /package/dist/chunks/{location-lifecycle-af5trqkr.js → bus-af5trqkr.js} +0 -0
  720. /package/dist/chunks/{location-lifecycle-afrmfg78.js → bus-afrmfg78.js} +0 -0
  721. /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
  722. /package/dist/chunks/{location-lifecycle-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
  723. /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
  724. /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
  725. /package/dist/chunks/{location-lifecycle-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
  726. /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
  727. /package/dist/chunks/{location-lifecycle-d9fn303g.js → bus-d9fn303g.js} +0 -0
  728. /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
  729. /package/dist/chunks/{location-lifecycle-dajrwvna.js → bus-dajrwvna.js} +0 -0
  730. /package/dist/chunks/{location-lifecycle-dap0rakb.js → bus-dap0rakb.js} +0 -0
  731. /package/dist/chunks/{location-lifecycle-df08tz66.js → bus-df08tz66.js} +0 -0
  732. /package/dist/chunks/{location-lifecycle-dy18nga0.js → bus-dy18nga0.js} +0 -0
  733. /package/dist/chunks/{location-lifecycle-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
  734. /package/dist/chunks/{location-lifecycle-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
  735. /package/dist/chunks/{location-lifecycle-ec1grn59.js → bus-ec1grn59.js} +0 -0
  736. /package/dist/chunks/{location-lifecycle-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
  737. /package/dist/chunks/{location-lifecycle-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
  738. /package/dist/chunks/{location-lifecycle-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
  739. /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
  740. /package/dist/chunks/{location-lifecycle-faypxj3z.js → bus-faypxj3z.js} +0 -0
  741. /package/dist/chunks/{location-lifecycle-fd410y7t.js → bus-fd410y7t.js} +0 -0
  742. /package/dist/chunks/{location-lifecycle-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
  743. /package/dist/chunks/{location-lifecycle-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
  744. /package/dist/chunks/{location-lifecycle-g86h250q.js → bus-g86h250q.js} +0 -0
  745. /package/dist/chunks/{location-lifecycle-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
  746. /package/dist/chunks/{location-lifecycle-gftt206x.js → bus-gftt206x.js} +0 -0
  747. /package/dist/chunks/{location-lifecycle-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
  748. /package/dist/chunks/{location-lifecycle-hk9envan.js → bus-hk9envan.js} +0 -0
  749. /package/dist/chunks/{location-lifecycle-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{location-lifecycle-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
  752. /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
  753. /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
  754. /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
  755. /package/dist/chunks/{location-lifecycle-mp448xyj.js → bus-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{location-lifecycle-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{location-lifecycle-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{location-lifecycle-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{location-lifecycle-njntx4h6.js → bus-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{location-lifecycle-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{location-lifecycle-q74kybfr.js → bus-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{location-lifecycle-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{location-lifecycle-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{location-lifecycle-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{location-lifecycle-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
  766. /package/dist/chunks/{location-lifecycle-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{location-lifecycle-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{location-lifecycle-w803qqfp.js → bus-w803qqfp.js} +0 -0
  771. /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
  772. /package/dist/chunks/{location-lifecycle-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{location-lifecycle-wtztk69x.js → bus-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{location-lifecycle-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{location-lifecycle-x61499pn.js → bus-x61499pn.js} +0 -0
  776. /package/dist/chunks/{location-lifecycle-y44na4kk.js → bus-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{location-lifecycle-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{location-lifecycle-y8f7s663.js → bus-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{location-lifecycle-ym463w8f.js → bus-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{location-lifecycle-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
  782. /package/dist/chunks/{location-lifecycle-z9919s4g.js → bus-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./location-lifecycle-p9cwmtnh.js";
4
+ } from "./bus-9ftsnmnn.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./location-lifecycle-38571c3c.js";
8
+ } from "./bus-tbgq5war.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./location-lifecycle-pknna89w.js";
11
+ } from "./bus-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./location-lifecycle-3zsf4n22.js";
14
+ } from "./bus-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./location-lifecycle-9rqn6x4v.js";
17
+ } from "./bus-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event20,
24
- ID: () => ID17,
25
- Info: () => Info28,
23
+ Event: () => Event18,
24
+ ID: () => ID14,
25
+ Info: () => Info24,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service81,
28
+ Service: () => Service75,
29
29
  Value: () => Value2,
30
- node: () => node85
30
+ node: () => node79
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID17 = Credential.ID;
37
+ var ID14 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event20 = Credential.Event;
41
+ var Event18 = Credential.Event;
42
42
 
43
- class Info28 extends Schema.Class("Credential.Info")({
44
- id: ID17,
43
+ class Info24 extends Schema.Class("Credential.Info")({
44
+ id: ID14,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service81 extends Context.Service()("@opencode/Credential") {
51
+ class Service75 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service81, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
55
  const bus = yield* Service83;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info28({
60
+ return new Info24({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service81.of({
71
+ return Service75.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info28({
80
- id: input.id ?? ID17.create(),
79
+ const credential = new Info24({
80
+ id: input.id ?? ID14.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
108
108
  type: credential.value.type,
109
109
  active: activated
110
110
  });
111
- yield* bus.publish(Event20.Updated, {}, { global: true });
111
+ yield* bus.publish(Event18.Updated, {}, { global: true });
112
112
  if (activated)
113
- yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
113
+ yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
114
114
  return credential;
115
115
  }),
116
116
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
130
130
  })), Effect.orDie);
131
131
  if (integrationID) {
132
132
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
133
- yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
133
+ yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
134
134
  }
135
135
  }),
136
136
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
162
162
  labelChanged: updates.label !== undefined && updates.label !== credential.label
163
163
  });
164
164
  if (updates.label !== undefined && updates.label !== credential.label)
165
- yield* bus.publish(Event20.Updated, {}, { global: true });
165
+ yield* bus.publish(Event18.Updated, {}, { global: true });
166
166
  }),
167
167
  remove: Effect.fn("Credential.remove")(function* (id) {
168
168
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
195
195
  active: removed.switched,
196
196
  ...removed.switched ? { replacementID: removed.credentialID } : {}
197
197
  });
198
- yield* bus.publish(Event20.Updated, {}, { global: true });
198
+ yield* bus.publish(Event18.Updated, {}, { global: true });
199
199
  if (removed.switched)
200
- yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
200
+ yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
201
201
  })
202
202
  });
203
203
  }));
204
- var node85 = makeGlobalNode({ service: Service81, layer, deps: [node88, node87] });
204
+ var node79 = makeGlobalNode({ service: Service75, layer, deps: [node88, node87] });
205
205
 
206
- export { ID17, OAuth3, Key4, Value2, Event20, Info28, Service81, node85, exports_credential };
206
+ export { ID14, OAuth3, Key4, Value2, Event18, Info24, Service75, node79, exports_credential };
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-lifecycle-38571c3c.js";
4
+ } from "./bus-tbgq5war.js";
5
5
  import {
6
6
  create3
7
- } from "./location-lifecycle-rdw6cm16.js";
7
+ } from "./bus-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./location-lifecycle-9rqn6x4v.js";
10
+ } from "./bus-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event13,
18
- ID: () => ID9,
19
- Info: () => Info18,
17
+ Event: () => Event21,
18
+ ID: () => ID18,
19
+ Info: () => Info29,
20
20
  Name: () => Name3,
21
- Service: () => Service64,
21
+ Service: () => Service82,
22
22
  defaultID: () => defaultID2,
23
- node: () => node66
23
+ node: () => node86
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event13 } from "@opencode/schema/agent";
30
+ import { Event as Event21 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID9 = Agent.ID;
33
+ var ID18 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID9.make("build");
35
+ var defaultID2 = ID18.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info18 = Agent.Info;
37
+ var Info29 = Agent.Info;
38
38
 
39
- class Service64 extends Context.Service()("@opencode/Agent") {
39
+ class Service82 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service64, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service82, Effect.gen(function* () {
42
42
  const bus = yield* Service83;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info18.default(id);
60
+ const defaults = Info29.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID9.make("build")));
82
+ const build = selectable(data.agents.get(ID18.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service64.of({
91
+ return Service82.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID9.make(id));
99
+ return state.get().agents.get(ID18.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID9.make(id);
104
+ const selected = ID18.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node66 = makeLocationNode({ service: Service64, layer, deps: [node87, Global.node] });
119
+ var node86 = makeLocationNode({ service: Service82, layer, deps: [node87, Global.node] });
120
120
 
121
- export { ID9, Name3, defaultID2, Color2, Info18, Service64, node66, exports_agent4, Event13 };
121
+ export { ID18, Name3, defaultID2, Color2, Info29, Service82, node86, exports_agent4, Event21 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-lifecycle-9rqn6x4v.js";
3
+ } from "./bus-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/web.ts
6
6
  var exports_web = {};
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-lifecycle-fg14c903.js";
3
+ } from "./bus-7q4asrqv.js";
4
4
  import {
5
5
  Service83
6
- } from "./location-lifecycle-38571c3c.js";
6
+ } from "./bus-tbgq5war.js";
7
7
  import {
8
- ID17,
8
+ ID14,
9
9
  OAuth3,
10
- Event20,
11
- Service81
12
- } from "./location-lifecycle-ewwc48x6.js";
10
+ Event18,
11
+ Service75
12
+ } from "./bus-m1ebtf8y.js";
13
13
  import {
14
14
  key2
15
- } from "./location-lifecycle-3y377wv9.js";
15
+ } from "./bus-mxvxcxwy.js";
16
16
  import {
17
- ID16,
17
+ ID12,
18
18
  MethodID2
19
- } from "./location-lifecycle-mthz10xn.js";
19
+ } from "./bus-jzjcb49d.js";
20
20
  import {
21
21
  which2
22
- } from "./location-lifecycle-qaymkmh1.js";
22
+ } from "./bus-qaymkmh1.js";
23
23
  import {
24
24
  ID11,
25
- Service67
26
- } from "./location-lifecycle-bddk7pqm.js";
25
+ Service72
26
+ } from "./bus-prnf2p7v.js";
27
27
  import {
28
28
  ID10
29
- } from "./location-lifecycle-te0t49k2.js";
29
+ } from "./bus-jaah0z8w.js";
30
30
  import {
31
31
  iife2
32
- } from "./location-lifecycle-1kg9ymc8.js";
32
+ } from "./bus-1kg9ymc8.js";
33
33
  import {
34
34
  configuredSettings2
35
- } from "./location-lifecycle-ram0ygt7.js";
35
+ } from "./bus-b7hk97w1.js";
36
36
 
37
37
  // src/plugin/provider/azure.ts
38
38
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -67,7 +67,7 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
67
67
  }));
68
68
  var ResourceQuery = Schema.Struct({ query: Schema.String });
69
69
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
70
- function make7(endpoints = {
70
+ function make10(endpoints = {
71
71
  resource: (name) => `https://${name}.openai.azure.com/openai`,
72
72
  management: "https://management.azure.com"
73
73
  }) {
@@ -77,8 +77,8 @@ function make7(endpoints = {
77
77
  const configured = yield* configuredSettings2(ID11.azure);
78
78
  const processes = yield* AppProcess.Service;
79
79
  const bus = yield* Service83;
80
- const credentials = yield* Service81;
81
- const providers = yield* Service67;
80
+ const credentials = yield* Service75;
81
+ const providers = yield* Service72;
82
82
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
83
83
  const tokens = new Map;
84
84
  const resourceIDs = new Map;
@@ -153,7 +153,7 @@ function make7(endpoints = {
153
153
  });
154
154
  const load = Effect.fn("AzurePlugin.load")(function* () {
155
155
  const connection = yield* ctx.integration.connection.active(ID11.azure);
156
- const stored = connection?.type === "credential" ? yield* credentials.get(ID17.make(connection.id)) : undefined;
156
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
157
157
  return { connection, resource: credentialResource(stored?.value) };
158
158
  });
159
159
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -283,7 +283,7 @@ function make7(endpoints = {
283
283
  models.update(ID11.azure, id, (draft) => Object.assign(draft, model));
284
284
  }
285
285
  });
286
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
286
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
287
287
  yield* refresh().pipe(Effect.forkScoped);
288
288
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
289
289
  const connection = yield* ctx.integration.connection.active(ID11.azure);
@@ -322,7 +322,7 @@ function make7(endpoints = {
322
322
  })
323
323
  });
324
324
  }
325
- var AzurePlugin2 = make7();
325
+ var AzurePlugin2 = make10();
326
326
  function resolveResourceName(settings, fallback) {
327
327
  const configured = settings?.resourceName;
328
328
  if (typeof configured === "string" && configured.trim() !== "")
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
378
378
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
379
379
  }
380
380
 
381
- export { make7, AzurePlugin2 };
381
+ export { make10, AzurePlugin2 };
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./location-lifecycle-emrn6kk6.js";
7
+ } from "./bus-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  ID11,
3
3
  mergeOverlay2
4
- } from "./location-lifecycle-bddk7pqm.js";
4
+ } from "./bus-prnf2p7v.js";
5
5
  import {
6
6
  ID10,
7
7
  VariantID2,
8
8
  Info19,
9
9
  compatibility2
10
- } from "./location-lifecycle-te0t49k2.js";
10
+ } from "./bus-jaah0z8w.js";
11
11
  import {
12
12
  __export
13
- } from "./location-lifecycle-9rqn6x4v.js";
13
+ } from "./bus-9rqn6x4v.js";
14
14
 
15
15
  // src/modal/models.ts
16
- var exports_models = {};
17
- __export(exports_models, {
18
- ModalModels: () => exports_models,
19
- derive: () => derive2,
20
- get: () => get2,
21
- load: () => load2
16
+ var exports_models2 = {};
17
+ __export(exports_models2, {
18
+ ModalModels: () => exports_models2,
19
+ derive: () => derive3,
20
+ get: () => get3,
21
+ load: () => load3
22
22
  });
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Option, Schema } from "effect";
@@ -54,10 +54,10 @@ var RemoteModel = Schema.Struct({
54
54
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
55
55
  var decodeResponse = Schema.decodeUnknownSync(Response);
56
56
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
57
- async function get2(baseURL, apiKey, existing) {
58
- return derive2(baseURL, await load2(baseURL, apiKey), existing);
57
+ async function get3(baseURL, apiKey, existing) {
58
+ return derive3(baseURL, await load3(baseURL, apiKey), existing);
59
59
  }
60
- async function load2(baseURL, apiKey) {
60
+ async function load3(baseURL, apiKey) {
61
61
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`
@@ -71,7 +71,7 @@ async function load2(baseURL, apiKey) {
71
71
  return model ? [model] : [];
72
72
  });
73
73
  }
74
- function derive2(baseURL, remote, existing) {
74
+ function derive3(baseURL, remote, existing) {
75
75
  const templates = new Map(existing.map((model) => [model.id, model]));
76
76
  const result = new Map;
77
77
  for (const item of remote) {
@@ -144,4 +144,4 @@ function variants(remote) {
144
144
  return [...seen.values()];
145
145
  }
146
146
 
147
- export { get2, load2, derive2, exports_models };
147
+ export { get3, load3, derive3, exports_models2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./location-lifecycle-p9cwmtnh.js";
4
+ } from "./bus-9ftsnmnn.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make19,
8
+ make21,
9
9
  combine2
10
- } from "./location-lifecycle-t550f9t1.js";
10
+ } from "./bus-s8d7rejh.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./location-lifecycle-9e5bzkjp.js";
13
+ } from "./bus-kb9j3d72.js";
14
14
  import {
15
15
  __export
16
- } from "./location-lifecycle-9rqn6x4v.js";
16
+ } from "./bus-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info4,
21
+ Info: () => Info5,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service25,
25
+ Service: () => Service28,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node29,
29
+ node: () => node32,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info4 = InstructionEntry.Info;
37
+ var Info5 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service25 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service28 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make19({
64
+ var source = (entry) => make21({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,7 +75,7 @@ var source = (entry) => make19({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service25, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
79
79
  const { db } = yield* Service84;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service25.of({ list, put, remove, load });
111
+ return Service28.of({ list, put, remove, load });
112
112
  }));
113
- var node29 = makeLocationNode({ service: Service25, layer, deps: [node88] });
113
+ var node32 = makeLocationNode({ service: Service28, layer, deps: [node88] });
114
114
 
115
- export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service25, node29, exports_instruction_entry };
115
+ export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service28, node32, exports_instruction_entry };
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./location-lifecycle-38571c3c.js";
4
+ } from "./bus-tbgq5war.js";
5
5
  import {
6
- Service77,
7
- node81
8
- } from "./location-lifecycle-910czmnb.js";
6
+ Service79,
7
+ node83
8
+ } from "./bus-f1k63k1a.js";
9
9
  import {
10
- Service50,
10
+ Service78,
11
11
  login2,
12
- node52
13
- } from "./location-lifecycle-x1v8p9tg.js";
12
+ node82
13
+ } from "./bus-p4pkk9xt.js";
14
14
  import {
15
15
  lazy2
16
- } from "./location-lifecycle-88xbtdfr.js";
16
+ } from "./bus-88xbtdfr.js";
17
17
  import {
18
18
  __export
19
- } from "./location-lifecycle-9rqn6x4v.js";
19
+ } from "./bus-9rqn6x4v.js";
20
20
 
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
23
23
  __export(exports_pty, {
24
- CreateInput: () => CreateInput2,
25
- Event: () => Event3,
24
+ CreateInput: () => CreateInput3,
25
+ Event: () => Event19,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID3,
28
- Info: () => Info3,
29
- NotFoundError: () => NotFoundError2,
27
+ ID: () => ID15,
28
+ Info: () => Info25,
29
+ NotFoundError: () => NotFoundError10,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service15,
31
+ Service: () => Service77,
32
32
  UpdateInput: () => UpdateInput2,
33
- node: () => node18
33
+ node: () => node81
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
37
37
  import { Pty } from "@opencode/schema/pty";
38
- import { Event as Event3 } from "@opencode/schema/pty";
38
+ import { Event as Event19 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID3 = Pty.ID;
43
- var Info3 = Pty.Info;
44
- var CreateInput2 = Pty.CreateInput;
42
+ var ID15 = Pty.ID;
43
+ var Info25 = Pty.Info;
44
+ var CreateInput3 = Pty.CreateInput;
45
45
  var UpdateInput2 = Pty.UpdateInput;
46
46
 
47
- class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID3
47
+ class NotFoundError10 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ ptyID: ID15
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID3
53
+ ptyID: ID15
54
54
  }) {
55
55
  }
56
56
 
57
- class Service15 extends Context.Service()("@opencode/Pty") {
57
+ class Service77 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service15, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
60
60
  const bus = yield* Service83;
61
- const location = yield* Service77;
62
- const shell = yield* Service50;
61
+ const location = yield* Service79;
62
+ const shell = yield* Service78;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
96
96
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
97
97
  const session = sessions.get(id);
98
98
  if (!session)
99
- return yield* new NotFoundError2({ ptyID: id });
99
+ return yield* new NotFoundError10({ ptyID: id });
100
100
  return session;
101
101
  });
102
102
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID3.ascending();
125
+ const id = ID15.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
267
267
  }
268
268
  };
269
269
  });
270
- return Service15.of({ list, get, create, update, remove, write, attach });
270
+ return Service77.of({ list, get, create, update, remove, write, attach });
271
271
  }));
272
- var node18 = makeLocationNode({
273
- service: Service15,
272
+ var node81 = makeLocationNode({
273
+ service: Service77,
274
274
  layer,
275
- deps: [node87, node81, node52]
275
+ deps: [node87, node83, node82]
276
276
  });
277
277
 
278
- export { ID3, Info3, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service15, node18, exports_pty, Event3 };
278
+ export { ID15, Info25, CreateInput3, UpdateInput2, NotFoundError10, ExitedError2, Service77, node81, exports_pty, Event19 };