cursorconnect 0.1.0 → 0.1.2

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 (1306) hide show
  1. package/bridge-runtime/.env.example +19 -0
  2. package/bridge-runtime/dist/agent-title-match.d.ts +17 -0
  3. package/bridge-runtime/dist/agent-title-match.js +197 -0
  4. package/bridge-runtime/dist/cdp-bridge.d.ts +23 -0
  5. package/bridge-runtime/dist/cdp-bridge.js +116 -0
  6. package/bridge-runtime/dist/cdp-client.d.ts +24 -0
  7. package/bridge-runtime/dist/cdp-client.js +145 -0
  8. package/bridge-runtime/dist/command-executor.d.ts +26 -0
  9. package/bridge-runtime/dist/command-executor.js +577 -0
  10. package/bridge-runtime/dist/composer-images.d.ts +6 -0
  11. package/bridge-runtime/dist/composer-images.js +130 -0
  12. package/bridge-runtime/dist/composer-title-index.d.ts +10 -0
  13. package/bridge-runtime/dist/composer-title-index.js +51 -0
  14. package/bridge-runtime/dist/config.d.ts +3 -0
  15. package/bridge-runtime/dist/config.js +37 -0
  16. package/bridge-runtime/dist/dom-extractor.d.ts +15 -0
  17. package/bridge-runtime/dist/dom-extractor.js +68 -0
  18. package/bridge-runtime/dist/extract-page.d.ts +7 -0
  19. package/bridge-runtime/dist/extract-page.js +1202 -0
  20. package/bridge-runtime/dist/focused-window.d.ts +3 -0
  21. package/bridge-runtime/dist/focused-window.js +40 -0
  22. package/bridge-runtime/dist/image-upload-store.d.ts +5 -0
  23. package/bridge-runtime/dist/image-upload-store.js +30 -0
  24. package/bridge-runtime/dist/index.d.ts +1 -0
  25. package/bridge-runtime/dist/index.js +68 -0
  26. package/bridge-runtime/dist/jsonl-index.d.ts +24 -0
  27. package/bridge-runtime/dist/jsonl-index.js +302 -0
  28. package/bridge-runtime/dist/media-path.d.ts +9 -0
  29. package/bridge-runtime/dist/media-path.js +59 -0
  30. package/bridge-runtime/dist/message-debug-store.d.ts +8 -0
  31. package/bridge-runtime/dist/message-debug-store.js +16 -0
  32. package/bridge-runtime/dist/message-filter.d.ts +19 -0
  33. package/bridge-runtime/dist/message-filter.js +83 -0
  34. package/bridge-runtime/dist/openai-transcribe.d.ts +1 -0
  35. package/bridge-runtime/dist/openai-transcribe.js +32 -0
  36. package/bridge-runtime/dist/pairing-identity.d.ts +16 -0
  37. package/bridge-runtime/dist/pairing-identity.js +91 -0
  38. package/bridge-runtime/dist/relay-upstream.d.ts +13 -0
  39. package/bridge-runtime/dist/relay-upstream.js +128 -0
  40. package/bridge-runtime/dist/relay.d.ts +41 -0
  41. package/bridge-runtime/dist/relay.js +397 -0
  42. package/bridge-runtime/dist/sidebar-merge.d.ts +4 -0
  43. package/bridge-runtime/dist/sidebar-merge.js +47 -0
  44. package/bridge-runtime/dist/state-manager.d.ts +19 -0
  45. package/bridge-runtime/dist/state-manager.js +81 -0
  46. package/bridge-runtime/dist/types.d.ts +243 -0
  47. package/bridge-runtime/dist/types.js +1 -0
  48. package/bridge-runtime/dist/window-monitor.d.ts +20 -0
  49. package/bridge-runtime/dist/window-monitor.js +91 -0
  50. package/bridge-runtime/node_modules/.package-lock.json +1263 -0
  51. package/bridge-runtime/node_modules/@socket.io/component-emitter/LICENSE +24 -0
  52. package/bridge-runtime/node_modules/@socket.io/component-emitter/Readme.md +79 -0
  53. package/bridge-runtime/node_modules/@socket.io/component-emitter/lib/cjs/index.d.ts +179 -0
  54. package/bridge-runtime/node_modules/@socket.io/component-emitter/lib/cjs/index.js +176 -0
  55. package/bridge-runtime/node_modules/@socket.io/component-emitter/lib/cjs/package.json +4 -0
  56. package/bridge-runtime/node_modules/@socket.io/component-emitter/lib/esm/index.d.ts +179 -0
  57. package/bridge-runtime/node_modules/@socket.io/component-emitter/lib/esm/index.js +169 -0
  58. package/bridge-runtime/node_modules/@socket.io/component-emitter/lib/esm/package.json +4 -0
  59. package/bridge-runtime/node_modules/@socket.io/component-emitter/package.json +28 -0
  60. package/bridge-runtime/node_modules/@types/cors/LICENSE +21 -0
  61. package/bridge-runtime/node_modules/@types/cors/README.md +75 -0
  62. package/bridge-runtime/node_modules/@types/cors/index.d.ts +56 -0
  63. package/bridge-runtime/node_modules/@types/cors/package.json +38 -0
  64. package/bridge-runtime/node_modules/@types/node/LICENSE +21 -0
  65. package/bridge-runtime/node_modules/@types/node/README.md +15 -0
  66. package/bridge-runtime/node_modules/@types/node/assert/strict.d.ts +111 -0
  67. package/bridge-runtime/node_modules/@types/node/assert.d.ts +1078 -0
  68. package/bridge-runtime/node_modules/@types/node/async_hooks.d.ts +603 -0
  69. package/bridge-runtime/node_modules/@types/node/buffer.buffer.d.ts +472 -0
  70. package/bridge-runtime/node_modules/@types/node/buffer.d.ts +1934 -0
  71. package/bridge-runtime/node_modules/@types/node/child_process.d.ts +1476 -0
  72. package/bridge-runtime/node_modules/@types/node/cluster.d.ts +578 -0
  73. package/bridge-runtime/node_modules/@types/node/compatibility/disposable.d.ts +14 -0
  74. package/bridge-runtime/node_modules/@types/node/compatibility/index.d.ts +9 -0
  75. package/bridge-runtime/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
  76. package/bridge-runtime/node_modules/@types/node/compatibility/iterators.d.ts +20 -0
  77. package/bridge-runtime/node_modules/@types/node/console.d.ts +452 -0
  78. package/bridge-runtime/node_modules/@types/node/constants.d.ts +21 -0
  79. package/bridge-runtime/node_modules/@types/node/crypto.d.ts +4545 -0
  80. package/bridge-runtime/node_modules/@types/node/dgram.d.ts +600 -0
  81. package/bridge-runtime/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
  82. package/bridge-runtime/node_modules/@types/node/dns/promises.d.ts +503 -0
  83. package/bridge-runtime/node_modules/@types/node/dns.d.ts +923 -0
  84. package/bridge-runtime/node_modules/@types/node/domain.d.ts +170 -0
  85. package/bridge-runtime/node_modules/@types/node/events.d.ts +976 -0
  86. package/bridge-runtime/node_modules/@types/node/fs/promises.d.ts +1295 -0
  87. package/bridge-runtime/node_modules/@types/node/fs.d.ts +4461 -0
  88. package/bridge-runtime/node_modules/@types/node/globals.d.ts +172 -0
  89. package/bridge-runtime/node_modules/@types/node/globals.typedarray.d.ts +38 -0
  90. package/bridge-runtime/node_modules/@types/node/http.d.ts +2089 -0
  91. package/bridge-runtime/node_modules/@types/node/http2.d.ts +2721 -0
  92. package/bridge-runtime/node_modules/@types/node/https.d.ts +579 -0
  93. package/bridge-runtime/node_modules/@types/node/index.d.ts +97 -0
  94. package/bridge-runtime/node_modules/@types/node/inspector.d.ts +253 -0
  95. package/bridge-runtime/node_modules/@types/node/inspector.generated.d.ts +4052 -0
  96. package/bridge-runtime/node_modules/@types/node/module.d.ts +891 -0
  97. package/bridge-runtime/node_modules/@types/node/net.d.ts +1076 -0
  98. package/bridge-runtime/node_modules/@types/node/os.d.ts +506 -0
  99. package/bridge-runtime/node_modules/@types/node/package.json +145 -0
  100. package/bridge-runtime/node_modules/@types/node/path.d.ts +200 -0
  101. package/bridge-runtime/node_modules/@types/node/perf_hooks.d.ts +968 -0
  102. package/bridge-runtime/node_modules/@types/node/process.d.ts +2084 -0
  103. package/bridge-runtime/node_modules/@types/node/punycode.d.ts +117 -0
  104. package/bridge-runtime/node_modules/@types/node/querystring.d.ts +152 -0
  105. package/bridge-runtime/node_modules/@types/node/readline/promises.d.ts +161 -0
  106. package/bridge-runtime/node_modules/@types/node/readline.d.ts +594 -0
  107. package/bridge-runtime/node_modules/@types/node/repl.d.ts +428 -0
  108. package/bridge-runtime/node_modules/@types/node/sea.d.ts +153 -0
  109. package/bridge-runtime/node_modules/@types/node/sqlite.d.ts +721 -0
  110. package/bridge-runtime/node_modules/@types/node/stream/consumers.d.ts +38 -0
  111. package/bridge-runtime/node_modules/@types/node/stream/promises.d.ts +90 -0
  112. package/bridge-runtime/node_modules/@types/node/stream/web.d.ts +622 -0
  113. package/bridge-runtime/node_modules/@types/node/stream.d.ts +1687 -0
  114. package/bridge-runtime/node_modules/@types/node/string_decoder.d.ts +67 -0
  115. package/bridge-runtime/node_modules/@types/node/test.d.ts +2163 -0
  116. package/bridge-runtime/node_modules/@types/node/timers/promises.d.ts +108 -0
  117. package/bridge-runtime/node_modules/@types/node/timers.d.ts +287 -0
  118. package/bridge-runtime/node_modules/@types/node/tls.d.ts +1319 -0
  119. package/bridge-runtime/node_modules/@types/node/trace_events.d.ts +197 -0
  120. package/bridge-runtime/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
  121. package/bridge-runtime/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +34 -0
  122. package/bridge-runtime/node_modules/@types/node/ts5.6/index.d.ts +97 -0
  123. package/bridge-runtime/node_modules/@types/node/tty.d.ts +208 -0
  124. package/bridge-runtime/node_modules/@types/node/url.d.ts +984 -0
  125. package/bridge-runtime/node_modules/@types/node/util.d.ts +2606 -0
  126. package/bridge-runtime/node_modules/@types/node/v8.d.ts +920 -0
  127. package/bridge-runtime/node_modules/@types/node/vm.d.ts +1000 -0
  128. package/bridge-runtime/node_modules/@types/node/wasi.d.ts +181 -0
  129. package/bridge-runtime/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  130. package/bridge-runtime/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  131. package/bridge-runtime/node_modules/@types/node/web-globals/events.d.ts +97 -0
  132. package/bridge-runtime/node_modules/@types/node/web-globals/fetch.d.ts +55 -0
  133. package/bridge-runtime/node_modules/@types/node/web-globals/navigator.d.ts +22 -0
  134. package/bridge-runtime/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  135. package/bridge-runtime/node_modules/@types/node/worker_threads.d.ts +784 -0
  136. package/bridge-runtime/node_modules/@types/node/zlib.d.ts +747 -0
  137. package/bridge-runtime/node_modules/@types/ws/LICENSE +21 -0
  138. package/bridge-runtime/node_modules/@types/ws/README.md +15 -0
  139. package/bridge-runtime/node_modules/@types/ws/index.d.mts +451 -0
  140. package/bridge-runtime/node_modules/@types/ws/index.d.ts +445 -0
  141. package/bridge-runtime/node_modules/@types/ws/package.json +72 -0
  142. package/bridge-runtime/node_modules/accepts/HISTORY.md +243 -0
  143. package/bridge-runtime/node_modules/accepts/LICENSE +23 -0
  144. package/bridge-runtime/node_modules/accepts/README.md +140 -0
  145. package/bridge-runtime/node_modules/accepts/index.js +238 -0
  146. package/bridge-runtime/node_modules/accepts/package.json +47 -0
  147. package/bridge-runtime/node_modules/array-flatten/LICENSE +21 -0
  148. package/bridge-runtime/node_modules/array-flatten/README.md +43 -0
  149. package/bridge-runtime/node_modules/array-flatten/array-flatten.js +64 -0
  150. package/bridge-runtime/node_modules/array-flatten/package.json +39 -0
  151. package/bridge-runtime/node_modules/base64id/CHANGELOG.md +16 -0
  152. package/bridge-runtime/node_modules/base64id/LICENSE +22 -0
  153. package/bridge-runtime/node_modules/base64id/README.md +18 -0
  154. package/bridge-runtime/node_modules/base64id/lib/base64id.js +103 -0
  155. package/bridge-runtime/node_modules/base64id/package.json +13 -0
  156. package/bridge-runtime/node_modules/body-parser/HISTORY.md +686 -0
  157. package/bridge-runtime/node_modules/body-parser/LICENSE +23 -0
  158. package/bridge-runtime/node_modules/body-parser/README.md +476 -0
  159. package/bridge-runtime/node_modules/body-parser/index.js +156 -0
  160. package/bridge-runtime/node_modules/body-parser/lib/read.js +205 -0
  161. package/bridge-runtime/node_modules/body-parser/lib/types/json.js +243 -0
  162. package/bridge-runtime/node_modules/body-parser/lib/types/raw.js +101 -0
  163. package/bridge-runtime/node_modules/body-parser/lib/types/text.js +121 -0
  164. package/bridge-runtime/node_modules/body-parser/lib/types/urlencoded.js +299 -0
  165. package/bridge-runtime/node_modules/body-parser/package.json +55 -0
  166. package/bridge-runtime/node_modules/bytes/History.md +97 -0
  167. package/bridge-runtime/node_modules/bytes/LICENSE +23 -0
  168. package/bridge-runtime/node_modules/bytes/Readme.md +152 -0
  169. package/bridge-runtime/node_modules/bytes/index.js +170 -0
  170. package/bridge-runtime/node_modules/bytes/package.json +42 -0
  171. package/bridge-runtime/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
  172. package/bridge-runtime/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
  173. package/bridge-runtime/node_modules/call-bind-apply-helpers/.nycrc +9 -0
  174. package/bridge-runtime/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
  175. package/bridge-runtime/node_modules/call-bind-apply-helpers/LICENSE +21 -0
  176. package/bridge-runtime/node_modules/call-bind-apply-helpers/README.md +62 -0
  177. package/bridge-runtime/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
  178. package/bridge-runtime/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  179. package/bridge-runtime/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
  180. package/bridge-runtime/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  181. package/bridge-runtime/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
  182. package/bridge-runtime/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  183. package/bridge-runtime/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
  184. package/bridge-runtime/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  185. package/bridge-runtime/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
  186. package/bridge-runtime/node_modules/call-bind-apply-helpers/index.js +15 -0
  187. package/bridge-runtime/node_modules/call-bind-apply-helpers/package.json +85 -0
  188. package/bridge-runtime/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
  189. package/bridge-runtime/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  190. package/bridge-runtime/node_modules/call-bind-apply-helpers/test/index.js +63 -0
  191. package/bridge-runtime/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
  192. package/bridge-runtime/node_modules/call-bound/.eslintrc +13 -0
  193. package/bridge-runtime/node_modules/call-bound/.github/FUNDING.yml +12 -0
  194. package/bridge-runtime/node_modules/call-bound/.nycrc +9 -0
  195. package/bridge-runtime/node_modules/call-bound/CHANGELOG.md +42 -0
  196. package/bridge-runtime/node_modules/call-bound/LICENSE +21 -0
  197. package/bridge-runtime/node_modules/call-bound/README.md +53 -0
  198. package/bridge-runtime/node_modules/call-bound/index.d.ts +94 -0
  199. package/bridge-runtime/node_modules/call-bound/index.js +19 -0
  200. package/bridge-runtime/node_modules/call-bound/package.json +99 -0
  201. package/bridge-runtime/node_modules/call-bound/test/index.js +61 -0
  202. package/bridge-runtime/node_modules/call-bound/tsconfig.json +10 -0
  203. package/bridge-runtime/node_modules/chokidar/LICENSE +21 -0
  204. package/bridge-runtime/node_modules/chokidar/README.md +305 -0
  205. package/bridge-runtime/node_modules/chokidar/esm/handler.d.ts +90 -0
  206. package/bridge-runtime/node_modules/chokidar/esm/handler.js +629 -0
  207. package/bridge-runtime/node_modules/chokidar/esm/index.d.ts +215 -0
  208. package/bridge-runtime/node_modules/chokidar/esm/index.js +798 -0
  209. package/bridge-runtime/node_modules/chokidar/esm/package.json +1 -0
  210. package/bridge-runtime/node_modules/chokidar/handler.d.ts +90 -0
  211. package/bridge-runtime/node_modules/chokidar/handler.js +635 -0
  212. package/bridge-runtime/node_modules/chokidar/index.d.ts +215 -0
  213. package/bridge-runtime/node_modules/chokidar/index.js +804 -0
  214. package/bridge-runtime/node_modules/chokidar/package.json +69 -0
  215. package/bridge-runtime/node_modules/content-disposition/HISTORY.md +60 -0
  216. package/bridge-runtime/node_modules/content-disposition/LICENSE +22 -0
  217. package/bridge-runtime/node_modules/content-disposition/README.md +142 -0
  218. package/bridge-runtime/node_modules/content-disposition/index.js +458 -0
  219. package/bridge-runtime/node_modules/content-disposition/package.json +44 -0
  220. package/bridge-runtime/node_modules/content-type/HISTORY.md +29 -0
  221. package/bridge-runtime/node_modules/content-type/LICENSE +22 -0
  222. package/bridge-runtime/node_modules/content-type/README.md +94 -0
  223. package/bridge-runtime/node_modules/content-type/index.js +225 -0
  224. package/bridge-runtime/node_modules/content-type/package.json +42 -0
  225. package/bridge-runtime/node_modules/cookie/LICENSE +24 -0
  226. package/bridge-runtime/node_modules/cookie/README.md +317 -0
  227. package/bridge-runtime/node_modules/cookie/SECURITY.md +25 -0
  228. package/bridge-runtime/node_modules/cookie/index.js +335 -0
  229. package/bridge-runtime/node_modules/cookie/package.json +44 -0
  230. package/bridge-runtime/node_modules/cookie-signature/History.md +42 -0
  231. package/bridge-runtime/node_modules/cookie-signature/Readme.md +42 -0
  232. package/bridge-runtime/node_modules/cookie-signature/index.js +51 -0
  233. package/bridge-runtime/node_modules/cookie-signature/package.json +18 -0
  234. package/bridge-runtime/node_modules/cors/LICENSE +22 -0
  235. package/bridge-runtime/node_modules/cors/README.md +277 -0
  236. package/bridge-runtime/node_modules/cors/lib/index.js +238 -0
  237. package/bridge-runtime/node_modules/cors/package.json +42 -0
  238. package/bridge-runtime/node_modules/debug/.coveralls.yml +1 -0
  239. package/bridge-runtime/node_modules/debug/.eslintrc +11 -0
  240. package/bridge-runtime/node_modules/debug/.travis.yml +14 -0
  241. package/bridge-runtime/node_modules/debug/CHANGELOG.md +362 -0
  242. package/bridge-runtime/node_modules/debug/LICENSE +19 -0
  243. package/bridge-runtime/node_modules/debug/Makefile +50 -0
  244. package/bridge-runtime/node_modules/debug/README.md +312 -0
  245. package/bridge-runtime/node_modules/debug/component.json +19 -0
  246. package/bridge-runtime/node_modules/debug/karma.conf.js +70 -0
  247. package/bridge-runtime/node_modules/debug/node.js +1 -0
  248. package/bridge-runtime/node_modules/debug/package.json +49 -0
  249. package/bridge-runtime/node_modules/debug/src/browser.js +185 -0
  250. package/bridge-runtime/node_modules/debug/src/debug.js +202 -0
  251. package/bridge-runtime/node_modules/debug/src/index.js +10 -0
  252. package/bridge-runtime/node_modules/debug/src/inspector-log.js +15 -0
  253. package/bridge-runtime/node_modules/debug/src/node.js +248 -0
  254. package/bridge-runtime/node_modules/depd/History.md +103 -0
  255. package/bridge-runtime/node_modules/depd/LICENSE +22 -0
  256. package/bridge-runtime/node_modules/depd/Readme.md +280 -0
  257. package/bridge-runtime/node_modules/depd/index.js +538 -0
  258. package/bridge-runtime/node_modules/depd/lib/browser/index.js +77 -0
  259. package/bridge-runtime/node_modules/depd/package.json +45 -0
  260. package/bridge-runtime/node_modules/destroy/LICENSE +23 -0
  261. package/bridge-runtime/node_modules/destroy/README.md +63 -0
  262. package/bridge-runtime/node_modules/destroy/index.js +209 -0
  263. package/bridge-runtime/node_modules/destroy/package.json +48 -0
  264. package/bridge-runtime/node_modules/dotenv/CHANGELOG.md +643 -0
  265. package/bridge-runtime/node_modules/dotenv/LICENSE +23 -0
  266. package/bridge-runtime/node_modules/dotenv/README-es.md +757 -0
  267. package/bridge-runtime/node_modules/dotenv/README.md +812 -0
  268. package/bridge-runtime/node_modules/dotenv/SECURITY.md +1 -0
  269. package/bridge-runtime/node_modules/dotenv/config.d.ts +1 -0
  270. package/bridge-runtime/node_modules/dotenv/config.js +9 -0
  271. package/bridge-runtime/node_modules/dotenv/lib/cli-options.js +17 -0
  272. package/bridge-runtime/node_modules/dotenv/lib/env-options.js +28 -0
  273. package/bridge-runtime/node_modules/dotenv/lib/main.d.ts +179 -0
  274. package/bridge-runtime/node_modules/dotenv/lib/main.js +423 -0
  275. package/bridge-runtime/node_modules/dotenv/package.json +62 -0
  276. package/bridge-runtime/node_modules/dotenv/skills/dotenv/SKILL.md +200 -0
  277. package/bridge-runtime/node_modules/dotenv/skills/dotenvx/SKILL.md +118 -0
  278. package/bridge-runtime/node_modules/dunder-proto/.eslintrc +5 -0
  279. package/bridge-runtime/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
  280. package/bridge-runtime/node_modules/dunder-proto/.nycrc +13 -0
  281. package/bridge-runtime/node_modules/dunder-proto/CHANGELOG.md +24 -0
  282. package/bridge-runtime/node_modules/dunder-proto/LICENSE +21 -0
  283. package/bridge-runtime/node_modules/dunder-proto/README.md +54 -0
  284. package/bridge-runtime/node_modules/dunder-proto/get.d.ts +5 -0
  285. package/bridge-runtime/node_modules/dunder-proto/get.js +30 -0
  286. package/bridge-runtime/node_modules/dunder-proto/package.json +76 -0
  287. package/bridge-runtime/node_modules/dunder-proto/set.d.ts +5 -0
  288. package/bridge-runtime/node_modules/dunder-proto/set.js +35 -0
  289. package/bridge-runtime/node_modules/dunder-proto/test/get.js +34 -0
  290. package/bridge-runtime/node_modules/dunder-proto/test/index.js +4 -0
  291. package/bridge-runtime/node_modules/dunder-proto/test/set.js +50 -0
  292. package/bridge-runtime/node_modules/dunder-proto/tsconfig.json +9 -0
  293. package/bridge-runtime/node_modules/ee-first/LICENSE +22 -0
  294. package/bridge-runtime/node_modules/ee-first/README.md +80 -0
  295. package/bridge-runtime/node_modules/ee-first/index.js +95 -0
  296. package/bridge-runtime/node_modules/ee-first/package.json +29 -0
  297. package/bridge-runtime/node_modules/encodeurl/LICENSE +22 -0
  298. package/bridge-runtime/node_modules/encodeurl/README.md +109 -0
  299. package/bridge-runtime/node_modules/encodeurl/index.js +60 -0
  300. package/bridge-runtime/node_modules/encodeurl/package.json +40 -0
  301. package/bridge-runtime/node_modules/engine.io/LICENSE +19 -0
  302. package/bridge-runtime/node_modules/engine.io/README.md +603 -0
  303. package/bridge-runtime/node_modules/engine.io/build/contrib/types.cookie.d.ts +113 -0
  304. package/bridge-runtime/node_modules/engine.io/build/contrib/types.cookie.js +6 -0
  305. package/bridge-runtime/node_modules/engine.io/build/engine.io.d.ts +27 -0
  306. package/bridge-runtime/node_modules/engine.io/build/engine.io.js +54 -0
  307. package/bridge-runtime/node_modules/engine.io/build/parser-v3/index.d.ts +88 -0
  308. package/bridge-runtime/node_modules/engine.io/build/parser-v3/index.js +424 -0
  309. package/bridge-runtime/node_modules/engine.io/build/parser-v3/utf8.d.ts +14 -0
  310. package/bridge-runtime/node_modules/engine.io/build/parser-v3/utf8.js +187 -0
  311. package/bridge-runtime/node_modules/engine.io/build/server.d.ts +272 -0
  312. package/bridge-runtime/node_modules/engine.io/build/server.js +810 -0
  313. package/bridge-runtime/node_modules/engine.io/build/socket.d.ts +180 -0
  314. package/bridge-runtime/node_modules/engine.io/build/socket.js +460 -0
  315. package/bridge-runtime/node_modules/engine.io/build/transport.d.ts +135 -0
  316. package/bridge-runtime/node_modules/engine.io/build/transport.js +121 -0
  317. package/bridge-runtime/node_modules/engine.io/build/transports/index.d.ts +17 -0
  318. package/bridge-runtime/node_modules/engine.io/build/transports/index.js +23 -0
  319. package/bridge-runtime/node_modules/engine.io/build/transports/polling-jsonp.d.ts +12 -0
  320. package/bridge-runtime/node_modules/engine.io/build/transports/polling-jsonp.js +41 -0
  321. package/bridge-runtime/node_modules/engine.io/build/transports/polling.d.ts +87 -0
  322. package/bridge-runtime/node_modules/engine.io/build/transports/polling.js +333 -0
  323. package/bridge-runtime/node_modules/engine.io/build/transports/websocket.d.ts +33 -0
  324. package/bridge-runtime/node_modules/engine.io/build/transports/websocket.js +93 -0
  325. package/bridge-runtime/node_modules/engine.io/build/transports/webtransport.d.ts +12 -0
  326. package/bridge-runtime/node_modules/engine.io/build/transports/webtransport.js +63 -0
  327. package/bridge-runtime/node_modules/engine.io/build/transports-uws/index.d.ts +7 -0
  328. package/bridge-runtime/node_modules/engine.io/build/transports-uws/index.js +8 -0
  329. package/bridge-runtime/node_modules/engine.io/build/transports-uws/polling.d.ts +99 -0
  330. package/bridge-runtime/node_modules/engine.io/build/transports-uws/polling.js +365 -0
  331. package/bridge-runtime/node_modules/engine.io/build/transports-uws/websocket.d.ts +32 -0
  332. package/bridge-runtime/node_modules/engine.io/build/transports-uws/websocket.js +73 -0
  333. package/bridge-runtime/node_modules/engine.io/build/userver.d.ts +43 -0
  334. package/bridge-runtime/node_modules/engine.io/build/userver.js +290 -0
  335. package/bridge-runtime/node_modules/engine.io/node_modules/debug/LICENSE +20 -0
  336. package/bridge-runtime/node_modules/engine.io/node_modules/debug/README.md +481 -0
  337. package/bridge-runtime/node_modules/engine.io/node_modules/debug/package.json +64 -0
  338. package/bridge-runtime/node_modules/engine.io/node_modules/debug/src/browser.js +272 -0
  339. package/bridge-runtime/node_modules/engine.io/node_modules/debug/src/common.js +292 -0
  340. package/bridge-runtime/node_modules/engine.io/node_modules/debug/src/index.js +10 -0
  341. package/bridge-runtime/node_modules/engine.io/node_modules/debug/src/node.js +263 -0
  342. package/bridge-runtime/node_modules/engine.io/node_modules/ms/index.js +162 -0
  343. package/bridge-runtime/node_modules/engine.io/node_modules/ms/license.md +21 -0
  344. package/bridge-runtime/node_modules/engine.io/node_modules/ms/package.json +38 -0
  345. package/bridge-runtime/node_modules/engine.io/node_modules/ms/readme.md +59 -0
  346. package/bridge-runtime/node_modules/engine.io/node_modules/ws/LICENSE +20 -0
  347. package/bridge-runtime/node_modules/engine.io/node_modules/ws/README.md +548 -0
  348. package/bridge-runtime/node_modules/engine.io/node_modules/ws/browser.js +8 -0
  349. package/bridge-runtime/node_modules/engine.io/node_modules/ws/index.js +22 -0
  350. package/bridge-runtime/node_modules/engine.io/node_modules/ws/lib/buffer-util.js +131 -0
  351. package/bridge-runtime/node_modules/engine.io/node_modules/ws/lib/constants.js +19 -0
  352. package/bridge-runtime/node_modules/engine.io/node_modules/ws/lib/event-target.js +292 -0
  353. package/bridge-runtime/node_modules/engine.io/node_modules/ws/lib/extension.js +203 -0
  354. package/bridge-runtime/node_modules/engine.io/node_modules/ws/lib/limiter.js +55 -0
  355. package/bridge-runtime/node_modules/engine.io/node_modules/ws/lib/permessage-deflate.js +528 -0
  356. package/bridge-runtime/node_modules/engine.io/node_modules/ws/lib/receiver.js +706 -0
  357. package/bridge-runtime/node_modules/engine.io/node_modules/ws/lib/sender.js +607 -0
  358. package/bridge-runtime/node_modules/engine.io/node_modules/ws/lib/stream.js +161 -0
  359. package/bridge-runtime/node_modules/engine.io/node_modules/ws/lib/subprotocol.js +62 -0
  360. package/bridge-runtime/node_modules/engine.io/node_modules/ws/lib/validation.js +152 -0
  361. package/bridge-runtime/node_modules/engine.io/node_modules/ws/lib/websocket-server.js +554 -0
  362. package/bridge-runtime/node_modules/engine.io/node_modules/ws/lib/websocket.js +1393 -0
  363. package/bridge-runtime/node_modules/engine.io/node_modules/ws/package.json +70 -0
  364. package/bridge-runtime/node_modules/engine.io/node_modules/ws/wrapper.mjs +21 -0
  365. package/bridge-runtime/node_modules/engine.io/package.json +71 -0
  366. package/bridge-runtime/node_modules/engine.io/wrapper.mjs +10 -0
  367. package/bridge-runtime/node_modules/engine.io-client/LICENSE +22 -0
  368. package/bridge-runtime/node_modules/engine.io-client/README.md +331 -0
  369. package/bridge-runtime/node_modules/engine.io-client/build/cjs/browser-entrypoint.d.ts +3 -0
  370. package/bridge-runtime/node_modules/engine.io-client/build/cjs/browser-entrypoint.js +4 -0
  371. package/bridge-runtime/node_modules/engine.io-client/build/cjs/contrib/has-cors.d.ts +1 -0
  372. package/bridge-runtime/node_modules/engine.io-client/build/cjs/contrib/has-cors.js +14 -0
  373. package/bridge-runtime/node_modules/engine.io-client/build/cjs/contrib/parseqs.d.ts +15 -0
  374. package/bridge-runtime/node_modules/engine.io-client/build/cjs/contrib/parseqs.js +38 -0
  375. package/bridge-runtime/node_modules/engine.io-client/build/cjs/contrib/parseuri.d.ts +1 -0
  376. package/bridge-runtime/node_modules/engine.io-client/build/cjs/contrib/parseuri.js +67 -0
  377. package/bridge-runtime/node_modules/engine.io-client/build/cjs/globals.d.ts +4 -0
  378. package/bridge-runtime/node_modules/engine.io-client/build/cjs/globals.js +26 -0
  379. package/bridge-runtime/node_modules/engine.io-client/build/cjs/globals.node.d.ts +21 -0
  380. package/bridge-runtime/node_modules/engine.io-client/build/cjs/globals.node.js +97 -0
  381. package/bridge-runtime/node_modules/engine.io-client/build/cjs/index.d.ts +15 -0
  382. package/bridge-runtime/node_modules/engine.io-client/build/cjs/index.js +32 -0
  383. package/bridge-runtime/node_modules/engine.io-client/build/cjs/package.json +10 -0
  384. package/bridge-runtime/node_modules/engine.io-client/build/cjs/socket.d.ts +482 -0
  385. package/bridge-runtime/node_modules/engine.io-client/build/cjs/socket.js +765 -0
  386. package/bridge-runtime/node_modules/engine.io-client/build/cjs/transport.d.ts +106 -0
  387. package/bridge-runtime/node_modules/engine.io-client/build/cjs/transport.js +153 -0
  388. package/bridge-runtime/node_modules/engine.io-client/build/cjs/transports/index.d.ts +8 -0
  389. package/bridge-runtime/node_modules/engine.io-client/build/cjs/transports/index.js +11 -0
  390. package/bridge-runtime/node_modules/engine.io-client/build/cjs/transports/polling-fetch.d.ts +15 -0
  391. package/bridge-runtime/node_modules/engine.io-client/build/cjs/transports/polling-fetch.js +60 -0
  392. package/bridge-runtime/node_modules/engine.io-client/build/cjs/transports/polling-xhr.d.ts +108 -0
  393. package/bridge-runtime/node_modules/engine.io-client/build/cjs/transports/polling-xhr.js +285 -0
  394. package/bridge-runtime/node_modules/engine.io-client/build/cjs/transports/polling-xhr.node.d.ts +11 -0
  395. package/bridge-runtime/node_modules/engine.io-client/build/cjs/transports/polling-xhr.node.js +44 -0
  396. package/bridge-runtime/node_modules/engine.io-client/build/cjs/transports/polling.d.ts +52 -0
  397. package/bridge-runtime/node_modules/engine.io-client/build/cjs/transports/polling.js +165 -0
  398. package/bridge-runtime/node_modules/engine.io-client/build/cjs/transports/websocket.d.ts +36 -0
  399. package/bridge-runtime/node_modules/engine.io-client/build/cjs/transports/websocket.js +136 -0
  400. package/bridge-runtime/node_modules/engine.io-client/build/cjs/transports/websocket.node.d.ts +14 -0
  401. package/bridge-runtime/node_modules/engine.io-client/build/cjs/transports/websocket.node.js +68 -0
  402. package/bridge-runtime/node_modules/engine.io-client/build/cjs/transports/webtransport.d.ts +18 -0
  403. package/bridge-runtime/node_modules/engine.io-client/build/cjs/transports/webtransport.js +94 -0
  404. package/bridge-runtime/node_modules/engine.io-client/build/cjs/util.d.ts +7 -0
  405. package/bridge-runtime/node_modules/engine.io-client/build/cjs/util.js +65 -0
  406. package/bridge-runtime/node_modules/engine.io-client/build/esm/browser-entrypoint.d.ts +3 -0
  407. package/bridge-runtime/node_modules/engine.io-client/build/esm/browser-entrypoint.js +2 -0
  408. package/bridge-runtime/node_modules/engine.io-client/build/esm/contrib/has-cors.d.ts +1 -0
  409. package/bridge-runtime/node_modules/engine.io-client/build/esm/contrib/has-cors.js +11 -0
  410. package/bridge-runtime/node_modules/engine.io-client/build/esm/contrib/parseqs.d.ts +15 -0
  411. package/bridge-runtime/node_modules/engine.io-client/build/esm/contrib/parseqs.js +34 -0
  412. package/bridge-runtime/node_modules/engine.io-client/build/esm/contrib/parseuri.d.ts +1 -0
  413. package/bridge-runtime/node_modules/engine.io-client/build/esm/contrib/parseuri.js +64 -0
  414. package/bridge-runtime/node_modules/engine.io-client/build/esm/globals.d.ts +4 -0
  415. package/bridge-runtime/node_modules/engine.io-client/build/esm/globals.js +22 -0
  416. package/bridge-runtime/node_modules/engine.io-client/build/esm/globals.node.d.ts +21 -0
  417. package/bridge-runtime/node_modules/engine.io-client/build/esm/globals.node.js +91 -0
  418. package/bridge-runtime/node_modules/engine.io-client/build/esm/index.d.ts +15 -0
  419. package/bridge-runtime/node_modules/engine.io-client/build/esm/index.js +15 -0
  420. package/bridge-runtime/node_modules/engine.io-client/build/esm/package.json +10 -0
  421. package/bridge-runtime/node_modules/engine.io-client/build/esm/socket.d.ts +482 -0
  422. package/bridge-runtime/node_modules/engine.io-client/build/esm/socket.js +727 -0
  423. package/bridge-runtime/node_modules/engine.io-client/build/esm/transport.d.ts +106 -0
  424. package/bridge-runtime/node_modules/engine.io-client/build/esm/transport.js +142 -0
  425. package/bridge-runtime/node_modules/engine.io-client/build/esm/transports/index.d.ts +8 -0
  426. package/bridge-runtime/node_modules/engine.io-client/build/esm/transports/index.js +8 -0
  427. package/bridge-runtime/node_modules/engine.io-client/build/esm/transports/polling-fetch.d.ts +15 -0
  428. package/bridge-runtime/node_modules/engine.io-client/build/esm/transports/polling-fetch.js +56 -0
  429. package/bridge-runtime/node_modules/engine.io-client/build/esm/transports/polling-xhr.d.ts +108 -0
  430. package/bridge-runtime/node_modules/engine.io-client/build/esm/transports/polling-xhr.js +271 -0
  431. package/bridge-runtime/node_modules/engine.io-client/build/esm/transports/polling-xhr.node.d.ts +11 -0
  432. package/bridge-runtime/node_modules/engine.io-client/build/esm/transports/polling-xhr.node.js +17 -0
  433. package/bridge-runtime/node_modules/engine.io-client/build/esm/transports/polling.d.ts +52 -0
  434. package/bridge-runtime/node_modules/engine.io-client/build/esm/transports/polling.js +145 -0
  435. package/bridge-runtime/node_modules/engine.io-client/build/esm/transports/websocket.d.ts +36 -0
  436. package/bridge-runtime/node_modules/engine.io-client/build/esm/transports/websocket.js +125 -0
  437. package/bridge-runtime/node_modules/engine.io-client/build/esm/transports/websocket.node.d.ts +14 -0
  438. package/bridge-runtime/node_modules/engine.io-client/build/esm/transports/websocket.node.js +41 -0
  439. package/bridge-runtime/node_modules/engine.io-client/build/esm/transports/webtransport.d.ts +18 -0
  440. package/bridge-runtime/node_modules/engine.io-client/build/esm/transports/webtransport.js +80 -0
  441. package/bridge-runtime/node_modules/engine.io-client/build/esm/util.d.ts +7 -0
  442. package/bridge-runtime/node_modules/engine.io-client/build/esm/util.js +59 -0
  443. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/browser-entrypoint.d.ts +3 -0
  444. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/browser-entrypoint.js +2 -0
  445. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/contrib/has-cors.d.ts +1 -0
  446. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/contrib/has-cors.js +11 -0
  447. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/contrib/parseqs.d.ts +15 -0
  448. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/contrib/parseqs.js +34 -0
  449. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/contrib/parseuri.d.ts +1 -0
  450. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/contrib/parseuri.js +64 -0
  451. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/globals.d.ts +4 -0
  452. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/globals.js +22 -0
  453. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/globals.node.d.ts +21 -0
  454. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/globals.node.js +91 -0
  455. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/index.d.ts +15 -0
  456. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/index.js +15 -0
  457. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/package.json +10 -0
  458. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/socket.d.ts +482 -0
  459. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/socket.js +756 -0
  460. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/transport.d.ts +106 -0
  461. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/transport.js +145 -0
  462. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/transports/index.d.ts +8 -0
  463. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/transports/index.js +8 -0
  464. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/transports/polling-fetch.d.ts +15 -0
  465. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/transports/polling-fetch.js +56 -0
  466. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.d.ts +108 -0
  467. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.js +276 -0
  468. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.node.d.ts +11 -0
  469. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.node.js +17 -0
  470. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/transports/polling.d.ts +52 -0
  471. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/transports/polling.js +158 -0
  472. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/transports/websocket.d.ts +36 -0
  473. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/transports/websocket.js +128 -0
  474. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/transports/websocket.node.d.ts +14 -0
  475. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/transports/websocket.node.js +41 -0
  476. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/transports/webtransport.d.ts +18 -0
  477. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/transports/webtransport.js +87 -0
  478. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/util.d.ts +7 -0
  479. package/bridge-runtime/node_modules/engine.io-client/build/esm-debug/util.js +59 -0
  480. package/bridge-runtime/node_modules/engine.io-client/dist/engine.io.esm.min.js +7 -0
  481. package/bridge-runtime/node_modules/engine.io-client/dist/engine.io.esm.min.js.map +1 -0
  482. package/bridge-runtime/node_modules/engine.io-client/dist/engine.io.js +3064 -0
  483. package/bridge-runtime/node_modules/engine.io-client/dist/engine.io.js.map +1 -0
  484. package/bridge-runtime/node_modules/engine.io-client/dist/engine.io.min.js +7 -0
  485. package/bridge-runtime/node_modules/engine.io-client/dist/engine.io.min.js.map +1 -0
  486. package/bridge-runtime/node_modules/engine.io-client/node_modules/debug/LICENSE +20 -0
  487. package/bridge-runtime/node_modules/engine.io-client/node_modules/debug/README.md +481 -0
  488. package/bridge-runtime/node_modules/engine.io-client/node_modules/debug/package.json +64 -0
  489. package/bridge-runtime/node_modules/engine.io-client/node_modules/debug/src/browser.js +272 -0
  490. package/bridge-runtime/node_modules/engine.io-client/node_modules/debug/src/common.js +292 -0
  491. package/bridge-runtime/node_modules/engine.io-client/node_modules/debug/src/index.js +10 -0
  492. package/bridge-runtime/node_modules/engine.io-client/node_modules/debug/src/node.js +263 -0
  493. package/bridge-runtime/node_modules/engine.io-client/node_modules/ms/index.js +162 -0
  494. package/bridge-runtime/node_modules/engine.io-client/node_modules/ms/license.md +21 -0
  495. package/bridge-runtime/node_modules/engine.io-client/node_modules/ms/package.json +38 -0
  496. package/bridge-runtime/node_modules/engine.io-client/node_modules/ms/readme.md +59 -0
  497. package/bridge-runtime/node_modules/engine.io-client/node_modules/ws/LICENSE +20 -0
  498. package/bridge-runtime/node_modules/engine.io-client/node_modules/ws/README.md +548 -0
  499. package/bridge-runtime/node_modules/engine.io-client/node_modules/ws/browser.js +8 -0
  500. package/bridge-runtime/node_modules/engine.io-client/node_modules/ws/index.js +22 -0
  501. package/bridge-runtime/node_modules/engine.io-client/node_modules/ws/lib/buffer-util.js +131 -0
  502. package/bridge-runtime/node_modules/engine.io-client/node_modules/ws/lib/constants.js +19 -0
  503. package/bridge-runtime/node_modules/engine.io-client/node_modules/ws/lib/event-target.js +292 -0
  504. package/bridge-runtime/node_modules/engine.io-client/node_modules/ws/lib/extension.js +203 -0
  505. package/bridge-runtime/node_modules/engine.io-client/node_modules/ws/lib/limiter.js +55 -0
  506. package/bridge-runtime/node_modules/engine.io-client/node_modules/ws/lib/permessage-deflate.js +528 -0
  507. package/bridge-runtime/node_modules/engine.io-client/node_modules/ws/lib/receiver.js +706 -0
  508. package/bridge-runtime/node_modules/engine.io-client/node_modules/ws/lib/sender.js +607 -0
  509. package/bridge-runtime/node_modules/engine.io-client/node_modules/ws/lib/stream.js +161 -0
  510. package/bridge-runtime/node_modules/engine.io-client/node_modules/ws/lib/subprotocol.js +62 -0
  511. package/bridge-runtime/node_modules/engine.io-client/node_modules/ws/lib/validation.js +152 -0
  512. package/bridge-runtime/node_modules/engine.io-client/node_modules/ws/lib/websocket-server.js +554 -0
  513. package/bridge-runtime/node_modules/engine.io-client/node_modules/ws/lib/websocket.js +1393 -0
  514. package/bridge-runtime/node_modules/engine.io-client/node_modules/ws/package.json +70 -0
  515. package/bridge-runtime/node_modules/engine.io-client/node_modules/ws/wrapper.mjs +21 -0
  516. package/bridge-runtime/node_modules/engine.io-client/package.json +95 -0
  517. package/bridge-runtime/node_modules/engine.io-parser/LICENSE +22 -0
  518. package/bridge-runtime/node_modules/engine.io-parser/Readme.md +158 -0
  519. package/bridge-runtime/node_modules/engine.io-parser/build/cjs/commons.d.ts +14 -0
  520. package/bridge-runtime/node_modules/engine.io-parser/build/cjs/commons.js +19 -0
  521. package/bridge-runtime/node_modules/engine.io-parser/build/cjs/contrib/base64-arraybuffer.d.ts +2 -0
  522. package/bridge-runtime/node_modules/engine.io-parser/build/cjs/contrib/base64-arraybuffer.js +48 -0
  523. package/bridge-runtime/node_modules/engine.io-parser/build/cjs/decodePacket.browser.d.ts +2 -0
  524. package/bridge-runtime/node_modules/engine.io-parser/build/cjs/decodePacket.browser.js +66 -0
  525. package/bridge-runtime/node_modules/engine.io-parser/build/cjs/decodePacket.d.ts +2 -0
  526. package/bridge-runtime/node_modules/engine.io-parser/build/cjs/decodePacket.js +59 -0
  527. package/bridge-runtime/node_modules/engine.io-parser/build/cjs/encodePacket.browser.d.ts +4 -0
  528. package/bridge-runtime/node_modules/engine.io-parser/build/cjs/encodePacket.browser.js +72 -0
  529. package/bridge-runtime/node_modules/engine.io-parser/build/cjs/encodePacket.d.ts +3 -0
  530. package/bridge-runtime/node_modules/engine.io-parser/build/cjs/encodePacket.js +38 -0
  531. package/bridge-runtime/node_modules/engine.io-parser/build/cjs/index.d.ts +9 -0
  532. package/bridge-runtime/node_modules/engine.io-parser/build/cjs/index.js +164 -0
  533. package/bridge-runtime/node_modules/engine.io-parser/build/cjs/package.json +8 -0
  534. package/bridge-runtime/node_modules/engine.io-parser/build/esm/commons.d.ts +14 -0
  535. package/bridge-runtime/node_modules/engine.io-parser/build/esm/commons.js +14 -0
  536. package/bridge-runtime/node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.d.ts +2 -0
  537. package/bridge-runtime/node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.js +43 -0
  538. package/bridge-runtime/node_modules/engine.io-parser/build/esm/decodePacket.browser.d.ts +2 -0
  539. package/bridge-runtime/node_modules/engine.io-parser/build/esm/decodePacket.browser.js +62 -0
  540. package/bridge-runtime/node_modules/engine.io-parser/build/esm/decodePacket.d.ts +2 -0
  541. package/bridge-runtime/node_modules/engine.io-parser/build/esm/decodePacket.js +55 -0
  542. package/bridge-runtime/node_modules/engine.io-parser/build/esm/encodePacket.browser.d.ts +4 -0
  543. package/bridge-runtime/node_modules/engine.io-parser/build/esm/encodePacket.browser.js +68 -0
  544. package/bridge-runtime/node_modules/engine.io-parser/build/esm/encodePacket.d.ts +3 -0
  545. package/bridge-runtime/node_modules/engine.io-parser/build/esm/encodePacket.js +33 -0
  546. package/bridge-runtime/node_modules/engine.io-parser/build/esm/index.d.ts +9 -0
  547. package/bridge-runtime/node_modules/engine.io-parser/build/esm/index.js +156 -0
  548. package/bridge-runtime/node_modules/engine.io-parser/build/esm/package.json +8 -0
  549. package/bridge-runtime/node_modules/engine.io-parser/package.json +46 -0
  550. package/bridge-runtime/node_modules/es-define-property/.eslintrc +13 -0
  551. package/bridge-runtime/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  552. package/bridge-runtime/node_modules/es-define-property/.nycrc +9 -0
  553. package/bridge-runtime/node_modules/es-define-property/CHANGELOG.md +29 -0
  554. package/bridge-runtime/node_modules/es-define-property/LICENSE +21 -0
  555. package/bridge-runtime/node_modules/es-define-property/README.md +49 -0
  556. package/bridge-runtime/node_modules/es-define-property/index.d.ts +3 -0
  557. package/bridge-runtime/node_modules/es-define-property/index.js +14 -0
  558. package/bridge-runtime/node_modules/es-define-property/package.json +81 -0
  559. package/bridge-runtime/node_modules/es-define-property/test/index.js +56 -0
  560. package/bridge-runtime/node_modules/es-define-property/tsconfig.json +10 -0
  561. package/bridge-runtime/node_modules/es-errors/.eslintrc +5 -0
  562. package/bridge-runtime/node_modules/es-errors/.github/FUNDING.yml +12 -0
  563. package/bridge-runtime/node_modules/es-errors/CHANGELOG.md +40 -0
  564. package/bridge-runtime/node_modules/es-errors/LICENSE +21 -0
  565. package/bridge-runtime/node_modules/es-errors/README.md +55 -0
  566. package/bridge-runtime/node_modules/es-errors/eval.d.ts +3 -0
  567. package/bridge-runtime/node_modules/es-errors/eval.js +4 -0
  568. package/bridge-runtime/node_modules/es-errors/index.d.ts +3 -0
  569. package/bridge-runtime/node_modules/es-errors/index.js +4 -0
  570. package/bridge-runtime/node_modules/es-errors/package.json +80 -0
  571. package/bridge-runtime/node_modules/es-errors/range.d.ts +3 -0
  572. package/bridge-runtime/node_modules/es-errors/range.js +4 -0
  573. package/bridge-runtime/node_modules/es-errors/ref.d.ts +3 -0
  574. package/bridge-runtime/node_modules/es-errors/ref.js +4 -0
  575. package/bridge-runtime/node_modules/es-errors/syntax.d.ts +3 -0
  576. package/bridge-runtime/node_modules/es-errors/syntax.js +4 -0
  577. package/bridge-runtime/node_modules/es-errors/test/index.js +19 -0
  578. package/bridge-runtime/node_modules/es-errors/tsconfig.json +49 -0
  579. package/bridge-runtime/node_modules/es-errors/type.d.ts +3 -0
  580. package/bridge-runtime/node_modules/es-errors/type.js +4 -0
  581. package/bridge-runtime/node_modules/es-errors/uri.d.ts +3 -0
  582. package/bridge-runtime/node_modules/es-errors/uri.js +4 -0
  583. package/bridge-runtime/node_modules/es-object-atoms/.eslintrc +16 -0
  584. package/bridge-runtime/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
  585. package/bridge-runtime/node_modules/es-object-atoms/CHANGELOG.md +44 -0
  586. package/bridge-runtime/node_modules/es-object-atoms/LICENSE +21 -0
  587. package/bridge-runtime/node_modules/es-object-atoms/README.md +63 -0
  588. package/bridge-runtime/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
  589. package/bridge-runtime/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
  590. package/bridge-runtime/node_modules/es-object-atoms/ToObject.d.ts +7 -0
  591. package/bridge-runtime/node_modules/es-object-atoms/ToObject.js +10 -0
  592. package/bridge-runtime/node_modules/es-object-atoms/index.d.ts +3 -0
  593. package/bridge-runtime/node_modules/es-object-atoms/index.js +4 -0
  594. package/bridge-runtime/node_modules/es-object-atoms/isObject.d.ts +3 -0
  595. package/bridge-runtime/node_modules/es-object-atoms/isObject.js +6 -0
  596. package/bridge-runtime/node_modules/es-object-atoms/package.json +79 -0
  597. package/bridge-runtime/node_modules/es-object-atoms/test/index.js +38 -0
  598. package/bridge-runtime/node_modules/es-object-atoms/tsconfig.json +7 -0
  599. package/bridge-runtime/node_modules/escape-html/LICENSE +24 -0
  600. package/bridge-runtime/node_modules/escape-html/Readme.md +43 -0
  601. package/bridge-runtime/node_modules/escape-html/index.js +78 -0
  602. package/bridge-runtime/node_modules/escape-html/package.json +24 -0
  603. package/bridge-runtime/node_modules/etag/HISTORY.md +83 -0
  604. package/bridge-runtime/node_modules/etag/LICENSE +22 -0
  605. package/bridge-runtime/node_modules/etag/README.md +159 -0
  606. package/bridge-runtime/node_modules/etag/index.js +131 -0
  607. package/bridge-runtime/node_modules/etag/package.json +47 -0
  608. package/bridge-runtime/node_modules/express/History.md +3676 -0
  609. package/bridge-runtime/node_modules/express/LICENSE +24 -0
  610. package/bridge-runtime/node_modules/express/Readme.md +260 -0
  611. package/bridge-runtime/node_modules/express/index.js +11 -0
  612. package/bridge-runtime/node_modules/express/lib/application.js +661 -0
  613. package/bridge-runtime/node_modules/express/lib/express.js +116 -0
  614. package/bridge-runtime/node_modules/express/lib/middleware/init.js +43 -0
  615. package/bridge-runtime/node_modules/express/lib/middleware/query.js +47 -0
  616. package/bridge-runtime/node_modules/express/lib/request.js +525 -0
  617. package/bridge-runtime/node_modules/express/lib/response.js +1179 -0
  618. package/bridge-runtime/node_modules/express/lib/router/index.js +673 -0
  619. package/bridge-runtime/node_modules/express/lib/router/layer.js +181 -0
  620. package/bridge-runtime/node_modules/express/lib/router/route.js +230 -0
  621. package/bridge-runtime/node_modules/express/lib/utils.js +304 -0
  622. package/bridge-runtime/node_modules/express/lib/view.js +182 -0
  623. package/bridge-runtime/node_modules/express/package.json +102 -0
  624. package/bridge-runtime/node_modules/finalhandler/HISTORY.md +216 -0
  625. package/bridge-runtime/node_modules/finalhandler/LICENSE +22 -0
  626. package/bridge-runtime/node_modules/finalhandler/README.md +147 -0
  627. package/bridge-runtime/node_modules/finalhandler/SECURITY.md +25 -0
  628. package/bridge-runtime/node_modules/finalhandler/index.js +341 -0
  629. package/bridge-runtime/node_modules/finalhandler/package.json +47 -0
  630. package/bridge-runtime/node_modules/forwarded/HISTORY.md +21 -0
  631. package/bridge-runtime/node_modules/forwarded/LICENSE +22 -0
  632. package/bridge-runtime/node_modules/forwarded/README.md +57 -0
  633. package/bridge-runtime/node_modules/forwarded/index.js +90 -0
  634. package/bridge-runtime/node_modules/forwarded/package.json +45 -0
  635. package/bridge-runtime/node_modules/fresh/HISTORY.md +70 -0
  636. package/bridge-runtime/node_modules/fresh/LICENSE +23 -0
  637. package/bridge-runtime/node_modules/fresh/README.md +119 -0
  638. package/bridge-runtime/node_modules/fresh/index.js +137 -0
  639. package/bridge-runtime/node_modules/fresh/package.json +46 -0
  640. package/bridge-runtime/node_modules/function-bind/.eslintrc +21 -0
  641. package/bridge-runtime/node_modules/function-bind/.github/FUNDING.yml +12 -0
  642. package/bridge-runtime/node_modules/function-bind/.github/SECURITY.md +3 -0
  643. package/bridge-runtime/node_modules/function-bind/.nycrc +13 -0
  644. package/bridge-runtime/node_modules/function-bind/CHANGELOG.md +136 -0
  645. package/bridge-runtime/node_modules/function-bind/LICENSE +20 -0
  646. package/bridge-runtime/node_modules/function-bind/README.md +46 -0
  647. package/bridge-runtime/node_modules/function-bind/implementation.js +84 -0
  648. package/bridge-runtime/node_modules/function-bind/index.js +5 -0
  649. package/bridge-runtime/node_modules/function-bind/package.json +87 -0
  650. package/bridge-runtime/node_modules/function-bind/test/.eslintrc +9 -0
  651. package/bridge-runtime/node_modules/function-bind/test/index.js +252 -0
  652. package/bridge-runtime/node_modules/get-intrinsic/.eslintrc +42 -0
  653. package/bridge-runtime/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
  654. package/bridge-runtime/node_modules/get-intrinsic/.nycrc +9 -0
  655. package/bridge-runtime/node_modules/get-intrinsic/CHANGELOG.md +186 -0
  656. package/bridge-runtime/node_modules/get-intrinsic/LICENSE +21 -0
  657. package/bridge-runtime/node_modules/get-intrinsic/README.md +71 -0
  658. package/bridge-runtime/node_modules/get-intrinsic/index.js +378 -0
  659. package/bridge-runtime/node_modules/get-intrinsic/package.json +97 -0
  660. package/bridge-runtime/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
  661. package/bridge-runtime/node_modules/get-proto/.eslintrc +10 -0
  662. package/bridge-runtime/node_modules/get-proto/.github/FUNDING.yml +12 -0
  663. package/bridge-runtime/node_modules/get-proto/.nycrc +9 -0
  664. package/bridge-runtime/node_modules/get-proto/CHANGELOG.md +21 -0
  665. package/bridge-runtime/node_modules/get-proto/LICENSE +21 -0
  666. package/bridge-runtime/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
  667. package/bridge-runtime/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  668. package/bridge-runtime/node_modules/get-proto/README.md +50 -0
  669. package/bridge-runtime/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
  670. package/bridge-runtime/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  671. package/bridge-runtime/node_modules/get-proto/index.d.ts +5 -0
  672. package/bridge-runtime/node_modules/get-proto/index.js +27 -0
  673. package/bridge-runtime/node_modules/get-proto/package.json +81 -0
  674. package/bridge-runtime/node_modules/get-proto/test/index.js +68 -0
  675. package/bridge-runtime/node_modules/get-proto/tsconfig.json +9 -0
  676. package/bridge-runtime/node_modules/gopd/.eslintrc +16 -0
  677. package/bridge-runtime/node_modules/gopd/.github/FUNDING.yml +12 -0
  678. package/bridge-runtime/node_modules/gopd/CHANGELOG.md +45 -0
  679. package/bridge-runtime/node_modules/gopd/LICENSE +21 -0
  680. package/bridge-runtime/node_modules/gopd/README.md +40 -0
  681. package/bridge-runtime/node_modules/gopd/gOPD.d.ts +1 -0
  682. package/bridge-runtime/node_modules/gopd/gOPD.js +4 -0
  683. package/bridge-runtime/node_modules/gopd/index.d.ts +5 -0
  684. package/bridge-runtime/node_modules/gopd/index.js +15 -0
  685. package/bridge-runtime/node_modules/gopd/package.json +77 -0
  686. package/bridge-runtime/node_modules/gopd/test/index.js +36 -0
  687. package/bridge-runtime/node_modules/gopd/tsconfig.json +9 -0
  688. package/bridge-runtime/node_modules/has-symbols/.eslintrc +11 -0
  689. package/bridge-runtime/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  690. package/bridge-runtime/node_modules/has-symbols/.nycrc +9 -0
  691. package/bridge-runtime/node_modules/has-symbols/CHANGELOG.md +91 -0
  692. package/bridge-runtime/node_modules/has-symbols/LICENSE +21 -0
  693. package/bridge-runtime/node_modules/has-symbols/README.md +46 -0
  694. package/bridge-runtime/node_modules/has-symbols/index.d.ts +3 -0
  695. package/bridge-runtime/node_modules/has-symbols/index.js +14 -0
  696. package/bridge-runtime/node_modules/has-symbols/package.json +111 -0
  697. package/bridge-runtime/node_modules/has-symbols/shams.d.ts +3 -0
  698. package/bridge-runtime/node_modules/has-symbols/shams.js +45 -0
  699. package/bridge-runtime/node_modules/has-symbols/test/index.js +22 -0
  700. package/bridge-runtime/node_modules/has-symbols/test/shams/core-js.js +29 -0
  701. package/bridge-runtime/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
  702. package/bridge-runtime/node_modules/has-symbols/test/tests.js +58 -0
  703. package/bridge-runtime/node_modules/has-symbols/tsconfig.json +10 -0
  704. package/bridge-runtime/node_modules/hasown/.github/FUNDING.yml +12 -0
  705. package/bridge-runtime/node_modules/hasown/.nycrc +13 -0
  706. package/bridge-runtime/node_modules/hasown/CHANGELOG.md +51 -0
  707. package/bridge-runtime/node_modules/hasown/LICENSE +21 -0
  708. package/bridge-runtime/node_modules/hasown/README.md +40 -0
  709. package/bridge-runtime/node_modules/hasown/eslint.config.mjs +6 -0
  710. package/bridge-runtime/node_modules/hasown/index.d.ts +4 -0
  711. package/bridge-runtime/node_modules/hasown/index.js +8 -0
  712. package/bridge-runtime/node_modules/hasown/package.json +92 -0
  713. package/bridge-runtime/node_modules/hasown/tsconfig.json +6 -0
  714. package/bridge-runtime/node_modules/http-errors/HISTORY.md +186 -0
  715. package/bridge-runtime/node_modules/http-errors/LICENSE +23 -0
  716. package/bridge-runtime/node_modules/http-errors/README.md +169 -0
  717. package/bridge-runtime/node_modules/http-errors/index.js +290 -0
  718. package/bridge-runtime/node_modules/http-errors/package.json +54 -0
  719. package/bridge-runtime/node_modules/iconv-lite/Changelog.md +162 -0
  720. package/bridge-runtime/node_modules/iconv-lite/LICENSE +21 -0
  721. package/bridge-runtime/node_modules/iconv-lite/README.md +156 -0
  722. package/bridge-runtime/node_modules/iconv-lite/encodings/dbcs-codec.js +555 -0
  723. package/bridge-runtime/node_modules/iconv-lite/encodings/dbcs-data.js +176 -0
  724. package/bridge-runtime/node_modules/iconv-lite/encodings/index.js +22 -0
  725. package/bridge-runtime/node_modules/iconv-lite/encodings/internal.js +188 -0
  726. package/bridge-runtime/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
  727. package/bridge-runtime/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  728. package/bridge-runtime/node_modules/iconv-lite/encodings/sbcs-data.js +174 -0
  729. package/bridge-runtime/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  730. package/bridge-runtime/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  731. package/bridge-runtime/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  732. package/bridge-runtime/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  733. package/bridge-runtime/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  734. package/bridge-runtime/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  735. package/bridge-runtime/node_modules/iconv-lite/encodings/tables/gbk-added.json +55 -0
  736. package/bridge-runtime/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  737. package/bridge-runtime/node_modules/iconv-lite/encodings/utf16.js +177 -0
  738. package/bridge-runtime/node_modules/iconv-lite/encodings/utf7.js +290 -0
  739. package/bridge-runtime/node_modules/iconv-lite/lib/bom-handling.js +52 -0
  740. package/bridge-runtime/node_modules/iconv-lite/lib/extend-node.js +217 -0
  741. package/bridge-runtime/node_modules/iconv-lite/lib/index.d.ts +24 -0
  742. package/bridge-runtime/node_modules/iconv-lite/lib/index.js +153 -0
  743. package/bridge-runtime/node_modules/iconv-lite/lib/streams.js +121 -0
  744. package/bridge-runtime/node_modules/iconv-lite/package.json +46 -0
  745. package/bridge-runtime/node_modules/inherits/LICENSE +16 -0
  746. package/bridge-runtime/node_modules/inherits/README.md +42 -0
  747. package/bridge-runtime/node_modules/inherits/inherits.js +9 -0
  748. package/bridge-runtime/node_modules/inherits/inherits_browser.js +27 -0
  749. package/bridge-runtime/node_modules/inherits/package.json +29 -0
  750. package/bridge-runtime/node_modules/ipaddr.js/LICENSE +19 -0
  751. package/bridge-runtime/node_modules/ipaddr.js/README.md +233 -0
  752. package/bridge-runtime/node_modules/ipaddr.js/ipaddr.min.js +1 -0
  753. package/bridge-runtime/node_modules/ipaddr.js/lib/ipaddr.js +673 -0
  754. package/bridge-runtime/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +68 -0
  755. package/bridge-runtime/node_modules/ipaddr.js/package.json +35 -0
  756. package/bridge-runtime/node_modules/math-intrinsics/.eslintrc +16 -0
  757. package/bridge-runtime/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
  758. package/bridge-runtime/node_modules/math-intrinsics/CHANGELOG.md +24 -0
  759. package/bridge-runtime/node_modules/math-intrinsics/LICENSE +21 -0
  760. package/bridge-runtime/node_modules/math-intrinsics/README.md +50 -0
  761. package/bridge-runtime/node_modules/math-intrinsics/abs.d.ts +1 -0
  762. package/bridge-runtime/node_modules/math-intrinsics/abs.js +4 -0
  763. package/bridge-runtime/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
  764. package/bridge-runtime/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
  765. package/bridge-runtime/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
  766. package/bridge-runtime/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
  767. package/bridge-runtime/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
  768. package/bridge-runtime/node_modules/math-intrinsics/constants/maxValue.js +5 -0
  769. package/bridge-runtime/node_modules/math-intrinsics/floor.d.ts +1 -0
  770. package/bridge-runtime/node_modules/math-intrinsics/floor.js +4 -0
  771. package/bridge-runtime/node_modules/math-intrinsics/isFinite.d.ts +3 -0
  772. package/bridge-runtime/node_modules/math-intrinsics/isFinite.js +12 -0
  773. package/bridge-runtime/node_modules/math-intrinsics/isInteger.d.ts +3 -0
  774. package/bridge-runtime/node_modules/math-intrinsics/isInteger.js +16 -0
  775. package/bridge-runtime/node_modules/math-intrinsics/isNaN.d.ts +1 -0
  776. package/bridge-runtime/node_modules/math-intrinsics/isNaN.js +6 -0
  777. package/bridge-runtime/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
  778. package/bridge-runtime/node_modules/math-intrinsics/isNegativeZero.js +6 -0
  779. package/bridge-runtime/node_modules/math-intrinsics/max.d.ts +1 -0
  780. package/bridge-runtime/node_modules/math-intrinsics/max.js +4 -0
  781. package/bridge-runtime/node_modules/math-intrinsics/min.d.ts +1 -0
  782. package/bridge-runtime/node_modules/math-intrinsics/min.js +4 -0
  783. package/bridge-runtime/node_modules/math-intrinsics/mod.d.ts +3 -0
  784. package/bridge-runtime/node_modules/math-intrinsics/mod.js +9 -0
  785. package/bridge-runtime/node_modules/math-intrinsics/package.json +86 -0
  786. package/bridge-runtime/node_modules/math-intrinsics/pow.d.ts +1 -0
  787. package/bridge-runtime/node_modules/math-intrinsics/pow.js +4 -0
  788. package/bridge-runtime/node_modules/math-intrinsics/round.d.ts +1 -0
  789. package/bridge-runtime/node_modules/math-intrinsics/round.js +4 -0
  790. package/bridge-runtime/node_modules/math-intrinsics/sign.d.ts +3 -0
  791. package/bridge-runtime/node_modules/math-intrinsics/sign.js +11 -0
  792. package/bridge-runtime/node_modules/math-intrinsics/test/index.js +192 -0
  793. package/bridge-runtime/node_modules/math-intrinsics/tsconfig.json +3 -0
  794. package/bridge-runtime/node_modules/media-typer/HISTORY.md +22 -0
  795. package/bridge-runtime/node_modules/media-typer/LICENSE +22 -0
  796. package/bridge-runtime/node_modules/media-typer/README.md +81 -0
  797. package/bridge-runtime/node_modules/media-typer/index.js +270 -0
  798. package/bridge-runtime/node_modules/media-typer/package.json +26 -0
  799. package/bridge-runtime/node_modules/merge-descriptors/HISTORY.md +21 -0
  800. package/bridge-runtime/node_modules/merge-descriptors/LICENSE +23 -0
  801. package/bridge-runtime/node_modules/merge-descriptors/README.md +49 -0
  802. package/bridge-runtime/node_modules/merge-descriptors/index.js +60 -0
  803. package/bridge-runtime/node_modules/merge-descriptors/package.json +39 -0
  804. package/bridge-runtime/node_modules/methods/HISTORY.md +29 -0
  805. package/bridge-runtime/node_modules/methods/LICENSE +24 -0
  806. package/bridge-runtime/node_modules/methods/README.md +51 -0
  807. package/bridge-runtime/node_modules/methods/index.js +69 -0
  808. package/bridge-runtime/node_modules/methods/package.json +36 -0
  809. package/bridge-runtime/node_modules/mime/CHANGELOG.md +164 -0
  810. package/bridge-runtime/node_modules/mime/LICENSE +21 -0
  811. package/bridge-runtime/node_modules/mime/README.md +90 -0
  812. package/bridge-runtime/node_modules/mime/cli.js +8 -0
  813. package/bridge-runtime/node_modules/mime/mime.js +108 -0
  814. package/bridge-runtime/node_modules/mime/package.json +44 -0
  815. package/bridge-runtime/node_modules/mime/src/build.js +53 -0
  816. package/bridge-runtime/node_modules/mime/src/test.js +60 -0
  817. package/bridge-runtime/node_modules/mime/types.json +1 -0
  818. package/bridge-runtime/node_modules/mime-db/HISTORY.md +507 -0
  819. package/bridge-runtime/node_modules/mime-db/LICENSE +23 -0
  820. package/bridge-runtime/node_modules/mime-db/README.md +100 -0
  821. package/bridge-runtime/node_modules/mime-db/db.json +8519 -0
  822. package/bridge-runtime/node_modules/mime-db/index.js +12 -0
  823. package/bridge-runtime/node_modules/mime-db/package.json +60 -0
  824. package/bridge-runtime/node_modules/mime-types/HISTORY.md +397 -0
  825. package/bridge-runtime/node_modules/mime-types/LICENSE +23 -0
  826. package/bridge-runtime/node_modules/mime-types/README.md +113 -0
  827. package/bridge-runtime/node_modules/mime-types/index.js +188 -0
  828. package/bridge-runtime/node_modules/mime-types/package.json +44 -0
  829. package/bridge-runtime/node_modules/ms/index.js +152 -0
  830. package/bridge-runtime/node_modules/ms/license.md +21 -0
  831. package/bridge-runtime/node_modules/ms/package.json +37 -0
  832. package/bridge-runtime/node_modules/ms/readme.md +51 -0
  833. package/bridge-runtime/node_modules/negotiator/HISTORY.md +108 -0
  834. package/bridge-runtime/node_modules/negotiator/LICENSE +24 -0
  835. package/bridge-runtime/node_modules/negotiator/README.md +203 -0
  836. package/bridge-runtime/node_modules/negotiator/index.js +82 -0
  837. package/bridge-runtime/node_modules/negotiator/lib/charset.js +169 -0
  838. package/bridge-runtime/node_modules/negotiator/lib/encoding.js +184 -0
  839. package/bridge-runtime/node_modules/negotiator/lib/language.js +179 -0
  840. package/bridge-runtime/node_modules/negotiator/lib/mediaType.js +294 -0
  841. package/bridge-runtime/node_modules/negotiator/package.json +42 -0
  842. package/bridge-runtime/node_modules/object-assign/index.js +90 -0
  843. package/bridge-runtime/node_modules/object-assign/license +21 -0
  844. package/bridge-runtime/node_modules/object-assign/package.json +42 -0
  845. package/bridge-runtime/node_modules/object-assign/readme.md +61 -0
  846. package/bridge-runtime/node_modules/object-inspect/.eslintrc +53 -0
  847. package/bridge-runtime/node_modules/object-inspect/.github/FUNDING.yml +12 -0
  848. package/bridge-runtime/node_modules/object-inspect/.nycrc +13 -0
  849. package/bridge-runtime/node_modules/object-inspect/CHANGELOG.md +424 -0
  850. package/bridge-runtime/node_modules/object-inspect/LICENSE +21 -0
  851. package/bridge-runtime/node_modules/object-inspect/example/all.js +23 -0
  852. package/bridge-runtime/node_modules/object-inspect/example/circular.js +6 -0
  853. package/bridge-runtime/node_modules/object-inspect/example/fn.js +5 -0
  854. package/bridge-runtime/node_modules/object-inspect/example/inspect.js +10 -0
  855. package/bridge-runtime/node_modules/object-inspect/index.js +544 -0
  856. package/bridge-runtime/node_modules/object-inspect/package-support.json +20 -0
  857. package/bridge-runtime/node_modules/object-inspect/package.json +105 -0
  858. package/bridge-runtime/node_modules/object-inspect/readme.markdown +84 -0
  859. package/bridge-runtime/node_modules/object-inspect/test/bigint.js +58 -0
  860. package/bridge-runtime/node_modules/object-inspect/test/browser/dom.js +15 -0
  861. package/bridge-runtime/node_modules/object-inspect/test/circular.js +16 -0
  862. package/bridge-runtime/node_modules/object-inspect/test/deep.js +12 -0
  863. package/bridge-runtime/node_modules/object-inspect/test/element.js +53 -0
  864. package/bridge-runtime/node_modules/object-inspect/test/err.js +48 -0
  865. package/bridge-runtime/node_modules/object-inspect/test/fakes.js +29 -0
  866. package/bridge-runtime/node_modules/object-inspect/test/fn.js +76 -0
  867. package/bridge-runtime/node_modules/object-inspect/test/global.js +17 -0
  868. package/bridge-runtime/node_modules/object-inspect/test/has.js +15 -0
  869. package/bridge-runtime/node_modules/object-inspect/test/holes.js +15 -0
  870. package/bridge-runtime/node_modules/object-inspect/test/indent-option.js +271 -0
  871. package/bridge-runtime/node_modules/object-inspect/test/inspect.js +139 -0
  872. package/bridge-runtime/node_modules/object-inspect/test/lowbyte.js +12 -0
  873. package/bridge-runtime/node_modules/object-inspect/test/number.js +58 -0
  874. package/bridge-runtime/node_modules/object-inspect/test/quoteStyle.js +26 -0
  875. package/bridge-runtime/node_modules/object-inspect/test/toStringTag.js +40 -0
  876. package/bridge-runtime/node_modules/object-inspect/test/undef.js +12 -0
  877. package/bridge-runtime/node_modules/object-inspect/test/values.js +261 -0
  878. package/bridge-runtime/node_modules/object-inspect/test-core-js.js +26 -0
  879. package/bridge-runtime/node_modules/object-inspect/util.inspect.js +1 -0
  880. package/bridge-runtime/node_modules/on-finished/HISTORY.md +98 -0
  881. package/bridge-runtime/node_modules/on-finished/LICENSE +23 -0
  882. package/bridge-runtime/node_modules/on-finished/README.md +162 -0
  883. package/bridge-runtime/node_modules/on-finished/index.js +234 -0
  884. package/bridge-runtime/node_modules/on-finished/package.json +39 -0
  885. package/bridge-runtime/node_modules/parseurl/HISTORY.md +58 -0
  886. package/bridge-runtime/node_modules/parseurl/LICENSE +24 -0
  887. package/bridge-runtime/node_modules/parseurl/README.md +133 -0
  888. package/bridge-runtime/node_modules/parseurl/index.js +158 -0
  889. package/bridge-runtime/node_modules/parseurl/package.json +40 -0
  890. package/bridge-runtime/node_modules/path-to-regexp/LICENSE +21 -0
  891. package/bridge-runtime/node_modules/path-to-regexp/Readme.md +35 -0
  892. package/bridge-runtime/node_modules/path-to-regexp/index.js +158 -0
  893. package/bridge-runtime/node_modules/path-to-regexp/package.json +30 -0
  894. package/bridge-runtime/node_modules/proxy-addr/HISTORY.md +161 -0
  895. package/bridge-runtime/node_modules/proxy-addr/LICENSE +22 -0
  896. package/bridge-runtime/node_modules/proxy-addr/README.md +139 -0
  897. package/bridge-runtime/node_modules/proxy-addr/index.js +327 -0
  898. package/bridge-runtime/node_modules/proxy-addr/package.json +47 -0
  899. package/bridge-runtime/node_modules/qs/.editorconfig +46 -0
  900. package/bridge-runtime/node_modules/qs/.github/FUNDING.yml +12 -0
  901. package/bridge-runtime/node_modules/qs/.github/SECURITY.md +11 -0
  902. package/bridge-runtime/node_modules/qs/.github/THREAT_MODEL.md +78 -0
  903. package/bridge-runtime/node_modules/qs/.nycrc +13 -0
  904. package/bridge-runtime/node_modules/qs/CHANGELOG.md +822 -0
  905. package/bridge-runtime/node_modules/qs/LICENSE.md +29 -0
  906. package/bridge-runtime/node_modules/qs/README.md +758 -0
  907. package/bridge-runtime/node_modules/qs/dist/qs.js +141 -0
  908. package/bridge-runtime/node_modules/qs/eslint.config.mjs +57 -0
  909. package/bridge-runtime/node_modules/qs/lib/formats.js +23 -0
  910. package/bridge-runtime/node_modules/qs/lib/index.js +11 -0
  911. package/bridge-runtime/node_modules/qs/lib/parse.js +403 -0
  912. package/bridge-runtime/node_modules/qs/lib/stringify.js +363 -0
  913. package/bridge-runtime/node_modules/qs/lib/utils.js +342 -0
  914. package/bridge-runtime/node_modules/qs/package.json +94 -0
  915. package/bridge-runtime/node_modules/qs/test/empty-keys-cases.js +267 -0
  916. package/bridge-runtime/node_modules/qs/test/parse.js +1703 -0
  917. package/bridge-runtime/node_modules/qs/test/stringify.js +1448 -0
  918. package/bridge-runtime/node_modules/qs/test/utils.js +432 -0
  919. package/bridge-runtime/node_modules/range-parser/HISTORY.md +56 -0
  920. package/bridge-runtime/node_modules/range-parser/LICENSE +23 -0
  921. package/bridge-runtime/node_modules/range-parser/README.md +84 -0
  922. package/bridge-runtime/node_modules/range-parser/index.js +162 -0
  923. package/bridge-runtime/node_modules/range-parser/package.json +44 -0
  924. package/bridge-runtime/node_modules/raw-body/LICENSE +22 -0
  925. package/bridge-runtime/node_modules/raw-body/README.md +223 -0
  926. package/bridge-runtime/node_modules/raw-body/index.d.ts +87 -0
  927. package/bridge-runtime/node_modules/raw-body/index.js +336 -0
  928. package/bridge-runtime/node_modules/raw-body/package.json +47 -0
  929. package/bridge-runtime/node_modules/readdirp/LICENSE +21 -0
  930. package/bridge-runtime/node_modules/readdirp/README.md +120 -0
  931. package/bridge-runtime/node_modules/readdirp/esm/index.d.ts +108 -0
  932. package/bridge-runtime/node_modules/readdirp/esm/index.js +257 -0
  933. package/bridge-runtime/node_modules/readdirp/esm/package.json +1 -0
  934. package/bridge-runtime/node_modules/readdirp/index.d.ts +108 -0
  935. package/bridge-runtime/node_modules/readdirp/index.js +263 -0
  936. package/bridge-runtime/node_modules/readdirp/package.json +70 -0
  937. package/bridge-runtime/node_modules/safe-buffer/LICENSE +21 -0
  938. package/bridge-runtime/node_modules/safe-buffer/README.md +584 -0
  939. package/bridge-runtime/node_modules/safe-buffer/index.d.ts +187 -0
  940. package/bridge-runtime/node_modules/safe-buffer/index.js +65 -0
  941. package/bridge-runtime/node_modules/safe-buffer/package.json +51 -0
  942. package/bridge-runtime/node_modules/safer-buffer/LICENSE +21 -0
  943. package/bridge-runtime/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  944. package/bridge-runtime/node_modules/safer-buffer/Readme.md +156 -0
  945. package/bridge-runtime/node_modules/safer-buffer/dangerous.js +58 -0
  946. package/bridge-runtime/node_modules/safer-buffer/package.json +34 -0
  947. package/bridge-runtime/node_modules/safer-buffer/safer.js +77 -0
  948. package/bridge-runtime/node_modules/safer-buffer/tests.js +406 -0
  949. package/bridge-runtime/node_modules/send/HISTORY.md +538 -0
  950. package/bridge-runtime/node_modules/send/LICENSE +23 -0
  951. package/bridge-runtime/node_modules/send/README.md +327 -0
  952. package/bridge-runtime/node_modules/send/SECURITY.md +24 -0
  953. package/bridge-runtime/node_modules/send/index.js +1142 -0
  954. package/bridge-runtime/node_modules/send/node_modules/ms/index.js +162 -0
  955. package/bridge-runtime/node_modules/send/node_modules/ms/license.md +21 -0
  956. package/bridge-runtime/node_modules/send/node_modules/ms/package.json +38 -0
  957. package/bridge-runtime/node_modules/send/node_modules/ms/readme.md +59 -0
  958. package/bridge-runtime/node_modules/send/package.json +62 -0
  959. package/bridge-runtime/node_modules/serve-static/HISTORY.md +493 -0
  960. package/bridge-runtime/node_modules/serve-static/LICENSE +25 -0
  961. package/bridge-runtime/node_modules/serve-static/README.md +257 -0
  962. package/bridge-runtime/node_modules/serve-static/index.js +209 -0
  963. package/bridge-runtime/node_modules/serve-static/package.json +42 -0
  964. package/bridge-runtime/node_modules/setprototypeof/LICENSE +13 -0
  965. package/bridge-runtime/node_modules/setprototypeof/README.md +31 -0
  966. package/bridge-runtime/node_modules/setprototypeof/index.d.ts +2 -0
  967. package/bridge-runtime/node_modules/setprototypeof/index.js +17 -0
  968. package/bridge-runtime/node_modules/setprototypeof/package.json +38 -0
  969. package/bridge-runtime/node_modules/setprototypeof/test/index.js +24 -0
  970. package/bridge-runtime/node_modules/side-channel/.editorconfig +9 -0
  971. package/bridge-runtime/node_modules/side-channel/.eslintrc +12 -0
  972. package/bridge-runtime/node_modules/side-channel/.github/FUNDING.yml +12 -0
  973. package/bridge-runtime/node_modules/side-channel/.nycrc +13 -0
  974. package/bridge-runtime/node_modules/side-channel/CHANGELOG.md +110 -0
  975. package/bridge-runtime/node_modules/side-channel/LICENSE +21 -0
  976. package/bridge-runtime/node_modules/side-channel/README.md +61 -0
  977. package/bridge-runtime/node_modules/side-channel/index.d.ts +14 -0
  978. package/bridge-runtime/node_modules/side-channel/index.js +43 -0
  979. package/bridge-runtime/node_modules/side-channel/package.json +85 -0
  980. package/bridge-runtime/node_modules/side-channel/test/index.js +104 -0
  981. package/bridge-runtime/node_modules/side-channel/tsconfig.json +9 -0
  982. package/bridge-runtime/node_modules/side-channel-list/.editorconfig +9 -0
  983. package/bridge-runtime/node_modules/side-channel-list/.eslintrc +11 -0
  984. package/bridge-runtime/node_modules/side-channel-list/.github/FUNDING.yml +12 -0
  985. package/bridge-runtime/node_modules/side-channel-list/.nycrc +13 -0
  986. package/bridge-runtime/node_modules/side-channel-list/CHANGELOG.md +36 -0
  987. package/bridge-runtime/node_modules/side-channel-list/LICENSE +21 -0
  988. package/bridge-runtime/node_modules/side-channel-list/README.md +62 -0
  989. package/bridge-runtime/node_modules/side-channel-list/index.d.ts +13 -0
  990. package/bridge-runtime/node_modules/side-channel-list/index.js +111 -0
  991. package/bridge-runtime/node_modules/side-channel-list/list.d.ts +14 -0
  992. package/bridge-runtime/node_modules/side-channel-list/package.json +77 -0
  993. package/bridge-runtime/node_modules/side-channel-list/test/index.js +154 -0
  994. package/bridge-runtime/node_modules/side-channel-list/tsconfig.json +9 -0
  995. package/bridge-runtime/node_modules/side-channel-map/.editorconfig +9 -0
  996. package/bridge-runtime/node_modules/side-channel-map/.eslintrc +11 -0
  997. package/bridge-runtime/node_modules/side-channel-map/.github/FUNDING.yml +12 -0
  998. package/bridge-runtime/node_modules/side-channel-map/.nycrc +13 -0
  999. package/bridge-runtime/node_modules/side-channel-map/CHANGELOG.md +22 -0
  1000. package/bridge-runtime/node_modules/side-channel-map/LICENSE +21 -0
  1001. package/bridge-runtime/node_modules/side-channel-map/README.md +62 -0
  1002. package/bridge-runtime/node_modules/side-channel-map/index.d.ts +15 -0
  1003. package/bridge-runtime/node_modules/side-channel-map/index.js +68 -0
  1004. package/bridge-runtime/node_modules/side-channel-map/package.json +80 -0
  1005. package/bridge-runtime/node_modules/side-channel-map/test/index.js +114 -0
  1006. package/bridge-runtime/node_modules/side-channel-map/tsconfig.json +9 -0
  1007. package/bridge-runtime/node_modules/side-channel-weakmap/.editorconfig +9 -0
  1008. package/bridge-runtime/node_modules/side-channel-weakmap/.eslintrc +12 -0
  1009. package/bridge-runtime/node_modules/side-channel-weakmap/.github/FUNDING.yml +12 -0
  1010. package/bridge-runtime/node_modules/side-channel-weakmap/.nycrc +13 -0
  1011. package/bridge-runtime/node_modules/side-channel-weakmap/CHANGELOG.md +28 -0
  1012. package/bridge-runtime/node_modules/side-channel-weakmap/LICENSE +21 -0
  1013. package/bridge-runtime/node_modules/side-channel-weakmap/README.md +62 -0
  1014. package/bridge-runtime/node_modules/side-channel-weakmap/index.d.ts +15 -0
  1015. package/bridge-runtime/node_modules/side-channel-weakmap/index.js +84 -0
  1016. package/bridge-runtime/node_modules/side-channel-weakmap/package.json +87 -0
  1017. package/bridge-runtime/node_modules/side-channel-weakmap/test/index.js +114 -0
  1018. package/bridge-runtime/node_modules/side-channel-weakmap/tsconfig.json +9 -0
  1019. package/bridge-runtime/node_modules/socket.io/LICENSE +22 -0
  1020. package/bridge-runtime/node_modules/socket.io/Readme.md +273 -0
  1021. package/bridge-runtime/node_modules/socket.io/client-dist/socket.io.esm.min.js +7 -0
  1022. package/bridge-runtime/node_modules/socket.io/client-dist/socket.io.esm.min.js.map +1 -0
  1023. package/bridge-runtime/node_modules/socket.io/client-dist/socket.io.js +4955 -0
  1024. package/bridge-runtime/node_modules/socket.io/client-dist/socket.io.js.map +1 -0
  1025. package/bridge-runtime/node_modules/socket.io/client-dist/socket.io.min.js +7 -0
  1026. package/bridge-runtime/node_modules/socket.io/client-dist/socket.io.min.js.map +1 -0
  1027. package/bridge-runtime/node_modules/socket.io/client-dist/socket.io.msgpack.min.js +7 -0
  1028. package/bridge-runtime/node_modules/socket.io/client-dist/socket.io.msgpack.min.js.map +1 -0
  1029. package/bridge-runtime/node_modules/socket.io/dist/broadcast-operator.d.ts +283 -0
  1030. package/bridge-runtime/node_modules/socket.io/dist/broadcast-operator.js +436 -0
  1031. package/bridge-runtime/node_modules/socket.io/dist/client.d.ts +120 -0
  1032. package/bridge-runtime/node_modules/socket.io/dist/client.js +274 -0
  1033. package/bridge-runtime/node_modules/socket.io/dist/index.d.ts +598 -0
  1034. package/bridge-runtime/node_modules/socket.io/dist/index.js +818 -0
  1035. package/bridge-runtime/node_modules/socket.io/dist/namespace.d.ts +432 -0
  1036. package/bridge-runtime/node_modules/socket.io/dist/namespace.js +584 -0
  1037. package/bridge-runtime/node_modules/socket.io/dist/parent-namespace.d.ts +30 -0
  1038. package/bridge-runtime/node_modules/socket.io/dist/parent-namespace.js +88 -0
  1039. package/bridge-runtime/node_modules/socket.io/dist/socket-types.d.ts +56 -0
  1040. package/bridge-runtime/node_modules/socket.io/dist/socket-types.js +11 -0
  1041. package/bridge-runtime/node_modules/socket.io/dist/socket.d.ts +613 -0
  1042. package/bridge-runtime/node_modules/socket.io/dist/socket.js +977 -0
  1043. package/bridge-runtime/node_modules/socket.io/dist/typed-events.d.ts +203 -0
  1044. package/bridge-runtime/node_modules/socket.io/dist/typed-events.js +81 -0
  1045. package/bridge-runtime/node_modules/socket.io/dist/uws.d.ts +3 -0
  1046. package/bridge-runtime/node_modules/socket.io/dist/uws.js +136 -0
  1047. package/bridge-runtime/node_modules/socket.io/node_modules/debug/LICENSE +20 -0
  1048. package/bridge-runtime/node_modules/socket.io/node_modules/debug/README.md +481 -0
  1049. package/bridge-runtime/node_modules/socket.io/node_modules/debug/package.json +64 -0
  1050. package/bridge-runtime/node_modules/socket.io/node_modules/debug/src/browser.js +272 -0
  1051. package/bridge-runtime/node_modules/socket.io/node_modules/debug/src/common.js +292 -0
  1052. package/bridge-runtime/node_modules/socket.io/node_modules/debug/src/index.js +10 -0
  1053. package/bridge-runtime/node_modules/socket.io/node_modules/debug/src/node.js +263 -0
  1054. package/bridge-runtime/node_modules/socket.io/node_modules/ms/index.js +162 -0
  1055. package/bridge-runtime/node_modules/socket.io/node_modules/ms/license.md +21 -0
  1056. package/bridge-runtime/node_modules/socket.io/node_modules/ms/package.json +38 -0
  1057. package/bridge-runtime/node_modules/socket.io/node_modules/ms/readme.md +59 -0
  1058. package/bridge-runtime/node_modules/socket.io/package.json +88 -0
  1059. package/bridge-runtime/node_modules/socket.io/wrapper.mjs +3 -0
  1060. package/bridge-runtime/node_modules/socket.io-adapter/LICENSE +20 -0
  1061. package/bridge-runtime/node_modules/socket.io-adapter/Readme.md +23 -0
  1062. package/bridge-runtime/node_modules/socket.io-adapter/dist/cluster-adapter.d.ts +201 -0
  1063. package/bridge-runtime/node_modules/socket.io-adapter/dist/cluster-adapter.js +678 -0
  1064. package/bridge-runtime/node_modules/socket.io-adapter/dist/contrib/yeast.d.ts +23 -0
  1065. package/bridge-runtime/node_modules/socket.io-adapter/dist/contrib/yeast.js +54 -0
  1066. package/bridge-runtime/node_modules/socket.io-adapter/dist/in-memory-adapter.d.ts +178 -0
  1067. package/bridge-runtime/node_modules/socket.io-adapter/dist/in-memory-adapter.js +396 -0
  1068. package/bridge-runtime/node_modules/socket.io-adapter/dist/index.d.ts +2 -0
  1069. package/bridge-runtime/node_modules/socket.io-adapter/dist/index.js +10 -0
  1070. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/debug/LICENSE +20 -0
  1071. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/debug/README.md +481 -0
  1072. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/debug/package.json +64 -0
  1073. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/debug/src/browser.js +272 -0
  1074. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/debug/src/common.js +292 -0
  1075. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/debug/src/index.js +10 -0
  1076. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/debug/src/node.js +263 -0
  1077. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ms/index.js +162 -0
  1078. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ms/license.md +21 -0
  1079. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ms/package.json +38 -0
  1080. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ms/readme.md +59 -0
  1081. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ws/LICENSE +20 -0
  1082. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ws/README.md +548 -0
  1083. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ws/browser.js +8 -0
  1084. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ws/index.js +22 -0
  1085. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ws/lib/buffer-util.js +131 -0
  1086. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ws/lib/constants.js +19 -0
  1087. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ws/lib/event-target.js +292 -0
  1088. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ws/lib/extension.js +203 -0
  1089. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ws/lib/limiter.js +55 -0
  1090. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ws/lib/permessage-deflate.js +528 -0
  1091. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ws/lib/receiver.js +706 -0
  1092. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ws/lib/sender.js +607 -0
  1093. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ws/lib/stream.js +161 -0
  1094. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ws/lib/subprotocol.js +62 -0
  1095. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ws/lib/validation.js +152 -0
  1096. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ws/lib/websocket-server.js +554 -0
  1097. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ws/lib/websocket.js +1393 -0
  1098. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ws/package.json +70 -0
  1099. package/bridge-runtime/node_modules/socket.io-adapter/node_modules/ws/wrapper.mjs +21 -0
  1100. package/bridge-runtime/node_modules/socket.io-adapter/package.json +30 -0
  1101. package/bridge-runtime/node_modules/socket.io-client/LICENSE +21 -0
  1102. package/bridge-runtime/node_modules/socket.io-client/README.md +29 -0
  1103. package/bridge-runtime/node_modules/socket.io-client/build/cjs/browser-entrypoint.d.ts +2 -0
  1104. package/bridge-runtime/node_modules/socket.io-client/build/cjs/browser-entrypoint.js +4 -0
  1105. package/bridge-runtime/node_modules/socket.io-client/build/cjs/contrib/backo2.d.ts +12 -0
  1106. package/bridge-runtime/node_modules/socket.io-client/build/cjs/contrib/backo2.js +69 -0
  1107. package/bridge-runtime/node_modules/socket.io-client/build/cjs/index.d.ts +29 -0
  1108. package/bridge-runtime/node_modules/socket.io-client/build/cjs/index.js +76 -0
  1109. package/bridge-runtime/node_modules/socket.io-client/build/cjs/manager.d.ts +295 -0
  1110. package/bridge-runtime/node_modules/socket.io-client/build/cjs/manager.js +416 -0
  1111. package/bridge-runtime/node_modules/socket.io-client/build/cjs/on.d.ts +2 -0
  1112. package/bridge-runtime/node_modules/socket.io-client/build/cjs/on.js +9 -0
  1113. package/bridge-runtime/node_modules/socket.io-client/build/cjs/socket.d.ts +593 -0
  1114. package/bridge-runtime/node_modules/socket.io-client/build/cjs/socket.js +909 -0
  1115. package/bridge-runtime/node_modules/socket.io-client/build/cjs/url.d.ts +33 -0
  1116. package/bridge-runtime/node_modules/socket.io-client/build/cjs/url.js +69 -0
  1117. package/bridge-runtime/node_modules/socket.io-client/build/esm/browser-entrypoint.d.ts +2 -0
  1118. package/bridge-runtime/node_modules/socket.io-client/build/esm/browser-entrypoint.js +2 -0
  1119. package/bridge-runtime/node_modules/socket.io-client/build/esm/contrib/backo2.d.ts +12 -0
  1120. package/bridge-runtime/node_modules/socket.io-client/build/esm/contrib/backo2.js +66 -0
  1121. package/bridge-runtime/node_modules/socket.io-client/build/esm/index.d.ts +29 -0
  1122. package/bridge-runtime/node_modules/socket.io-client/build/esm/index.js +58 -0
  1123. package/bridge-runtime/node_modules/socket.io-client/build/esm/manager.d.ts +295 -0
  1124. package/bridge-runtime/node_modules/socket.io-client/build/esm/manager.js +367 -0
  1125. package/bridge-runtime/node_modules/socket.io-client/build/esm/on.d.ts +2 -0
  1126. package/bridge-runtime/node_modules/socket.io-client/build/esm/on.js +6 -0
  1127. package/bridge-runtime/node_modules/socket.io-client/build/esm/package.json +5 -0
  1128. package/bridge-runtime/node_modules/socket.io-client/build/esm/socket.d.ts +593 -0
  1129. package/bridge-runtime/node_modules/socket.io-client/build/esm/socket.js +880 -0
  1130. package/bridge-runtime/node_modules/socket.io-client/build/esm/url.d.ts +33 -0
  1131. package/bridge-runtime/node_modules/socket.io-client/build/esm/url.js +59 -0
  1132. package/bridge-runtime/node_modules/socket.io-client/build/esm-debug/browser-entrypoint.d.ts +2 -0
  1133. package/bridge-runtime/node_modules/socket.io-client/build/esm-debug/browser-entrypoint.js +2 -0
  1134. package/bridge-runtime/node_modules/socket.io-client/build/esm-debug/contrib/backo2.d.ts +12 -0
  1135. package/bridge-runtime/node_modules/socket.io-client/build/esm-debug/contrib/backo2.js +66 -0
  1136. package/bridge-runtime/node_modules/socket.io-client/build/esm-debug/index.d.ts +29 -0
  1137. package/bridge-runtime/node_modules/socket.io-client/build/esm-debug/index.js +62 -0
  1138. package/bridge-runtime/node_modules/socket.io-client/build/esm-debug/manager.d.ts +295 -0
  1139. package/bridge-runtime/node_modules/socket.io-client/build/esm-debug/manager.js +386 -0
  1140. package/bridge-runtime/node_modules/socket.io-client/build/esm-debug/on.d.ts +2 -0
  1141. package/bridge-runtime/node_modules/socket.io-client/build/esm-debug/on.js +6 -0
  1142. package/bridge-runtime/node_modules/socket.io-client/build/esm-debug/package.json +5 -0
  1143. package/bridge-runtime/node_modules/socket.io-client/build/esm-debug/socket.d.ts +593 -0
  1144. package/bridge-runtime/node_modules/socket.io-client/build/esm-debug/socket.js +902 -0
  1145. package/bridge-runtime/node_modules/socket.io-client/build/esm-debug/url.d.ts +33 -0
  1146. package/bridge-runtime/node_modules/socket.io-client/build/esm-debug/url.js +63 -0
  1147. package/bridge-runtime/node_modules/socket.io-client/dist/socket.io.esm.min.js +7 -0
  1148. package/bridge-runtime/node_modules/socket.io-client/dist/socket.io.esm.min.js.map +1 -0
  1149. package/bridge-runtime/node_modules/socket.io-client/dist/socket.io.js +4955 -0
  1150. package/bridge-runtime/node_modules/socket.io-client/dist/socket.io.js.map +1 -0
  1151. package/bridge-runtime/node_modules/socket.io-client/dist/socket.io.min.js +7 -0
  1152. package/bridge-runtime/node_modules/socket.io-client/dist/socket.io.min.js.map +1 -0
  1153. package/bridge-runtime/node_modules/socket.io-client/dist/socket.io.msgpack.min.js +7 -0
  1154. package/bridge-runtime/node_modules/socket.io-client/dist/socket.io.msgpack.min.js.map +1 -0
  1155. package/bridge-runtime/node_modules/socket.io-client/node_modules/debug/LICENSE +20 -0
  1156. package/bridge-runtime/node_modules/socket.io-client/node_modules/debug/README.md +481 -0
  1157. package/bridge-runtime/node_modules/socket.io-client/node_modules/debug/package.json +64 -0
  1158. package/bridge-runtime/node_modules/socket.io-client/node_modules/debug/src/browser.js +272 -0
  1159. package/bridge-runtime/node_modules/socket.io-client/node_modules/debug/src/common.js +292 -0
  1160. package/bridge-runtime/node_modules/socket.io-client/node_modules/debug/src/index.js +10 -0
  1161. package/bridge-runtime/node_modules/socket.io-client/node_modules/debug/src/node.js +263 -0
  1162. package/bridge-runtime/node_modules/socket.io-client/node_modules/ms/index.js +162 -0
  1163. package/bridge-runtime/node_modules/socket.io-client/node_modules/ms/license.md +21 -0
  1164. package/bridge-runtime/node_modules/socket.io-client/node_modules/ms/package.json +38 -0
  1165. package/bridge-runtime/node_modules/socket.io-client/node_modules/ms/readme.md +59 -0
  1166. package/bridge-runtime/node_modules/socket.io-client/package.json +101 -0
  1167. package/bridge-runtime/node_modules/socket.io-parser/LICENSE +20 -0
  1168. package/bridge-runtime/node_modules/socket.io-parser/Readme.md +81 -0
  1169. package/bridge-runtime/node_modules/socket.io-parser/build/cjs/binary.d.ts +20 -0
  1170. package/bridge-runtime/node_modules/socket.io-parser/build/cjs/binary.js +87 -0
  1171. package/bridge-runtime/node_modules/socket.io-parser/build/cjs/index.d.ts +101 -0
  1172. package/bridge-runtime/node_modules/socket.io-parser/build/cjs/index.js +367 -0
  1173. package/bridge-runtime/node_modules/socket.io-parser/build/cjs/is-binary.d.ts +7 -0
  1174. package/bridge-runtime/node_modules/socket.io-parser/build/cjs/is-binary.js +54 -0
  1175. package/bridge-runtime/node_modules/socket.io-parser/build/cjs/package.json +3 -0
  1176. package/bridge-runtime/node_modules/socket.io-parser/build/esm/binary.d.ts +20 -0
  1177. package/bridge-runtime/node_modules/socket.io-parser/build/esm/binary.js +83 -0
  1178. package/bridge-runtime/node_modules/socket.io-parser/build/esm/index.d.ts +101 -0
  1179. package/bridge-runtime/node_modules/socket.io-parser/build/esm/index.js +356 -0
  1180. package/bridge-runtime/node_modules/socket.io-parser/build/esm/is-binary.d.ts +7 -0
  1181. package/bridge-runtime/node_modules/socket.io-parser/build/esm/is-binary.js +50 -0
  1182. package/bridge-runtime/node_modules/socket.io-parser/build/esm/package.json +3 -0
  1183. package/bridge-runtime/node_modules/socket.io-parser/build/esm-debug/binary.d.ts +20 -0
  1184. package/bridge-runtime/node_modules/socket.io-parser/build/esm-debug/binary.js +83 -0
  1185. package/bridge-runtime/node_modules/socket.io-parser/build/esm-debug/index.d.ts +101 -0
  1186. package/bridge-runtime/node_modules/socket.io-parser/build/esm-debug/index.js +361 -0
  1187. package/bridge-runtime/node_modules/socket.io-parser/build/esm-debug/is-binary.d.ts +7 -0
  1188. package/bridge-runtime/node_modules/socket.io-parser/build/esm-debug/is-binary.js +50 -0
  1189. package/bridge-runtime/node_modules/socket.io-parser/build/esm-debug/package.json +3 -0
  1190. package/bridge-runtime/node_modules/socket.io-parser/node_modules/debug/LICENSE +20 -0
  1191. package/bridge-runtime/node_modules/socket.io-parser/node_modules/debug/README.md +481 -0
  1192. package/bridge-runtime/node_modules/socket.io-parser/node_modules/debug/package.json +64 -0
  1193. package/bridge-runtime/node_modules/socket.io-parser/node_modules/debug/src/browser.js +272 -0
  1194. package/bridge-runtime/node_modules/socket.io-parser/node_modules/debug/src/common.js +292 -0
  1195. package/bridge-runtime/node_modules/socket.io-parser/node_modules/debug/src/index.js +10 -0
  1196. package/bridge-runtime/node_modules/socket.io-parser/node_modules/debug/src/node.js +263 -0
  1197. package/bridge-runtime/node_modules/socket.io-parser/node_modules/ms/index.js +162 -0
  1198. package/bridge-runtime/node_modules/socket.io-parser/node_modules/ms/license.md +21 -0
  1199. package/bridge-runtime/node_modules/socket.io-parser/node_modules/ms/package.json +38 -0
  1200. package/bridge-runtime/node_modules/socket.io-parser/node_modules/ms/readme.md +59 -0
  1201. package/bridge-runtime/node_modules/socket.io-parser/package.json +44 -0
  1202. package/bridge-runtime/node_modules/statuses/HISTORY.md +87 -0
  1203. package/bridge-runtime/node_modules/statuses/LICENSE +23 -0
  1204. package/bridge-runtime/node_modules/statuses/README.md +139 -0
  1205. package/bridge-runtime/node_modules/statuses/codes.json +65 -0
  1206. package/bridge-runtime/node_modules/statuses/index.js +146 -0
  1207. package/bridge-runtime/node_modules/statuses/package.json +49 -0
  1208. package/bridge-runtime/node_modules/toidentifier/HISTORY.md +9 -0
  1209. package/bridge-runtime/node_modules/toidentifier/LICENSE +21 -0
  1210. package/bridge-runtime/node_modules/toidentifier/README.md +61 -0
  1211. package/bridge-runtime/node_modules/toidentifier/index.js +32 -0
  1212. package/bridge-runtime/node_modules/toidentifier/package.json +38 -0
  1213. package/bridge-runtime/node_modules/type-is/HISTORY.md +259 -0
  1214. package/bridge-runtime/node_modules/type-is/LICENSE +23 -0
  1215. package/bridge-runtime/node_modules/type-is/README.md +170 -0
  1216. package/bridge-runtime/node_modules/type-is/index.js +266 -0
  1217. package/bridge-runtime/node_modules/type-is/package.json +45 -0
  1218. package/bridge-runtime/node_modules/undici-types/LICENSE +21 -0
  1219. package/bridge-runtime/node_modules/undici-types/README.md +6 -0
  1220. package/bridge-runtime/node_modules/undici-types/agent.d.ts +31 -0
  1221. package/bridge-runtime/node_modules/undici-types/api.d.ts +43 -0
  1222. package/bridge-runtime/node_modules/undici-types/balanced-pool.d.ts +29 -0
  1223. package/bridge-runtime/node_modules/undici-types/cache.d.ts +36 -0
  1224. package/bridge-runtime/node_modules/undici-types/client.d.ts +108 -0
  1225. package/bridge-runtime/node_modules/undici-types/connector.d.ts +34 -0
  1226. package/bridge-runtime/node_modules/undici-types/content-type.d.ts +21 -0
  1227. package/bridge-runtime/node_modules/undici-types/cookies.d.ts +28 -0
  1228. package/bridge-runtime/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
  1229. package/bridge-runtime/node_modules/undici-types/dispatcher.d.ts +256 -0
  1230. package/bridge-runtime/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
  1231. package/bridge-runtime/node_modules/undici-types/errors.d.ts +149 -0
  1232. package/bridge-runtime/node_modules/undici-types/eventsource.d.ts +61 -0
  1233. package/bridge-runtime/node_modules/undici-types/fetch.d.ts +209 -0
  1234. package/bridge-runtime/node_modules/undici-types/file.d.ts +39 -0
  1235. package/bridge-runtime/node_modules/undici-types/filereader.d.ts +54 -0
  1236. package/bridge-runtime/node_modules/undici-types/formdata.d.ts +108 -0
  1237. package/bridge-runtime/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  1238. package/bridge-runtime/node_modules/undici-types/global-origin.d.ts +7 -0
  1239. package/bridge-runtime/node_modules/undici-types/handlers.d.ts +15 -0
  1240. package/bridge-runtime/node_modules/undici-types/header.d.ts +4 -0
  1241. package/bridge-runtime/node_modules/undici-types/index.d.ts +71 -0
  1242. package/bridge-runtime/node_modules/undici-types/interceptors.d.ts +17 -0
  1243. package/bridge-runtime/node_modules/undici-types/mock-agent.d.ts +50 -0
  1244. package/bridge-runtime/node_modules/undici-types/mock-client.d.ts +25 -0
  1245. package/bridge-runtime/node_modules/undici-types/mock-errors.d.ts +12 -0
  1246. package/bridge-runtime/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  1247. package/bridge-runtime/node_modules/undici-types/mock-pool.d.ts +25 -0
  1248. package/bridge-runtime/node_modules/undici-types/package.json +55 -0
  1249. package/bridge-runtime/node_modules/undici-types/patch.d.ts +33 -0
  1250. package/bridge-runtime/node_modules/undici-types/pool-stats.d.ts +19 -0
  1251. package/bridge-runtime/node_modules/undici-types/pool.d.ts +39 -0
  1252. package/bridge-runtime/node_modules/undici-types/proxy-agent.d.ts +28 -0
  1253. package/bridge-runtime/node_modules/undici-types/readable.d.ts +65 -0
  1254. package/bridge-runtime/node_modules/undici-types/retry-agent.d.ts +8 -0
  1255. package/bridge-runtime/node_modules/undici-types/retry-handler.d.ts +116 -0
  1256. package/bridge-runtime/node_modules/undici-types/util.d.ts +18 -0
  1257. package/bridge-runtime/node_modules/undici-types/webidl.d.ts +228 -0
  1258. package/bridge-runtime/node_modules/undici-types/websocket.d.ts +150 -0
  1259. package/bridge-runtime/node_modules/unpipe/HISTORY.md +4 -0
  1260. package/bridge-runtime/node_modules/unpipe/LICENSE +22 -0
  1261. package/bridge-runtime/node_modules/unpipe/README.md +43 -0
  1262. package/bridge-runtime/node_modules/unpipe/index.js +69 -0
  1263. package/bridge-runtime/node_modules/unpipe/package.json +27 -0
  1264. package/bridge-runtime/node_modules/utils-merge/LICENSE +20 -0
  1265. package/bridge-runtime/node_modules/utils-merge/README.md +34 -0
  1266. package/bridge-runtime/node_modules/utils-merge/index.js +23 -0
  1267. package/bridge-runtime/node_modules/utils-merge/package.json +40 -0
  1268. package/bridge-runtime/node_modules/vary/HISTORY.md +39 -0
  1269. package/bridge-runtime/node_modules/vary/LICENSE +22 -0
  1270. package/bridge-runtime/node_modules/vary/README.md +101 -0
  1271. package/bridge-runtime/node_modules/vary/index.js +149 -0
  1272. package/bridge-runtime/node_modules/vary/package.json +43 -0
  1273. package/bridge-runtime/node_modules/ws/LICENSE +20 -0
  1274. package/bridge-runtime/node_modules/ws/README.md +548 -0
  1275. package/bridge-runtime/node_modules/ws/browser.js +8 -0
  1276. package/bridge-runtime/node_modules/ws/index.js +22 -0
  1277. package/bridge-runtime/node_modules/ws/lib/buffer-util.js +131 -0
  1278. package/bridge-runtime/node_modules/ws/lib/constants.js +19 -0
  1279. package/bridge-runtime/node_modules/ws/lib/event-target.js +292 -0
  1280. package/bridge-runtime/node_modules/ws/lib/extension.js +203 -0
  1281. package/bridge-runtime/node_modules/ws/lib/limiter.js +55 -0
  1282. package/bridge-runtime/node_modules/ws/lib/permessage-deflate.js +528 -0
  1283. package/bridge-runtime/node_modules/ws/lib/receiver.js +760 -0
  1284. package/bridge-runtime/node_modules/ws/lib/sender.js +607 -0
  1285. package/bridge-runtime/node_modules/ws/lib/stream.js +161 -0
  1286. package/bridge-runtime/node_modules/ws/lib/subprotocol.js +62 -0
  1287. package/bridge-runtime/node_modules/ws/lib/validation.js +152 -0
  1288. package/bridge-runtime/node_modules/ws/lib/websocket-server.js +562 -0
  1289. package/bridge-runtime/node_modules/ws/lib/websocket.js +1407 -0
  1290. package/bridge-runtime/node_modules/ws/package.json +70 -0
  1291. package/bridge-runtime/node_modules/ws/wrapper.mjs +21 -0
  1292. package/bridge-runtime/node_modules/xmlhttprequest-ssl/LICENSE +22 -0
  1293. package/bridge-runtime/node_modules/xmlhttprequest-ssl/README.md +67 -0
  1294. package/bridge-runtime/node_modules/xmlhttprequest-ssl/lib/XMLHttpRequest.js +689 -0
  1295. package/bridge-runtime/node_modules/xmlhttprequest-ssl/package.json +40 -0
  1296. package/bridge-runtime/package-lock.json +1902 -0
  1297. package/bridge-runtime/package.json +26 -0
  1298. package/bridge-runtime/selectors.json +74 -0
  1299. package/dist/big-code.js +25 -0
  1300. package/dist/bridge-dir.js +77 -0
  1301. package/dist/index.js +35 -30
  1302. package/dist/launch.js +4 -3
  1303. package/dist/postinstall.js +7 -0
  1304. package/dist/print-pairing.js +21 -19
  1305. package/dist/repo-root.js +2 -5
  1306. package/package.json +7 -7
@@ -0,0 +1,1202 @@
1
+ /**
2
+ * Runs inside Cursor renderer — must be self-contained.
3
+ */
4
+ export function extractionFunction(containerSelectors, tabSelectors, inputSelectors, approveSelectors, approveTextMatch, rejectSelectors, rejectTextMatch) {
5
+ function findFirst(sels) {
6
+ for (const sel of sels) {
7
+ try {
8
+ const el = document.querySelector(sel);
9
+ if (el)
10
+ return el;
11
+ }
12
+ catch {
13
+ /* skip */
14
+ }
15
+ }
16
+ return null;
17
+ }
18
+ function buildSelectorPath(el) {
19
+ const parts = [];
20
+ let cur = el;
21
+ while (cur && cur !== document.body) {
22
+ let seg = cur.tagName.toLowerCase();
23
+ if (cur.id) {
24
+ seg += `#${cur.id.replace(/([.:])/g, '\\$1')}`;
25
+ parts.unshift(seg);
26
+ break;
27
+ }
28
+ const parent = cur.parentElement;
29
+ if (parent) {
30
+ const siblings = Array.from(parent.children).filter((c) => c.tagName === cur.tagName);
31
+ if (siblings.length > 1) {
32
+ seg += `:nth-of-type(${siblings.indexOf(cur) + 1})`;
33
+ }
34
+ }
35
+ parts.unshift(seg);
36
+ cur = parent;
37
+ }
38
+ return parts.join(' > ');
39
+ }
40
+ try {
41
+ const container = findFirst(containerSelectors);
42
+ if (!container)
43
+ return null;
44
+ const chatRoot = container;
45
+ const messages = [];
46
+ const flatEls = chatRoot.querySelectorAll('[data-flat-index]');
47
+ const messageDebug = {
48
+ at: Date.now(),
49
+ flatNodes: flatEls.length,
50
+ extracted: 0,
51
+ dropped: {
52
+ tool: 0,
53
+ userNoise: 0,
54
+ userEmpty: 0,
55
+ assistantWorking: 0,
56
+ assistantNotMeaningful: 0,
57
+ assistantNoMarkdown: 0,
58
+ },
59
+ droppedSamples: [],
60
+ messagePreviews: [],
61
+ };
62
+ function previewText(el, max = 90) {
63
+ const md = el.querySelector('.markdown-root');
64
+ const human = el.querySelector('.aislash-editor-input-readonly');
65
+ const raw = (human?.textContent || md?.textContent || el.textContent || '')
66
+ .trim()
67
+ .replace(/\s+/g, ' ');
68
+ return raw.slice(0, max);
69
+ }
70
+ function recordDrop(reason, el) {
71
+ const key = reason;
72
+ if (key in messageDebug.dropped)
73
+ messageDebug.dropped[key]++;
74
+ if (messageDebug.droppedSamples.length < 14) {
75
+ messageDebug.droppedSamples.push({
76
+ reason,
77
+ preview: previewText(el),
78
+ flatIndex: el.getAttribute('data-flat-index') ?? undefined,
79
+ });
80
+ }
81
+ }
82
+ function todoStatusFromRow(row) {
83
+ const cls = row.className?.toString() ?? '';
84
+ if (cls.includes('completed') || cls.includes('done'))
85
+ return 'completed';
86
+ if (cls.includes('cancelled'))
87
+ return 'cancelled';
88
+ if (cls.includes('in-progress') ||
89
+ cls.includes('in_progress') ||
90
+ cls.includes('active') ||
91
+ !!row.querySelector('[class*="loading"], [class*="spinner"], [class*="progress"], [class*="arrow-circle"], [class*="in-progress-circle"]')) {
92
+ return 'in_progress';
93
+ }
94
+ if (row.querySelector('[class*="check"], [class*="completed"]'))
95
+ return 'completed';
96
+ return 'pending';
97
+ }
98
+ function todoStatusFromUiItem(row) {
99
+ if (row.classList.contains('ui-todo-item--completed'))
100
+ return 'completed';
101
+ if (row.classList.contains('ui-todo-item--cancelled'))
102
+ return 'cancelled';
103
+ if (row.querySelector('.ui-todo-item__content--in-progress'))
104
+ return 'in_progress';
105
+ return 'pending';
106
+ }
107
+ function todoStatusFromPlanItem(row) {
108
+ const ind = row.querySelector('.composer-plan-todo-indicator');
109
+ if (!ind)
110
+ return todoStatusFromRow(row);
111
+ const cls = ind.className?.toString() ?? '';
112
+ if (cls.includes('loading') || cls.includes('in-progress'))
113
+ return 'in_progress';
114
+ if (cls.includes('completed'))
115
+ return 'completed';
116
+ if (cls.includes('cancelled'))
117
+ return 'cancelled';
118
+ if (cls.includes('pending'))
119
+ return 'pending';
120
+ return 'pending';
121
+ }
122
+ function todoStatusFromToolbarItem(row) {
123
+ if (row.querySelector('.composer-toolbar-todo-in-progress-circle, .composer-plan-todo-in-progress-circle')) {
124
+ return 'in_progress';
125
+ }
126
+ return todoStatusFromRow(row);
127
+ }
128
+ function isInsideChatHistory(el) {
129
+ return !!el.closest('[data-flat-index]');
130
+ }
131
+ function hasShortTodosHeader(panel) {
132
+ for (const h of panel.querySelectorAll('[class*="collapsible"] [class*="header"], [class*="tool-call"] [class*="header"], span, div, button, .ui-todo-list-header')) {
133
+ if (h.children.length > 3)
134
+ continue;
135
+ const t = (h.textContent ?? '').trim();
136
+ if (/^To-?dos(\s+\d+)?$/i.test(t) && t.length < 24)
137
+ return true;
138
+ if (/^To-?dos\s/i.test(t) && t.length < 32)
139
+ return true;
140
+ }
141
+ return false;
142
+ }
143
+ function extractTodoHeaderMeta(panel) {
144
+ let total;
145
+ const countEl = panel.querySelector('.ui-todo-list-header__count, .composer-create-plan-todos-count, .todo-list-header-left-count');
146
+ if (countEl) {
147
+ const n = parseInt(countEl.textContent?.trim() || '', 10);
148
+ if (!isNaN(n))
149
+ total = n;
150
+ }
151
+ if (total === undefined) {
152
+ const header = panel.querySelector('.ui-todo-list-header, .composer-create-plan-todos-header, .todo-list-header-left-title');
153
+ const m = (header?.textContent || panel.textContent || '').match(/\bTo-?dos\s*(\d+)/i);
154
+ if (m)
155
+ total = parseInt(m[1], 10);
156
+ }
157
+ let viewAllPath;
158
+ for (const btn of panel.querySelectorAll('button, a, [role="button"]')) {
159
+ if (/view\s+all/i.test(btn.textContent || '')) {
160
+ viewAllPath = buildSelectorPath(btn);
161
+ break;
162
+ }
163
+ }
164
+ return { total, viewAllPath };
165
+ }
166
+ function extractTodosFromPanel(panel, prefix) {
167
+ const todos = [];
168
+ const seen = new Set();
169
+ const meta = extractTodoHeaderMeta(panel);
170
+ function pushTodo(text, status, idx) {
171
+ const t = text.trim().replace(/\s+/g, ' ');
172
+ if (!t || t.length < 4 || t.length > 280)
173
+ return;
174
+ if (/^to-?dos$/i.test(t) || /^to-?dos\s+\d+$/i.test(t))
175
+ return;
176
+ if (/^view\s+all$/i.test(t))
177
+ return;
178
+ if (/^\d+\s+more$/i.test(t))
179
+ return;
180
+ if (seen.has(t))
181
+ return;
182
+ seen.add(t);
183
+ todos.push({ id: `todo-${prefix}-${idx}`, text: t, status });
184
+ }
185
+ const uiItems = panel.querySelectorAll('.ui-todo-item');
186
+ if (uiItems.length) {
187
+ uiItems.forEach((row, i) => {
188
+ const label = row.querySelector('.ui-todo-item__label')?.textContent?.trim() ||
189
+ row.textContent?.trim() ||
190
+ '';
191
+ pushTodo(label, todoStatusFromUiItem(row), i);
192
+ });
193
+ return { todos, ...meta };
194
+ }
195
+ const planItems = panel.querySelectorAll('.composer-create-plan-todo-item');
196
+ if (planItems.length) {
197
+ planItems.forEach((row, i) => {
198
+ if (row.querySelector('.composer-plan-todo-more-text'))
199
+ return;
200
+ const label = row.querySelector('.composer-create-plan-todo-content')?.textContent?.trim() ||
201
+ row.textContent?.trim().replace(/\s*more\s*$/i, '') ||
202
+ '';
203
+ pushTodo(label, todoStatusFromPlanItem(row), i);
204
+ });
205
+ return { todos, ...meta };
206
+ }
207
+ const toolbarItems = panel.querySelectorAll('.composer-toolbar-todo-item');
208
+ if (toolbarItems.length) {
209
+ toolbarItems.forEach((row, i) => {
210
+ const label = row.querySelector('.composer-toolbar-todo-item-text')?.textContent?.trim() ||
211
+ row.textContent?.trim() ||
212
+ '';
213
+ pushTodo(label, todoStatusFromToolbarItem(row), i);
214
+ });
215
+ return { todos, ...meta };
216
+ }
217
+ const rowSelectors = [
218
+ '[class*="todo-item"]',
219
+ '[class*="TodoItem"]',
220
+ '[class*="task-item"]',
221
+ '[data-todo-id]',
222
+ '.ui-todo-list-item',
223
+ ];
224
+ for (const sel of rowSelectors) {
225
+ panel.querySelectorAll(sel).forEach((row, i) => {
226
+ if (isInsideChatHistory(row) &&
227
+ row.closest('[data-message-kind]')?.getAttribute('data-message-kind') !== 'tool') {
228
+ return;
229
+ }
230
+ const label = row.querySelector('[class*="label"], [class*="title"], [class*="content"]')
231
+ ?.textContent?.trim() ||
232
+ row.textContent?.trim() ||
233
+ '';
234
+ pushTodo(label, todoStatusFromRow(row), i);
235
+ });
236
+ if (todos.length > 0)
237
+ return { todos, ...meta };
238
+ }
239
+ panel.querySelectorAll('li, [class*="item"], [class*="row"]').forEach((row, i) => {
240
+ const text = row.textContent?.trim() ?? '';
241
+ if (!text || /^to-?dos/i.test(text))
242
+ return;
243
+ if (text.length > 280)
244
+ return;
245
+ pushTodo(text, todoStatusFromRow(row), i);
246
+ });
247
+ return { todos, ...meta };
248
+ }
249
+ function extractTodosCursor() {
250
+ const roots = new Set();
251
+ const rootSelectors = [
252
+ '.ui-todo-list-container',
253
+ '.composer-create-plan-todos',
254
+ '.composer-toolbar-todos-item-list',
255
+ '.composer-plan-todos',
256
+ '.todo-list-container',
257
+ ];
258
+ for (const sel of rootSelectors) {
259
+ document.querySelectorAll(sel).forEach((el) => roots.add(el));
260
+ chatRoot.querySelectorAll(sel).forEach((el) => roots.add(el));
261
+ }
262
+ let best = { todos: [] };
263
+ for (const root of roots) {
264
+ const hit = extractTodosFromPanel(root, 'cursor');
265
+ if (hit.todos.length > best.todos.length) {
266
+ best = {
267
+ todos: hit.todos,
268
+ total: hit.total,
269
+ viewAllPath: hit.viewAllPath,
270
+ };
271
+ }
272
+ }
273
+ return best;
274
+ }
275
+ let todos = [];
276
+ let todosTotalCount;
277
+ let todosViewAllSelectorPath;
278
+ const cursorTodos = extractTodosCursor();
279
+ if (cursorTodos.todos.length > 0) {
280
+ todos = cursorTodos.todos;
281
+ todosTotalCount = cursorTodos.total;
282
+ todosViewAllSelectorPath = cursorTodos.viewAllPath;
283
+ }
284
+ else {
285
+ const toolBlocks = Array.from(chatRoot.querySelectorAll('[data-flat-index][data-message-kind="tool"]'));
286
+ for (let i = toolBlocks.length - 1; i >= 0; i--) {
287
+ const block = toolBlocks[i];
288
+ if (!hasShortTodosHeader(block))
289
+ continue;
290
+ const hit = extractTodosFromPanel(block, `tool-${i}`);
291
+ todos = hit.todos;
292
+ todosTotalCount = hit.total;
293
+ todosViewAllSelectorPath = hit.viewAllPath;
294
+ if (todos.length > 0)
295
+ break;
296
+ }
297
+ if (todos.length === 0) {
298
+ for (const panel of chatRoot.querySelectorAll('[class*="collapsible"], [class*="tool-call"]')) {
299
+ if (!hasShortTodosHeader(panel))
300
+ continue;
301
+ if (isInsideChatHistory(panel)) {
302
+ const kind = panel.closest('[data-flat-index]')?.getAttribute('data-message-kind');
303
+ if (kind && kind !== 'tool')
304
+ continue;
305
+ }
306
+ const hit = extractTodosFromPanel(panel, 'panel');
307
+ todos = hit.todos;
308
+ todosTotalCount = hit.total;
309
+ todosViewAllSelectorPath = hit.viewAllPath;
310
+ if (todos.length > 0)
311
+ break;
312
+ }
313
+ }
314
+ }
315
+ function getComposerScope() {
316
+ const input = findFirst(inputSelectors);
317
+ if (!input)
318
+ return null;
319
+ const candidates = [
320
+ input.closest('[class*="agent-panel"]'),
321
+ input.closest('[class*="composer-panel"]'),
322
+ input.closest('.composer-bar, [class*="composer-bar"]'),
323
+ findFirst(containerSelectors),
324
+ ];
325
+ for (const el of candidates) {
326
+ if (el?.querySelector('[class*="ui-tray--queued"], [class*="queue-item"], [class*="queue-sortable-row"]')) {
327
+ return el;
328
+ }
329
+ }
330
+ return (input.closest('.composer-bar, [class*="composer-bar"], [class*="composer-panel"]') ||
331
+ input.parentElement?.parentElement?.parentElement ||
332
+ null);
333
+ }
334
+ function extractQueuedMessages(scope) {
335
+ const items = [];
336
+ const seen = new Set();
337
+ function isA11yDragHint(text) {
338
+ return (/to pick up a draggable item/i.test(text) ||
339
+ /press space again to drop/i.test(text) ||
340
+ /while dragging, use the arrow keys/i.test(text));
341
+ }
342
+ function removePathFor(el) {
343
+ const btn = el.querySelector('button[aria-label="Remove"]');
344
+ if (!btn)
345
+ return undefined;
346
+ const path = buildSelectorPath(btn);
347
+ return path || undefined;
348
+ }
349
+ function extractQueuedRowText(row) {
350
+ const textRoot = row.querySelector('[class*="ui-tray-row"]') ||
351
+ row.querySelector('[class*="queue-sortable-row"]') ||
352
+ row;
353
+ const clone = textRoot.cloneNode(true);
354
+ clone
355
+ .querySelectorAll('img, button, [class*="icon"], [aria-hidden="true"], [class*="image-pill"]')
356
+ .forEach((el) => el.remove());
357
+ return (clone.textContent || '').trim().replace(/\s+/g, ' ');
358
+ }
359
+ function extractQueuedRowImages(row) {
360
+ const seenImg = new Set();
361
+ const out = [];
362
+ for (const img of row.querySelectorAll('img.image-pill-img, .image-pill-container img, img[alt="Attached image"], img[src]')) {
363
+ const src = img.getAttribute('src');
364
+ if (!src)
365
+ continue;
366
+ const path = normalizeImageSrc(src);
367
+ if (!path || seenImg.has(path))
368
+ continue;
369
+ seenImg.add(path);
370
+ out.push(path);
371
+ }
372
+ return out;
373
+ }
374
+ function pushQueuedRow(row, idx) {
375
+ const images = extractQueuedRowImages(row);
376
+ const t = extractQueuedRowText(row);
377
+ if ((!t || t.length < 2) && images.length === 0)
378
+ return;
379
+ if (t.length > 600)
380
+ return;
381
+ if (t && isA11yDragHint(t))
382
+ return;
383
+ if (/^\d+\s+queued$/i.test(t))
384
+ return;
385
+ if (/^(queued|to\s+send|start\s+multitasking)$/i.test(t))
386
+ return;
387
+ if (t && /\bqueued\b/i.test(t) && /to\s+send/i.test(t) && t.length < 48)
388
+ return;
389
+ if (/^start\s+multitasking/i.test(t))
390
+ return;
391
+ const dedupeKey = `${t}|${images.join(',')}`;
392
+ if (seen.has(dedupeKey))
393
+ return;
394
+ seen.add(dedupeKey);
395
+ const removeSelectorPath = removePathFor(row);
396
+ items.push({
397
+ id: `q-${idx}-${items.length}`,
398
+ text: t,
399
+ hasImage: images.length > 0,
400
+ images: images.length ? images : undefined,
401
+ removeSelectorPath,
402
+ });
403
+ }
404
+ function pushQueuedLine(text, idx) {
405
+ const t = text.trim().replace(/\s+/g, ' ');
406
+ if (!t || t.length < 2 || t.length > 600)
407
+ return;
408
+ if (isA11yDragHint(t))
409
+ return;
410
+ if (/^\d+\s+queued$/i.test(t))
411
+ return;
412
+ if (/^(queued|to\s+send|start\s+multitasking)$/i.test(t))
413
+ return;
414
+ if (/\bqueued\b/i.test(t) && /to\s+send/i.test(t) && t.length < 48)
415
+ return;
416
+ if (/^start\s+multitasking/i.test(t))
417
+ return;
418
+ if (seen.has(t))
419
+ return;
420
+ seen.add(t);
421
+ items.push({ id: `q-line-${idx}-${items.length}`, text: t });
422
+ }
423
+ const itemSelectors = [
424
+ '[class*="ui-tray--queued"] [class*="queue-sortable-row"]',
425
+ '[class*="ui-tray--queued"] [class*="ui-tray-row"]',
426
+ '[class*="queue-sortable-row"]',
427
+ '[class*="ui-tray-row"]',
428
+ '[class*="queued-message"]',
429
+ '[class*="QueueItem"]',
430
+ '[class*="composer-queue"]',
431
+ '[data-queued-message]',
432
+ '[class*="pending-message"]',
433
+ ];
434
+ for (const sel of itemSelectors) {
435
+ scope.querySelectorAll(sel).forEach((row, i) => {
436
+ if (isInsideChatHistory(row))
437
+ return;
438
+ pushQueuedRow(row, i);
439
+ });
440
+ if (items.length > 0)
441
+ return items;
442
+ }
443
+ scope.querySelectorAll('[class*="queue-item"]').forEach((item, i) => {
444
+ if (isInsideChatHistory(item))
445
+ return;
446
+ const row = item.querySelector('[class*="queue-sortable-row"], [class*="ui-tray-row"]');
447
+ pushQueuedRow(row ?? item, i);
448
+ });
449
+ if (items.length > 0)
450
+ return items;
451
+ for (const panel of scope.querySelectorAll('div, section')) {
452
+ if (isInsideChatHistory(panel))
453
+ continue;
454
+ const raw = panel.textContent?.trim() ?? '';
455
+ if (raw.length > 400)
456
+ continue;
457
+ const firstLine = raw.split('\n').map((l) => l.trim()).find(Boolean) ?? '';
458
+ if (!/^\d+\s+Queued\b/i.test(firstLine))
459
+ continue;
460
+ let foundRow = false;
461
+ panel
462
+ .querySelectorAll('[class*="item"], [class*="row"], [class*="preview"], li')
463
+ .forEach((row, i) => {
464
+ if (isInsideChatHistory(row))
465
+ return;
466
+ const text = row.textContent?.trim() ?? '';
467
+ if (text.length < 4 || text === raw)
468
+ return;
469
+ if (/queued|multitasking/i.test(text) && text.length < 50)
470
+ return;
471
+ pushQueuedRow(row, i);
472
+ foundRow = true;
473
+ });
474
+ if (!foundRow) {
475
+ let afterHeader = false;
476
+ for (const line of raw.split('\n')) {
477
+ const l = line.trim();
478
+ if (!l)
479
+ continue;
480
+ if (/^\d+\s+Queued\b/i.test(l)) {
481
+ afterHeader = true;
482
+ continue;
483
+ }
484
+ if (/start\s+multitasking/i.test(l))
485
+ continue;
486
+ if (afterHeader)
487
+ pushQueuedLine(l, items.length);
488
+ }
489
+ }
490
+ if (items.length > 0)
491
+ return items;
492
+ }
493
+ return items;
494
+ }
495
+ let queuedMessages = [];
496
+ const composerScope = getComposerScope();
497
+ if (composerScope) {
498
+ queuedMessages = extractQueuedMessages(composerScope);
499
+ }
500
+ function isNoiseChatText(text) {
501
+ const t = text.trim().replace(/\s+/g, ' ');
502
+ if (!t || t.length < 2)
503
+ return true;
504
+ if (/^(Editing|Edited|Ran|Thought\s+(briefly|for\s)|Explored|Listed|Grepped|Searched|Read|Loading|Planning|Generating|Running|Finished|Cancelled|Using image)\b/i.test(t))
505
+ return true;
506
+ if (/^Edited\s+.+\s*\+\d+/i.test(t))
507
+ return true;
508
+ if (/\.[a-z0-9]+\s*[+-]\d+/i.test(t) && t.length < 120)
509
+ return true;
510
+ if (/^(cd |npm |npx |curl |git |node )/i.test(t) && t.length < 160)
511
+ return true;
512
+ if (/^Thought\s*for\s*\d/i.test(t) && t.length < 40)
513
+ return true;
514
+ if (/^Thought\s+\w+$/i.test(t) && t.length < 40)
515
+ return true;
516
+ if (/^Explored\d/i.test(t))
517
+ return true;
518
+ if (matchBackgroundStatusLine(t))
519
+ return true;
520
+ return false;
521
+ }
522
+ function matchBackgroundStatusLine(text) {
523
+ const t = text.trim().replace(/\s+/g, ' ');
524
+ if (!t || t.length > 100)
525
+ return undefined;
526
+ if (/will resume when|background work finishes|background shell|resuming when|paused while|waiting for background/i.test(t)) {
527
+ return t;
528
+ }
529
+ if (/^working\.?$/i.test(t))
530
+ return t;
531
+ return undefined;
532
+ }
533
+ function textImpliesAgentWorking(text) {
534
+ return matchBackgroundStatusLine(text) !== undefined;
535
+ }
536
+ function isBackgroundStatusRow(row) {
537
+ const md = row?.querySelector('.markdown-root');
538
+ const rowText = (md?.textContent || row?.textContent || '').trim();
539
+ const hit = matchBackgroundStatusLine(rowText);
540
+ if (!hit)
541
+ return undefined;
542
+ if (isMeaningfulAssistantText(rowText))
543
+ return undefined;
544
+ return hit;
545
+ }
546
+ function isMeaningfulAssistantText(text) {
547
+ const t = text.trim();
548
+ if (!t || isNoiseChatText(t))
549
+ return false;
550
+ if (t.length >= 20 && /\s/.test(t))
551
+ return true;
552
+ if (t.length >= 6 && /[.!?…]$/.test(t))
553
+ return true;
554
+ return t.length >= 50;
555
+ }
556
+ function cleanUserText(text) {
557
+ return text
558
+ .replace(/<user_query>\s*/gi, '')
559
+ .replace(/<\/user_query>/gi, '')
560
+ .replace(/([.!?…])(\d+\.\s*)/g, '$1\n$2')
561
+ .replace(/([^\n\d\s])(\d+\.\s+)/g, '$1\n$2')
562
+ .trim();
563
+ }
564
+ function normalizeImageSrc(src) {
565
+ const raw = src.trim();
566
+ if (!raw)
567
+ return null;
568
+ if (/^https?:\/\//i.test(raw))
569
+ return raw;
570
+ if (raw.startsWith('vscode-file://vscode-app')) {
571
+ const rest = raw.slice('vscode-file://vscode-app'.length);
572
+ const q = rest.indexOf('?');
573
+ try {
574
+ return decodeURIComponent(q >= 0 ? rest.slice(0, q) : rest);
575
+ }
576
+ catch {
577
+ return null;
578
+ }
579
+ }
580
+ if (raw.startsWith('file://')) {
581
+ try {
582
+ return decodeURIComponent(raw.replace(/^file:\/\//, ''));
583
+ }
584
+ catch {
585
+ return null;
586
+ }
587
+ }
588
+ return null;
589
+ }
590
+ function extractRowImages(row) {
591
+ const seen = new Set();
592
+ const out = [];
593
+ for (const img of row.querySelectorAll('img.image-pill-img, .image-pill-container img, img[alt="Attached image"]')) {
594
+ const src = img.getAttribute('src');
595
+ if (!src)
596
+ continue;
597
+ const path = normalizeImageSrc(src);
598
+ if (!path || seen.has(path))
599
+ continue;
600
+ seen.add(path);
601
+ out.push(path);
602
+ }
603
+ return out;
604
+ }
605
+ function isToolNoiseElement(el, msgKind) {
606
+ if (msgKind === 'tool')
607
+ return true;
608
+ if (el.querySelector('.loading-indicator-v3'))
609
+ return true;
610
+ if (el.querySelector('.composer-tool-former-message'))
611
+ return true;
612
+ if (el.querySelector('.composer-terminal-tool-call-block-container'))
613
+ return true;
614
+ if (el.querySelector('.composer-edit-file-review-wrapper'))
615
+ return true;
616
+ if (el.querySelector('.ui-edit-tool-call__filename'))
617
+ return true;
618
+ if (el.querySelector('[data-tool-status]'))
619
+ return true;
620
+ if (el.querySelector('.ui-tool-call-line-action'))
621
+ return true;
622
+ return false;
623
+ }
624
+ let flatOrder = 0;
625
+ flatEls.forEach((el) => {
626
+ const idxRaw = el.getAttribute('data-flat-index') ?? '';
627
+ const idxParsed = Number.parseInt(idxRaw, 10);
628
+ const flatIndex = Number.isFinite(idxParsed) ? idxParsed : flatOrder++;
629
+ const role = el.getAttribute('data-message-role') ?? '';
630
+ const kind = el.getAttribute('data-message-kind') ?? '';
631
+ const id = `${idxRaw || flatIndex}-${role || 'x'}-${kind || 'x'}`;
632
+ if (isToolNoiseElement(el, kind)) {
633
+ recordDrop('tool', el);
634
+ return;
635
+ }
636
+ const humanEl = el.querySelector('.aislash-editor-input-readonly, .composer-human-tiptap-readonly-editor, .composer-human-message-content, .composer-human-message');
637
+ const mdRoot = el.querySelector('.markdown-root');
638
+ const isHuman = role === 'human' || !!humanEl;
639
+ if (isHuman) {
640
+ const images = extractRowImages(el);
641
+ const text = cleanUserText(humanEl?.textContent?.trim() ?? el.textContent?.trim() ?? '');
642
+ const hasText = Boolean(text) && !isNoiseChatText(text);
643
+ if (!hasText && images.length === 0) {
644
+ recordDrop(text && isNoiseChatText(text) ? 'userNoise' : 'userEmpty', el);
645
+ return;
646
+ }
647
+ if (text && isNoiseChatText(text) && images.length > 0) {
648
+ recordDrop('userNoise', el);
649
+ }
650
+ const displayText = hasText
651
+ ? text
652
+ : images.length > 0
653
+ ? 'Изображение'
654
+ : '';
655
+ messages.push({
656
+ id,
657
+ role: 'user',
658
+ text: displayText,
659
+ images: images.length ? images : undefined,
660
+ flatIndex,
661
+ });
662
+ messageDebug.extracted++;
663
+ return;
664
+ }
665
+ const text = mdRoot?.textContent?.trim() ?? '';
666
+ if (text && textImpliesAgentWorking(text)) {
667
+ recordDrop('assistantWorking', el);
668
+ return;
669
+ }
670
+ if (!mdRoot || !text) {
671
+ recordDrop('assistantNoMarkdown', el);
672
+ return;
673
+ }
674
+ if (!isMeaningfulAssistantText(text)) {
675
+ recordDrop('assistantNotMeaningful', el);
676
+ return;
677
+ }
678
+ messages.push({
679
+ id,
680
+ role: 'assistant',
681
+ text,
682
+ html: mdRoot.innerHTML || undefined,
683
+ flatIndex,
684
+ });
685
+ messageDebug.extracted++;
686
+ });
687
+ messages.sort((a, b) => (a.flatIndex ?? 0) - (b.flatIndex ?? 0));
688
+ let containerComposerId = container.getAttribute('data-composer-id') ||
689
+ container.closest('[data-composer-id]')?.getAttribute('data-composer-id') ||
690
+ '';
691
+ if (!containerComposerId && flatEls.length > 0) {
692
+ containerComposerId =
693
+ flatEls[0].closest('[data-composer-id]')?.getAttribute('data-composer-id') || '';
694
+ }
695
+ function cleanSidebarTitle(btn) {
696
+ const label = btn.querySelector('.ui-sidebar-menu-button-label');
697
+ let t = (label?.textContent || btn.textContent || '').trim().replace(/\s+/g, ' ');
698
+ t = t.replace(/\d+\s*(?:s|m|h|d|w)\b/gi, '').replace(/\d+[smhdw]$/i, '').trim();
699
+ return t.slice(0, 120);
700
+ }
701
+ function readAgentBtnMeta(btn) {
702
+ const title = cleanSidebarTitle(btn);
703
+ if (!title || /^more$/i.test(title) || /^less$/i.test(title))
704
+ return null;
705
+ const composerId = btn.getAttribute('data-composer-id') ||
706
+ btn.closest('li')?.getAttribute('data-composer-id') ||
707
+ btn.closest('[data-composer-id]')?.getAttribute('data-composer-id') ||
708
+ '';
709
+ const active = btn.getAttribute('data-active') === 'true';
710
+ const isWorking = !!btn.querySelector('.loading-indicator-v3, [class*="loading-indicator"]');
711
+ const cls = btn.className?.toString() ?? '';
712
+ const hasUnread = cls.includes('unread') || !!btn.querySelector('[class*="unread"]');
713
+ const needsAttention = !!btn.querySelector('.agent-status-dot--needs-attention');
714
+ return { title, composerId, active, isWorking, hasUnread, needsAttention };
715
+ }
716
+ const tabs = [];
717
+ const glassTabs = document.querySelectorAll('.glass-sidebar-agent-list-container li.ui-sidebar-menu-item > div.glass-sidebar-agent-menu-btn');
718
+ if (glassTabs.length > 0) {
719
+ glassTabs.forEach((cell, i) => {
720
+ const meta = readAgentBtnMeta(cell);
721
+ if (!meta)
722
+ return;
723
+ tabs.push({
724
+ id: meta.composerId || `tab-${i}`,
725
+ composerId: meta.composerId || undefined,
726
+ title: meta.title,
727
+ active: meta.active,
728
+ isWorking: meta.isWorking,
729
+ hasUnread: meta.hasUnread,
730
+ needsAttention: meta.needsAttention,
731
+ });
732
+ });
733
+ }
734
+ else {
735
+ for (const sel of tabSelectors) {
736
+ document.querySelectorAll(sel).forEach((cell, i) => {
737
+ const title = cell.getAttribute('aria-label') ??
738
+ cell.getAttribute('title') ??
739
+ cell.textContent?.trim() ??
740
+ `Chat ${i + 1}`;
741
+ const composerId = cell.getAttribute('data-composer-id') ||
742
+ cell.closest('[data-composer-id]')?.getAttribute('data-composer-id') ||
743
+ '';
744
+ const active = cell.classList.contains('active') ||
745
+ cell.getAttribute('aria-selected') === 'true' ||
746
+ cell.getAttribute('data-selected') === 'true' ||
747
+ cell.matches('.selected');
748
+ tabs.push({
749
+ id: composerId || `tab-${i}`,
750
+ composerId: composerId || undefined,
751
+ title: title.replace(/\s+/g, ' ').slice(0, 120),
752
+ active,
753
+ });
754
+ });
755
+ if (tabs.length)
756
+ break;
757
+ }
758
+ }
759
+ const pendingApprovals = [];
760
+ function isMenuTrigger(btn) {
761
+ const p = btn.getAttribute('aria-haspopup');
762
+ return p === 'menu' || p === 'true' || p === 'listbox';
763
+ }
764
+ function cleanLabel(raw) {
765
+ return raw.replace(/\s*(Shift\+)?⏎\s*/g, '').replace(/\s+/g, ' ').trim();
766
+ }
767
+ function extractPendingQuestionnaire() {
768
+ const toolbar = document.querySelector('.composer-questionnaire-toolbar');
769
+ if (!toolbar)
770
+ return undefined;
771
+ const title = toolbar.querySelector('.composer-questionnaire-toolbar-title')?.textContent?.trim() ||
772
+ 'Questions';
773
+ const questions = [];
774
+ let qEls = toolbar.querySelectorAll('.composer-questionnaire-toolbar-question-active');
775
+ if (!qEls.length) {
776
+ qEls = toolbar.querySelectorAll('.composer-questionnaire-toolbar-question');
777
+ }
778
+ qEls.forEach((qEl, qi) => {
779
+ const prompt = qEl.querySelector('.composer-questionnaire-toolbar-question-label')?.textContent?.trim() ||
780
+ '';
781
+ const options = [];
782
+ qEl.querySelectorAll('.composer-questionnaire-toolbar-option').forEach((optEl, oi) => {
783
+ const letter = optEl.querySelector('.composer-questionnaire-toolbar-option-letter')?.textContent?.trim() ||
784
+ '';
785
+ const label = optEl.querySelector('.composer-questionnaire-toolbar-option-label')?.textContent?.trim() ||
786
+ '';
787
+ const selected = optEl.classList.contains('composer-questionnaire-toolbar-option-focused') ||
788
+ !!optEl.querySelector('.composer-questionnaire-toolbar-option-label-selected');
789
+ options.push({
790
+ id: `q${qi}-o${oi}`,
791
+ letter,
792
+ label,
793
+ selected,
794
+ selectorPath: buildSelectorPath(optEl),
795
+ });
796
+ });
797
+ if (prompt || options.length) {
798
+ questions.push({ id: `q${qi}`, prompt, options });
799
+ }
800
+ });
801
+ const actions = [];
802
+ const actionRoot = toolbar.querySelector('.composer-questionnaire-toolbar-actions') || toolbar;
803
+ actionRoot.querySelectorAll('button').forEach((btn) => {
804
+ const label = cleanLabel(btn.textContent || '');
805
+ if (!label)
806
+ return;
807
+ let type = 'other';
808
+ if (/^skip$/i.test(label))
809
+ type = 'skip';
810
+ else if (/^continue$/i.test(label))
811
+ type = 'continue';
812
+ actions.push({ label, type, selectorPath: buildSelectorPath(btn) });
813
+ });
814
+ if (!questions.length && !actions.length)
815
+ return undefined;
816
+ return {
817
+ id: `questionnaire:${buildSelectorPath(toolbar)}`,
818
+ title,
819
+ questions,
820
+ actions,
821
+ };
822
+ }
823
+ for (const row of Array.from(container.querySelectorAll('.ui-shell-tool-call__approval-row'))) {
824
+ const card = row.closest('.ui-tool-call-card') || row.closest('.ui-shell-tool-call');
825
+ if (!card)
826
+ continue;
827
+ const actions = [];
828
+ const runBtn = row.querySelector('button.ui-shell-tool-call__run-btn');
829
+ if (runBtn && !isMenuTrigger(runBtn)) {
830
+ actions.push({
831
+ label: cleanLabel(runBtn.textContent || '') || 'Run',
832
+ type: 'approve',
833
+ selectorPath: buildSelectorPath(runBtn),
834
+ });
835
+ }
836
+ const skipBtn = row.querySelector('button.ui-shell-tool-call__skip-btn');
837
+ if (skipBtn && !isMenuTrigger(skipBtn)) {
838
+ actions.push({
839
+ label: cleanLabel(skipBtn.textContent || '') || 'Skip',
840
+ type: 'reject',
841
+ selectorPath: buildSelectorPath(skipBtn),
842
+ });
843
+ }
844
+ if (!actions.some((a) => a.type === 'approve'))
845
+ continue;
846
+ const cmd = card.querySelector('.ui-shell-tool-call__command')?.textContent?.trim();
847
+ pendingApprovals.push({
848
+ id: `tool:${buildSelectorPath(card)}`,
849
+ description: (cmd || 'Pending approval').slice(0, 240),
850
+ actions,
851
+ });
852
+ }
853
+ if (pendingApprovals.length === 0) {
854
+ const approveBtns = [];
855
+ const rejectBtns = [];
856
+ const seenA = new Set();
857
+ const seenR = new Set();
858
+ for (const sel of approveSelectors) {
859
+ try {
860
+ for (const btn of Array.from(container.querySelectorAll(sel))) {
861
+ if (seenA.has(btn) || isMenuTrigger(btn))
862
+ continue;
863
+ const label = btn.textContent?.trim() || btn.getAttribute('aria-label') || '';
864
+ if (label) {
865
+ seenA.add(btn);
866
+ approveBtns.push({ label, selector: buildSelectorPath(btn) });
867
+ }
868
+ }
869
+ }
870
+ catch {
871
+ /* skip */
872
+ }
873
+ }
874
+ if (approveBtns.length === 0) {
875
+ for (const btn of Array.from(container.querySelectorAll('button'))) {
876
+ if (seenA.has(btn) || isMenuTrigger(btn))
877
+ continue;
878
+ const text = `${btn.textContent || ''} ${btn.getAttribute('aria-label') || ''}`.toLowerCase();
879
+ for (const pat of approveTextMatch) {
880
+ if (text.includes(pat.toLowerCase())) {
881
+ seenA.add(btn);
882
+ approveBtns.push({
883
+ label: btn.textContent?.trim() || pat,
884
+ selector: buildSelectorPath(btn),
885
+ });
886
+ break;
887
+ }
888
+ }
889
+ }
890
+ }
891
+ for (const sel of rejectSelectors) {
892
+ try {
893
+ for (const btn of Array.from(container.querySelectorAll(sel))) {
894
+ if (seenR.has(btn) || isMenuTrigger(btn))
895
+ continue;
896
+ const label = btn.textContent?.trim() || btn.getAttribute('aria-label') || '';
897
+ if (label) {
898
+ seenR.add(btn);
899
+ rejectBtns.push({ label, selector: buildSelectorPath(btn) });
900
+ }
901
+ }
902
+ }
903
+ catch {
904
+ /* skip */
905
+ }
906
+ }
907
+ if (approveBtns.length > 0 || rejectBtns.length > 0) {
908
+ const actions = [];
909
+ for (const b of approveBtns) {
910
+ actions.push({
911
+ label: b.label,
912
+ type: b.label.toLowerCase().includes('all') ? 'approve_all' : 'approve',
913
+ selectorPath: b.selector,
914
+ });
915
+ }
916
+ for (const b of rejectBtns) {
917
+ actions.push({ label: b.label, type: 'reject', selectorPath: b.selector });
918
+ }
919
+ pendingApprovals.push({
920
+ id: approveBtns.map((b) => b.label).join(','),
921
+ description: approveBtns[0]?.label || 'Pending approval',
922
+ actions,
923
+ });
924
+ }
925
+ }
926
+ let activeTab = tabs.find((t) => t.active);
927
+ if (!activeTab) {
928
+ const headerTitle = document.querySelector('span.auxiliary-bar-chat-title')?.textContent?.trim() ?? '';
929
+ if (headerTitle) {
930
+ const norm = headerTitle
931
+ .replace(/\s+/g, ' ')
932
+ .replace(/\d+\s*(?:s|m|h|d|w)\b/gi, '')
933
+ .replace(/\d+[smhdw]$/i, '')
934
+ .trim()
935
+ .toLowerCase();
936
+ activeTab = tabs.find((t) => {
937
+ const tNorm = (t.title || '')
938
+ .replace(/\s+/g, ' ')
939
+ .replace(/\d+\s*(?:s|m|h|d|w)\b/gi, '')
940
+ .replace(/\d+[smhdw]$/i, '')
941
+ .trim()
942
+ .toLowerCase();
943
+ return tNorm === norm || tNorm.includes(norm) || norm.includes(tNorm);
944
+ });
945
+ }
946
+ }
947
+ const modeEl = document.querySelector('.composer-unified-dropdown[data-mode]');
948
+ const mode = modeEl?.getAttribute('data-mode') ?? undefined;
949
+ const model = document.querySelector('.composer-unified-dropdown-model')?.textContent?.trim() ??
950
+ undefined;
951
+ function composerScopes(r) {
952
+ return [
953
+ document.querySelector('[class*="agent-panel"]'),
954
+ document.querySelector('[class*="composer-panel"]'),
955
+ r.closest('.composer-bar'),
956
+ document.querySelector('.composer-bar'),
957
+ document.querySelector('[class*="composer-bar"]'),
958
+ r,
959
+ ].filter((el) => Boolean(el));
960
+ }
961
+ /** Active generation — Stop in composer (not stale loading dots in the thread). */
962
+ function detectAgentWorking(root) {
963
+ const stopSel = 'button[data-state="stop"], button[aria-label="Stop generation"], button[aria-label*="Stop"], a.codicon-debug-stop, [class*="stop-button"]';
964
+ const sendSel = 'button[data-state="submit"], button.ui-prompt-input-submit-button[data-state="submit"], button[aria-label*="Send"]';
965
+ for (const scope of composerScopes(root)) {
966
+ const stopBtn = scope.querySelector(stopSel);
967
+ if (stopBtn) {
968
+ const disabled = stopBtn.hasAttribute('disabled') ||
969
+ stopBtn.getAttribute('aria-disabled') === 'true';
970
+ if (!disabled)
971
+ return true;
972
+ }
973
+ }
974
+ for (const scope of composerScopes(root)) {
975
+ const sendBtn = scope.querySelector(sendSel);
976
+ if (sendBtn && sendBtn.getAttribute('data-state') !== 'stop') {
977
+ const disabled = sendBtn.hasAttribute('disabled') ||
978
+ sendBtn.getAttribute('aria-disabled') === 'true';
979
+ if (!disabled)
980
+ return false;
981
+ }
982
+ }
983
+ const title = document.querySelector('span.auxiliary-bar-chat-title')?.textContent?.trim() || '';
984
+ if (/generat|working|thinking|running|в работе/i.test(title) && !/waiting|approval/i.test(title)) {
985
+ return true;
986
+ }
987
+ return false;
988
+ }
989
+ function findBackgroundWorkStatusText(root) {
990
+ const flats = root.querySelectorAll('[data-flat-index]');
991
+ for (let i = flats.length - 1; i >= Math.max(0, flats.length - 3); i--) {
992
+ const hit = isBackgroundStatusRow(flats[i]);
993
+ if (hit)
994
+ return hit;
995
+ }
996
+ const composer = root.closest('.composer-bar') ||
997
+ document.querySelector('[class*="composer-bar"]');
998
+ if (!composer)
999
+ return undefined;
1000
+ for (const el of composer.querySelectorAll('span, p, div')) {
1001
+ if (el.closest('[data-flat-index]'))
1002
+ continue;
1003
+ if (el.closest('.composer-human-message, .markdown-root, .aislash-editor-input-readonly')) {
1004
+ continue;
1005
+ }
1006
+ if (el.querySelector('span, p, div'))
1007
+ continue;
1008
+ const t = (el.textContent || '').trim().replace(/\s+/g, ' ');
1009
+ const hit = matchBackgroundStatusLine(t);
1010
+ if (hit)
1011
+ return hit;
1012
+ }
1013
+ return undefined;
1014
+ }
1015
+ const pendingQuestionnaire = extractPendingQuestionnaire();
1016
+ const backgroundStatusText = pendingApprovals.length === 0 && !pendingQuestionnaire
1017
+ ? findBackgroundWorkStatusText(container)
1018
+ : undefined;
1019
+ const agentWorking = pendingApprovals.length === 0 &&
1020
+ !pendingQuestionnaire &&
1021
+ (detectAgentWorking(container) || !!backgroundStatusText);
1022
+ let agentStatus = document.querySelector('span.auxiliary-bar-chat-title')?.textContent?.trim() ||
1023
+ undefined;
1024
+ let agentStatusMessage;
1025
+ if (pendingQuestionnaire)
1026
+ agentStatus = 'waiting_questionnaire';
1027
+ else if (pendingApprovals.length > 0)
1028
+ agentStatus = 'waiting_approval';
1029
+ else if (agentWorking && backgroundStatusText) {
1030
+ agentStatus = 'background_shell';
1031
+ agentStatusMessage = backgroundStatusText;
1032
+ }
1033
+ else if (agentWorking)
1034
+ agentStatus = 'working';
1035
+ let contextPercent;
1036
+ let terminalCount;
1037
+ for (const el of Array.from(document.querySelectorAll('button, span, div'))) {
1038
+ const t = el.textContent?.trim() ?? '';
1039
+ if (contextPercent === undefined) {
1040
+ const m = t.match(/^(\d+)%\s*context$/i);
1041
+ if (m)
1042
+ contextPercent = Number(m[1]);
1043
+ }
1044
+ if (terminalCount === undefined) {
1045
+ const tm = t.match(/^(\d+)\s+Terminals?$/i);
1046
+ if (tm)
1047
+ terminalCount = Number(tm[1]);
1048
+ }
1049
+ }
1050
+ let workspace = '';
1051
+ try {
1052
+ const g = globalThis;
1053
+ const path = g.vscode?.context?.configuration?.()?.workspace?.uri?.path;
1054
+ if (path)
1055
+ workspace = path.split('/').filter(Boolean).pop() || '';
1056
+ }
1057
+ catch {
1058
+ /* ignore */
1059
+ }
1060
+ const sidebarRepos = [];
1061
+ const sidebarScroll = document.querySelector('[class*="glass-sidebar-scroll"]') ||
1062
+ document.querySelector('[class*="glass-sidebar-body"]') ||
1063
+ document.querySelector('[class*="glass-sidebar"]');
1064
+ if (sidebarScroll) {
1065
+ let section = null;
1066
+ for (const el of sidebarScroll.querySelectorAll('.ui-sidebar-section-head, li.ui-sidebar-menu-item > div.glass-sidebar-agent-menu-btn')) {
1067
+ if (el.classList.contains('ui-sidebar-section-head')) {
1068
+ const name = (el.textContent || '').trim().replace(/\s+/g, ' ').slice(0, 120);
1069
+ if (!name)
1070
+ continue;
1071
+ section = {
1072
+ id: name,
1073
+ name,
1074
+ path: '',
1075
+ agents: [],
1076
+ };
1077
+ sidebarRepos.push(section);
1078
+ continue;
1079
+ }
1080
+ const meta = readAgentBtnMeta(el);
1081
+ if (!meta || !section)
1082
+ continue;
1083
+ section.agents.push({
1084
+ id: meta.composerId || `sidebar-${section.agents.length}`,
1085
+ title: meta.title,
1086
+ updatedAt: Date.now(),
1087
+ messageCount: 0,
1088
+ isWorking: meta.isWorking,
1089
+ hasUnread: meta.hasUnread,
1090
+ needsAttention: meta.needsAttention,
1091
+ });
1092
+ }
1093
+ }
1094
+ function extractComposerDraftText() {
1095
+ const input = findFirst(inputSelectors);
1096
+ if (!input)
1097
+ return undefined;
1098
+ const t = ((input instanceof HTMLElement ? input.innerText : '') ||
1099
+ input.textContent ||
1100
+ '')
1101
+ .replace(/\u200b/g, ' ')
1102
+ .replace(/\s+/g, ' ')
1103
+ .trim();
1104
+ return t || undefined;
1105
+ }
1106
+ function extractComposerDraftImages() {
1107
+ const scopes = [
1108
+ findFirst(containerSelectors)?.closest('[class*="agent-panel"]'),
1109
+ document.querySelector('[class*="agent-panel"]'),
1110
+ document.querySelector('[class*="composer-panel"]'),
1111
+ findFirst(containerSelectors),
1112
+ ].filter(Boolean);
1113
+ const seen = new Set();
1114
+ const out = [];
1115
+ for (const scope of scopes) {
1116
+ for (const img of scope.querySelectorAll('img.image-pill-img, .image-pill-container img, img[alt="Attached image"]')) {
1117
+ if (img.closest('[data-flat-index]'))
1118
+ continue;
1119
+ const src = img.getAttribute('src');
1120
+ if (!src)
1121
+ continue;
1122
+ const raw = src.trim();
1123
+ let path = null;
1124
+ if (/^https?:\/\//i.test(raw))
1125
+ path = raw;
1126
+ else if (raw.startsWith('vscode-file://vscode-app')) {
1127
+ const rest = raw.slice('vscode-file://vscode-app'.length);
1128
+ const q = rest.indexOf('?');
1129
+ try {
1130
+ path = decodeURIComponent(q >= 0 ? rest.slice(0, q) : rest);
1131
+ }
1132
+ catch {
1133
+ path = null;
1134
+ }
1135
+ }
1136
+ else if (raw.startsWith('file://')) {
1137
+ try {
1138
+ path = decodeURIComponent(raw.replace(/^file:\/\//, ''));
1139
+ }
1140
+ catch {
1141
+ path = null;
1142
+ }
1143
+ }
1144
+ if (!path || seen.has(path))
1145
+ continue;
1146
+ seen.add(path);
1147
+ out.push(path);
1148
+ }
1149
+ }
1150
+ return out.length ? out : undefined;
1151
+ }
1152
+ const composerDraft = extractComposerDraftText();
1153
+ const composerDraftImages = extractComposerDraftImages();
1154
+ const activeChatTitle = document.querySelector('span.auxiliary-bar-chat-title')?.textContent?.trim() ||
1155
+ undefined;
1156
+ const resolvedComposerId = (() => {
1157
+ if (containerComposerId && /^[0-9a-f-]{36}$/i.test(containerComposerId)) {
1158
+ return containerComposerId;
1159
+ }
1160
+ return activeTab?.composerId || activeTab?.id || containerComposerId || undefined;
1161
+ })();
1162
+ messageDebug.extracted = messages.length;
1163
+ messageDebug.containerComposerId = containerComposerId || activeTab?.composerId;
1164
+ messageDebug.messagePreviews = messages.slice(-24).map((m) => ({
1165
+ id: m.id,
1166
+ role: m.role,
1167
+ len: m.text.length,
1168
+ flatIndex: m.flatIndex,
1169
+ }));
1170
+ return {
1171
+ workspace,
1172
+ tabs,
1173
+ sidebarRepos,
1174
+ activeTabId: activeTab?.id ?? tabs[0]?.id,
1175
+ activeComposerId: resolvedComposerId,
1176
+ activeChatTitle,
1177
+ messageDebug,
1178
+ messages,
1179
+ todos,
1180
+ todosTotalCount,
1181
+ todosViewAllSelectorPath,
1182
+ queuedMessages,
1183
+ pendingApprovals,
1184
+ pendingQuestionnaire,
1185
+ agentWorking,
1186
+ agentStatus,
1187
+ agentStatusMessage,
1188
+ contextPercent,
1189
+ terminalCount,
1190
+ mode,
1191
+ model,
1192
+ composerDraft,
1193
+ composerDraftImages,
1194
+ };
1195
+ }
1196
+ catch {
1197
+ return null;
1198
+ }
1199
+ }
1200
+ export async function extractPageState(client, selectors) {
1201
+ return (await client.callFunction(extractionFunction, selectors.chatContainer.strategies, selectors.chatTabList.strategies, selectors.chatInput.strategies, selectors.approveButton.strategies, selectors.approveButton.textMatch ?? [], selectors.rejectButton.strategies, selectors.rejectButton.textMatch ?? []));
1202
+ }