@opencode/core 0.0.0-dev-21733 → 0.0.0-dev-21734

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +97 -97
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{file-mutation-rbcej9n7.js → persistent-pty-00s53wgx.js} +4 -4
  8. package/dist/chunks/{file-mutation-tq3mzssj.js → persistent-pty-01res37g.js} +14 -14
  9. package/dist/chunks/{file-mutation-jx89vj1k.js → persistent-pty-033a0jkt.js} +3 -3
  10. package/dist/chunks/{file-mutation-aj7mw0zk.js → persistent-pty-034tev2y.js} +2 -2
  11. package/dist/chunks/{file-mutation-htq3pgp8.js → persistent-pty-03qj99jn.js} +2 -2
  12. package/dist/chunks/{file-mutation-fqje64y2.js → persistent-pty-04jfy8dp.js} +18 -18
  13. package/dist/chunks/{file-mutation-30e15dtz.js → persistent-pty-05gkwb83.js} +6 -6
  14. package/dist/chunks/{file-mutation-vf8a67bd.js → persistent-pty-0725bc3m.js} +21 -21
  15. package/dist/chunks/{file-mutation-036w2vvs.js → persistent-pty-091vk1nr.js} +28 -28
  16. package/dist/chunks/{file-mutation-2azy8kv6.js → persistent-pty-0ahs07zn.js} +4 -4
  17. package/dist/chunks/{file-mutation-svewv0nk.js → persistent-pty-0bjvb68n.js} +35 -35
  18. package/dist/chunks/{file-mutation-5x4h0w91.js → persistent-pty-0c68abaz.js} +15 -15
  19. package/dist/chunks/{file-mutation-85p7gfn7.js → persistent-pty-10bbn146.js} +5 -5
  20. package/dist/chunks/{file-mutation-zk52q0tv.js → persistent-pty-121mwpky.js} +15 -15
  21. package/dist/chunks/{file-mutation-tqx9c315.js → persistent-pty-160yv0cs.js} +8 -8
  22. package/dist/chunks/{file-mutation-ng91319j.js → persistent-pty-161q6wr2.js} +18 -18
  23. package/dist/chunks/persistent-pty-18cbc7hj.js +523 -0
  24. package/dist/chunks/{file-mutation-rjnacbrz.js → persistent-pty-18g90bpv.js} +9 -9
  25. package/dist/chunks/{file-mutation-27w5k9zf.js → persistent-pty-1ep2p91f.js} +2 -2
  26. package/dist/chunks/{file-mutation-hbcfg93c.js → persistent-pty-1mbb3nqq.js} +11 -11
  27. package/dist/chunks/{file-mutation-82ae05qv.js → persistent-pty-1r5fcxrd.js} +15 -15
  28. package/dist/chunks/{file-mutation-xq4hz08w.js → persistent-pty-1v15skyy.js} +2 -2
  29. package/dist/chunks/{file-mutation-g5j9106q.js → persistent-pty-1v7y2gfm.js} +11 -11
  30. package/dist/chunks/{file-mutation-3ek3wb4s.js → persistent-pty-1wr4254w.js} +16 -16
  31. package/dist/chunks/{file-mutation-1x2knyw4.js → persistent-pty-1x2knyw4.js} +1 -1
  32. package/dist/chunks/{file-mutation-p7vhpwh8.js → persistent-pty-1yq9hg58.js} +5 -5
  33. package/dist/chunks/{file-mutation-0ks2n9jf.js → persistent-pty-1z6jjy5p.js} +6 -6
  34. package/dist/chunks/{file-mutation-jw9wy7z2.js → persistent-pty-23fw7d8n.js} +9 -9
  35. package/dist/chunks/{file-mutation-7v4gnnpt.js → persistent-pty-25yt9nvs.js} +15 -15
  36. package/dist/chunks/{file-mutation-abn7vnge.js → persistent-pty-294nmx0v.js} +47 -47
  37. package/dist/chunks/{file-mutation-yprj29vk.js → persistent-pty-2kyrhkym.js} +5 -5
  38. package/dist/chunks/{file-mutation-wbbnhv6v.js → persistent-pty-2q88n7qb.js} +4 -4
  39. package/dist/chunks/{file-mutation-yhtr6e88.js → persistent-pty-2qkmb929.js} +46 -46
  40. package/dist/chunks/{file-mutation-2z1j29yd.js → persistent-pty-2z1j29yd.js} +1 -1
  41. package/dist/chunks/{file-mutation-79gmc5z2.js → persistent-pty-2zve0z6t.js} +17 -17
  42. package/dist/chunks/{file-mutation-fymw8q55.js → persistent-pty-33jdcjy6.js} +20 -20
  43. package/dist/chunks/{file-mutation-esd6nksf.js → persistent-pty-34kc3y55.js} +21 -21
  44. package/dist/chunks/{file-mutation-hkzhzv1f.js → persistent-pty-3e5cks6s.js} +33 -33
  45. package/dist/chunks/{file-mutation-xpve62cf.js → persistent-pty-3gv0spa2.js} +4 -4
  46. package/dist/chunks/{file-mutation-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{file-mutation-rskep9rf.js → persistent-pty-3mferp1a.js} +28 -28
  48. package/dist/chunks/{file-mutation-3nnrz6f6.js → persistent-pty-3nnrz6f6.js} +1 -1
  49. package/dist/chunks/{file-mutation-67avc1k8.js → persistent-pty-3ntfh06s.js} +8 -8
  50. package/dist/chunks/{file-mutation-v9pksffj.js → persistent-pty-408p0c2c.js} +32 -32
  51. package/dist/chunks/{file-mutation-w2eysc6j.js → persistent-pty-40za9wsf.js} +9 -9
  52. package/dist/chunks/{file-mutation-9b9nrhta.js → persistent-pty-4s7gz49e.js} +46 -46
  53. package/dist/chunks/{file-mutation-4v008n1t.js → persistent-pty-4v008n1t.js} +1 -1
  54. package/dist/chunks/{file-mutation-743x2srx.js → persistent-pty-4wwst2cr.js} +17 -17
  55. package/dist/chunks/{file-mutation-4xvmh7wp.js → persistent-pty-4xvmh7wp.js} +3 -3
  56. package/dist/chunks/{file-mutation-s6xj0n9e.js → persistent-pty-54bdth8f.js} +18 -18
  57. package/dist/chunks/{file-mutation-21et416z.js → persistent-pty-54zw250x.js} +6 -6
  58. package/dist/chunks/{file-mutation-abrtv49q.js → persistent-pty-5a4vd8th.js} +6 -6
  59. package/dist/chunks/{file-mutation-qx7wy1t5.js → persistent-pty-5m7egt4k.js} +36 -36
  60. package/dist/chunks/{file-mutation-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
  61. package/dist/chunks/{file-mutation-frvfbmdp.js → persistent-pty-5qv54f7z.js} +9 -9
  62. package/dist/chunks/{file-mutation-eskv2f81.js → persistent-pty-61g7nd3s.js} +10 -10
  63. package/dist/chunks/{file-mutation-5fvmg1r1.js → persistent-pty-660eev4r.js} +21 -21
  64. package/dist/chunks/{file-mutation-s0cvatyn.js → persistent-pty-66nsc0mc.js} +10 -10
  65. package/dist/chunks/{file-mutation-5xn9952g.js → persistent-pty-68ed1heq.js} +3 -3
  66. package/dist/chunks/persistent-pty-6903n5ex.js +26 -0
  67. package/dist/chunks/{file-mutation-hhe7s84q.js → persistent-pty-6b7kqf9p.js} +3 -3
  68. package/dist/chunks/{file-mutation-ems2smmp.js → persistent-pty-6bjkdwrx.js} +27 -27
  69. package/dist/chunks/{file-mutation-6esdw8yj.js → persistent-pty-6esdw8yj.js} +1 -1
  70. package/dist/chunks/{file-mutation-aw7qnxd4.js → persistent-pty-6feaf270.js} +24 -24
  71. package/dist/chunks/{file-mutation-ry869zts.js → persistent-pty-6n590pe1.js} +20 -20
  72. package/dist/chunks/{file-mutation-7qacj1zk.js → persistent-pty-6pe7vn7p.js} +18 -18
  73. package/dist/chunks/{file-mutation-vyaq3xbs.js → persistent-pty-6pgzxxev.js} +8 -8
  74. package/dist/chunks/{file-mutation-6pjqjmy2.js → persistent-pty-6pjqjmy2.js} +1 -1
  75. package/dist/chunks/{file-mutation-q7717vr4.js → persistent-pty-6ydxn510.js} +4 -4
  76. package/dist/chunks/{file-mutation-w8qtt4th.js → persistent-pty-76cb1hcw.js} +4 -4
  77. package/dist/chunks/{file-mutation-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{file-mutation-f3mkqzy7.js → persistent-pty-7qq4ydd3.js} +14 -14
  79. package/dist/chunks/{file-mutation-cn264291.js → persistent-pty-7rrajkn6.js} +13 -13
  80. package/dist/chunks/{file-mutation-7w2ypzdf.js → persistent-pty-7w2ypzdf.js} +1 -1
  81. package/dist/chunks/{file-mutation-b9d9dj3z.js → persistent-pty-7wyxsj6k.js} +4 -4
  82. package/dist/chunks/{file-mutation-4yx08eh2.js → persistent-pty-8fttzn5c.js} +11 -11
  83. package/dist/chunks/{file-mutation-0ns4m9xc.js → persistent-pty-8gfmmcm9.js} +7 -7
  84. package/dist/chunks/{file-mutation-v35yay96.js → persistent-pty-8hdpe52s.js} +25 -25
  85. package/dist/chunks/{file-mutation-45t4pvv9.js → persistent-pty-8k8pzbp4.js} +8 -8
  86. package/dist/chunks/{file-mutation-e4n8ygfy.js → persistent-pty-8km5q4vd.js} +77 -77
  87. package/dist/chunks/{file-mutation-81axfqtx.js → persistent-pty-8m8genj6.js} +35 -35
  88. package/dist/chunks/{file-mutation-wdh6vgg0.js → persistent-pty-8tkzkck7.js} +12 -12
  89. package/dist/chunks/{file-mutation-8wtp7s3z.js → persistent-pty-8wtp7s3z.js} +1 -1
  90. package/dist/chunks/{file-mutation-4pw98qd4.js → persistent-pty-8ybp78tx.js} +4 -4
  91. package/dist/chunks/{file-mutation-9t2khtsw.js → persistent-pty-8ykqf5wm.js} +8 -8
  92. package/dist/chunks/{file-mutation-h8gqg4ne.js → persistent-pty-8ze93nwk.js} +5 -5
  93. package/dist/chunks/{file-mutation-91rj84md.js → persistent-pty-91rj84md.js} +1 -1
  94. package/dist/chunks/{file-mutation-dvj9ct8m.js → persistent-pty-998yhzzq.js} +3 -3
  95. package/dist/chunks/{file-mutation-vtjgj3jr.js → persistent-pty-9get8zjh.js} +42 -42
  96. package/dist/chunks/{file-mutation-dwarwzmx.js → persistent-pty-9j1dz88j.js} +21 -21
  97. package/dist/chunks/{file-mutation-nwhk50md.js → persistent-pty-9rvvae9w.js} +24 -24
  98. package/dist/chunks/{file-mutation-yf8h703t.js → persistent-pty-9syqs7e3.js} +25 -25
  99. package/dist/chunks/{file-mutation-xb154nqk.js → persistent-pty-a5wwxj4r.js} +1 -1
  100. package/dist/chunks/{file-mutation-kmnk1vdb.js → persistent-pty-ac29g10j.js} +9 -9
  101. package/dist/chunks/{file-mutation-s9ty2h8k.js → persistent-pty-ae89zrxe.js} +11 -11
  102. package/dist/chunks/{file-mutation-wb23mhq7.js → persistent-pty-ajn3f7q8.js} +39 -39
  103. package/dist/chunks/{file-mutation-10rcdg98.js → persistent-pty-anm6wys2.js} +2 -2
  104. package/dist/chunks/{file-mutation-1r91ydea.js → persistent-pty-atkwrhtv.js} +4 -4
  105. package/dist/chunks/{file-mutation-t72fmagr.js → persistent-pty-avt17yc9.js} +11 -11
  106. package/dist/chunks/{file-mutation-td9q6ghh.js → persistent-pty-ax6rcmt6.js} +16 -16
  107. package/dist/chunks/{file-mutation-3cbjf1nt.js → persistent-pty-ayjs7tqn.js} +2 -2
  108. package/dist/chunks/{file-mutation-b0mv4wxm.js → persistent-pty-b0mv4wxm.js} +2 -2
  109. package/dist/chunks/{file-mutation-c9t2ty9q.js → persistent-pty-b1pn0vxn.js} +4 -4
  110. package/dist/chunks/{file-mutation-8c7d9mqr.js → persistent-pty-b3cs7hat.js} +11 -11
  111. package/dist/chunks/{file-mutation-5nnwax6m.js → persistent-pty-b6vsg801.js} +5 -5
  112. package/dist/chunks/{file-mutation-tfvs93xs.js → persistent-pty-bf187ngt.js} +3 -3
  113. package/dist/chunks/{file-mutation-r6b9cme8.js → persistent-pty-bhyfhejz.js} +15 -15
  114. package/dist/chunks/{file-mutation-ft13nsd4.js → persistent-pty-bpvzah12.js} +8 -8
  115. package/dist/chunks/{file-mutation-bstexjd6.js → persistent-pty-bstexjd6.js} +1 -1
  116. package/dist/chunks/{file-mutation-m4t4ftb9.js → persistent-pty-bt7dwcvz.js} +35 -35
  117. package/dist/chunks/{file-mutation-nffa1r89.js → persistent-pty-bwnaxshz.js} +30 -30
  118. package/dist/chunks/{file-mutation-da9t4t99.js → persistent-pty-c3qhhm1y.js} +18 -18
  119. package/dist/chunks/{file-mutation-6nc585nh.js → persistent-pty-c4phwmq5.js} +6 -6
  120. package/dist/chunks/{file-mutation-asrwnq9b.js → persistent-pty-ccjrskvd.js} +13 -13
  121. package/dist/chunks/{file-mutation-rds2jhhw.js → persistent-pty-ce5jk55z.js} +2 -2
  122. package/dist/chunks/{file-mutation-550hghqf.js → persistent-pty-cech5wam.js} +11 -11
  123. package/dist/chunks/{file-mutation-cc7rcpec.js → persistent-pty-cpkbxa7x.js} +9 -9
  124. package/dist/chunks/{file-mutation-c7c27t1m.js → persistent-pty-csnb57rc.js} +15 -15
  125. package/dist/chunks/{file-mutation-zz54hcfv.js → persistent-pty-ctasavsb.js} +16 -16
  126. package/dist/chunks/{file-mutation-b7zzhf47.js → persistent-pty-cvfh7m2t.js} +8 -8
  127. package/dist/chunks/{file-mutation-v8kyx9fe.js → persistent-pty-cx2kx0qt.js} +22 -22
  128. package/dist/chunks/{file-mutation-d4v9tmah.js → persistent-pty-d4v9tmah.js} +2 -2
  129. package/dist/chunks/{file-mutation-cxa2kxks.js → persistent-pty-d9jre66y.js} +9 -9
  130. package/dist/chunks/{file-mutation-jbscr9h1.js → persistent-pty-dctwdp88.js} +1 -1
  131. package/dist/chunks/{file-mutation-7v95c66a.js → persistent-pty-dgxgs7gd.js} +11 -11
  132. package/dist/chunks/{file-mutation-h2vj4qcs.js → persistent-pty-e6gw0w82.js} +14 -14
  133. package/dist/chunks/{file-mutation-e834z07m.js → persistent-pty-e834z07m.js} +1 -1
  134. package/dist/chunks/{file-mutation-h245t4yc.js → persistent-pty-e8nh79sb.js} +9 -9
  135. package/dist/chunks/{file-mutation-zmwx25fz.js → persistent-pty-ef2tezb6.js} +2 -2
  136. package/dist/chunks/{file-mutation-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{file-mutation-h99q40g3.js → persistent-pty-eh70mckh.js} +87 -87
  138. package/dist/chunks/{file-mutation-gctveymt.js → persistent-pty-eh8nrxr4.js} +13 -13
  139. package/dist/chunks/{file-mutation-6j3c7a8w.js → persistent-pty-esf8vws2.js} +14 -14
  140. package/dist/chunks/{file-mutation-ys5ve7gf.js → persistent-pty-esn29r3v.js} +61 -61
  141. package/dist/chunks/{file-mutation-e86res7a.js → persistent-pty-f5vh2ee2.js} +16 -16
  142. package/dist/chunks/{file-mutation-s4yz0bzs.js → persistent-pty-f9mjwvbf.js} +3 -3
  143. package/dist/chunks/{file-mutation-4rnk6nkc.js → persistent-pty-f9wddpqr.js} +48 -48
  144. package/dist/chunks/{file-mutation-bjeh6j1p.js → persistent-pty-fbbt1p90.js} +28 -28
  145. package/dist/chunks/{file-mutation-a7dmfdvk.js → persistent-pty-fd4whgj1.js} +18 -18
  146. package/dist/chunks/{file-mutation-fffv3p7h.js → persistent-pty-fffv3p7h.js} +1 -1
  147. package/dist/chunks/{file-mutation-zg057h9g.js → persistent-pty-fggnmsc4.js} +18 -18
  148. package/dist/chunks/{file-mutation-fbnpe429.js → persistent-pty-fk3tbwms.js} +16 -16
  149. package/dist/chunks/{file-mutation-hgcdtq4e.js → persistent-pty-fkdwm9b5.js} +18 -18
  150. package/dist/chunks/{file-mutation-27tam8fm.js → persistent-pty-fn8ks8sk.js} +4 -4
  151. package/dist/chunks/{file-mutation-48ns11pq.js → persistent-pty-fnx72q8e.js} +37 -37
  152. package/dist/chunks/{file-mutation-eahrer4y.js → persistent-pty-fpe37385.js} +15 -15
  153. package/dist/chunks/{file-mutation-3de1akn6.js → persistent-pty-fsmg7dz8.js} +14 -14
  154. package/dist/chunks/{file-mutation-s5ypg3ex.js → persistent-pty-ftsvrs41.js} +15 -15
  155. package/dist/chunks/persistent-pty-fvd0rj3z.js +257 -0
  156. package/dist/chunks/{file-mutation-qgrk9qt1.js → persistent-pty-fvkpm49k.js} +46 -46
  157. package/dist/chunks/{file-mutation-5rxgzxpx.js → persistent-pty-fxyx2m2r.js} +6 -6
  158. package/dist/chunks/{file-mutation-sm6n1kzz.js → persistent-pty-g0qn3exy.js} +11 -11
  159. package/dist/chunks/{file-mutation-g5h9c0rr.js → persistent-pty-g5h9c0rr.js} +2 -2
  160. package/dist/chunks/{file-mutation-2rjbzknj.js → persistent-pty-g5p6kgnn.js} +15 -15
  161. package/dist/chunks/{file-mutation-w3w76j4m.js → persistent-pty-g6dbhsy2.js} +22 -22
  162. package/dist/chunks/{file-mutation-vmfhgzt5.js → persistent-pty-g7esga4v.js} +5 -5
  163. package/dist/chunks/{file-mutation-z3789qry.js → persistent-pty-gc6gmd57.js} +19 -19
  164. package/dist/chunks/{file-mutation-r9t475hy.js → persistent-pty-ge050bsd.js} +12 -12
  165. package/dist/chunks/{file-mutation-faewc6h3.js → persistent-pty-gj8x1tda.js} +5 -5
  166. package/dist/chunks/{file-mutation-bwe8ad2d.js → persistent-pty-gkta77xp.js} +16 -16
  167. package/dist/chunks/{file-mutation-xh4stpws.js → persistent-pty-gqyxmvm3.js} +35 -35
  168. package/dist/chunks/persistent-pty-grzehpz7.js +18 -0
  169. package/dist/chunks/{file-mutation-2kxb353b.js → persistent-pty-gz08a6qd.js} +1 -1
  170. package/dist/chunks/{file-mutation-3c164b2z.js → persistent-pty-h42ma301.js} +11 -11
  171. package/dist/chunks/{file-mutation-rmvh37n9.js → persistent-pty-h49tjgxv.js} +10 -10
  172. package/dist/chunks/{file-mutation-94f0gtd2.js → persistent-pty-h57qbt9v.js} +6 -6
  173. package/dist/chunks/{file-mutation-cjbqfpza.js → persistent-pty-h8x3rwmh.js} +2 -2
  174. package/dist/chunks/{file-mutation-wbz42q9f.js → persistent-pty-ha1j02re.js} +21 -21
  175. package/dist/chunks/{file-mutation-q2dhmgm2.js → persistent-pty-hbabaj69.js} +14 -14
  176. package/dist/chunks/{file-mutation-raw26vjr.js → persistent-pty-hbjmb8md.js} +6 -6
  177. package/dist/chunks/{file-mutation-a3ve0kqa.js → persistent-pty-hqhqtbhg.js} +8 -8
  178. package/dist/chunks/{file-mutation-86ak512e.js → persistent-pty-hvmts6en.js} +34 -34
  179. package/dist/chunks/{file-mutation-j113cymg.js → persistent-pty-j113cymg.js} +1 -1
  180. package/dist/chunks/{file-mutation-782p0d6m.js → persistent-pty-j15yj0h5.js} +12 -12
  181. package/dist/chunks/{file-mutation-6bexxghh.js → persistent-pty-j1yh4sgk.js} +13 -13
  182. package/dist/chunks/{file-mutation-xcfcjf9d.js → persistent-pty-j8fhehe3.js} +11 -11
  183. package/dist/chunks/{file-mutation-n6v2b7cw.js → persistent-pty-ja63h2sr.js} +5 -5
  184. package/dist/chunks/{file-mutation-x240r3kw.js → persistent-pty-jbfg18k8.js} +18 -18
  185. package/dist/chunks/{file-mutation-e5dqjz6v.js → persistent-pty-jneg3k74.js} +4 -4
  186. package/dist/chunks/{file-mutation-y0dnfxbe.js → persistent-pty-jv13vvcg.js} +11 -11
  187. package/dist/chunks/{file-mutation-sn3yw1vh.js → persistent-pty-jw74enqw.js} +22 -22
  188. package/dist/chunks/{file-mutation-245k30ek.js → persistent-pty-jxvpemrm.js} +50 -50
  189. package/dist/chunks/{file-mutation-bgmahzg8.js → persistent-pty-k1pq61t6.js} +45 -45
  190. package/dist/chunks/{file-mutation-k814nvkf.js → persistent-pty-k814nvkf.js} +1 -1
  191. package/dist/chunks/{file-mutation-j3zafv13.js → persistent-pty-kf3n0zsb.js} +11 -11
  192. package/dist/chunks/{file-mutation-edcmpgtq.js → persistent-pty-khr1vc7x.js} +20 -20
  193. package/dist/chunks/{file-mutation-dqfc4a56.js → persistent-pty-kn420qbw.js} +19 -19
  194. package/dist/chunks/{file-mutation-m1714858.js → persistent-pty-m1714858.js} +1 -1
  195. package/dist/chunks/{file-mutation-jyragf21.js → persistent-pty-m6ccv8cv.js} +16 -16
  196. package/dist/chunks/{file-mutation-cp34p7ag.js → persistent-pty-m6nxwkyz.js} +1 -1
  197. package/dist/chunks/{file-mutation-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  198. package/dist/chunks/{file-mutation-maspj1v3.js → persistent-pty-maspj1v3.js} +1 -1
  199. package/dist/chunks/{file-mutation-rmyqj6m3.js → persistent-pty-md3qpsr3.js} +6 -6
  200. package/dist/chunks/{file-mutation-c3cfh5w6.js → persistent-pty-mmkbt6v3.js} +9 -9
  201. package/dist/chunks/{file-mutation-av5z0m6e.js → persistent-pty-mmwnf7h5.js} +23 -23
  202. package/dist/chunks/{file-mutation-f4275qbf.js → persistent-pty-msan5q7r.js} +4 -4
  203. package/dist/chunks/{file-mutation-01k3925y.js → persistent-pty-mw7msr43.js} +16 -16
  204. package/dist/chunks/{file-mutation-n0p0277s.js → persistent-pty-n0p0277s.js} +1 -1
  205. package/dist/chunks/{file-mutation-nah043kf.js → persistent-pty-nah043kf.js} +1 -1
  206. package/dist/chunks/{file-mutation-deg8k6mg.js → persistent-pty-nc3280dk.js} +20 -20
  207. package/dist/chunks/{file-mutation-krdcrhxc.js → persistent-pty-njpcv6ga.js} +11 -11
  208. package/dist/chunks/{file-mutation-p015t6z3.js → persistent-pty-p015t6z3.js} +2 -2
  209. package/dist/chunks/{file-mutation-9fs0fy5y.js → persistent-pty-p3ns8jke.js} +20 -20
  210. package/dist/chunks/{file-mutation-xk2ssr6t.js → persistent-pty-pczbwg7v.js} +10 -10
  211. package/dist/chunks/{file-mutation-fm0kc2vz.js → persistent-pty-pesbm1zb.js} +10 -10
  212. package/dist/chunks/{file-mutation-d979ez4r.js → persistent-pty-phjxmwhn.js} +13 -13
  213. package/dist/chunks/{file-mutation-b0zdea0q.js → persistent-pty-pjs8qn0x.js} +24 -24
  214. package/dist/chunks/{file-mutation-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  215. package/dist/chunks/{file-mutation-rjew0wjs.js → persistent-pty-pnr414s4.js} +21 -21
  216. package/dist/chunks/{file-mutation-yvyt4vgc.js → persistent-pty-pykbr5hq.js} +14 -14
  217. package/dist/chunks/{file-mutation-2cmv458r.js → persistent-pty-q17z9dx8.js} +5 -5
  218. package/dist/chunks/{file-mutation-fqktgm0k.js → persistent-pty-q96z823n.js} +24 -24
  219. package/dist/chunks/{file-mutation-4dnfsash.js → persistent-pty-q9yhf14s.js} +39 -39
  220. package/dist/chunks/{file-mutation-y78pw8hh.js → persistent-pty-qgy371m4.js} +18 -18
  221. package/dist/chunks/{file-mutation-qjgzc4b4.js → persistent-pty-qjgzc4b4.js} +1 -1
  222. package/dist/chunks/{file-mutation-r0yr0wbs.js → persistent-pty-r0yr0wbs.js} +1 -1
  223. package/dist/chunks/{file-mutation-r6wgv8c9.js → persistent-pty-r1k9m3eb.js} +4 -4
  224. package/dist/chunks/{file-mutation-4gceq66t.js → persistent-pty-r8qav4j0.js} +5 -5
  225. package/dist/chunks/{file-mutation-rb9dy4dg.js → persistent-pty-rb9dy4dg.js} +1 -1
  226. package/dist/chunks/{file-mutation-368ze413.js → persistent-pty-rdah1jex.js} +10 -10
  227. package/dist/chunks/{file-mutation-9q4552st.js → persistent-pty-reectsvn.js} +28 -28
  228. package/dist/chunks/{file-mutation-74vrwnwk.js → persistent-pty-rjdr2w59.js} +16 -16
  229. package/dist/chunks/{file-mutation-y9nmyqm6.js → persistent-pty-rk6acy23.js} +19 -19
  230. package/dist/chunks/{file-mutation-egsctaqy.js → persistent-pty-rqvbyf66.js} +23 -23
  231. package/dist/chunks/{file-mutation-bjhzkqyk.js → persistent-pty-rrad2nt9.js} +4 -4
  232. package/dist/chunks/{file-mutation-rt5dr6hb.js → persistent-pty-rt5dr6hb.js} +1 -1
  233. package/dist/chunks/{file-mutation-j12nxzwd.js → persistent-pty-rw3vattc.js} +3 -3
  234. package/dist/chunks/{file-mutation-cvmvznrx.js → persistent-pty-s2bbvfew.js} +1 -1
  235. package/dist/chunks/{file-mutation-enfrdb2x.js → persistent-pty-s56mqf4d.js} +9 -9
  236. package/dist/chunks/{file-mutation-w35wzz9x.js → persistent-pty-s7kyse9r.js} +4 -4
  237. package/dist/chunks/{file-mutation-00rzab14.js → persistent-pty-s95241p9.js} +5 -5
  238. package/dist/chunks/{file-mutation-5pex491w.js → persistent-pty-sgy5bk4a.js} +23 -23
  239. package/dist/chunks/{file-mutation-mcc21mqv.js → persistent-pty-skvb6hty.js} +5 -5
  240. package/dist/chunks/{file-mutation-sqjzf8x2.js → persistent-pty-sqjzf8x2.js} +1 -1
  241. package/dist/chunks/{file-mutation-w059c7vr.js → persistent-pty-sy012hfn.js} +5 -5
  242. package/dist/chunks/{file-mutation-747awqjk.js → persistent-pty-szdqchb7.js} +9 -9
  243. package/dist/chunks/{file-mutation-wwzjdjk2.js → persistent-pty-t3qvsv4x.js} +4 -4
  244. package/dist/chunks/{file-mutation-s6p20e1k.js → persistent-pty-t42gxy5r.js} +8 -8
  245. package/dist/chunks/{file-mutation-vd9bj70h.js → persistent-pty-t4g57g0x.js} +20 -20
  246. package/dist/chunks/{file-mutation-yj6jvem3.js → persistent-pty-tay0mcsq.js} +7 -7
  247. package/dist/chunks/{file-mutation-tczq8hjw.js → persistent-pty-tczq8hjw.js} +1 -1
  248. package/dist/chunks/{file-mutation-pef0bd6s.js → persistent-pty-tjb7g1kd.js} +12 -12
  249. package/dist/chunks/{file-mutation-tw8zr1ps.js → persistent-pty-tw8zr1ps.js} +1 -1
  250. package/dist/chunks/{file-mutation-twv2r8f4.js → persistent-pty-twv2r8f4.js} +2 -2
  251. package/dist/chunks/{file-mutation-v2r1d0zg.js → persistent-pty-v2r1d0zg.js} +1 -1
  252. package/dist/chunks/{file-mutation-vamt18wv.js → persistent-pty-vd2fkr8n.js} +19 -19
  253. package/dist/chunks/{file-mutation-vd3b3yk9.js → persistent-pty-vd3b3yk9.js} +1 -1
  254. package/dist/chunks/{file-mutation-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  255. package/dist/chunks/{file-mutation-eqh43b5v.js → persistent-pty-vgk61ywp.js} +9 -9
  256. package/dist/chunks/{file-mutation-dzgdh8q8.js → persistent-pty-vzpstrvw.js} +28 -28
  257. package/dist/chunks/{file-mutation-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{file-mutation-wr3re1en.js → persistent-pty-w687dnns.js} +4 -4
  259. package/dist/chunks/{file-mutation-cfkc8wvf.js → persistent-pty-w7zjqt6n.js} +4 -4
  260. package/dist/chunks/{file-mutation-1k1fqc4x.js → persistent-pty-w8ghnhvg.js} +172 -172
  261. package/dist/chunks/{file-mutation-wakvkjy4.js → persistent-pty-wakvkjy4.js} +1 -1
  262. package/dist/chunks/{file-mutation-9b9c9169.js → persistent-pty-wb3scwf2.js} +23 -23
  263. package/dist/chunks/{file-mutation-26dky2bj.js → persistent-pty-wb4j7ppe.js} +10 -10
  264. package/dist/chunks/{file-mutation-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  265. package/dist/chunks/{file-mutation-m6btfgkq.js → persistent-pty-wgh1engb.js} +17 -17
  266. package/dist/chunks/{file-mutation-a4hxdnm9.js → persistent-pty-wrevpsh3.js} +33 -33
  267. package/dist/chunks/{file-mutation-cwq0sf4z.js → persistent-pty-wwmj1kay.js} +14 -14
  268. package/dist/chunks/{file-mutation-gqmebmt6.js → persistent-pty-x4gbert3.js} +7 -7
  269. package/dist/chunks/{file-mutation-r64mr812.js → persistent-pty-xh5r1497.js} +25 -25
  270. package/dist/chunks/{file-mutation-my4zabxr.js → persistent-pty-xkhfjrgz.js} +3 -3
  271. package/dist/chunks/{file-mutation-32d3hzha.js → persistent-pty-xq1w8mg4.js} +12 -12
  272. package/dist/chunks/{file-mutation-55gnfc1d.js → persistent-pty-xw8kzvbj.js} +54 -54
  273. package/dist/chunks/{file-mutation-m4qx0dyh.js → persistent-pty-xxcxpnax.js} +28 -28
  274. package/dist/chunks/{file-mutation-w9vn8wsz.js → persistent-pty-y0f86df7.js} +13 -13
  275. package/dist/chunks/{file-mutation-fnbj75xz.js → persistent-pty-y7np224s.js} +3 -3
  276. package/dist/chunks/{file-mutation-535rzh00.js → persistent-pty-y9cdfkc4.js} +24 -24
  277. package/dist/chunks/{file-mutation-2hbghhry.js → persistent-pty-yayqpxs7.js} +19 -19
  278. package/dist/chunks/{file-mutation-yb20nhc3.js → persistent-pty-yb20nhc3.js} +1 -1
  279. package/dist/chunks/{file-mutation-epgj3jkd.js → persistent-pty-yk8k27y0.js} +21 -21
  280. package/dist/chunks/{file-mutation-12p8ee72.js → persistent-pty-yngw6wxf.js} +27 -27
  281. package/dist/chunks/{file-mutation-9tjddhah.js → persistent-pty-ypvpgzxc.js} +38 -38
  282. package/dist/chunks/{file-mutation-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{file-mutation-z38nccrw.js → persistent-pty-z38nccrw.js} +1 -1
  284. package/dist/chunks/{file-mutation-bjh3krjv.js → persistent-pty-zf39jeyk.js} +20 -20
  285. package/dist/chunks/{file-mutation-zkg84ctx.js → persistent-pty-zkg84ctx.js} +1 -1
  286. package/dist/chunks/{file-mutation-jp8p8349.js → persistent-pty-zteabxmp.js} +4 -4
  287. package/dist/chunks/{file-mutation-59syh3a3.js → persistent-pty-ztffxed8.js} +10 -10
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +11 -11
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +86 -86
  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 +214 -214
  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 +114 -114
  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 +136 -136
  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 +119 -119
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +85 -85
  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 +94 -94
  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 +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 +221 -221
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +9 -9
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +84 -84
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +105 -105
  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 +80 -80
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +3 -3
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +91 -91
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +156 -156
  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 +91 -91
  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 +140 -140
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/socket-client.js +1 -1
  476. package/dist/mcp/stdio.js +92 -92
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +93 -93
  479. package/dist/model-resolver.js +99 -99
  480. package/dist/model-retry.js +1 -1
  481. package/dist/model.js +94 -94
  482. package/dist/models-dev.js +101 -101
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +84 -84
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +111 -111
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +84 -84
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +77 -77
  492. package/dist/plugin/agent.js +78 -78
  493. package/dist/plugin/command.js +104 -104
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +333 -333
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +98 -98
  501. package/dist/plugin/module.js +117 -117
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +104 -104
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  506. package/dist/plugin/provider/azure.js +116 -116
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/chatgpt.js +116 -116
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +112 -112
  513. package/dist/plugin/provider/databricks.js +1 -1
  514. package/dist/plugin/provider/digitalocean.js +95 -95
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/github-copilot.js +97 -97
  518. package/dist/plugin/provider/gitlab.js +95 -95
  519. package/dist/plugin/provider/google-vertex.js +113 -113
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +80 -80
  522. package/dist/plugin/provider/lmstudio.js +123 -123
  523. package/dist/plugin/provider/local.js +122 -122
  524. package/dist/plugin/provider/modal.js +94 -94
  525. package/dist/plugin/provider/neon.js +1 -1
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +125 -125
  528. package/dist/plugin/provider/openai-context-caps.js +92 -92
  529. package/dist/plugin/provider/openai.js +116 -116
  530. package/dist/plugin/provider/opencode.js +103 -103
  531. package/dist/plugin/provider/openrouter.js +93 -93
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +81 -81
  534. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  535. package/dist/plugin/provider/sap-ai-core.js +93 -93
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  538. package/dist/plugin/provider/vercel.js +92 -92
  539. package/dist/plugin/provider/vllm.js +125 -125
  540. package/dist/plugin/provider/xai.js +93 -93
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +171 -171
  543. package/dist/plugin/sdk.js +78 -78
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +134 -134
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +348 -348
  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 +88 -88
  551. package/dist/plugin/vcs/hg.js +88 -88
  552. package/dist/plugin/verbosity.js +95 -95
  553. package/dist/plugin/warming.js +114 -114
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +4 -4
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +229 -229
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +92 -92
  565. package/dist/provider.js +95 -95
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +101 -101
  569. package/dist/reference/instructions.js +91 -91
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +83 -83
  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 +88 -88
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +76 -76
  579. package/dist/session/compaction.js +138 -138
  580. package/dist/session/context.js +164 -164
  581. package/dist/session/diff.js +90 -90
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +221 -221
  586. package/dist/session/execution.js +130 -130
  587. package/dist/session/generate.js +164 -164
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +97 -97
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +81 -81
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +99 -99
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +122 -122
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +132 -132
  599. package/dist/session/projector.js +89 -89
  600. package/dist/session/prompt.js +107 -107
  601. package/dist/session/recent-text.js +1 -1
  602. package/dist/session/revert.js +96 -96
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +229 -229
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +102 -102
  608. package/dist/session/runner/publish-llm-event.js +116 -116
  609. package/dist/session/runner/retry.js +5 -5
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +14 -14
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +165 -165
  614. package/dist/session/shell.js +130 -130
  615. package/dist/session/skill.js +105 -105
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +212 -212
  621. package/dist/session/system-prompt.js +3 -3
  622. package/dist/session/title.js +162 -162
  623. package/dist/session/to-session-error.js +114 -114
  624. package/dist/session/transfer.js +217 -217
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +218 -218
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +132 -132
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +105 -105
  634. package/dist/skill.js +112 -112
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +139 -139
  640. package/dist/tool/plugin/edit.js +122 -122
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +126 -126
  643. package/dist/tool/plugin/grep.js +126 -126
  644. package/dist/tool/plugin/mcp-resource.js +126 -126
  645. package/dist/tool/plugin/opencode.js +111 -111
  646. package/dist/tool/plugin/patch.js +124 -124
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +127 -127
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +217 -217
  652. package/dist/tool/plugin/todo.js +138 -138
  653. package/dist/tool/plugin/webfetch.js +115 -115
  654. package/dist/tool/plugin/websearch.js +110 -110
  655. package/dist/tool/plugin/write.js +116 -116
  656. package/dist/tool/read-filesystem.js +104 -104
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +7 -7
  659. package/dist/tool.js +12 -12
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +95 -95
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +88 -88
  679. package/dist/websearch.js +84 -84
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +83 -83
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +84 -84
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +91 -91
  689. package/dist/worktree.js +102 -102
  690. package/package.json +8 -8
  691. package/dist/chunks/file-mutation-471rdaac.js +0 -523
  692. package/dist/chunks/file-mutation-ezna1kdx.js +0 -18
  693. package/dist/chunks/file-mutation-venck2hm.js +0 -26
  694. package/dist/chunks/file-mutation-z053f2bw.js +0 -257
  695. /package/dist/chunks/{file-mutation-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{file-mutation-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{file-mutation-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{file-mutation-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{file-mutation-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{file-mutation-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{file-mutation-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
  702. /package/dist/chunks/{file-mutation-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{file-mutation-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{file-mutation-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  705. /package/dist/chunks/{file-mutation-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{file-mutation-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{file-mutation-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{file-mutation-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{file-mutation-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{file-mutation-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{file-mutation-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  712. /package/dist/chunks/{file-mutation-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{file-mutation-5fjb7ams.js → persistent-pty-5fjb7ams.js} +0 -0
  714. /package/dist/chunks/{file-mutation-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  715. /package/dist/chunks/{file-mutation-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
  716. /package/dist/chunks/{file-mutation-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{file-mutation-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{file-mutation-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  719. /package/dist/chunks/{file-mutation-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
  720. /package/dist/chunks/{file-mutation-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{file-mutation-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{file-mutation-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  723. /package/dist/chunks/{file-mutation-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{file-mutation-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{file-mutation-a058387c.js → persistent-pty-a058387c.js} +0 -0
  726. /package/dist/chunks/{file-mutation-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{file-mutation-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{file-mutation-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{file-mutation-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{file-mutation-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{file-mutation-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{file-mutation-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{file-mutation-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{file-mutation-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{file-mutation-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{file-mutation-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{file-mutation-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{file-mutation-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{file-mutation-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  740. /package/dist/chunks/{file-mutation-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{file-mutation-e3qxr5gk.js → persistent-pty-e3qxr5gk.js} +0 -0
  742. /package/dist/chunks/{file-mutation-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{file-mutation-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{file-mutation-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{file-mutation-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{file-mutation-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{file-mutation-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{file-mutation-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{file-mutation-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{file-mutation-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{file-mutation-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{file-mutation-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  753. /package/dist/chunks/{file-mutation-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{file-mutation-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  755. /package/dist/chunks/{file-mutation-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{file-mutation-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  757. /package/dist/chunks/{file-mutation-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{file-mutation-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{file-mutation-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{file-mutation-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{file-mutation-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{file-mutation-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{file-mutation-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{file-mutation-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
  765. /package/dist/chunks/{file-mutation-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{file-mutation-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{file-mutation-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{file-mutation-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{file-mutation-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{file-mutation-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{file-mutation-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{file-mutation-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{file-mutation-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{file-mutation-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{file-mutation-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{file-mutation-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{file-mutation-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{file-mutation-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{file-mutation-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{file-mutation-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{file-mutation-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{file-mutation-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{file-mutation-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{file-mutation-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{file-mutation-wjj7prxr.js → persistent-pty-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{file-mutation-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{file-mutation-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{file-mutation-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  789. /package/dist/chunks/{file-mutation-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{file-mutation-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{file-mutation-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{file-mutation-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{file-mutation-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{file-mutation-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./file-mutation-m6btfgkq.js";
2
+ Service79,
3
+ node83
4
+ } from "./persistent-pty-wgh1engb.js";
5
5
  import {
6
6
  Key3,
7
- make20,
7
+ make21,
8
8
  combine2
9
- } from "./file-mutation-e5dqjz6v.js";
9
+ } from "./persistent-pty-jneg3k74.js";
10
10
  import {
11
11
  __export
12
- } from "./file-mutation-9rqn6x4v.js";
12
+ } from "./persistent-pty-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service32,
19
- node: () => node36
18
+ Service: () => Service34,
19
+ node: () => node38
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service32 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service34 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service32, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service34, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service82;
29
- return Service32.of({
28
+ const location = yield* Service79;
29
+ return Service34.of({
30
30
  load: () => Effect.succeed(combine2([
31
- make20({
31
+ make21({
32
32
  key: Key3.make("core/date"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
37
37
  changed: (_previous, date) => `Today's date is now: ${date}`
38
38
  }
39
39
  }),
40
- make20({
40
+ make21({
41
41
  key: Key3.make("core/environment"),
42
42
  codec: Schema.toCodecJson(Schema.String),
43
43
  read: Effect.sync(() => [
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node36 = makeLocationNode({ service: Service32, layer, deps: [Global.node, node86] });
63
+ var node38 = makeLocationNode({ service: Service34, layer, deps: [Global.node, node83] });
64
64
 
65
- export { Service32, node36, exports_builtins };
65
+ export { Service34, node38, exports_builtins };
@@ -2,16 +2,16 @@ import {
2
2
  ID13,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./file-mutation-5pex491w.js";
5
+ } from "./persistent-pty-sgy5bk4a.js";
6
6
  import {
7
7
  ID12,
8
8
  VariantID2,
9
9
  Family2,
10
10
  Info21
11
- } from "./file-mutation-s5ypg3ex.js";
11
+ } from "./persistent-pty-ftsvrs41.js";
12
12
  import {
13
13
  __export
14
- } from "./file-mutation-9rqn6x4v.js";
14
+ } from "./persistent-pty-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models = {};
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./file-mutation-qjgzc4b4.js";
3
+ } from "./persistent-pty-qjgzc4b4.js";
4
4
  import {
5
5
  Service85,
6
6
  node89
7
- } from "./file-mutation-q7717vr4.js";
7
+ } from "./persistent-pty-6ydxn510.js";
8
8
  import {
9
- Event18,
10
- Service78,
11
- node82
12
- } from "./file-mutation-9q4552st.js";
9
+ Event19,
10
+ Service83,
11
+ node87
12
+ } from "./persistent-pty-reectsvn.js";
13
13
  import {
14
- Service82,
15
- node86
16
- } from "./file-mutation-m6btfgkq.js";
17
- import {
18
- Service73,
19
- node76
20
- } from "./file-mutation-535rzh00.js";
21
- import {
22
- ID16,
23
14
  Service79,
24
15
  node83
25
- } from "./file-mutation-9b9c9169.js";
16
+ } from "./persistent-pty-wgh1engb.js";
17
+ import {
18
+ Service56,
19
+ node60
20
+ } from "./persistent-pty-y9cdfkc4.js";
21
+ import {
22
+ ID18,
23
+ Service84,
24
+ node88
25
+ } from "./persistent-pty-wb3scwf2.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./file-mutation-vd3b3yk9.js";
29
+ } from "./persistent-pty-vd3b3yk9.js";
30
30
  import {
31
- ID14,
31
+ ID16,
32
32
  MethodID2,
33
- Service77,
34
- node81
35
- } from "./file-mutation-dzgdh8q8.js";
33
+ Service82,
34
+ node86
35
+ } from "./persistent-pty-vzpstrvw.js";
36
36
  import {
37
37
  __export
38
- } from "./file-mutation-9rqn6x4v.js";
38
+ } from "./persistent-pty-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError3,
44
+ NotFoundError: () => NotFoundError4,
45
45
  Options: () => Options4,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
@@ -49,12 +49,12 @@ __export(exports_mcp4, {
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service33,
52
+ Service: () => Service40,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
55
  configured: () => configured4,
56
- layer: () => layer17,
57
- node: () => node37
56
+ layer: () => layer18,
57
+ node: () => node43
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -104,7 +104,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
104
104
  var endpointLoads = makeUnsafe2();
105
105
  var cloneConfig = (config) => structuredClone(config);
106
106
 
107
- class Service33 extends Context.Service()("@opencode/MCP") {
107
+ class Service40 extends Context.Service()("@opencode/MCP") {
108
108
  }
109
109
  var Options4 = Schema.Struct({
110
110
  clientInfo: Schema.optional(Schema.Struct({
@@ -112,13 +112,13 @@ var Options4 = Schema.Struct({
112
112
  version: Schema.String
113
113
  }))
114
114
  });
115
- var layer17 = (options) => Layer.effect(Service33, Effect.gen(function* () {
116
- const location = yield* Service82;
117
- const environment = yield* Service73;
115
+ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
116
+ const location = yield* Service79;
117
+ const environment = yield* Service56;
118
118
  const bus = yield* Service85;
119
- const forms = yield* Service79;
120
- const integration = yield* Service77;
121
- const credentials = yield* Service78;
119
+ const forms = yield* Service84;
120
+ const integration = yield* Service82;
121
+ const credentials = yield* Service83;
122
122
  const root = yield* Effect.scope;
123
123
  const fork = yield* FiberSet.makeRuntime();
124
124
  const servers = yield* Scope.fork(root, "parallel");
@@ -133,7 +133,7 @@ var layer17 = (options) => Layer.effect(Service33, Effect.gen(function* () {
133
133
  return;
134
134
  const remote = entry.config;
135
135
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
136
- const integrationID = ID14.make(suffix);
136
+ const integrationID = ID16.make(suffix);
137
137
  entry.integrationID = integrationID;
138
138
  owned.add(integrationID);
139
139
  const methodID = MethodID2.make(suffix);
@@ -149,7 +149,7 @@ var layer17 = (options) => Layer.effect(Service33, Effect.gen(function* () {
149
149
  method: { id: methodID, type: "oauth", label: name },
150
150
  authorize: () => Effect.gen(function* () {
151
151
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
152
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service78, credentials));
152
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service83, credentials));
153
153
  })
154
154
  });
155
155
  }).pipe(Scope.provide(scope));
@@ -157,19 +157,19 @@ var layer17 = (options) => Layer.effect(Service33, Effect.gen(function* () {
157
157
  const requireServer = Effect.fnUntraced(function* (name) {
158
158
  const entry = entries.get(name);
159
159
  if (!entry)
160
- return yield* new NotFoundError3({ server: name });
160
+ return yield* new NotFoundError4({ server: name });
161
161
  return { name, entry };
162
162
  });
163
163
  const connectProvider = Effect.fnUntraced(function* (entry) {
164
164
  if (entry.config.type !== "remote" || !entry.integrationID)
165
165
  return;
166
166
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
167
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service78, credentials));
167
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service83, credentials));
168
168
  });
169
169
  const elicitation = {
170
170
  create: (input) => Effect.gen(function* () {
171
171
  if (input.params.mode === "url") {
172
- const formID = ID16.create();
172
+ const formID = ID18.create();
173
173
  const elicitationID = input.params.elicitationId;
174
174
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
175
175
  if (key)
@@ -272,7 +272,7 @@ var layer17 = (options) => Layer.effect(Service33, Effect.gen(function* () {
272
272
  entry.scope = scope;
273
273
  const authProvider = yield* connectProvider(entry);
274
274
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
275
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service73, environment), Scope.provide(scope));
275
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service56, environment), Scope.provide(scope));
276
276
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
277
277
  if (Exit.isSuccess(result)) {
278
278
  entry.client = result.value.connection;
@@ -373,7 +373,7 @@ var layer17 = (options) => Layer.effect(Service33, Effect.gen(function* () {
373
373
  let closed = false;
374
374
  const result = yield* McpClient.connect(name, { type: "attached", transport }, location.directory, undefined, elicitation, options?.clientInfo).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
375
375
  closed = true;
376
- }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service73, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
376
+ }))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service56, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
377
377
  const register = Effect.gen(function* () {
378
378
  if (closed) {
379
379
  yield* Scope.close(scope, Exit.void);
@@ -452,7 +452,7 @@ var layer17 = (options) => Layer.effect(Service33, Effect.gen(function* () {
452
452
  yield* startServer(name, entry);
453
453
  }).pipe(locks.withLock(name));
454
454
  });
455
- fork(bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
455
+ fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
456
456
  const state = create3({
457
457
  name: "mcp",
458
458
  initial: () => ({
@@ -478,7 +478,7 @@ var layer17 = (options) => Layer.effect(Service33, Effect.gen(function* () {
478
478
  }),
479
479
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
480
480
  });
481
- return Service33.of({
481
+ return Service40.of({
482
482
  transform: state.transform,
483
483
  reload: state.reload,
484
484
  servers: Effect.fn("MCP.servers")(function* () {
@@ -608,12 +608,12 @@ function mergeCatalogs(catalogs) {
608
608
  }
609
609
  function configured4(options) {
610
610
  return makeLocationNode({
611
- service: Service33,
612
- layer: layer17(options),
613
- deps: [node86, node76, node89, node83, node81, node82]
611
+ service: Service40,
612
+ layer: layer18(options),
613
+ deps: [node83, node60, node89, node88, node86, node87]
614
614
  });
615
615
  }
616
- var node37 = configured4();
616
+ var node43 = configured4();
617
617
  function toElicitationField(key, property, required) {
618
618
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
619
619
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -664,4 +664,4 @@ function toElicitationField(key, property, required) {
664
664
  }
665
665
  }
666
666
 
667
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service33, Options4, layer17, configured4, node37, exports_mcp4 };
667
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service40, Options4, layer18, configured4, node43, exports_mcp4 };
@@ -1,35 +1,35 @@
1
1
  import {
2
- ID9,
3
- Service57
4
- } from "./file-mutation-2hbghhry.js";
2
+ ID10,
3
+ Service71
4
+ } from "./persistent-pty-yayqpxs7.js";
5
5
  import {
6
- Service82
7
- } from "./file-mutation-m6btfgkq.js";
6
+ Service79
7
+ } from "./persistent-pty-wgh1engb.js";
8
8
  import {
9
- Service63
10
- } from "./file-mutation-abn7vnge.js";
9
+ Service73
10
+ } from "./persistent-pty-294nmx0v.js";
11
11
  import {
12
- Service65,
12
+ Service58,
13
13
  args2
14
- } from "./file-mutation-9fs0fy5y.js";
14
+ } from "./persistent-pty-p3ns8jke.js";
15
15
  import {
16
- Service21
17
- } from "./file-mutation-h99q40g3.js";
16
+ Service28
17
+ } from "./persistent-pty-eh70mckh.js";
18
18
  import {
19
- Service8
20
- } from "./file-mutation-z3789qry.js";
19
+ Service12
20
+ } from "./persistent-pty-gc6gmd57.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./file-mutation-e834z07m.js";
23
+ } from "./persistent-pty-e834z07m.js";
24
24
  import {
25
25
  __export
26
- } from "./file-mutation-9rqn6x4v.js";
26
+ } from "./persistent-pty-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
- var exports_command = {};
30
- __export(exports_command, {
31
- ConfigCommandPlugin: () => exports_command,
32
- Plugin: () => Plugin27
29
+ var exports_command2 = {};
30
+ __export(exports_command2, {
31
+ ConfigCommandPlugin: () => exports_command2,
32
+ Plugin: () => Plugin25
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { ConfigCommand } from "@opencode/schema/config/command";
@@ -39,10 +39,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
39
39
  import { ChildProcess } from "effect/process";
40
40
  import { FSUtil } from "@opencode/util/fs-util";
41
41
  var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
42
- var Plugin27 = define({
42
+ var Plugin25 = define({
43
43
  id: "opencode.config.command",
44
44
  effect: Effect.fn(function* (ctx) {
45
- const config = yield* Service63;
45
+ const config = yield* Service73;
46
46
  const fs = yield* FSUtil.Service;
47
47
  const loadEntry = Effect.fnUntraced(function* (entry) {
48
48
  if (entry.type === "document")
@@ -52,12 +52,12 @@ var Plugin27 = define({
52
52
  const commands = yield* loadDirectory(fs, entry.path);
53
53
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
54
54
  });
55
- const location = yield* Service82;
55
+ const location = yield* Service79;
56
56
  const processes = yield* AppProcess.Service;
57
- const shell = yield* Service65;
58
- const sessions = yield* Service21;
59
- const agents = yield* Service57;
60
- const subagents = yield* Service8;
57
+ const shell = yield* Service58;
58
+ const sessions = yield* Service28;
59
+ const agents = yield* Service71;
60
+ const subagents = yield* Service12;
61
61
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
62
62
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
63
63
  });
@@ -78,7 +78,7 @@ var Plugin27 = define({
78
78
  name,
79
79
  description: command.description,
80
80
  execute: (input) => Effect.gen(function* () {
81
- const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
81
+ const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
82
82
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
83
83
  const model = command.model === undefined ? commandAgent?.model : {
84
84
  id: command.model.model,
@@ -202,4 +202,4 @@ var placeholderRegex = /\$(\d+)/g;
202
202
  var quoteTrimRegex = /^["']|["']$/g;
203
203
  var shellRegex = /!`([^`]+)`/g;
204
204
 
205
- export { Plugin27, exports_command };
205
+ export { Plugin25, exports_command2 };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-mutation-z5v4ffb3.js";
3
+ } from "./persistent-pty-z5v4ffb3.js";
4
4
  import {
5
- Info6,
6
- ID4,
5
+ Info8,
6
+ ID5,
7
7
  Name2
8
- } from "./file-mutation-esd6nksf.js";
8
+ } from "./persistent-pty-34kc3y55.js";
9
9
  import {
10
- Service63
11
- } from "./file-mutation-abn7vnge.js";
10
+ Service73
11
+ } from "./persistent-pty-294nmx0v.js";
12
12
  import {
13
13
  __export
14
- } from "./file-mutation-9rqn6x4v.js";
14
+ } from "./persistent-pty-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill3 = {};
18
- __export(exports_skill3, {
17
+ var exports_skill = {};
18
+ __export(exports_skill, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin42,
21
+ Plugin: () => Plugin7,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill3
23
+ SkillPlugin: () => exports_skill
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -430,20 +430,20 @@ var OpencodeContent2 = opencode_default;
430
430
  var ReportContent2 = report_default;
431
431
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
432
432
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
433
- var Plugin42 = define({
433
+ var Plugin7 = define({
434
434
  id: "opencode.skill",
435
435
  effect: Effect.fn(function* (ctx) {
436
436
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
437
437
  yield* ctx.skill.transform((editor) => {
438
- editor.add(Info6.make({
439
- id: ID4.make("opencode"),
438
+ editor.add(Info8.make({
439
+ id: ID5.make("opencode"),
440
440
  name: Name2.make("OpenCode"),
441
441
  description: OpencodeDescription2,
442
442
  path: AbsolutePath2.make("/builtin/opencode.md"),
443
443
  content: OpencodeContent2
444
444
  }));
445
- editor.add(Info6.make({
446
- id: ID4.make("report"),
445
+ editor.add(Info8.make({
446
+ id: ID5.make("report"),
447
447
  name: Name2.make("Report"),
448
448
  description: REPORT_DESCRIPTION,
449
449
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -472,7 +472,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
472
472
  `);
473
473
  });
474
474
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
475
- const config = yield* Service63;
475
+ const config = yield* Service73;
476
476
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
477
477
  });
478
478
  function terminal() {
@@ -486,4 +486,4 @@ function shell() {
486
486
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
487
487
  }
488
488
 
489
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin42, exports_skill3 };
489
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin7, exports_skill };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-mutation-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./file-mutation-q7717vr4.js";
4
+ } from "./persistent-pty-6ydxn510.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./file-mutation-z5v4ffb3.js";
8
+ } from "./persistent-pty-z5v4ffb3.js";
9
9
  import {
10
- Ref4,
11
- Service82,
12
- node86
13
- } from "./file-mutation-m6btfgkq.js";
10
+ Ref3,
11
+ Service79,
12
+ node83
13
+ } from "./persistent-pty-wgh1engb.js";
14
14
  import {
15
15
  __export
16
- } from "./file-mutation-9rqn6x4v.js";
16
+ } from "./persistent-pty-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service81,
22
+ Service: () => Service23,
23
23
  define: () => define2,
24
- node: () => node85
24
+ node: () => node26
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service81 extends Context.Service()("@opencode/Rpc") {
30
+ class Service23 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service81, Effect.gen(function* () {
42
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
43
43
  const bus = yield* Service85;
44
- const location = yield* Service82;
45
- const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
44
+ const location = yield* Service79;
45
+ const ref = Ref3.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
48
48
  error: (type, message, data) => new DeclaredError(type, message, data)
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service82, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service79, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service81.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service23.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node85 = makeLocationNode({ service: Service81, layer, deps: [node89, node86] });
128
+ var node26 = makeLocationNode({ service: Service23, layer, deps: [node89, node83] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
132
132
  metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
133
- location: optional2(Ref4)
133
+ location: optional2(Ref3)
134
134
  };
135
135
  var EventData = Schema.Record(Schema.String, Schema.Unknown);
136
136
  var jsonSchemas = new WeakMap;
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service81, node85, exports_rpc, define2 };
213
+ export { Service23, node26, exports_rpc, define2 };