@opencode/core 0.0.0-dev-1136 → 0.0.0-dev-1141

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 (904) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +94 -94
  3. package/dist/aisdk-native.js +1 -1
  4. package/dist/aisdk.js +109 -109
  5. package/dist/app.js +5 -5
  6. package/dist/artifact.js +238 -238
  7. package/dist/bus.js +80 -80
  8. package/dist/chunks/{usage-limits-c2q9zfkf.js → persistent-pty-00pzdxvb.js} +4 -4
  9. package/dist/chunks/{usage-limits-p6se6c3r.js → persistent-pty-018pvm7c.js} +9 -9
  10. package/dist/chunks/{usage-limits-4vzr2b15.js → persistent-pty-04qc8z7j.js} +3 -3
  11. package/dist/chunks/{usage-limits-j1egny1s.js → persistent-pty-0806n7cm.js} +19 -19
  12. package/dist/chunks/{usage-limits-dvde2pc4.js → persistent-pty-0cggdvrh.js} +23 -23
  13. package/dist/chunks/{usage-limits-1v2g13eq.js → persistent-pty-0h86f0az.js} +4 -4
  14. package/dist/chunks/{usage-limits-0j7gp832.js → persistent-pty-0j7gp832.js} +1 -1
  15. package/dist/chunks/{usage-limits-f50vp3tr.js → persistent-pty-0jx3paz9.js} +32 -32
  16. package/dist/chunks/{usage-limits-0ma9gw4f.js → persistent-pty-0ma9gw4f.js} +2 -2
  17. package/dist/chunks/{usage-limits-2y8q1569.js → persistent-pty-0mgprbja.js} +4 -4
  18. package/dist/chunks/{usage-limits-963hk181.js → persistent-pty-0mtp185z.js} +9 -9
  19. package/dist/chunks/{usage-limits-bsfkzme1.js → persistent-pty-0n28khqy.js} +9 -9
  20. package/dist/chunks/{usage-limits-y9azjp7e.js → persistent-pty-0wgvkt2x.js} +11 -11
  21. package/dist/chunks/{usage-limits-pe00mm5s.js → persistent-pty-1791cqk2.js} +10 -10
  22. package/dist/chunks/{usage-limits-txjws9vm.js → persistent-pty-19b2ztj7.js} +11 -11
  23. package/dist/chunks/{usage-limits-1aqsckx4.js → persistent-pty-1aqsckx4.js} +1 -1
  24. package/dist/chunks/{usage-limits-wn08rbng.js → persistent-pty-1n1ng8zx.js} +25 -25
  25. package/dist/chunks/{usage-limits-1x2knyw4.js → persistent-pty-1x2knyw4.js} +1 -1
  26. package/dist/chunks/{usage-limits-1yq9hg58.js → persistent-pty-1yq9hg58.js} +1 -1
  27. package/dist/chunks/{usage-limits-6gtbfcr3.js → persistent-pty-23spy735.js} +43 -43
  28. package/dist/chunks/{usage-limits-hmktf0nf.js → persistent-pty-25ng7087.js} +52 -52
  29. package/dist/chunks/{usage-limits-1ep2p91f.js → persistent-pty-27w5k9zf.js} +2 -2
  30. package/dist/chunks/{usage-limits-1j2q7rrr.js → persistent-pty-29kaqwyv.js} +39 -39
  31. package/dist/chunks/{usage-limits-h9nn55c5.js → persistent-pty-2dvjapqv.js} +25 -25
  32. package/dist/chunks/{usage-limits-2fc7eemy.js → persistent-pty-2fc7eemy.js} +1 -1
  33. package/dist/chunks/{usage-limits-kq5y9fax.js → persistent-pty-2ft1psgd.js} +13 -13
  34. package/dist/chunks/{usage-limits-xvn32npp.js → persistent-pty-2kgqety0.js} +5 -5
  35. package/dist/chunks/{usage-limits-ght93wgr.js → persistent-pty-2kk794q2.js} +34 -34
  36. package/dist/chunks/{usage-limits-qtf35215.js → persistent-pty-2n444ktb.js} +3 -3
  37. package/dist/chunks/{usage-limits-5asgddgx.js → persistent-pty-2s9mae96.js} +6 -6
  38. package/dist/chunks/{usage-limits-kwjvsxtm.js → persistent-pty-2xawt0y1.js} +48 -37
  39. package/dist/chunks/{usage-limits-z080rjh6.js → persistent-pty-38aws4xb.js} +4 -4
  40. package/dist/chunks/{usage-limits-3adw4bt5.js → persistent-pty-3adw4bt5.js} +2 -2
  41. package/dist/chunks/{usage-limits-ayjs7tqn.js → persistent-pty-3cbjf1nt.js} +2 -2
  42. package/dist/chunks/{usage-limits-2368y051.js → persistent-pty-3h3skxty.js} +14 -14
  43. package/dist/chunks/{usage-limits-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{usage-limits-3nnrz6f6.js → persistent-pty-3nnrz6f6.js} +1 -1
  45. package/dist/chunks/{usage-limits-wk0531zk.js → persistent-pty-3tf4v4ep.js} +16 -16
  46. package/dist/chunks/{usage-limits-mzxjpf7k.js → persistent-pty-3x0shmrv.js} +11 -11
  47. package/dist/chunks/{usage-limits-qft9y4hy.js → persistent-pty-401vphjz.js} +5 -5
  48. package/dist/chunks/{usage-limits-40y6dtc2.js → persistent-pty-40y6dtc2.js} +1 -1
  49. package/dist/chunks/{usage-limits-ww791pww.js → persistent-pty-42gj811x.js} +20 -20
  50. package/dist/chunks/{usage-limits-4dx1dgte.js → persistent-pty-4dx1dgte.js} +1 -1
  51. package/dist/chunks/{usage-limits-mth3cj04.js → persistent-pty-4epqmd1h.js} +13 -13
  52. package/dist/chunks/{usage-limits-4f25tdd0.js → persistent-pty-4f25tdd0.js} +1 -1
  53. package/dist/chunks/{usage-limits-yk4ram99.js → persistent-pty-4krr2nde.js} +3 -3
  54. package/dist/chunks/{usage-limits-4pyp9zr9.js → persistent-pty-4pyp9zr9.js} +1 -1
  55. package/dist/chunks/{usage-limits-4v008n1t.js → persistent-pty-4v008n1t.js} +1 -1
  56. package/dist/chunks/{usage-limits-shsvp7vp.js → persistent-pty-52b88tdw.js} +62 -30
  57. package/dist/chunks/{usage-limits-5zpqhmp2.js → persistent-pty-530xg6vw.js} +3 -3
  58. package/dist/chunks/{usage-limits-trsth5nr.js → persistent-pty-5j9ncfs4.js} +6 -6
  59. package/dist/chunks/{usage-limits-22z20x00.js → persistent-pty-5kjbjby5.js} +10 -10
  60. package/dist/chunks/{usage-limits-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
  61. package/dist/chunks/{usage-limits-wvqyzeay.js → persistent-pty-5mw7s1b6.js} +16 -16
  62. package/dist/chunks/{usage-limits-v325dg72.js → persistent-pty-62kpm1kv.js} +20 -20
  63. package/dist/chunks/{usage-limits-sbh2sz2j.js → persistent-pty-641mgq21.js} +18 -18
  64. package/dist/chunks/{usage-limits-s6p6xy3r.js → persistent-pty-6a334k2e.js} +25 -25
  65. package/dist/chunks/{usage-limits-01zfkgbg.js → persistent-pty-6ddb8hxf.js} +36 -36
  66. package/dist/chunks/{usage-limits-sx27c7qs.js → persistent-pty-6edbc7zm.js} +7 -7
  67. package/dist/chunks/{usage-limits-ctmpqb7w.js → persistent-pty-6h8vcvjm.js} +9 -9
  68. package/dist/chunks/{usage-limits-7ew4ds6e.js → persistent-pty-6jpx4839.js} +17 -17
  69. package/dist/chunks/{usage-limits-yswt24xe.js → persistent-pty-6qm8pmbm.js} +5 -5
  70. package/dist/chunks/{usage-limits-sf85ryyv.js → persistent-pty-6s2jamp7.js} +15 -15
  71. package/dist/chunks/{usage-limits-5w1mdqt7.js → persistent-pty-6ss6ngz0.js} +4 -4
  72. package/dist/chunks/{usage-limits-q855xgy8.js → persistent-pty-6w5ta17s.js} +7 -7
  73. package/dist/chunks/{usage-limits-6y2b864j.js → persistent-pty-6y2b864j.js} +1 -1
  74. package/dist/chunks/{usage-limits-e3qg51pp.js → persistent-pty-6zkjwwbt.js} +82 -82
  75. package/dist/chunks/{usage-limits-775hqbnd.js → persistent-pty-775hqbnd.js} +3 -3
  76. package/dist/chunks/{usage-limits-ftc624e5.js → persistent-pty-77y0kkm0.js} +30 -30
  77. package/dist/chunks/{usage-limits-dbzr9wdf.js → persistent-pty-7arz4r0c.js} +16 -16
  78. package/dist/chunks/{usage-limits-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{usage-limits-kxvavz0b.js → persistent-pty-7ecvj7xx.js} +17 -17
  80. package/dist/chunks/{usage-limits-a1tswj55.js → persistent-pty-7mrx0efj.js} +12 -12
  81. package/dist/chunks/{usage-limits-ynzdgah7.js → persistent-pty-7nb8tm12.js} +5 -5
  82. package/dist/chunks/{usage-limits-mfmt126m.js → persistent-pty-7r8842f6.js} +33 -33
  83. package/dist/chunks/{usage-limits-fcv1wwdz.js → persistent-pty-7snvzf9y.js} +30 -30
  84. package/dist/chunks/{usage-limits-1ce0p61k.js → persistent-pty-7taaxv95.js} +4 -4
  85. package/dist/chunks/{usage-limits-7tpyp9vw.js → persistent-pty-7tpyp9vw.js} +1 -1
  86. package/dist/chunks/{usage-limits-7w2ypzdf.js → persistent-pty-7w2ypzdf.js} +1 -1
  87. package/dist/chunks/{usage-limits-7weczvnd.js → persistent-pty-7weczvnd.js} +1 -1
  88. package/dist/chunks/{usage-limits-vb7smdbq.js → persistent-pty-7xcsqsge.js} +5 -5
  89. package/dist/chunks/persistent-pty-7yv5xa0k.js +18 -0
  90. package/dist/chunks/{usage-limits-gfv3bamm.js → persistent-pty-80hpafj9.js} +9 -9
  91. package/dist/chunks/{usage-limits-6f6jm3cp.js → persistent-pty-80m5xgxj.js} +11 -11
  92. package/dist/chunks/{usage-limits-80pdk984.js → persistent-pty-80pdk984.js} +1 -1
  93. package/dist/chunks/{usage-limits-85jq8dht.js → persistent-pty-85jq8dht.js} +1 -1
  94. package/dist/chunks/{usage-limits-vbfqpmv9.js → persistent-pty-85m29sf4.js} +21 -21
  95. package/dist/chunks/{usage-limits-8b3vzgkx.js → persistent-pty-8b3vzgkx.js} +1 -1
  96. package/dist/chunks/persistent-pty-8b48q1nb.js +577 -0
  97. package/dist/chunks/{usage-limits-dc51qbmr.js → persistent-pty-8gzgd6gz.js} +18 -18
  98. package/dist/chunks/{usage-limits-8wtp7s3z.js → persistent-pty-8wtp7s3z.js} +1 -1
  99. package/dist/chunks/{usage-limits-ypj1acmt.js → persistent-pty-8xz27cp9.js} +4 -4
  100. package/dist/chunks/{usage-limits-0bdk8pxj.js → persistent-pty-8ydxba3r.js} +5 -5
  101. package/dist/chunks/{usage-limits-e3xbncmc.js → persistent-pty-8ym9cpdp.js} +22 -22
  102. package/dist/chunks/{usage-limits-mb7mbhnz.js → persistent-pty-8z6m94af.js} +3 -3
  103. package/dist/chunks/{usage-limits-8zv0xmg5.js → persistent-pty-8zv0xmg5.js} +1 -1
  104. package/dist/chunks/{usage-limits-93f0ne34.js → persistent-pty-910ch34w.js} +15 -15
  105. package/dist/chunks/{usage-limits-hdyhwc9f.js → persistent-pty-9262x70e.js} +16 -16
  106. package/dist/chunks/{usage-limits-37hhv4wy.js → persistent-pty-92j6mbn0.js} +12 -12
  107. package/dist/chunks/{usage-limits-fas9x0zj.js → persistent-pty-9b0bxgxr.js} +8 -8
  108. package/dist/chunks/{usage-limits-pbr6dek6.js → persistent-pty-9b5pg85y.js} +7 -7
  109. package/dist/chunks/{usage-limits-rsh3wnz1.js → persistent-pty-9d52fs69.js} +5 -5
  110. package/dist/chunks/{usage-limits-qr56g015.js → persistent-pty-9ddw59ht.js} +16 -16
  111. package/dist/chunks/{usage-limits-00wmrtha.js → persistent-pty-9f4njfb9.js} +17 -17
  112. package/dist/chunks/{usage-limits-14vpqtw6.js → persistent-pty-9pdxmcf6.js} +7 -7
  113. package/dist/chunks/{usage-limits-w79nt68w.js → persistent-pty-9q8g9sv8.js} +4 -4
  114. package/dist/chunks/{usage-limits-tfxry2e2.js → persistent-pty-a2pckt3d.js} +11 -11
  115. package/dist/chunks/{usage-limits-x150ncgg.js → persistent-pty-a3fn0gmm.js} +2 -2
  116. package/dist/chunks/{usage-limits-m7razs27.js → persistent-pty-a77wsd01.js} +43 -43
  117. package/dist/chunks/{usage-limits-r0wkvse5.js → persistent-pty-aa0xks2t.js} +14 -14
  118. package/dist/chunks/{usage-limits-034tev2y.js → persistent-pty-aj7mw0zk.js} +2 -2
  119. package/dist/chunks/{usage-limits-q42tzrxa.js → persistent-pty-as8a156g.js} +16 -2
  120. package/dist/chunks/{usage-limits-xa9a76g6.js → persistent-pty-asjr210a.js} +18 -18
  121. package/dist/chunks/{usage-limits-ymq5559q.js → persistent-pty-avt42cn0.js} +15 -15
  122. package/dist/chunks/{usage-limits-w8ex0f27.js → persistent-pty-avv30etj.js} +4 -4
  123. package/dist/chunks/{usage-limits-v4bj6baw.js → persistent-pty-ba5f9dy2.js} +4 -4
  124. package/dist/chunks/{usage-limits-8sxe6kv8.js → persistent-pty-bb3mmwvh.js} +2 -2
  125. package/dist/chunks/{usage-limits-g7q2rrzt.js → persistent-pty-bbbm1kqg.js} +8 -8
  126. package/dist/chunks/{usage-limits-163rzv3x.js → persistent-pty-bbwawm4r.js} +4 -4
  127. package/dist/chunks/{usage-limits-nc5q8vet.js → persistent-pty-bdhhrrav.js} +23 -23
  128. package/dist/chunks/{usage-limits-0n720z3p.js → persistent-pty-bkk47srm.js} +5 -5
  129. package/dist/chunks/{usage-limits-bstexjd6.js → persistent-pty-bstexjd6.js} +1 -1
  130. package/dist/chunks/{usage-limits-73128jds.js → persistent-pty-btr9eed2.js} +75 -74
  131. package/dist/chunks/{usage-limits-pj4g6jw6.js → persistent-pty-btz4vdf2.js} +9 -9
  132. package/dist/chunks/{usage-limits-by8ty0bx.js → persistent-pty-by8ty0bx.js} +1 -1
  133. package/dist/chunks/{usage-limits-b4nm0waw.js → persistent-pty-c1rvjqwp.js} +16 -16
  134. package/dist/chunks/{usage-limits-fc93665r.js → persistent-pty-c1sfsxsr.js} +8 -8
  135. package/dist/chunks/{usage-limits-c7cw818c.js → persistent-pty-c7cw818c.js} +2 -2
  136. package/dist/chunks/{usage-limits-6czvh5et.js → persistent-pty-caem11c1.js} +9 -9
  137. package/dist/chunks/{usage-limits-m30pzkfp.js → persistent-pty-ce3n5tw7.js} +10 -10
  138. package/dist/chunks/{usage-limits-a0qf5rjp.js → persistent-pty-cjtgxjhq.js} +18 -18
  139. package/dist/chunks/{usage-limits-nwyc7xwk.js → persistent-pty-cqeqcmsf.js} +12 -12
  140. package/dist/chunks/{usage-limits-cwrgdav8.js → persistent-pty-cwrgdav8.js} +2 -2
  141. package/dist/chunks/{usage-limits-6hmpncep.js → persistent-pty-d1rkk357.js} +8 -8
  142. package/dist/chunks/{usage-limits-07zvewtp.js → persistent-pty-d4rk8056.js} +30 -30
  143. package/dist/chunks/{usage-limits-d4v9tmah.js → persistent-pty-d4v9tmah.js} +2 -2
  144. package/dist/chunks/{usage-limits-cfh2c4vx.js → persistent-pty-d60v4tfr.js} +33 -32
  145. package/dist/chunks/{usage-limits-dka29ds1.js → persistent-pty-d73h4c6n.js} +24 -24
  146. package/dist/chunks/{usage-limits-p7qb8jbp.js → persistent-pty-dbvvr5ca.js} +22 -22
  147. package/dist/chunks/{usage-limits-d6zsrev0.js → persistent-pty-dczf9fhp.js} +19 -19
  148. package/dist/chunks/{usage-limits-8tnpwq6r.js → persistent-pty-dg4atj78.js} +7 -7
  149. package/dist/chunks/{usage-limits-r7zprqr5.js → persistent-pty-dhnnehwj.js} +7 -7
  150. package/dist/chunks/{usage-limits-e3jz9n7h.js → persistent-pty-dmvn3jq9.js} +7 -7
  151. package/dist/chunks/{usage-limits-9gqwytrb.js → persistent-pty-dqahggxs.js} +87 -87
  152. package/dist/chunks/{usage-limits-bepf8h36.js → persistent-pty-dt1mxvjw.js} +5 -5
  153. package/dist/chunks/{usage-limits-dt77769w.js → persistent-pty-dt77769w.js} +1 -1
  154. package/dist/chunks/{usage-limits-hvk1hafx.js → persistent-pty-e8xdkctn.js} +4 -4
  155. package/dist/chunks/{usage-limits-2rqsj4wa.js → persistent-pty-e9hvxvkn.js} +45 -45
  156. package/dist/chunks/{usage-limits-3gv0pst8.js → persistent-pty-e9v43avg.js} +29 -29
  157. package/dist/chunks/{usage-limits-3px36xtd.js → persistent-pty-ecb6c39z.js} +4 -4
  158. package/dist/chunks/{usage-limits-bk4k41m0.js → persistent-pty-enyb2kw5.js} +20 -20
  159. package/dist/chunks/{usage-limits-vw4p4fbt.js → persistent-pty-epayv3ej.js} +4 -4
  160. package/dist/chunks/{usage-limits-eqw4pqj1.js → persistent-pty-eqw4pqj1.js} +2 -2
  161. package/dist/chunks/{usage-limits-gk943ye1.js → persistent-pty-ewfepv21.js} +12 -12
  162. package/dist/chunks/{usage-limits-eh25zjz2.js → persistent-pty-f598hcd5.js} +10 -10
  163. package/dist/chunks/{usage-limits-t8ypkyyc.js → persistent-pty-f5cd42r9.js} +12 -12
  164. package/dist/chunks/{usage-limits-fg9p65nk.js → persistent-pty-fg9p65nk.js} +2 -2
  165. package/dist/chunks/{usage-limits-x36pdner.js → persistent-pty-fqp7nk4g.js} +9 -9
  166. package/dist/chunks/{usage-limits-8x3hmqtd.js → persistent-pty-ft7hwc8g.js} +3 -3
  167. package/dist/chunks/{usage-limits-x3eexw8z.js → persistent-pty-fw2bfwd4.js} +4 -4
  168. package/dist/chunks/{usage-limits-ywz68vkg.js → persistent-pty-fw468rj7.js} +44 -44
  169. package/dist/chunks/{usage-limits-xsact9zs.js → persistent-pty-fwp9mfc9.js} +4 -4
  170. package/dist/chunks/{usage-limits-y40wf3tb.js → persistent-pty-fxxxatdc.js} +34 -34
  171. package/dist/chunks/{usage-limits-c30j6zhw.js → persistent-pty-fy27yj1t.js} +10 -10
  172. package/dist/chunks/{usage-limits-p0dbwaqv.js → persistent-pty-fzndy2x2.js} +14 -14
  173. package/dist/chunks/{usage-limits-wr3re1en.js → persistent-pty-fznmdakp.js} +4 -4
  174. package/dist/chunks/{usage-limits-786y1vw3.js → persistent-pty-fzwn6aqp.js} +5 -5
  175. package/dist/chunks/{usage-limits-9vcbn99r.js → persistent-pty-g12t90cy.js} +5 -5
  176. package/dist/chunks/{usage-limits-b26ddj6h.js → persistent-pty-g4txs7zc.js} +4 -4
  177. package/dist/chunks/{usage-limits-td0ccqka.js → persistent-pty-g75vsea6.js} +9 -9
  178. package/dist/chunks/{usage-limits-gbjdnr5j.js → persistent-pty-gbjdnr5j.js} +2 -2
  179. package/dist/chunks/{usage-limits-zabc2wfq.js → persistent-pty-gckn4wsj.js} +19 -19
  180. package/dist/chunks/{usage-limits-net9d0fx.js → persistent-pty-gfn6vbsv.js} +22 -22
  181. package/dist/chunks/{usage-limits-ghrv1g9c.js → persistent-pty-ghrv1g9c.js} +1 -1
  182. package/dist/chunks/{usage-limits-8wnsjf6c.js → persistent-pty-gjkwpsd8.js} +9 -9
  183. package/dist/chunks/{usage-limits-ms258ef6.js → persistent-pty-h8s79my2.js} +15 -15
  184. package/dist/chunks/{usage-limits-32720cxc.js → persistent-pty-he60h9w2.js} +13 -13
  185. package/dist/chunks/{usage-limits-y4zf405k.js → persistent-pty-hgsqba75.js} +59 -59
  186. package/dist/chunks/{usage-limits-hgzwgvze.js → persistent-pty-hgzwgvze.js} +2 -2
  187. package/dist/chunks/{usage-limits-vmxh67a6.js → persistent-pty-hkwmenkt.js} +4 -4
  188. package/dist/chunks/{usage-limits-5s6k48sx.js → persistent-pty-hpz6vwek.js} +11 -10
  189. package/dist/chunks/{usage-limits-zmtdeb8k.js → persistent-pty-hrpg1pdd.js} +7 -7
  190. package/dist/chunks/{usage-limits-54cbb0bw.js → persistent-pty-htqc7tfk.js} +13 -13
  191. package/dist/chunks/{usage-limits-378jpew0.js → persistent-pty-hzpe7dhw.js} +33 -33
  192. package/dist/chunks/{usage-limits-tr8x705m.js → persistent-pty-j376ae4e.js} +5 -5
  193. package/dist/chunks/{usage-limits-xmx7xj34.js → persistent-pty-j3f8hyeg.js} +4 -4
  194. package/dist/chunks/{usage-limits-g3qdsj3j.js → persistent-pty-j4zs9bxr.js} +23 -23
  195. package/dist/chunks/{usage-limits-q5bd917m.js → persistent-pty-j6g0vqez.js} +5 -5
  196. package/dist/chunks/{usage-limits-j9nxzz3g.js → persistent-pty-j9nxzz3g.js} +3 -3
  197. package/dist/chunks/{usage-limits-gnqkjjxq.js → persistent-pty-jf9aqpdw.js} +36 -36
  198. package/dist/chunks/{usage-limits-0sqkmrgk.js → persistent-pty-jgat5a1s.js} +35 -35
  199. package/dist/chunks/{usage-limits-jm70asfg.js → persistent-pty-jm70asfg.js} +1 -1
  200. package/dist/chunks/{usage-limits-0v9zvpyd.js → persistent-pty-js8n3d73.js} +11 -11
  201. package/dist/chunks/{usage-limits-jv5ccajn.js → persistent-pty-jv5ccajn.js} +2 -2
  202. package/dist/chunks/{usage-limits-44pmzq9c.js → persistent-pty-jxd6f16v.js} +2 -2
  203. package/dist/chunks/{usage-limits-3aj095vc.js → persistent-pty-jxswh7p3.js} +32 -32
  204. package/dist/chunks/{usage-limits-p239k93p.js → persistent-pty-k0z9bhgz.js} +40 -40
  205. package/dist/chunks/{usage-limits-6f38jrmr.js → persistent-pty-k72s33b7.js} +31 -31
  206. package/dist/chunks/{usage-limits-4dtvemx5.js → persistent-pty-k732j073.js} +8 -8
  207. package/dist/chunks/{usage-limits-s6bqntgs.js → persistent-pty-k822k1ne.js} +15 -15
  208. package/dist/chunks/{usage-limits-h6c1ek8j.js → persistent-pty-kad2wbhh.js} +2 -2
  209. package/dist/chunks/{usage-limits-hhc7y5y0.js → persistent-pty-kkt22k82.js} +14 -14
  210. package/dist/chunks/{usage-limits-cjeshgaf.js → persistent-pty-kny8q9fm.js} +8 -8
  211. package/dist/chunks/{usage-limits-kt3bjfbg.js → persistent-pty-kt3bjfbg.js} +1 -1
  212. package/dist/chunks/{usage-limits-70rrpkbb.js → persistent-pty-ktf53k0y.js} +23 -23
  213. package/dist/chunks/{usage-limits-twtdr6y0.js → persistent-pty-kvqpqygy.js} +24 -24
  214. package/dist/chunks/{usage-limits-kzczzf4v.js → persistent-pty-kzczzf4v.js} +1 -1
  215. package/dist/chunks/{usage-limits-m1714858.js → persistent-pty-m1714858.js} +1 -1
  216. package/dist/chunks/{usage-limits-zq5y2v36.js → persistent-pty-m7v9vvkp.js} +15 -15
  217. package/dist/chunks/{usage-limits-m90tx7mw.js → persistent-pty-m90tx7mw.js} +1 -1
  218. package/dist/chunks/{usage-limits-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  219. package/dist/chunks/{usage-limits-r8ec70nh.js → persistent-pty-me0bf12n.js} +13 -13
  220. package/dist/chunks/{usage-limits-b7nkz392.js → persistent-pty-me215f18.js} +1 -1
  221. package/dist/chunks/{usage-limits-85sd3wwa.js → persistent-pty-mjeqg7zk.js} +21 -21
  222. package/dist/chunks/{usage-limits-pas7cje7.js → persistent-pty-mkavw0c0.js} +8 -8
  223. package/dist/chunks/{usage-limits-fjn6cgzk.js → persistent-pty-mr12hyfn.js} +10 -10
  224. package/dist/chunks/{usage-limits-601qms6t.js → persistent-pty-mv92c7a8.js} +31 -31
  225. package/dist/chunks/{usage-limits-7e467hjm.js → persistent-pty-mvnh7ykz.js} +13 -13
  226. package/dist/chunks/{usage-limits-18ftbw9s.js → persistent-pty-mwqan0d7.js} +60 -46
  227. package/dist/chunks/{usage-limits-3rnrta3c.js → persistent-pty-n2a0zv08.js} +2 -2
  228. package/dist/chunks/{usage-limits-7j5gw7wh.js → persistent-pty-n3ntzjw4.js} +15 -15
  229. package/dist/chunks/{usage-limits-yv0mxjwc.js → persistent-pty-n7hqy2cw.js} +7 -7
  230. package/dist/chunks/{usage-limits-526zrbs5.js → persistent-pty-n7k76nxf.js} +20 -20
  231. package/dist/chunks/{usage-limits-hced1q2j.js → persistent-pty-nemnqzpn.js} +4 -4
  232. package/dist/chunks/{usage-limits-0xzz5bc5.js → persistent-pty-nextbzqp.js} +4 -4
  233. package/dist/chunks/{usage-limits-xs8fxyyv.js → persistent-pty-nfdebbev.js} +12 -12
  234. package/dist/chunks/{usage-limits-3k376a4c.js → persistent-pty-njn4p9sa.js} +41 -41
  235. package/dist/chunks/{usage-limits-1xx8jyp0.js → persistent-pty-nm0p4dxw.js} +1 -1
  236. package/dist/chunks/{usage-limits-5rk89tzr.js → persistent-pty-nn55eax9.js} +12 -12
  237. package/dist/chunks/{usage-limits-ny73nq33.js → persistent-pty-nnnffw0j.js} +12 -12
  238. package/dist/chunks/{usage-limits-tr2nk892.js → persistent-pty-nqqq7twm.js} +18 -18
  239. package/dist/chunks/{usage-limits-wegkxhrn.js → persistent-pty-nx4vzyjd.js} +2 -2
  240. package/dist/chunks/{usage-limits-rv5b319h.js → persistent-pty-p5gdk4af.js} +3 -3
  241. package/dist/chunks/{usage-limits-8xgserg9.js → persistent-pty-p6stnjrt.js} +17 -17
  242. package/dist/chunks/{usage-limits-qah7t4da.js → persistent-pty-p9jvgf3w.js} +6 -6
  243. package/dist/chunks/{usage-limits-wfdx5ztx.js → persistent-pty-pb8daj1x.js} +14 -5
  244. package/dist/chunks/{usage-limits-hjhzj75t.js → persistent-pty-pfbhb58w.js} +146 -44
  245. package/dist/chunks/{usage-limits-v73ga3me.js → persistent-pty-pfndqkpz.js} +31 -31
  246. package/dist/chunks/{usage-limits-qw6m5vap.js → persistent-pty-pg5jck48.js} +11 -11
  247. package/dist/chunks/{usage-limits-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  248. package/dist/chunks/{usage-limits-42p2d32x.js → persistent-pty-ppsbp1qn.js} +15 -15
  249. package/dist/chunks/{usage-limits-q9s971fk.js → persistent-pty-pzy7y2j2.js} +19 -19
  250. package/dist/chunks/{usage-limits-ffv17rwk.js → persistent-pty-q0xawjdj.js} +3 -3
  251. package/dist/chunks/persistent-pty-q1mqkmnx.js +273 -0
  252. package/dist/chunks/{usage-limits-wn13ypz9.js → persistent-pty-q3dkjkk5.js} +15 -15
  253. package/dist/chunks/{usage-limits-1jh4g484.js → persistent-pty-q4aadatb.js} +13 -13
  254. package/dist/chunks/{usage-limits-jyf1m81b.js → persistent-pty-q69esqp1.js} +23 -23
  255. package/dist/chunks/{usage-limits-vz8yk5dt.js → persistent-pty-qfgdng4e.js} +3 -3
  256. package/dist/chunks/{usage-limits-q2t4f8zk.js → persistent-pty-qhbx12za.js} +10 -10
  257. package/dist/chunks/{usage-limits-xx0bwd8h.js → persistent-pty-qhyv5122.js} +33 -33
  258. package/dist/chunks/{usage-limits-qp7r0hxv.js → persistent-pty-qp7r0hxv.js} +1 -1
  259. package/dist/chunks/{usage-limits-n6k0bagf.js → persistent-pty-qqsphv3g.js} +34 -34
  260. package/dist/chunks/{usage-limits-m07x43ss.js → persistent-pty-qxagq6p8.js} +9 -9
  261. package/dist/chunks/{usage-limits-5enarcya.js → persistent-pty-r41sfy63.js} +9 -9
  262. package/dist/chunks/{usage-limits-9w9varqp.js → persistent-pty-ra7b1vmx.js} +34 -34
  263. package/dist/chunks/{usage-limits-rb9dy4dg.js → persistent-pty-rb9dy4dg.js} +1 -1
  264. package/dist/chunks/{usage-limits-rgc9cx3e.js → persistent-pty-rgc9cx3e.js} +2 -2
  265. package/dist/chunks/{usage-limits-p3nfbtvb.js → persistent-pty-rmh25tnk.js} +12 -12
  266. package/dist/chunks/{usage-limits-9n5f64nr.js → persistent-pty-rn9cpdem.js} +28 -28
  267. package/dist/chunks/{usage-limits-91fd3s93.js → persistent-pty-rw4j4fc0.js} +5 -5
  268. package/dist/chunks/{usage-limits-2p60zmnr.js → persistent-pty-s1ba0vj0.js} +2 -2
  269. package/dist/chunks/{usage-limits-3e5a50ew.js → persistent-pty-s2am029e.js} +22 -22
  270. package/dist/chunks/{usage-limits-5whx36p1.js → persistent-pty-s47rahr7.js} +4 -4
  271. package/dist/chunks/{usage-limits-qhbe3ak7.js → persistent-pty-s8qkskz1.js} +7 -7
  272. package/dist/chunks/{usage-limits-sbya78hr.js → persistent-pty-sbya78hr.js} +1 -1
  273. package/dist/chunks/{usage-limits-gh3tqavf.js → persistent-pty-sq0tbe5w.js} +11 -11
  274. package/dist/chunks/{usage-limits-svcy3p9a.js → persistent-pty-svcy3p9a.js} +1 -1
  275. package/dist/chunks/{usage-limits-9q7f1dnx.js → persistent-pty-t1dd3zqa.js} +6 -6
  276. package/dist/chunks/{usage-limits-sf7z16qf.js → persistent-pty-t3qxs7f5.js} +9 -9
  277. package/dist/chunks/{usage-limits-nq1mg43n.js → persistent-pty-t48jrnqq.js} +3 -3
  278. package/dist/chunks/{usage-limits-13g31adg.js → persistent-pty-t4z9p5b8.js} +9 -9
  279. package/dist/chunks/{usage-limits-m7bb3gwb.js → persistent-pty-t5k0t6ys.js} +8 -8
  280. package/dist/chunks/{usage-limits-t62dywgn.js → persistent-pty-t62dywgn.js} +1 -1
  281. package/dist/chunks/{usage-limits-x4qkf6h2.js → persistent-pty-t67npm6c.js} +21 -21
  282. package/dist/chunks/{usage-limits-ea2m5hc4.js → persistent-pty-ta7amrd8.js} +5 -5
  283. package/dist/chunks/{usage-limits-tbpn7jtk.js → persistent-pty-tbpn7jtk.js} +1 -1
  284. package/dist/chunks/{usage-limits-tczq8hjw.js → persistent-pty-tczq8hjw.js} +1 -1
  285. package/dist/chunks/{usage-limits-grnwbwna.js → persistent-pty-tdjfqr95.js} +11 -11
  286. package/dist/chunks/{usage-limits-qh3gs631.js → persistent-pty-teyezz5v.js} +27 -27
  287. package/dist/chunks/{usage-limits-gxs71cxp.js → persistent-pty-tg7s7b5t.js} +4 -4
  288. package/dist/chunks/{usage-limits-1yrs5r5s.js → persistent-pty-tq501wp9.js} +3 -3
  289. package/dist/chunks/{usage-limits-tvtps2q9.js → persistent-pty-tvtps2q9.js} +1 -1
  290. package/dist/chunks/{usage-limits-4vk5s36p.js → persistent-pty-twbmbqg9.js} +11 -11
  291. package/dist/chunks/{usage-limits-twssxy5n.js → persistent-pty-twssxy5n.js} +2 -2
  292. package/dist/chunks/{usage-limits-rkj43f4z.js → persistent-pty-txaz18nt.js} +6 -6
  293. package/dist/chunks/{usage-limits-zt2mz163.js → persistent-pty-txhfg7az.js} +31 -31
  294. package/dist/chunks/{usage-limits-y3sw9ykq.js → persistent-pty-v07x4jg1.js} +16 -16
  295. package/dist/chunks/{usage-limits-hgyfjph1.js → persistent-pty-v0p8fkzz.js} +14 -14
  296. package/dist/chunks/{usage-limits-qra2yhaf.js → persistent-pty-v186fz10.js} +11 -11
  297. package/dist/chunks/{usage-limits-m8rxqpkg.js → persistent-pty-v1hqtkt1.js} +3 -3
  298. package/dist/chunks/{usage-limits-bhmrqjy3.js → persistent-pty-v2dnd5dt.js} +91 -43
  299. package/dist/chunks/{usage-limits-v2r1d0zg.js → persistent-pty-v2r1d0zg.js} +1 -1
  300. package/dist/chunks/{usage-limits-1h178xsr.js → persistent-pty-v73g02es.js} +18 -18
  301. package/dist/chunks/{usage-limits-45n8x791.js → persistent-pty-vaz51hez.js} +3 -3
  302. package/dist/chunks/{usage-limits-vjf35v1f.js → persistent-pty-vjf35v1f.js} +1 -1
  303. package/dist/chunks/{usage-limits-5p8ng2jk.js → persistent-pty-vmhkvkjy.js} +5 -5
  304. package/dist/chunks/{usage-limits-20pht57w.js → persistent-pty-vmqe41cb.js} +4 -4
  305. package/dist/chunks/{usage-limits-cr4rfj9z.js → persistent-pty-vmxsyvj6.js} +4 -4
  306. package/dist/chunks/{usage-limits-4c54bdmv.js → persistent-pty-vrn9h1g0.js} +12 -12
  307. package/dist/chunks/{usage-limits-dg5naf6e.js → persistent-pty-vt2d6wap.js} +4 -4
  308. package/dist/chunks/{usage-limits-0p1t9ayv.js → persistent-pty-w19fy49x.js} +15 -15
  309. package/dist/chunks/{usage-limits-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  310. package/dist/chunks/{usage-limits-vjf1wnjw.js → persistent-pty-w8rr6c7d.js} +30 -30
  311. package/dist/chunks/{usage-limits-wakvkjy4.js → persistent-pty-wakvkjy4.js} +1 -1
  312. package/dist/chunks/{usage-limits-00tzm6xw.js → persistent-pty-wb5wsb2j.js} +8 -8
  313. package/dist/chunks/{usage-limits-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  314. package/dist/chunks/{usage-limits-eqz858fr.js → persistent-pty-wedqffd6.js} +11 -11
  315. package/dist/chunks/{usage-limits-db48qj7n.js → persistent-pty-wgap4h5r.js} +16 -16
  316. package/dist/chunks/{usage-limits-k50gg9mr.js → persistent-pty-wgkargf7.js} +5 -5
  317. package/dist/chunks/{usage-limits-007v2xwb.js → persistent-pty-wgtcexd1.js} +11 -11
  318. package/dist/chunks/{usage-limits-adfw2kqv.js → persistent-pty-wrexcg9h.js} +123 -93
  319. package/dist/chunks/{usage-limits-krqy0qqf.js → persistent-pty-wrwtw7ga.js} +22 -22
  320. package/dist/chunks/{usage-limits-ar7h7cxw.js → persistent-pty-wywdv46c.js} +9 -9
  321. package/dist/chunks/{usage-limits-89zxy6kj.js → persistent-pty-x23x0wry.js} +4 -4
  322. package/dist/chunks/{usage-limits-sjt0mtq1.js → persistent-pty-x50d9hj1.js} +25 -25
  323. package/dist/chunks/{usage-limits-qa2jv7nb.js → persistent-pty-x58n5ad0.js} +22 -22
  324. package/dist/chunks/{usage-limits-xacrkbdt.js → persistent-pty-xacrkbdt.js} +1 -1
  325. package/dist/chunks/{usage-limits-xfrnyd0a.js → persistent-pty-xfrnyd0a.js} +3 -3
  326. package/dist/chunks/{usage-limits-xxschbft.js → persistent-pty-xjr6c8m4.js} +4 -4
  327. package/dist/chunks/{usage-limits-gkqyq5r9.js → persistent-pty-xqf1esm3.js} +15 -15
  328. package/dist/chunks/{usage-limits-n320gsn2.js → persistent-pty-xvn8mnch.js} +4 -4
  329. package/dist/chunks/{usage-limits-xz07m27x.js → persistent-pty-xz07m27x.js} +2 -2
  330. package/dist/chunks/{usage-limits-ejgeqqx1.js → persistent-pty-y1m2rnym.js} +8 -8
  331. package/dist/chunks/{usage-limits-sfrpj36e.js → persistent-pty-y1y23t3y.js} +30 -30
  332. package/dist/chunks/{usage-limits-hvd5tw3z.js → persistent-pty-y2w37hak.js} +13 -13
  333. package/dist/chunks/{usage-limits-6529fwjr.js → persistent-pty-y41qxc5h.js} +177 -177
  334. package/dist/chunks/{usage-limits-a4ycrxnw.js → persistent-pty-y97mqv4w.js} +11 -11
  335. package/dist/chunks/{usage-limits-yb20nhc3.js → persistent-pty-yb20nhc3.js} +1 -1
  336. package/dist/chunks/{usage-limits-qf9gv2d2.js → persistent-pty-yph8mn9x.js} +19 -19
  337. package/dist/chunks/{usage-limits-mcxvs31m.js → persistent-pty-yqx1adnq.js} +8 -8
  338. package/dist/chunks/{usage-limits-yr705xyq.js → persistent-pty-yr705xyq.js} +1 -1
  339. package/dist/chunks/{usage-limits-yvtc2x31.js → persistent-pty-yvtc2x31.js} +1 -1
  340. package/dist/chunks/{usage-limits-y32xxt00.js → persistent-pty-ywh3xphk.js} +4 -4
  341. package/dist/chunks/{usage-limits-9dckqgd9.js → persistent-pty-yy55rm4m.js} +13 -13
  342. package/dist/chunks/{usage-limits-kkshxp48.js → persistent-pty-z513bby0.js} +16 -16
  343. package/dist/chunks/{usage-limits-ac1r7wtz.js → persistent-pty-z748rwvz.js} +47 -47
  344. package/dist/chunks/{usage-limits-gtg5artq.js → persistent-pty-z89td5m9.js} +10 -10
  345. package/dist/chunks/{usage-limits-204d346f.js → persistent-pty-zg7tww6y.js} +8 -8
  346. package/dist/chunks/{usage-limits-8aq22acg.js → persistent-pty-zhqvvmqm.js} +8 -8
  347. package/dist/chunks/{usage-limits-kzb30q6z.js → persistent-pty-znnqj7m1.js} +16 -16
  348. package/dist/chunks/{usage-limits-z67zmw03.js → persistent-pty-zzha20a8.js} +39 -39
  349. package/dist/codemode/catalog.js +1 -1
  350. package/dist/codemode/execution.js +3 -3
  351. package/dist/codemode/fetch.js +149 -149
  352. package/dist/codemode/instructions.js +5 -5
  353. package/dist/codemode/tool.js +156 -156
  354. package/dist/command.js +92 -92
  355. package/dist/config/discovery.js +95 -95
  356. package/dist/config/integration.js +1 -1
  357. package/dist/config/managed.js +1 -1
  358. package/dist/config/markdown.js +1 -1
  359. package/dist/config/normalize.js +113 -113
  360. package/dist/config/plugin/agent.js +134 -134
  361. package/dist/config/plugin/command.js +242 -242
  362. package/dist/config/plugin/compaction.js +174 -174
  363. package/dist/config/plugin/compatibility.js +154 -154
  364. package/dist/config/plugin/entry-observer.js +1 -1
  365. package/dist/config/plugin/formatter.js +132 -132
  366. package/dist/config/plugin/image.js +131 -131
  367. package/dist/config/plugin/instruction.js +131 -131
  368. package/dist/config/plugin/location-watcher.js +133 -133
  369. package/dist/config/plugin/mcp.js +146 -146
  370. package/dist/config/plugin/policy.js +131 -131
  371. package/dist/config/plugin/provider.js +131 -131
  372. package/dist/config/plugin/reference.js +133 -133
  373. package/dist/config/plugin/shell.js +133 -133
  374. package/dist/config/plugin/skill-file.js +150 -150
  375. package/dist/config/plugin/skill-scan.js +1 -1
  376. package/dist/config/plugin/skill.js +157 -157
  377. package/dist/config/plugin/snapshot.js +131 -131
  378. package/dist/config/plugin/source.js +135 -135
  379. package/dist/config/plugin/tool-output.js +132 -132
  380. package/dist/config/plugin/websearch.js +132 -132
  381. package/dist/config/plugin/worktree.js +133 -133
  382. package/dist/config/variable.js +1 -1
  383. package/dist/config/watch.js +1 -1
  384. package/dist/config.js +126 -126
  385. package/dist/console-access.js +1 -1
  386. package/dist/credential/sql.js +2 -2
  387. package/dist/credential.js +90 -90
  388. package/dist/database/batch.js +1 -1
  389. package/dist/database/database.js +77 -77
  390. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  391. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  392. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  393. package/dist/database/drizzle/index.js +15 -15
  394. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  395. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  397. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  398. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  399. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  400. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  401. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  402. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  403. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  404. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  405. package/dist/database/drizzle.js +16 -16
  406. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  407. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  408. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  409. package/dist/database/migration/20260225215848_workspace.js +1 -1
  410. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  411. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  412. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  413. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  414. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  415. package/dist/database/migration/20260323234822_events.js +1 -1
  416. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  417. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  418. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  419. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  420. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  421. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  422. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  423. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  424. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  425. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  426. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  427. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  428. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  429. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  430. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  431. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  432. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  433. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  434. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  435. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  436. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  437. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  438. package/dist/database/migration/20260611035744_credential.js +1 -1
  439. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  440. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  441. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  442. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  443. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  444. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  445. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  446. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  447. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  448. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  449. package/dist/database/migration/20260812213948_worktree.js +1 -1
  450. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  451. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  452. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  453. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  454. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  455. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  456. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  457. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  458. package/dist/database/migration/20261025123711_blob.js +1 -1
  459. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  460. package/dist/database/migration/20261026223005_schedule.js +1 -1
  461. package/dist/database/migration/20261029002625_session_part.js +1 -1
  462. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  463. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  464. package/dist/database/migration/20261030054400_job.js +1 -1
  465. package/dist/database/migration.gen.js +60 -60
  466. package/dist/database/migration.js +76 -76
  467. package/dist/database/path.js +2 -2
  468. package/dist/database/schema.gen.js +1 -1
  469. package/dist/database/schema.sql.js +1 -1
  470. package/dist/database/v1-migration.bun.js +105 -105
  471. package/dist/effect/app-node-builder.js +442 -442
  472. package/dist/effect/app-node-platform.js +2 -2
  473. package/dist/effect/keyed-mutex.js +3 -3
  474. package/dist/effect/websocket-constructor.js +1 -1
  475. package/dist/environment/driver.js +1 -1
  476. package/dist/environment/environment.js +105 -105
  477. package/dist/environment/exec-defaults.js +2 -2
  478. package/dist/environment/files.js +1 -1
  479. package/dist/environment/index.js +109 -109
  480. package/dist/environment/local.js +2 -2
  481. package/dist/environment/memory.js +2 -2
  482. package/dist/environment/unavailable.js +3 -3
  483. package/dist/event/sql.js +1 -1
  484. package/dist/event-logger.js +81 -81
  485. package/dist/file-access.js +161 -161
  486. package/dist/file-mutation.js +108 -108
  487. package/dist/file-retention.js +1 -1
  488. package/dist/file-write.js +165 -165
  489. package/dist/filesystem/fff.bun.js +2 -2
  490. package/dist/filesystem/fff.js +1 -1
  491. package/dist/filesystem/fff.node.js +2 -2
  492. package/dist/filesystem/fff.workerd.js +2 -2
  493. package/dist/filesystem/file-watch.js +84 -84
  494. package/dist/filesystem/location-watcher-policy.js +6 -6
  495. package/dist/filesystem/location-watcher.js +255 -255
  496. package/dist/filesystem/protected.js +1 -1
  497. package/dist/filesystem/search.js +111 -111
  498. package/dist/filesystem/watcher-binding.js +1 -1
  499. package/dist/filesystem/watcher.js +3 -3
  500. package/dist/filesystem.js +116 -116
  501. package/dist/flag.js +132 -132
  502. package/dist/form.js +87 -87
  503. package/dist/formatter/builtins.js +4 -4
  504. package/dist/formatter.js +100 -100
  505. package/dist/generate.js +119 -119
  506. package/dist/git.js +11 -11
  507. package/dist/github-copilot/models.js +105 -105
  508. package/dist/image/notice.js +1 -1
  509. package/dist/image/photon-normalize.js +1 -1
  510. package/dist/image/photon-worker.js +1 -1
  511. package/dist/image/photon.js +4 -4
  512. package/dist/image.js +6 -6
  513. package/dist/instance/service.js +5 -5
  514. package/dist/instance.js +433 -433
  515. package/dist/instruction-discovery.js +91 -91
  516. package/dist/instructions/builtins.js +100 -100
  517. package/dist/instructions/index.js +1 -1
  518. package/dist/integration/connection.js +3 -3
  519. package/dist/integration.js +94 -94
  520. package/dist/job/list.js +5 -5
  521. package/dist/job/recovery.js +2 -2
  522. package/dist/job/sql.js +2 -2
  523. package/dist/job.js +88 -88
  524. package/dist/kv/sql.js +2 -2
  525. package/dist/kv.js +84 -84
  526. package/dist/location-activity.js +181 -181
  527. package/dist/location-lifecycle.js +154 -154
  528. package/dist/location-service-map.js +99 -99
  529. package/dist/location-services.js +430 -430
  530. package/dist/location.js +100 -100
  531. package/dist/managed-policy.js +3 -3
  532. package/dist/mcp/client.js +159 -159
  533. package/dist/mcp/connection.js +104 -104
  534. package/dist/mcp/index.js +118 -118
  535. package/dist/mcp/instructions.js +190 -190
  536. package/dist/mcp/oauth.js +86 -86
  537. package/dist/mcp/pool.js +110 -110
  538. package/dist/mcp/socket-client.js +1 -1
  539. package/dist/mcp/stdio.js +158 -158
  540. package/dist/mime.js +1 -1
  541. package/dist/modal/models.js +105 -105
  542. package/dist/model-resolver.js +113 -113
  543. package/dist/model-retry.js +1 -1
  544. package/dist/model.js +114 -114
  545. package/dist/models-dev/v1.js +1 -1
  546. package/dist/models-dev.js +118 -118
  547. package/dist/oauth/page.js +1 -1
  548. package/dist/permission/saved.js +87 -87
  549. package/dist/permission/sql.js +5 -5
  550. package/dist/permission.js +151 -151
  551. package/dist/persistent-pty/binary.bun.js +1 -1
  552. package/dist/persistent-pty/daemon.js +5 -3
  553. package/dist/persistent-pty/index.js +97 -93
  554. package/dist/persistent-pty/pty-binding.js +1 -1
  555. package/dist/persistent-pty.js +86 -86
  556. package/dist/plugin/agent.js +87 -87
  557. package/dist/plugin/command.js +119 -119
  558. package/dist/plugin/goal.js +3 -3
  559. package/dist/plugin/hooks.js +5 -5
  560. package/dist/plugin/host.js +246 -246
  561. package/dist/plugin/identity.js +5 -5
  562. package/dist/plugin/instance.js +1 -1
  563. package/dist/plugin/internal.js +409 -409
  564. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  565. package/dist/plugin/models-dev.js +111 -111
  566. package/dist/plugin/module.js +130 -130
  567. package/dist/plugin/optimize.js +2 -2
  568. package/dist/plugin/plan.js +150 -150
  569. package/dist/plugin/promise.js +1 -1
  570. package/dist/plugin/provider/amazon-bedrock.js +107 -107
  571. package/dist/plugin/provider/azure.js +134 -134
  572. package/dist/plugin/provider/cerebras.js +1 -1
  573. package/dist/plugin/provider/chatgpt.js +134 -134
  574. package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
  575. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  576. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  577. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  578. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  579. package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
  580. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  581. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  582. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  583. package/dist/plugin/provider/claude-agent/index.js +149 -149
  584. package/dist/plugin/provider/claude-agent/instructions.js +113 -113
  585. package/dist/plugin/provider/claude-agent/integration.js +114 -114
  586. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  587. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  588. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  589. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  590. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  591. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  592. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  593. package/dist/plugin/provider/claude-agent/provider.js +111 -111
  594. package/dist/plugin/provider/claude-agent/session.js +111 -111
  595. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  596. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  597. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  598. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  599. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  600. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  601. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  602. package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
  603. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  604. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  605. package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
  606. package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
  607. package/dist/plugin/provider/configured.js +127 -127
  608. package/dist/plugin/provider/credential-settings.js +88 -88
  609. package/dist/plugin/provider/databricks.js +1 -1
  610. package/dist/plugin/provider/digitalocean.js +110 -110
  611. package/dist/plugin/provider/dynamic.js +2 -2
  612. package/dist/plugin/provider/github-copilot.js +112 -112
  613. package/dist/plugin/provider/gitlab.js +110 -110
  614. package/dist/plugin/provider/google-vertex.js +128 -128
  615. package/dist/plugin/provider/kilo.js +1 -1
  616. package/dist/plugin/provider/llmgateway.js +89 -89
  617. package/dist/plugin/provider/lmstudio.js +141 -141
  618. package/dist/plugin/provider/local.js +138 -138
  619. package/dist/plugin/provider/modal.js +109 -109
  620. package/dist/plugin/provider/neon.js +1 -1
  621. package/dist/plugin/provider/nvidia.js +1 -1
  622. package/dist/plugin/provider/ollama.js +141 -141
  623. package/dist/plugin/provider/openai-context-caps.js +107 -107
  624. package/dist/plugin/provider/openai.js +134 -134
  625. package/dist/plugin/provider/opencode-watches.js +4 -4
  626. package/dist/plugin/provider/opencode.js +162 -162
  627. package/dist/plugin/provider/openrouter.js +105 -105
  628. package/dist/plugin/provider/poe.js +90 -90
  629. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  630. package/dist/plugin/provider/refresh.js +87 -87
  631. package/dist/plugin/provider/sap-ai-core.js +105 -105
  632. package/dist/plugin/provider/sdk-factory.js +1 -1
  633. package/dist/plugin/provider/snowflake-cortex.js +132 -132
  634. package/dist/plugin/provider/vllm.js +141 -141
  635. package/dist/plugin/provider/xai.js +105 -105
  636. package/dist/plugin/provider/zenmux.js +1 -1
  637. package/dist/plugin/provider.js +240 -240
  638. package/dist/plugin/sdk.js +87 -87
  639. package/dist/plugin/service.js +3 -3
  640. package/dist/plugin/skill.js +151 -151
  641. package/dist/plugin/source-directory.js +1 -1
  642. package/dist/plugin/supervisor.js +419 -419
  643. package/dist/plugin/tool-input-repair.js +4 -4
  644. package/dist/plugin/update.js +6 -6
  645. package/dist/plugin/vcs/git.js +99 -99
  646. package/dist/plugin/vcs/hg.js +99 -99
  647. package/dist/plugin/verbosity.js +107 -107
  648. package/dist/plugin/warming.js +129 -129
  649. package/dist/plugin/websearch/exa.js +8 -8
  650. package/dist/plugin/websearch/firecrawl.js +7 -7
  651. package/dist/plugin/websearch/index.js +10 -10
  652. package/dist/plugin/websearch/mcp.js +6 -6
  653. package/dist/plugin/websearch/parallel.js +9 -9
  654. package/dist/plugin/websearch/provider.js +3 -3
  655. package/dist/plugin/websearch/tavily.js +7 -7
  656. package/dist/plugin/websearch/tinyfish.js +7 -7
  657. package/dist/plugin.js +253 -253
  658. package/dist/project/icon.js +5 -5
  659. package/dist/project/schema.js +8 -8
  660. package/dist/project/sql.js +4 -4
  661. package/dist/project.js +101 -101
  662. package/dist/provider.js +113 -113
  663. package/dist/pty/protocol.js +1 -1
  664. package/dist/pty/ticket.js +1 -1
  665. package/dist/pty.js +111 -111
  666. package/dist/reference/instructions.js +101 -101
  667. package/dist/reference.js +97 -97
  668. package/dist/repository-cache.js +93 -93
  669. package/dist/repository.js +1 -1
  670. package/dist/ripgrep/binary.js +2 -2
  671. package/dist/ripgrep.js +109 -109
  672. package/dist/rpc.js +99 -99
  673. package/dist/schedule/check.js +251 -251
  674. package/dist/schedule/sql.js +6 -6
  675. package/dist/schedule.js +265 -265
  676. package/dist/schema.js +1 -1
  677. package/dist/session/affinity.js +1 -1
  678. package/dist/session/background.js +1 -1
  679. package/dist/session/blob.js +133 -133
  680. package/dist/session/command.js +85 -85
  681. package/dist/session/compaction.js +176 -176
  682. package/dist/session/context.js +206 -206
  683. package/dist/session/diff.js +101 -101
  684. package/dist/session/environment.js +5 -5
  685. package/dist/session/error.js +3 -3
  686. package/dist/session/event.js +1 -1
  687. package/dist/session/execution/restart.js +249 -249
  688. package/dist/session/execution.js +170 -170
  689. package/dist/session/generate.js +206 -206
  690. package/dist/session/history.js +140 -140
  691. package/dist/session/inbox.js +151 -151
  692. package/dist/session/info.js +3 -3
  693. package/dist/session/instruction-entry.js +88 -88
  694. package/dist/session/instruction-state.js +8 -8
  695. package/dist/session/instructions.js +147 -147
  696. package/dist/session/message-updater.js +2 -2
  697. package/dist/session/message.js +1 -1
  698. package/dist/session/model-request.js +172 -172
  699. package/dist/session/model-transport.js +9 -9
  700. package/dist/session/move.js +172 -172
  701. package/dist/session/projector.js +147 -147
  702. package/dist/session/prompt.js +152 -152
  703. package/dist/session/recent-text.js +1 -1
  704. package/dist/session/revert.js +143 -143
  705. package/dist/session/run-coordinator.js +3 -3
  706. package/dist/session/runner/index.js +3 -3
  707. package/dist/session/runner/llm.js +257 -257
  708. package/dist/session/runner/max-steps.js +1 -1
  709. package/dist/session/runner/model.js +115 -115
  710. package/dist/session/runner/publish-llm-event.js +154 -154
  711. package/dist/session/runner/retry.js +5 -5
  712. package/dist/session/runner/step.js +165 -165
  713. package/dist/session/runner/to-llm-message.js +141 -141
  714. package/dist/session/schema.js +5 -5
  715. package/dist/session/session.js +187 -187
  716. package/dist/session/shell.js +146 -146
  717. package/dist/session/skill.js +151 -151
  718. package/dist/session/sql.js +5 -5
  719. package/dist/session/stats.js +85 -85
  720. package/dist/session/store.js +146 -146
  721. package/dist/session/stored.js +2 -2
  722. package/dist/session/subagent-completion.js +1 -1
  723. package/dist/session/subagent-job.js +235 -235
  724. package/dist/session/system-prompt.js +1 -1
  725. package/dist/session/title.js +204 -204
  726. package/dist/session/to-session-error.js +153 -153
  727. package/dist/session/transfer.js +249 -249
  728. package/dist/session/usage.js +1 -1
  729. package/dist/session.js +241 -241
  730. package/dist/shared-cache.js +5 -5
  731. package/dist/shell/parse.js +6 -6
  732. package/dist/shell/result.js +3 -1
  733. package/dist/shell/scan.js +1 -1
  734. package/dist/shell/select.js +9 -9
  735. package/dist/shell.js +146 -146
  736. package/dist/skill/discovery.js +2 -2
  737. package/dist/skill/instructions.js +155 -155
  738. package/dist/skill.js +156 -156
  739. package/dist/snapshot.js +104 -104
  740. package/dist/state.js +1 -1
  741. package/dist/tool/html-markdown.js +1 -1
  742. package/dist/tool/http-body.js +1 -1
  743. package/dist/tool/mcp.js +189 -189
  744. package/dist/tool/plugin/artifact.js +238 -238
  745. package/dist/tool/plugin/edit.js +171 -171
  746. package/dist/tool/plugin/file-diff.js +1 -1
  747. package/dist/tool/plugin/glob.js +173 -173
  748. package/dist/tool/plugin/grep.js +174 -174
  749. package/dist/tool/plugin/image-generate.js +249 -249
  750. package/dist/tool/plugin/mcp-resource.js +170 -170
  751. package/dist/tool/plugin/opencode.js +167 -167
  752. package/dist/tool/plugin/patch.js +170 -170
  753. package/dist/tool/plugin/question.js +150 -150
  754. package/dist/tool/plugin/read.js +176 -176
  755. package/dist/tool/plugin/schedule.js +257 -257
  756. package/dist/tool/plugin/shell.js +241 -241
  757. package/dist/tool/plugin/skill.js +159 -159
  758. package/dist/tool/plugin/subagent.js +244 -244
  759. package/dist/tool/plugin/todo.js +157 -157
  760. package/dist/tool/plugin/webfetch.js +159 -159
  761. package/dist/tool/plugin/websearch.js +159 -159
  762. package/dist/tool/plugin/write.js +172 -172
  763. package/dist/tool/read-filesystem.js +114 -114
  764. package/dist/tool/runtime.js +1 -1
  765. package/dist/tool/search.js +109 -109
  766. package/dist/tool-output.js +7 -7
  767. package/dist/tool.js +164 -164
  768. package/dist/types/persistent-pty/daemon.d.ts +691 -231
  769. package/dist/types/persistent-pty/index.d.ts +77 -8
  770. package/dist/types/session/run-coordinator.d.ts +2 -0
  771. package/dist/types/session/runner/index.d.ts +2 -0
  772. package/dist/types/session/runner/step.d.ts +2 -0
  773. package/dist/types/shell/result.d.ts +5 -0
  774. package/dist/types/shell.d.ts +5 -1
  775. package/dist/types/tool.d.ts +2 -0
  776. package/dist/usage-limits.js +100 -100
  777. package/dist/util/error-summary.js +1 -1
  778. package/dist/util/git-executable.js +3 -3
  779. package/dist/util/lazy.js +1 -1
  780. package/dist/util/slug.js +1 -1
  781. package/dist/util/token.js +1 -1
  782. package/dist/util/which.js +1 -1
  783. package/dist/util/wildcard.js +1 -1
  784. package/dist/v1/config/agent.js +7 -7
  785. package/dist/v1/config/command.js +3 -3
  786. package/dist/v1/config/mcp.js +2 -2
  787. package/dist/v1/config/migrate.js +106 -106
  788. package/dist/v1/config/permission.js +3 -3
  789. package/dist/v1/config/plugin.js +1 -1
  790. package/dist/v1/config/provider-options.js +1 -1
  791. package/dist/v1/config/provider.js +4 -4
  792. package/dist/variant.js +105 -105
  793. package/dist/vcs/patch.js +1 -1
  794. package/dist/vcs.js +100 -100
  795. package/dist/voice.js +101 -101
  796. package/dist/websearch.js +91 -91
  797. package/dist/wellknown/plugin.js +87 -87
  798. package/dist/wellknown.js +86 -86
  799. package/dist/workspace/driver.js +3 -3
  800. package/dist/workspace/sql.js +1 -1
  801. package/dist/workspace.js +89 -89
  802. package/dist/worktree/directory.js +2 -2
  803. package/dist/worktree/git.js +9 -9
  804. package/dist/worktree/sql.js +5 -5
  805. package/dist/worktree/strategies.js +98 -98
  806. package/dist/worktree.js +105 -105
  807. package/package.json +9 -9
  808. package/dist/chunks/usage-limits-67zk70a4.js +0 -273
  809. package/dist/chunks/usage-limits-cs4r3jr9.js +0 -577
  810. package/dist/chunks/usage-limits-grzehpz7.js +0 -18
  811. /package/dist/chunks/{usage-limits-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  812. /package/dist/chunks/{usage-limits-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  813. /package/dist/chunks/{usage-limits-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  814. /package/dist/chunks/{usage-limits-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  815. /package/dist/chunks/{usage-limits-1kah00gy.js → persistent-pty-1kah00gy.js} +0 -0
  816. /package/dist/chunks/{usage-limits-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  817. /package/dist/chunks/{usage-limits-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  818. /package/dist/chunks/{usage-limits-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  819. /package/dist/chunks/{usage-limits-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  820. /package/dist/chunks/{usage-limits-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  821. /package/dist/chunks/{usage-limits-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  822. /package/dist/chunks/{usage-limits-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  823. /package/dist/chunks/{usage-limits-4qk9sjk2.js → persistent-pty-4qk9sjk2.js} +0 -0
  824. /package/dist/chunks/{usage-limits-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  825. /package/dist/chunks/{usage-limits-5w3e23ze.js → persistent-pty-5w3e23ze.js} +0 -0
  826. /package/dist/chunks/{usage-limits-6agm2x70.js → persistent-pty-6agm2x70.js} +0 -0
  827. /package/dist/chunks/{usage-limits-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  828. /package/dist/chunks/{usage-limits-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
  829. /package/dist/chunks/{usage-limits-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  830. /package/dist/chunks/{usage-limits-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  831. /package/dist/chunks/{usage-limits-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  832. /package/dist/chunks/{usage-limits-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
  833. /package/dist/chunks/{usage-limits-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  834. /package/dist/chunks/{usage-limits-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  835. /package/dist/chunks/{usage-limits-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
  836. /package/dist/chunks/{usage-limits-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  837. /package/dist/chunks/{usage-limits-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  838. /package/dist/chunks/{usage-limits-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  839. /package/dist/chunks/{usage-limits-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  840. /package/dist/chunks/{usage-limits-beh6qq61.js → persistent-pty-beh6qq61.js} +0 -0
  841. /package/dist/chunks/{usage-limits-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  842. /package/dist/chunks/{usage-limits-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  843. /package/dist/chunks/{usage-limits-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  844. /package/dist/chunks/{usage-limits-cqv5kn06.js → persistent-pty-cqv5kn06.js} +0 -0
  845. /package/dist/chunks/{usage-limits-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  846. /package/dist/chunks/{usage-limits-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  847. /package/dist/chunks/{usage-limits-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  848. /package/dist/chunks/{usage-limits-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  849. /package/dist/chunks/{usage-limits-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  850. /package/dist/chunks/{usage-limits-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  851. /package/dist/chunks/{usage-limits-ean2d8b5.js → persistent-pty-ean2d8b5.js} +0 -0
  852. /package/dist/chunks/{usage-limits-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  853. /package/dist/chunks/{usage-limits-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  854. /package/dist/chunks/{usage-limits-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  855. /package/dist/chunks/{usage-limits-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  856. /package/dist/chunks/{usage-limits-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  857. /package/dist/chunks/{usage-limits-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  858. /package/dist/chunks/{usage-limits-fkpq3x5p.js → persistent-pty-fkpq3x5p.js} +0 -0
  859. /package/dist/chunks/{usage-limits-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  860. /package/dist/chunks/{usage-limits-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  861. /package/dist/chunks/{usage-limits-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  862. /package/dist/chunks/{usage-limits-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
  863. /package/dist/chunks/{usage-limits-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  864. /package/dist/chunks/{usage-limits-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  865. /package/dist/chunks/{usage-limits-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  866. /package/dist/chunks/{usage-limits-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  867. /package/dist/chunks/{usage-limits-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  868. /package/dist/chunks/{usage-limits-jwr30sdr.js → persistent-pty-jwr30sdr.js} +0 -0
  869. /package/dist/chunks/{usage-limits-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  870. /package/dist/chunks/{usage-limits-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
  871. /package/dist/chunks/{usage-limits-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  872. /package/dist/chunks/{usage-limits-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  873. /package/dist/chunks/{usage-limits-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  874. /package/dist/chunks/{usage-limits-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  875. /package/dist/chunks/{usage-limits-nh4v3znn.js → persistent-pty-nh4v3znn.js} +0 -0
  876. /package/dist/chunks/{usage-limits-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  877. /package/dist/chunks/{usage-limits-p71gwv9c.js → persistent-pty-p71gwv9c.js} +0 -0
  878. /package/dist/chunks/{usage-limits-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  879. /package/dist/chunks/{usage-limits-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  880. /package/dist/chunks/{usage-limits-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  881. /package/dist/chunks/{usage-limits-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  882. /package/dist/chunks/{usage-limits-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  883. /package/dist/chunks/{usage-limits-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  884. /package/dist/chunks/{usage-limits-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  885. /package/dist/chunks/{usage-limits-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  886. /package/dist/chunks/{usage-limits-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  887. /package/dist/chunks/{usage-limits-syrav9an.js → persistent-pty-syrav9an.js} +0 -0
  888. /package/dist/chunks/{usage-limits-t03h4f5z.js → persistent-pty-t03h4f5z.js} +0 -0
  889. /package/dist/chunks/{usage-limits-ty7weeps.js → persistent-pty-ty7weeps.js} +0 -0
  890. /package/dist/chunks/{usage-limits-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
  891. /package/dist/chunks/{usage-limits-vtarvj67.js → persistent-pty-vtarvj67.js} +0 -0
  892. /package/dist/chunks/{usage-limits-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  893. /package/dist/chunks/{usage-limits-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  894. /package/dist/chunks/{usage-limits-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  895. /package/dist/chunks/{usage-limits-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  896. /package/dist/chunks/{usage-limits-x4th4bpe.js → persistent-pty-x4th4bpe.js} +0 -0
  897. /package/dist/chunks/{usage-limits-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  898. /package/dist/chunks/{usage-limits-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  899. /package/dist/chunks/{usage-limits-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  900. /package/dist/chunks/{usage-limits-z0h12gs8.js → persistent-pty-z0h12gs8.js} +0 -0
  901. /package/dist/chunks/{usage-limits-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
  902. /package/dist/chunks/{usage-limits-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
  903. /package/dist/chunks/{usage-limits-zxpyjp51.js → persistent-pty-zxpyjp51.js} +0 -0
  904. /package/dist/chunks/{usage-limits-zz5vv3aq.js → persistent-pty-zz5vv3aq.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AGENT_OPTION2,
3
3
  INSTRUCTIONS_OPTION2
4
- } from "./usage-limits-20pht57w.js";
4
+ } from "./persistent-pty-vmqe41cb.js";
5
5
  import {
6
6
  ID3
7
- } from "./usage-limits-85sd3wwa.js";
7
+ } from "./persistent-pty-mjeqg7zk.js";
8
8
  import {
9
9
  __export
10
- } from "./usage-limits-9rqn6x4v.js";
10
+ } from "./persistent-pty-9rqn6x4v.js";
11
11
 
12
12
  // src/plugin/provider/claude-agent/instructions.ts
13
- var exports_instructions = {};
14
- __export(exports_instructions, {
15
- ClaudeInstructions: () => exports_instructions,
13
+ var exports_instructions2 = {};
14
+ __export(exports_instructions2, {
15
+ ClaudeInstructions: () => exports_instructions2,
16
16
  register: () => register5
17
17
  });
18
18
  import { Effect, Option, Schema } from "effect";
@@ -49,4 +49,4 @@ function instructions(system) {
49
49
  `);
50
50
  }
51
51
 
52
- export { register5, exports_instructions };
52
+ export { register5, exports_instructions2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./usage-limits-9rqn6x4v.js";
3
+ } from "./persistent-pty-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt2 = {};
@@ -1,115 +1,115 @@
1
1
  import {
2
2
  Service94,
3
3
  node96
4
- } from "./usage-limits-0xzz5bc5.js";
4
+ } from "./persistent-pty-nextbzqp.js";
5
5
  import {
6
- Service90,
7
- node92
8
- } from "./usage-limits-dbzr9wdf.js";
6
+ Service89,
7
+ node91
8
+ } from "./persistent-pty-7arz4r0c.js";
9
9
  import {
10
10
  VariantID2,
11
11
  Ref3,
12
- Service83,
13
- node85
14
- } from "./usage-limits-mfmt126m.js";
12
+ Service84,
13
+ node86
14
+ } from "./persistent-pty-7r8842f6.js";
15
15
  import {
16
- ID14,
17
- Service76,
18
- node78
19
- } from "./usage-limits-e3xbncmc.js";
16
+ ID22,
17
+ Service92,
18
+ node94
19
+ } from "./persistent-pty-8ym9cpdp.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./usage-limits-5zpqhmp2.js";
22
+ } from "./persistent-pty-530xg6vw.js";
23
23
  import {
24
24
  combine2
25
- } from "./usage-limits-t62dywgn.js";
25
+ } from "./persistent-pty-t62dywgn.js";
26
26
  import {
27
27
  entriesForRunner2
28
- } from "./usage-limits-gtg5artq.js";
28
+ } from "./persistent-pty-z89td5m9.js";
29
29
  import {
30
- Service74,
31
- node76
32
- } from "./usage-limits-xs8fxyyv.js";
30
+ Service75,
31
+ node77
32
+ } from "./persistent-pty-nfdebbev.js";
33
33
  import {
34
34
  merge2
35
- } from "./usage-limits-3aj095vc.js";
35
+ } from "./persistent-pty-jxswh7p3.js";
36
36
  import {
37
37
  make25
38
- } from "./usage-limits-pbr6dek6.js";
38
+ } from "./persistent-pty-9b5pg85y.js";
39
39
  import {
40
- Service60,
41
- node61
42
- } from "./usage-limits-kxvavz0b.js";
43
- import {
44
- Service36,
45
- node39
46
- } from "./usage-limits-32720cxc.js";
40
+ Service49,
41
+ node51
42
+ } from "./persistent-pty-7ecvj7xx.js";
47
43
  import {
48
- Service57,
49
- node58
50
- } from "./usage-limits-70rrpkbb.js";
44
+ Service30,
45
+ node34
46
+ } from "./persistent-pty-he60h9w2.js";
51
47
  import {
52
- Service55,
53
- node57
54
- } from "./usage-limits-cfh2c4vx.js";
48
+ Service60,
49
+ node61
50
+ } from "./persistent-pty-ktf53k0y.js";
55
51
  import {
56
- Service39,
57
- node42
58
- } from "./usage-limits-01zfkgbg.js";
52
+ Service58,
53
+ node60
54
+ } from "./persistent-pty-d60v4tfr.js";
59
55
  import {
60
- Service38,
61
- node41
62
- } from "./usage-limits-vbfqpmv9.js";
56
+ Service32,
57
+ node36
58
+ } from "./persistent-pty-6ddb8hxf.js";
63
59
  import {
64
60
  Service31,
65
61
  node35
66
- } from "./usage-limits-wk0531zk.js";
67
- import {
68
- Service37,
69
- node40
70
- } from "./usage-limits-db48qj7n.js";
62
+ } from "./persistent-pty-85m29sf4.js";
71
63
  import {
72
64
  Service34,
73
65
  node38
74
- } from "./usage-limits-mzxjpf7k.js";
66
+ } from "./persistent-pty-3tf4v4ep.js";
75
67
  import {
76
- Service32,
77
- node36
78
- } from "./usage-limits-xx0bwd8h.js";
68
+ Service35,
69
+ node39
70
+ } from "./persistent-pty-wgap4h5r.js";
71
+ import {
72
+ Service29,
73
+ node33
74
+ } from "./persistent-pty-3x0shmrv.js";
75
+ import {
76
+ Service37,
77
+ node40
78
+ } from "./persistent-pty-qhyv5122.js";
79
79
  import {
80
80
  __export
81
- } from "./usage-limits-9rqn6x4v.js";
81
+ } from "./persistent-pty-9rqn6x4v.js";
82
82
 
83
83
  // src/session/context.ts
84
84
  var exports_context = {};
85
85
  __export(exports_context, {
86
- Service: () => Service30,
86
+ Service: () => Service28,
87
87
  SessionContext: () => exports_context,
88
- node: () => node34
88
+ node: () => node32
89
89
  });
90
90
  import { Context, Effect, Layer } from "effect";
91
91
  import { makeLocationNode } from "@opencode/util/effect/app-node";
92
- class Service30 extends Context.Service()("@opencode/SessionContext") {
92
+ class Service28 extends Context.Service()("@opencode/SessionContext") {
93
93
  }
94
- var layer = Layer.effect(Service30, Effect.gen(function* () {
95
- const agents = yield* Service76;
96
- const builtins = yield* Service36;
97
- const model = yield* Service83;
94
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
95
+ const agents = yield* Service92;
96
+ const builtins = yield* Service30;
97
+ const model = yield* Service84;
98
98
  const db = (yield* Service94).db;
99
- const discovery = yield* Service60;
100
- const entries = yield* Service34;
101
- const location = yield* Service90;
102
- const mcpInstructions = yield* Service38;
103
- const mcpTools = yield* Service39;
104
- const models = yield* Service57;
105
- const request = yield* Service32;
106
- const referenceInstructions = yield* Service31;
107
- const skillInstructions = yield* Service37;
108
- const store = yield* Service74;
109
- const registry = yield* Service55;
99
+ const discovery = yield* Service49;
100
+ const entries = yield* Service29;
101
+ const location = yield* Service89;
102
+ const mcpInstructions = yield* Service31;
103
+ const mcpTools = yield* Service32;
104
+ const models = yield* Service60;
105
+ const request = yield* Service37;
106
+ const referenceInstructions = yield* Service34;
107
+ const skillInstructions = yield* Service35;
108
+ const store = yield* Service75;
109
+ const registry = yield* Service58;
110
110
  const resolveModel = (session, request) => models.resolve(session, model.available, request);
111
111
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
112
- const agent = yield* agents.get(ID14.make("title"));
112
+ const agent = yield* agents.get(ID22.make("title"));
113
113
  if (!agent)
114
114
  return;
115
115
  const primary = yield* resolveModel(session, { kind: "title", agent: agent.id }).pipe(Effect.orElseSucceed(() => {
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
191
191
  tools: selection.tools
192
192
  };
193
193
  });
194
- return Service30.of({ select, load, resolveModel, selectTitle, request });
194
+ return Service28.of({ select, load, resolveModel, selectTitle, request });
195
195
  }));
196
196
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
197
197
  var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
199
199
  const rank = (id) => info.variants.findIndex((item) => item.id === id);
200
200
  return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
201
201
  };
202
- var node34 = makeLocationNode({
203
- service: Service30,
202
+ var node32 = makeLocationNode({
203
+ service: Service28,
204
204
  layer,
205
205
  deps: [
206
- node78,
207
- node85,
206
+ node94,
207
+ node86,
208
208
  node96,
209
- node39,
210
- node61,
211
- node38,
212
- node92,
213
- node41,
214
- node42,
209
+ node34,
210
+ node51,
211
+ node33,
212
+ node91,
215
213
  node35,
216
- node58,
217
214
  node36,
218
- node76,
215
+ node38,
216
+ node61,
219
217
  node40,
220
- node57
218
+ node77,
219
+ node39,
220
+ node60
221
221
  ]
222
222
  });
223
223
 
224
- export { Service30, node34, exports_context };
224
+ export { Service28, node32, exports_context };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  content3
3
- } from "./usage-limits-sbya78hr.js";
3
+ } from "./persistent-pty-sbya78hr.js";
4
4
  import {
5
5
  groups2
6
- } from "./usage-limits-vjf35v1f.js";
6
+ } from "./persistent-pty-vjf35v1f.js";
7
7
  import {
8
8
  __export
9
- } from "./usage-limits-9rqn6x4v.js";
9
+ } from "./persistent-pty-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/provider/claude-agent/sync/catch-up.ts
12
12
  var exports_catch_up = {};
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./usage-limits-z5v4ffb3.js";
4
+ } from "./persistent-pty-z5v4ffb3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service92,
9
- node94
10
- } from "./usage-limits-a1tswj55.js";
8
+ Service91,
9
+ node93
10
+ } from "./persistent-pty-7mrx0efj.js";
11
11
  import {
12
- Service90,
13
- node92
14
- } from "./usage-limits-dbzr9wdf.js";
12
+ Service89,
13
+ node91
14
+ } from "./persistent-pty-7arz4r0c.js";
15
15
  import {
16
16
  create4
17
- } from "./usage-limits-40y6dtc2.js";
17
+ } from "./persistent-pty-40y6dtc2.js";
18
18
  import {
19
19
  __export
20
- } from "./usage-limits-9rqn6x4v.js";
20
+ } from "./persistent-pty-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
25
+ Error: () => Error4,
26
26
  ID: () => ID10,
27
- Service: () => Service47,
27
+ Service: () => Service65,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node50,
30
- noopLayer: () => noopLayer2
29
+ node: () => node66,
30
+ noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import { ID as ID10 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service47 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service65 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service47, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service92;
50
+ const git = yield* Service91;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service90;
52
+ const location = yield* Service89;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create4({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
75
75
  if (!FSUtil.contains(worktree, directory))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
142
142
  for (const [file, snapshot] of input.files) {
143
143
  const absolute = path.resolve(worktree, file);
144
144
  if (!FSUtil.contains(worktree, absolute))
145
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
145
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
146
146
  files.set(file, TreeID2.make(snapshot));
147
147
  }
148
148
  return files;
149
149
  });
150
150
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
151
151
  if (!enabled())
152
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
152
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
153
153
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
154
154
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
155
155
  });
156
- return Service47.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
156
+ return Service65.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
157
157
  }).pipe(Effect.withSpan("Snapshot.boot")));
158
- var node50 = makeLocationNode({
159
- service: Service47,
158
+ var node66 = makeLocationNode({
159
+ service: Service65,
160
160
  layer,
161
- deps: [FSUtil.node, node94, Global.node, node92]
161
+ deps: [FSUtil.node, node93, Global.node, node91]
162
162
  });
163
- var noopLayer2 = Layer.succeed(Service47, Service47.of({
163
+ var noopLayer3 = Layer.succeed(Service65, Service65.of({
164
164
  transform: () => Effect.succeed({ dispose: Effect.void }),
165
165
  reload: () => Effect.void,
166
166
  capture: () => Effect.undefined,
@@ -169,13 +169,13 @@ var noopLayer2 = Layer.succeed(Service47, Service47.of({
169
169
  restore: () => Effect.void
170
170
  }));
171
171
  function failure(operation, cause) {
172
- if (cause instanceof Error3 && cause.operation === operation)
172
+ if (cause instanceof Error4 && cause.operation === operation)
173
173
  return cause;
174
- return new Error3({
174
+ return new Error4({
175
175
  operation,
176
176
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
177
177
  cause
178
178
  });
179
179
  }
180
180
 
181
- export { ID10, Error3, Service47, node50, noopLayer2, exports_snapshot2 };
181
+ export { ID10, Error4, Service65, node66, noopLayer3, exports_snapshot2 };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service91,
3
- node93
4
- } from "./usage-limits-2rqsj4wa.js";
2
+ Service90,
3
+ node92
4
+ } from "./persistent-pty-e9hvxvkn.js";
5
5
  import {
6
6
  __export
7
- } from "./usage-limits-9rqn6x4v.js";
7
+ } from "./persistent-pty-9rqn6x4v.js";
8
8
 
9
9
  // src/location.ts
10
10
  var exports_location = {};
11
11
  __export(exports_location, {
12
- Info: () => Info30,
12
+ Info: () => Info29,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref5,
15
- Service: () => Service90,
15
+ Service: () => Service89,
16
16
  boundNode: () => boundNode2,
17
- node: () => node92,
17
+ node: () => node91,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
- import { Info as Info30, Ref as Ref5, response as response2 } from "@opencode/schema/location";
21
+ import { Info as Info29, Ref as Ref5, response as response2 } from "@opencode/schema/location";
22
22
  import { FSUtil } from "@opencode/util/fs-util";
23
23
  import { LayerNode } from "@opencode/util/effect/layer-node";
24
24
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
25
- class Service90 extends Context.Service()("@opencode/Location") {
25
+ class Service89 extends Context.Service()("@opencode/Location") {
26
26
  }
27
- var node92 = LayerNode.unbound(Service90, tags.values.location);
28
- var layer = (ref) => Layer.effect(Service90, Effect.gen(function* () {
27
+ var node91 = LayerNode.unbound(Service89, tags.values.location);
28
+ var layer = (ref) => Layer.effect(Service89, Effect.gen(function* () {
29
29
  const fs = yield* FSUtil.Service;
30
- const project = yield* Service91;
30
+ const project = yield* Service90;
31
31
  const persist = ref.workspaceID !== undefined || (yield* fs.isDir(ref.directory));
32
32
  const resolved = yield* project.resolve(ref.directory, { persist });
33
- return Service90.of({
33
+ return Service89.of({
34
34
  directory: ref.directory,
35
35
  workspaceID: ref.workspaceID,
36
36
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -38,9 +38,9 @@ var layer = (ref) => Layer.effect(Service90, Effect.gen(function* () {
38
38
  });
39
39
  }));
40
40
  var boundNode2 = (ref) => makeLocationNode({
41
- service: Service90,
41
+ service: Service89,
42
42
  layer: layer(ref),
43
- deps: [FSUtil.node, node93]
43
+ deps: [FSUtil.node, node92]
44
44
  });
45
45
 
46
- export { Info30, Ref5, response2, Service90, node92, boundNode2, exports_location };
46
+ export { Info29, Ref5, response2, Service89, node91, boundNode2, exports_location };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./usage-limits-emrn6kk6.js";
5
+ } from "./persistent-pty-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -2,32 +2,32 @@ import {
2
2
  ephemeral2,
3
3
  Service93,
4
4
  node95
5
- } from "./usage-limits-vw4p4fbt.js";
5
+ } from "./persistent-pty-epayv3ej.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
10
  make32,
11
11
  diffByKey2
12
- } from "./usage-limits-t62dywgn.js";
12
+ } from "./persistent-pty-t62dywgn.js";
13
13
  import {
14
14
  create4
15
- } from "./usage-limits-40y6dtc2.js";
15
+ } from "./persistent-pty-40y6dtc2.js";
16
16
  import {
17
17
  __export
18
- } from "./usage-limits-9rqn6x4v.js";
18
+ } from "./persistent-pty-9rqn6x4v.js";
19
19
 
20
20
  // src/instruction-discovery.ts
21
21
  var exports_instruction_discovery = {};
22
22
  __export(exports_instruction_discovery, {
23
- Event: () => Event11,
23
+ Event: () => Event10,
24
24
  File: () => File2,
25
25
  InstructionDiscovery: () => exports_instruction_discovery,
26
26
  Options: () => Options4,
27
- Service: () => Service60,
27
+ Service: () => Service49,
28
28
  configured: () => configured5,
29
- layer: () => layer23,
30
- node: () => node61
29
+ layer: () => layer22,
30
+ node: () => node51
31
31
  });
32
32
  import { Context, Effect, Layer, Schema } from "effect";
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -39,7 +39,7 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
39
39
  }
40
40
  var Files = Schema.Array(File2);
41
41
  var key = Key3.make("core/instructions");
42
- var Event11 = {
42
+ var Event10 = {
43
43
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
44
44
  };
45
45
  var Options4 = Schema.Struct({
@@ -47,9 +47,9 @@ var Options4 = Schema.Struct({
47
47
  global: Schema.optional(Schema.Boolean)
48
48
  });
49
49
 
50
- class Service60 extends Context.Service()("@opencode/InstructionDiscovery") {
50
+ class Service49 extends Context.Service()("@opencode/InstructionDiscovery") {
51
51
  }
52
- var layer23 = (options) => Layer.effect(Service60, Effect.gen(function* () {
52
+ var layer22 = (options) => Layer.effect(Service49, Effect.gen(function* () {
53
53
  const bus = yield* Service93;
54
54
  const state = create4({
55
55
  name: "instruction-discovery",
@@ -69,7 +69,7 @@ var layer23 = (options) => Layer.effect(Service60, Effect.gen(function* () {
69
69
  editor.available = false;
70
70
  }
71
71
  }),
72
- notify: () => bus.publish(Event11.Updated, {}).pipe(Effect.asVoid)
72
+ notify: () => bus.publish(Event10.Updated, {}).pipe(Effect.asVoid)
73
73
  });
74
74
  const source = (value) => make32({
75
75
  key,
@@ -87,7 +87,7 @@ var layer23 = (options) => Layer.effect(Service60, Effect.gen(function* () {
87
87
  return unavailable3;
88
88
  return Array.from(current.files.values());
89
89
  });
90
- return Service60.of({
90
+ return Service49.of({
91
91
  project: options?.project !== false,
92
92
  global: options?.global !== false,
93
93
  transform: state.transform,
@@ -103,12 +103,12 @@ var layer23 = (options) => Layer.effect(Service60, Effect.gen(function* () {
103
103
  }));
104
104
  function configured5(options) {
105
105
  return makeLocationNode({
106
- service: Service60,
107
- layer: layer23(options),
106
+ service: Service49,
107
+ layer: layer22(options),
108
108
  deps: [node95]
109
109
  });
110
110
  }
111
- var node61 = configured5();
111
+ var node51 = configured5();
112
112
  function render(files) {
113
113
  return files.map((file) => `Instructions from: ${file.path}
114
114
  ${file.content}`).join(`
@@ -140,4 +140,4 @@ ${render([after])}`;
140
140
  `);
141
141
  }
142
142
 
143
- export { File2, Event11, Options4, Service60, layer23, configured5, node61, exports_instruction_discovery };
143
+ export { File2, Event10, Options4, Service49, layer22, configured5, node51, exports_instruction_discovery };