@opencode/core 0.0.0-dev-20038 → 0.0.0-dev-20039

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 (799) 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 +73 -73
  7. package/dist/chunks/{skill-pzacy225.js → persistent-pty-09r2qp1t.js} +34 -34
  8. package/dist/chunks/{skill-nq7qbqzc.js → persistent-pty-0evkspfq.js} +9 -9
  9. package/dist/chunks/persistent-pty-0mesazry.js +4 -0
  10. package/dist/chunks/{skill-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{skill-82cjnjjm.js → persistent-pty-0rdt631y.js} +23 -23
  12. package/dist/chunks/{skill-4n607a2z.js → persistent-pty-0ryd0fps.js} +5 -5
  13. package/dist/chunks/{skill-p57dvf2n.js → persistent-pty-0z8vjex2.js} +9 -9
  14. package/dist/chunks/{skill-3prtm72b.js → persistent-pty-152c24g9.js} +17 -17
  15. package/dist/chunks/{skill-mwvsmt3f.js → persistent-pty-178h7bcz.js} +10 -10
  16. package/dist/chunks/{skill-yp2x3t23.js → persistent-pty-1acjjqhc.js} +4 -4
  17. package/dist/chunks/{skill-bvtqrzkz.js → persistent-pty-1d4pa8k8.js} +23 -23
  18. package/dist/chunks/{skill-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{skill-1kxby9vs.js → persistent-pty-1g3wfhvf.js} +12 -12
  20. package/dist/chunks/{skill-0j7qrmec.js → persistent-pty-1nfy4m2r.js} +11 -11
  21. package/dist/chunks/{skill-06fpybe0.js → persistent-pty-1s9w9x7p.js} +11 -11
  22. package/dist/chunks/{skill-1sz13pgv.js → persistent-pty-1xpex35t.js} +4 -4
  23. package/dist/chunks/{skill-3trgmge8.js → persistent-pty-1ywjfj99.js} +14 -14
  24. package/dist/chunks/{skill-j3g2v1be.js → persistent-pty-1za7na14.js} +14 -14
  25. package/dist/chunks/{skill-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  26. package/dist/chunks/{skill-b64pa8pr.js → persistent-pty-23k7adzm.js} +11 -11
  27. package/dist/chunks/{skill-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
  28. package/dist/chunks/{skill-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{skill-brnbh3wc.js → persistent-pty-2c3gf4hg.js} +21 -21
  30. package/dist/chunks/{skill-63c4jth9.js → persistent-pty-2gc9tj0a.js} +29 -29
  31. package/dist/chunks/{skill-djszqvmq.js → persistent-pty-2mq1h16s.js} +9 -9
  32. package/dist/chunks/{skill-ktswn2xr.js → persistent-pty-2qmn5bfe.js} +4 -4
  33. package/dist/chunks/{skill-nrqs9f76.js → persistent-pty-302vxrt0.js} +3 -3
  34. package/dist/chunks/{skill-dqbrne9y.js → persistent-pty-31jp5918.js} +18 -18
  35. package/dist/chunks/{skill-a2ew8a62.js → persistent-pty-34rkz0x9.js} +7 -7
  36. package/dist/chunks/persistent-pty-39c607zz.js +252 -0
  37. package/dist/chunks/{skill-21s6yy3m.js → persistent-pty-3d7gjx2p.js} +24 -24
  38. package/dist/chunks/{skill-v1tkfmx4.js → persistent-pty-3eye3e08.js} +25 -25
  39. package/dist/chunks/{skill-ydzgzrmr.js → persistent-pty-3fbhsscp.js} +5 -5
  40. package/dist/chunks/{skill-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{skill-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{skill-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{skill-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{skill-3zsf4n22.js → persistent-pty-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{skill-ed7hynkb.js → persistent-pty-3zwwaknr.js} +4 -4
  46. package/dist/chunks/{skill-805hba50.js → persistent-pty-40xjt1qy.js} +89 -89
  47. package/dist/chunks/{skill-2211ny1y.js → persistent-pty-485sy19s.js} +32 -32
  48. package/dist/chunks/{skill-zyj756k8.js → persistent-pty-4bdz3rrf.js} +7 -7
  49. package/dist/chunks/{skill-86qzxe6p.js → persistent-pty-4bm5ja14.js} +4 -4
  50. package/dist/chunks/{skill-7ge4ak7p.js → persistent-pty-4bp47sa2.js} +6 -6
  51. package/dist/chunks/{skill-p54mb0t0.js → persistent-pty-4prhbtb1.js} +19 -19
  52. package/dist/chunks/{skill-bmvvfwz1.js → persistent-pty-4ssabby3.js} +5 -5
  53. package/dist/chunks/{skill-0m0tvs7x.js → persistent-pty-4y303w9z.js} +4 -4
  54. package/dist/chunks/{skill-54tcyq79.js → persistent-pty-54tcyq79.js} +2 -2
  55. package/dist/chunks/{skill-1ygqh575.js → persistent-pty-56gdpj1q.js} +9 -9
  56. package/dist/chunks/{skill-0a7n14cc.js → persistent-pty-5a8mqqmd.js} +93 -93
  57. package/dist/chunks/{skill-d1nkx38v.js → persistent-pty-5bjmhyyh.js} +11 -11
  58. package/dist/chunks/{skill-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  59. package/dist/chunks/{skill-5ekn9679.js → persistent-pty-5ekn9679.js} +1 -1
  60. package/dist/chunks/{skill-dcmhd26j.js → persistent-pty-5hvymspb.js} +3 -3
  61. package/dist/chunks/{skill-r1bf57pa.js → persistent-pty-5nqt8hga.js} +23 -23
  62. package/dist/chunks/{skill-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{skill-3092rspq.js → persistent-pty-5wcec76y.js} +14 -14
  64. package/dist/chunks/{skill-kkmdswye.js → persistent-pty-5x17qhbs.js} +13 -13
  65. package/dist/chunks/persistent-pty-619r8v3y.js +18 -0
  66. package/dist/chunks/{skill-6r9vc294.js → persistent-pty-641h1r3m.js} +44 -44
  67. package/dist/chunks/{skill-669tq793.js → persistent-pty-669tq793.js} +1 -1
  68. package/dist/chunks/{skill-gy7z5ezd.js → persistent-pty-66v7kmb1.js} +12 -12
  69. package/dist/chunks/{skill-0pky1d45.js → persistent-pty-6ffyb2hm.js} +30 -30
  70. package/dist/chunks/{skill-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{skill-yp63r6ne.js → persistent-pty-6netbxjb.js} +11 -11
  72. package/dist/chunks/{skill-84vtzxcb.js → persistent-pty-6qfwct6s.js} +13 -13
  73. package/dist/chunks/{skill-mznae9x0.js → persistent-pty-757kp7m4.js} +175 -175
  74. package/dist/chunks/{skill-hah2psrv.js → persistent-pty-761rsftx.js} +24 -24
  75. package/dist/chunks/{skill-mc6rmvyt.js → persistent-pty-77r8rc3a.js} +3 -3
  76. package/dist/chunks/{skill-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{skill-7dqw4kz8.js → persistent-pty-7dqw4kz8.js} +1 -1
  78. package/dist/chunks/{skill-aw8s6wvc.js → persistent-pty-7en68zcv.js} +3 -3
  79. package/dist/chunks/{skill-48twmav6.js → persistent-pty-7rjejn76.js} +22 -22
  80. package/dist/chunks/{skill-b1r5q4bs.js → persistent-pty-7sz88z04.js} +18 -18
  81. package/dist/chunks/{skill-r3c4069c.js → persistent-pty-7tgakezr.js} +1 -1
  82. package/dist/chunks/{skill-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{skill-wfdm2xdz.js → persistent-pty-8dzh1cd7.js} +44 -44
  84. package/dist/chunks/{skill-d78bs0zk.js → persistent-pty-8h8zbh46.js} +15 -15
  85. package/dist/chunks/{skill-4a0d1ank.js → persistent-pty-8kjkx24x.js} +16 -16
  86. package/dist/chunks/{skill-aa7my7vj.js → persistent-pty-8ttcxa5h.js} +20 -20
  87. package/dist/chunks/{skill-9hn6k4tm.js → persistent-pty-8v6pyhej.js} +8 -8
  88. package/dist/chunks/{skill-55tgstys.js → persistent-pty-8vp3gjhy.js} +31 -31
  89. package/dist/chunks/{skill-455avmjk.js → persistent-pty-91mzt8hr.js} +10 -10
  90. package/dist/chunks/{skill-7jf4mmmx.js → persistent-pty-93fybsct.js} +38 -38
  91. package/dist/chunks/{skill-vcrsed51.js → persistent-pty-93wh6as2.js} +27 -27
  92. package/dist/chunks/{skill-4h27wmgr.js → persistent-pty-95ct4mzm.js} +15 -15
  93. package/dist/chunks/{skill-q6drrbz2.js → persistent-pty-97k8mqqv.js} +41 -41
  94. package/dist/chunks/{skill-dqms7t99.js → persistent-pty-9bmaysqm.js} +22 -22
  95. package/dist/chunks/{skill-wywgyawp.js → persistent-pty-9naypetk.js} +46 -46
  96. package/dist/chunks/{skill-cd64xwqy.js → persistent-pty-9syv1v4t.js} +26 -26
  97. package/dist/chunks/{skill-b4exqj80.js → persistent-pty-9t3ensh9.js} +13 -13
  98. package/dist/chunks/{skill-y5d6nff0.js → persistent-pty-9vvedye8.js} +28 -28
  99. package/dist/chunks/{skill-wz5tj16h.js → persistent-pty-9w4ppqge.js} +5 -5
  100. package/dist/chunks/{skill-25jaxmbj.js → persistent-pty-9xxvhx1n.js} +28 -28
  101. package/dist/chunks/{skill-a4z1vf6d.js → persistent-pty-a2dnpcep.js} +25 -25
  102. package/dist/chunks/{skill-m1n5efdw.js → persistent-pty-a507s7rw.js} +17 -17
  103. package/dist/chunks/{skill-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  104. package/dist/chunks/{skill-659sfxq9.js → persistent-pty-ajzsbz6h.js} +11 -11
  105. package/dist/chunks/{skill-600wd4ax.js → persistent-pty-as71pn4z.js} +12 -12
  106. package/dist/chunks/{skill-v2k9d9n6.js → persistent-pty-avm76bfr.js} +9 -9
  107. package/dist/chunks/{skill-11dqjexa.js → persistent-pty-b0dgvpy7.js} +9 -9
  108. package/dist/chunks/{skill-1ed2t66p.js → persistent-pty-b0vhkd8y.js} +4 -4
  109. package/dist/chunks/{skill-9376sdmt.js → persistent-pty-b50cy11c.js} +5 -5
  110. package/dist/chunks/{skill-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  111. package/dist/chunks/{skill-bjtzbw4r.js → persistent-pty-bjtzbw4r.js} +3 -3
  112. package/dist/chunks/{skill-9sejfsrr.js → persistent-pty-c3836xxs.js} +42 -42
  113. package/dist/chunks/{skill-g352dv7q.js → persistent-pty-c7tt9wkp.js} +4 -4
  114. package/dist/chunks/{skill-j5a3x2sz.js → persistent-pty-chfqtgk8.js} +4 -4
  115. package/dist/chunks/{skill-5cmxdwv8.js → persistent-pty-csdaj16z.js} +3 -3
  116. package/dist/chunks/{skill-0h03nx8e.js → persistent-pty-d3v66745.js} +8 -8
  117. package/dist/chunks/{skill-36tcapyb.js → persistent-pty-d7xkg5ac.js} +9 -9
  118. package/dist/chunks/{skill-57ez7d0k.js → persistent-pty-d9s573fh.js} +2 -2
  119. package/dist/chunks/persistent-pty-ddnkdez9.js +503 -0
  120. package/dist/chunks/{skill-e7cskxq6.js → persistent-pty-dj7qp1vz.js} +29 -29
  121. package/dist/chunks/{skill-fd1fd4ba.js → persistent-pty-dqkpw5fd.js} +24 -24
  122. package/dist/chunks/{skill-rh2ber99.js → persistent-pty-e9p00fqr.js} +11 -11
  123. package/dist/chunks/{skill-sajztd9s.js → persistent-pty-eb46v86n.js} +51 -51
  124. package/dist/chunks/{skill-c1t7y3na.js → persistent-pty-ee954pm5.js} +8 -8
  125. package/dist/chunks/{skill-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{skill-d9mt4ydz.js → persistent-pty-ep9py3fj.js} +8 -8
  127. package/dist/chunks/{skill-b9g232j2.js → persistent-pty-epz0536n.js} +13 -13
  128. package/dist/chunks/{skill-zm0hqsdq.js → persistent-pty-erg9a3bf.js} +11 -11
  129. package/dist/chunks/{skill-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
  130. package/dist/chunks/{skill-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  131. package/dist/chunks/{skill-hpefyvy7.js → persistent-pty-evbwcqsm.js} +29 -29
  132. package/dist/chunks/{skill-z6qjqr0m.js → persistent-pty-exft5dyr.js} +13 -13
  133. package/dist/chunks/{skill-038gxnxw.js → persistent-pty-f3pajhn5.js} +29 -29
  134. package/dist/chunks/{skill-g31wgms3.js → persistent-pty-f71as8r2.js} +16 -16
  135. package/dist/chunks/{skill-9xhrrz51.js → persistent-pty-f73djwtn.js} +20 -20
  136. package/dist/chunks/persistent-pty-fddeqz3x.js +26 -0
  137. package/dist/chunks/{skill-pfvt33xv.js → persistent-pty-fker3sdp.js} +19 -19
  138. package/dist/chunks/{skill-j45nn1c3.js → persistent-pty-fpgew61y.js} +32 -32
  139. package/dist/chunks/{skill-9qtvyvpe.js → persistent-pty-fpym893h.js} +29 -29
  140. package/dist/chunks/{skill-zjw2h6jc.js → persistent-pty-fx5d5dst.js} +5 -5
  141. package/dist/chunks/{skill-qj8eh1ht.js → persistent-pty-g190xswt.js} +4 -4
  142. package/dist/chunks/{skill-wdt1rpm2.js → persistent-pty-g1mth37h.js} +4 -4
  143. package/dist/chunks/{skill-y5cm6nea.js → persistent-pty-gckqvg4d.js} +12 -12
  144. package/dist/chunks/{skill-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{skill-mxvtkdv6.js → persistent-pty-gfstbejf.js} +9 -9
  146. package/dist/chunks/{skill-gfvb90ym.js → persistent-pty-gfvb90ym.js} +2 -2
  147. package/dist/chunks/{skill-xz5d9f71.js → persistent-pty-gj7rap3q.js} +28 -28
  148. package/dist/chunks/{skill-3w0fmcng.js → persistent-pty-gqchpbtd.js} +5 -5
  149. package/dist/chunks/{skill-w9tfzppv.js → persistent-pty-gv8cj7t2.js} +8 -8
  150. package/dist/chunks/{skill-wpjrrg58.js → persistent-pty-gzyn60n2.js} +11 -11
  151. package/dist/chunks/{skill-hbk6swqr.js → persistent-pty-h0np5xxv.js} +9 -9
  152. package/dist/chunks/{skill-rsa0f4ve.js → persistent-pty-h3z0pqmp.js} +41 -41
  153. package/dist/chunks/{skill-9gj9ptyy.js → persistent-pty-h67gkhys.js} +7 -7
  154. package/dist/chunks/{skill-nzyhnfxz.js → persistent-pty-h6r3nrb9.js} +4 -4
  155. package/dist/chunks/{skill-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{skill-n6dn13hr.js → persistent-pty-h8y73a77.js} +3 -3
  157. package/dist/chunks/{skill-epnnwhzd.js → persistent-pty-haq7tc4w.js} +15 -15
  158. package/dist/chunks/{skill-j0txe9sg.js → persistent-pty-hb9mtrsd.js} +43 -43
  159. package/dist/chunks/{skill-p7a39gy5.js → persistent-pty-hq8zt1th.js} +6 -6
  160. package/dist/chunks/{skill-1ef4qfgr.js → persistent-pty-hv7wtjqq.js} +7 -7
  161. package/dist/chunks/{skill-qp3v07n2.js → persistent-pty-hz84tk5e.js} +5 -5
  162. package/dist/chunks/{skill-kkc85mgk.js → persistent-pty-j2r8stxx.js} +26 -26
  163. package/dist/chunks/{skill-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  164. package/dist/chunks/{skill-m6caffc0.js → persistent-pty-jc6epbw5.js} +20 -20
  165. package/dist/chunks/{skill-6rjq4ad6.js → persistent-pty-jva4mgym.js} +4 -4
  166. package/dist/chunks/{skill-bbc4tthw.js → persistent-pty-jvv91we3.js} +23 -23
  167. package/dist/chunks/{skill-tsvh53gt.js → persistent-pty-k11tdke4.js} +33 -33
  168. package/dist/chunks/{skill-6ysrkrkr.js → persistent-pty-k1qrnqst.js} +8 -8
  169. package/dist/chunks/{skill-k3c624dm.js → persistent-pty-k3c624dm.js} +3 -3
  170. package/dist/chunks/{skill-9ct16sxg.js → persistent-pty-k3vs3y4h.js} +11 -11
  171. package/dist/chunks/{skill-ddde2jbf.js → persistent-pty-k5cpcgxv.js} +15 -15
  172. package/dist/chunks/{skill-qv362tpw.js → persistent-pty-k7jk5gbc.js} +5 -5
  173. package/dist/chunks/{skill-fkjmw100.js → persistent-pty-k9kj6xed.js} +2 -2
  174. package/dist/chunks/{skill-b60sv5ex.js → persistent-pty-kdvbsvbn.js} +29 -29
  175. package/dist/chunks/{skill-m5xc954w.js → persistent-pty-kej12pt8.js} +16 -16
  176. package/dist/chunks/{skill-k2vy3q29.js → persistent-pty-khxsha55.js} +9 -9
  177. package/dist/chunks/{skill-gtzevx44.js → persistent-pty-kkf5t9v2.js} +6 -6
  178. package/dist/chunks/{skill-4kg3wx8r.js → persistent-pty-kmpsdvkf.js} +5 -5
  179. package/dist/chunks/{skill-fytx2caw.js → persistent-pty-kpdf6701.js} +15 -15
  180. package/dist/chunks/{skill-k1094w2b.js → persistent-pty-kwkpr234.js} +20 -20
  181. package/dist/chunks/{skill-xqyr0kmf.js → persistent-pty-kxf5mmhn.js} +17 -17
  182. package/dist/chunks/{skill-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{skill-tgs0j305.js → persistent-pty-m8qv6hfv.js} +13 -13
  184. package/dist/chunks/{skill-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{skill-vng8e5bg.js → persistent-pty-mnvesx1a.js} +20 -20
  186. package/dist/chunks/{skill-gnjjzrdy.js → persistent-pty-mpc99crn.js} +18 -18
  187. package/dist/chunks/{skill-nd9hw607.js → persistent-pty-mqr4rx34.js} +35 -35
  188. package/dist/chunks/{skill-mhkvc446.js → persistent-pty-mvfsc1pv.js} +3 -3
  189. package/dist/chunks/{skill-s7bhq6mc.js → persistent-pty-n18pptkj.js} +11 -11
  190. package/dist/chunks/{skill-bz1aa729.js → persistent-pty-nbbm23k4.js} +37 -37
  191. package/dist/chunks/{skill-2np8p05j.js → persistent-pty-nevrz7qv.js} +56 -56
  192. package/dist/chunks/{skill-s9wjjtzf.js → persistent-pty-nf5zeerk.js} +32 -32
  193. package/dist/chunks/{skill-hgfzt47m.js → persistent-pty-ng6c26h7.js} +11 -11
  194. package/dist/chunks/{skill-8ztv5h5g.js → persistent-pty-nj40d921.js} +43 -43
  195. package/dist/chunks/{skill-1p79b18y.js → persistent-pty-nne8jnth.js} +8 -8
  196. package/dist/chunks/{skill-kjrbxs1n.js → persistent-pty-nq1pkwqs.js} +26 -26
  197. package/dist/chunks/{skill-tk21shqt.js → persistent-pty-ny0wv14t.js} +5 -5
  198. package/dist/chunks/{skill-pf2hb43r.js → persistent-pty-p0b4ytnr.js} +6 -6
  199. package/dist/chunks/{skill-bmert760.js → persistent-pty-p1y2rvb9.js} +25 -25
  200. package/dist/chunks/{skill-4wmcspnr.js → persistent-pty-p6m6n2kf.js} +33 -33
  201. package/dist/chunks/{skill-kmq6mhp1.js → persistent-pty-pg9p756q.js} +14 -14
  202. package/dist/chunks/{skill-t1jc3wjt.js → persistent-pty-ph2thkmn.js} +17 -17
  203. package/dist/chunks/{skill-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{skill-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  205. package/dist/chunks/{skill-0g4vbkq9.js → persistent-pty-ps64rfj0.js} +1 -1
  206. package/dist/chunks/{skill-psazpmmj.js → persistent-pty-psazpmmj.js} +2 -2
  207. package/dist/chunks/{skill-xt6ks7x5.js → persistent-pty-q3qrmh0v.js} +5 -5
  208. package/dist/chunks/{skill-vwkn2sem.js → persistent-pty-q7t2zg9s.js} +14 -14
  209. package/dist/chunks/{skill-qa89nc5s.js → persistent-pty-qjgk3hk8.js} +15 -15
  210. package/dist/chunks/{skill-b3es7jwq.js → persistent-pty-qr8yt3hn.js} +6 -6
  211. package/dist/chunks/{skill-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  212. package/dist/chunks/{skill-b6syrwy2.js → persistent-pty-qvb3nf84.js} +8 -8
  213. package/dist/chunks/{skill-5a29nm2w.js → persistent-pty-qvfh85cq.js} +18 -18
  214. package/dist/chunks/{skill-dgy0zd7z.js → persistent-pty-qxw86d5h.js} +2 -2
  215. package/dist/chunks/{skill-mq3cmg74.js → persistent-pty-qy83mrsx.js} +46 -46
  216. package/dist/chunks/{skill-xw8jxh7d.js → persistent-pty-qynyj9jq.js} +7 -7
  217. package/dist/chunks/{skill-vmwh049b.js → persistent-pty-r0cp9c3a.js} +6 -6
  218. package/dist/chunks/{skill-r9n2gbfa.js → persistent-pty-r5ae9j8d.js} +9 -9
  219. package/dist/chunks/{skill-a28b3rq6.js → persistent-pty-r70v011a.js} +22 -22
  220. package/dist/chunks/{skill-72sbmkpb.js → persistent-pty-ragc7st3.js} +11 -11
  221. package/dist/chunks/{skill-h4jnxhkz.js → persistent-pty-rczq51rp.js} +6 -6
  222. package/dist/chunks/{skill-53fyba40.js → persistent-pty-rdecwvm0.js} +4 -4
  223. package/dist/chunks/{skill-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  224. package/dist/chunks/{skill-zeh9ct20.js → persistent-pty-rq775frq.js} +2 -2
  225. package/dist/chunks/{skill-6gpxker2.js → persistent-pty-rs345c40.js} +3 -3
  226. package/dist/chunks/{skill-4yx4ch8z.js → persistent-pty-rsdvdc68.js} +30 -30
  227. package/dist/chunks/{skill-ybc8xz90.js → persistent-pty-s1njw3xh.js} +16 -16
  228. package/dist/chunks/{skill-a2qe2ev9.js → persistent-pty-s5met55r.js} +8 -8
  229. package/dist/chunks/{skill-eaj1djv9.js → persistent-pty-s8d7rejh.js} +6 -6
  230. package/dist/chunks/{skill-myn8tnag.js → persistent-pty-sa41km02.js} +21 -21
  231. package/dist/chunks/{skill-x99qfz02.js → persistent-pty-sgmsychm.js} +10 -10
  232. package/dist/chunks/{skill-gf0t83ey.js → persistent-pty-sqgn58gm.js} +32 -32
  233. package/dist/chunks/{skill-c6hp3pdp.js → persistent-pty-sqt5xxjz.js} +25 -25
  234. package/dist/chunks/{skill-6gnm5ehv.js → persistent-pty-swsp7ypn.js} +11 -11
  235. package/dist/chunks/{skill-510m7gjw.js → persistent-pty-t3swkhbg.js} +5 -5
  236. package/dist/chunks/{skill-af04s6ss.js → persistent-pty-t4mbtemh.js} +5 -5
  237. package/dist/chunks/{skill-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  238. package/dist/chunks/{skill-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  239. package/dist/chunks/{skill-m177v21q.js → persistent-pty-tdph6ben.js} +57 -57
  240. package/dist/chunks/{skill-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  241. package/dist/chunks/{skill-27tdkxxq.js → persistent-pty-te34bjm9.js} +13 -13
  242. package/dist/chunks/{skill-965ggptx.js → persistent-pty-tgcnk5sw.js} +12 -12
  243. package/dist/chunks/{skill-70q87p13.js → persistent-pty-tmx59f2z.js} +13 -13
  244. package/dist/chunks/{skill-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  245. package/dist/chunks/{skill-nsft68r9.js → persistent-pty-tx323b0h.js} +2 -2
  246. package/dist/chunks/{skill-vmgq4x8b.js → persistent-pty-tyqkzprt.js} +2 -2
  247. package/dist/chunks/{skill-7rfgs20b.js → persistent-pty-v2thg54p.js} +6 -6
  248. package/dist/chunks/{skill-956y4h3p.js → persistent-pty-v8jkds5f.js} +73 -73
  249. package/dist/chunks/{skill-hfypw2dz.js → persistent-pty-v8vgje16.js} +8 -8
  250. package/dist/chunks/{skill-6zn80krx.js → persistent-pty-vay5kkzq.js} +11 -11
  251. package/dist/chunks/{skill-ryjr88wf.js → persistent-pty-vc5d3pth.js} +8 -8
  252. package/dist/chunks/{skill-0ex7bte1.js → persistent-pty-vd1ke7dk.js} +17 -17
  253. package/dist/chunks/{skill-954pj15k.js → persistent-pty-ve2hxe32.js} +11 -11
  254. package/dist/chunks/{skill-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  255. package/dist/chunks/{skill-vncycja5.js → persistent-pty-vncycja5.js} +1 -1
  256. package/dist/chunks/{skill-9cyfspf3.js → persistent-pty-vtxr0yy2.js} +5 -5
  257. package/dist/chunks/{skill-122w83js.js → persistent-pty-vvetkfbd.js} +27 -27
  258. package/dist/chunks/{skill-8eve1412.js → persistent-pty-vww9cphx.js} +13 -13
  259. package/dist/chunks/{skill-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  260. package/dist/chunks/{skill-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{skill-meb31nx3.js → persistent-pty-w64kqnqf.js} +12 -12
  262. package/dist/chunks/{skill-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  263. package/dist/chunks/{skill-wmfgk8ym.js → persistent-pty-wfdd4dw9.js} +5 -5
  264. package/dist/chunks/{skill-kt2kw9ad.js → persistent-pty-wkpqecqd.js} +24 -24
  265. package/dist/chunks/{skill-cn1v2m3x.js → persistent-pty-wnys78fq.js} +8 -8
  266. package/dist/chunks/{skill-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{skill-kqr1y863.js → persistent-pty-x5w4k6wc.js} +20 -20
  268. package/dist/chunks/{skill-w4s3h4gx.js → persistent-pty-x8e1q2wf.js} +1 -1
  269. package/dist/chunks/{skill-9yyts0fm.js → persistent-pty-x8etfcjj.js} +9 -9
  270. package/dist/chunks/{skill-drwq78ky.js → persistent-pty-xfkkasph.js} +4 -4
  271. package/dist/chunks/{skill-77g5fd73.js → persistent-pty-xw4y9se0.js} +12 -12
  272. package/dist/chunks/{skill-kkys2nbr.js → persistent-pty-xxc173qm.js} +28 -28
  273. package/dist/chunks/{skill-ypx73geg.js → persistent-pty-y16p1w2y.js} +9 -9
  274. package/dist/chunks/{skill-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{skill-63752er2.js → persistent-pty-y6440ej8.js} +48 -48
  276. package/dist/chunks/{skill-dpkg50ah.js → persistent-pty-y71avatq.js} +4 -4
  277. package/dist/chunks/{skill-efayeezr.js → persistent-pty-yde6vznn.js} +4 -4
  278. package/dist/chunks/{skill-630e1s9z.js → persistent-pty-yn1bvpb4.js} +26 -26
  279. package/dist/chunks/{skill-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{skill-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
  281. package/dist/chunks/{skill-gv6a8nnw.js → persistent-pty-yyb7tjpc.js} +2 -2
  282. package/dist/chunks/{skill-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{skill-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
  284. package/dist/chunks/{skill-ddt2bs9e.js → persistent-pty-zav06jzw.js} +4 -4
  285. package/dist/chunks/{skill-zw803gw2.js → persistent-pty-zhc2jp5c.js} +10 -10
  286. package/dist/chunks/{skill-hjy7jdp6.js → persistent-pty-zkrvy30v.js} +31 -31
  287. package/dist/chunks/{skill-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{skill-0483ns04.js → persistent-pty-zs8c84j9.js} +22 -22
  289. package/dist/chunks/{skill-7q2awb7k.js → persistent-pty-zxc6d5jg.js} +21 -21
  290. package/dist/chunks/{skill-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +85 -85
  296. package/dist/config/discovery.js +82 -82
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +125 -125
  300. package/dist/config/plugin/command.js +214 -214
  301. package/dist/config/plugin/compaction.js +162 -162
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +124 -124
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +123 -123
  308. package/dist/config/plugin/mcp.js +132 -132
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +123 -123
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +125 -125
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +144 -144
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +126 -126
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +124 -124
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +128 -128
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +85 -85
  325. package/dist/database/database.js +70 -70
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  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 +79 -79
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +93 -93
  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 +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +74 -74
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/file.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +225 -225
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +106 -106
  431. package/dist/form.js +86 -86
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +89 -89
  434. package/dist/generate.js +101 -101
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +91 -91
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +361 -361
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +86 -86
  465. package/dist/job.js +77 -77
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +135 -135
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-mutation.js +104 -104
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +358 -358
  473. package/dist/location.js +81 -81
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +108 -108
  477. package/dist/mcp/instructions.js +128 -128
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +115 -115
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +86 -86
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +101 -101
  496. package/dist/plugin/compaction.js +133 -133
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +218 -218
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +332 -332
  502. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +5 -5
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +93 -93
  520. package/dist/plugin/provider/gitlab.js +91 -91
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +77 -77
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +92 -92
  529. package/dist/plugin/provider/opencode.js +94 -94
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +78 -78
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +160 -160
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +351 -351
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +5 -5
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +6 -6
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +229 -229
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +80 -80
  564. package/dist/provider.js +101 -101
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +3 -3
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +98 -98
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +128 -128
  579. package/dist/session/context.js +152 -152
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +223 -223
  585. package/dist/session/execution.js +128 -128
  586. package/dist/session/generate.js +151 -151
  587. package/dist/session/history.js +13 -13
  588. package/dist/session/inbox.js +88 -88
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +79 -79
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +93 -93
  593. package/dist/session/message-updater.js +4 -4
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +119 -119
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +231 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +114 -114
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +172 -172
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +75 -75
  617. package/dist/session/store.js +87 -87
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +210 -210
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +156 -156
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +220 -220
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +218 -218
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +13 -13
  630. package/dist/shell.js +140 -140
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +105 -105
  633. package/dist/skill.js +104 -104
  634. package/dist/snapshot.js +91 -91
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +125 -125
  639. package/dist/tool/plugin/edit.js +118 -118
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +124 -124
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/opencode.js +3 -3
  644. package/dist/tool/plugin/patch.js +120 -120
  645. package/dist/tool/plugin/question.js +101 -101
  646. package/dist/tool/plugin/read.js +125 -125
  647. package/dist/tool/plugin/shell.js +217 -217
  648. package/dist/tool/plugin/skill.js +111 -111
  649. package/dist/tool/plugin/subagent.js +219 -219
  650. package/dist/tool/plugin/webfetch.js +112 -112
  651. package/dist/tool/plugin/websearch.js +114 -114
  652. package/dist/tool/plugin/write.js +120 -120
  653. package/dist/tool/read-filesystem.js +100 -100
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +8 -8
  656. package/dist/tool.js +16 -16
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/attachment.js +4 -4
  668. package/dist/v1/config/command.js +5 -5
  669. package/dist/v1/config/config.js +16 -16
  670. package/dist/v1/config/error.js +2 -2
  671. package/dist/v1/config/formatter.js +7 -7
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +5 -5
  674. package/dist/v1/config/mcp.js +4 -4
  675. package/dist/v1/config/migrate.js +92 -92
  676. package/dist/v1/config/permission.js +3 -3
  677. package/dist/v1/config/plugin.js +1 -1
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +1 -1
  682. package/dist/v1/permission.js +1 -1
  683. package/dist/variant.js +91 -91
  684. package/dist/vcs/patch.js +1 -1
  685. package/dist/vcs.js +89 -89
  686. package/dist/websearch.js +82 -82
  687. package/dist/wellknown/plugin.js +74 -74
  688. package/dist/wellknown.js +81 -81
  689. package/dist/workspace/driver.js +5 -5
  690. package/dist/workspace/sql.js +1 -1
  691. package/dist/workspace.js +80 -80
  692. package/dist/worktree/directory.js +2 -2
  693. package/dist/worktree/git.js +10 -10
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree/strategies.js +89 -89
  696. package/dist/worktree.js +96 -96
  697. package/package.json +8 -8
  698. package/dist/chunks/skill-16sntq5h.js +0 -503
  699. package/dist/chunks/skill-gbadjzag.js +0 -4
  700. package/dist/chunks/skill-jcn1d825.js +0 -26
  701. package/dist/chunks/skill-th30gvj6.js +0 -252
  702. package/dist/chunks/skill-vnkjks7b.js +0 -18
  703. /package/dist/chunks/{skill-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{skill-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{skill-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{skill-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{skill-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{skill-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{skill-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{skill-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{skill-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{skill-34c7v6d4.js → persistent-pty-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{skill-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{skill-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  715. /package/dist/chunks/{skill-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{skill-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{skill-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{skill-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{skill-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{skill-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{skill-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{skill-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  723. /package/dist/chunks/{skill-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{skill-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{skill-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  726. /package/dist/chunks/{skill-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{skill-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{skill-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  729. /package/dist/chunks/{skill-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{skill-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{skill-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{skill-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  733. /package/dist/chunks/{skill-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{skill-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{skill-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{skill-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{skill-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{skill-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{skill-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{skill-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{skill-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{skill-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{skill-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{skill-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{skill-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{skill-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{skill-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{skill-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  749. /package/dist/chunks/{skill-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{skill-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{skill-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{skill-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{skill-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{skill-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{skill-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{skill-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{skill-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{skill-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{skill-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{skill-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{skill-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  762. /package/dist/chunks/{skill-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{skill-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  764. /package/dist/chunks/{skill-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{skill-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  766. /package/dist/chunks/{skill-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{skill-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{skill-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{skill-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{skill-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{skill-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{skill-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{skill-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{skill-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{skill-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{skill-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{skill-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{skill-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{skill-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{skill-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{skill-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{skill-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{skill-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{skill-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{skill-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{skill-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{skill-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{skill-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{skill-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{skill-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{skill-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{skill-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{skill-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  794. /package/dist/chunks/{skill-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{skill-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{skill-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{skill-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{skill-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{skill-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service61
4
- } from "./skill-j0txe9sg.js";
3
+ Service58
4
+ } from "./persistent-pty-hb9mtrsd.js";
5
5
  import {
6
- Service64
7
- } from "./skill-600wd4ax.js";
6
+ Service42
7
+ } from "./persistent-pty-as71pn4z.js";
8
8
  import {
9
9
  observe2
10
- } from "./skill-qsdy395h.js";
10
+ } from "./persistent-pty-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./skill-9rqn6x4v.js";
13
+ } from "./persistent-pty-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin46
19
+ Plugin: () => Plugin9
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin46 = define({
23
+ var Plugin9 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service61;
27
- const output = yield* Service64;
26
+ const config = yield* Service58;
27
+ const output = yield* Service42;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin46 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin46, exports_tool_output };
41
+ export { Plugin9, exports_tool_output };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./skill-ym463w8f.js";
3
+ } from "./persistent-pty-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./skill-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/skills.ts
6
6
  var exports_skills = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./skill-gftt206x.js";
3
+ } from "./persistent-pty-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./skill-9rqn6x4v.js";
6
+ } from "./persistent-pty-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update3
12
+ update: () => update2
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update3(adapter, event) {
24
+ function update2(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -402,4 +402,4 @@ function update3(adapter, event) {
402
402
  return project(event);
403
403
  }
404
404
 
405
- export { update3, exports_message_updater };
405
+ export { update2, exports_message_updater };
@@ -2,40 +2,40 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./skill-922hggd3.js";
5
+ } from "./persistent-pty-922hggd3.js";
6
6
  import {
7
7
  Service80,
8
8
  node84
9
- } from "./skill-nsft68r9.js";
9
+ } from "./persistent-pty-tx323b0h.js";
10
10
  import {
11
- Service49,
12
- node51
13
- } from "./skill-bmert760.js";
11
+ Service19,
12
+ node21
13
+ } from "./persistent-pty-p1y2rvb9.js";
14
14
  import {
15
15
  __export
16
- } from "./skill-9rqn6x4v.js";
16
+ } from "./persistent-pty-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content2,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  Entry: () => Entry2,
25
- Event: () => Event7,
25
+ Event: () => Event4,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
- ListInput: () => ListInput3,
30
+ ListInput: () => ListInput2,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError4,
32
+ NotFoundError: () => NotFoundError3,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service48,
34
+ Service: () => Service18,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node50
38
+ node: () => node20
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
58
- var Content3 = Schema.Struct({
58
+ var Content2 = Schema.Struct({
59
59
  uri: Schema.String,
60
60
  name: Schema.String.pipe(Schema.optional),
61
61
  content: Schema.String,
62
62
  encoding: Schema.Literals(["utf8", "base64"]),
63
63
  mime: Schema.String
64
64
  }).annotate({ identifier: "FileSystem.Content" });
65
- var ListInput3 = Schema.Struct({
65
+ var ListInput2 = Schema.Struct({
66
66
  path: Schema.String.pipe(Schema.optional)
67
67
  });
68
68
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event7 = FileSystem.Event;
88
+ var Event4 = FileSystem.Event;
89
89
 
90
- class Service48 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service18 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service48, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service18, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
94
  const location = yield* Service80;
95
- const search = yield* Service49;
95
+ const search = yield* Service19;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service48, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service48.of({
106
+ return Service18.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
110
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
111
111
  if (info.type !== "File")
112
112
  return yield* Effect.die(new Error("Path is not a file"));
113
113
  return {
114
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
115
115
  mime: FSUtil.mimeType(target.real)
116
116
  };
117
117
  }),
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service48, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node50 = makeLocationNode({
144
- service: Service48,
143
+ var node20 = makeLocationNode({
144
+ service: Service18,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node84, node51]
146
+ deps: [FSUtil.node, node84, node21]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service48, node50, exports_filesystem, Entry2, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service18, node20, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./skill-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
5
  Service80
6
- } from "./skill-nsft68r9.js";
6
+ } from "./persistent-pty-tx323b0h.js";
7
7
  import {
8
- Service61
9
- } from "./skill-j0txe9sg.js";
8
+ Service58
9
+ } from "./persistent-pty-hb9mtrsd.js";
10
10
  import {
11
- Service34
12
- } from "./skill-gnjjzrdy.js";
11
+ Service22
12
+ } from "./persistent-pty-mpc99crn.js";
13
13
  import {
14
14
  observe2
15
- } from "./skill-qsdy395h.js";
15
+ } from "./persistent-pty-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./skill-9rqn6x4v.js";
18
+ } from "./persistent-pty-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin40
24
+ Plugin: () => Plugin6
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin40 = define({
30
+ var Plugin6 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service61;
33
+ const config = yield* Service58;
34
34
  const location = yield* Service80;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service34;
36
+ const worktrees = yield* Service22;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin40 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin40, exports_worktree };
51
+ export { Plugin6, exports_worktree };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./skill-hjbc5kem.js";
3
+ } from "./persistent-pty-hjbc5kem.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./skill-emrn6kk6.js";
4
+ } from "./persistent-pty-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,21 +1,21 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./skill-g31wgms3.js";
2
+ Service83,
3
+ node87
4
+ } from "./persistent-pty-f71as8r2.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./skill-nsft68r9.js";
8
+ } from "./persistent-pty-tx323b0h.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./skill-ec1grn59.js";
11
+ } from "./persistent-pty-ec1grn59.js";
12
12
  import {
13
- Service77,
14
- node81
15
- } from "./skill-t1jc3wjt.js";
13
+ Service63,
14
+ node67
15
+ } from "./persistent-pty-ph2thkmn.js";
16
16
  import {
17
17
  __export
18
- } from "./skill-9rqn6x4v.js";
18
+ } from "./persistent-pty-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
@@ -35,9 +35,9 @@ var InjectedMetadata = Schema.Struct({
35
35
  class Service7 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
37
  var layer = Layer.effect(Service7, Effect.gen(function* () {
38
- const bus = yield* Service82;
38
+ const bus = yield* Service83;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service77;
40
+ const store = yield* Service63;
41
41
  const location = yield* Service80;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
@@ -98,7 +98,7 @@ function describePath(root, path) {
98
98
  var node9 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node86, FSUtil.node, node84, node81]
101
+ deps: [node87, FSUtil.node, node84, node67]
102
102
  });
103
103
 
104
104
  export { Service7, node9, exports_instructions };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./skill-emrn6kk6.js";
4
+ } from "./persistent-pty-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID8
3
- } from "./skill-j45nn1c3.js";
2
+ ID13
3
+ } from "./persistent-pty-fpgew61y.js";
4
4
  import {
5
5
  iife2
6
- } from "./skill-1kg9ymc8.js";
6
+ } from "./persistent-pty-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./skill-b3es7jwq.js";
9
+ } from "./persistent-pty-qr8yt3hn.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-workers-ai.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID8.make("cloudflare-workers-ai");
15
+ var providerID = ID13.make("cloudflare-workers-ai");
16
16
  var CloudflareWorkersAIPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.workers.ai",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./skill-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./skill-qj8eh1ht.js";
7
- import {
8
- Info13
9
- } from "./skill-hfypw2dz.js";
6
+ } from "./persistent-pty-g190xswt.js";
10
7
  import {
11
8
  Info15
12
- } from "./skill-3w0fmcng.js";
9
+ } from "./persistent-pty-v8vgje16.js";
10
+ import {
11
+ Info11
12
+ } from "./persistent-pty-gqchpbtd.js";
13
13
  import {
14
- Info18
15
- } from "./skill-a2ew8a62.js";
14
+ Info17
15
+ } from "./persistent-pty-34rkz0x9.js";
16
16
  import {
17
- Info16
18
- } from "./skill-af04s6ss.js";
17
+ Info12
18
+ } from "./persistent-pty-t4mbtemh.js";
19
19
  import {
20
20
  Spec2
21
- } from "./skill-7dqw4kz8.js";
21
+ } from "./persistent-pty-7dqw4kz8.js";
22
22
  import {
23
- Info17
24
- } from "./skill-510m7gjw.js";
23
+ Info13
24
+ } from "./persistent-pty-t3swkhbg.js";
25
25
  import {
26
- Info11
27
- } from "./skill-q6drrbz2.js";
26
+ Info10
27
+ } from "./persistent-pty-97k8mqqv.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./skill-j5a3x2sz.js";
36
+ } from "./persistent-pty-chfqtgk8.js";
37
37
  import {
38
38
  __export
39
- } from "./skill-9rqn6x4v.js";
39
+ } from "./persistent-pty-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info11.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info10.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info15, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info11, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info18, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info17, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info16, value, path, diagnostics);
228
+ const server = decodeValue(Info12, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
421
421
  diagnoseProviderUnsupported(raw, path, diagnostics);
422
422
  if (invalidProviderOverlays(raw, path, diagnostics))
423
423
  return [];
424
- const provider = decodeValue(Info17, raw, path, diagnostics);
424
+ const provider = decodeValue(Info13, raw, path, diagnostics);
425
425
  if (provider === undefined)
426
426
  return [];
427
427
  const destination = providerID2(name);
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service84
3
- } from "./skill-965ggptx.js";
2
+ Service82
3
+ } from "./persistent-pty-tgcnk5sw.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
7
- } from "./skill-gv6a8nnw.js";
7
+ } from "./persistent-pty-yyb7tjpc.js";
8
8
  import {
9
9
  __export
10
- } from "./skill-9rqn6x4v.js";
10
+ } from "./persistent-pty-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
14
14
  __export(exports_git2, {
15
15
  WorktreeGit: () => exports_git2,
16
- make: () => make15
16
+ make: () => make12
17
17
  });
18
18
  import { Effect } from "effect";
19
19
  import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
- var make15 = Effect.gen(function* () {
21
+ var make12 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service84;
23
+ const git = yield* Service82;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -46,4 +46,4 @@ var make15 = Effect.gen(function* () {
46
46
  };
47
47
  });
48
48
 
49
- export { make15, exports_git2 };
49
+ export { make12, exports_git2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./skill-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./skill-06fpybe0.js";
2
+ Service84,
3
+ node88
4
+ } from "./persistent-pty-1s9w9x7p.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./skill-54tcyq79.js";
7
+ } from "./persistent-pty-54tcyq79.js";
8
8
  import {
9
9
  __export
10
- } from "./skill-9rqn6x4v.js";
10
+ } from "./persistent-pty-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID14,
17
- Info: () => Info28,
18
- ListInput: () => ListInput4,
16
+ ID: () => ID9,
17
+ Info: () => Info21,
18
+ ListInput: () => ListInput5,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service76,
21
- node: () => node80
20
+ Service: () => Service64,
21
+ node: () => node68
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID14 = PermissionSaved.ID;
29
- var Info28 = PermissionSaved.Info;
30
- var ListInput4 = Schema.Struct({
28
+ var ID9 = PermissionSaved.ID;
29
+ var Info21 = PermissionSaved.Info;
30
+ var ListInput5 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service76 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service64 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service76, Effect.gen(function* () {
42
- const db = (yield* Service83).db;
41
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
42
+ const db = (yield* Service84).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
45
45
  return rows.map((row) => ({
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID14.create(),
60
+ id: ID9.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service76.of({ list, add, remove });
69
+ return Service64.of({ list, add, remove });
70
70
  }));
71
- var node80 = makeGlobalNode({ service: Service76, layer, deps: [node87] });
71
+ var node68 = makeGlobalNode({ service: Service64, layer, deps: [node88] });
72
72
 
73
- export { ID14, Info28, ListInput4, AddInput2, Service76, node80, exports_saved };
73
+ export { ID9, Info21, ListInput5, AddInput2, Service64, node68, exports_saved };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./skill-dgy0zd7z.js";
5
+ } from "./persistent-pty-qxw86d5h.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";