@milpa/comal 0.0.0-stage → 0.1.1

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 (2025) hide show
  1. package/README.md +83 -2
  2. package/backend/contracts/artifact-check-v1.schema.json +213 -0
  3. package/backend/contracts/remote-commands-v1.json +125 -0
  4. package/backend/verifier/transport.mjs +27 -0
  5. package/bin/comal.mjs +32 -0
  6. package/bin/harness.mjs +3 -0
  7. package/docs/investigation.md +3 -0
  8. package/governance/chrome-task-v1.json +13 -0
  9. package/governance/chrome-task-v2.json +67 -0
  10. package/node_modules/@jitl/quickjs-ffi-types/LICENSE +21 -0
  11. package/node_modules/@jitl/quickjs-ffi-types/README.md +5 -0
  12. package/node_modules/@jitl/quickjs-ffi-types/dist/index.d.mts +549 -0
  13. package/node_modules/@jitl/quickjs-ffi-types/dist/index.d.ts +549 -0
  14. package/node_modules/@jitl/quickjs-ffi-types/dist/index.js +2 -0
  15. package/node_modules/@jitl/quickjs-ffi-types/dist/index.js.map +1 -0
  16. package/node_modules/@jitl/quickjs-ffi-types/dist/index.mjs +2 -0
  17. package/node_modules/@jitl/quickjs-ffi-types/dist/index.mjs.map +1 -0
  18. package/node_modules/@jitl/quickjs-ffi-types/package.json +36 -0
  19. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/LICENSE +47 -0
  20. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/README.md +93 -0
  21. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/emscripten-module.browser.d.ts +15 -0
  22. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/emscripten-module.browser.mjs +2 -0
  23. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/emscripten-module.cjs +2 -0
  24. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/emscripten-module.cloudflare.cjs +2 -0
  25. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/emscripten-module.cloudflare.d.ts +15 -0
  26. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/emscripten-module.d.ts +15 -0
  27. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/emscripten-module.mjs +2 -0
  28. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/emscripten-module.wasm +0 -0
  29. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/emscripten-module.wasm.map +1 -0
  30. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/ffi.d.mts +94 -0
  31. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/ffi.d.ts +94 -0
  32. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/ffi.js +2 -0
  33. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/ffi.js.map +1 -0
  34. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/ffi.mjs +2 -0
  35. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/ffi.mjs.map +1 -0
  36. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/index.d.mts +20 -0
  37. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/index.d.ts +20 -0
  38. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/index.js +2 -0
  39. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/index.js.map +1 -0
  40. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/index.mjs +2 -0
  41. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/dist/index.mjs.map +1 -0
  42. package/node_modules/@jitl/quickjs-wasmfile-debug-asyncify/package.json +61 -0
  43. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/LICENSE +47 -0
  44. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/README.md +88 -0
  45. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/emscripten-module.browser.d.ts +11 -0
  46. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/emscripten-module.browser.mjs +5430 -0
  47. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/emscripten-module.cjs +5485 -0
  48. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/emscripten-module.cloudflare.cjs +5424 -0
  49. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/emscripten-module.cloudflare.d.ts +11 -0
  50. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/emscripten-module.d.ts +11 -0
  51. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/emscripten-module.mjs +5541 -0
  52. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/emscripten-module.wasm +0 -0
  53. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/emscripten-module.wasm.map +1 -0
  54. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/ffi.d.mts +85 -0
  55. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/ffi.d.ts +85 -0
  56. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/ffi.js +2 -0
  57. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/ffi.js.map +1 -0
  58. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/ffi.mjs +2 -0
  59. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/ffi.mjs.map +1 -0
  60. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/index.d.mts +20 -0
  61. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/index.d.ts +20 -0
  62. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/index.js +2 -0
  63. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/index.js.map +1 -0
  64. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/index.mjs +2 -0
  65. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/dist/index.mjs.map +1 -0
  66. package/node_modules/@jitl/quickjs-wasmfile-debug-sync/package.json +61 -0
  67. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/LICENSE +47 -0
  68. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/README.md +89 -0
  69. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/emscripten-module.browser.d.ts +15 -0
  70. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/emscripten-module.browser.mjs +26 -0
  71. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/emscripten-module.cjs +25 -0
  72. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/emscripten-module.cloudflare.cjs +25 -0
  73. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/emscripten-module.cloudflare.d.ts +15 -0
  74. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/emscripten-module.d.ts +15 -0
  75. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/emscripten-module.mjs +30 -0
  76. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/emscripten-module.wasm +0 -0
  77. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/ffi.d.mts +94 -0
  78. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/ffi.d.ts +94 -0
  79. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/ffi.js +2 -0
  80. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/ffi.js.map +1 -0
  81. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/ffi.mjs +2 -0
  82. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/ffi.mjs.map +1 -0
  83. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/index.d.mts +20 -0
  84. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/index.d.ts +20 -0
  85. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/index.js +2 -0
  86. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/index.js.map +1 -0
  87. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/index.mjs +2 -0
  88. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/dist/index.mjs.map +1 -0
  89. package/node_modules/@jitl/quickjs-wasmfile-release-asyncify/package.json +61 -0
  90. package/node_modules/@jitl/quickjs-wasmfile-release-sync/LICENSE +47 -0
  91. package/node_modules/@jitl/quickjs-wasmfile-release-sync/README.md +82 -0
  92. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.browser.d.ts +11 -0
  93. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.browser.mjs +22 -0
  94. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.cjs +21 -0
  95. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.cloudflare.cjs +21 -0
  96. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.cloudflare.d.ts +11 -0
  97. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.d.ts +11 -0
  98. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs +25 -0
  99. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.wasm +0 -0
  100. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.d.mts +85 -0
  101. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.d.ts +85 -0
  102. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.js +2 -0
  103. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.js.map +1 -0
  104. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs +2 -0
  105. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/ffi.mjs.map +1 -0
  106. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.d.mts +20 -0
  107. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.d.ts +20 -0
  108. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js +2 -0
  109. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.js.map +1 -0
  110. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs +2 -0
  111. package/node_modules/@jitl/quickjs-wasmfile-release-sync/dist/index.mjs.map +1 -0
  112. package/node_modules/@jitl/quickjs-wasmfile-release-sync/package.json +61 -0
  113. package/node_modules/ajv/.runkit_example.js +23 -0
  114. package/node_modules/ajv/LICENSE +22 -0
  115. package/node_modules/ajv/README.md +207 -0
  116. package/node_modules/ajv/dist/2019.d.ts +19 -0
  117. package/node_modules/ajv/dist/2019.js +61 -0
  118. package/node_modules/ajv/dist/2019.js.map +1 -0
  119. package/node_modules/ajv/dist/2020.d.ts +19 -0
  120. package/node_modules/ajv/dist/2020.js +55 -0
  121. package/node_modules/ajv/dist/2020.js.map +1 -0
  122. package/node_modules/ajv/dist/ajv.d.ts +18 -0
  123. package/node_modules/ajv/dist/ajv.js +50 -0
  124. package/node_modules/ajv/dist/ajv.js.map +1 -0
  125. package/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
  126. package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
  127. package/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
  128. package/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
  129. package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
  130. package/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
  131. package/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
  132. package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
  133. package/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
  134. package/node_modules/ajv/dist/compile/errors.d.ts +13 -0
  135. package/node_modules/ajv/dist/compile/errors.js +123 -0
  136. package/node_modules/ajv/dist/compile/errors.js.map +1 -0
  137. package/node_modules/ajv/dist/compile/index.d.ts +80 -0
  138. package/node_modules/ajv/dist/compile/index.js +242 -0
  139. package/node_modules/ajv/dist/compile/index.js.map +1 -0
  140. package/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
  141. package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
  142. package/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
  143. package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
  144. package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
  145. package/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
  146. package/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
  147. package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
  148. package/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
  149. package/node_modules/ajv/dist/compile/names.d.ts +20 -0
  150. package/node_modules/ajv/dist/compile/names.js +28 -0
  151. package/node_modules/ajv/dist/compile/names.js.map +1 -0
  152. package/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
  153. package/node_modules/ajv/dist/compile/ref_error.js +12 -0
  154. package/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
  155. package/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
  156. package/node_modules/ajv/dist/compile/resolve.js +155 -0
  157. package/node_modules/ajv/dist/compile/resolve.js.map +1 -0
  158. package/node_modules/ajv/dist/compile/rules.d.ts +28 -0
  159. package/node_modules/ajv/dist/compile/rules.js +26 -0
  160. package/node_modules/ajv/dist/compile/rules.js.map +1 -0
  161. package/node_modules/ajv/dist/compile/util.d.ts +40 -0
  162. package/node_modules/ajv/dist/compile/util.js +178 -0
  163. package/node_modules/ajv/dist/compile/util.js.map +1 -0
  164. package/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
  165. package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
  166. package/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
  167. package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
  168. package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
  169. package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
  170. package/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
  171. package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
  172. package/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
  173. package/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
  174. package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
  175. package/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
  176. package/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
  177. package/node_modules/ajv/dist/compile/validate/index.js +520 -0
  178. package/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
  179. package/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
  180. package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
  181. package/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
  182. package/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
  183. package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
  184. package/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
  185. package/node_modules/ajv/dist/core.d.ts +174 -0
  186. package/node_modules/ajv/dist/core.js +618 -0
  187. package/node_modules/ajv/dist/core.js.map +1 -0
  188. package/node_modules/ajv/dist/jtd.d.ts +47 -0
  189. package/node_modules/ajv/dist/jtd.js +72 -0
  190. package/node_modules/ajv/dist/jtd.js.map +1 -0
  191. package/node_modules/ajv/dist/refs/data.json +13 -0
  192. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
  193. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
  194. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
  195. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
  196. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
  197. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
  198. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
  199. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  200. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
  201. package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
  202. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
  203. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
  204. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
  205. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
  206. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
  207. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
  208. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  209. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  210. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  211. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
  212. package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
  213. package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
  214. package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
  215. package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
  216. package/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
  217. package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
  218. package/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
  219. package/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
  220. package/node_modules/ajv/dist/runtime/equal.js +7 -0
  221. package/node_modules/ajv/dist/runtime/equal.js.map +1 -0
  222. package/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
  223. package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
  224. package/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
  225. package/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
  226. package/node_modules/ajv/dist/runtime/quote.js +30 -0
  227. package/node_modules/ajv/dist/runtime/quote.js.map +1 -0
  228. package/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
  229. package/node_modules/ajv/dist/runtime/re2.js +6 -0
  230. package/node_modules/ajv/dist/runtime/re2.js.map +1 -0
  231. package/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
  232. package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
  233. package/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
  234. package/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
  235. package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
  236. package/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
  237. package/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
  238. package/node_modules/ajv/dist/runtime/uri.js +6 -0
  239. package/node_modules/ajv/dist/runtime/uri.js.map +1 -0
  240. package/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
  241. package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
  242. package/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
  243. package/node_modules/ajv/dist/standalone/index.d.ts +6 -0
  244. package/node_modules/ajv/dist/standalone/index.js +90 -0
  245. package/node_modules/ajv/dist/standalone/index.js.map +1 -0
  246. package/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
  247. package/node_modules/ajv/dist/standalone/instance.js +35 -0
  248. package/node_modules/ajv/dist/standalone/instance.js.map +1 -0
  249. package/node_modules/ajv/dist/types/index.d.ts +183 -0
  250. package/node_modules/ajv/dist/types/index.js +3 -0
  251. package/node_modules/ajv/dist/types/index.js.map +1 -0
  252. package/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
  253. package/node_modules/ajv/dist/types/json-schema.js +3 -0
  254. package/node_modules/ajv/dist/types/json-schema.js.map +1 -0
  255. package/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
  256. package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
  257. package/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
  258. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
  259. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
  260. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
  261. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
  262. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
  263. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
  264. package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
  265. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
  266. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
  267. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
  268. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
  269. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
  270. package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
  271. package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
  272. package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
  273. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
  274. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
  275. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
  276. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
  277. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
  278. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
  279. package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
  280. package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
  281. package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
  282. package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
  283. package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
  284. package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
  285. package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
  286. package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
  287. package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
  288. package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
  289. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
  290. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
  291. package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
  292. package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
  293. package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
  294. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
  295. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
  296. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
  297. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
  298. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
  299. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
  300. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
  301. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
  302. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
  303. package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
  304. package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
  305. package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
  306. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
  307. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
  308. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
  309. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
  310. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
  311. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
  312. package/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
  313. package/node_modules/ajv/dist/vocabularies/code.js +131 -0
  314. package/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
  315. package/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
  316. package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
  317. package/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
  318. package/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
  319. package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
  320. package/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
  321. package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
  322. package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
  323. package/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
  324. package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
  325. package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
  326. package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
  327. package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
  328. package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
  329. package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
  330. package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
  331. package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
  332. package/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
  333. package/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
  334. package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
  335. package/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
  336. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
  337. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
  338. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
  339. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
  340. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
  341. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
  342. package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
  343. package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
  344. package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
  345. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
  346. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
  347. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
  348. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
  349. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
  350. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
  351. package/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
  352. package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
  353. package/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
  354. package/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
  355. package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
  356. package/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
  357. package/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
  358. package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
  359. package/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
  360. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
  361. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
  362. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
  363. package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
  364. package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
  365. package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
  366. package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
  367. package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
  368. package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
  369. package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
  370. package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
  371. package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
  372. package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
  373. package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
  374. package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
  375. package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
  376. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
  377. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
  378. package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
  379. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
  380. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
  381. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
  382. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
  383. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
  384. package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
  385. package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
  386. package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
  387. package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
  388. package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
  389. package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
  390. package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
  391. package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
  392. package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
  393. package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
  394. package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
  395. package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
  396. package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
  397. package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
  398. package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
  399. package/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
  400. package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
  401. package/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
  402. package/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
  403. package/node_modules/ajv/dist/vocabularies/next.js +8 -0
  404. package/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
  405. package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
  406. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
  407. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
  408. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
  409. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
  410. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
  411. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
  412. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
  413. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
  414. package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
  415. package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
  416. package/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
  417. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
  418. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
  419. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
  420. package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
  421. package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
  422. package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
  423. package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
  424. package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
  425. package/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
  426. package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
  427. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
  428. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
  429. package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
  430. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
  431. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
  432. package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
  433. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
  434. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
  435. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
  436. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
  437. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
  438. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
  439. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
  440. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
  441. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
  442. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
  443. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
  444. package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
  445. package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
  446. package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
  447. package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
  448. package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
  449. package/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
  450. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
  451. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
  452. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
  453. package/node_modules/ajv/lib/2019.ts +81 -0
  454. package/node_modules/ajv/lib/2020.ts +75 -0
  455. package/node_modules/ajv/lib/ajv.ts +70 -0
  456. package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
  457. package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
  458. package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
  459. package/node_modules/ajv/lib/compile/errors.ts +184 -0
  460. package/node_modules/ajv/lib/compile/index.ts +324 -0
  461. package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
  462. package/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
  463. package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
  464. package/node_modules/ajv/lib/compile/names.ts +27 -0
  465. package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
  466. package/node_modules/ajv/lib/compile/resolve.ts +149 -0
  467. package/node_modules/ajv/lib/compile/rules.ts +50 -0
  468. package/node_modules/ajv/lib/compile/util.ts +213 -0
  469. package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
  470. package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
  471. package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
  472. package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
  473. package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
  474. package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
  475. package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
  476. package/node_modules/ajv/lib/core.ts +892 -0
  477. package/node_modules/ajv/lib/jtd.ts +132 -0
  478. package/node_modules/ajv/lib/refs/data.json +13 -0
  479. package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
  480. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
  481. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
  482. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
  483. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
  484. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  485. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
  486. package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
  487. package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
  488. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
  489. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
  490. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
  491. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  492. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  493. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  494. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
  495. package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
  496. package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
  497. package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
  498. package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
  499. package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
  500. package/node_modules/ajv/lib/runtime/equal.ts +7 -0
  501. package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
  502. package/node_modules/ajv/lib/runtime/quote.ts +31 -0
  503. package/node_modules/ajv/lib/runtime/re2.ts +6 -0
  504. package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
  505. package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
  506. package/node_modules/ajv/lib/runtime/uri.ts +6 -0
  507. package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
  508. package/node_modules/ajv/lib/standalone/index.ts +100 -0
  509. package/node_modules/ajv/lib/standalone/instance.ts +36 -0
  510. package/node_modules/ajv/lib/types/index.ts +244 -0
  511. package/node_modules/ajv/lib/types/json-schema.ts +187 -0
  512. package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
  513. package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
  514. package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
  515. package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
  516. package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
  517. package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
  518. package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
  519. package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
  520. package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
  521. package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
  522. package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
  523. package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
  524. package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
  525. package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
  526. package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
  527. package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
  528. package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
  529. package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
  530. package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
  531. package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
  532. package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
  533. package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
  534. package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
  535. package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
  536. package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
  537. package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
  538. package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
  539. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
  540. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
  541. package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
  542. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
  543. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
  544. package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
  545. package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
  546. package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
  547. package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
  548. package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
  549. package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
  550. package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
  551. package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
  552. package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
  553. package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
  554. package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
  555. package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
  556. package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
  557. package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
  558. package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
  559. package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
  560. package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
  561. package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
  562. package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
  563. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
  564. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
  565. package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
  566. package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
  567. package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
  568. package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
  569. package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
  570. package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
  571. package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
  572. package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
  573. package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
  574. package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
  575. package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
  576. package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
  577. package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
  578. package/node_modules/ajv/package.json +126 -0
  579. package/node_modules/ansi-regex/index.d.ts +33 -0
  580. package/node_modules/ansi-regex/index.js +15 -0
  581. package/node_modules/ansi-regex/license +9 -0
  582. package/node_modules/ansi-regex/package.json +61 -0
  583. package/node_modules/ansi-regex/readme.md +66 -0
  584. package/node_modules/boolbase/README.md +10 -0
  585. package/node_modules/boolbase/index.js +8 -0
  586. package/node_modules/boolbase/package.json +23 -0
  587. package/node_modules/cheerio/LICENSE +21 -0
  588. package/node_modules/cheerio/Readme.md +229 -0
  589. package/node_modules/cheerio/dist/browser/api/attributes.d.ts +385 -0
  590. package/node_modules/cheerio/dist/browser/api/attributes.d.ts.map +1 -0
  591. package/node_modules/cheerio/dist/browser/api/attributes.js +636 -0
  592. package/node_modules/cheerio/dist/browser/api/attributes.js.map +1 -0
  593. package/node_modules/cheerio/dist/browser/api/css.d.ts +42 -0
  594. package/node_modules/cheerio/dist/browser/api/css.d.ts.map +1 -0
  595. package/node_modules/cheerio/dist/browser/api/css.js +116 -0
  596. package/node_modules/cheerio/dist/browser/api/css.js.map +1 -0
  597. package/node_modules/cheerio/dist/browser/api/extract.d.ts +27 -0
  598. package/node_modules/cheerio/dist/browser/api/extract.d.ts.map +1 -0
  599. package/node_modules/cheerio/dist/browser/api/extract.js +42 -0
  600. package/node_modules/cheerio/dist/browser/api/extract.js.map +1 -0
  601. package/node_modules/cheerio/dist/browser/api/forms.d.ts +36 -0
  602. package/node_modules/cheerio/dist/browser/api/forms.d.ts.map +1 -0
  603. package/node_modules/cheerio/dist/browser/api/forms.js +81 -0
  604. package/node_modules/cheerio/dist/browser/api/forms.js.map +1 -0
  605. package/node_modules/cheerio/dist/browser/api/manipulation.d.ts +528 -0
  606. package/node_modules/cheerio/dist/browser/api/manipulation.d.ts.map +1 -0
  607. package/node_modules/cheerio/dist/browser/api/manipulation.js +831 -0
  608. package/node_modules/cheerio/dist/browser/api/manipulation.js.map +1 -0
  609. package/node_modules/cheerio/dist/browser/api/traversing.d.ts +657 -0
  610. package/node_modules/cheerio/dist/browser/api/traversing.d.ts.map +1 -0
  611. package/node_modules/cheerio/dist/browser/api/traversing.js +857 -0
  612. package/node_modules/cheerio/dist/browser/api/traversing.js.map +1 -0
  613. package/node_modules/cheerio/dist/browser/cheerio.d.ts +85 -0
  614. package/node_modules/cheerio/dist/browser/cheerio.d.ts.map +1 -0
  615. package/node_modules/cheerio/dist/browser/cheerio.js +58 -0
  616. package/node_modules/cheerio/dist/browser/cheerio.js.map +1 -0
  617. package/node_modules/cheerio/dist/browser/index-browser.d.mts.map +1 -0
  618. package/node_modules/cheerio/dist/browser/index-browser.mjs.map +1 -0
  619. package/node_modules/cheerio/dist/browser/index.d.ts +5 -0
  620. package/node_modules/cheerio/dist/browser/index.js +3 -0
  621. package/node_modules/cheerio/dist/browser/load-parse.d.ts +20 -0
  622. package/node_modules/cheerio/dist/browser/load-parse.d.ts.map +1 -0
  623. package/node_modules/cheerio/dist/browser/load-parse.js +28 -0
  624. package/node_modules/cheerio/dist/browser/load-parse.js.map +1 -0
  625. package/node_modules/cheerio/dist/browser/load.d.ts +91 -0
  626. package/node_modules/cheerio/dist/browser/load.d.ts.map +1 -0
  627. package/node_modules/cheerio/dist/browser/load.js +129 -0
  628. package/node_modules/cheerio/dist/browser/load.js.map +1 -0
  629. package/node_modules/cheerio/dist/browser/options.d.ts +98 -0
  630. package/node_modules/cheerio/dist/browser/options.d.ts.map +1 -0
  631. package/node_modules/cheerio/dist/browser/options.js +34 -0
  632. package/node_modules/cheerio/dist/browser/options.js.map +1 -0
  633. package/node_modules/cheerio/dist/browser/package.json +3 -0
  634. package/node_modules/cheerio/dist/browser/parse.d.ts +18 -0
  635. package/node_modules/cheerio/dist/browser/parse.d.ts.map +1 -0
  636. package/node_modules/cheerio/dist/browser/parse.js +73 -0
  637. package/node_modules/cheerio/dist/browser/parse.js.map +1 -0
  638. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.d.ts +20 -0
  639. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.d.ts.map +1 -0
  640. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.js +50 -0
  641. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.js.map +1 -0
  642. package/node_modules/cheerio/dist/browser/slim.d.ts +25 -0
  643. package/node_modules/cheerio/dist/browser/slim.d.ts.map +1 -0
  644. package/node_modules/cheerio/dist/browser/slim.js +22 -0
  645. package/node_modules/cheerio/dist/browser/slim.js.map +1 -0
  646. package/node_modules/cheerio/dist/browser/static.d.ts +112 -0
  647. package/node_modules/cheerio/dist/browser/static.d.ts.map +1 -0
  648. package/node_modules/cheerio/dist/browser/static.js +204 -0
  649. package/node_modules/cheerio/dist/browser/static.js.map +1 -0
  650. package/node_modules/cheerio/dist/browser/types.d.ts +21 -0
  651. package/node_modules/cheerio/dist/browser/types.d.ts.map +1 -0
  652. package/node_modules/cheerio/dist/browser/types.js +3 -0
  653. package/node_modules/cheerio/dist/browser/types.js.map +1 -0
  654. package/node_modules/cheerio/dist/browser/utils.d.ts +55 -0
  655. package/node_modules/cheerio/dist/browser/utils.d.ts.map +1 -0
  656. package/node_modules/cheerio/dist/browser/utils.js +84 -0
  657. package/node_modules/cheerio/dist/browser/utils.js.map +1 -0
  658. package/node_modules/cheerio/dist/commonjs/api/attributes.d.ts +385 -0
  659. package/node_modules/cheerio/dist/commonjs/api/attributes.d.ts.map +1 -0
  660. package/node_modules/cheerio/dist/commonjs/api/attributes.js +647 -0
  661. package/node_modules/cheerio/dist/commonjs/api/attributes.js.map +1 -0
  662. package/node_modules/cheerio/dist/commonjs/api/css.d.ts +42 -0
  663. package/node_modules/cheerio/dist/commonjs/api/css.d.ts.map +1 -0
  664. package/node_modules/cheerio/dist/commonjs/api/css.js +119 -0
  665. package/node_modules/cheerio/dist/commonjs/api/css.js.map +1 -0
  666. package/node_modules/cheerio/dist/commonjs/api/extract.d.ts +27 -0
  667. package/node_modules/cheerio/dist/commonjs/api/extract.d.ts.map +1 -0
  668. package/node_modules/cheerio/dist/commonjs/api/extract.js +45 -0
  669. package/node_modules/cheerio/dist/commonjs/api/extract.js.map +1 -0
  670. package/node_modules/cheerio/dist/commonjs/api/forms.d.ts +36 -0
  671. package/node_modules/cheerio/dist/commonjs/api/forms.d.ts.map +1 -0
  672. package/node_modules/cheerio/dist/commonjs/api/forms.js +85 -0
  673. package/node_modules/cheerio/dist/commonjs/api/forms.js.map +1 -0
  674. package/node_modules/cheerio/dist/commonjs/api/manipulation.d.ts +528 -0
  675. package/node_modules/cheerio/dist/commonjs/api/manipulation.d.ts.map +1 -0
  676. package/node_modules/cheerio/dist/commonjs/api/manipulation.js +850 -0
  677. package/node_modules/cheerio/dist/commonjs/api/manipulation.js.map +1 -0
  678. package/node_modules/cheerio/dist/commonjs/api/traversing.d.ts +657 -0
  679. package/node_modules/cheerio/dist/commonjs/api/traversing.d.ts.map +1 -0
  680. package/node_modules/cheerio/dist/commonjs/api/traversing.js +914 -0
  681. package/node_modules/cheerio/dist/commonjs/api/traversing.js.map +1 -0
  682. package/node_modules/cheerio/dist/commonjs/cheerio.d.ts +85 -0
  683. package/node_modules/cheerio/dist/commonjs/cheerio.d.ts.map +1 -0
  684. package/node_modules/cheerio/dist/commonjs/cheerio.js +95 -0
  685. package/node_modules/cheerio/dist/commonjs/cheerio.js.map +1 -0
  686. package/node_modules/cheerio/dist/commonjs/index.d.ts +104 -0
  687. package/node_modules/cheerio/dist/commonjs/index.d.ts.map +1 -0
  688. package/node_modules/cheerio/dist/commonjs/index.js +250 -0
  689. package/node_modules/cheerio/dist/commonjs/index.js.map +1 -0
  690. package/node_modules/cheerio/dist/commonjs/load-parse.d.ts +20 -0
  691. package/node_modules/cheerio/dist/commonjs/load-parse.d.ts.map +1 -0
  692. package/node_modules/cheerio/dist/commonjs/load-parse.js +34 -0
  693. package/node_modules/cheerio/dist/commonjs/load-parse.js.map +1 -0
  694. package/node_modules/cheerio/dist/commonjs/load.d.ts +91 -0
  695. package/node_modules/cheerio/dist/commonjs/load.d.ts.map +1 -0
  696. package/node_modules/cheerio/dist/commonjs/load.js +165 -0
  697. package/node_modules/cheerio/dist/commonjs/load.js.map +1 -0
  698. package/node_modules/cheerio/dist/commonjs/options.d.ts +98 -0
  699. package/node_modules/cheerio/dist/commonjs/options.d.ts.map +1 -0
  700. package/node_modules/cheerio/dist/commonjs/options.js +37 -0
  701. package/node_modules/cheerio/dist/commonjs/options.js.map +1 -0
  702. package/node_modules/cheerio/dist/commonjs/package.json +3 -0
  703. package/node_modules/cheerio/dist/commonjs/parse.d.ts +18 -0
  704. package/node_modules/cheerio/dist/commonjs/parse.d.ts.map +1 -0
  705. package/node_modules/cheerio/dist/commonjs/parse.js +77 -0
  706. package/node_modules/cheerio/dist/commonjs/parse.js.map +1 -0
  707. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.d.ts +20 -0
  708. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.d.ts.map +1 -0
  709. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.js +54 -0
  710. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.js.map +1 -0
  711. package/node_modules/cheerio/dist/commonjs/slim.d.ts +25 -0
  712. package/node_modules/cheerio/dist/commonjs/slim.d.ts.map +1 -0
  713. package/node_modules/cheerio/dist/commonjs/slim.js +30 -0
  714. package/node_modules/cheerio/dist/commonjs/slim.js.map +1 -0
  715. package/node_modules/cheerio/dist/commonjs/static.d.ts +112 -0
  716. package/node_modules/cheerio/dist/commonjs/static.d.ts.map +1 -0
  717. package/node_modules/cheerio/dist/commonjs/static.js +214 -0
  718. package/node_modules/cheerio/dist/commonjs/static.js.map +1 -0
  719. package/node_modules/cheerio/dist/commonjs/types.d.ts +21 -0
  720. package/node_modules/cheerio/dist/commonjs/types.d.ts.map +1 -0
  721. package/node_modules/cheerio/dist/commonjs/types.js +4 -0
  722. package/node_modules/cheerio/dist/commonjs/types.js.map +1 -0
  723. package/node_modules/cheerio/dist/commonjs/utils.d.ts +55 -0
  724. package/node_modules/cheerio/dist/commonjs/utils.d.ts.map +1 -0
  725. package/node_modules/cheerio/dist/commonjs/utils.js +91 -0
  726. package/node_modules/cheerio/dist/commonjs/utils.js.map +1 -0
  727. package/node_modules/cheerio/dist/esm/api/attributes.d.ts +385 -0
  728. package/node_modules/cheerio/dist/esm/api/attributes.d.ts.map +1 -0
  729. package/node_modules/cheerio/dist/esm/api/attributes.js +636 -0
  730. package/node_modules/cheerio/dist/esm/api/attributes.js.map +1 -0
  731. package/node_modules/cheerio/dist/esm/api/css.d.ts +42 -0
  732. package/node_modules/cheerio/dist/esm/api/css.d.ts.map +1 -0
  733. package/node_modules/cheerio/dist/esm/api/css.js +116 -0
  734. package/node_modules/cheerio/dist/esm/api/css.js.map +1 -0
  735. package/node_modules/cheerio/dist/esm/api/extract.d.ts +27 -0
  736. package/node_modules/cheerio/dist/esm/api/extract.d.ts.map +1 -0
  737. package/node_modules/cheerio/dist/esm/api/extract.js +42 -0
  738. package/node_modules/cheerio/dist/esm/api/extract.js.map +1 -0
  739. package/node_modules/cheerio/dist/esm/api/forms.d.ts +36 -0
  740. package/node_modules/cheerio/dist/esm/api/forms.d.ts.map +1 -0
  741. package/node_modules/cheerio/dist/esm/api/forms.js +81 -0
  742. package/node_modules/cheerio/dist/esm/api/forms.js.map +1 -0
  743. package/node_modules/cheerio/dist/esm/api/manipulation.d.ts +528 -0
  744. package/node_modules/cheerio/dist/esm/api/manipulation.d.ts.map +1 -0
  745. package/node_modules/cheerio/dist/esm/api/manipulation.js +831 -0
  746. package/node_modules/cheerio/dist/esm/api/manipulation.js.map +1 -0
  747. package/node_modules/cheerio/dist/esm/api/traversing.d.ts +657 -0
  748. package/node_modules/cheerio/dist/esm/api/traversing.d.ts.map +1 -0
  749. package/node_modules/cheerio/dist/esm/api/traversing.js +857 -0
  750. package/node_modules/cheerio/dist/esm/api/traversing.js.map +1 -0
  751. package/node_modules/cheerio/dist/esm/cheerio.d.ts +85 -0
  752. package/node_modules/cheerio/dist/esm/cheerio.d.ts.map +1 -0
  753. package/node_modules/cheerio/dist/esm/cheerio.js +58 -0
  754. package/node_modules/cheerio/dist/esm/cheerio.js.map +1 -0
  755. package/node_modules/cheerio/dist/esm/index.d.ts +104 -0
  756. package/node_modules/cheerio/dist/esm/index.d.ts.map +1 -0
  757. package/node_modules/cheerio/dist/esm/index.js +202 -0
  758. package/node_modules/cheerio/dist/esm/index.js.map +1 -0
  759. package/node_modules/cheerio/dist/esm/load-parse.d.ts +20 -0
  760. package/node_modules/cheerio/dist/esm/load-parse.d.ts.map +1 -0
  761. package/node_modules/cheerio/dist/esm/load-parse.js +28 -0
  762. package/node_modules/cheerio/dist/esm/load-parse.js.map +1 -0
  763. package/node_modules/cheerio/dist/esm/load.d.ts +91 -0
  764. package/node_modules/cheerio/dist/esm/load.d.ts.map +1 -0
  765. package/node_modules/cheerio/dist/esm/load.js +129 -0
  766. package/node_modules/cheerio/dist/esm/load.js.map +1 -0
  767. package/node_modules/cheerio/dist/esm/options.d.ts +98 -0
  768. package/node_modules/cheerio/dist/esm/options.d.ts.map +1 -0
  769. package/node_modules/cheerio/dist/esm/options.js +34 -0
  770. package/node_modules/cheerio/dist/esm/options.js.map +1 -0
  771. package/node_modules/cheerio/dist/esm/package.json +3 -0
  772. package/node_modules/cheerio/dist/esm/parse.d.ts +18 -0
  773. package/node_modules/cheerio/dist/esm/parse.d.ts.map +1 -0
  774. package/node_modules/cheerio/dist/esm/parse.js +73 -0
  775. package/node_modules/cheerio/dist/esm/parse.js.map +1 -0
  776. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.d.ts +20 -0
  777. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.d.ts.map +1 -0
  778. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.js +50 -0
  779. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.js.map +1 -0
  780. package/node_modules/cheerio/dist/esm/slim.d.ts +25 -0
  781. package/node_modules/cheerio/dist/esm/slim.d.ts.map +1 -0
  782. package/node_modules/cheerio/dist/esm/slim.js +22 -0
  783. package/node_modules/cheerio/dist/esm/slim.js.map +1 -0
  784. package/node_modules/cheerio/dist/esm/static.d.ts +112 -0
  785. package/node_modules/cheerio/dist/esm/static.d.ts.map +1 -0
  786. package/node_modules/cheerio/dist/esm/static.js +204 -0
  787. package/node_modules/cheerio/dist/esm/static.js.map +1 -0
  788. package/node_modules/cheerio/dist/esm/types.d.ts +21 -0
  789. package/node_modules/cheerio/dist/esm/types.d.ts.map +1 -0
  790. package/node_modules/cheerio/dist/esm/types.js +3 -0
  791. package/node_modules/cheerio/dist/esm/types.js.map +1 -0
  792. package/node_modules/cheerio/dist/esm/utils.d.ts +55 -0
  793. package/node_modules/cheerio/dist/esm/utils.d.ts.map +1 -0
  794. package/node_modules/cheerio/dist/esm/utils.js +84 -0
  795. package/node_modules/cheerio/dist/esm/utils.js.map +1 -0
  796. package/node_modules/cheerio/package.json +182 -0
  797. package/node_modules/cheerio/src/api/attributes.ts +1145 -0
  798. package/node_modules/cheerio/src/api/css.ts +224 -0
  799. package/node_modules/cheerio/src/api/extract.ts +92 -0
  800. package/node_modules/cheerio/src/api/forms.ts +103 -0
  801. package/node_modules/cheerio/src/api/manipulation.ts +1115 -0
  802. package/node_modules/cheerio/src/api/traversing.ts +1175 -0
  803. package/node_modules/cheerio/src/cheerio.ts +143 -0
  804. package/node_modules/cheerio/src/index-browser.mts +10 -0
  805. package/node_modules/cheerio/src/index.ts +294 -0
  806. package/node_modules/cheerio/src/load-parse.ts +39 -0
  807. package/node_modules/cheerio/src/load.ts +282 -0
  808. package/node_modules/cheerio/src/options.ts +136 -0
  809. package/node_modules/cheerio/src/parse.ts +105 -0
  810. package/node_modules/cheerio/src/parsers/parse5-adapter.ts +66 -0
  811. package/node_modules/cheerio/src/slim.ts +33 -0
  812. package/node_modules/cheerio/src/static.ts +312 -0
  813. package/node_modules/cheerio/src/types.ts +58 -0
  814. package/node_modules/cheerio/src/utils.ts +99 -0
  815. package/node_modules/cheerio-select/LICENSE +11 -0
  816. package/node_modules/cheerio-select/README.md +18 -0
  817. package/node_modules/cheerio-select/lib/esm/helpers.d.ts +5 -0
  818. package/node_modules/cheerio-select/lib/esm/helpers.d.ts.map +1 -0
  819. package/node_modules/cheerio-select/lib/esm/helpers.js +20 -0
  820. package/node_modules/cheerio-select/lib/esm/helpers.js.map +1 -0
  821. package/node_modules/cheerio-select/lib/esm/index.d.ts +12 -0
  822. package/node_modules/cheerio-select/lib/esm/index.d.ts.map +1 -0
  823. package/node_modules/cheerio-select/lib/esm/index.js +241 -0
  824. package/node_modules/cheerio-select/lib/esm/index.js.map +1 -0
  825. package/node_modules/cheerio-select/lib/esm/package.json +1 -0
  826. package/node_modules/cheerio-select/lib/esm/positionals.d.ts +10 -0
  827. package/node_modules/cheerio-select/lib/esm/positionals.d.ts.map +1 -0
  828. package/node_modules/cheerio-select/lib/esm/positionals.js +47 -0
  829. package/node_modules/cheerio-select/lib/esm/positionals.js.map +1 -0
  830. package/node_modules/cheerio-select/lib/helpers.d.ts +5 -0
  831. package/node_modules/cheerio-select/lib/helpers.d.ts.map +1 -0
  832. package/node_modules/cheerio-select/lib/helpers.js +26 -0
  833. package/node_modules/cheerio-select/lib/helpers.js.map +1 -0
  834. package/node_modules/cheerio-select/lib/index.d.ts +12 -0
  835. package/node_modules/cheerio-select/lib/index.d.ts.map +1 -0
  836. package/node_modules/cheerio-select/lib/index.js +302 -0
  837. package/node_modules/cheerio-select/lib/index.js.map +1 -0
  838. package/node_modules/cheerio-select/lib/positionals.d.ts +10 -0
  839. package/node_modules/cheerio-select/lib/positionals.d.ts.map +1 -0
  840. package/node_modules/cheerio-select/lib/positionals.js +52 -0
  841. package/node_modules/cheerio-select/lib/positionals.js.map +1 -0
  842. package/node_modules/cheerio-select/package.json +76 -0
  843. package/node_modules/css-select/LICENSE +11 -0
  844. package/node_modules/css-select/README.md +264 -0
  845. package/node_modules/css-select/lib/attributes.d.ts +7 -0
  846. package/node_modules/css-select/lib/attributes.d.ts.map +1 -0
  847. package/node_modules/css-select/lib/attributes.js +236 -0
  848. package/node_modules/css-select/lib/attributes.js.map +1 -0
  849. package/node_modules/css-select/lib/compile.d.ts +13 -0
  850. package/node_modules/css-select/lib/compile.d.ts.map +1 -0
  851. package/node_modules/css-select/lib/compile.js +151 -0
  852. package/node_modules/css-select/lib/compile.js.map +1 -0
  853. package/node_modules/css-select/lib/esm/attributes.d.ts +7 -0
  854. package/node_modules/css-select/lib/esm/attributes.d.ts.map +1 -0
  855. package/node_modules/css-select/lib/esm/attributes.js +222 -0
  856. package/node_modules/css-select/lib/esm/attributes.js.map +1 -0
  857. package/node_modules/css-select/lib/esm/compile.d.ts +13 -0
  858. package/node_modules/css-select/lib/esm/compile.d.ts.map +1 -0
  859. package/node_modules/css-select/lib/esm/compile.js +115 -0
  860. package/node_modules/css-select/lib/esm/compile.js.map +1 -0
  861. package/node_modules/css-select/lib/esm/general.d.ts +3 -0
  862. package/node_modules/css-select/lib/esm/general.d.ts.map +1 -0
  863. package/node_modules/css-select/lib/esm/general.js +144 -0
  864. package/node_modules/css-select/lib/esm/general.js.map +1 -0
  865. package/node_modules/css-select/lib/esm/helpers/cache.d.ts +12 -0
  866. package/node_modules/css-select/lib/esm/helpers/cache.d.ts.map +1 -0
  867. package/node_modules/css-select/lib/esm/helpers/cache.js +41 -0
  868. package/node_modules/css-select/lib/esm/helpers/cache.js.map +1 -0
  869. package/node_modules/css-select/lib/esm/helpers/querying.d.ts +24 -0
  870. package/node_modules/css-select/lib/esm/helpers/querying.d.ts.map +1 -0
  871. package/node_modules/css-select/lib/esm/helpers/querying.js +105 -0
  872. package/node_modules/css-select/lib/esm/helpers/querying.js.map +1 -0
  873. package/node_modules/css-select/lib/esm/helpers/selectors.d.ts +20 -0
  874. package/node_modules/css-select/lib/esm/helpers/selectors.d.ts.map +1 -0
  875. package/node_modules/css-select/lib/esm/helpers/selectors.js +103 -0
  876. package/node_modules/css-select/lib/esm/helpers/selectors.js.map +1 -0
  877. package/node_modules/css-select/lib/esm/index.d.ts +50 -0
  878. package/node_modules/css-select/lib/esm/index.d.ts.map +1 -0
  879. package/node_modules/css-select/lib/esm/index.js +115 -0
  880. package/node_modules/css-select/lib/esm/index.js.map +1 -0
  881. package/node_modules/css-select/lib/esm/package.json +1 -0
  882. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts +5 -0
  883. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts.map +1 -0
  884. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js +35 -0
  885. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js.map +1 -0
  886. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts +4 -0
  887. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts.map +1 -0
  888. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js +143 -0
  889. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js.map +1 -0
  890. package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts +8 -0
  891. package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts.map +1 -0
  892. package/node_modules/css-select/lib/esm/pseudo-selectors/index.js +40 -0
  893. package/node_modules/css-select/lib/esm/pseudo-selectors/index.js.map +1 -0
  894. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts +6 -0
  895. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts.map +1 -0
  896. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js +79 -0
  897. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js.map +1 -0
  898. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts +9 -0
  899. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts.map +1 -0
  900. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js +94 -0
  901. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js.map +1 -0
  902. package/node_modules/css-select/lib/esm/sort.d.ts +12 -0
  903. package/node_modules/css-select/lib/esm/sort.d.ts.map +1 -0
  904. package/node_modules/css-select/lib/esm/sort.js +79 -0
  905. package/node_modules/css-select/lib/esm/sort.js.map +1 -0
  906. package/node_modules/css-select/lib/esm/types.d.ts +167 -0
  907. package/node_modules/css-select/lib/esm/types.d.ts.map +1 -0
  908. package/node_modules/css-select/lib/esm/types.js +2 -0
  909. package/node_modules/css-select/lib/esm/types.js.map +1 -0
  910. package/node_modules/css-select/lib/general.d.ts +3 -0
  911. package/node_modules/css-select/lib/general.d.ts.map +1 -0
  912. package/node_modules/css-select/lib/general.js +148 -0
  913. package/node_modules/css-select/lib/general.js.map +1 -0
  914. package/node_modules/css-select/lib/helpers/cache.d.ts +12 -0
  915. package/node_modules/css-select/lib/helpers/cache.d.ts.map +1 -0
  916. package/node_modules/css-select/lib/helpers/cache.js +45 -0
  917. package/node_modules/css-select/lib/helpers/cache.js.map +1 -0
  918. package/node_modules/css-select/lib/helpers/querying.d.ts +24 -0
  919. package/node_modules/css-select/lib/helpers/querying.d.ts.map +1 -0
  920. package/node_modules/css-select/lib/helpers/querying.js +111 -0
  921. package/node_modules/css-select/lib/helpers/querying.js.map +1 -0
  922. package/node_modules/css-select/lib/helpers/selectors.d.ts +20 -0
  923. package/node_modules/css-select/lib/helpers/selectors.d.ts.map +1 -0
  924. package/node_modules/css-select/lib/helpers/selectors.js +111 -0
  925. package/node_modules/css-select/lib/helpers/selectors.js.map +1 -0
  926. package/node_modules/css-select/lib/index.d.ts +50 -0
  927. package/node_modules/css-select/lib/index.d.ts.map +1 -0
  928. package/node_modules/css-select/lib/index.js +154 -0
  929. package/node_modules/css-select/lib/index.js.map +1 -0
  930. package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts +5 -0
  931. package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map +1 -0
  932. package/node_modules/css-select/lib/pseudo-selectors/aliases.js +34 -0
  933. package/node_modules/css-select/lib/pseudo-selectors/aliases.js.map +1 -0
  934. package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts +4 -0
  935. package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map +1 -0
  936. package/node_modules/css-select/lib/pseudo-selectors/filters.js +157 -0
  937. package/node_modules/css-select/lib/pseudo-selectors/filters.js.map +1 -0
  938. package/node_modules/css-select/lib/pseudo-selectors/index.d.ts +8 -0
  939. package/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map +1 -0
  940. package/node_modules/css-select/lib/pseudo-selectors/index.js +46 -0
  941. package/node_modules/css-select/lib/pseudo-selectors/index.js.map +1 -0
  942. package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts +6 -0
  943. package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map +1 -0
  944. package/node_modules/css-select/lib/pseudo-selectors/pseudos.js +93 -0
  945. package/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map +1 -0
  946. package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts +9 -0
  947. package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map +1 -0
  948. package/node_modules/css-select/lib/pseudo-selectors/subselects.js +112 -0
  949. package/node_modules/css-select/lib/pseudo-selectors/subselects.js.map +1 -0
  950. package/node_modules/css-select/lib/sort.d.ts +12 -0
  951. package/node_modules/css-select/lib/sort.d.ts.map +1 -0
  952. package/node_modules/css-select/lib/sort.js +84 -0
  953. package/node_modules/css-select/lib/sort.js.map +1 -0
  954. package/node_modules/css-select/lib/types.d.ts +167 -0
  955. package/node_modules/css-select/lib/types.d.ts.map +1 -0
  956. package/node_modules/css-select/lib/types.js +3 -0
  957. package/node_modules/css-select/lib/types.js.map +1 -0
  958. package/node_modules/css-select/package.json +81 -0
  959. package/node_modules/css-what/LICENSE +11 -0
  960. package/node_modules/css-what/lib/commonjs/index.d.ts +4 -0
  961. package/node_modules/css-what/lib/commonjs/index.d.ts.map +1 -0
  962. package/node_modules/css-what/lib/commonjs/index.js +23 -0
  963. package/node_modules/css-what/lib/commonjs/parse.d.ts +20 -0
  964. package/node_modules/css-what/lib/commonjs/parse.d.ts.map +1 -0
  965. package/node_modules/css-what/lib/commonjs/parse.js +425 -0
  966. package/node_modules/css-what/lib/commonjs/stringify.d.ts +8 -0
  967. package/node_modules/css-what/lib/commonjs/stringify.d.ts.map +1 -0
  968. package/node_modules/css-what/lib/commonjs/stringify.js +138 -0
  969. package/node_modules/css-what/lib/commonjs/types.d.ts +70 -0
  970. package/node_modules/css-what/lib/commonjs/types.d.ts.map +1 -0
  971. package/node_modules/css-what/lib/commonjs/types.js +42 -0
  972. package/node_modules/css-what/lib/es/index.d.ts +4 -0
  973. package/node_modules/css-what/lib/es/index.d.ts.map +1 -0
  974. package/node_modules/css-what/lib/es/index.js +3 -0
  975. package/node_modules/css-what/lib/es/parse.d.ts +20 -0
  976. package/node_modules/css-what/lib/es/parse.d.ts.map +1 -0
  977. package/node_modules/css-what/lib/es/parse.js +420 -0
  978. package/node_modules/css-what/lib/es/stringify.d.ts +8 -0
  979. package/node_modules/css-what/lib/es/stringify.d.ts.map +1 -0
  980. package/node_modules/css-what/lib/es/stringify.js +126 -0
  981. package/node_modules/css-what/lib/es/types.d.ts +70 -0
  982. package/node_modules/css-what/lib/es/types.d.ts.map +1 -0
  983. package/node_modules/css-what/lib/es/types.js +39 -0
  984. package/node_modules/css-what/package.json +59 -0
  985. package/node_modules/css-what/readme.md +69 -0
  986. package/node_modules/dom-serializer/LICENSE +11 -0
  987. package/node_modules/dom-serializer/README.md +109 -0
  988. package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts +3 -0
  989. package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts.map +1 -0
  990. package/node_modules/dom-serializer/lib/esm/foreignNames.js +100 -0
  991. package/node_modules/dom-serializer/lib/esm/index.d.ts +52 -0
  992. package/node_modules/dom-serializer/lib/esm/index.d.ts.map +1 -0
  993. package/node_modules/dom-serializer/lib/esm/index.js +190 -0
  994. package/node_modules/dom-serializer/lib/esm/package.json +1 -0
  995. package/node_modules/dom-serializer/lib/foreignNames.d.ts +3 -0
  996. package/node_modules/dom-serializer/lib/foreignNames.d.ts.map +1 -0
  997. package/node_modules/dom-serializer/lib/foreignNames.js +103 -0
  998. package/node_modules/dom-serializer/lib/index.d.ts +52 -0
  999. package/node_modules/dom-serializer/lib/index.d.ts.map +1 -0
  1000. package/node_modules/dom-serializer/lib/index.js +229 -0
  1001. package/node_modules/dom-serializer/package.json +69 -0
  1002. package/node_modules/domelementtype/LICENSE +11 -0
  1003. package/node_modules/domelementtype/lib/esm/index.d.ts +48 -0
  1004. package/node_modules/domelementtype/lib/esm/index.d.ts.map +1 -0
  1005. package/node_modules/domelementtype/lib/esm/index.js +51 -0
  1006. package/node_modules/domelementtype/lib/esm/package.json +1 -0
  1007. package/node_modules/domelementtype/lib/index.d.ts +48 -0
  1008. package/node_modules/domelementtype/lib/index.d.ts.map +1 -0
  1009. package/node_modules/domelementtype/lib/index.js +55 -0
  1010. package/node_modules/domelementtype/package.json +54 -0
  1011. package/node_modules/domelementtype/readme.md +1 -0
  1012. package/node_modules/domhandler/LICENSE +11 -0
  1013. package/node_modules/domhandler/lib/esm/index.d.ts +76 -0
  1014. package/node_modules/domhandler/lib/esm/index.d.ts.map +1 -0
  1015. package/node_modules/domhandler/lib/esm/index.js +146 -0
  1016. package/node_modules/domhandler/lib/esm/node.d.ts +245 -0
  1017. package/node_modules/domhandler/lib/esm/node.d.ts.map +1 -0
  1018. package/node_modules/domhandler/lib/esm/node.js +338 -0
  1019. package/node_modules/domhandler/lib/esm/package.json +1 -0
  1020. package/node_modules/domhandler/lib/index.d.ts +76 -0
  1021. package/node_modules/domhandler/lib/index.d.ts.map +1 -0
  1022. package/node_modules/domhandler/lib/index.js +165 -0
  1023. package/node_modules/domhandler/lib/node.d.ts +245 -0
  1024. package/node_modules/domhandler/lib/node.d.ts.map +1 -0
  1025. package/node_modules/domhandler/lib/node.js +474 -0
  1026. package/node_modules/domhandler/package.json +73 -0
  1027. package/node_modules/domhandler/readme.md +92 -0
  1028. package/node_modules/domutils/LICENSE +11 -0
  1029. package/node_modules/domutils/lib/esm/feeds.d.ts +71 -0
  1030. package/node_modules/domutils/lib/esm/feeds.d.ts.map +1 -0
  1031. package/node_modules/domutils/lib/esm/feeds.js +183 -0
  1032. package/node_modules/domutils/lib/esm/feeds.js.map +1 -0
  1033. package/node_modules/domutils/lib/esm/helpers.d.ts +59 -0
  1034. package/node_modules/domutils/lib/esm/helpers.d.ts.map +1 -0
  1035. package/node_modules/domutils/lib/esm/helpers.js +136 -0
  1036. package/node_modules/domutils/lib/esm/helpers.js.map +1 -0
  1037. package/node_modules/domutils/lib/esm/index.d.ts +10 -0
  1038. package/node_modules/domutils/lib/esm/index.d.ts.map +1 -0
  1039. package/node_modules/domutils/lib/esm/index.js +10 -0
  1040. package/node_modules/domutils/lib/esm/index.js.map +1 -0
  1041. package/node_modules/domutils/lib/esm/legacy.d.ts +79 -0
  1042. package/node_modules/domutils/lib/esm/legacy.d.ts.map +1 -0
  1043. package/node_modules/domutils/lib/esm/legacy.js +152 -0
  1044. package/node_modules/domutils/lib/esm/legacy.js.map +1 -0
  1045. package/node_modules/domutils/lib/esm/manipulation.d.ts +49 -0
  1046. package/node_modules/domutils/lib/esm/manipulation.d.ts.map +1 -0
  1047. package/node_modules/domutils/lib/esm/manipulation.js +134 -0
  1048. package/node_modules/domutils/lib/esm/manipulation.js.map +1 -0
  1049. package/node_modules/domutils/lib/esm/package.json +1 -0
  1050. package/node_modules/domutils/lib/esm/querying.d.ts +64 -0
  1051. package/node_modules/domutils/lib/esm/querying.d.ts.map +1 -0
  1052. package/node_modules/domutils/lib/esm/querying.js +142 -0
  1053. package/node_modules/domutils/lib/esm/querying.js.map +1 -0
  1054. package/node_modules/domutils/lib/esm/stringify.d.ts +46 -0
  1055. package/node_modules/domutils/lib/esm/stringify.d.ts.map +1 -0
  1056. package/node_modules/domutils/lib/esm/stringify.js +81 -0
  1057. package/node_modules/domutils/lib/esm/stringify.js.map +1 -0
  1058. package/node_modules/domutils/lib/esm/traversal.d.ts +67 -0
  1059. package/node_modules/domutils/lib/esm/traversal.d.ts.map +1 -0
  1060. package/node_modules/domutils/lib/esm/traversal.js +112 -0
  1061. package/node_modules/domutils/lib/esm/traversal.js.map +1 -0
  1062. package/node_modules/domutils/lib/feeds.d.ts +71 -0
  1063. package/node_modules/domutils/lib/feeds.d.ts.map +1 -0
  1064. package/node_modules/domutils/lib/feeds.js +190 -0
  1065. package/node_modules/domutils/lib/feeds.js.map +1 -0
  1066. package/node_modules/domutils/lib/helpers.d.ts +59 -0
  1067. package/node_modules/domutils/lib/helpers.d.ts.map +1 -0
  1068. package/node_modules/domutils/lib/helpers.js +142 -0
  1069. package/node_modules/domutils/lib/helpers.js.map +1 -0
  1070. package/node_modules/domutils/lib/index.d.ts +10 -0
  1071. package/node_modules/domutils/lib/index.d.ts.map +1 -0
  1072. package/node_modules/domutils/lib/index.js +33 -0
  1073. package/node_modules/domutils/lib/index.js.map +1 -0
  1074. package/node_modules/domutils/lib/legacy.d.ts +79 -0
  1075. package/node_modules/domutils/lib/legacy.d.ts.map +1 -0
  1076. package/node_modules/domutils/lib/legacy.js +168 -0
  1077. package/node_modules/domutils/lib/legacy.js.map +1 -0
  1078. package/node_modules/domutils/lib/manipulation.d.ts +49 -0
  1079. package/node_modules/domutils/lib/manipulation.d.ts.map +1 -0
  1080. package/node_modules/domutils/lib/manipulation.js +142 -0
  1081. package/node_modules/domutils/lib/manipulation.js.map +1 -0
  1082. package/node_modules/domutils/lib/querying.d.ts +64 -0
  1083. package/node_modules/domutils/lib/querying.d.ts.map +1 -0
  1084. package/node_modules/domutils/lib/querying.js +155 -0
  1085. package/node_modules/domutils/lib/querying.js.map +1 -0
  1086. package/node_modules/domutils/lib/stringify.d.ts +46 -0
  1087. package/node_modules/domutils/lib/stringify.d.ts.map +1 -0
  1088. package/node_modules/domutils/lib/stringify.js +91 -0
  1089. package/node_modules/domutils/lib/stringify.js.map +1 -0
  1090. package/node_modules/domutils/lib/traversal.d.ts +67 -0
  1091. package/node_modules/domutils/lib/traversal.d.ts.map +1 -0
  1092. package/node_modules/domutils/lib/traversal.js +125 -0
  1093. package/node_modules/domutils/lib/traversal.js.map +1 -0
  1094. package/node_modules/domutils/package.json +79 -0
  1095. package/node_modules/domutils/readme.md +31 -0
  1096. package/node_modules/encoding-sniffer/LICENSE +18 -0
  1097. package/node_modules/encoding-sniffer/README.md +68 -0
  1098. package/node_modules/encoding-sniffer/dist/commonjs/index.d.ts +31 -0
  1099. package/node_modules/encoding-sniffer/dist/commonjs/index.d.ts.map +1 -0
  1100. package/node_modules/encoding-sniffer/dist/commonjs/index.js +72 -0
  1101. package/node_modules/encoding-sniffer/dist/commonjs/index.js.map +1 -0
  1102. package/node_modules/encoding-sniffer/dist/commonjs/package.json +3 -0
  1103. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.d.ts +148 -0
  1104. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.d.ts.map +1 -0
  1105. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.js +990 -0
  1106. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.js.map +1 -0
  1107. package/node_modules/encoding-sniffer/dist/esm/index.d.ts +31 -0
  1108. package/node_modules/encoding-sniffer/dist/esm/index.d.ts.map +1 -0
  1109. package/node_modules/encoding-sniffer/dist/esm/index.js +63 -0
  1110. package/node_modules/encoding-sniffer/dist/esm/index.js.map +1 -0
  1111. package/node_modules/encoding-sniffer/dist/esm/package.json +3 -0
  1112. package/node_modules/encoding-sniffer/dist/esm/sniffer.d.ts +148 -0
  1113. package/node_modules/encoding-sniffer/dist/esm/sniffer.d.ts.map +1 -0
  1114. package/node_modules/encoding-sniffer/dist/esm/sniffer.js +985 -0
  1115. package/node_modules/encoding-sniffer/dist/esm/sniffer.js.map +1 -0
  1116. package/node_modules/encoding-sniffer/package.json +94 -0
  1117. package/node_modules/encoding-sniffer/sniffer.d.ts +2 -0
  1118. package/node_modules/encoding-sniffer/sniffer.js +3 -0
  1119. package/node_modules/entities/LICENSE +11 -0
  1120. package/node_modules/entities/lib/decode.d.ts +211 -0
  1121. package/node_modules/entities/lib/decode.d.ts.map +1 -0
  1122. package/node_modules/entities/lib/decode.js +536 -0
  1123. package/node_modules/entities/lib/decode.js.map +1 -0
  1124. package/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
  1125. package/node_modules/entities/lib/decode_codepoint.d.ts.map +1 -0
  1126. package/node_modules/entities/lib/decode_codepoint.js +76 -0
  1127. package/node_modules/entities/lib/decode_codepoint.js.map +1 -0
  1128. package/node_modules/entities/lib/encode.d.ts +22 -0
  1129. package/node_modules/entities/lib/encode.d.ts.map +1 -0
  1130. package/node_modules/entities/lib/encode.js +77 -0
  1131. package/node_modules/entities/lib/encode.js.map +1 -0
  1132. package/node_modules/entities/lib/escape.d.ts +43 -0
  1133. package/node_modules/entities/lib/escape.d.ts.map +1 -0
  1134. package/node_modules/entities/lib/escape.js +122 -0
  1135. package/node_modules/entities/lib/escape.js.map +1 -0
  1136. package/node_modules/entities/lib/esm/decode.d.ts +211 -0
  1137. package/node_modules/entities/lib/esm/decode.d.ts.map +1 -0
  1138. package/node_modules/entities/lib/esm/decode.js +496 -0
  1139. package/node_modules/entities/lib/esm/decode.js.map +1 -0
  1140. package/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
  1141. package/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +1 -0
  1142. package/node_modules/entities/lib/esm/decode_codepoint.js +71 -0
  1143. package/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
  1144. package/node_modules/entities/lib/esm/encode.d.ts +22 -0
  1145. package/node_modules/entities/lib/esm/encode.d.ts.map +1 -0
  1146. package/node_modules/entities/lib/esm/encode.js +69 -0
  1147. package/node_modules/entities/lib/esm/encode.js.map +1 -0
  1148. package/node_modules/entities/lib/esm/escape.d.ts +43 -0
  1149. package/node_modules/entities/lib/esm/escape.d.ts.map +1 -0
  1150. package/node_modules/entities/lib/esm/escape.js +116 -0
  1151. package/node_modules/entities/lib/esm/escape.js.map +1 -0
  1152. package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
  1153. package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +1 -0
  1154. package/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
  1155. package/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
  1156. package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
  1157. package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +1 -0
  1158. package/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
  1159. package/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
  1160. package/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
  1161. package/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +1 -0
  1162. package/node_modules/entities/lib/esm/generated/encode-html.js +10 -0
  1163. package/node_modules/entities/lib/esm/generated/encode-html.js.map +1 -0
  1164. package/node_modules/entities/lib/esm/index.d.ts +96 -0
  1165. package/node_modules/entities/lib/esm/index.d.ts.map +1 -0
  1166. package/node_modules/entities/lib/esm/index.js +99 -0
  1167. package/node_modules/entities/lib/esm/index.js.map +1 -0
  1168. package/node_modules/entities/lib/esm/package.json +1 -0
  1169. package/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
  1170. package/node_modules/entities/lib/generated/decode-data-html.d.ts.map +1 -0
  1171. package/node_modules/entities/lib/generated/decode-data-html.js +9 -0
  1172. package/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
  1173. package/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
  1174. package/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +1 -0
  1175. package/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
  1176. package/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
  1177. package/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
  1178. package/node_modules/entities/lib/generated/encode-html.d.ts.map +1 -0
  1179. package/node_modules/entities/lib/generated/encode-html.js +12 -0
  1180. package/node_modules/entities/lib/generated/encode-html.js.map +1 -0
  1181. package/node_modules/entities/lib/index.d.ts +96 -0
  1182. package/node_modules/entities/lib/index.d.ts.map +1 -0
  1183. package/node_modules/entities/lib/index.js +126 -0
  1184. package/node_modules/entities/lib/index.js.map +1 -0
  1185. package/node_modules/entities/package.json +90 -0
  1186. package/node_modules/entities/readme.md +122 -0
  1187. package/node_modules/fast-deep-equal/LICENSE +21 -0
  1188. package/node_modules/fast-deep-equal/README.md +96 -0
  1189. package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
  1190. package/node_modules/fast-deep-equal/es6/index.js +72 -0
  1191. package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
  1192. package/node_modules/fast-deep-equal/es6/react.js +79 -0
  1193. package/node_modules/fast-deep-equal/index.d.ts +4 -0
  1194. package/node_modules/fast-deep-equal/index.js +46 -0
  1195. package/node_modules/fast-deep-equal/package.json +61 -0
  1196. package/node_modules/fast-deep-equal/react.d.ts +2 -0
  1197. package/node_modules/fast-deep-equal/react.js +53 -0
  1198. package/node_modules/fast-uri/.gitattributes +2 -0
  1199. package/node_modules/fast-uri/.github/dependabot.yml +13 -0
  1200. package/node_modules/fast-uri/.github/workflows/ci.yml +106 -0
  1201. package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
  1202. package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
  1203. package/node_modules/fast-uri/LICENSE +30 -0
  1204. package/node_modules/fast-uri/README.md +152 -0
  1205. package/node_modules/fast-uri/benchmark/benchmark.mjs +159 -0
  1206. package/node_modules/fast-uri/benchmark/equal.mjs +51 -0
  1207. package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +22 -0
  1208. package/node_modules/fast-uri/benchmark/package.json +17 -0
  1209. package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +24 -0
  1210. package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +65 -0
  1211. package/node_modules/fast-uri/eslint.config.js +6 -0
  1212. package/node_modules/fast-uri/index.js +631 -0
  1213. package/node_modules/fast-uri/lib/schemes.js +272 -0
  1214. package/node_modules/fast-uri/lib/utils.js +747 -0
  1215. package/node_modules/fast-uri/package.json +68 -0
  1216. package/node_modules/fast-uri/test/ajv.test.js +43 -0
  1217. package/node_modules/fast-uri/test/component-safe-serialization.test.js +163 -0
  1218. package/node_modules/fast-uri/test/equal.test.js +145 -0
  1219. package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +503 -0
  1220. package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +120 -0
  1221. package/node_modules/fast-uri/test/ipv6-canonical.test.js +34 -0
  1222. package/node_modules/fast-uri/test/ipv6-validation.test.js +124 -0
  1223. package/node_modules/fast-uri/test/malformed-percent.test.js +77 -0
  1224. package/node_modules/fast-uri/test/malformed-urn.test.js +61 -0
  1225. package/node_modules/fast-uri/test/parse.test.js +327 -0
  1226. package/node_modules/fast-uri/test/query-fragment-normalization.test.js +33 -0
  1227. package/node_modules/fast-uri/test/reserved-path-normalization.test.js +109 -0
  1228. package/node_modules/fast-uri/test/resolve.test.js +87 -0
  1229. package/node_modules/fast-uri/test/rfc-3986.test.js +90 -0
  1230. package/node_modules/fast-uri/test/scheme-validation.test.js +124 -0
  1231. package/node_modules/fast-uri/test/security-normalization.test.js +178 -0
  1232. package/node_modules/fast-uri/test/security.test.js +431 -0
  1233. package/node_modules/fast-uri/test/serialize.test.js +151 -0
  1234. package/node_modules/fast-uri/test/uri-js-compatibility.test.js +33 -0
  1235. package/node_modules/fast-uri/test/uri-js.test.js +912 -0
  1236. package/node_modules/fast-uri/test/urn-full-input.test.js +29 -0
  1237. package/node_modules/fast-uri/test/util.test.js +38 -0
  1238. package/node_modules/fast-uri/test/websocket-query-preservation.test.js +24 -0
  1239. package/node_modules/fast-uri/tsconfig.json +9 -0
  1240. package/node_modules/fast-uri/types/index.d.ts +60 -0
  1241. package/node_modules/fast-uri/types/index.test-d.ts +17 -0
  1242. package/node_modules/get-east-asian-width/index.d.ts +60 -0
  1243. package/node_modules/get-east-asian-width/index.js +35 -0
  1244. package/node_modules/get-east-asian-width/license +9 -0
  1245. package/node_modules/get-east-asian-width/lookup-data.js +21 -0
  1246. package/node_modules/get-east-asian-width/lookup.js +138 -0
  1247. package/node_modules/get-east-asian-width/package.json +71 -0
  1248. package/node_modules/get-east-asian-width/readme.md +65 -0
  1249. package/node_modules/get-east-asian-width/utilities.js +24 -0
  1250. package/node_modules/htmlparser2/LICENSE +18 -0
  1251. package/node_modules/htmlparser2/README.md +171 -0
  1252. package/node_modules/htmlparser2/WritableStream.js +3 -0
  1253. package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts +198 -0
  1254. package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts.map +1 -0
  1255. package/node_modules/htmlparser2/dist/commonjs/Parser.js +527 -0
  1256. package/node_modules/htmlparser2/dist/commonjs/Parser.js.map +1 -0
  1257. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts +126 -0
  1258. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts.map +1 -0
  1259. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js +805 -0
  1260. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js.map +1 -0
  1261. package/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts +15 -0
  1262. package/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts.map +1 -0
  1263. package/node_modules/htmlparser2/dist/commonjs/WritableStream.js +36 -0
  1264. package/node_modules/htmlparser2/dist/commonjs/WritableStream.js.map +1 -0
  1265. package/node_modules/htmlparser2/dist/commonjs/index.d.ts +54 -0
  1266. package/node_modules/htmlparser2/dist/commonjs/index.d.ts.map +1 -0
  1267. package/node_modules/htmlparser2/dist/commonjs/index.js +123 -0
  1268. package/node_modules/htmlparser2/dist/commonjs/index.js.map +1 -0
  1269. package/node_modules/htmlparser2/dist/commonjs/package.json +3 -0
  1270. package/node_modules/htmlparser2/dist/esm/Parser.d.ts +198 -0
  1271. package/node_modules/htmlparser2/dist/esm/Parser.d.ts.map +1 -0
  1272. package/node_modules/htmlparser2/dist/esm/Parser.js +490 -0
  1273. package/node_modules/htmlparser2/dist/esm/Parser.js.map +1 -0
  1274. package/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts +126 -0
  1275. package/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts.map +1 -0
  1276. package/node_modules/htmlparser2/dist/esm/Tokenizer.js +801 -0
  1277. package/node_modules/htmlparser2/dist/esm/Tokenizer.js.map +1 -0
  1278. package/node_modules/htmlparser2/dist/esm/WritableStream.d.ts +15 -0
  1279. package/node_modules/htmlparser2/dist/esm/WritableStream.d.ts.map +1 -0
  1280. package/node_modules/htmlparser2/dist/esm/WritableStream.js +32 -0
  1281. package/node_modules/htmlparser2/dist/esm/WritableStream.js.map +1 -0
  1282. package/node_modules/htmlparser2/dist/esm/index.d.ts +54 -0
  1283. package/node_modules/htmlparser2/dist/esm/index.d.ts.map +1 -0
  1284. package/node_modules/htmlparser2/dist/esm/index.js +74 -0
  1285. package/node_modules/htmlparser2/dist/esm/index.js.map +1 -0
  1286. package/node_modules/htmlparser2/dist/esm/package.json +3 -0
  1287. package/node_modules/htmlparser2/node_modules/entities/LICENSE +11 -0
  1288. package/node_modules/htmlparser2/node_modules/entities/decode.d.ts +3 -0
  1289. package/node_modules/htmlparser2/node_modules/entities/decode.js +3 -0
  1290. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +19 -0
  1291. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +1 -0
  1292. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
  1293. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
  1294. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.d.ts +205 -0
  1295. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.d.ts.map +1 -0
  1296. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +568 -0
  1297. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +1 -0
  1298. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.d.ts +22 -0
  1299. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.d.ts.map +1 -0
  1300. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js +92 -0
  1301. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js.map +1 -0
  1302. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.d.ts +46 -0
  1303. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.d.ts.map +1 -0
  1304. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js +138 -0
  1305. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js.map +1 -0
  1306. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
  1307. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +1 -0
  1308. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
  1309. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
  1310. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
  1311. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +1 -0
  1312. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
  1313. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
  1314. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +3 -0
  1315. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +1 -0
  1316. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js +14 -0
  1317. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js.map +1 -0
  1318. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.d.ts +96 -0
  1319. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.d.ts.map +1 -0
  1320. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js +131 -0
  1321. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js.map +1 -0
  1322. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +17 -0
  1323. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts.map +1 -0
  1324. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
  1325. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js.map +1 -0
  1326. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +2 -0
  1327. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts.map +1 -0
  1328. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
  1329. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js.map +1 -0
  1330. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +32 -0
  1331. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts.map +1 -0
  1332. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js +94 -0
  1333. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js.map +1 -0
  1334. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/package.json +3 -0
  1335. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts +19 -0
  1336. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +1 -0
  1337. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js +72 -0
  1338. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js.map +1 -0
  1339. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts +205 -0
  1340. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts.map +1 -0
  1341. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js +554 -0
  1342. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js.map +1 -0
  1343. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts +22 -0
  1344. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts.map +1 -0
  1345. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js +88 -0
  1346. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js.map +1 -0
  1347. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts +46 -0
  1348. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts.map +1 -0
  1349. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js +134 -0
  1350. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js.map +1 -0
  1351. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
  1352. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +1 -0
  1353. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js +4 -0
  1354. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js.map +1 -0
  1355. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
  1356. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +1 -0
  1357. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js +4 -0
  1358. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +1 -0
  1359. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts +3 -0
  1360. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +1 -0
  1361. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js +11 -0
  1362. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js.map +1 -0
  1363. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts +96 -0
  1364. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts.map +1 -0
  1365. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.js +107 -0
  1366. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.js.map +1 -0
  1367. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +17 -0
  1368. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts.map +1 -0
  1369. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js +18 -0
  1370. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js.map +1 -0
  1371. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts +2 -0
  1372. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts.map +1 -0
  1373. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js +28 -0
  1374. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js.map +1 -0
  1375. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts +32 -0
  1376. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts.map +1 -0
  1377. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js +91 -0
  1378. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js.map +1 -0
  1379. package/node_modules/htmlparser2/node_modules/entities/dist/esm/package.json +3 -0
  1380. package/node_modules/htmlparser2/node_modules/entities/escape.d.ts +3 -0
  1381. package/node_modules/htmlparser2/node_modules/entities/escape.js +3 -0
  1382. package/node_modules/htmlparser2/node_modules/entities/package.json +120 -0
  1383. package/node_modules/htmlparser2/node_modules/entities/readme.md +143 -0
  1384. package/node_modules/htmlparser2/node_modules/entities/src/decode-codepoint.ts +81 -0
  1385. package/node_modules/htmlparser2/node_modules/entities/src/decode.ts +685 -0
  1386. package/node_modules/htmlparser2/node_modules/entities/src/encode.ts +93 -0
  1387. package/node_modules/htmlparser2/node_modules/entities/src/escape.ts +161 -0
  1388. package/node_modules/htmlparser2/node_modules/entities/src/generated/.eslintrc.json +10 -0
  1389. package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-html.ts +6 -0
  1390. package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-xml.ts +6 -0
  1391. package/node_modules/htmlparser2/node_modules/entities/src/generated/encode-html.ts +17 -0
  1392. package/node_modules/htmlparser2/node_modules/entities/src/index.ts +187 -0
  1393. package/node_modules/htmlparser2/node_modules/entities/src/internal/bin-trie-flags.ts +16 -0
  1394. package/node_modules/htmlparser2/node_modules/entities/src/internal/decode-shared.ts +30 -0
  1395. package/node_modules/htmlparser2/node_modules/entities/src/internal/encode-shared.ts +121 -0
  1396. package/node_modules/htmlparser2/package.json +113 -0
  1397. package/node_modules/htmlparser2/src/Parser.ts +663 -0
  1398. package/node_modules/htmlparser2/src/Tokenizer.ts +877 -0
  1399. package/node_modules/htmlparser2/src/WritableStream.ts +43 -0
  1400. package/node_modules/htmlparser2/src/index.ts +115 -0
  1401. package/node_modules/iconv-lite/.github/dependabot.yml +11 -0
  1402. package/node_modules/iconv-lite/.idea/codeStyles/Project.xml +47 -0
  1403. package/node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml +5 -0
  1404. package/node_modules/iconv-lite/.idea/iconv-lite.iml +12 -0
  1405. package/node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml +6 -0
  1406. package/node_modules/iconv-lite/.idea/modules.xml +8 -0
  1407. package/node_modules/iconv-lite/.idea/vcs.xml +6 -0
  1408. package/node_modules/iconv-lite/Changelog.md +212 -0
  1409. package/node_modules/iconv-lite/LICENSE +21 -0
  1410. package/node_modules/iconv-lite/README.md +130 -0
  1411. package/node_modules/iconv-lite/encodings/dbcs-codec.js +597 -0
  1412. package/node_modules/iconv-lite/encodings/dbcs-data.js +188 -0
  1413. package/node_modules/iconv-lite/encodings/index.js +23 -0
  1414. package/node_modules/iconv-lite/encodings/internal.js +198 -0
  1415. package/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
  1416. package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  1417. package/node_modules/iconv-lite/encodings/sbcs-data.js +179 -0
  1418. package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  1419. package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  1420. package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  1421. package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  1422. package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  1423. package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  1424. package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  1425. package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  1426. package/node_modules/iconv-lite/encodings/utf16.js +197 -0
  1427. package/node_modules/iconv-lite/encodings/utf32.js +319 -0
  1428. package/node_modules/iconv-lite/encodings/utf7.js +290 -0
  1429. package/node_modules/iconv-lite/lib/bom-handling.js +52 -0
  1430. package/node_modules/iconv-lite/lib/index.d.ts +41 -0
  1431. package/node_modules/iconv-lite/lib/index.js +180 -0
  1432. package/node_modules/iconv-lite/lib/streams.js +109 -0
  1433. package/node_modules/iconv-lite/package.json +44 -0
  1434. package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
  1435. package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
  1436. package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
  1437. package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
  1438. package/node_modules/json-schema-traverse/LICENSE +21 -0
  1439. package/node_modules/json-schema-traverse/README.md +95 -0
  1440. package/node_modules/json-schema-traverse/index.d.ts +40 -0
  1441. package/node_modules/json-schema-traverse/index.js +93 -0
  1442. package/node_modules/json-schema-traverse/package.json +43 -0
  1443. package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
  1444. package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
  1445. package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
  1446. package/node_modules/marked/LICENSE +44 -0
  1447. package/node_modules/marked/README.md +117 -0
  1448. package/node_modules/marked/bin/main.js +284 -0
  1449. package/node_modules/marked/bin/marked.js +16 -0
  1450. package/node_modules/marked/lib/marked.d.ts +841 -0
  1451. package/node_modules/marked/lib/marked.esm.js +78 -0
  1452. package/node_modules/marked/lib/marked.esm.js.map +7 -0
  1453. package/node_modules/marked/lib/marked.umd.js +80 -0
  1454. package/node_modules/marked/lib/marked.umd.js.map +7 -0
  1455. package/node_modules/marked/man/marked.1 +113 -0
  1456. package/node_modules/marked/man/marked.1.md +93 -0
  1457. package/node_modules/marked/package.json +103 -0
  1458. package/node_modules/nth-check/LICENSE +11 -0
  1459. package/node_modules/nth-check/README.md +136 -0
  1460. package/node_modules/nth-check/lib/compile.d.ts +55 -0
  1461. package/node_modules/nth-check/lib/compile.d.ts.map +1 -0
  1462. package/node_modules/nth-check/lib/compile.js +121 -0
  1463. package/node_modules/nth-check/lib/compile.js.map +1 -0
  1464. package/node_modules/nth-check/lib/esm/compile.d.ts +55 -0
  1465. package/node_modules/nth-check/lib/esm/compile.d.ts.map +1 -0
  1466. package/node_modules/nth-check/lib/esm/compile.js +113 -0
  1467. package/node_modules/nth-check/lib/esm/compile.js.map +1 -0
  1468. package/node_modules/nth-check/lib/esm/index.d.ts +59 -0
  1469. package/node_modules/nth-check/lib/esm/index.d.ts.map +1 -0
  1470. package/node_modules/nth-check/lib/esm/index.js +63 -0
  1471. package/node_modules/nth-check/lib/esm/index.js.map +1 -0
  1472. package/node_modules/nth-check/lib/esm/package.json +1 -0
  1473. package/node_modules/nth-check/lib/esm/parse.d.ts +9 -0
  1474. package/node_modules/nth-check/lib/esm/parse.d.ts.map +1 -0
  1475. package/node_modules/nth-check/lib/esm/parse.js +73 -0
  1476. package/node_modules/nth-check/lib/esm/parse.js.map +1 -0
  1477. package/node_modules/nth-check/lib/index.d.ts +59 -0
  1478. package/node_modules/nth-check/lib/index.d.ts.map +1 -0
  1479. package/node_modules/nth-check/lib/index.js +70 -0
  1480. package/node_modules/nth-check/lib/index.js.map +1 -0
  1481. package/node_modules/nth-check/lib/parse.d.ts +9 -0
  1482. package/node_modules/nth-check/lib/parse.d.ts.map +1 -0
  1483. package/node_modules/nth-check/lib/parse.js +77 -0
  1484. package/node_modules/nth-check/lib/parse.js.map +1 -0
  1485. package/node_modules/nth-check/package.json +78 -0
  1486. package/node_modules/parse5/LICENSE +19 -0
  1487. package/node_modules/parse5/README.md +38 -0
  1488. package/node_modules/parse5/dist/cjs/common/doctype.d.ts +4 -0
  1489. package/node_modules/parse5/dist/cjs/common/doctype.js +118 -0
  1490. package/node_modules/parse5/dist/cjs/common/error-codes.d.ts +67 -0
  1491. package/node_modules/parse5/dist/cjs/common/error-codes.js +66 -0
  1492. package/node_modules/parse5/dist/cjs/common/foreign-content.d.ts +9 -0
  1493. package/node_modules/parse5/dist/cjs/common/foreign-content.js +237 -0
  1494. package/node_modules/parse5/dist/cjs/common/html.d.ts +289 -0
  1495. package/node_modules/parse5/dist/cjs/common/html.js +528 -0
  1496. package/node_modules/parse5/dist/cjs/common/token.d.ts +84 -0
  1497. package/node_modules/parse5/dist/cjs/common/token.js +24 -0
  1498. package/node_modules/parse5/dist/cjs/common/unicode.d.ts +42 -0
  1499. package/node_modules/parse5/dist/cjs/common/unicode.js +70 -0
  1500. package/node_modules/parse5/dist/cjs/index.d.ts +71 -0
  1501. package/node_modules/parse5/dist/cjs/index.js +54 -0
  1502. package/node_modules/parse5/dist/cjs/package.json +1 -0
  1503. package/node_modules/parse5/dist/cjs/parser/formatting-element-list.d.ts +36 -0
  1504. package/node_modules/parse5/dist/cjs/parser/formatting-element-list.js +114 -0
  1505. package/node_modules/parse5/dist/cjs/parser/index.d.ts +221 -0
  1506. package/node_modules/parse5/dist/cjs/parser/index.js +3240 -0
  1507. package/node_modules/parse5/dist/cjs/parser/open-element-stack.d.ts +53 -0
  1508. package/node_modules/parse5/dist/cjs/parser/open-element-stack.js +328 -0
  1509. package/node_modules/parse5/dist/cjs/serializer/index.d.ts +60 -0
  1510. package/node_modules/parse5/dist/cjs/serializer/index.js +172 -0
  1511. package/node_modules/parse5/dist/cjs/tokenizer/index.d.ts +247 -0
  1512. package/node_modules/parse5/dist/cjs/tokenizer/index.js +2714 -0
  1513. package/node_modules/parse5/dist/cjs/tokenizer/preprocessor.d.ts +36 -0
  1514. package/node_modules/parse5/dist/cjs/tokenizer/preprocessor.js +200 -0
  1515. package/node_modules/parse5/dist/cjs/tree-adapters/default.d.ts +84 -0
  1516. package/node_modules/parse5/dist/cjs/tree-adapters/default.js +176 -0
  1517. package/node_modules/parse5/dist/cjs/tree-adapters/interface.d.ts +255 -0
  1518. package/node_modules/parse5/dist/cjs/tree-adapters/interface.js +2 -0
  1519. package/node_modules/parse5/dist/common/doctype.d.ts +4 -0
  1520. package/node_modules/parse5/dist/common/doctype.js +114 -0
  1521. package/node_modules/parse5/dist/common/error-codes.d.ts +67 -0
  1522. package/node_modules/parse5/dist/common/error-codes.js +63 -0
  1523. package/node_modules/parse5/dist/common/foreign-content.d.ts +9 -0
  1524. package/node_modules/parse5/dist/common/foreign-content.js +228 -0
  1525. package/node_modules/parse5/dist/common/html.d.ts +289 -0
  1526. package/node_modules/parse5/dist/common/html.js +523 -0
  1527. package/node_modules/parse5/dist/common/token.d.ts +84 -0
  1528. package/node_modules/parse5/dist/common/token.js +20 -0
  1529. package/node_modules/parse5/dist/common/unicode.d.ts +42 -0
  1530. package/node_modules/parse5/dist/common/unicode.js +62 -0
  1531. package/node_modules/parse5/dist/index.d.ts +71 -0
  1532. package/node_modules/parse5/dist/index.js +42 -0
  1533. package/node_modules/parse5/dist/parser/formatting-element-list.d.ts +36 -0
  1534. package/node_modules/parse5/dist/parser/formatting-element-list.js +110 -0
  1535. package/node_modules/parse5/dist/parser/index.d.ts +221 -0
  1536. package/node_modules/parse5/dist/parser/index.js +3245 -0
  1537. package/node_modules/parse5/dist/parser/open-element-stack.d.ts +53 -0
  1538. package/node_modules/parse5/dist/parser/open-element-stack.js +324 -0
  1539. package/node_modules/parse5/dist/serializer/index.d.ts +60 -0
  1540. package/node_modules/parse5/dist/serializer/index.js +168 -0
  1541. package/node_modules/parse5/dist/tokenizer/index.d.ts +247 -0
  1542. package/node_modules/parse5/dist/tokenizer/index.js +2710 -0
  1543. package/node_modules/parse5/dist/tokenizer/preprocessor.d.ts +36 -0
  1544. package/node_modules/parse5/dist/tokenizer/preprocessor.js +196 -0
  1545. package/node_modules/parse5/dist/tree-adapters/default.d.ts +84 -0
  1546. package/node_modules/parse5/dist/tree-adapters/default.js +173 -0
  1547. package/node_modules/parse5/dist/tree-adapters/interface.d.ts +255 -0
  1548. package/node_modules/parse5/dist/tree-adapters/interface.js +1 -0
  1549. package/node_modules/parse5/node_modules/entities/LICENSE +11 -0
  1550. package/node_modules/parse5/node_modules/entities/decode.d.ts +1 -0
  1551. package/node_modules/parse5/node_modules/entities/decode.js +3 -0
  1552. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +19 -0
  1553. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +1 -0
  1554. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
  1555. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
  1556. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts +209 -0
  1557. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts.map +1 -0
  1558. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js +511 -0
  1559. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js.map +1 -0
  1560. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts +22 -0
  1561. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts.map +1 -0
  1562. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js +73 -0
  1563. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js.map +1 -0
  1564. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts +43 -0
  1565. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts.map +1 -0
  1566. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js +121 -0
  1567. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js.map +1 -0
  1568. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
  1569. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +1 -0
  1570. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js +10 -0
  1571. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
  1572. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
  1573. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +1 -0
  1574. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +10 -0
  1575. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
  1576. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +8 -0
  1577. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +1 -0
  1578. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js +13 -0
  1579. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js.map +1 -0
  1580. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts +96 -0
  1581. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts.map +1 -0
  1582. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.js +131 -0
  1583. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.js.map +1 -0
  1584. package/node_modules/parse5/node_modules/entities/dist/commonjs/package.json +3 -0
  1585. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts +19 -0
  1586. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +1 -0
  1587. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js +72 -0
  1588. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js.map +1 -0
  1589. package/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts +209 -0
  1590. package/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts.map +1 -0
  1591. package/node_modules/parse5/node_modules/entities/dist/esm/decode.js +497 -0
  1592. package/node_modules/parse5/node_modules/entities/dist/esm/decode.js.map +1 -0
  1593. package/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts +22 -0
  1594. package/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts.map +1 -0
  1595. package/node_modules/parse5/node_modules/entities/dist/esm/encode.js +69 -0
  1596. package/node_modules/parse5/node_modules/entities/dist/esm/encode.js.map +1 -0
  1597. package/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts +43 -0
  1598. package/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts.map +1 -0
  1599. package/node_modules/parse5/node_modules/entities/dist/esm/escape.js +117 -0
  1600. package/node_modules/parse5/node_modules/entities/dist/esm/escape.js.map +1 -0
  1601. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
  1602. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +1 -0
  1603. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js +7 -0
  1604. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js.map +1 -0
  1605. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
  1606. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +1 -0
  1607. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js +7 -0
  1608. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +1 -0
  1609. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts +8 -0
  1610. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +1 -0
  1611. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js +10 -0
  1612. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js.map +1 -0
  1613. package/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts +96 -0
  1614. package/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts.map +1 -0
  1615. package/node_modules/parse5/node_modules/entities/dist/esm/index.js +107 -0
  1616. package/node_modules/parse5/node_modules/entities/dist/esm/index.js.map +1 -0
  1617. package/node_modules/parse5/node_modules/entities/dist/esm/package.json +3 -0
  1618. package/node_modules/parse5/node_modules/entities/escape.d.ts +1 -0
  1619. package/node_modules/parse5/node_modules/entities/escape.js +3 -0
  1620. package/node_modules/parse5/node_modules/entities/package.json +118 -0
  1621. package/node_modules/parse5/node_modules/entities/readme.md +122 -0
  1622. package/node_modules/parse5/node_modules/entities/src/decode-codepoint.ts +81 -0
  1623. package/node_modules/parse5/node_modules/entities/src/decode.spec.ts +320 -0
  1624. package/node_modules/parse5/node_modules/entities/src/decode.ts +620 -0
  1625. package/node_modules/parse5/node_modules/entities/src/encode.spec.ts +78 -0
  1626. package/node_modules/parse5/node_modules/entities/src/encode.ts +77 -0
  1627. package/node_modules/parse5/node_modules/entities/src/escape.spec.ts +14 -0
  1628. package/node_modules/parse5/node_modules/entities/src/escape.ts +148 -0
  1629. package/node_modules/parse5/node_modules/entities/src/generated/.eslintrc.json +10 -0
  1630. package/node_modules/parse5/node_modules/entities/src/generated/decode-data-html.ts +8 -0
  1631. package/node_modules/parse5/node_modules/entities/src/generated/decode-data-xml.ts +8 -0
  1632. package/node_modules/parse5/node_modules/entities/src/generated/encode-html.ts +17 -0
  1633. package/node_modules/parse5/node_modules/entities/src/index.spec.ts +125 -0
  1634. package/node_modules/parse5/node_modules/entities/src/index.ts +188 -0
  1635. package/node_modules/parse5/package.json +50 -0
  1636. package/node_modules/parse5-htmlparser2-tree-adapter/LICENSE +19 -0
  1637. package/node_modules/parse5-htmlparser2-tree-adapter/README.md +34 -0
  1638. package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.d.ts +6 -0
  1639. package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.js +214 -0
  1640. package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/package.json +1 -0
  1641. package/node_modules/parse5-htmlparser2-tree-adapter/dist/index.d.ts +6 -0
  1642. package/node_modules/parse5-htmlparser2-tree-adapter/dist/index.js +213 -0
  1643. package/node_modules/parse5-htmlparser2-tree-adapter/package.json +40 -0
  1644. package/node_modules/parse5-parser-stream/LICENSE +19 -0
  1645. package/node_modules/parse5-parser-stream/README.md +34 -0
  1646. package/node_modules/parse5-parser-stream/dist/cjs/index.d.ts +85 -0
  1647. package/node_modules/parse5-parser-stream/dist/cjs/index.js +90 -0
  1648. package/node_modules/parse5-parser-stream/dist/cjs/package.json +1 -0
  1649. package/node_modules/parse5-parser-stream/dist/index.d.ts +85 -0
  1650. package/node_modules/parse5-parser-stream/dist/index.js +86 -0
  1651. package/node_modules/parse5-parser-stream/package.json +39 -0
  1652. package/node_modules/quickjs-emscripten/LICENSE +21 -0
  1653. package/node_modules/quickjs-emscripten/README.md +928 -0
  1654. package/node_modules/quickjs-emscripten/dist/chunk-OHAYRCBA.mjs +2 -0
  1655. package/node_modules/quickjs-emscripten/dist/chunk-OHAYRCBA.mjs.map +1 -0
  1656. package/node_modules/quickjs-emscripten/dist/index.d.mts +57 -0
  1657. package/node_modules/quickjs-emscripten/dist/index.d.ts +57 -0
  1658. package/node_modules/quickjs-emscripten/dist/index.global.js +7309 -0
  1659. package/node_modules/quickjs-emscripten/dist/index.js +2 -0
  1660. package/node_modules/quickjs-emscripten/dist/index.js.map +1 -0
  1661. package/node_modules/quickjs-emscripten/dist/index.mjs +2 -0
  1662. package/node_modules/quickjs-emscripten/dist/index.mjs.map +1 -0
  1663. package/node_modules/quickjs-emscripten/dist/variants.d.mts +39 -0
  1664. package/node_modules/quickjs-emscripten/dist/variants.d.ts +39 -0
  1665. package/node_modules/quickjs-emscripten/dist/variants.js +2 -0
  1666. package/node_modules/quickjs-emscripten/dist/variants.js.map +1 -0
  1667. package/node_modules/quickjs-emscripten/dist/variants.mjs +2 -0
  1668. package/node_modules/quickjs-emscripten/dist/variants.mjs.map +1 -0
  1669. package/node_modules/quickjs-emscripten/package.json +69 -0
  1670. package/node_modules/quickjs-emscripten-core/LICENSE +21 -0
  1671. package/node_modules/quickjs-emscripten-core/README.md +341 -0
  1672. package/node_modules/quickjs-emscripten-core/README.template.md +70 -0
  1673. package/node_modules/quickjs-emscripten-core/dist/chunk-TAV5CUKK.mjs +2 -0
  1674. package/node_modules/quickjs-emscripten-core/dist/chunk-TAV5CUKK.mjs.map +1 -0
  1675. package/node_modules/quickjs-emscripten-core/dist/chunk-V2S4ZYJR.mjs +7 -0
  1676. package/node_modules/quickjs-emscripten-core/dist/chunk-V2S4ZYJR.mjs.map +1 -0
  1677. package/node_modules/quickjs-emscripten-core/dist/index.d.mts +2033 -0
  1678. package/node_modules/quickjs-emscripten-core/dist/index.d.ts +2033 -0
  1679. package/node_modules/quickjs-emscripten-core/dist/index.js +7 -0
  1680. package/node_modules/quickjs-emscripten-core/dist/index.js.map +1 -0
  1681. package/node_modules/quickjs-emscripten-core/dist/index.mjs +2 -0
  1682. package/node_modules/quickjs-emscripten-core/dist/index.mjs.map +1 -0
  1683. package/node_modules/quickjs-emscripten-core/dist/module-ES6BEMUI.mjs +2 -0
  1684. package/node_modules/quickjs-emscripten-core/dist/module-ES6BEMUI.mjs.map +1 -0
  1685. package/node_modules/quickjs-emscripten-core/dist/module-asyncify-2EFITU5U.mjs +2 -0
  1686. package/node_modules/quickjs-emscripten-core/dist/module-asyncify-2EFITU5U.mjs.map +1 -0
  1687. package/node_modules/quickjs-emscripten-core/package.json +49 -0
  1688. package/node_modules/require-from-string/index.js +34 -0
  1689. package/node_modules/require-from-string/license +21 -0
  1690. package/node_modules/require-from-string/package.json +28 -0
  1691. package/node_modules/require-from-string/readme.md +56 -0
  1692. package/node_modules/safer-buffer/LICENSE +21 -0
  1693. package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  1694. package/node_modules/safer-buffer/Readme.md +156 -0
  1695. package/node_modules/safer-buffer/dangerous.js +58 -0
  1696. package/node_modules/safer-buffer/package.json +34 -0
  1697. package/node_modules/safer-buffer/safer.js +77 -0
  1698. package/node_modules/safer-buffer/tests.js +406 -0
  1699. package/node_modules/string-width/index.d.ts +39 -0
  1700. package/node_modules/string-width/index.js +203 -0
  1701. package/node_modules/string-width/license +9 -0
  1702. package/node_modules/string-width/package.json +65 -0
  1703. package/node_modules/string-width/readme.md +66 -0
  1704. package/node_modules/strip-ansi/index.d.ts +15 -0
  1705. package/node_modules/strip-ansi/index.js +19 -0
  1706. package/node_modules/strip-ansi/license +9 -0
  1707. package/node_modules/strip-ansi/package.json +59 -0
  1708. package/node_modules/strip-ansi/readme.md +37 -0
  1709. package/node_modules/undici/LICENSE +21 -0
  1710. package/node_modules/undici/README.md +741 -0
  1711. package/node_modules/undici/docs/docs/api/Agent.md +84 -0
  1712. package/node_modules/undici/docs/docs/api/BalancedPool.md +99 -0
  1713. package/node_modules/undici/docs/docs/api/CacheStorage.md +30 -0
  1714. package/node_modules/undici/docs/docs/api/CacheStore.md +164 -0
  1715. package/node_modules/undici/docs/docs/api/Client.md +288 -0
  1716. package/node_modules/undici/docs/docs/api/ClientStats.md +27 -0
  1717. package/node_modules/undici/docs/docs/api/Connector.md +115 -0
  1718. package/node_modules/undici/docs/docs/api/ContentType.md +57 -0
  1719. package/node_modules/undici/docs/docs/api/Cookies.md +128 -0
  1720. package/node_modules/undici/docs/docs/api/Debug.md +62 -0
  1721. package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +317 -0
  1722. package/node_modules/undici/docs/docs/api/Dispatcher.md +1393 -0
  1723. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +159 -0
  1724. package/node_modules/undici/docs/docs/api/Errors.md +49 -0
  1725. package/node_modules/undici/docs/docs/api/EventSource.md +45 -0
  1726. package/node_modules/undici/docs/docs/api/Fetch.md +60 -0
  1727. package/node_modules/undici/docs/docs/api/GlobalInstallation.md +139 -0
  1728. package/node_modules/undici/docs/docs/api/H2CClient.md +263 -0
  1729. package/node_modules/undici/docs/docs/api/MockAgent.md +603 -0
  1730. package/node_modules/undici/docs/docs/api/MockCallHistory.md +197 -0
  1731. package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +43 -0
  1732. package/node_modules/undici/docs/docs/api/MockClient.md +81 -0
  1733. package/node_modules/undici/docs/docs/api/MockErrors.md +12 -0
  1734. package/node_modules/undici/docs/docs/api/MockPool.md +555 -0
  1735. package/node_modules/undici/docs/docs/api/Pool.md +84 -0
  1736. package/node_modules/undici/docs/docs/api/PoolStats.md +35 -0
  1737. package/node_modules/undici/docs/docs/api/ProxyAgent.md +229 -0
  1738. package/node_modules/undici/docs/docs/api/RedirectHandler.md +93 -0
  1739. package/node_modules/undici/docs/docs/api/RetryAgent.md +50 -0
  1740. package/node_modules/undici/docs/docs/api/RetryHandler.md +118 -0
  1741. package/node_modules/undici/docs/docs/api/RoundRobinPool.md +145 -0
  1742. package/node_modules/undici/docs/docs/api/SnapshotAgent.md +616 -0
  1743. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +275 -0
  1744. package/node_modules/undici/docs/docs/api/Util.md +25 -0
  1745. package/node_modules/undici/docs/docs/api/WebSocket.md +141 -0
  1746. package/node_modules/undici/docs/docs/api/api-lifecycle.md +91 -0
  1747. package/node_modules/undici/docs/docs/best-practices/client-certificate.md +64 -0
  1748. package/node_modules/undici/docs/docs/best-practices/crawling.md +58 -0
  1749. package/node_modules/undici/docs/docs/best-practices/mocking-request.md +190 -0
  1750. package/node_modules/undici/docs/docs/best-practices/proxy.md +127 -0
  1751. package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +224 -0
  1752. package/node_modules/undici/docs/docs/best-practices/writing-tests.md +63 -0
  1753. package/node_modules/undici/index-fetch.js +65 -0
  1754. package/node_modules/undici/index.d.ts +3 -0
  1755. package/node_modules/undici/index.js +234 -0
  1756. package/node_modules/undici/lib/api/abort-signal.js +59 -0
  1757. package/node_modules/undici/lib/api/api-connect.js +110 -0
  1758. package/node_modules/undici/lib/api/api-pipeline.js +252 -0
  1759. package/node_modules/undici/lib/api/api-request.js +214 -0
  1760. package/node_modules/undici/lib/api/api-stream.js +209 -0
  1761. package/node_modules/undici/lib/api/api-upgrade.js +111 -0
  1762. package/node_modules/undici/lib/api/index.js +7 -0
  1763. package/node_modules/undici/lib/api/readable.js +580 -0
  1764. package/node_modules/undici/lib/cache/memory-cache-store.js +279 -0
  1765. package/node_modules/undici/lib/cache/sqlite-cache-store.js +467 -0
  1766. package/node_modules/undici/lib/core/connect.js +153 -0
  1767. package/node_modules/undici/lib/core/constants.js +143 -0
  1768. package/node_modules/undici/lib/core/diagnostics.js +227 -0
  1769. package/node_modules/undici/lib/core/errors.js +477 -0
  1770. package/node_modules/undici/lib/core/request.js +485 -0
  1771. package/node_modules/undici/lib/core/socks5-client.js +422 -0
  1772. package/node_modules/undici/lib/core/socks5-utils.js +212 -0
  1773. package/node_modules/undici/lib/core/symbols.js +75 -0
  1774. package/node_modules/undici/lib/core/tree.js +160 -0
  1775. package/node_modules/undici/lib/core/util.js +992 -0
  1776. package/node_modules/undici/lib/dispatcher/agent.js +158 -0
  1777. package/node_modules/undici/lib/dispatcher/balanced-pool.js +221 -0
  1778. package/node_modules/undici/lib/dispatcher/client-h1.js +1746 -0
  1779. package/node_modules/undici/lib/dispatcher/client-h2.js +1060 -0
  1780. package/node_modules/undici/lib/dispatcher/client.js +668 -0
  1781. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +184 -0
  1782. package/node_modules/undici/lib/dispatcher/dispatcher.js +48 -0
  1783. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +146 -0
  1784. package/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
  1785. package/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
  1786. package/node_modules/undici/lib/dispatcher/pool-base.js +214 -0
  1787. package/node_modules/undici/lib/dispatcher/pool.js +118 -0
  1788. package/node_modules/undici/lib/dispatcher/proxy-agent.js +319 -0
  1789. package/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
  1790. package/node_modules/undici/lib/dispatcher/round-robin-pool.js +137 -0
  1791. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +260 -0
  1792. package/node_modules/undici/lib/encoding/index.js +33 -0
  1793. package/node_modules/undici/lib/global.js +59 -0
  1794. package/node_modules/undici/lib/handler/cache-handler.js +776 -0
  1795. package/node_modules/undici/lib/handler/cache-revalidation-handler.js +124 -0
  1796. package/node_modules/undici/lib/handler/decorator-handler.js +67 -0
  1797. package/node_modules/undici/lib/handler/deduplication-handler.js +460 -0
  1798. package/node_modules/undici/lib/handler/redirect-handler.js +238 -0
  1799. package/node_modules/undici/lib/handler/retry-handler.js +504 -0
  1800. package/node_modules/undici/lib/handler/unwrap-handler.js +106 -0
  1801. package/node_modules/undici/lib/handler/wrap-handler.js +105 -0
  1802. package/node_modules/undici/lib/interceptor/cache.js +621 -0
  1803. package/node_modules/undici/lib/interceptor/decompress.js +551 -0
  1804. package/node_modules/undici/lib/interceptor/deduplicate.js +117 -0
  1805. package/node_modules/undici/lib/interceptor/dns.js +571 -0
  1806. package/node_modules/undici/lib/interceptor/dump.js +99 -0
  1807. package/node_modules/undici/lib/interceptor/redirect.js +21 -0
  1808. package/node_modules/undici/lib/interceptor/response-error.js +95 -0
  1809. package/node_modules/undici/lib/interceptor/retry.js +19 -0
  1810. package/node_modules/undici/lib/llhttp/.gitkeep +0 -0
  1811. package/node_modules/undici/lib/llhttp/constants.d.ts +195 -0
  1812. package/node_modules/undici/lib/llhttp/constants.js +531 -0
  1813. package/node_modules/undici/lib/llhttp/llhttp-wasm.js +15 -0
  1814. package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +15 -0
  1815. package/node_modules/undici/lib/llhttp/utils.d.ts +2 -0
  1816. package/node_modules/undici/lib/llhttp/utils.js +12 -0
  1817. package/node_modules/undici/lib/mock/mock-agent.js +232 -0
  1818. package/node_modules/undici/lib/mock/mock-call-history.js +248 -0
  1819. package/node_modules/undici/lib/mock/mock-client.js +68 -0
  1820. package/node_modules/undici/lib/mock/mock-errors.js +29 -0
  1821. package/node_modules/undici/lib/mock/mock-interceptor.js +209 -0
  1822. package/node_modules/undici/lib/mock/mock-pool.js +68 -0
  1823. package/node_modules/undici/lib/mock/mock-symbols.js +32 -0
  1824. package/node_modules/undici/lib/mock/mock-utils.js +486 -0
  1825. package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
  1826. package/node_modules/undici/lib/mock/snapshot-agent.js +353 -0
  1827. package/node_modules/undici/lib/mock/snapshot-recorder.js +588 -0
  1828. package/node_modules/undici/lib/mock/snapshot-utils.js +158 -0
  1829. package/node_modules/undici/lib/util/cache.js +676 -0
  1830. package/node_modules/undici/lib/util/date.js +670 -0
  1831. package/node_modules/undici/lib/util/promise.js +28 -0
  1832. package/node_modules/undici/lib/util/runtime-features.js +124 -0
  1833. package/node_modules/undici/lib/util/stats.js +32 -0
  1834. package/node_modules/undici/lib/util/timers.js +425 -0
  1835. package/node_modules/undici/lib/web/cache/cache.js +864 -0
  1836. package/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
  1837. package/node_modules/undici/lib/web/cache/util.js +45 -0
  1838. package/node_modules/undici/lib/web/cookies/constants.js +12 -0
  1839. package/node_modules/undici/lib/web/cookies/index.js +199 -0
  1840. package/node_modules/undici/lib/web/cookies/parse.js +314 -0
  1841. package/node_modules/undici/lib/web/cookies/util.js +352 -0
  1842. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +494 -0
  1843. package/node_modules/undici/lib/web/eventsource/eventsource.js +501 -0
  1844. package/node_modules/undici/lib/web/eventsource/util.js +29 -0
  1845. package/node_modules/undici/lib/web/fetch/LICENSE +21 -0
  1846. package/node_modules/undici/lib/web/fetch/body.js +509 -0
  1847. package/node_modules/undici/lib/web/fetch/constants.js +131 -0
  1848. package/node_modules/undici/lib/web/fetch/data-url.js +596 -0
  1849. package/node_modules/undici/lib/web/fetch/formdata-parser.js +586 -0
  1850. package/node_modules/undici/lib/web/fetch/formdata.js +259 -0
  1851. package/node_modules/undici/lib/web/fetch/global.js +40 -0
  1852. package/node_modules/undici/lib/web/fetch/headers.js +719 -0
  1853. package/node_modules/undici/lib/web/fetch/index.js +2413 -0
  1854. package/node_modules/undici/lib/web/fetch/request.js +1115 -0
  1855. package/node_modules/undici/lib/web/fetch/response.js +641 -0
  1856. package/node_modules/undici/lib/web/fetch/util.js +1522 -0
  1857. package/node_modules/undici/lib/web/infra/index.js +229 -0
  1858. package/node_modules/undici/lib/web/subresource-integrity/Readme.md +9 -0
  1859. package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
  1860. package/node_modules/undici/lib/web/webidl/index.js +1006 -0
  1861. package/node_modules/undici/lib/web/websocket/connection.js +339 -0
  1862. package/node_modules/undici/lib/web/websocket/constants.js +126 -0
  1863. package/node_modules/undici/lib/web/websocket/events.js +331 -0
  1864. package/node_modules/undici/lib/web/websocket/frame.js +133 -0
  1865. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +105 -0
  1866. package/node_modules/undici/lib/web/websocket/receiver.js +507 -0
  1867. package/node_modules/undici/lib/web/websocket/sender.js +109 -0
  1868. package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +104 -0
  1869. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +496 -0
  1870. package/node_modules/undici/lib/web/websocket/util.js +347 -0
  1871. package/node_modules/undici/lib/web/websocket/websocket.js +758 -0
  1872. package/node_modules/undici/package.json +152 -0
  1873. package/node_modules/undici/scripts/strip-comments.js +10 -0
  1874. package/node_modules/undici/types/README.md +6 -0
  1875. package/node_modules/undici/types/agent.d.ts +32 -0
  1876. package/node_modules/undici/types/api.d.ts +43 -0
  1877. package/node_modules/undici/types/balanced-pool.d.ts +30 -0
  1878. package/node_modules/undici/types/cache-interceptor.d.ts +179 -0
  1879. package/node_modules/undici/types/cache.d.ts +36 -0
  1880. package/node_modules/undici/types/client-stats.d.ts +15 -0
  1881. package/node_modules/undici/types/client.d.ts +139 -0
  1882. package/node_modules/undici/types/connector.d.ts +36 -0
  1883. package/node_modules/undici/types/content-type.d.ts +21 -0
  1884. package/node_modules/undici/types/cookies.d.ts +30 -0
  1885. package/node_modules/undici/types/diagnostics-channel.d.ts +74 -0
  1886. package/node_modules/undici/types/dispatcher.d.ts +275 -0
  1887. package/node_modules/undici/types/env-http-proxy-agent.d.ts +22 -0
  1888. package/node_modules/undici/types/errors.d.ts +177 -0
  1889. package/node_modules/undici/types/eventsource.d.ts +66 -0
  1890. package/node_modules/undici/types/fetch.d.ts +231 -0
  1891. package/node_modules/undici/types/formdata.d.ts +114 -0
  1892. package/node_modules/undici/types/global-dispatcher.d.ts +9 -0
  1893. package/node_modules/undici/types/global-origin.d.ts +7 -0
  1894. package/node_modules/undici/types/h2c-client.d.ts +73 -0
  1895. package/node_modules/undici/types/handlers.d.ts +14 -0
  1896. package/node_modules/undici/types/header.d.ts +160 -0
  1897. package/node_modules/undici/types/index.d.ts +91 -0
  1898. package/node_modules/undici/types/interceptors.d.ts +82 -0
  1899. package/node_modules/undici/types/mock-agent.d.ts +68 -0
  1900. package/node_modules/undici/types/mock-call-history.d.ts +111 -0
  1901. package/node_modules/undici/types/mock-client.d.ts +27 -0
  1902. package/node_modules/undici/types/mock-errors.d.ts +12 -0
  1903. package/node_modules/undici/types/mock-interceptor.d.ts +94 -0
  1904. package/node_modules/undici/types/mock-pool.d.ts +27 -0
  1905. package/node_modules/undici/types/patch.d.ts +29 -0
  1906. package/node_modules/undici/types/pool-stats.d.ts +19 -0
  1907. package/node_modules/undici/types/pool.d.ts +41 -0
  1908. package/node_modules/undici/types/proxy-agent.d.ts +29 -0
  1909. package/node_modules/undici/types/readable.d.ts +68 -0
  1910. package/node_modules/undici/types/retry-agent.d.ts +8 -0
  1911. package/node_modules/undici/types/retry-handler.d.ts +125 -0
  1912. package/node_modules/undici/types/round-robin-pool.d.ts +41 -0
  1913. package/node_modules/undici/types/snapshot-agent.d.ts +109 -0
  1914. package/node_modules/undici/types/socks5-proxy-agent.d.ts +25 -0
  1915. package/node_modules/undici/types/util.d.ts +18 -0
  1916. package/node_modules/undici/types/utility.d.ts +7 -0
  1917. package/node_modules/undici/types/webidl.d.ts +347 -0
  1918. package/node_modules/undici/types/websocket.d.ts +188 -0
  1919. package/node_modules/whatwg-encoding/LICENSE.txt +7 -0
  1920. package/node_modules/whatwg-encoding/README.md +50 -0
  1921. package/node_modules/whatwg-encoding/lib/labels-to-names.json +217 -0
  1922. package/node_modules/whatwg-encoding/lib/supported-names.json +38 -0
  1923. package/node_modules/whatwg-encoding/lib/whatwg-encoding.js +60 -0
  1924. package/node_modules/whatwg-encoding/package.json +32 -0
  1925. package/node_modules/whatwg-mimetype/LICENSE.txt +7 -0
  1926. package/node_modules/whatwg-mimetype/README.md +101 -0
  1927. package/node_modules/whatwg-mimetype/lib/mime-type-parameters.js +70 -0
  1928. package/node_modules/whatwg-mimetype/lib/mime-type.js +127 -0
  1929. package/node_modules/whatwg-mimetype/lib/parser.js +105 -0
  1930. package/node_modules/whatwg-mimetype/lib/serializer.js +25 -0
  1931. package/node_modules/whatwg-mimetype/lib/utils.js +60 -0
  1932. package/node_modules/whatwg-mimetype/package.json +45 -0
  1933. package/package.json +42 -4
  1934. package/src/agent-recovery-proof.mjs +63 -0
  1935. package/src/agent.mjs +374 -0
  1936. package/src/artifact-tools.mjs +23 -0
  1937. package/src/audit.mjs +73 -0
  1938. package/src/auto-guard.mjs +85 -0
  1939. package/src/browser-currency.mjs +20 -0
  1940. package/src/chrome-recovery-proof.mjs +43 -0
  1941. package/src/cli.mjs +860 -0
  1942. package/src/cloud-client.mjs +66 -0
  1943. package/src/code-run-worker.mjs +70 -0
  1944. package/src/code-run.mjs +97 -0
  1945. package/src/codex-provider.mjs +219 -0
  1946. package/src/compaction.mjs +233 -0
  1947. package/src/compat.mjs +13 -0
  1948. package/src/context-pressure.mjs +66 -0
  1949. package/src/context.mjs +47 -0
  1950. package/src/durable-agent-runs.mjs +40 -0
  1951. package/src/execution-metrics.mjs +17 -0
  1952. package/src/file-recovery-proof.mjs +45 -0
  1953. package/src/file-recovery.mjs +95 -0
  1954. package/src/gemini-provider.mjs +150 -0
  1955. package/src/goals.mjs +169 -0
  1956. package/src/governance.mjs +81 -0
  1957. package/src/house.mjs +184 -0
  1958. package/src/i18n/cli-es.mjs +97 -0
  1959. package/src/i18n/es.mjs +227 -0
  1960. package/src/i18n/index.mjs +48 -0
  1961. package/src/image-attachments.mjs +263 -0
  1962. package/src/judges.mjs +72 -0
  1963. package/src/mcp-http.mjs +190 -0
  1964. package/src/mcp-rpc.mjs +84 -0
  1965. package/src/mcp-runtime.mjs +219 -0
  1966. package/src/mcp-sse.mjs +27 -0
  1967. package/src/mcp.mjs +79 -0
  1968. package/src/model-controls.mjs +173 -0
  1969. package/src/model-deadline.mjs +35 -0
  1970. package/src/model-output.mjs +23 -0
  1971. package/src/onboarding.mjs +91 -0
  1972. package/src/openai-provider.mjs +249 -0
  1973. package/src/operations.mjs +74 -0
  1974. package/src/peer-message-context.mjs +17 -0
  1975. package/src/peer-tools.mjs +164 -0
  1976. package/src/permissions.mjs +99 -0
  1977. package/src/plugin-config.mjs +95 -0
  1978. package/src/plugins/chrome-lab/bridge.mjs +206 -0
  1979. package/src/plugins/chrome-lab/client.mjs +123 -0
  1980. package/src/plugins/chrome-lab/index.mjs +141 -0
  1981. package/src/plugins/chrome-lab/project.mjs +45 -0
  1982. package/src/plugins.mjs +272 -0
  1983. package/src/process-lock.mjs +70 -0
  1984. package/src/provider-auth.mjs +207 -0
  1985. package/src/provider-profiles.mjs +113 -0
  1986. package/src/provider-scheduler.mjs +18 -0
  1987. package/src/provider.mjs +174 -0
  1988. package/src/read-only-check.mjs +38 -0
  1989. package/src/remote-commands.mjs +11 -0
  1990. package/src/remote-control.mjs +172 -0
  1991. package/src/session-bus.mjs +367 -0
  1992. package/src/session-provider-settings.mjs +39 -0
  1993. package/src/session-read-cache.mjs +20 -0
  1994. package/src/session.mjs +71 -0
  1995. package/src/sessions.mjs +140 -0
  1996. package/src/skill-runtime.mjs +130 -0
  1997. package/src/subagents.mjs +484 -0
  1998. package/src/tool-call-stream.mjs +39 -0
  1999. package/src/tool-catalog.mjs +19 -0
  2000. package/src/tool-input.mjs +20 -0
  2001. package/src/tool-packs.mjs +166 -0
  2002. package/src/tool-scheduler.mjs +21 -0
  2003. package/src/tool-schema.mjs +51 -0
  2004. package/src/tools.mjs +310 -0
  2005. package/src/trusted-context.mjs +23 -0
  2006. package/src/tui/brand.mjs +51 -0
  2007. package/src/tui/clipboard.mjs +29 -0
  2008. package/src/tui/composer.mjs +143 -0
  2009. package/src/tui/controller.mjs +230 -0
  2010. package/src/tui/discovery.mjs +222 -0
  2011. package/src/tui/input.mjs +60 -0
  2012. package/src/tui/markdown.mjs +127 -0
  2013. package/src/tui/message-queue.mjs +74 -0
  2014. package/src/tui/screen.mjs +677 -0
  2015. package/src/tui/text.mjs +113 -0
  2016. package/src/usage-accounting.mjs +43 -0
  2017. package/src/vision.mjs +164 -0
  2018. package/src/web-tools.mjs +120 -0
  2019. package/src/work-assertions.mjs +29 -0
  2020. package/src/work-check-contracts.mjs +95 -0
  2021. package/src/work-intent.mjs +6 -0
  2022. package/src/work-plan.mjs +509 -0
  2023. package/src/work-recovery-proof.mjs +81 -0
  2024. package/src/work-state.mjs +201 -0
  2025. package/src/workflows/chrome-task.mjs +292 -0
@@ -0,0 +1,677 @@
1
+ import { t, formatNumber } from '../i18n/index.mjs';
2
+ import { workProjection } from '../work-plan.mjs';
3
+ import { Composer } from './composer.mjs';
4
+ import { MarkdownRenderer, DataTableParser } from './markdown.mjs';
5
+ import { TerminalInput } from './input.mjs';
6
+ import { copyText } from './clipboard.mjs';
7
+ import { tone, safeText, wrap, width, clip, pad, progressBar, stripANSI, terminalSurface } from './text.mjs';
8
+ import { brandingWelcome, brandingStatus, brandMotionEnabled, BRAND_FRAME_INTERVAL_MS, BRAND_WELCOME_FRAMES } from './brand.mjs';
9
+ import { commandCatalog, commandSuggestions, applySuggestion, contextualTip } from './discovery.mjs';
10
+
11
+ const SPINNER = ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'];
12
+ const MOUSE_ON = '\x1b[?1000h\x1b[?1006h';
13
+ const MOUSE_OFF = '\x1b[?1000l\x1b[?1006l';
14
+ const HELP = "# Comal · keyboard\n\n| Action | Key |\n| --- | --- |\n| Discover commands and tools | F6 |\n| Complete command or argument | / and Tab; ↑/↓ chooses; Esc closes |\n| Send / enqueue | Enter (suggestions only complete) |\n| New line | Alt+Enter or Ctrl+J |\n| Switch mode | Shift+Tab |\n| Edit with $VISUAL/$EDITOR | Ctrl+G |\n| Work board | F3 or /board |\n| Continue from checkpoint | /work resume |\n| Sessions / resume | F2 or Ctrl+S |\n| Message queue | F4 or Ctrl+Q |\n| Expand tool results | Ctrl+O |\n| Scroll history | Mouse wheel / PgUp / PgDn |\n| Select text with mouse | F5 or /select; F5 or Esc returns |\n| Copy last full response | Alt+C or /copy |\n| Go to end | Ctrl+End |\n| Composer history | ↑/↓ on first/last line |\n| Start / end of line | Home / End or Ctrl+A / Ctrl+E |\n| Delete word / start / end | Ctrl+W / Ctrl+U / Ctrl+K |\n| Cancel turn / pause goal | Ctrl+C or Esc while working |\n| Exit | Ctrl+D with empty composer or /exit |\n\nYou can keep typing during streaming. Sent messages run in order when the current turn ends. F4 lets you pause, edit, remove, and reorder the queue.\n\n/context shows the context budget. /compact derives state without LLM and waits its turn if there is active work. /state shows request and state; /audit verifies the ledger. The original history is preserved.\n/house shows execution receipts and interrupted operations; /operations shows contracts and declared effects. Execution success does not certify the human goal.\n/plugins shows plugins, dependencies, and operations; enable/disable/reload wait their turn and only the user can change their lifecycle.\n/model ID and /effort LEVEL change the next call; during work they stay queued. /models lists models and /capabilities shows support, provenance, and levels. E indicates effort; Ctx shows the effective window (k/M tokens); ~ indicates a configured limit, ? unknown/fallback capability. /context shows exact values, reserve, and source. /login PROVIDER authenticates; /logout PROVIDER removes credentials from Comal.\n\n**Help keeps the composer active.** You can type while viewing it; PgUp/PgDn scrolls it and Esc/F1 closes it. Sending returns to the conversation. The wheel scrolls the conversation; the arrows edit the draft. F5 releases the mouse and freezes the view: drag to select and use your terminal's copy action (usually Ctrl+Shift+C). Work continues and the view updates when you return. /copy preserves Markdown and code blocks, without the screen line wrapping. Multi-line paste is not sent automatically.";
15
+
16
+ export class TerminalScreen {
17
+ constructor({ input = process.stdin, output = process.stdout, metadata = {}, clipboard = copyText, env = process.env } = {}) {
18
+ Object.assign(this, { input, output, metadata, env }); this.composer = new Composer(); this.markdown = new MarkdownRenderer(); this.tables = new DataTableParser();
19
+ this.clipboard = clipboard; this.selecting = false;
20
+ this.blocks = []; this.toolBlocks = new Map(); this.subagentBlocks = new Map(); this.countedChildResults=new Set(); this.queue = { items: [], paused: false, interrupted: [] }; this.busy = false; this.ready = false;
21
+ this.mode = metadata.mode || 'default'; this.phase = t("Connecting to the model"); this.frame = 0; this.scroll = 0; this.lastContentLength = 0; this.expandedTools = false;
22
+ this.discovery = {}; this.completionIndex = 0; this.brandStarted = Date.now();
23
+ this.callbacks = {}; this.closed = false; this.suspended = false; this.previous = []; this.goal = null; this.usage = 0; this.turn = 0; this.maxTurns = 12;
24
+ this.finished = new Promise(resolve => this.resolveFinished = resolve);
25
+ }
26
+ start() {
27
+ if (this.started || this.closed) return this;
28
+ this.started = true;
29
+ this.originalRaw = this.input.isRaw || false;
30
+ this.input.setRawMode?.(true); this.input.resume();
31
+ this.decoder = new TerminalInput({ onKey: (text, key) => { Promise.resolve(this.handleKey(text, key)).catch(error => this.notice(error.message, true)); }, onMouse: event => this.handleMouse(event), onPaste: text => this.paste(text), onError: error => this.notice(error.message, true) });
32
+ this.onData = chunk => { if (!this.suspended) this.decoder.feed(chunk); };
33
+ this.onResize = () => { if (this.selecting) this.setSelection(false); this.previous = []; this.schedule(); };
34
+ this.input.on('data', this.onData); this.output.on('resize', this.onResize);
35
+ this.output.write('\x1b[?1049h\x1b[?2004h\x1b[?25l' + MOUSE_ON);
36
+ this.timer = setInterval(() => {
37
+ const welcome = !this.blocks.length && this.motionEnabled() && this.brandFrame() < BRAND_WELCOME_FRAMES;
38
+ if ((this.busy || !this.ready || welcome || this.setup?.kind === 'status' || this.setup?.validating) && !this.suspended && !this.selecting) { this.frame++; this.render(); }
39
+ }, 120);
40
+ this.render(); return this;
41
+ }
42
+ configure(callbacks) { this.clearSetup(); this.callbacks = callbacks; this.ready = true; this.phase = t("Ready"); this.schedule(); }
43
+ // Setup owns the existing terminal surface before a provider/session exists.
44
+ // Its editor is isolated from conversation drafts, history and callbacks.
45
+ beginSetup(state, signal, resolve = () => {}) {
46
+ this.clearSetup();
47
+ if (this.closed || signal?.aborted) { resolve(null); return null; }
48
+ let settled = false;
49
+ state.finish = value => {
50
+ if (settled) return; settled = true;
51
+ signal?.removeEventListener('abort', abort);
52
+ state.editor?.clear(); state.editor = null;
53
+ if (this.setup === state) this.setup = null;
54
+ resolve(value); this.schedule();
55
+ };
56
+ const abort = () => state.finish(null);
57
+ signal?.addEventListener('abort', abort, { once: true });
58
+ this.setup = state; this.schedule(); return state;
59
+ }
60
+ clearSetup() { this.setup?.finish(null); }
61
+ setupChoice({ title, description = '', items, signal } = {}) {
62
+ if (!Array.isArray(items) || !items.length || items.length > 100 || items.some(item => typeof item?.id !== 'string' || !item.id || typeof item.label !== 'string') || new Set(items.map(item => item.id)).size !== items.length) throw new Error(t('Setup requires between 1 and 100 distinct choices.'));
63
+ return new Promise(resolve => this.beginSetup({ kind: 'choice', title: safeText(title || t('Choose a connection')), description: safeText(description), items: items.map(item => ({ id: item.id, label: safeText(item.label), description: safeText(item.description || '') })), index: 0 }, signal, resolve));
64
+ }
65
+ setupInput({ title, description = '', value = '', secret = false, signal, validate } = {}) {
66
+ const clean = safeText(value).replace(/[\r\n\t]+/g, ' ');
67
+ if (Buffer.byteLength(clean) > 4096) throw new Error(t('Setup values support up to 4096 bytes.'));
68
+ return new Promise(resolve => this.beginSetup({ kind: 'input', title: safeText(title || t('Connection settings')), description: safeText(description), editor: new Composer(clean), secret: Boolean(secret), validate }, signal, resolve));
69
+ }
70
+ setupStatus({ title, description = '', signal } = {}) {
71
+ this.beginSetup({ kind: 'status', title: safeText(title || t('Connecting')), description: safeText(description) }, signal);
72
+ }
73
+ insertSetupText(text) {
74
+ const state = this.setup; if (state?.kind !== 'input' || state.validating) return;
75
+ const clean = safeText(text, { preserveTabs: true }).replace(/[\r\n\t]+/g, ' ');
76
+ if (Buffer.byteLength(state.editor.text + clean) > 4096) state.error = t('Use at most 4096 bytes.');
77
+ else { state.editor.insert(clean); state.error = null; }
78
+ this.schedule();
79
+ }
80
+ async handleSetupKey(text, key) {
81
+ const state = this.setup, name = key.name;
82
+ if (name === 'escape' || key.ctrl && name === 'c') {
83
+ state.finish(null);
84
+ if (state.kind === 'status') await this.callbacks.onSetupCancel?.();
85
+ if (key.ctrl && name === 'c') { if (this.callbacks.onInterrupt) await this.callbacks.onInterrupt(); else await this.callbacks.onAction?.('interrupt'); }
86
+ return;
87
+ }
88
+ if (state.kind === 'status' || state.validating) return;
89
+ if (state.kind === 'choice') {
90
+ if (name === 'up') state.index = Math.max(0, state.index - 1);
91
+ else if (name === 'down') state.index = Math.min(state.items.length - 1, state.index + 1);
92
+ else if (name === 'home') state.index = 0;
93
+ else if (name === 'end') state.index = state.items.length - 1;
94
+ else if (name === 'return' && !key.meta && !key.shift) state.finish(state.items[state.index].id);
95
+ this.schedule(); return;
96
+ }
97
+ if (name === 'return' && !key.meta && !key.shift) {
98
+ const value = state.editor.text; state.validating = true; state.error = null; this.schedule();
99
+ try {
100
+ const result = await state.validate?.(value);
101
+ if (this.setup !== state) return;
102
+ if (result === false || typeof result === 'string' && result.length) state.error = state.secret ? t('Check the value and try again.') : safeText(typeof result === 'string' ? result : t('Check the value and try again.'));
103
+ else state.finish(value);
104
+ } catch (error) { if (this.setup === state) state.error = state.secret ? t('Check the value and try again.') : safeText(error?.message || t('Check the value and try again.')); }
105
+ finally { state.validating = false; this.schedule(); }
106
+ return;
107
+ }
108
+ if (name === 'return' || name === 'linefeed' || key.ctrl && name === 'j') return;
109
+ if (!key.ctrl && !key.meta && text && !text.startsWith('\x1b')) this.insertSetupText(text);
110
+ else { state.editor.key('', key); state.error = null; this.schedule(); }
111
+ }
112
+ renderSetup(columns, rows) {
113
+ const state = this.setup, inner = Math.max(1, columns - 4);
114
+ const header = [tone.bold(' COMAL') + tone.accent(t(' · setup')), tone.muted('─'.repeat(columns))];
115
+ const title = wrap(state.title, inner).map(line => ' ' + tone.accent(line));
116
+ const description = wrap(state.description, inner).map(line => ' ' + tone.muted(line));
117
+ const prefix = [...header, '', ...title, '', ...description, ''];
118
+ const cancellation = this.ready ? t('Ctrl+C cancels') : t('Ctrl+C exits');
119
+ const hint = (state.kind === 'choice' ? t('↑/↓ choose · Enter continues · Esc back') : state.kind === 'input' ? t('Enter continues · Esc back') : t('Esc back')) + ' · ' + cancellation;
120
+ let body = [], cursor = null;
121
+ const budget = Math.max(1, rows - Math.min(prefix.length, rows - 4) - 2);
122
+ if (state.kind === 'choice') {
123
+ const start = Math.max(0, state.index - Math.max(1, Math.floor(budget / 2)) + 1);
124
+ for (let index = start; index < state.items.length && body.length < budget; index++) {
125
+ const item = state.items[index], selected = index === state.index;
126
+ body.push((selected ? tone.accent : tone.muted)(` ${selected ? '❯' : ' '} ${clip(item.label, Math.max(1, columns - 5))}`));
127
+ if (item.description && body.length < budget) body.push(' ' + tone.muted(clip(item.description, Math.max(1, columns - 5))));
128
+ }
129
+ } else if (state.kind === 'input') {
130
+ const editor = state.editor, display = state.secret ? new Composer('•'.repeat(editor.buffer.length)) : editor;
131
+ if (state.secret) display.cursor = editor.cursor;
132
+ const layout = display.layout(Math.max(2, columns - 6)), height = Math.max(1, budget - (state.error ? 1 : 0)), offset = Math.max(0, layout.cursorRow - height + 1);
133
+ body = layout.lines.slice(offset, offset + height).map((line, index) => tone.muted(index === 0 ? ' ❯ ' : ' │ ') + line);
134
+ cursor = { row: layout.cursorRow - offset + 1, col: layout.cursorColumn + 5 };
135
+ if (state.error) body.push(' ' + tone.warning(clip(state.error, inner)));
136
+ } else body.push(' ' + tone.accent(this.spinner() + ' ' + t('Working…')));
137
+ if (state.validating) body.push(' ' + tone.muted(this.spinner() + ' ' + t('Checking…')));
138
+ const visiblePrefix = prefix.slice(0, Math.max(0, rows - Math.min(body.length, budget) - 2));
139
+ const lines = [...visiblePrefix, ...body.slice(0, budget)];
140
+ if (cursor) cursor.row += visiblePrefix.length;
141
+ while (lines.length < rows - 1) lines.push(''); lines.push(' ' + tone.muted(clip(hint, columns - 1)));
142
+ if (state.validating) cursor = null;
143
+ this.draw(lines, cursor, columns, rows);
144
+ }
145
+ schedule() {
146
+ if (this.closed || this.suspended || this.selecting || this.renderTimer) return;
147
+ this.renderTimer = setTimeout(() => { this.renderTimer = null; this.render(); }, 24);
148
+ }
149
+ motionEnabled() { return brandMotionEnabled({ env: this.env, stream: this.output }); }
150
+ brandFrame() { return Math.floor((Date.now() - this.brandStarted) / BRAND_FRAME_INTERVAL_MS); }
151
+ spinner() { return SPINNER[(this.motionEnabled() ? this.frame : 0) % SPINNER.length]; }
152
+ setDiscovery(context = {}) { this.discovery = structuredClone(context); this.schedule(); }
153
+ discoveryContext() { return { ...this.discovery, effortLevels: this.metadata.modelCapabilities?.effort?.levels || this.discovery.effortLevels, busy: this.busy, queue: this.queue, mode: this.mode, selecting: this.selecting, editingQueue: this.editingQueue }; }
154
+ refreshDiscovery() { this.callbacks.onDiscover?.(); }
155
+ hasModalOverlay() { return Boolean(this.setup || this.overlay && this.overlay.kind !== 'help'); }
156
+ completion() {
157
+ const signature = JSON.stringify([this.composer.text, this.composer.cursor]);
158
+ if (signature !== this.completionSignature) { this.completionSignature = signature; this.completionIndex = 0; }
159
+ const result = commandSuggestions(this.composer.text, this.composer.cursor, this.discoveryContext());
160
+ const current = this.composer.buffer.slice(result.start, result.end).join('');
161
+ result.exact = result.items.find(item => item.value.trimEnd() === current);
162
+ if (result.exact) result.items = [];
163
+ if (signature === this.dismissedCompletion || this.permission || this.hasModalOverlay() || this.selecting) result.items = [];
164
+ this.completionIndex = Math.min(this.completionIndex, Math.max(0, result.items.length - 1));
165
+ return result;
166
+ }
167
+ acceptCompletion() {
168
+ const result = this.completion();
169
+ const item = result.items[this.completionIndex] || (result.exact?.value !== this.composer.buffer.slice(result.start, result.end).join('') ? result.exact : null);
170
+ if (!item) return false;
171
+ if (result.exact === item) result.items = [item];
172
+ const next = applySuggestion(this.composer.text, result, item);
173
+ this.composer.setText(next.text, next.cursor, this.composer.attachments.map(({start,end,...item})=>item)); this.draftChanged(); return true;
174
+ }
175
+ showPalette() { this.refreshDiscovery(); this.overlay = { kind: 'palette', filter: '', index: 0, tab: 'command', detail: null, scroll: 0 }; this.schedule(); }
176
+ paletteItems() {
177
+ const normalize = text => safeText(text).normalize('NFD').replace(/[\u0300-\u036f]/g, '').toLocaleLowerCase('es');
178
+ const terms = normalize(this.overlay?.filter || '').split(/\s+/).filter(Boolean);
179
+ return commandCatalog(this.discoveryContext()).filter(item => (this.overlay?.tab === 'tool' ? item.kind === 'tool' : item.kind !== 'tool') && terms.every(term => normalize(`${item.label} ${item.description} ${item.keywords || ''}`).includes(term)));
180
+ }
181
+ paletteTool() { return this.discovery.tools?.find(tool => tool.name === this.overlay?.detail); }
182
+ preparePaletteItem(item) {
183
+ if (item.inspectOnly) { this.overlay.detail = item.label; this.overlay.scroll = 0; this.schedule(); return; }
184
+ if (!this.preparedDraft) this.preparedDraft = { ...this.composer.snapshot(), sessionId: this.metadata.sessionId };
185
+ this.composer.setText(item.value);
186
+ this.closeOverlay(); this.draftChanged();
187
+ }
188
+ updateMetadata(metadata) { const changed=['model','provider','profile','effort'].some(key=>metadata[key]!==undefined && metadata[key]!==this.metadata[key]); if(changed)this.cacheReadTokens=null; Object.assign(this.metadata, metadata); if (metadata.mode) this.mode = metadata.mode; if(changed)this.callbacks.onCapabilitiesChanged?.(); this.schedule(); }
189
+ setMode(mode) { this.mode = mode; this.schedule(); }
190
+ setQueue(snapshot) { this.queue = snapshot; this.schedule(); }
191
+ setBusy(value) { this.busy = value; if (value) { this.startedAt = Date.now(); this.turn = 0; this.phase = t("Preparing turn"); } else this.phase = t("Ready"); this.schedule(); }
192
+ notice(text, error = false) { this.blocks.push({ role: 'notice', text: safeText(text), error }); if (error && this.overlay) this.overlay.error = safeText(text); this.schedule(); }
193
+ setDraft(text, attachments = []) { this.composer.setText(text, undefined, attachments); this.schedule(); }
194
+ setAttachmentStatus(status) { this.attachmentStatus = status; this.schedule(); }
195
+ draftChanged() { if (!this.composer.attachments.length) this.attachmentStatus = null; this.callbacks.onDraft?.(this.composer.text, this.composer.attachments); this.schedule(); }
196
+ addTable(text, format, title) { const data = this.tables.parse(text, format); this.blocks.push({ role: 'table', data, text: title }); this.schedule(); }
197
+ loadSession(session) {
198
+ this.cacheReadTokens=null;
199
+ this.preparedDraft = null; this.dismissedCompletion = null; this.blocks = []; this.toolBlocks.clear(); this.subagentBlocks.clear(); this.streaming = null; this.scroll = 0; this.lastContentLength = 0; this.goal = session.goal;
200
+ const rows = session.rows.filter(row => row.type === 'message').slice(-200);
201
+ for (const [responseId, row] of rows.entries()) {
202
+ const message = row.message;
203
+ if (message.role === 'user' && typeof message.content === 'string' && row.source !== 'goal') this.blocks.push({ role: 'user', text: message.content });
204
+ if (message.role === 'user' && row.source === 'human_composer' && Array.isArray(message.content)) this.blocks.push({role:'user',text:message.content.filter(block=>block.type==='text').map(block=>block.text).join('\n')});
205
+ for (const block of Array.isArray(message.content) ? message.content : []) {
206
+ if (message.role === 'assistant' && block.type === 'text') this.blocks.push({ role: 'assistant', text: block.text, responseId });
207
+ if (message.role === 'assistant' && block.type === 'tool_use') { const item = { role: 'tool', id: block.id, name: block.name, input: block.input, state: 'interrupted' }; this.blocks.push(item); this.toolBlocks.set(block.id, item); }
208
+ if (message.role === 'user' && block.type === 'tool_result') { const item = this.toolBlocks.get(block.tool_use_id); if (item) { item.state = block.is_error ? 'error' : 'done'; item.output = block.content; } }
209
+ }
210
+ }
211
+ const history = rows.filter(row => row.message.role === 'user' && row.source !== 'goal' && (typeof row.message.content === 'string' || row.source === 'human_composer')).slice(-100);
212
+ this.composer.history = history.map(row => typeof row.message.content === 'string' ? row.message.content : row.message.content.filter(block=>block.type==='text').map(block=>block.text).join('\n'));
213
+ this.composer.historyAttachments = history.map(row=>row.attachments || []);
214
+ this.composer.setText(session.draft || '', undefined, session.draftAttachments || []); this.attachmentStatus = null; this.metadata.sessionId = session.id; this.metadata.model = session.model; this.metadata.name = session.name;
215
+ this.context = null; this.work = workProjection(session);
216
+ if (session.compaction) this.notice(t("Context resumed from the ledger: ~{v0} tokens. Original history preserved.", {v0: session.compaction.after_tokens}));
217
+ this.countedChildResults.clear();let childUsage=0;
218
+ for (const row of session.rows.filter(row => row.type === 'subagent')) {
219
+ if(this.countChildResult(row))childUsage+=(row.usage?.input_tokens || 0)+(row.usage?.output_tokens || 0);
220
+ let child = this.subagentBlocks.get(row.session_id);
221
+ if (!child) { child = { role: 'subagent', id: row.session_id }; this.subagentBlocks.set(row.session_id, child); this.blocks.push(child); }
222
+ Object.assign(child, row, { role: 'subagent', state: row.status === 'running' ? 'interrupted' : row.status });
223
+ }
224
+ this.usage = session.rows.filter(row => row.type === 'result' && !row.usage_includes_subagents).reduce((n, row) => n + (row.usage?.input_tokens || 0) + (row.usage?.output_tokens || 0), 0)
225
+ + childUsage;
226
+ this.schedule();
227
+ }
228
+ countChildResult(row){
229
+ if(row.runner_state!=='exited' && row.status!=='completed')return false;
230
+ const key=`${row.session_id}:${row.result_ref?.digest || row.result_ref?.row || row.turn_id || 'legacy'}`;
231
+ if(this.countedChildResults.has(key))return false;this.countedChildResults.add(key);return true;
232
+ }
233
+ handleEvent(event) {
234
+ if(event.type==='usage_accounting')this.cacheReadTokens=Number.isSafeInteger(event.accounting?.cache_read_tokens)?event.accounting.cache_read_tokens:null;
235
+ if (event.type === 'model_stream_progress') {
236
+ if (event.tool_argument_chars) this.phase = t("Preparing tools · {v0} characters", {v0: formatNumber(event.tool_argument_chars)});
237
+ else if (event.reasoning_chars && !event.text_chars) this.phase = t("Model reasoning · {v0} characters", {v0: formatNumber(event.reasoning_chars)});
238
+ }
239
+ if (event.type === 'context_usage') this.context = event;
240
+ if (event.type === 'vision_status') {
241
+ const stamp = JSON.stringify([event.supported, event.source, event.images, event.references?.map(ref => ref.sha256)]);
242
+ if (stamp !== this.lastVisionStamp) { this.lastVisionStamp = stamp; this.notice(event.images ? t("Vision · {v0} images in the request · reserve ~{v1} tokens.", {v0: event.images, v1: event.token_reserve}) : t("Screenshot saved as a reference · {v0}.", {v0: event.supported ? t("no space for pixels in the context") : t("the provider does not advertise vision")})); }
243
+ }
244
+ if (event.type === 'context_projection_start') this.phase = t("Deriving state from the ledger");
245
+ if (event.type === 'context_projection') this.notice(t("State derived \u00b7 ~{v0} tokens \u00b7 0 LLM summary calls \u00b7 evidence saved.", {v0: event.after_tokens}));
246
+ if (['model_retry', 'response_discarded'].includes(event.type)) {
247
+ if (this.streaming) { this.streaming.text += t("\n\n[Incomplete response discarded; its tools were not executed.]"); this.streaming = null; }
248
+ if (event.type === 'model_retry') this.notice(t("Response discarded ({v0}) · bounded retry · maximum output {v1} tokens.", {v0: event.reason, v1: event.max_tokens}));
249
+ }
250
+ if (['mcp_reload', 'plugin_status'].includes(event.type)) this.refreshDiscovery();
251
+ if (event.type === 'mcp_reload') this.notice(t("MCP updated · {v0} servers connected · {v1} tools available in packs.", {v0: event.servers.filter(server => server.status === 'connected').length, v1: event.tools.length}));
252
+ if (event.type === 'plugin_status') {
253
+ if (event.state === 'loading') this.phase = t("Enabling plugin {v0}", {v0: event.id});
254
+ if (['active', 'disabled'].includes(event.state)) this.notice(t("Plugin {v0} · {v1}{v2}", {v0: event.id, v1: event.state, v2: event.operations ? t(" · {v0} operations", {v0: event.operations.length}) : ''}));
255
+ if (['failed', 'cleanup_failed', 'observer_failed'].includes(event.state)) this.notice(`Plugin ${event.id}: ${event.error}`, true);
256
+ }
257
+ if (event.type === 'mcp_reload_error') this.notice(t("MCP reload not applied: {v0}", {v0: event.error}), true);
258
+ if (event.type === 'mcp_progress') {
259
+ const tool = [...this.toolBlocks.values()].findLast(block => block.name === event.name && block.state === 'running');
260
+ if (tool) { tool.progress = event; tool.cacheKey = null; }
261
+ this.phase = safeText(event.message || `MCP ${event.server}`);
262
+ }
263
+ if (event.type === 'subagent_status') {
264
+ let child = this.subagentBlocks.get(event.session_id);
265
+ if (!child) { child = { role: 'subagent', id: event.session_id, text: '' }; this.subagentBlocks.set(event.session_id, child); this.blocks.push(child); }
266
+ Object.assign(child, event, { role: 'subagent', state: event.status });
267
+ if (this.countChildResult(event)) this.usage += (event.usage?.input_tokens || 0) + (event.usage?.output_tokens || 0);
268
+ }
269
+ if (event.type === 'subagent_event') {
270
+ const child = this.subagentBlocks.get(event.session_id), detail = event.event;
271
+ if (child) {
272
+ if (detail.type === 'model_progress') { child.turns = detail.turn; child.max_turns = detail.maxTurns; }
273
+ if (detail.type === 'tool_use') child.lastTool = detail.name;
274
+ if (detail.type === 'text_delta') child.text = ((child.text || '') + detail.text).slice(-4000);
275
+ child.cacheKey = null;
276
+ }
277
+ this.schedule(); return;
278
+ }
279
+ if (event.type === 'user' && event.source !== 'goal') this.blocks.push({ role: 'user', text: event.userIntent || event.text });
280
+ if (event.type === 'text_delta') {
281
+ if (!this.streaming) { this.streaming = { role: 'assistant', text: '' }; this.blocks.push(this.streaming); }
282
+ this.streaming.text += event.text; this.phase = t("Receiving response");
283
+ }
284
+ if (event.type === 'assistant') {
285
+ if (!this.streaming) { const text = event.message.content.filter(b => b.type === 'text').map(b => b.text).join(''); if (text) this.blocks.push({ role: 'assistant', text }); }
286
+ this.streaming = null;
287
+ }
288
+ if (event.type === 'tool_use') { const item = { role: 'tool', id: event.id, name: event.name, input: event.input, state: 'running' }; this.blocks.push(item); this.toolBlocks.set(event.id, item); this.phase = t("Executing {v0}", {v0: event.name}); }
289
+ if (event.type === 'tool_result') { const item = this.toolBlocks.get(event.tool_use_id); if (item) { item.state = event.is_error ? 'error' : 'done'; item.output = event.content; } }
290
+ if (event.type === 'auto_decision') this.blocks.push({ role: 'notice', text: `Auto · ${event.decision}: ${event.reason}`, error: event.decision === 'deny' });
291
+ if (event.type === 'model_progress') { this.turn = event.turn; this.maxTurns = event.maxTurns; }
292
+ if (event.type === 'phase') {
293
+ if (event.state === 'start') this.phase = { worker: t("Waiting for the model"), classifier: t("Checking auto permission"), 'goal-evaluation': t("Checking /goal") }[event.phase] || event.phase;
294
+ else if (this.busy) this.phase = t("Processing turn");
295
+ }
296
+ if (event.type === 'goal_status') {
297
+ const key = `${event.goal.id}:${event.goal.status}:${event.goal.lastReason}`;
298
+ if (event.goal.status !== 'active' && key !== this.lastGoalNotice) { this.lastGoalNotice = key; this.notice(`◎ /goal ${event.goal.status}: ${event.goal.lastReason}`, ['failed', 'budget'].includes(event.goal.status)); }
299
+ this.goal = event.goal;
300
+ }
301
+ if (event.type === 'result' && !event.usage_includes_subagents) this.usage += (event.usage?.input_tokens || 0) + (event.usage?.output_tokens || 0);
302
+ if (event.type === 'work_continuation') this.notice(t("Continues {v0} · {v1}/{v2} calls · checkpoint preserved.", {v0: event.task_id, v1: event.calls, v2: event.limit}));
303
+ if(event.type==='peer_reply')this.notice(event.status==='failed'?t("The house could not send the report: {v0}", {v0: event.error}):t("The house returned the report to mailbox {v0} · {v1}.", {v0: event.to.slice(0,8), v1: event.status}),event.status==='failed');
304
+ if (event.type === 'result' && event.work_stop_reason) this.notice(t("Work: {v0}.", {v0: event.work_stop_reason}));
305
+ if (event.type === 'work_open') this.notice(t("{v0} open tasks remain · /work resume continues from the checkpoint.", {v0: event.remaining.length}));
306
+ if (event.type === 'work_board' && (!event.session_id || event.session_id === this.metadata.sessionId)) this.work = event.board;
307
+ if (event.type === 'result' && event.work) this.work = event.work;
308
+ if (event.type === 'init') this.metadata.model = event.model;
309
+ if (this.blocks.length > 250) this.blocks.splice(0, this.blocks.length - 250);
310
+ this.schedule();
311
+ }
312
+ async confirm(name, input, signal) {
313
+ if (signal?.aborted || this.closed) return false;
314
+ if (this.selecting) this.setSelection(false);
315
+ return new Promise(resolve => {
316
+ let settled=false;
317
+ const finish = allowed => { if(settled)return;settled=true;signal?.removeEventListener('abort', abort);if(this.permission===question)this.permission = null;this.schedule();resolve(allowed); };
318
+ const abort = () => finish(false);
319
+ const question = { name, input, allowed: false, scroll: 0, finish };
320
+ this.permission = question;signal?.addEventListener('abort', abort, { once: true });if(signal?.aborted)abort();else this.schedule();
321
+ });
322
+ }
323
+ showSessions(items) { this.overlay = { kind: 'sessions', items, filter: '', index: Math.max(0, items.findIndex(item => item.id !== this.metadata.sessionId)) }; this.schedule(); }
324
+ showQueue() { this.overlay = { kind: 'queue', index: 0 }; this.schedule(); }
325
+ showHelp() { this.overlay = { kind: 'help', scroll: 0 }; this.schedule(); }
326
+ closeOverlay() { this.overlay = null; this.callbacks.onAction?.('queueKick'); this.schedule(); }
327
+ filteredSessions() { const query = this.overlay?.filter?.toLowerCase() || ''; return (this.overlay?.items || []).filter(item => `${item.name || ''} ${item.prompt} ${item.id} ${item.model}`.toLowerCase().includes(query)); }
328
+ paste(text) {
329
+ if (this.setup) { this.insertSetupText(text); return; }
330
+ if (this.selecting) return;
331
+ if (this.permission) return;
332
+ if (this.overlay?.kind === 'palette' && !this.overlay.detail) { this.overlay.filter += safeText(text).replace(/\n/g, ' ').slice(0, 150); this.overlay.index = 0; this.schedule(); return; }
333
+ if (this.overlay?.kind === 'sessions') { this.overlay.filter += safeText(text).replace(/\n/g, ' ').slice(0, 150); this.overlay.index = 0; this.schedule(); return; }
334
+ if (this.hasModalOverlay()) return;
335
+ try { this.composer.insert(text); this.draftChanged(); } catch (e) { this.notice(e.message, true); }
336
+ }
337
+ showBoard(board = this.work) { this.work = board; this.overlay = { kind: 'board', scroll: 0 }; this.schedule(); }
338
+ setSelection(value = !this.selecting) {
339
+ if (this.closed || this.suspended || this.permission) return;
340
+ this.selecting = value; clearTimeout(this.renderTimer); this.renderTimer = null;
341
+ if (value) { this.render(true); this.output.write(MOUSE_OFF + '\x1b[?25l'); }
342
+ else { this.output.write(MOUSE_ON); this.render(); this.callbacks.onAction?.('queueKick'); }
343
+ }
344
+ async copyResponse() {
345
+ const block = this.blocks.findLast(block => block.role === 'assistant' && block.text?.trim());
346
+ if (!block) throw new Error(t("There is no response to copy yet."));
347
+ const partial = block === this.streaming;
348
+ const text = block.responseId === undefined ? block.text : this.blocks.filter(item => item.role === 'assistant' && item.responseId === block.responseId).map(item => item.text).join('');
349
+ await this.clipboard(text);
350
+ this.notice(partial ? t("Text received so far copied to clipboard; the response is still arriving.") : t("Full response copied to clipboard (original Markdown)."));
351
+ }
352
+ handleMouse(event) {
353
+ if (this.closed || this.suspended || this.selecting || event.type !== 'wheel') return;
354
+ if (this.setup) { if (this.setup.kind === 'choice') this.setup.index = Math.max(0, Math.min(this.setup.items.length - 1, this.setup.index + event.delta)); this.schedule(); return; }
355
+ const lines = event.delta * 3;
356
+ if (this.permission) this.permission.scroll = Math.max(0, this.permission.scroll + lines);
357
+ else if (['help', 'board'].includes(this.overlay?.kind)) this.overlay.scroll = Math.max(0, this.overlay.scroll + lines);
358
+ else if (this.overlay?.kind === 'sessions' || this.overlay?.kind === 'queue') {
359
+ const length = this.overlay.kind === 'sessions' ? this.filteredSessions().length : this.queue.items.length;
360
+ this.overlay.index = Math.max(0, Math.min(Math.max(0, length - 1), this.overlay.index + event.delta));
361
+ } else if (this.overlay?.kind === 'palette') {
362
+ if (this.overlay.detail) this.overlay.scroll = Math.max(0, this.overlay.scroll + lines);
363
+ else this.overlay.index = Math.max(0, Math.min(this.paletteItems().length - 1, this.overlay.index + event.delta));
364
+ } else this.scroll = Math.max(0, this.scroll - lines);
365
+ this.schedule();
366
+ }
367
+ async handleKey(text, key = {}) {
368
+ if (this.closed || this.suspended) return;
369
+ if (this.setup) { await this.handleSetupKey(text, key); return; }
370
+ const name = key.name;
371
+ if (this.selecting) {
372
+ if (name === 'f5' || name === 'escape' || (key.ctrl && name === 'c')) this.setSelection(false);
373
+ return;
374
+ }
375
+ if (key.ctrl && name === 'c' && this.overlay?.kind === 'palette' && !this.permission) { this.closeOverlay(); return; }
376
+ if (key.ctrl && name === 'c') { if (this.permission) this.permission.finish(false); if (this.busy) await this.callbacks.onAction?.('interrupt'); else if (this.composer.text) { this.composer.clear(); this.draftChanged(); } else await this.callbacks.onAction?.('exit'); return; }
377
+ if (this.permission) {
378
+ if (name === 'escape' || name === 'n') this.permission.finish(false);
379
+ else if (name === 'y') this.permission.finish(true);
380
+ else if (name === 'left' || name === 'right' || name === 'tab') this.permission.allowed = !this.permission.allowed;
381
+ else if (name === 'return') this.permission.finish(this.permission.allowed);
382
+ else if (name === 'pageup') this.permission.scroll = Math.max(0, this.permission.scroll - 10);
383
+ else if (name === 'pagedown') this.permission.scroll += 10;
384
+ this.schedule(); return;
385
+ }
386
+ if (name === 'f5') { this.setSelection(); return; }
387
+ if (key.meta && name === 'c') { await this.copyResponse(); return; }
388
+ if (this.overlay?.kind === 'palette') {
389
+ if (name === 'f6') { this.closeOverlay(); return; }
390
+ if (name === 'escape') { if (this.overlay.detail) { this.overlay.detail = null; this.overlay.scroll = 0; this.schedule(); } else this.closeOverlay(); return; }
391
+ if (this.overlay.detail) {
392
+ if (name === 'pageup' || name === 'up') this.overlay.scroll = Math.max(0, this.overlay.scroll - 3);
393
+ else if (name === 'pagedown' || name === 'down') this.overlay.scroll += 3;
394
+ else if (name === 'tab' && !key.shift) {
395
+ const tool = this.paletteTool();
396
+ if (!tool) { this.notice(t("That operation is no longer published. Return to the catalog."), true); return; }
397
+ if (tool.audience === 'human') { this.notice(t("Human control: use the corresponding command or /plugins run; the model is not asked."), true); return; }
398
+ if (!this.preparedDraft) this.preparedDraft = { ...this.composer.snapshot(), sessionId: this.metadata.sessionId };
399
+ this.composer.setText(t("Use the tool {v0} to {v1}", {v0: safeText(tool.name), v1: this.composer.text}), undefined, this.composer.attachments.map(({start,end,...item})=>item));
400
+ this.closeOverlay(); this.draftChanged(); return;
401
+ }
402
+ } else if (name === 'tab') { this.overlay.tab = this.overlay.tab === 'tool' ? 'command' : 'tool'; this.overlay.index = 0; }
403
+ else if (name === 'up') this.overlay.index = Math.max(0, this.overlay.index - 1);
404
+ else if (name === 'down') this.overlay.index = Math.min(Math.max(0, this.paletteItems().length - 1), this.overlay.index + 1);
405
+ else if (name === 'return') { const item = this.paletteItems()[this.overlay.index]; if (item) this.preparePaletteItem(item); return; }
406
+ else if (name === 'backspace') { this.overlay.filter = [...this.overlay.filter].slice(0, -1).join(''); this.overlay.index = 0; }
407
+ else if (!key.ctrl && !key.meta && text && !text.startsWith('\x1b')) { this.overlay.filter += safeText(text).slice(0, 150); this.overlay.index = 0; }
408
+ this.schedule(); return;
409
+ }
410
+ if (this.overlay?.kind === 'help') {
411
+ if (name === 'escape' || name === 'f1') { this.closeOverlay(); return; }
412
+ if (name === 'pageup' || name === 'pagedown') { this.overlay.scroll = Math.max(0, this.overlay.scroll + (name === 'pageup' ? -5 : 5)); this.schedule(); return; }
413
+ }
414
+ if (this.hasModalOverlay()) {
415
+ if (name === 'escape') { this.closeOverlay(); return; }
416
+ if (['help', 'board'].includes(this.overlay.kind)) { if (name === 'pageup' || name === 'up') this.overlay.scroll = Math.max(0, this.overlay.scroll - 5); if (name === 'pagedown' || name === 'down') this.overlay.scroll += 5; this.schedule(); return; }
417
+ if (this.overlay.kind === 'sessions') {
418
+ const filtered = this.filteredSessions();
419
+ if (name === 'up') this.overlay.index = Math.max(0, this.overlay.index - 1);
420
+ else if (name === 'down') this.overlay.index = Math.min(Math.max(0, filtered.length - 1), this.overlay.index + 1);
421
+ else if (name === 'return' && filtered[this.overlay.index]) await this.callbacks.onAction?.('resume', filtered[this.overlay.index].id);
422
+ else if (name === 'backspace') { this.overlay.filter = this.overlay.filter.slice(0, -1); this.overlay.index = 0; }
423
+ else if (!key.ctrl && !key.meta && text && !text.startsWith('\x1b')) { this.overlay.filter += safeText(text).slice(0, 150); this.overlay.index = 0; }
424
+ } else if (this.overlay.kind === 'queue') {
425
+ const items = this.queue.items, item = items[this.overlay.index];
426
+ if (name === 'up' && !key.ctrl) this.overlay.index = Math.max(0, this.overlay.index - 1);
427
+ else if (name === 'down' && !key.ctrl) this.overlay.index = Math.min(Math.max(0, items.length - 1), this.overlay.index + 1);
428
+ else if (name === 'e' && item) await this.callbacks.onAction?.('queueEdit', item.id);
429
+ else if ((name === 'd' || name === 'delete') && item) await this.callbacks.onAction?.('queueRemove', item.id);
430
+ else if (name === 'space') await this.callbacks.onAction?.('queueToggle');
431
+ else if (key.ctrl && name === 'up' && item) await this.callbacks.onAction?.('queueMove', { id: item.id, delta: -1 });
432
+ else if (key.ctrl && name === 'down' && item) await this.callbacks.onAction?.('queueMove', { id: item.id, delta: 1 });
433
+ else if (name === 'r' && this.queue.interrupted?.length) await this.callbacks.onAction?.('queueRetry', this.queue.interrupted[0].id);
434
+ }
435
+ this.schedule(); return;
436
+ }
437
+ if (name === 'tab' && key.shift) { await this.callbacks.onAction?.('cycleMode'); return; }
438
+ if (name === 'f6') { this.showPalette(); return; }
439
+ if (name === 'f1') { this.showHelp(); return; }
440
+ if (name === 'f2' || (key.ctrl && name === 's')) { await this.callbacks.onAction?.('sessions'); return; }
441
+ if (name === 'f3') { await this.callbacks.onAction?.('board'); return; }
442
+ if (name === 'f4' || (key.ctrl && name === 'q')) { this.showQueue(); return; }
443
+ if (key.ctrl && name === 'o') { this.expandedTools = !this.expandedTools; this.schedule(); return; }
444
+ if (key.ctrl && name === 'g') { await this.callbacks.onAction?.('editor'); return; }
445
+ if (key.ctrl && name === 'd' && !this.composer.text) { await this.callbacks.onAction?.('exit'); return; }
446
+ if (name === 'escape' && this.completion().items.length) { this.dismissedCompletion = this.completionSignature; this.schedule(); return; }
447
+ if (name === 'escape' && this.preparedDraft) { const draft = this.preparedDraft; this.preparedDraft = null; this.composer.setText(draft.text, draft.cursor, draft.attachments); this.draftChanged(); return; }
448
+ if (name === 'escape') { if (this.editingQueue) await this.callbacks.onAction?.('queueEditCancel'); else if (this.busy) await this.callbacks.onAction?.('interrupt'); return; }
449
+ if (name === 'pageup') { this.scroll += Math.max(5, (this.output.rows || 24) - 10); this.schedule(); return; }
450
+ if (name === 'pagedown') { this.scroll = Math.max(0, this.scroll - Math.max(5, (this.output.rows || 24) - 10)); this.schedule(); return; }
451
+ if (name === 'end' && key.ctrl) { this.scroll = 0; this.schedule(); return; }
452
+ const completion = this.completion();
453
+ if (!key.ctrl && !key.meta && completion.items.length && ['up', 'down'].includes(name)) {
454
+ this.completionIndex = (this.completionIndex + (name === 'down' ? 1 : -1) + completion.items.length) % completion.items.length; this.schedule(); return;
455
+ }
456
+ if (name === 'tab' && !key.shift) {
457
+ this.refreshDiscovery();
458
+ if (!this.acceptCompletion() && !this.composer.text.trimStart().startsWith('/')) { this.composer.insert(' '); this.draftChanged(); }
459
+ return;
460
+ }
461
+ if (name === 'return' && !key.shift && !key.meta && completion.items.length) { this.acceptCompletion(); return; }
462
+ if (name === 'return' && !key.shift && !key.meta) {
463
+ if (this.submitting) return;
464
+ const value = this.composer.text; if (!value.trim()) return;
465
+ if (!this.ready) { this.notice(t("Still connecting; the draft is preserved.")); return; }
466
+ if (this.overlay?.kind === 'help') this.closeOverlay();
467
+ const draft = this.preparedDraft;
468
+ let prepared = this.composer.snapshot(), submitted = false;
469
+ this.submitting = true;
470
+ try {
471
+ const original = JSON.stringify(prepared), sessionId = this.metadata.sessionId;
472
+ if (this.callbacks.onPrepareSubmit) prepared = await this.callbacks.onPrepareSubmit(prepared) || prepared;
473
+ const current = JSON.stringify(this.composer.snapshot());
474
+ if (sessionId !== this.metadata.sessionId || (current !== original && current !== JSON.stringify(prepared))) throw new Error(t('The draft changed while preparing the image. Press Enter again to send the current draft.'));
475
+ this.composer.remember(prepared.text, prepared.attachments); this.composer.clear(); this.draftChanged(); submitted = true;
476
+ await this.callbacks.onSubmit?.(prepared.text, prepared.attachments);
477
+ if (draft && draft.sessionId === this.metadata.sessionId && !this.composer.text) { this.preparedDraft = null; this.composer.setText(draft.text, draft.cursor, draft.attachments); this.draftChanged(); }
478
+ } catch (e) { if (submitted && !this.composer.text) this.composer.setText(prepared.text, prepared.cursor, prepared.attachments); this.preparedDraft = draft; this.notice(e.message, true); this.draftChanged(); }
479
+ finally { this.submitting = false; }
480
+ return;
481
+ }
482
+ this.composer.key(text, key, Math.max(2, (this.output.columns || 80) - 7)); this.draftChanged();
483
+ }
484
+ contentLines(columns) {
485
+ const output = [];
486
+ if (!this.blocks.length) {
487
+ const mark = brandingWelcome({ columns: Math.max(0, columns - 4), frame: this.brandFrame(), active: this.busy, env: this.env, stream: this.output });
488
+ const intro = [tone.bold(t(" What are we building today?")), '', ...wrap(t(" Type a task; / or F6 show you what you can do."), columns), '', tone.muted(t(" F6 discover · F2 sessions · Shift+Tab mode"))];
489
+ const branded = ['', ...mark.map(line => ' ' + line), '', ...intro];
490
+ if (branded.length <= this.bodyHeight) output.push(...branded);
491
+ else output.push('', tone.accent(t(" COMAL · on the comal one cooks")), '', ...intro);
492
+ }
493
+ for (const block of this.blocks) {
494
+ const cacheKey = `${columns}:${this.expandedTools}:${block.text || ''}:${block.state || ''}:${block.output || ''}`;
495
+ if (block.cacheKey === cacheKey) { output.push(...block.cached); continue; }
496
+ let lines;
497
+ if (block.role === 'user') lines = [tone.accent(t(" You")), ...wrap(safeText(block.text), columns - 4).map(line => ' ' + line), ''];
498
+ else if (block.role === 'assistant') lines = [tone.bold(' Comal'), ...this.markdown.render(block.text, columns - 4).map(line => ' ' + line), ''];
499
+ else if (block.role === 'notice') lines = wrap((block.error ? tone.bad : tone.muted)(safeText(` ${block.error ? '✗' : '·'} ${block.text}`)), columns);
500
+ else if (block.role === 'table') lines = [tone.accent(' ' + block.text), ...this.tables.render(block.data, columns - 4).map(line => ' ' + line), ''];
501
+ else if (block.role === 'subagent') {
502
+ const icon = ['running','queued','waiting'].includes(block.runner_state || block.state) ? this.spinner() : block.work_state==='checks_verified' ? '✓' : block.state==='paused' ? '◇' : block.state==='completed' ? '·' : '✗';
503
+ lines = [' ' + tone.accent(clip(safeText(t("{v0} Subagent {v1} · {v2} · {v3}", {v0: icon, v1: block.id.slice(0, 8), v2: block.subagent_type, v3: block.description})), columns - 4)), ' ' + tone.muted(clip(safeText(`${block.runner_state || block.state} · ${block.turn_state || block.status || block.state} · ${block.work_state || 'unjudged'} · calls ${block.turns || 0}/${block.max_turns || 6}${block.lastTool ? ' · ' + block.lastTool : ''}`), columns - 6))];
504
+ if (this.expandedTools || ['failed', 'cancelled', 'interrupted','paused'].includes(block.state)) lines.push(...wrap(safeText(block.error || block.result || block.text || ''), columns - 6).slice(0, 15).map(line => ' ' + line));
505
+ }
506
+ else {
507
+ const icon = block.state === 'running' ? this.spinner() : block.state === 'done' ? '✓' : '✗';
508
+ const label = safeText(`${icon} ${block.name} ${block.input?.file_path || block.input?.command || block.input?.pattern || ''}`);
509
+ lines = [' ' + (block.state === 'error' || block.state === 'interrupted' ? tone.bad : tone.muted)(clip(label, columns - 4))];
510
+ if (block.state === 'running' && block.progress) {
511
+ const p = block.progress, bar = p.total > 0 ? ` ${progressBar(p.progress, p.total, 14)} ${p.progress}/${p.total}` : ` ${p.progress}`;
512
+ lines.push(' ' + tone.accent(clip(safeText(bar + ' ' + p.message), columns - 6)));
513
+ }
514
+ if (this.expandedTools || block.state === 'error') lines.push(...wrap(safeText(String(block.output || JSON.stringify(block.input))).slice(0, 6000), columns - 6).map(line => ' ' + tone.muted(line)));
515
+ }
516
+ block.cacheKey = block.state === 'running' ? null : cacheKey; block.cached = lines; output.push(...lines);
517
+ }
518
+ return output;
519
+ }
520
+ overlayLines(columns, height) {
521
+ if (this.overlay?.kind === 'palette' && !this.permission) {
522
+ if (this.overlay.detail) {
523
+ const tool = this.paletteTool();
524
+ if (!tool) return [tone.warning(t(" Operation removed from the catalog")), tone.muted(t(" Esc returns; nothing was executed."))];
525
+ const lines = [tone.accent(' ' + safeText(tool.name)), ...wrap(safeText(tool.description), columns - 4).map(line => ' ' + line), '', tone.muted(t(" Audience: {v0} · source: {v1}", {v0: safeText(tool.audience || 'any'), v1: safeText(tool.origin?.plugin || tool.origin?.kind || t("core/MCP"))})), tone.muted(t(" Consulting does not authorize. Execution preserves the house's judgment.")), ...wrap(safeText(t("Declared effects: ") + Object.entries(tool.effects || {}).map(([key,value]) => `${key}=${value}`).join(' · ')), columns - 4).map(line => ' ' + tone.muted(line)), '', tone.bold(t(" Arguments · * required"))];
526
+ for (const [name, schema] of Object.entries(tool.input_schema?.properties || {})) lines.push(...wrap(safeText(`${tool.input_schema?.required?.includes(name) ? '* ' : ' '}${name} · ${schema.type || t("value")}${schema.enum ? ' · ' + schema.enum.join(' | ') : ''}${schema.description ? ' · ' + schema.description : ''}`), columns - 6).map(line => ' ' + line));
527
+ if (!Object.keys(tool.input_schema?.properties || {}).length) lines.push(tone.muted(t(" No fields declared.")));
528
+ lines.push('', tone.muted(tool.audience === 'human' ? t(" Human control · Esc returns to catalog") : t(" Tab prepares a request · does not send · Esc returns")));
529
+ this.overlay.scroll = Math.min(this.overlay.scroll, Math.max(0, lines.length - height)); return lines.slice(this.overlay.scroll, this.overlay.scroll + height);
530
+ }
531
+ const items = this.paletteItems(); this.overlay.index = Math.max(0, Math.min(this.overlay.index, items.length - 1));
532
+ const visible = Math.max(1, height - 5), start = Math.max(0, this.overlay.index - visible + 1);
533
+ return [tone.accent(t(" Discover · {v0} · {v1}", {v0: this.overlay.tab === 'tool' ? t("TOOLS") : t("COMMANDS"), v1: items.length})), tone.muted(t(" Tab changes section · ↑/↓ chooses · Enter prepares/inspects · Esc returns")), t(" Search: {v0}", {v0: safeText(this.overlay.filter) || tone.muted(t("type to filter"))}), '', ...items.slice(start, start + visible).map((item, i) => {
534
+ const selected = start + i === this.overlay.index, labelWidth = Math.max(10, Math.floor(columns * .36));
535
+ const label = ` ${selected ? '❯' : ' '} ${safeText(item.label)}`;
536
+ const line = columns >= 55 ? pad(clip(label, labelWidth), labelWidth) + ' ' + safeText(item.description) : label;
537
+ return (selected ? tone.accent : String)(clip(line, columns));
538
+ }), ...(!items.length ? [tone.muted(t(" No matches. Change section with Tab."))] : [])];
539
+ }
540
+ if (this.overlay?.kind === 'board' && !this.permission) {
541
+ const board = this.work, lines = [tone.accent(t(" Work · plan v{v0}", {v0: board?.plan?.version || 0})), ...wrap(safeText(board?.plan?.objective || t("No plan. Ask for a task with steps and checks.")), columns - 4).map(line => ' ' + line), tone.muted(t(" /work resume continues · wheel/PgUp/PgDn scrolls · Esc returns")), ''];
542
+ const labels = { pending: t("PENDING"), in_progress: t("IN PROGRESS"), blocked: t("BLOCKED"), done: t("DONE · checks recorded"), needs_verification: t("TO VERIFY") };
543
+ for (const [status, label] of Object.entries(labels)) { const cards = board?.cards.filter(card => card.status === status) || []; if (!cards.length) continue; lines.push(tone.accent(` ${label} (${cards.length})`)); for (const card of cards) { lines.push(...wrap(safeText(`${card.id} · ${card.title}`), columns - 6).map(line => ' ' + line)); if (card.held_by?.length || card.reason) lines.push(...wrap(safeText(card.reason || t("Waiting: {v0}", {v0: card.held_by.join(', ')})), columns - 8).map(line => ' ' + tone.muted(line))); } lines.push(''); }
544
+ if (board?.next_action) lines.push(...wrap(safeText(t("Next: ") + board.next_action), columns - 4).map(line => ' ' + line));
545
+ this.overlay.scroll = Math.min(this.overlay.scroll, Math.max(0, lines.length - height)); return lines.slice(this.overlay.scroll, this.overlay.scroll + height);
546
+ }
547
+ if (this.permission) {
548
+ const permission = this.permission, details = wrap(safeText(JSON.stringify(permission.input, null, 2)), columns - 6);
549
+ permission.scroll = Math.min(permission.scroll, Math.max(0, details.length - height + 5));
550
+ return [tone.warning(t(" Allow {v0}", {v0: permission.name})), tone.muted(t(" Detail {v0}/{v1} · PgUp/PgDn to review", {v0: permission.scroll + 1, v1: details.length})), '', ...details.slice(permission.scroll, permission.scroll + height - 5).map(line => ' ' + line), '', t(" {v0} {v1} · Enter confirms · y/n · Esc denies", {v0: permission.allowed ? tone.good(t("❯ Yes")) : t(" Yes"), v1: !permission.allowed ? tone.warning('❯ No') : ' No'})];
551
+ }
552
+ if (this.overlay.kind === 'help') {
553
+ const lines = [tone.muted(t(" Help · composer active · type below · PgUp/PgDn scrolls · Esc/F1 closes")), '', ...this.markdown.render(t(HELP), columns - 4).map(line => ' ' + line)];
554
+ this.overlay.scroll = Math.min(this.overlay.scroll, Math.max(0, lines.length - height));
555
+ return lines.slice(this.overlay.scroll, this.overlay.scroll + height);
556
+ }
557
+ if (this.overlay.kind === 'sessions') {
558
+ const items = this.filteredSessions(); const visible = Math.max(1, height - 5), start = Math.max(0, this.overlay.index - visible + 1);
559
+ return [tone.accent(t(" Sessions · ") + this.overlay.items.length), t(" Search: {v0}", {v0: this.overlay.filter || tone.muted(t("type to filter"))}), this.overlay.error ? tone.bad(' ' + this.overlay.error) : tone.muted(t(" ↑/↓ choose · Enter resumes with history · Esc returns")), '', ...items.slice(start, start + visible).map((item, i) => {
560
+ const selected = start + i === this.overlay.index, title = `${item.invalid ? '✗ ' : ''}${item.name || item.prompt || t("(empty)")}`;
561
+ const left = pad(safeText(`${selected ? '❯' : ' '} ${title}`), Math.max(8, columns - 40));
562
+ const right = safeText(`${item.id.slice(0, 8)} ${item.messages} msgs ${item.model}`);
563
+ return ' ' + (selected ? tone.accent : String)(clip(left + right, columns - 4));
564
+ }), ...(!items.length ? [tone.muted(t(" No matches."))] : [])];
565
+ }
566
+ const status = this.queue.paused ? t("paused") : t("active");
567
+ const lines = [tone.accent(t(" Message queue · {v0}", {v0: status})), tone.muted(t(" e edit · d remove · Ctrl+↑/↓ reorder · Space pause/resume · Esc return")), ''];
568
+ if (this.queue.running) lines.push(tone.muted(t(" Running: ") + clip(safeText(this.queue.running.text), columns - 20)), '');
569
+ this.queue.items.forEach((item, index) => { lines.push((index === this.overlay.index ? tone.accent : String)(` ${index === this.overlay.index ? '❯' : ' '} ${index + 1}. ${clip(safeText(item.text).replace(/\n/g, ' ↵ '), columns - 9)}`)); });
570
+ if (!this.queue.items.length) lines.push(tone.muted(t(" Empty queue. Send a message while the agent works.")));
571
+ if (this.queue.interrupted?.length) lines.push('', tone.warning(t(" {v0} interrupted message(s); not resent. R requeues the first.", {v0: this.queue.interrupted.length})));
572
+ return lines.slice(0, height);
573
+ }
574
+ render(selectionEntry = false) {
575
+ if (this.closed || this.suspended || (this.selecting && !selectionEntry)) return;
576
+ const columns = Math.max(1, (this.output.columns || 80) - 1), rows = this.output.rows || 24;
577
+ if (columns < 23 || rows < 10) { this.draw([clip(t("Enlarge the terminal to 24×10"), columns)], null, columns, rows); return; }
578
+ if (this.setup) { this.renderSetup(columns, rows); return; }
579
+ const composer = this.composer.layout(columns - 6), composerHeight = Math.min(6, rows - 8, Math.max(2, composer.lines.length));
580
+ const location = ` ${clip(safeText(this.metadata.cwd || ''), Math.max(4, columns - 27))} · ${safeText(this.metadata.sessionId?.slice(0, 8) || t("connecting"))}`;
581
+ const report = this.metadata.modelCapabilities;
582
+ const budget = this.metadata.contextBudget;
583
+ const capacity = budget?.contextWindow;
584
+ const amount = Number.isSafeInteger(capacity) && capacity > 0 ? capacity >= 1000000 ? `${Number((capacity/1000000).toFixed(2))}M` : capacity >= 1000 ? `${Number((capacity/1000).toFixed(1))}k` : String(capacity) : '?';
585
+ const capacityLabel = `Ctx:${amount}${amount === '?' ? '' : budget.kind === 'fallback' ? '?' : budget.kind === 'configured' || budget.source === 'comal_limit' ? '~' : ''}`;
586
+ const indicators = [`E:${safeText(this.metadata.effort || 'auto')}`, capacityLabel];
587
+ if (this.metadata.workflow) indicators.push(safeText(this.metadata.workflow));
588
+ for (const [key, label] of [['thinking', 'think'], ['vision', t("vision")], ['video', 'video'], ['web_search', 'web']]) {
589
+ if (report?.capabilities?.[key] === true) indicators.push(label + (report.provenance?.[key]?.kind === 'configured' ? '~' : ''));
590
+ }
591
+ if (report && Object.values(report.capabilities).some(value => value === null)) indicators.push('caps?');
592
+ const modelLabel = clip(' ' + indicators.join(' · '), Math.max(8, Math.floor(columns / 2)));
593
+ const locationLine = columns >= 50 ? pad(clip(location, columns - width(modelLabel) - 1), columns - width(modelLabel)) + modelLabel : location;
594
+ const header = [tone.bold(' COMAL') + (this.metadata.name ? tone.accent(safeText(` @${this.metadata.name}`)) : '') + tone.muted(safeText(` ${this.metadata.model || t("local model")} · ${this.metadata.authProvider || this.metadata.provider || 'openai'} · `)) + tone.accent(this.mode), tone.muted(locationLine), tone.muted('─'.repeat(columns))];
595
+ const completions = this.completion();
596
+ const availableBody = Math.max(1, rows - header.length - composerHeight - 4);
597
+ const completionHeight = completions.items.length ? Math.min(5, Math.max(0, availableBody - 1)) : 0;
598
+ const bodyHeight = Math.max(1, availableBody - completionHeight); this.bodyHeight = bodyHeight;
599
+ const sideWidth = columns >= 110 && !this.overlay && !this.permission ? 28 : 0;
600
+ const bodyWidth = columns - (sideWidth ? sideWidth + 2 : 0);
601
+ let content, body;
602
+ if (this.overlay || this.permission) body = this.overlayLines(columns, bodyHeight);
603
+ else {
604
+ content = this.contentLines(bodyWidth);
605
+ if (this.scroll > 0 && content.length > this.lastContentLength) this.scroll += content.length - this.lastContentLength;
606
+ this.lastContentLength = content.length; this.scroll = Math.min(this.scroll, Math.max(0, content.length - bodyHeight));
607
+ const end = content.length - this.scroll; body = content.slice(Math.max(0, end - bodyHeight), end);
608
+ }
609
+ while (body.length < bodyHeight) body.push(''); body = body.slice(0, bodyHeight);
610
+ if (sideWidth) {
611
+ const side = [tone.accent(t(" Queue · {v0}{v1}", {v0: this.queue.items.length, v1: this.queue.paused ? t(" paused") : ''})), tone.muted(t(" F4 manage")), ''];
612
+ if (this.queue.running) side.push(tone.muted(t(" Running")), ...wrap(safeText(this.queue.running.text), sideWidth - 2).slice(0, 2).map(line => ' ' + line), '');
613
+ this.queue.items.slice(0, 6).forEach((item, i) => side.push(tone.accent(` ${i + 1}. `) + clip(safeText(item.text).replace(/\n/g, ' ↵ '), sideWidth - 5), ''));
614
+ body = body.map((line, i) => pad(line, bodyWidth) + tone.muted(' │') + clip(side[i] || '', sideWidth));
615
+ }
616
+ const elapsed = this.startedAt ? ((Date.now() - this.startedAt) / 1000).toFixed(1) : '0.0';
617
+ const active = this.busy || !this.ready;
618
+ const contextLabel = this.context ? ` · ctx ${this.context.estimated===false?'':'~'}${this.context.percent}%${this.context.accounting_method==='measured_prefix_estimated_tail'?t(" · measured baseline"):''}${Number.isSafeInteger(this.cacheReadTokens)?t(" · cache ")+formatNumber(this.cacheReadTokens):''}` : '';
619
+ const status = (active ? `${brandingStatus({frame:this.brandFrame(),active:true,env:this.env,stream:this.output})} ${this.spinner()} ${this.phase} · ${elapsed}s` : t("● Ready · {v0} tokens", {v0: formatNumber(this.usage)})) + contextLabel;
620
+ const measure = this.goal?.status === 'active' ? `goal calls ${this.goal.calls}/${this.goal.limits.maxCalls} ${progressBar(this.goal.calls, this.goal.limits.maxCalls, 12)}` : this.busy ? `calls ${this.turn}/${this.maxTurns} ${progressBar(this.turn, this.maxTurns, 12)}` : t("{v0} in queue{v1}", {v0: this.queue.items.length, v1: this.queue.paused ? t(" · paused") : ''});
621
+ const workLabel = this.work?.plan ? t(" · work {v0}/{v1}{v2}", {v0: this.work.counts.done, v1: this.work.cards.length, v2: this.work.current ? ' · ' + this.work.current.id : ''}) : '';
622
+ const bar = tone.accent(' ' + status + workLabel) + ' ' + tone.muted(measure) + (this.scroll ? tone.warning(t(" · history ↑")) : '');
623
+ let composerHeading = this.editingQueue ? tone.warning(t(" Editing queued message · Enter saves · Esc cancels")) : tone.muted(t(" Composer · {v0} · Alt+Enter multiline · Ctrl+G editor", {v0: this.busy ? t("Enter queues") : t("Enter sends")}));
624
+ const sessionName = safeText(this.metadata.name || '').replace(/[\r\n]+/g, ' ').trim();
625
+ if (sessionName) {
626
+ const labelWidth = Math.min(Math.floor(columns / 2), columns - 12);
627
+ const label = tone.accent(tone.bold(`[ @${clip(sessionName, labelWidth - 5, '…')} ]`));
628
+ const headingWidth = columns - width(label) - 1;
629
+ composerHeading = pad(clip(composerHeading, headingWidth, '…'), headingWidth) + ' ' + label;
630
+ }
631
+ const footer = [clip(bar, columns), tone.muted('─'.repeat(columns)), composerHeading];
632
+ const offset = Math.max(0, composer.cursorRow - composerHeight + 1);
633
+ const inputLines = Array.from({ length: composerHeight }, (_, i) => tone.muted(i === 0 ? ' ❯ ' : ' │ ') + (composer.lines[offset + i] || ''));
634
+ const hints = this.selecting ? tone.warning(t(" SELECTION · Drag and copy from your terminal · F5/Esc returns")) : this.attachmentStatus ? (['unsupported','invalid'].includes(this.attachmentStatus.state) ? tone.warning : tone.muted)(' ' + safeText(this.attachmentStatus.message)) : tone.muted(' ' + (completions.items.length ? t("Tab or Enter completes · ↑/↓ chooses · Esc closes · does not send") : (this.overlay?.kind === 'help' ? t("Help open · composer active · PgUp/PgDn scrolls · Esc/F1 closes") : this.preparedDraft ? t("Action prepared · Esc recovers your draft · Enter sends and restores it") : contextualTip(this.composer.text, this.discoveryContext()))));
635
+ const suggestionLines = [];
636
+ if (completionHeight) {
637
+ suggestionLines.push(tone.muted(t(" Suggestions · {v0} · Tab completes", {v0: completions.items.length})));
638
+ const visible = completionHeight - 1, start = Math.max(0, this.completionIndex - visible + 1);
639
+ for (const [i,item] of completions.items.slice(start, start + visible).entries()) {
640
+ const selected = start + i === this.completionIndex;
641
+ const label = ` ${selected ? '❯' : ' '} ${safeText(item.label)}`;
642
+ const labelWidth = Math.max(10, Math.floor(columns * .35));
643
+ const line = columns >= 55 ? pad(clip(label,labelWidth),labelWidth) + ' ' + safeText(item.description) : label;
644
+ suggestionLines.push((selected ? tone.accent : tone.muted)(clip(line,columns)));
645
+ }
646
+ while (suggestionLines.length < completionHeight) suggestionLines.push('');
647
+ }
648
+ const all = [...header, ...body, ...suggestionLines, ...footer, ...inputLines, clip(hints, columns)];
649
+ const cursor = this.selecting || this.hasModalOverlay() || this.permission ? null : { row: header.length + bodyHeight + completionHeight + footer.length + composer.cursorRow - offset + 1, col: composer.cursorColumn + 4 };
650
+ this.draw(all, cursor, columns, rows);
651
+ }
652
+ draw(lines, cursor, columns, rows) {
653
+ const normalized = Array.from({ length: rows }, (_, index) => clip((lines[index] || '').replace(/\n/g, ' ↵ '), columns));
654
+ let output = '\x1b[?25l';
655
+ const surface = terminalSurface({env:this.env,stream:this.output});
656
+ normalized.forEach((line, index) => { if (line !== this.previous[index]) {
657
+ const styled = surface ? line.replaceAll('\x1b[0m','\x1b[0m'+surface) : stripANSI(line);
658
+ output += `\x1b[${index + 1};1H${surface}\x1b[2K${styled}\x1b[0m`;
659
+ } });
660
+ this.previous = normalized;
661
+ if (cursor) output += `\x1b[${Math.min(rows, cursor.row)};${Math.min(columns, cursor.col)}H\x1b[?25h`;
662
+ this.output.write(output);
663
+ }
664
+ suspend() {
665
+ this.suspended = true; clearTimeout(this.renderTimer); this.renderTimer = null;
666
+ this.input.setRawMode?.(this.originalRaw); this.input.pause(); this.output.write(MOUSE_OFF + '\x1b[?2004l\x1b[?25h\x1b[?1049l');
667
+ }
668
+ resume() { this.input.setRawMode?.(true); this.input.resume(); this.suspended = false; this.previous = []; this.output.write('\x1b[?1049h\x1b[?2004h' + MOUSE_ON); this.render(); }
669
+ close() {
670
+ if (this.closed) return; this.closed = true;
671
+ this.clearSetup();
672
+ this.permission?.finish(false); clearInterval(this.timer); clearTimeout(this.renderTimer); this.decoder?.close();
673
+ if (this.onData) this.input.off('data', this.onData); if (this.onResize) this.output.off('resize', this.onResize);
674
+ if (this.started) { this.input.setRawMode?.(this.originalRaw); this.input.pause(); if (!this.suspended) this.output.write('\x1b[0m' + MOUSE_OFF + '\x1b[?2004l\x1b[?25h\x1b[?1049l'); }
675
+ this.resolveFinished();
676
+ }
677
+ }