@opencode/core 0.0.0-dev-21318 → 0.0.0-dev-21325

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{persistent-pty-0rhcgknv.js → workspace-00bpreyp.js} +5 -5
  8. package/dist/chunks/{persistent-pty-nz47wyzy.js → workspace-0axw4cdg.js} +13 -13
  9. package/dist/chunks/{persistent-pty-77awh5p4.js → workspace-0bbp34cp.js} +17 -17
  10. package/dist/chunks/{persistent-pty-20hv8fes.js → workspace-0ce32fr4.js} +36 -36
  11. package/dist/chunks/{persistent-pty-zjtrsxny.js → workspace-0cg871e2.js} +5 -5
  12. package/dist/chunks/{persistent-pty-ez3v055x.js → workspace-0dd87czj.js} +7 -7
  13. package/dist/chunks/{persistent-pty-am4eehff.js → workspace-0m50r3dd.js} +6 -6
  14. package/dist/chunks/{persistent-pty-0nndfddn.js → workspace-0qwg22c0.js} +26 -26
  15. package/dist/chunks/{persistent-pty-0vbcp93d.js → workspace-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{persistent-pty-fjr4y1sz.js → workspace-0w5f9s8v.js} +35 -35
  17. package/dist/chunks/{persistent-pty-jyj86nsz.js → workspace-0ye85ewf.js} +13 -13
  18. package/dist/chunks/{persistent-pty-f6pky1vc.js → workspace-0yw4a88g.js} +26 -26
  19. package/dist/chunks/{persistent-pty-qnjyk5by.js → workspace-129qsmff.js} +38 -38
  20. package/dist/chunks/{persistent-pty-9md2mt7s.js → workspace-14jssy00.js} +24 -24
  21. package/dist/chunks/{persistent-pty-h03re434.js → workspace-15rpx8aj.js} +10 -10
  22. package/dist/chunks/{persistent-pty-eajddnhb.js → workspace-1eejkkq1.js} +10 -10
  23. package/dist/chunks/{persistent-pty-9eq17axm.js → workspace-1n7e9j67.js} +9 -9
  24. package/dist/chunks/{persistent-pty-qeee8n96.js → workspace-1r5er5gw.js} +2 -2
  25. package/dist/chunks/{persistent-pty-0jwsre1p.js → workspace-2k8khapm.js} +5 -5
  26. package/dist/chunks/{persistent-pty-x9yke5vr.js → workspace-2k98hq88.js} +14 -14
  27. package/dist/chunks/{persistent-pty-yysedm6f.js → workspace-2rcafj7k.js} +21 -21
  28. package/dist/chunks/{persistent-pty-t4q75hqt.js → workspace-2tr0nx32.js} +3 -3
  29. package/dist/chunks/{persistent-pty-emhr29ne.js → workspace-2ya4c35z.js} +15 -15
  30. package/dist/chunks/{persistent-pty-q2mbf3pn.js → workspace-2z794wvw.js} +20 -20
  31. package/dist/chunks/{persistent-pty-k41hn50r.js → workspace-33vm7gkt.js} +16 -16
  32. package/dist/chunks/{persistent-pty-6wqpa5p1.js → workspace-34bwsn1r.js} +15 -15
  33. package/dist/chunks/{persistent-pty-6znwa2ze.js → workspace-35hset4p.js} +16 -14
  34. package/dist/chunks/{persistent-pty-25yddszk.js → workspace-395q6j9z.js} +6 -6
  35. package/dist/chunks/{persistent-pty-d4a9a1gx.js → workspace-39v18tkx.js} +14 -14
  36. package/dist/chunks/{persistent-pty-a8nkje97.js → workspace-3a2jzke2.js} +7 -7
  37. package/dist/chunks/{persistent-pty-amtxxzg7.js → workspace-3a9ms3hh.js} +23 -23
  38. package/dist/chunks/{persistent-pty-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{persistent-pty-3hwn7j4h.js → workspace-3hwn7j4h.js} +2 -2
  40. package/dist/chunks/{persistent-pty-17d5gh3d.js → workspace-3m1j57ch.js} +32 -32
  41. package/dist/chunks/{persistent-pty-hq42ga31.js → workspace-3scc1v2h.js} +4 -4
  42. package/dist/chunks/{persistent-pty-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{persistent-pty-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{persistent-pty-3zsf4n22.js → workspace-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{persistent-pty-adeqnqa8.js → workspace-487xqpbs.js} +1 -1
  46. package/dist/chunks/workspace-48ncedfj.js +517 -0
  47. package/dist/chunks/{persistent-pty-btd9bnp8.js → workspace-4c9c6ycn.js} +14 -14
  48. package/dist/chunks/{persistent-pty-sqmmasjp.js → workspace-4drn66za.js} +19 -19
  49. package/dist/chunks/{persistent-pty-eamzdkr9.js → workspace-4qh62hyz.js} +6 -6
  50. package/dist/chunks/{persistent-pty-vh14538p.js → workspace-4xxbrg9e.js} +16 -16
  51. package/dist/chunks/{persistent-pty-54ma36ye.js → workspace-54ma36ye.js} +1 -1
  52. package/dist/chunks/{persistent-pty-n0kentm7.js → workspace-56nvstf3.js} +45 -45
  53. package/dist/chunks/{persistent-pty-vrrq7v3g.js → workspace-57myy5jh.js} +5 -5
  54. package/dist/chunks/{persistent-pty-5b77hntt.js → workspace-5b77hntt.js} +4 -4
  55. package/dist/chunks/{persistent-pty-sk770vk8.js → workspace-5efe86tm.js} +19 -19
  56. package/dist/chunks/{persistent-pty-j0aph1pe.js → workspace-5etnctqg.js} +11 -11
  57. package/dist/chunks/{persistent-pty-s2z0d44b.js → workspace-5fec3t3w.js} +9 -9
  58. package/dist/chunks/{persistent-pty-eqefekej.js → workspace-5m4xzttx.js} +4 -4
  59. package/dist/chunks/{persistent-pty-5m9w47nd.js → workspace-5m9w47nd.js} +1 -1
  60. package/dist/chunks/{persistent-pty-g0fh3ss2.js → workspace-5tze7dnz.js} +18 -18
  61. package/dist/chunks/{persistent-pty-xxsrzv4p.js → workspace-64ydq5vx.js} +36 -36
  62. package/dist/chunks/{persistent-pty-carh3x97.js → workspace-66q175pd.js} +30 -30
  63. package/dist/chunks/{persistent-pty-6827pfxn.js → workspace-6827pfxn.js} +1 -1
  64. package/dist/chunks/{persistent-pty-vy5j2tyc.js → workspace-68rzgjzt.js} +1 -1
  65. package/dist/chunks/{persistent-pty-rq7yc33n.js → workspace-6as2835f.js} +2 -2
  66. package/dist/chunks/{persistent-pty-55vsgkjg.js → workspace-6fdt7xdh.js} +12 -12
  67. package/dist/chunks/{persistent-pty-zz9094w6.js → workspace-6r4011t4.js} +17 -17
  68. package/dist/chunks/{persistent-pty-r66vvgts.js → workspace-6vmw9wnm.js} +30 -30
  69. package/dist/chunks/{persistent-pty-6xb47vfp.js → workspace-6xb47vfp.js} +1 -1
  70. package/dist/chunks/{persistent-pty-9mawegkx.js → workspace-6yjzvzz7.js} +148 -148
  71. package/dist/chunks/{persistent-pty-0fjq3n4t.js → workspace-70rrh1jt.js} +18 -18
  72. package/dist/chunks/{persistent-pty-s6an5wth.js → workspace-7125243h.js} +22 -22
  73. package/dist/chunks/{persistent-pty-qaswbwd2.js → workspace-724pece3.js} +20 -20
  74. package/dist/chunks/{persistent-pty-wbk0qewy.js → workspace-73wr0wn5.js} +6 -6
  75. package/dist/chunks/{persistent-pty-775gj3j1.js → workspace-775gj3j1.js} +2 -2
  76. package/dist/chunks/{persistent-pty-k0y4bd87.js → workspace-7bmg41hz.js} +24 -24
  77. package/dist/chunks/{persistent-pty-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{persistent-pty-5z5javj1.js → workspace-7d0zaa3e.js} +33 -33
  79. package/dist/chunks/{persistent-pty-vqeemvyx.js → workspace-7j1qnw50.js} +14 -14
  80. package/dist/chunks/{persistent-pty-fcs9x2eq.js → workspace-7nmzr4tw.js} +16 -16
  81. package/dist/chunks/{persistent-pty-zft5sqdw.js → workspace-7sqmcx2n.js} +19 -19
  82. package/dist/chunks/{persistent-pty-s33waz5b.js → workspace-816wrsdg.js} +15 -15
  83. package/dist/chunks/{persistent-pty-k2e5s4re.js → workspace-836dar0r.js} +18 -18
  84. package/dist/chunks/{persistent-pty-84txncab.js → workspace-84txncab.js} +1 -1
  85. package/dist/chunks/{persistent-pty-m662wk7b.js → workspace-85b50y94.js} +3 -3
  86. package/dist/chunks/{persistent-pty-bmc8ajke.js → workspace-8k9sf03v.js} +20 -20
  87. package/dist/chunks/{persistent-pty-8m6m0r52.js → workspace-8m6m0r52.js} +1 -1
  88. package/dist/chunks/{persistent-pty-g4f8ytex.js → workspace-8mc96dk8.js} +7 -7
  89. package/dist/chunks/{persistent-pty-8mywswrd.js → workspace-8mywswrd.js} +1 -1
  90. package/dist/chunks/{persistent-pty-rrt0a0ha.js → workspace-8n9x2wf6.js} +3 -3
  91. package/dist/chunks/{persistent-pty-rkprpv83.js → workspace-8sze2n9a.js} +6 -6
  92. package/dist/chunks/{persistent-pty-j6hdhn3t.js → workspace-9168hh8v.js} +4 -4
  93. package/dist/chunks/{persistent-pty-y40k0vp3.js → workspace-96bcdxrb.js} +16 -16
  94. package/dist/chunks/{persistent-pty-983z13s5.js → workspace-975jhw57.js} +11 -11
  95. package/dist/chunks/{persistent-pty-1wsnph7m.js → workspace-9ey36q4m.js} +9 -9
  96. package/dist/chunks/{persistent-pty-me0hkc2z.js → workspace-9gvb7e77.js} +11 -11
  97. package/dist/chunks/{persistent-pty-a5v8ppv0.js → workspace-9m2z5enk.js} +11 -11
  98. package/dist/chunks/{persistent-pty-a20pjse5.js → workspace-a20pjse5.js} +3 -3
  99. package/dist/chunks/{persistent-pty-edrmdtr5.js → workspace-a2ew8a62.js} +7 -7
  100. package/dist/chunks/{persistent-pty-3h7b0ae1.js → workspace-a3540p22.js} +3 -3
  101. package/dist/chunks/{persistent-pty-cb7pdjkb.js → workspace-abme7df5.js} +32 -32
  102. package/dist/chunks/{persistent-pty-x661k3y3.js → workspace-addxnjmp.js} +4 -4
  103. package/dist/chunks/{persistent-pty-035sr1nw.js → workspace-akdg9baw.js} +20 -20
  104. package/dist/chunks/{persistent-pty-q7468z42.js → workspace-aztr5199.js} +21 -21
  105. package/dist/chunks/{persistent-pty-6e60yqyp.js → workspace-ba3ye61h.js} +26 -26
  106. package/dist/chunks/{persistent-pty-7ht1svp9.js → workspace-be6ka8gp.js} +11 -11
  107. package/dist/chunks/{persistent-pty-2jqwmjzy.js → workspace-betwgrzy.js} +6 -6
  108. package/dist/chunks/{persistent-pty-23zvew7z.js → workspace-bfv9bv9k.js} +6 -6
  109. package/dist/chunks/{persistent-pty-t7errb51.js → workspace-bhkqcsz5.js} +6 -6
  110. package/dist/chunks/{persistent-pty-m9sgcpcv.js → workspace-bhwn3mdf.js} +4 -4
  111. package/dist/chunks/{persistent-pty-whb9jbcp.js → workspace-bm8any7a.js} +13 -13
  112. package/dist/chunks/{persistent-pty-2cd9y53g.js → workspace-bncanr8s.js} +17 -17
  113. package/dist/chunks/{persistent-pty-n26v5e0b.js → workspace-bpa5zts5.js} +22 -22
  114. package/dist/chunks/{persistent-pty-bzeyqsqd.js → workspace-bzeyqsqd.js} +1 -1
  115. package/dist/chunks/{persistent-pty-c41wscbt.js → workspace-c41wscbt.js} +2 -2
  116. package/dist/chunks/{persistent-pty-4zvfssd5.js → workspace-c4vz8ygb.js} +15 -15
  117. package/dist/chunks/{persistent-pty-c8ax2afj.js → workspace-c8ax2afj.js} +2 -2
  118. package/dist/chunks/{persistent-pty-w7vq87x6.js → workspace-ck2p3d1n.js} +16 -16
  119. package/dist/chunks/{persistent-pty-3y24yfnm.js → workspace-ckxsmqkn.js} +9 -9
  120. package/dist/chunks/{persistent-pty-tpw6cwsb.js → workspace-cmwkp3r5.js} +8 -8
  121. package/dist/chunks/{persistent-pty-7k2k32yg.js → workspace-cp9v0ke2.js} +9 -9
  122. package/dist/chunks/workspace-csaj70e7.js +257 -0
  123. package/dist/chunks/{persistent-pty-tv4xwgy3.js → workspace-d4cpb889.js} +24 -24
  124. package/dist/chunks/{persistent-pty-cwa6csj7.js → workspace-d4he2qe1.js} +9 -9
  125. package/dist/chunks/{persistent-pty-3f2ed3kj.js → workspace-dbws17em.js} +46 -46
  126. package/dist/chunks/{persistent-pty-qkt0m9pt.js → workspace-dfk2fy4x.js} +27 -27
  127. package/dist/chunks/workspace-dhzfkndg.js +26 -0
  128. package/dist/chunks/{persistent-pty-sxvetcyn.js → workspace-dtqb8q68.js} +28 -28
  129. package/dist/chunks/{persistent-pty-3dk6vdcf.js → workspace-dzmd97ab.js} +10 -10
  130. package/dist/chunks/{persistent-pty-5qd3pb7m.js → workspace-e3qxr5gk.js} +2 -2
  131. package/dist/chunks/{persistent-pty-n87gffhn.js → workspace-e75nwzcy.js} +9 -9
  132. package/dist/chunks/{persistent-pty-yp2x3t23.js → workspace-e7gxy7fd.js} +2 -12
  133. package/dist/chunks/{persistent-pty-phvw6tnp.js → workspace-e8ajnka6.js} +23 -23
  134. package/dist/chunks/{persistent-pty-r2z489rp.js → workspace-ed1g29hy.js} +3 -3
  135. package/dist/chunks/{persistent-pty-x6msxz42.js → workspace-eddee9wq.js} +21 -21
  136. package/dist/chunks/{persistent-pty-eej6y6fw.js → workspace-eej6y6fw.js} +2 -2
  137. package/dist/chunks/{persistent-pty-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{persistent-pty-4e4yjs3s.js → workspace-ema7vtfw.js} +1 -1
  139. package/dist/chunks/{persistent-pty-s670sq9m.js → workspace-epmjqtn9.js} +6 -6
  140. package/dist/chunks/{persistent-pty-es1vcfrp.js → workspace-es1vcfrp.js} +3 -3
  141. package/dist/chunks/{persistent-pty-3ssz1k3q.js → workspace-ez7s6tte.js} +8 -8
  142. package/dist/chunks/{persistent-pty-nyydq7ew.js → workspace-f2d84ktx.js} +5 -5
  143. package/dist/chunks/{persistent-pty-4ghta6c5.js → workspace-f7taj08h.js} +12 -12
  144. package/dist/chunks/{persistent-pty-cjx84n6d.js → workspace-fbwehany.js} +24 -24
  145. package/dist/chunks/{persistent-pty-fcy631f0.js → workspace-fcy631f0.js} +1 -1
  146. package/dist/chunks/{persistent-pty-j4fafyv9.js → workspace-fj1y8zh4.js} +14 -14
  147. package/dist/chunks/{persistent-pty-nd4tfyg0.js → workspace-g686f6pq.js} +9 -9
  148. package/dist/chunks/{persistent-pty-edx5d1yh.js → workspace-g6fhhb6h.js} +9 -9
  149. package/dist/chunks/{persistent-pty-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{persistent-pty-b39zvbqb.js → workspace-gd8r8nhp.js} +14 -14
  151. package/dist/chunks/{persistent-pty-a546n9dx.js → workspace-gjg41fb3.js} +1 -1
  152. package/dist/chunks/{persistent-pty-y8p4cb47.js → workspace-gp18yva6.js} +18 -18
  153. package/dist/chunks/{persistent-pty-q37amjjg.js → workspace-grvpncm1.js} +8 -8
  154. package/dist/chunks/{persistent-pty-v40z4tye.js → workspace-gvywkdtv.js} +44 -44
  155. package/dist/chunks/{persistent-pty-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{persistent-pty-hsnnjyxg.js → workspace-ha9ebeck.js} +18 -18
  157. package/dist/chunks/{persistent-pty-xcd0eash.js → workspace-hdab2k61.js} +6 -6
  158. package/dist/chunks/{persistent-pty-jfp883ba.js → workspace-hfee8c4k.js} +3 -3
  159. package/dist/chunks/{persistent-pty-sqk4q3nv.js → workspace-hfg4raen.js} +11 -11
  160. package/dist/chunks/{persistent-pty-hgz4x7wa.js → workspace-hgz4x7wa.js} +1 -1
  161. package/dist/chunks/{persistent-pty-yf9n42xk.js → workspace-hkfp1kbx.js} +6 -6
  162. package/dist/chunks/{persistent-pty-xda8t08s.js → workspace-hkr9khf6.js} +15 -15
  163. package/dist/chunks/{persistent-pty-g8mv3vbb.js → workspace-j6ktnsbj.js} +12 -12
  164. package/dist/chunks/{persistent-pty-tcyndk34.js → workspace-jekwsxa3.js} +13 -13
  165. package/dist/chunks/{persistent-pty-wgahhr0x.js → workspace-jnsr04qk.js} +8 -8
  166. package/dist/chunks/{persistent-pty-rs9qg7cf.js → workspace-jrnftmvm.js} +9 -9
  167. package/dist/chunks/{persistent-pty-asnz67s1.js → workspace-jthjdk0j.js} +32 -32
  168. package/dist/chunks/{persistent-pty-gbe60986.js → workspace-jw98zwm9.js} +12 -12
  169. package/dist/chunks/{persistent-pty-aqebbdxj.js → workspace-k189p03s.js} +18 -18
  170. package/dist/chunks/{persistent-pty-36qpgp0j.js → workspace-k80rnbms.js} +3 -3
  171. package/dist/chunks/{persistent-pty-xnc4q7tf.js → workspace-kaz9m2wt.js} +19 -19
  172. package/dist/chunks/{persistent-pty-ep3f3pzc.js → workspace-kby4jqsa.js} +86 -86
  173. package/dist/chunks/{persistent-pty-hq3c8me3.js → workspace-khmqacep.js} +4 -4
  174. package/dist/chunks/{persistent-pty-mgx30ams.js → workspace-khwgh4fa.js} +13 -13
  175. package/dist/chunks/{persistent-pty-n2srvep7.js → workspace-kkp8zx71.js} +4 -4
  176. package/dist/chunks/{persistent-pty-k9rjnmc5.js → workspace-kntmrtbr.js} +4 -4
  177. package/dist/chunks/{persistent-pty-kwb1v3vj.js → workspace-kwb1v3vj.js} +1 -1
  178. package/dist/chunks/{persistent-pty-pah6vszw.js → workspace-kyz0dcnm.js} +66 -66
  179. package/dist/chunks/{persistent-pty-6d7mtdks.js → workspace-m3zz1pbm.js} +42 -42
  180. package/dist/chunks/{persistent-pty-mxnmfhj8.js → workspace-m7gpjmsn.js} +21 -21
  181. package/dist/chunks/{persistent-pty-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{persistent-pty-maspj1v3.js → workspace-maspj1v3.js} +1 -1
  183. package/dist/chunks/{persistent-pty-5wfxtdqx.js → workspace-mh62zmc2.js} +8 -8
  184. package/dist/chunks/{persistent-pty-fs2f0xkk.js → workspace-mnnf39w5.js} +21 -21
  185. package/dist/chunks/{persistent-pty-514z3gf3.js → workspace-ms7jp0yr.js} +10 -10
  186. package/dist/chunks/{persistent-pty-38963ezr.js → workspace-mwes9mjk.js} +7 -7
  187. package/dist/chunks/{persistent-pty-ty2f7v9a.js → workspace-n663b2j1.js} +10 -10
  188. package/dist/chunks/workspace-n95b3jav.js +18 -0
  189. package/dist/chunks/{persistent-pty-93c0dbkk.js → workspace-nd71w6g8.js} +5 -5
  190. package/dist/chunks/{persistent-pty-2688anfm.js → workspace-np3pwsmz.js} +19 -19
  191. package/dist/chunks/{persistent-pty-nz56sr1f.js → workspace-nz56sr1f.js} +2 -2
  192. package/dist/chunks/{persistent-pty-na1s3jgb.js → workspace-p99p8xsn.js} +21 -21
  193. package/dist/chunks/{persistent-pty-eksc9b63.js → workspace-p9bsq7m2.js} +11 -11
  194. package/dist/chunks/{persistent-pty-7nskfpwv.js → workspace-pck8dycb.js} +24 -24
  195. package/dist/chunks/{persistent-pty-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{persistent-pty-pknna89w.js → workspace-pknna89w.js} +1 -1
  197. package/dist/chunks/{persistent-pty-j15m0rxy.js → workspace-prxnrnem.js} +7 -7
  198. package/dist/chunks/{persistent-pty-3r96jsjz.js → workspace-pvx62cma.js} +12 -12
  199. package/dist/chunks/{persistent-pty-6bazcnan.js → workspace-q1askysg.js} +14 -14
  200. package/dist/chunks/{persistent-pty-z0gbbqnd.js → workspace-q3c4f1my.js} +33 -33
  201. package/dist/chunks/{persistent-pty-1t2v27cd.js → workspace-q6nve0by.js} +41 -41
  202. package/dist/chunks/{persistent-pty-5r7ac250.js → workspace-q74m295h.js} +5 -5
  203. package/dist/chunks/{persistent-pty-qnc92qwc.js → workspace-qnc92qwc.js} +1 -1
  204. package/dist/chunks/{persistent-pty-ygdna4kr.js → workspace-qne3fa44.js} +5 -5
  205. package/dist/chunks/{persistent-pty-j1ycnkr6.js → workspace-qs9m684n.js} +4 -4
  206. package/dist/chunks/{persistent-pty-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  207. package/dist/chunks/{persistent-pty-mm2wf4xp.js → workspace-qtjmb4ab.js} +53 -53
  208. package/dist/chunks/{persistent-pty-9a5j5arz.js → workspace-qwz8s9r3.js} +3 -3
  209. package/dist/chunks/{persistent-pty-45swxcnn.js → workspace-qxyst2j3.js} +28 -28
  210. package/dist/chunks/{persistent-pty-3gdz7m67.js → workspace-rd7mwgeg.js} +39 -39
  211. package/dist/chunks/{persistent-pty-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{persistent-pty-h9rm1rrn.js → workspace-rf80fxgj.js} +5 -5
  213. package/dist/chunks/{persistent-pty-24f3f4ex.js → workspace-rfr6z38x.js} +2 -2
  214. package/dist/chunks/{persistent-pty-5mz3x8vb.js → workspace-rg6srhxk.js} +27 -27
  215. package/dist/chunks/{persistent-pty-5tad8fcc.js → workspace-rjncrwa9.js} +13 -13
  216. package/dist/chunks/{persistent-pty-4y7j986s.js → workspace-rpjgfq5s.js} +9 -9
  217. package/dist/chunks/{persistent-pty-1p3zcfwq.js → workspace-rz8vj7wk.js} +11 -11
  218. package/dist/chunks/{persistent-pty-0996nyz8.js → workspace-s1kvmffy.js} +9 -9
  219. package/dist/chunks/{persistent-pty-ydkcdr9n.js → workspace-s5m70yjn.js} +28 -28
  220. package/dist/chunks/{persistent-pty-8058wneq.js → workspace-s5zm3kz6.js} +15 -15
  221. package/dist/chunks/{persistent-pty-ef9fmmj9.js → workspace-sbcg8x13.js} +9 -9
  222. package/dist/chunks/{persistent-pty-sm301jd3.js → workspace-sc4cwva4.js} +5 -5
  223. package/dist/chunks/{persistent-pty-w1w1g3rz.js → workspace-sd1a0922.js} +11 -11
  224. package/dist/chunks/{persistent-pty-x39rm370.js → workspace-sfm14d1e.js} +21 -21
  225. package/dist/chunks/{persistent-pty-cpccs97c.js → workspace-sg2n288w.js} +33 -33
  226. package/dist/chunks/{persistent-pty-5y480sgp.js → workspace-sk5hrgtc.js} +8 -8
  227. package/dist/chunks/{persistent-pty-jg4qz7te.js → workspace-sqwt51e4.js} +24 -24
  228. package/dist/chunks/{persistent-pty-er69x7n9.js → workspace-sv7642z1.js} +42 -42
  229. package/dist/chunks/{persistent-pty-syv4x271.js → workspace-syv4x271.js} +1 -1
  230. package/dist/chunks/{persistent-pty-t1ndffwz.js → workspace-szyc73at.js} +11 -11
  231. package/dist/chunks/{persistent-pty-t550f9t1.js → workspace-t550f9t1.js} +1 -1
  232. package/dist/chunks/{persistent-pty-33b5xt83.js → workspace-t9g5qx6x.js} +3 -3
  233. package/dist/chunks/{persistent-pty-sx8q409h.js → workspace-tanf9p38.js} +50 -50
  234. package/dist/chunks/{persistent-pty-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{persistent-pty-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{persistent-pty-tdstcens.js → workspace-tdstcens.js} +1 -1
  237. package/dist/chunks/{persistent-pty-5xqqgpy7.js → workspace-tjkhcpzj.js} +6 -6
  238. package/dist/chunks/{persistent-pty-2saep75g.js → workspace-tjqn214s.js} +8 -8
  239. package/dist/chunks/{persistent-pty-vpzmhxff.js → workspace-tk9s4v6e.js} +9 -9
  240. package/dist/chunks/{persistent-pty-tkb22qbm.js → workspace-tkb22qbm.js} +2 -2
  241. package/dist/chunks/{persistent-pty-tm0kqsz3.js → workspace-tm0kqsz3.js} +1 -1
  242. package/dist/chunks/{persistent-pty-mk51tt9h.js → workspace-tqt8bre9.js} +13 -13
  243. package/dist/chunks/{persistent-pty-v9dvedb1.js → workspace-tvanmaph.js} +13 -13
  244. package/dist/chunks/{persistent-pty-makc3bj9.js → workspace-tvpcregj.js} +14 -14
  245. package/dist/chunks/{persistent-pty-tyytaxap.js → workspace-tyytaxap.js} +1 -1
  246. package/dist/chunks/{persistent-pty-x8ga927e.js → workspace-v210v162.js} +7 -7
  247. package/dist/chunks/{persistent-pty-v7p4zvkq.js → workspace-v7p4zvkq.js} +2 -2
  248. package/dist/chunks/{persistent-pty-9m1d1fqb.js → workspace-vbdmbvtf.js} +9 -9
  249. package/dist/chunks/{persistent-pty-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  250. package/dist/chunks/{persistent-pty-5bes61s4.js → workspace-vez48pfx.js} +47 -47
  251. package/dist/chunks/{persistent-pty-mxfgkdzc.js → workspace-vfextq23.js} +16 -16
  252. package/dist/chunks/{persistent-pty-mywch70t.js → workspace-vfnd3k6z.js} +36 -36
  253. package/dist/chunks/{persistent-pty-ny7egkeb.js → workspace-vfs981a1.js} +34 -34
  254. package/dist/chunks/{persistent-pty-vhgfq7sf.js → workspace-vk5se0kv.js} +20 -20
  255. package/dist/chunks/{persistent-pty-86sh86sv.js → workspace-vvvbxd1g.js} +15 -15
  256. package/dist/chunks/{persistent-pty-vzs5sf6e.js → workspace-vzs5sf6e.js} +1 -1
  257. package/dist/chunks/{persistent-pty-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{persistent-pty-ye0tt9gc.js → workspace-wa8h6qzv.js} +4 -4
  259. package/dist/chunks/{persistent-pty-wd87259q.js → workspace-wd87259q.js} +1 -1
  260. package/dist/chunks/{persistent-pty-1fj32kga.js → workspace-weqr8f9h.js} +6 -6
  261. package/dist/chunks/{persistent-pty-vqsk1a30.js → workspace-wjkmnf2c.js} +15 -15
  262. package/dist/chunks/{persistent-pty-drdy3fh6.js → workspace-x1h8xjp6.js} +4 -4
  263. package/dist/chunks/{persistent-pty-8e9wk3v6.js → workspace-x22cxzrs.js} +2 -2
  264. package/dist/chunks/{persistent-pty-b5wyey98.js → workspace-x4mvkh9e.js} +33 -33
  265. package/dist/chunks/{persistent-pty-pzs9fcbn.js → workspace-xahh758q.js} +84 -84
  266. package/dist/chunks/{persistent-pty-fx5bd5w2.js → workspace-xed622nd.js} +24 -24
  267. package/dist/chunks/{persistent-pty-pv0cg4pn.js → workspace-xejgt214.js} +13 -13
  268. package/dist/chunks/{persistent-pty-drwq78ky.js → workspace-xfkkasph.js} +4 -4
  269. package/dist/chunks/{persistent-pty-xaazkcd4.js → workspace-xvm099w8.js} +19 -19
  270. package/dist/chunks/{persistent-pty-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{persistent-pty-wa9g86nq.js → workspace-y5rf7nzv.js} +4 -4
  272. package/dist/chunks/{persistent-pty-y71avatq.js → workspace-y71avatq.js} +1 -1
  273. package/dist/chunks/{persistent-pty-mb1r8vg9.js → workspace-y9ajbnt7.js} +29 -29
  274. package/dist/chunks/{persistent-pty-3cqwnyj9.js → workspace-ynmknp8q.js} +11 -11
  275. package/dist/chunks/{persistent-pty-msxpg58k.js → workspace-yrp0ypz1.js} +3 -3
  276. package/dist/chunks/{persistent-pty-1ffvrpkg.js → workspace-ywt8jp22.js} +6 -6
  277. package/dist/chunks/{persistent-pty-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{persistent-pty-4071dj26.js → workspace-z0efhj86.js} +8 -8
  279. package/dist/chunks/{persistent-pty-583x3kah.js → workspace-z0w4h7pg.js} +15 -15
  280. package/dist/chunks/{persistent-pty-z18fegx4.js → workspace-z18fegx4.js} +1 -1
  281. package/dist/chunks/{persistent-pty-t4b6mted.js → workspace-z2rrnsn5.js} +2 -2
  282. package/dist/chunks/{persistent-pty-rzs3gq0x.js → workspace-z733aene.js} +8 -8
  283. package/dist/chunks/{persistent-pty-hsm9kfyy.js → workspace-z7jj2nw1.js} +20 -20
  284. package/dist/chunks/{persistent-pty-k76fn4kw.js → workspace-zav06jzw.js} +4 -4
  285. package/dist/chunks/{persistent-pty-0jmk01at.js → workspace-zqwp0gg4.js} +17 -17
  286. package/dist/chunks/{persistent-pty-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{persistent-pty-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +83 -83
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +208 -208
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +118 -118
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +117 -117
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +81 -81
  323. package/dist/database/database.js +68 -68
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +78 -78
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +369 -369
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +72 -72
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +219 -219
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +100 -100
  429. package/dist/form.js +82 -82
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +106 -106
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +1 -1
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +147 -147
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +89 -89
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +129 -129
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +100 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +98 -98
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +84 -84
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +111 -111
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +90 -90
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +78 -78
  492. package/dist/plugin/command.js +104 -104
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +212 -212
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +4 -4
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +118 -118
  528. package/dist/plugin/provider/opencode.js +100 -100
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +168 -168
  541. package/dist/plugin/sdk.js +76 -76
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +347 -347
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +5 -5
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +4 -4
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +223 -223
  560. package/dist/project/schema.js +6 -6
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +90 -90
  563. package/dist/provider.js +97 -97
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +103 -103
  567. package/dist/reference/instructions.js +89 -89
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +138 -138
  578. package/dist/session/context.js +155 -155
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +215 -215
  584. package/dist/session/execution.js +129 -129
  585. package/dist/session/generate.js +157 -157
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +93 -93
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +120 -120
  595. package/dist/session/model-transport.js +7 -7
  596. package/dist/session/move.js +131 -131
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +1 -1
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +225 -225
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +126 -126
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +164 -164
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +75 -75
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +206 -206
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +157 -157
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +211 -211
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +212 -212
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +114 -114
  633. package/dist/snapshot.js +95 -95
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +130 -130
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +124 -124
  642. package/dist/tool/plugin/mcp-resource.js +119 -119
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +122 -122
  645. package/dist/tool/plugin/question.js +105 -105
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +211 -211
  648. package/dist/tool/plugin/skill.js +107 -107
  649. package/dist/tool/plugin/subagent.js +213 -213
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +112 -112
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +5 -5
  657. package/dist/tool.js +14 -14
  658. package/dist/types/job.d.ts +1 -0
  659. package/dist/types/location-activity.d.ts +2 -1
  660. package/dist/types/session/execution.d.ts +2 -5
  661. package/dist/types/session/run-coordinator.d.ts +2 -5
  662. package/dist/util/error-summary.js +1 -1
  663. package/dist/util/error.js +1 -1
  664. package/dist/util/git-executable.js +2 -2
  665. package/dist/util/iife.js +1 -1
  666. package/dist/util/lazy.js +1 -1
  667. package/dist/util/slug.js +1 -1
  668. package/dist/util/token.js +1 -1
  669. package/dist/util/which.js +1 -1
  670. package/dist/util/wildcard.js +1 -1
  671. package/dist/v1/config/agent.js +7 -7
  672. package/dist/v1/config/command.js +5 -5
  673. package/dist/v1/config/error.js +2 -2
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +94 -94
  676. package/dist/v1/config/permission.js +7 -7
  677. package/dist/v1/config/plugin.js +3 -3
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/variant.js +95 -95
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +91 -91
  683. package/dist/voice.js +88 -88
  684. package/dist/websearch.js +84 -84
  685. package/dist/wellknown/plugin.js +78 -78
  686. package/dist/wellknown.js +79 -79
  687. package/dist/workspace/driver.js +7 -7
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +84 -84
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +91 -91
  694. package/dist/worktree.js +100 -100
  695. package/package.json +8 -8
  696. package/dist/chunks/persistent-pty-5wm8vv17.js +0 -257
  697. package/dist/chunks/persistent-pty-9sh4wc5j.js +0 -18
  698. package/dist/chunks/persistent-pty-a3q4bfq8.js +0 -26
  699. package/dist/chunks/persistent-pty-rety19fn.js +0 -517
  700. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-24dcb14g.js → workspace-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-2bv980vf.js → workspace-2bv980vf.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-3asan66x.js → workspace-3asan66x.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-3t0ybcrp.js → workspace-3t0ybcrp.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-53557ph1.js → workspace-53557ph1.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-6prwharc.js → workspace-6prwharc.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-6q2bdcd1.js → workspace-6q2bdcd1.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-822emrt2.js → workspace-822emrt2.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-84wd9syh.js → workspace-84wd9syh.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-df08tz66.js → workspace-df08tz66.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-g86h250q.js → workspace-g86h250q.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-gftt206x.js → workspace-gftt206x.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-hcxmzztb.js → workspace-hcxmzztb.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-hk9envan.js → workspace-hk9envan.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-jze0r7bz.js → workspace-jze0r7bz.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-m18g726c.js → workspace-m18g726c.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-pkyv6v7h.js → workspace-pkyv6v7h.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-pyv0edze.js → workspace-pyv0edze.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{persistent-pty-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{persistent-pty-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{persistent-pty-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{persistent-pty-ve7vex1e.js → workspace-ve7vex1e.js} +0 -0
  788. /package/dist/chunks/{persistent-pty-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{persistent-pty-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{persistent-pty-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{persistent-pty-wjj7prxr.js → workspace-wjj7prxr.js} +0 -0
  792. /package/dist/chunks/{persistent-pty-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{persistent-pty-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{persistent-pty-x61499pn.js → workspace-x61499pn.js} +0 -0
  795. /package/dist/chunks/{persistent-pty-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{persistent-pty-y8f7s663.js → workspace-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{persistent-pty-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{persistent-pty-z5v4ffb3.js → workspace-z5v4ffb3.js} +0 -0
  800. /package/dist/chunks/{persistent-pty-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service82,
3
- node85
4
- } from "./persistent-pty-qnjyk5by.js";
2
+ Service83,
3
+ node87
4
+ } from "./workspace-129qsmff.js";
5
5
  import {
6
6
  __export
7
- } from "./persistent-pty-9rqn6x4v.js";
7
+ } from "./workspace-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info26,
12
+ Info: () => Info27,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref4,
15
- Service: () => Service81,
15
+ Service: () => Service82,
16
16
  boundNode: () => boundNode2,
17
- node: () => node84,
17
+ node: () => node86,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info26, Ref as Ref4, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info27, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service81 extends Context.Service()("@opencode/Location") {
24
+ class Service82 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node84 = LayerNode.unbound(Service81, tags.values.location);
27
- var layer = (ref) => Layer.effect(Service81, Effect.gen(function* () {
28
- const project = yield* Service82;
26
+ var node86 = LayerNode.unbound(Service82, tags.values.location);
27
+ var layer = (ref) => Layer.effect(Service82, Effect.gen(function* () {
28
+ const project = yield* Service83;
29
29
  const resolved = yield* project.resolve(ref.directory);
30
- return Service81.of({
30
+ return Service82.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref) => Layer.effect(Service81, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref) => makeLocationNode({
38
- service: Service81,
38
+ service: Service82,
39
39
  layer: layer(ref),
40
- deps: [node85]
40
+ deps: [node87]
41
41
  });
42
42
 
43
- export { Info26, Ref4, response2, Service81, node84, boundNode2, exports_location };
43
+ export { Info27, Ref4, response2, Service82, node86, boundNode2, exports_location };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/session/affinity.ts
6
6
  var exports_affinity = {};
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID9,
3
- Service63
4
- } from "./persistent-pty-s6an5wth.js";
2
+ ID8,
3
+ Service62
4
+ } from "./workspace-7125243h.js";
5
5
  import {
6
6
  Ref2,
7
- Service71
8
- } from "./persistent-pty-mxnmfhj8.js";
7
+ Service76
8
+ } from "./workspace-m7gpjmsn.js";
9
9
  import {
10
10
  latest2,
11
- Service39
12
- } from "./persistent-pty-er69x7n9.js";
11
+ Service67
12
+ } from "./workspace-sv7642z1.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./persistent-pty-rrt0a0ha.js";
15
+ } from "./workspace-8n9x2wf6.js";
16
16
  import {
17
- Service55
18
- } from "./persistent-pty-6znwa2ze.js";
17
+ Service53
18
+ } from "./workspace-35hset4p.js";
19
19
  import {
20
20
  evaluate2,
21
- Service58
22
- } from "./persistent-pty-v40z4tye.js";
21
+ Service59
22
+ } from "./workspace-gvywkdtv.js";
23
23
  import {
24
- Service23
25
- } from "./persistent-pty-ep3f3pzc.js";
24
+ Service28
25
+ } from "./workspace-kby4jqsa.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./persistent-pty-6xb47vfp.js";
28
+ } from "./workspace-6xb47vfp.js";
29
29
  import {
30
- Service9
31
- } from "./persistent-pty-sqmmasjp.js";
30
+ Service11
31
+ } from "./workspace-4drn66za.js";
32
32
  import {
33
33
  __export
34
- } from "./persistent-pty-9rqn6x4v.js";
34
+ } from "./workspace-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input8,
40
- Output: () => Output5,
41
- Plugin: () => Plugin8,
39
+ Input: () => Input10,
40
+ Output: () => Output8,
41
+ Plugin: () => Plugin30,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description4,
44
- name: () => name8
43
+ description: () => description3,
44
+ name: () => name10
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name8 = "subagent";
48
+ var name10 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input8 = Schema.Struct({
59
+ var Input10 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input8 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output5 = Schema.Struct({
75
+ var Output8 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description4 = [
80
+ var description3 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description4 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin8 = {
89
+ var Plugin30 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service23;
93
- const jobs = yield* Service55;
94
- const agents = yield* Service63;
95
- const config = yield* Service39;
96
- const permission = yield* Service58;
97
- const models = yield* Service71;
98
- const subagents = yield* Service9;
92
+ const sessions = yield* Service28;
93
+ const jobs = yield* Service53;
94
+ const agents = yield* Service62;
95
+ const config = yield* Service67;
96
+ const permission = yield* Service59;
97
+ const models = yield* Service76;
98
+ const subagents = yield* Service11;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin8 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name8,
118
+ name: name10,
119
119
  options: { codemode: false },
120
- description: description4,
121
- input: Input8,
122
- output: Output5,
120
+ description: description3,
121
+ input: Input10,
122
+ output: Output8,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin8 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name8,
142
+ action: name10,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin8 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID9.make(input.agent),
171
+ agent: ID8.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name8 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name10 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name8];
233
+ const tool = event.tools[name10];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name8, Input8, Output5, description4, Plugin8, exports_subagent };
256
+ export { name10, Input10, Output8, description3, Plugin30, exports_subagent };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./persistent-pty-z5v4ffb3.js";
3
+ } from "./workspace-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info6,
12
+ Info: () => Info14,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info6 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info14 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info6, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info14, exports_mcp5 };
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./persistent-pty-t550f9t1.js";
8
+ } from "./workspace-t550f9t1.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./persistent-pty-ec1grn59.js";
11
+ } from "./workspace-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./persistent-pty-es1vcfrp.js";
15
+ } from "./workspace-es1vcfrp.js";
16
16
  import {
17
17
  __export
18
- } from "./persistent-pty-9rqn6x4v.js";
18
+ } from "./workspace-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./persistent-pty-z5v4ffb3.js";
5
+ } from "./workspace-z5v4ffb3.js";
6
6
  import {
7
- Service81,
8
- node84
9
- } from "./persistent-pty-vh14538p.js";
7
+ Service82,
8
+ node86
9
+ } from "./workspace-4xxbrg9e.js";
10
10
  import {
11
- Service18,
12
- node20
13
- } from "./persistent-pty-0nndfddn.js";
11
+ Service15,
12
+ node17
13
+ } from "./workspace-0qwg22c0.js";
14
14
  import {
15
15
  __export
16
- } from "./persistent-pty-9rqn6x4v.js";
16
+ } from "./workspace-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -33,11 +33,11 @@ __export(exports_filesystem, {
33
33
  Match: () => Match2,
34
34
  NotFoundError: () => NotFoundError2,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service17,
36
+ Service: () => Service14,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node19
40
+ node: () => node16
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -107,12 +107,12 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
107
107
  }
108
108
  var Event2 = FileSystem.Event;
109
109
 
110
- class Service17 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service14 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service14, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
- const location = yield* Service81;
115
- const search = yield* Service18;
114
+ const location = yield* Service82;
115
+ const search = yield* Service15;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -131,7 +131,7 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
131
131
  return yield* Effect.fail(new NotFoundError2({ path: input }));
132
132
  return { absolute, real, directory: location.directory };
133
133
  });
134
- return Service17.of({
134
+ return Service14.of({
135
135
  find: search.find,
136
136
  read: Effect.fn("FileSystem.read")(function* (input) {
137
137
  const target = yield* resolve(input.path);
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
171
171
  })
172
172
  });
173
173
  }));
174
- var node19 = makeLocationNode({
175
- service: Service17,
174
+ var node16 = makeLocationNode({
175
+ service: Service14,
176
176
  layer: baseLayer,
177
- deps: [FSUtil.node, node84, node20]
177
+ deps: [FSUtil.node, node86, node17]
178
178
  });
179
179
 
180
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service17, node19, exports_filesystem, Entry2, Match2, Submatch2 };
180
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service14, node16, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service39
4
- } from "./persistent-pty-er69x7n9.js";
3
+ Service67
4
+ } from "./workspace-sv7642z1.js";
5
5
  import {
6
6
  observe2
7
- } from "./persistent-pty-qsdy395h.js";
7
+ } from "./workspace-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./workspace-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
- var exports_websearch2 = {};
14
- __export(exports_websearch2, {
15
- ConfigWebSearchPlugin: () => exports_websearch2,
16
- Plugin: () => Plugin41
13
+ var exports_websearch = {};
14
+ __export(exports_websearch, {
15
+ ConfigWebSearchPlugin: () => exports_websearch,
16
+ Plugin: () => Plugin6
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin41 = define({
20
+ var Plugin6 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service39;
23
+ const config = yield* Service67;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin41 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin41, exports_websearch2 };
35
+ export { Plugin6, exports_websearch };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
- var exports_permission = {};
7
- __export(exports_permission, {
6
+ var exports_permission2 = {};
7
+ __export(exports_permission2, {
8
8
  Action: () => Action2,
9
- ConfigPermissionV1: () => exports_permission,
9
+ ConfigPermissionV1: () => exports_permission2,
10
10
  Entries: () => Entries2,
11
- Info: () => Info8,
11
+ Info: () => Info16,
12
12
  Object: () => Object2,
13
- Rule: () => Rule2
13
+ Rule: () => Rule3
14
14
  });
15
15
  import { Schema, SchemaGetter } from "effect";
16
16
  var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
@@ -19,13 +19,13 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
19
19
  encode: SchemaGetter.transform((entries) => globalThis.Object.fromEntries(entries))
20
20
  }));
21
21
  var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
22
- var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
22
+ var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
23
23
  var actionOnly = new Set(["question", "websearch", "doom_loop"]);
24
- var Info8 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
24
+ var Info16 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
25
25
  decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
26
26
  encode: SchemaGetter.passthrough({ strict: false })
27
27
  })).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
28
28
  expected: "question, websearch, and doom_loop to be ask, allow, or deny"
29
29
  })).annotate({ identifier: "PermissionConfig" });
30
30
 
31
- export { Action2, Entries2, Object2, Rule2, Info8, exports_permission };
31
+ export { Action2, Entries2, Object2, Rule3, Info16, exports_permission2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  name16,
3
3
  ps2
4
- } from "./persistent-pty-xaazkcd4.js";
4
+ } from "./workspace-xvm099w8.js";
5
5
  import {
6
6
  lazy2
7
- } from "./persistent-pty-88xbtdfr.js";
7
+ } from "./workspace-88xbtdfr.js";
8
8
  import {
9
9
  match2
10
- } from "./persistent-pty-y1fvbwt7.js";
10
+ } from "./workspace-y1fvbwt7.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./workspace-9rqn6x4v.js";
14
14
 
15
15
  // src/shell/parse.ts
16
16
  var exports_parse = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./persistent-pty-6q2bdcd1.js";
3
+ } from "./workspace-6q2bdcd1.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./persistent-pty-3h7b0ae1.js";
4
+ } from "./workspace-a3540p22.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./persistent-pty-tkb22qbm.js";
7
+ } from "./workspace-tkb22qbm.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./workspace-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
@@ -15,13 +15,13 @@ __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
16
  ConflictError: () => ConflictError2,
17
17
  ID: () => ID7,
18
- Info: () => Info16,
18
+ Info: () => Info12,
19
19
  ListInput: () => ListInput5,
20
- NotFoundError: () => NotFoundError8,
20
+ NotFoundError: () => NotFoundError9,
21
21
  PermissionSaved: () => exports_saved,
22
- Service: () => Service60,
23
- UpdateInput: () => UpdateInput2,
24
- node: () => node62
22
+ Service: () => Service61,
23
+ UpdateInput: () => UpdateInput3,
24
+ node: () => node63
25
25
  });
26
26
  import { eq } from "drizzle-orm";
27
27
  import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
@@ -30,7 +30,7 @@ import { Project } from "@opencode/schema/project";
30
30
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
31
31
  import { PermissionSaved } from "@opencode/schema/permission-saved";
32
32
  var ID7 = PermissionSaved.ID;
33
- var Info16 = PermissionSaved.Info;
33
+ var Info12 = PermissionSaved.Info;
34
34
  var ListInput5 = Schema.Struct({
35
35
  projectID: Project.ID.pipe(Schema.optional)
36
36
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -39,13 +39,13 @@ var AddInput2 = Schema.Struct({
39
39
  action: Schema.String,
40
40
  resources: Schema.Array(Schema.String)
41
41
  }).annotate({ identifier: "PermissionSaved.AddInput" });
42
- var UpdateInput2 = Schema.Struct({
42
+ var UpdateInput3 = Schema.Struct({
43
43
  id: ID7,
44
44
  action: Schema.String.pipe(Schema.optional),
45
45
  resource: Schema.String.pipe(Schema.optional)
46
46
  }).annotate({ identifier: "PermissionSaved.UpdateInput" });
47
47
 
48
- class NotFoundError8 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
48
+ class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
49
49
  id: ID7
50
50
  }) {
51
51
  }
@@ -57,9 +57,9 @@ class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError
57
57
  }) {
58
58
  }
59
59
 
60
- class Service60 extends Context.Service()("@opencode/PermissionSaved") {
60
+ class Service61 extends Context.Service()("@opencode/PermissionSaved") {
61
61
  }
62
- var layer = Layer.effect(Service60, Effect.gen(function* () {
62
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
63
63
  const db = (yield* Service86).db;
64
64
  const list = Effect.fnUntraced(function* (input) {
65
65
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -78,18 +78,18 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
78
78
  const update = Effect.fn("PermissionSaved.update")(function* (input) {
79
79
  const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
80
80
  if (!current)
81
- return yield* new NotFoundError8({ id: input.id });
81
+ return yield* new NotFoundError9({ id: input.id });
82
82
  const action = input.action ?? current.action;
83
83
  const resource = input.resource ?? current.resource;
84
84
  const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
85
85
  if (!updated)
86
- return yield* new NotFoundError8({ id: input.id });
86
+ return yield* new NotFoundError9({ id: input.id });
87
87
  return info(updated);
88
88
  });
89
89
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
90
90
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
91
91
  });
92
- return Service60.of({ list, add, update, remove });
92
+ return Service61.of({ list, add, update, remove });
93
93
  }));
94
94
  var isUniqueViolation = (error) => {
95
95
  const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
@@ -107,6 +107,6 @@ var info = (row) => ({
107
107
  updated: DateTime.makeUnsafe(row.time_updated)
108
108
  }
109
109
  });
110
- var node62 = makeGlobalNode({ service: Service60, layer, deps: [node90] });
110
+ var node63 = makeGlobalNode({ service: Service61, layer, deps: [node90] });
111
111
 
112
- export { ID7, Info16, ListInput5, AddInput2, UpdateInput2, NotFoundError8, ConflictError2, Service60, node62, exports_saved };
112
+ export { ID7, Info12, ListInput5, AddInput2, UpdateInput3, NotFoundError9, ConflictError2, Service61, node63, exports_saved };