@openclaw/matrix 2026.9.5 → 2026.9.7

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 (2291) hide show
  1. package/assets/icon.png +0 -0
  2. package/dist/.setup/account-selection-B7axQ80R.mjs +196 -0
  3. package/dist/.setup/accounts-WkgrIxMt.mjs +138 -0
  4. package/dist/.setup/approval-handler.runtime-C-pw3NvY.mjs +408 -0
  5. package/dist/.setup/approval-reactions-BrS5ECU0.mjs +196 -0
  6. package/dist/.setup/channel-DXenXmj0.mjs +1198 -0
  7. package/dist/.setup/channel.runtime-BXUawOno.mjs +71 -0
  8. package/dist/.setup/channel.setup-DWfLaXqT.mjs +372 -0
  9. package/dist/.setup/cli-IhZO2OEj.mjs +1300 -0
  10. package/dist/.setup/cli-metadata-nowEgdY0.mjs +22 -0
  11. package/dist/.setup/client-BXATebyo.mjs +27 -0
  12. package/dist/.setup/client-Ccv77kwh.mjs +916 -0
  13. package/dist/.setup/client-bootstrap-BiHX55is.mjs +75 -0
  14. package/dist/.setup/config-update-5m1Un5gJ.mjs +145 -0
  15. package/dist/.setup/create-client-DRZ580E3.mjs +64 -0
  16. package/dist/.setup/credentials-C9qDO5-2.mjs +74 -0
  17. package/dist/.setup/credentials-read-KD4o5biZ.mjs +77 -0
  18. package/dist/.setup/crypto-runtime-DPjIDF8H.mjs +1077 -0
  19. package/dist/.setup/crypto-snapshot-doctor.runtime-44FrCPR7.mjs +91 -0
  20. package/dist/.setup/deps-CLQ4EOq7.mjs +162 -0
  21. package/dist/.setup/device-health-U-yoVjPw.mjs +21 -0
  22. package/dist/.setup/direct-management-Cn2t8n1V.mjs +300 -0
  23. package/dist/.setup/directory-live-_sw-Q7KO.mjs +118 -0
  24. package/dist/.setup/doctor-DMvEBx6o.mjs +49 -0
  25. package/dist/.setup/doctor-contract-De6geW0h.mjs +350 -0
  26. package/dist/.setup/draft-stream-CdVMstpR.mjs +157 -0
  27. package/dist/.setup/encryption-guidance-B6797jNA.mjs +16 -0
  28. package/dist/.setup/exec-approvals-fsiMQ1ce.mjs +186 -0
  29. package/dist/.setup/file-sync-store-B-9bMb_O.mjs +187 -0
  30. package/dist/.setup/http-client-C1XvVD3K.mjs +362 -0
  31. package/dist/.setup/idb-persistence-DBvfre1X.mjs +227 -0
  32. package/dist/.setup/idb-persistence-lock-D_mDu4Cf.mjs +27 -0
  33. package/dist/.setup/inbound-dedupe-BGrMrTTu.mjs +48 -0
  34. package/dist/.setup/joined-room-encryption-TZoOKXgh.mjs +67 -0
  35. package/dist/.setup/logger-CVv56jzH.mjs +74 -0
  36. package/dist/.setup/logging-mhnFQGzB.mjs +96 -0
  37. package/dist/.setup/messages-Buz27pi5.mjs +324 -0
  38. package/dist/.setup/monitor-BBg5qgov.mjs +4352 -0
  39. package/dist/.setup/onboarding-hJaieQj5.mjs +482 -0
  40. package/dist/.setup/outbound-C9vBijaH.mjs +199 -0
  41. package/dist/.setup/profile-B3DD2jYa.mjs +100 -0
  42. package/dist/.setup/profile-update-CmxIAd4c.mjs +66 -0
  43. package/dist/.setup/reaction-events-mnzc_JvP.mjs +168 -0
  44. package/dist/.setup/resolve-targets-BFq3q4c9.mjs +87 -0
  45. package/dist/.setup/room-info-BbTGRJcR.mjs +134 -0
  46. package/dist/.setup/sdk-DmRVM0VA.mjs +1907 -0
  47. package/dist/.setup/send-GOF64QRc.mjs +2117 -0
  48. package/dist/.setup/send-currentness-C2rMVVIQ.mjs +87 -0
  49. package/dist/.setup/setup-bootstrap-AzalcuCW.mjs +62 -0
  50. package/dist/.setup/setup-core-BeifoeL4.mjs +377 -0
  51. package/dist/.setup/setup-plugin-api-Bsbdw41x.mjs +3 -0
  52. package/dist/.setup/startup-verification-Aiy_xVdI.mjs +204 -0
  53. package/dist/.setup/storage-BXS2cB2i.mjs +288 -0
  54. package/dist/.setup/storage-metadata-BDRZ7vpX.mjs +371 -0
  55. package/dist/.setup/storage-paths-B51JM-pC.mjs +53 -0
  56. package/dist/.setup/subagent-hooks-D5kd_kzN.mjs +52 -0
  57. package/dist/.setup/sync-cache-state-C6sEmvJK.mjs +192 -0
  58. package/dist/.setup/thread-bindings-jXu_9cHE.mjs +443 -0
  59. package/dist/.setup/thread-bindings-shared-hxKkYC1W.mjs +89 -0
  60. package/dist/.setup/tool-actions-Ce7Okg6m.mjs +746 -0
  61. package/dist/.setup/url-validation-CF6pG6eE.mjs +36 -0
  62. package/dist/.setup/verification-C45rOZkM.mjs +329 -0
  63. package/dist/api.js +7 -7
  64. package/dist/channel-plugin-api.js +1 -1
  65. package/dist/cli-metadata.js +1 -1
  66. package/dist/contract-api.js +2 -2
  67. package/dist/doctor-contract-api.js +144 -290
  68. package/dist/helper-api.js +3 -3
  69. package/dist/index.js +1 -1
  70. package/dist/plugin-entry.handlers.runtime.js +17 -9
  71. package/dist/runtime-api.js +4 -4
  72. package/dist/session-binding-contract-api.js +1 -1
  73. package/dist/setup-entry.js +1 -1
  74. package/dist/setup-plugin-api.js +1 -1
  75. package/dist/subagent-hooks-api.js +1 -1
  76. package/dist/thread-bindings-runtime.js +1 -1
  77. package/node_modules/@babel/runtime/package.json +486 -0
  78. package/node_modules/@openclaw/fs-safe/CHANGELOG.md +1289 -0
  79. package/node_modules/@openclaw/fs-safe/LICENSE +22 -0
  80. package/node_modules/@openclaw/fs-safe/README.md +672 -0
  81. package/node_modules/@openclaw/fs-safe/SECURITY.md +45 -0
  82. package/node_modules/@openclaw/fs-safe/dist/absolute-path.d.ts +32 -0
  83. package/node_modules/@openclaw/fs-safe/dist/absolute-path.js +323 -0
  84. package/node_modules/@openclaw/fs-safe/dist/advanced.d.ts +41 -0
  85. package/node_modules/@openclaw/fs-safe/dist/advanced.js +40 -0
  86. package/node_modules/@openclaw/fs-safe/dist/archive-crc32.d.ts +1 -0
  87. package/node_modules/@openclaw/fs-safe/dist/archive-crc32.js +19 -0
  88. package/node_modules/@openclaw/fs-safe/dist/archive-deadline.d.ts +11 -0
  89. package/node_modules/@openclaw/fs-safe/dist/archive-deadline.js +101 -0
  90. package/node_modules/@openclaw/fs-safe/dist/archive-durability.d.ts +23 -0
  91. package/node_modules/@openclaw/fs-safe/dist/archive-durability.js +180 -0
  92. package/node_modules/@openclaw/fs-safe/dist/archive-entry.d.ts +13 -0
  93. package/node_modules/@openclaw/fs-safe/dist/archive-entry.js +85 -0
  94. package/node_modules/@openclaw/fs-safe/dist/archive-errors.d.ts +12 -0
  95. package/node_modules/@openclaw/fs-safe/dist/archive-errors.js +23 -0
  96. package/node_modules/@openclaw/fs-safe/dist/archive-gzip-tail.d.ts +20 -0
  97. package/node_modules/@openclaw/fs-safe/dist/archive-gzip-tail.js +99 -0
  98. package/node_modules/@openclaw/fs-safe/dist/archive-input.d.ts +18 -0
  99. package/node_modules/@openclaw/fs-safe/dist/archive-input.js +98 -0
  100. package/node_modules/@openclaw/fs-safe/dist/archive-kind.d.ts +7 -0
  101. package/node_modules/@openclaw/fs-safe/dist/archive-kind.js +71 -0
  102. package/node_modules/@openclaw/fs-safe/dist/archive-limits.d.ts +56 -0
  103. package/node_modules/@openclaw/fs-safe/dist/archive-limits.js +131 -0
  104. package/node_modules/@openclaw/fs-safe/dist/archive-merge.d.ts +22 -0
  105. package/node_modules/@openclaw/fs-safe/dist/archive-merge.js +282 -0
  106. package/node_modules/@openclaw/fs-safe/dist/archive-parser-errors.d.ts +1 -0
  107. package/node_modules/@openclaw/fs-safe/dist/archive-parser-errors.js +12 -0
  108. package/node_modules/@openclaw/fs-safe/dist/archive-parser.wasm +0 -0
  109. package/node_modules/@openclaw/fs-safe/dist/archive-plan.d.ts +85 -0
  110. package/node_modules/@openclaw/fs-safe/dist/archive-plan.js +119 -0
  111. package/node_modules/@openclaw/fs-safe/dist/archive-read.d.ts +5 -0
  112. package/node_modules/@openclaw/fs-safe/dist/archive-read.js +234 -0
  113. package/node_modules/@openclaw/fs-safe/dist/archive-staging.d.ts +32 -0
  114. package/node_modules/@openclaw/fs-safe/dist/archive-staging.js +308 -0
  115. package/node_modules/@openclaw/fs-safe/dist/archive-tar-stream.d.ts +27 -0
  116. package/node_modules/@openclaw/fs-safe/dist/archive-tar-stream.js +127 -0
  117. package/node_modules/@openclaw/fs-safe/dist/archive-tar-wasm.d.ts +29 -0
  118. package/node_modules/@openclaw/fs-safe/dist/archive-tar-wasm.js +203 -0
  119. package/node_modules/@openclaw/fs-safe/dist/archive-zip-admission.d.ts +7 -0
  120. package/node_modules/@openclaw/fs-safe/dist/archive-zip-admission.js +96 -0
  121. package/node_modules/@openclaw/fs-safe/dist/archive-zip-count.d.ts +1 -0
  122. package/node_modules/@openclaw/fs-safe/dist/archive-zip-count.js +160 -0
  123. package/node_modules/@openclaw/fs-safe/dist/archive-zip-directory.d.ts +21 -0
  124. package/node_modules/@openclaw/fs-safe/dist/archive-zip-directory.js +267 -0
  125. package/node_modules/@openclaw/fs-safe/dist/archive-zip-entry.d.ts +24 -0
  126. package/node_modules/@openclaw/fs-safe/dist/archive-zip-entry.js +10 -0
  127. package/node_modules/@openclaw/fs-safe/dist/archive-zip-integrity.d.ts +4 -0
  128. package/node_modules/@openclaw/fs-safe/dist/archive-zip-integrity.js +30 -0
  129. package/node_modules/@openclaw/fs-safe/dist/archive-zip-loader.d.ts +12 -0
  130. package/node_modules/@openclaw/fs-safe/dist/archive-zip-loader.js +150 -0
  131. package/node_modules/@openclaw/fs-safe/dist/archive-zip-manifest.d.ts +4 -0
  132. package/node_modules/@openclaw/fs-safe/dist/archive-zip-manifest.js +24 -0
  133. package/node_modules/@openclaw/fs-safe/dist/archive-zip-names.d.ts +17 -0
  134. package/node_modules/@openclaw/fs-safe/dist/archive-zip-names.js +149 -0
  135. package/node_modules/@openclaw/fs-safe/dist/archive-zip-preflight.d.ts +4 -0
  136. package/node_modules/@openclaw/fs-safe/dist/archive-zip-preflight.js +21 -0
  137. package/node_modules/@openclaw/fs-safe/dist/archive.d.ts +20 -0
  138. package/node_modules/@openclaw/fs-safe/dist/archive.js +332 -0
  139. package/node_modules/@openclaw/fs-safe/dist/async-lock.d.ts +1 -0
  140. package/node_modules/@openclaw/fs-safe/dist/async-lock.js +17 -0
  141. package/node_modules/@openclaw/fs-safe/dist/atomic.d.ts +6 -0
  142. package/node_modules/@openclaw/fs-safe/dist/atomic.js +4 -0
  143. package/node_modules/@openclaw/fs-safe/dist/bounded-read-stream.d.ts +2 -0
  144. package/node_modules/@openclaw/fs-safe/dist/bounded-read-stream.js +15 -0
  145. package/node_modules/@openclaw/fs-safe/dist/bounded-read.d.ts +25 -0
  146. package/node_modules/@openclaw/fs-safe/dist/bounded-read.js +143 -0
  147. package/node_modules/@openclaw/fs-safe/dist/byte-budget.d.ts +3 -0
  148. package/node_modules/@openclaw/fs-safe/dist/byte-budget.js +9 -0
  149. package/node_modules/@openclaw/fs-safe/dist/byte-view.d.ts +2 -0
  150. package/node_modules/@openclaw/fs-safe/dist/byte-view.js +13 -0
  151. package/node_modules/@openclaw/fs-safe/dist/clone-metadata.d.ts +19 -0
  152. package/node_modules/@openclaw/fs-safe/dist/clone-metadata.js +36 -0
  153. package/node_modules/@openclaw/fs-safe/dist/config.d.ts +2 -0
  154. package/node_modules/@openclaw/fs-safe/dist/config.js +2 -0
  155. package/node_modules/@openclaw/fs-safe/dist/containment.d.ts +1 -0
  156. package/node_modules/@openclaw/fs-safe/dist/copy-file-input.d.ts +21 -0
  157. package/node_modules/@openclaw/fs-safe/dist/copy-file-input.js +71 -0
  158. package/node_modules/@openclaw/fs-safe/dist/copy-policy.d.ts +2 -0
  159. package/node_modules/@openclaw/fs-safe/dist/copy-policy.js +8 -0
  160. package/node_modules/@openclaw/fs-safe/dist/copy-publication.d.ts +18 -0
  161. package/node_modules/@openclaw/fs-safe/dist/copy-publication.js +29 -0
  162. package/node_modules/@openclaw/fs-safe/dist/copy-tree-portable.d.ts +8 -0
  163. package/node_modules/@openclaw/fs-safe/dist/copy-tree-portable.js +245 -0
  164. package/node_modules/@openclaw/fs-safe/dist/copy.d.ts +15 -0
  165. package/node_modules/@openclaw/fs-safe/dist/copy.js +143 -0
  166. package/node_modules/@openclaw/fs-safe/dist/create-owned-file.d.ts +7 -0
  167. package/node_modules/@openclaw/fs-safe/dist/create-owned-file.js +16 -0
  168. package/node_modules/@openclaw/fs-safe/dist/create.d.ts +17 -0
  169. package/node_modules/@openclaw/fs-safe/dist/create.js +388 -0
  170. package/node_modules/@openclaw/fs-safe/dist/creation-boundary.d.ts +60 -0
  171. package/node_modules/@openclaw/fs-safe/dist/creation-boundary.js +371 -0
  172. package/node_modules/@openclaw/fs-safe/dist/deny-mutation-match.d.ts +2 -0
  173. package/node_modules/@openclaw/fs-safe/dist/deny-mutation-match.js +71 -0
  174. package/node_modules/@openclaw/fs-safe/dist/deny-mutations.d.ts +11 -0
  175. package/node_modules/@openclaw/fs-safe/dist/deny-mutations.js +96 -0
  176. package/node_modules/@openclaw/fs-safe/dist/device-path.d.ts +14 -0
  177. package/node_modules/@openclaw/fs-safe/dist/device-path.js +139 -0
  178. package/node_modules/@openclaw/fs-safe/dist/directory-durability.d.ts +43 -0
  179. package/node_modules/@openclaw/fs-safe/dist/directory-durability.js +286 -0
  180. package/node_modules/@openclaw/fs-safe/dist/directory-entry-path.d.ts +2 -0
  181. package/node_modules/@openclaw/fs-safe/dist/directory-entry-path.js +21 -0
  182. package/node_modules/@openclaw/fs-safe/dist/directory-guard.d.ts +54 -0
  183. package/node_modules/@openclaw/fs-safe/dist/directory-guard.js +176 -0
  184. package/node_modules/@openclaw/fs-safe/dist/directory-mode-node.d.ts +39 -0
  185. package/node_modules/@openclaw/fs-safe/dist/directory-mode-node.js +285 -0
  186. package/node_modules/@openclaw/fs-safe/dist/directory-receipt.d.ts +23 -0
  187. package/node_modules/@openclaw/fs-safe/dist/directory-receipt.js +121 -0
  188. package/node_modules/@openclaw/fs-safe/dist/durability.d.ts +4 -0
  189. package/node_modules/@openclaw/fs-safe/dist/durability.js +3 -0
  190. package/node_modules/@openclaw/fs-safe/dist/effective-uid.d.ts +1 -0
  191. package/node_modules/@openclaw/fs-safe/dist/effective-uid.js +22 -0
  192. package/node_modules/@openclaw/fs-safe/dist/error-detail.d.ts +2 -0
  193. package/node_modules/@openclaw/fs-safe/dist/error-detail.js +13 -0
  194. package/node_modules/@openclaw/fs-safe/dist/errors.d.ts +15 -0
  195. package/node_modules/@openclaw/fs-safe/dist/errors.js +27 -0
  196. package/node_modules/@openclaw/fs-safe/dist/file-cleanup.d.ts +19 -0
  197. package/node_modules/@openclaw/fs-safe/dist/file-cleanup.js +81 -0
  198. package/node_modules/@openclaw/fs-safe/dist/file-contents.d.ts +5 -0
  199. package/node_modules/@openclaw/fs-safe/dist/file-contents.js +40 -0
  200. package/node_modules/@openclaw/fs-safe/dist/file-handle-transfer.d.ts +15 -0
  201. package/node_modules/@openclaw/fs-safe/dist/file-handle-transfer.js +190 -0
  202. package/node_modules/@openclaw/fs-safe/dist/file-hash.d.ts +16 -0
  203. package/node_modules/@openclaw/fs-safe/dist/file-hash.js +296 -0
  204. package/node_modules/@openclaw/fs-safe/dist/file-identity.d.ts +7 -0
  205. package/node_modules/@openclaw/fs-safe/dist/file-identity.js +56 -0
  206. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-acquisition.d.ts +22 -0
  207. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-acquisition.js +98 -0
  208. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-admission.d.ts +17 -0
  209. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-admission.js +58 -0
  210. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.d.ts +3 -0
  211. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-acquire.js +303 -0
  212. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-arbitration.d.ts +17 -0
  213. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-arbitration.js +66 -0
  214. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-held.d.ts +25 -0
  215. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-held.js +392 -0
  216. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-io.d.ts +40 -0
  217. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-io.js +209 -0
  218. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-mutation.d.ts +16 -0
  219. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-mutation.js +275 -0
  220. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-options.d.ts +11 -0
  221. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-options.js +58 -0
  222. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-registration.d.ts +1 -0
  223. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root-registration.js +90 -0
  224. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root.d.ts +34 -0
  225. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-root.js +288 -0
  226. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-stale-admission.d.ts +19 -0
  227. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync-stale-admission.js +199 -0
  228. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync.d.ts +17 -0
  229. package/node_modules/@openclaw/fs-safe/dist/file-lock-sync.js +341 -0
  230. package/node_modules/@openclaw/fs-safe/dist/file-lock.d.ts +23 -0
  231. package/node_modules/@openclaw/fs-safe/dist/file-lock.js +66 -0
  232. package/node_modules/@openclaw/fs-safe/dist/file-observation.d.ts +8 -0
  233. package/node_modules/@openclaw/fs-safe/dist/file-observation.js +22 -0
  234. package/node_modules/@openclaw/fs-safe/dist/file-store-boundary.d.ts +34 -0
  235. package/node_modules/@openclaw/fs-safe/dist/file-store-boundary.js +174 -0
  236. package/node_modules/@openclaw/fs-safe/dist/file-store-prune.d.ts +11 -0
  237. package/node_modules/@openclaw/fs-safe/dist/file-store-prune.js +110 -0
  238. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-directory.d.ts +15 -0
  239. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-directory.js +319 -0
  240. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-write.d.ts +9 -0
  241. package/node_modules/@openclaw/fs-safe/dist/file-store-sync-write.js +128 -0
  242. package/node_modules/@openclaw/fs-safe/dist/file-store.d.ts +62 -0
  243. package/node_modules/@openclaw/fs-safe/dist/file-store.js +360 -0
  244. package/node_modules/@openclaw/fs-safe/dist/file-sync.d.ts +4 -0
  245. package/node_modules/@openclaw/fs-safe/dist/file-sync.js +19 -0
  246. package/node_modules/@openclaw/fs-safe/dist/filename.d.ts +8 -0
  247. package/node_modules/@openclaw/fs-safe/dist/filename.js +138 -0
  248. package/node_modules/@openclaw/fs-safe/dist/fs.d.ts +12 -0
  249. package/node_modules/@openclaw/fs-safe/dist/fs.js +30 -0
  250. package/node_modules/@openclaw/fs-safe/dist/guarded-mkdir.d.ts +25 -0
  251. package/node_modules/@openclaw/fs-safe/dist/guarded-mkdir.js +281 -0
  252. package/node_modules/@openclaw/fs-safe/dist/guarded-mutation.d.ts +32 -0
  253. package/node_modules/@openclaw/fs-safe/dist/guarded-mutation.js +81 -0
  254. package/node_modules/@openclaw/fs-safe/dist/guest-dispatch-python.d.ts +1 -0
  255. package/node_modules/@openclaw/fs-safe/dist/guest-dispatch-python.js +68 -0
  256. package/node_modules/@openclaw/fs-safe/dist/guest-native-python.d.ts +3 -0
  257. package/node_modules/@openclaw/fs-safe/dist/guest-native-python.js +127 -0
  258. package/node_modules/@openclaw/fs-safe/dist/guest.d.ts +8 -0
  259. package/node_modules/@openclaw/fs-safe/dist/guest.js +433 -0
  260. package/node_modules/@openclaw/fs-safe/dist/home-dir.d.ts +11 -0
  261. package/node_modules/@openclaw/fs-safe/dist/home-dir.js +149 -0
  262. package/node_modules/@openclaw/fs-safe/dist/index.d.ts +9 -0
  263. package/node_modules/@openclaw/fs-safe/dist/index.js +5 -0
  264. package/node_modules/@openclaw/fs-safe/dist/install-path.d.ts +25 -0
  265. package/node_modules/@openclaw/fs-safe/dist/install-path.js +136 -0
  266. package/node_modules/@openclaw/fs-safe/dist/json-document-store.d.ts +32 -0
  267. package/node_modules/@openclaw/fs-safe/dist/json-document-store.js +105 -0
  268. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-directory.d.ts +14 -0
  269. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-directory.js +154 -0
  270. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-ownership.d.ts +19 -0
  271. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-ownership.js +355 -0
  272. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-read.d.ts +5 -0
  273. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue-read.js +65 -0
  274. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue.d.ts +44 -0
  275. package/node_modules/@openclaw/fs-safe/dist/json-durable-queue.js +210 -0
  276. package/node_modules/@openclaw/fs-safe/dist/json-store.d.ts +8 -0
  277. package/node_modules/@openclaw/fs-safe/dist/json-store.js +15 -0
  278. package/node_modules/@openclaw/fs-safe/dist/json-stringify.d.ts +1 -0
  279. package/node_modules/@openclaw/fs-safe/dist/json-stringify.js +7 -0
  280. package/node_modules/@openclaw/fs-safe/dist/json.d.ts +49 -0
  281. package/node_modules/@openclaw/fs-safe/dist/json.js +323 -0
  282. package/node_modules/@openclaw/fs-safe/dist/local-file-access.d.ts +8 -0
  283. package/node_modules/@openclaw/fs-safe/dist/local-file-access.js +81 -0
  284. package/node_modules/@openclaw/fs-safe/dist/local-file-descriptor.d.ts +13 -0
  285. package/node_modules/@openclaw/fs-safe/dist/local-file-descriptor.js +84 -0
  286. package/node_modules/@openclaw/fs-safe/dist/local-roots.d.ts +20 -0
  287. package/node_modules/@openclaw/fs-safe/dist/local-roots.js +160 -0
  288. package/node_modules/@openclaw/fs-safe/dist/lock-config.d.ts +9 -0
  289. package/node_modules/@openclaw/fs-safe/dist/lock-config.js +12 -0
  290. package/node_modules/@openclaw/fs-safe/dist/move-path-cleanup.d.ts +30 -0
  291. package/node_modules/@openclaw/fs-safe/dist/move-path-cleanup.js +224 -0
  292. package/node_modules/@openclaw/fs-safe/dist/move-path-stage.d.ts +7 -0
  293. package/node_modules/@openclaw/fs-safe/dist/move-path-stage.js +56 -0
  294. package/node_modules/@openclaw/fs-safe/dist/move-path.d.ts +20 -0
  295. package/node_modules/@openclaw/fs-safe/dist/move-path.js +390 -0
  296. package/node_modules/@openclaw/fs-safe/dist/mutation-authority.d.ts +8 -0
  297. package/node_modules/@openclaw/fs-safe/dist/mutation-authority.js +41 -0
  298. package/node_modules/@openclaw/fs-safe/dist/native-binding.d.ts +199 -0
  299. package/node_modules/@openclaw/fs-safe/dist/native-binding.js +8 -0
  300. package/node_modules/@openclaw/fs-safe/dist/native-config.d.ts +16 -0
  301. package/node_modules/@openclaw/fs-safe/dist/native-config.js +71 -0
  302. package/node_modules/@openclaw/fs-safe/dist/native-directory-observation.d.ts +16 -0
  303. package/node_modules/@openclaw/fs-safe/dist/native-directory-observation.js +37 -0
  304. package/node_modules/@openclaw/fs-safe/dist/native-fallback-warning.d.ts +3 -0
  305. package/node_modules/@openclaw/fs-safe/dist/native-fallback-warning.js +11 -0
  306. package/node_modules/@openclaw/fs-safe/dist/native-operations.d.ts +15 -0
  307. package/node_modules/@openclaw/fs-safe/dist/native-operations.js +111 -0
  308. package/node_modules/@openclaw/fs-safe/dist/native-parent-admission.d.ts +34 -0
  309. package/node_modules/@openclaw/fs-safe/dist/native-parent-admission.js +147 -0
  310. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write-windows.d.ts +6 -0
  311. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write-windows.js +252 -0
  312. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write.d.ts +4 -0
  313. package/node_modules/@openclaw/fs-safe/dist/native-pinned-write.js +478 -0
  314. package/node_modules/@openclaw/fs-safe/dist/native-policy-directory-observation.d.ts +11 -0
  315. package/node_modules/@openclaw/fs-safe/dist/native-policy-directory-observation.js +61 -0
  316. package/node_modules/@openclaw/fs-safe/dist/native-policy-parent-windows.d.ts +13 -0
  317. package/node_modules/@openclaw/fs-safe/dist/native-policy-parent-windows.js +209 -0
  318. package/node_modules/@openclaw/fs-safe/dist/native-rename-outcome.d.ts +3 -0
  319. package/node_modules/@openclaw/fs-safe/dist/native-rename-outcome.js +8 -0
  320. package/node_modules/@openclaw/fs-safe/dist/native-staged-file.d.ts +45 -0
  321. package/node_modules/@openclaw/fs-safe/dist/native-staged-file.js +442 -0
  322. package/node_modules/@openclaw/fs-safe/dist/native-staged-symlink.d.ts +13 -0
  323. package/node_modules/@openclaw/fs-safe/dist/native-staged-symlink.js +303 -0
  324. package/node_modules/@openclaw/fs-safe/dist/native.d.ts +13 -0
  325. package/node_modules/@openclaw/fs-safe/dist/native.js +209 -0
  326. package/node_modules/@openclaw/fs-safe/dist/opened-file-failure.d.ts +7 -0
  327. package/node_modules/@openclaw/fs-safe/dist/opened-file-failure.js +46 -0
  328. package/node_modules/@openclaw/fs-safe/dist/opened-realpath.d.ts +15 -0
  329. package/node_modules/@openclaw/fs-safe/dist/opened-realpath.js +102 -0
  330. package/node_modules/@openclaw/fs-safe/dist/output.d.ts +16 -0
  331. package/node_modules/@openclaw/fs-safe/dist/output.js +139 -0
  332. package/node_modules/@openclaw/fs-safe/dist/overwrite-file-handle.d.ts +7 -0
  333. package/node_modules/@openclaw/fs-safe/dist/overwrite-file-handle.js +46 -0
  334. package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch-worker.d.ts +1 -0
  335. package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch-worker.js +54 -0
  336. package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch.d.ts +5 -0
  337. package/node_modules/@openclaw/fs-safe/dist/owner-dacl-batch.js +64 -0
  338. package/node_modules/@openclaw/fs-safe/dist/owner-dacl.d.ts +32 -0
  339. package/node_modules/@openclaw/fs-safe/dist/owner-dacl.js +39 -0
  340. package/node_modules/@openclaw/fs-safe/dist/path-case.d.ts +6 -0
  341. package/node_modules/@openclaw/fs-safe/dist/path-case.js +136 -0
  342. package/node_modules/@openclaw/fs-safe/dist/path-policy.d.ts +24 -0
  343. package/node_modules/@openclaw/fs-safe/dist/path-policy.js +49 -0
  344. package/node_modules/@openclaw/fs-safe/dist/path-prefix.d.ts +6 -0
  345. package/node_modules/@openclaw/fs-safe/dist/path-prefix.js +104 -0
  346. package/node_modules/@openclaw/fs-safe/dist/path-scope-lexical.d.ts +13 -0
  347. package/node_modules/@openclaw/fs-safe/dist/path-scope-lexical.js +37 -0
  348. package/node_modules/@openclaw/fs-safe/dist/path-segment-route.d.ts +6 -0
  349. package/node_modules/@openclaw/fs-safe/dist/path-segment-route.js +24 -0
  350. package/node_modules/@openclaw/fs-safe/dist/path-suffix-aliases.d.ts +11 -0
  351. package/node_modules/@openclaw/fs-safe/dist/path-suffix-aliases.js +394 -0
  352. package/node_modules/@openclaw/fs-safe/dist/path.d.ts +20 -0
  353. package/node_modules/@openclaw/fs-safe/dist/path.js +185 -0
  354. package/node_modules/@openclaw/fs-safe/dist/permission-exec.d.ts +32 -0
  355. package/node_modules/@openclaw/fs-safe/dist/permission-exec.js +194 -0
  356. package/node_modules/@openclaw/fs-safe/dist/permissions-public.d.ts +5 -0
  357. package/node_modules/@openclaw/fs-safe/dist/permissions-public.js +4 -0
  358. package/node_modules/@openclaw/fs-safe/dist/permissions-windows.d.ts +48 -0
  359. package/node_modules/@openclaw/fs-safe/dist/permissions-windows.js +319 -0
  360. package/node_modules/@openclaw/fs-safe/dist/permissions.d.ts +52 -0
  361. package/node_modules/@openclaw/fs-safe/dist/permissions.js +131 -0
  362. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-admission.d.ts +23 -0
  363. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-admission.js +421 -0
  364. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-observation.d.ts +38 -0
  365. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-observation.js +205 -0
  366. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-shared-route.d.ts +18 -0
  367. package/node_modules/@openclaw/fs-safe/dist/pinned-mutation-shared-route.js +70 -0
  368. package/node_modules/@openclaw/fs-safe/dist/pinned-open.d.ts +30 -0
  369. package/node_modules/@openclaw/fs-safe/dist/pinned-open.js +98 -0
  370. package/node_modules/@openclaw/fs-safe/dist/pinned-operation.d.ts +1 -0
  371. package/node_modules/@openclaw/fs-safe/dist/pinned-operation.js +22 -0
  372. package/node_modules/@openclaw/fs-safe/dist/pinned-write-input.d.ts +3 -0
  373. package/node_modules/@openclaw/fs-safe/dist/pinned-write-input.js +35 -0
  374. package/node_modules/@openclaw/fs-safe/dist/pinned-write-mode.d.ts +4 -0
  375. package/node_modules/@openclaw/fs-safe/dist/pinned-write-mode.js +31 -0
  376. package/node_modules/@openclaw/fs-safe/dist/pinned-write-staged.d.ts +5 -0
  377. package/node_modules/@openclaw/fs-safe/dist/pinned-write-staged.js +185 -0
  378. package/node_modules/@openclaw/fs-safe/dist/pinned-write-types.d.ts +68 -0
  379. package/node_modules/@openclaw/fs-safe/dist/pinned-write-types.js +1 -0
  380. package/node_modules/@openclaw/fs-safe/dist/pinned-write.d.ts +12 -0
  381. package/node_modules/@openclaw/fs-safe/dist/pinned-write.js +300 -0
  382. package/node_modules/@openclaw/fs-safe/dist/positional-read.d.ts +8 -0
  383. package/node_modules/@openclaw/fs-safe/dist/positional-read.js +36 -0
  384. package/node_modules/@openclaw/fs-safe/dist/private-directory.d.ts +4 -0
  385. package/node_modules/@openclaw/fs-safe/dist/private-directory.js +30 -0
  386. package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff-sync.d.ts +3 -0
  387. package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff-sync.js +72 -0
  388. package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff.d.ts +53 -0
  389. package/node_modules/@openclaw/fs-safe/dist/private-producer-handoff.js +358 -0
  390. package/node_modules/@openclaw/fs-safe/dist/private-temp-workspace.d.ts +7 -0
  391. package/node_modules/@openclaw/fs-safe/dist/private-temp-workspace.js +341 -0
  392. package/node_modules/@openclaw/fs-safe/dist/publish-copy-stage.d.ts +13 -0
  393. package/node_modules/@openclaw/fs-safe/dist/publish-copy-stage.js +60 -0
  394. package/node_modules/@openclaw/fs-safe/dist/publish-file-failure.d.ts +27 -0
  395. package/node_modules/@openclaw/fs-safe/dist/publish-file-failure.js +22 -0
  396. package/node_modules/@openclaw/fs-safe/dist/publish-file.d.ts +19 -0
  397. package/node_modules/@openclaw/fs-safe/dist/publish-file.js +332 -0
  398. package/node_modules/@openclaw/fs-safe/dist/read-open-flags.d.ts +7 -0
  399. package/node_modules/@openclaw/fs-safe/dist/read-open-flags.js +13 -0
  400. package/node_modules/@openclaw/fs-safe/dist/read-opened-file.d.ts +17 -0
  401. package/node_modules/@openclaw/fs-safe/dist/read-opened-file.js +18 -0
  402. package/node_modules/@openclaw/fs-safe/dist/realpath.d.ts +3 -0
  403. package/node_modules/@openclaw/fs-safe/dist/realpath.js +43 -0
  404. package/node_modules/@openclaw/fs-safe/dist/recursive-mkdir-path.d.ts +2 -0
  405. package/node_modules/@openclaw/fs-safe/dist/recursive-mkdir-path.js +8 -0
  406. package/node_modules/@openclaw/fs-safe/dist/regular-file.d.ts +37 -0
  407. package/node_modules/@openclaw/fs-safe/dist/regular-file.js +317 -0
  408. package/node_modules/@openclaw/fs-safe/dist/replace-directory.d.ts +6 -0
  409. package/node_modules/@openclaw/fs-safe/dist/replace-directory.js +275 -0
  410. package/node_modules/@openclaw/fs-safe/dist/replace-file-buffer.d.ts +4 -0
  411. package/node_modules/@openclaw/fs-safe/dist/replace-file-buffer.js +36 -0
  412. package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-fallback.d.ts +32 -0
  413. package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-fallback.js +369 -0
  414. package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-source.d.ts +20 -0
  415. package/node_modules/@openclaw/fs-safe/dist/replace-file-copy-source.js +101 -0
  416. package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.d.ts +46 -0
  417. package/node_modules/@openclaw/fs-safe/dist/replace-file-descriptor.js +168 -0
  418. package/node_modules/@openclaw/fs-safe/dist/replace-file-destination.d.ts +21 -0
  419. package/node_modules/@openclaw/fs-safe/dist/replace-file-destination.js +123 -0
  420. package/node_modules/@openclaw/fs-safe/dist/replace-file-mode.d.ts +2 -0
  421. package/node_modules/@openclaw/fs-safe/dist/replace-file-mode.js +10 -0
  422. package/node_modules/@openclaw/fs-safe/dist/replace-file-mutation.d.ts +26 -0
  423. package/node_modules/@openclaw/fs-safe/dist/replace-file-mutation.js +47 -0
  424. package/node_modules/@openclaw/fs-safe/dist/replace-file-rename-policy.d.ts +5 -0
  425. package/node_modules/@openclaw/fs-safe/dist/replace-file-rename-policy.js +30 -0
  426. package/node_modules/@openclaw/fs-safe/dist/replace-file-temp-owner.d.ts +49 -0
  427. package/node_modules/@openclaw/fs-safe/dist/replace-file-temp-owner.js +368 -0
  428. package/node_modules/@openclaw/fs-safe/dist/replace-file-types.d.ts +55 -0
  429. package/node_modules/@openclaw/fs-safe/dist/replace-file-types.js +1 -0
  430. package/node_modules/@openclaw/fs-safe/dist/replace-file.d.ts +6 -0
  431. package/node_modules/@openclaw/fs-safe/dist/replace-file.js +356 -0
  432. package/node_modules/@openclaw/fs-safe/dist/retained-directory-replacement.d.ts +26 -0
  433. package/node_modules/@openclaw/fs-safe/dist/retained-directory-replacement.js +193 -0
  434. package/node_modules/@openclaw/fs-safe/dist/retained-file-types.d.ts +50 -0
  435. package/node_modules/@openclaw/fs-safe/dist/retained-file-types.js +1 -0
  436. package/node_modules/@openclaw/fs-safe/dist/retained-file.d.ts +3 -0
  437. package/node_modules/@openclaw/fs-safe/dist/retained-file.js +121 -0
  438. package/node_modules/@openclaw/fs-safe/dist/root-boundary.d.ts +29 -0
  439. package/node_modules/@openclaw/fs-safe/dist/root-boundary.js +186 -0
  440. package/node_modules/@openclaw/fs-safe/dist/root-context.d.ts +43 -0
  441. package/node_modules/@openclaw/fs-safe/dist/root-context.js +233 -0
  442. package/node_modules/@openclaw/fs-safe/dist/root-create-input.d.ts +16 -0
  443. package/node_modules/@openclaw/fs-safe/dist/root-create-input.js +93 -0
  444. package/node_modules/@openclaw/fs-safe/dist/root-directory-creation.d.ts +12 -0
  445. package/node_modules/@openclaw/fs-safe/dist/root-directory-creation.js +225 -0
  446. package/node_modules/@openclaw/fs-safe/dist/root-directory-entry.d.ts +9 -0
  447. package/node_modules/@openclaw/fs-safe/dist/root-directory-entry.js +28 -0
  448. package/node_modules/@openclaw/fs-safe/dist/root-directory-list.d.ts +46 -0
  449. package/node_modules/@openclaw/fs-safe/dist/root-directory-list.js +433 -0
  450. package/node_modules/@openclaw/fs-safe/dist/root-directory.d.ts +22 -0
  451. package/node_modules/@openclaw/fs-safe/dist/root-directory.js +141 -0
  452. package/node_modules/@openclaw/fs-safe/dist/root-entries.d.ts +10 -0
  453. package/node_modules/@openclaw/fs-safe/dist/root-entries.js +61 -0
  454. package/node_modules/@openclaw/fs-safe/dist/root-errors.d.ts +16 -0
  455. package/node_modules/@openclaw/fs-safe/dist/root-errors.js +92 -0
  456. package/node_modules/@openclaw/fs-safe/dist/root-file-final-admission.d.ts +20 -0
  457. package/node_modules/@openclaw/fs-safe/dist/root-file-final-admission.js +81 -0
  458. package/node_modules/@openclaw/fs-safe/dist/root-file.d.ts +46 -0
  459. package/node_modules/@openclaw/fs-safe/dist/root-file.js +205 -0
  460. package/node_modules/@openclaw/fs-safe/dist/root-handle-context.d.ts +4 -0
  461. package/node_modules/@openclaw/fs-safe/dist/root-handle-context.js +12 -0
  462. package/node_modules/@openclaw/fs-safe/dist/root-impl.d.ts +117 -0
  463. package/node_modules/@openclaw/fs-safe/dist/root-impl.js +1446 -0
  464. package/node_modules/@openclaw/fs-safe/dist/root-move-noreplace.d.ts +10 -0
  465. package/node_modules/@openclaw/fs-safe/dist/root-move-noreplace.js +205 -0
  466. package/node_modules/@openclaw/fs-safe/dist/root-move-preflight.d.ts +7 -0
  467. package/node_modules/@openclaw/fs-safe/dist/root-move-preflight.js +16 -0
  468. package/node_modules/@openclaw/fs-safe/dist/root-observed-path.d.ts +7 -0
  469. package/node_modules/@openclaw/fs-safe/dist/root-observed-path.js +90 -0
  470. package/node_modules/@openclaw/fs-safe/dist/root-options.d.ts +84 -0
  471. package/node_modules/@openclaw/fs-safe/dist/root-options.js +18 -0
  472. package/node_modules/@openclaw/fs-safe/dist/root-path-errors.d.ts +12 -0
  473. package/node_modules/@openclaw/fs-safe/dist/root-path-errors.js +22 -0
  474. package/node_modules/@openclaw/fs-safe/dist/root-path-existing.d.ts +12 -0
  475. package/node_modules/@openclaw/fs-safe/dist/root-path-existing.js +160 -0
  476. package/node_modules/@openclaw/fs-safe/dist/root-path-observation.d.ts +55 -0
  477. package/node_modules/@openclaw/fs-safe/dist/root-path-observation.js +180 -0
  478. package/node_modules/@openclaw/fs-safe/dist/root-path-stat.d.ts +4 -0
  479. package/node_modules/@openclaw/fs-safe/dist/root-path-stat.js +151 -0
  480. package/node_modules/@openclaw/fs-safe/dist/root-path.d.ts +53 -0
  481. package/node_modules/@openclaw/fs-safe/dist/root-path.js +440 -0
  482. package/node_modules/@openclaw/fs-safe/dist/root-paths-lexical.d.ts +8 -0
  483. package/node_modules/@openclaw/fs-safe/dist/root-paths-lexical.js +22 -0
  484. package/node_modules/@openclaw/fs-safe/dist/root-paths.d.ts +58 -0
  485. package/node_modules/@openclaw/fs-safe/dist/root-paths.js +296 -0
  486. package/node_modules/@openclaw/fs-safe/dist/root-public-types.d.ts +11 -0
  487. package/node_modules/@openclaw/fs-safe/dist/root-public-types.js +1 -0
  488. package/node_modules/@openclaw/fs-safe/dist/root-read-admission.d.ts +25 -0
  489. package/node_modules/@openclaw/fs-safe/dist/root-read-admission.js +86 -0
  490. package/node_modules/@openclaw/fs-safe/dist/root-remove-identity.d.ts +12 -0
  491. package/node_modules/@openclaw/fs-safe/dist/root-remove-identity.js +87 -0
  492. package/node_modules/@openclaw/fs-safe/dist/root-remove-receipt.d.ts +16 -0
  493. package/node_modules/@openclaw/fs-safe/dist/root-remove-receipt.js +37 -0
  494. package/node_modules/@openclaw/fs-safe/dist/root-remove.d.ts +6 -0
  495. package/node_modules/@openclaw/fs-safe/dist/root-remove.js +464 -0
  496. package/node_modules/@openclaw/fs-safe/dist/root-symlink-policy.d.ts +13 -0
  497. package/node_modules/@openclaw/fs-safe/dist/root-symlink-policy.js +34 -0
  498. package/node_modules/@openclaw/fs-safe/dist/root-walk.d.ts +48 -0
  499. package/node_modules/@openclaw/fs-safe/dist/root-walk.js +234 -0
  500. package/node_modules/@openclaw/fs-safe/dist/root-write-admission.d.ts +65 -0
  501. package/node_modules/@openclaw/fs-safe/dist/root-write-admission.js +299 -0
  502. package/node_modules/@openclaw/fs-safe/dist/root-write-compatibility.d.ts +11 -0
  503. package/node_modules/@openclaw/fs-safe/dist/root-write-compatibility.js +23 -0
  504. package/node_modules/@openclaw/fs-safe/dist/root-write-complete-parent.d.ts +43 -0
  505. package/node_modules/@openclaw/fs-safe/dist/root-write-complete-parent.js +180 -0
  506. package/node_modules/@openclaw/fs-safe/dist/root-write-lock-binding.d.ts +14 -0
  507. package/node_modules/@openclaw/fs-safe/dist/root-write-lock-binding.js +162 -0
  508. package/node_modules/@openclaw/fs-safe/dist/root-write-mode.d.ts +7 -0
  509. package/node_modules/@openclaw/fs-safe/dist/root-write-mode.js +72 -0
  510. package/node_modules/@openclaw/fs-safe/dist/root-write-publication.d.ts +23 -0
  511. package/node_modules/@openclaw/fs-safe/dist/root-write-publication.js +85 -0
  512. package/node_modules/@openclaw/fs-safe/dist/root-write-verification.d.ts +11 -0
  513. package/node_modules/@openclaw/fs-safe/dist/root-write-verification.js +95 -0
  514. package/node_modules/@openclaw/fs-safe/dist/root.d.ts +2 -0
  515. package/node_modules/@openclaw/fs-safe/dist/root.js +1 -0
  516. package/node_modules/@openclaw/fs-safe/dist/safe-path-segment.d.ts +12 -0
  517. package/node_modules/@openclaw/fs-safe/dist/safe-path-segment.js +80 -0
  518. package/node_modules/@openclaw/fs-safe/dist/secret-file.d.ts +29 -0
  519. package/node_modules/@openclaw/fs-safe/dist/secret-file.js +333 -0
  520. package/node_modules/@openclaw/fs-safe/dist/secret-read-async.d.ts +3 -0
  521. package/node_modules/@openclaw/fs-safe/dist/secret-read-async.js +58 -0
  522. package/node_modules/@openclaw/fs-safe/dist/secret-read-policy.d.ts +20 -0
  523. package/node_modules/@openclaw/fs-safe/dist/secret-read-policy.js +68 -0
  524. package/node_modules/@openclaw/fs-safe/dist/secret.d.ts +3 -0
  525. package/node_modules/@openclaw/fs-safe/dist/secret.js +3 -0
  526. package/node_modules/@openclaw/fs-safe/dist/secure-file-windows.d.ts +10 -0
  527. package/node_modules/@openclaw/fs-safe/dist/secure-file-windows.js +79 -0
  528. package/node_modules/@openclaw/fs-safe/dist/secure-file.d.ts +31 -0
  529. package/node_modules/@openclaw/fs-safe/dist/secure-file.js +298 -0
  530. package/node_modules/@openclaw/fs-safe/dist/secure-temp-dir.d.ts +29 -0
  531. package/node_modules/@openclaw/fs-safe/dist/secure-temp-dir.js +176 -0
  532. package/node_modules/@openclaw/fs-safe/dist/secure-temp-repair.d.ts +34 -0
  533. package/node_modules/@openclaw/fs-safe/dist/secure-temp-repair.js +110 -0
  534. package/node_modules/@openclaw/fs-safe/dist/sibling-staged-file.d.ts +17 -0
  535. package/node_modules/@openclaw/fs-safe/dist/sibling-staged-file.js +301 -0
  536. package/node_modules/@openclaw/fs-safe/dist/sibling-temp.d.ts +28 -0
  537. package/node_modules/@openclaw/fs-safe/dist/sibling-temp.js +132 -0
  538. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-acquire.d.ts +4 -0
  539. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-acquire.js +442 -0
  540. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-context.d.ts +18 -0
  541. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-context.js +60 -0
  542. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-parser.d.ts +41 -0
  543. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission-parser.js +113 -0
  544. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission.d.ts +31 -0
  545. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-admission.js +1 -0
  546. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-handle.d.ts +20 -0
  547. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-handle.js +48 -0
  548. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-policy.d.ts +14 -0
  549. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-policy.js +113 -0
  550. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-reclaim.d.ts +67 -0
  551. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-reclaim.js +374 -0
  552. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-registration.d.ts +13 -0
  553. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-registration.js +47 -0
  554. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-root.d.ts +2 -0
  555. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-root.js +79 -0
  556. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-stale-admission.d.ts +34 -0
  557. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-stale-admission.js +228 -0
  558. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-target.d.ts +7 -0
  559. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-target.js +55 -0
  560. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-types.d.ts +68 -0
  561. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock-types.js +1 -0
  562. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock.d.ts +13 -0
  563. package/node_modules/@openclaw/fs-safe/dist/sidecar-lock.js +282 -0
  564. package/node_modules/@openclaw/fs-safe/dist/staged-directory.d.ts +27 -0
  565. package/node_modules/@openclaw/fs-safe/dist/staged-directory.js +148 -0
  566. package/node_modules/@openclaw/fs-safe/dist/staged-file-settlement.d.ts +16 -0
  567. package/node_modules/@openclaw/fs-safe/dist/staged-file-settlement.js +57 -0
  568. package/node_modules/@openclaw/fs-safe/dist/staged-file-types.d.ts +55 -0
  569. package/node_modules/@openclaw/fs-safe/dist/staged-file-types.js +1 -0
  570. package/node_modules/@openclaw/fs-safe/dist/staged-symlink-types.d.ts +39 -0
  571. package/node_modules/@openclaw/fs-safe/dist/staged-symlink-types.js +1 -0
  572. package/node_modules/@openclaw/fs-safe/dist/stat-observation.d.ts +10 -0
  573. package/node_modules/@openclaw/fs-safe/dist/stat-observation.js +57 -0
  574. package/node_modules/@openclaw/fs-safe/dist/store.d.ts +3 -0
  575. package/node_modules/@openclaw/fs-safe/dist/store.js +3 -0
  576. package/node_modules/@openclaw/fs-safe/dist/strict-file-identity.d.ts +7 -0
  577. package/node_modules/@openclaw/fs-safe/dist/strict-file-identity.js +88 -0
  578. package/node_modules/@openclaw/fs-safe/dist/string-coerce.d.ts +4 -0
  579. package/node_modules/@openclaw/fs-safe/dist/string-coerce.js +16 -0
  580. package/node_modules/@openclaw/fs-safe/dist/suppressed-error.d.ts +5 -0
  581. package/node_modules/@openclaw/fs-safe/dist/suppressed-error.js +15 -0
  582. package/node_modules/@openclaw/fs-safe/dist/symlink-parents.d.ts +11 -0
  583. package/node_modules/@openclaw/fs-safe/dist/symlink-parents.js +109 -0
  584. package/node_modules/@openclaw/fs-safe/dist/temp-cleanup.d.ts +13 -0
  585. package/node_modules/@openclaw/fs-safe/dist/temp-cleanup.js +88 -0
  586. package/node_modules/@openclaw/fs-safe/dist/temp-target.d.ts +31 -0
  587. package/node_modules/@openclaw/fs-safe/dist/temp-target.js +236 -0
  588. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-admission.d.ts +14 -0
  589. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-admission.js +387 -0
  590. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-child-admission.d.ts +23 -0
  591. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-child-admission.js +150 -0
  592. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-descriptor.d.ts +42 -0
  593. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-descriptor.js +341 -0
  594. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-owner.d.ts +24 -0
  595. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-owner.js +398 -0
  596. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-ownership.d.ts +8 -0
  597. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-ownership.js +52 -0
  598. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-types.d.ts +39 -0
  599. package/node_modules/@openclaw/fs-safe/dist/temp-workspace-types.js +1 -0
  600. package/node_modules/@openclaw/fs-safe/dist/temp.d.ts +3 -0
  601. package/node_modules/@openclaw/fs-safe/dist/temp.js +2 -0
  602. package/node_modules/@openclaw/fs-safe/dist/test-hooks.d.ts +35 -0
  603. package/node_modules/@openclaw/fs-safe/dist/test-hooks.js +13 -0
  604. package/node_modules/@openclaw/fs-safe/dist/text-atomic.d.ts +14 -0
  605. package/node_modules/@openclaw/fs-safe/dist/text-atomic.js +18 -0
  606. package/node_modules/@openclaw/fs-safe/dist/timing.d.ts +8 -0
  607. package/node_modules/@openclaw/fs-safe/dist/timing.js +59 -0
  608. package/node_modules/@openclaw/fs-safe/dist/trash.d.ts +4 -0
  609. package/node_modules/@openclaw/fs-safe/dist/trash.js +245 -0
  610. package/node_modules/@openclaw/fs-safe/dist/types.d.ts +22 -0
  611. package/node_modules/@openclaw/fs-safe/dist/types.js +1 -0
  612. package/node_modules/@openclaw/fs-safe/dist/unicode-path.d.ts +2 -0
  613. package/node_modules/@openclaw/fs-safe/dist/unicode-path.js +16 -0
  614. package/node_modules/@openclaw/fs-safe/dist/walk.d.ts +37 -0
  615. package/node_modules/@openclaw/fs-safe/dist/walk.js +207 -0
  616. package/node_modules/@openclaw/fs-safe/dist/watch-alias.d.ts +6 -0
  617. package/node_modules/@openclaw/fs-safe/dist/watch-alias.js +88 -0
  618. package/node_modules/@openclaw/fs-safe/dist/watch-hints.d.ts +9 -0
  619. package/node_modules/@openclaw/fs-safe/dist/watch-hints.js +93 -0
  620. package/node_modules/@openclaw/fs-safe/dist/watch-native.d.ts +36 -0
  621. package/node_modules/@openclaw/fs-safe/dist/watch-native.js +73 -0
  622. package/node_modules/@openclaw/fs-safe/dist/watch-scan.d.ts +28 -0
  623. package/node_modules/@openclaw/fs-safe/dist/watch-scan.js +300 -0
  624. package/node_modules/@openclaw/fs-safe/dist/watch-stream.d.ts +8 -0
  625. package/node_modules/@openclaw/fs-safe/dist/watch-stream.js +32 -0
  626. package/node_modules/@openclaw/fs-safe/dist/watch-types.d.ts +60 -0
  627. package/node_modules/@openclaw/fs-safe/dist/watch-types.js +1 -0
  628. package/node_modules/@openclaw/fs-safe/dist/watch.d.ts +5 -0
  629. package/node_modules/@openclaw/fs-safe/dist/watch.js +530 -0
  630. package/node_modules/@openclaw/fs-safe/dist/windows-command.d.ts +1 -0
  631. package/node_modules/@openclaw/fs-safe/dist/windows-command.js +34 -0
  632. package/node_modules/@openclaw/fs-safe/dist/windows-owner.d.ts +24 -0
  633. package/node_modules/@openclaw/fs-safe/dist/windows-owner.js +100 -0
  634. package/node_modules/@openclaw/fs-safe/dist/windows-path-alias.d.ts +39 -0
  635. package/node_modules/@openclaw/fs-safe/dist/windows-path-alias.js +122 -0
  636. package/node_modules/@openclaw/fs-safe/dist/windows-path-syntax.d.ts +5 -0
  637. package/node_modules/@openclaw/fs-safe/dist/windows-path-syntax.js +21 -0
  638. package/node_modules/@openclaw/fs-safe/dist/windows-security-bridge.cs +336 -0
  639. package/node_modules/@openclaw/fs-safe/dist/windows-security-bridge.ps1 +90 -0
  640. package/node_modules/@openclaw/fs-safe/dist/windows-security-command.d.ts +33 -0
  641. package/node_modules/@openclaw/fs-safe/dist/windows-security-command.js +414 -0
  642. package/node_modules/@openclaw/fs-safe/dist/windows-security-facts.d.ts +9 -0
  643. package/node_modules/@openclaw/fs-safe/dist/windows-security-facts.js +112 -0
  644. package/node_modules/@openclaw/fs-safe/dist/write-file-handle.d.ts +13 -0
  645. package/node_modules/@openclaw/fs-safe/dist/write-file-handle.js +49 -0
  646. package/node_modules/@openclaw/fs-safe/dist/write-open-flags.d.ts +4 -0
  647. package/node_modules/@openclaw/fs-safe/dist/write-open-flags.js +27 -0
  648. package/node_modules/@openclaw/fs-safe/dist/write-queue.d.ts +1 -0
  649. package/node_modules/@openclaw/fs-safe/dist/write-queue.js +15 -0
  650. package/node_modules/@openclaw/fs-safe/docs/advanced.md +271 -0
  651. package/node_modules/@openclaw/fs-safe/docs/archive.md +859 -0
  652. package/node_modules/@openclaw/fs-safe/docs/assets/readme-banner.jpg +0 -0
  653. package/node_modules/@openclaw/fs-safe/docs/atomic.md +611 -0
  654. package/node_modules/@openclaw/fs-safe/docs/config.md +136 -0
  655. package/node_modules/@openclaw/fs-safe/docs/contributing.md +360 -0
  656. package/node_modules/@openclaw/fs-safe/docs/copy.md +199 -0
  657. package/node_modules/@openclaw/fs-safe/docs/creation.md +132 -0
  658. package/node_modules/@openclaw/fs-safe/docs/directory-identity.md +85 -0
  659. package/node_modules/@openclaw/fs-safe/docs/durability.md +445 -0
  660. package/node_modules/@openclaw/fs-safe/docs/entries.md +109 -0
  661. package/node_modules/@openclaw/fs-safe/docs/errors.md +240 -0
  662. package/node_modules/@openclaw/fs-safe/docs/file-contents.md +68 -0
  663. package/node_modules/@openclaw/fs-safe/docs/file-store.md +369 -0
  664. package/node_modules/@openclaw/fs-safe/docs/filename.md +110 -0
  665. package/node_modules/@openclaw/fs-safe/docs/guest.md +152 -0
  666. package/node_modules/@openclaw/fs-safe/docs/in-place-write.md +81 -0
  667. package/node_modules/@openclaw/fs-safe/docs/index.md +87 -0
  668. package/node_modules/@openclaw/fs-safe/docs/install-path.md +216 -0
  669. package/node_modules/@openclaw/fs-safe/docs/install.md +252 -0
  670. package/node_modules/@openclaw/fs-safe/docs/json-store.md +240 -0
  671. package/node_modules/@openclaw/fs-safe/docs/json.md +225 -0
  672. package/node_modules/@openclaw/fs-safe/docs/local-roots.md +150 -0
  673. package/node_modules/@openclaw/fs-safe/docs/migrating-to-0.5.md +205 -0
  674. package/node_modules/@openclaw/fs-safe/docs/migrating-to-0.6.md +48 -0
  675. package/node_modules/@openclaw/fs-safe/docs/mutation-policy-proof.md +69 -0
  676. package/node_modules/@openclaw/fs-safe/docs/native-helper.md +193 -0
  677. package/node_modules/@openclaw/fs-safe/docs/native.md +351 -0
  678. package/node_modules/@openclaw/fs-safe/docs/output.md +193 -0
  679. package/node_modules/@openclaw/fs-safe/docs/path-case.md +64 -0
  680. package/node_modules/@openclaw/fs-safe/docs/path-prefix.md +74 -0
  681. package/node_modules/@openclaw/fs-safe/docs/path-scope.md +159 -0
  682. package/node_modules/@openclaw/fs-safe/docs/path-suffix-aliases.md +204 -0
  683. package/node_modules/@openclaw/fs-safe/docs/path.md +219 -0
  684. package/node_modules/@openclaw/fs-safe/docs/permissions.md +352 -0
  685. package/node_modules/@openclaw/fs-safe/docs/positional-read.md +63 -0
  686. package/node_modules/@openclaw/fs-safe/docs/private-file-store.md +68 -0
  687. package/node_modules/@openclaw/fs-safe/docs/public-api.md +188 -0
  688. package/node_modules/@openclaw/fs-safe/docs/quickstart.md +154 -0
  689. package/node_modules/@openclaw/fs-safe/docs/reading.md +196 -0
  690. package/node_modules/@openclaw/fs-safe/docs/regular-file.md +193 -0
  691. package/node_modules/@openclaw/fs-safe/docs/retained-file.md +115 -0
  692. package/node_modules/@openclaw/fs-safe/docs/root.md +571 -0
  693. package/node_modules/@openclaw/fs-safe/docs/secret-file.md +318 -0
  694. package/node_modules/@openclaw/fs-safe/docs/secure-file.md +112 -0
  695. package/node_modules/@openclaw/fs-safe/docs/security-model.md +272 -0
  696. package/node_modules/@openclaw/fs-safe/docs/sidecar-lock.md +599 -0
  697. package/node_modules/@openclaw/fs-safe/docs/staged-file.md +192 -0
  698. package/node_modules/@openclaw/fs-safe/docs/staged-symlink.md +124 -0
  699. package/node_modules/@openclaw/fs-safe/docs/store.md +129 -0
  700. package/node_modules/@openclaw/fs-safe/docs/temp.md +780 -0
  701. package/node_modules/@openclaw/fs-safe/docs/test-hooks.md +110 -0
  702. package/node_modules/@openclaw/fs-safe/docs/testing.md +399 -0
  703. package/node_modules/@openclaw/fs-safe/docs/timing.md +123 -0
  704. package/node_modules/@openclaw/fs-safe/docs/types.md +217 -0
  705. package/node_modules/@openclaw/fs-safe/docs/walk.md +283 -0
  706. package/node_modules/@openclaw/fs-safe/docs/watch.md +251 -0
  707. package/node_modules/@openclaw/fs-safe/docs/writing.md +662 -0
  708. package/node_modules/@openclaw/fs-safe/package.json +204 -0
  709. package/node_modules/@openclaw/fs-safe-darwin-arm64/fs-safe-native.node +0 -0
  710. package/node_modules/@openclaw/fs-safe-darwin-arm64/package.json +29 -0
  711. package/node_modules/@openclaw/fs-safe-darwin-x64/fs-safe-native.node +0 -0
  712. package/node_modules/@openclaw/fs-safe-darwin-x64/package.json +29 -0
  713. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/fs-safe-native.node +0 -0
  714. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/package.json +32 -0
  715. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/fs-safe-native.node +0 -0
  716. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/package.json +32 -0
  717. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/fs-safe-native.node +0 -0
  718. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/package.json +32 -0
  719. package/node_modules/@openclaw/fs-safe-linux-x64-musl/fs-safe-native.node +0 -0
  720. package/node_modules/@openclaw/fs-safe-linux-x64-musl/package.json +32 -0
  721. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/fs-safe-native.node +0 -0
  722. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/package.json +29 -0
  723. package/node_modules/argparse/lib/argparse.js +3820 -0
  724. package/node_modules/argparse/package.json +38 -0
  725. package/node_modules/content-type/README.md +81 -0
  726. package/node_modules/content-type/dist/index.d.ts +54 -0
  727. package/node_modules/content-type/dist/index.js +291 -0
  728. package/node_modules/content-type/dist/index.js.map +1 -0
  729. package/node_modules/content-type/package.json +61 -0
  730. package/node_modules/core-util-is/LICENSE +19 -0
  731. package/node_modules/core-util-is/README.md +3 -0
  732. package/node_modules/core-util-is/lib/util.js +107 -0
  733. package/node_modules/core-util-is/package.json +38 -0
  734. package/node_modules/file-type/package.json +275 -0
  735. package/node_modules/file-type/readme.md +605 -0
  736. package/node_modules/file-type/source/detectors/zip.js +653 -0
  737. package/node_modules/file-type/source/index.js +1956 -0
  738. package/node_modules/file-type/source/supported.js +370 -0
  739. package/node_modules/immediate/LICENSE.txt +20 -0
  740. package/node_modules/immediate/README.md +93 -0
  741. package/node_modules/immediate/dist/immediate.js +75 -0
  742. package/node_modules/immediate/dist/immediate.min.js +1 -0
  743. package/node_modules/immediate/lib/browser.js +69 -0
  744. package/node_modules/immediate/lib/index.js +73 -0
  745. package/node_modules/immediate/package.json +42 -0
  746. package/node_modules/inherits/LICENSE +16 -0
  747. package/node_modules/inherits/README.md +42 -0
  748. package/node_modules/inherits/inherits.js +9 -0
  749. package/node_modules/inherits/inherits_browser.js +27 -0
  750. package/node_modules/inherits/package.json +29 -0
  751. package/node_modules/isarray/.npmignore +1 -0
  752. package/node_modules/isarray/.travis.yml +4 -0
  753. package/node_modules/isarray/Makefile +6 -0
  754. package/node_modules/isarray/README.md +60 -0
  755. package/node_modules/isarray/component.json +19 -0
  756. package/node_modules/isarray/index.js +5 -0
  757. package/node_modules/isarray/package.json +45 -0
  758. package/node_modules/isarray/test.js +20 -0
  759. package/node_modules/jszip/.codeclimate.yml +16 -0
  760. package/node_modules/jszip/.editorconfig +8 -0
  761. package/node_modules/jszip/.eslintrc.js +43 -0
  762. package/node_modules/jszip/.github/FUNDING.yml +1 -0
  763. package/node_modules/jszip/.github/actions/setup/action.yml +23 -0
  764. package/node_modules/jszip/.github/workflows/benchmark.yml +38 -0
  765. package/node_modules/jszip/.github/workflows/main.yml +55 -0
  766. package/node_modules/jszip/CHANGES.md +210 -0
  767. package/node_modules/jszip/LICENSE.markdown +651 -0
  768. package/node_modules/jszip/README.markdown +33 -0
  769. package/node_modules/jszip/dist/jszip.js +11586 -0
  770. package/node_modules/jszip/dist/jszip.min.js +13 -0
  771. package/node_modules/jszip/index.d.ts +344 -0
  772. package/node_modules/jszip/lib/base64.js +106 -0
  773. package/node_modules/jszip/lib/compressedObject.js +74 -0
  774. package/node_modules/jszip/lib/compressions.js +14 -0
  775. package/node_modules/jszip/lib/crc32.js +77 -0
  776. package/node_modules/jszip/lib/defaults.js +11 -0
  777. package/node_modules/jszip/lib/external.js +18 -0
  778. package/node_modules/jszip/lib/flate.js +85 -0
  779. package/node_modules/jszip/lib/generate/ZipFileWorker.js +539 -0
  780. package/node_modules/jszip/lib/generate/index.js +57 -0
  781. package/node_modules/jszip/lib/index.js +55 -0
  782. package/node_modules/jszip/lib/license_header.js +11 -0
  783. package/node_modules/jszip/lib/load.js +88 -0
  784. package/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js +74 -0
  785. package/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +42 -0
  786. package/node_modules/jszip/lib/nodejsUtils.js +57 -0
  787. package/node_modules/jszip/lib/object.js +384 -0
  788. package/node_modules/jszip/lib/readable-stream-browser.js +10 -0
  789. package/node_modules/jszip/lib/reader/ArrayReader.js +57 -0
  790. package/node_modules/jszip/lib/reader/DataReader.js +116 -0
  791. package/node_modules/jszip/lib/reader/NodeBufferReader.js +19 -0
  792. package/node_modules/jszip/lib/reader/StringReader.js +38 -0
  793. package/node_modules/jszip/lib/reader/Uint8ArrayReader.js +22 -0
  794. package/node_modules/jszip/lib/reader/readerFor.js +28 -0
  795. package/node_modules/jszip/lib/signature.js +7 -0
  796. package/node_modules/jszip/lib/stream/ConvertWorker.js +26 -0
  797. package/node_modules/jszip/lib/stream/Crc32Probe.js +24 -0
  798. package/node_modules/jszip/lib/stream/DataLengthProbe.js +29 -0
  799. package/node_modules/jszip/lib/stream/DataWorker.js +116 -0
  800. package/node_modules/jszip/lib/stream/GenericWorker.js +263 -0
  801. package/node_modules/jszip/lib/stream/StreamHelper.js +214 -0
  802. package/node_modules/jszip/lib/support.js +38 -0
  803. package/node_modules/jszip/lib/utf8.js +275 -0
  804. package/node_modules/jszip/lib/utils.js +510 -0
  805. package/node_modules/jszip/lib/zipEntries.js +261 -0
  806. package/node_modules/jszip/lib/zipEntry.js +293 -0
  807. package/node_modules/jszip/lib/zipObject.js +133 -0
  808. package/node_modules/jszip/package.json +67 -0
  809. package/node_modules/jszip/sponsors.md +21 -0
  810. package/node_modules/jszip/tsconfig.json +101 -0
  811. package/node_modules/jszip/vendor/FileSaver.js +247 -0
  812. package/node_modules/lie/README.md +62 -0
  813. package/node_modules/lie/dist/lie.js +350 -0
  814. package/node_modules/lie/dist/lie.min.js +1 -0
  815. package/node_modules/lie/dist/lie.polyfill.js +358 -0
  816. package/node_modules/lie/dist/lie.polyfill.min.js +1 -0
  817. package/node_modules/lie/lib/browser.js +273 -0
  818. package/node_modules/lie/lib/index.js +298 -0
  819. package/node_modules/lie/license.md +7 -0
  820. package/node_modules/lie/lie.d.ts +244 -0
  821. package/node_modules/lie/package.json +69 -0
  822. package/node_modules/lie/polyfill.js +4 -0
  823. package/node_modules/matrix-js-sdk/CHANGELOG.md +20 -0
  824. package/node_modules/matrix-js-sdk/lib/@types/json.d.ts.map +1 -1
  825. package/node_modules/matrix-js-sdk/lib/@types/json.js.map +1 -1
  826. package/node_modules/matrix-js-sdk/lib/client.d.ts +74 -5
  827. package/node_modules/matrix-js-sdk/lib/client.d.ts.map +1 -1
  828. package/node_modules/matrix-js-sdk/lib/client.js +83 -7
  829. package/node_modules/matrix-js-sdk/lib/client.js.map +1 -1
  830. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.d.ts +42 -23
  831. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.d.ts.map +1 -1
  832. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.js +7 -0
  833. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.js.map +1 -1
  834. package/node_modules/matrix-js-sdk/lib/embedded.d.ts +35 -1
  835. package/node_modules/matrix-js-sdk/lib/embedded.d.ts.map +1 -1
  836. package/node_modules/matrix-js-sdk/lib/embedded.js +49 -1
  837. package/node_modules/matrix-js-sdk/lib/embedded.js.map +1 -1
  838. package/node_modules/matrix-js-sdk/lib/http-api/fetch.d.ts +0 -1
  839. package/node_modules/matrix-js-sdk/lib/http-api/fetch.d.ts.map +1 -1
  840. package/node_modules/matrix-js-sdk/lib/http-api/fetch.js +3 -22
  841. package/node_modules/matrix-js-sdk/lib/http-api/fetch.js.map +1 -1
  842. package/node_modules/matrix-js-sdk/lib/http-api/logging.d.ts +10 -0
  843. package/node_modules/matrix-js-sdk/lib/http-api/logging.d.ts.map +1 -0
  844. package/node_modules/matrix-js-sdk/lib/http-api/logging.js +46 -0
  845. package/node_modules/matrix-js-sdk/lib/http-api/logging.js.map +1 -0
  846. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.d.ts +5 -0
  847. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.d.ts.map +1 -1
  848. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.js.map +1 -1
  849. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.d.ts +82 -0
  850. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.d.ts.map +1 -1
  851. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.js +25 -0
  852. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.js.map +1 -1
  853. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts +41 -2
  854. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts.map +1 -1
  855. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js +59 -1
  856. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js.map +1 -1
  857. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js +7 -4
  858. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js.map +1 -1
  859. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.d.ts +17 -0
  860. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.d.ts.map +1 -1
  861. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.js +68 -29
  862. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.js.map +1 -1
  863. package/node_modules/matrix-js-sdk/lib/models/room-receipts.d.ts +9 -3
  864. package/node_modules/matrix-js-sdk/lib/models/room-receipts.d.ts.map +1 -1
  865. package/node_modules/matrix-js-sdk/lib/models/room-receipts.js +51 -11
  866. package/node_modules/matrix-js-sdk/lib/models/room-receipts.js.map +1 -1
  867. package/node_modules/matrix-js-sdk/lib/oauth/authorize.d.ts +7 -2
  868. package/node_modules/matrix-js-sdk/lib/oauth/authorize.d.ts.map +1 -1
  869. package/node_modules/matrix-js-sdk/lib/oauth/authorize.js +10 -4
  870. package/node_modules/matrix-js-sdk/lib/oauth/authorize.js.map +1 -1
  871. package/node_modules/matrix-js-sdk/lib/oauth/fetch.d.ts +17 -0
  872. package/node_modules/matrix-js-sdk/lib/oauth/fetch.d.ts.map +1 -0
  873. package/node_modules/matrix-js-sdk/lib/oauth/fetch.js +47 -0
  874. package/node_modules/matrix-js-sdk/lib/oauth/fetch.js.map +1 -0
  875. package/node_modules/matrix-js-sdk/lib/oauth/index.d.ts +15 -2
  876. package/node_modules/matrix-js-sdk/lib/oauth/index.d.ts.map +1 -1
  877. package/node_modules/matrix-js-sdk/lib/oauth/index.js +33 -12
  878. package/node_modules/matrix-js-sdk/lib/oauth/index.js.map +1 -1
  879. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.d.ts +17 -0
  880. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.d.ts.map +1 -1
  881. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js +4 -2
  882. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js.map +1 -1
  883. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.d.ts +6 -26
  884. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.d.ts.map +1 -1
  885. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.js +19 -54
  886. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.js.map +1 -1
  887. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.d.ts.map +1 -1
  888. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.js +65 -27
  889. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.js.map +1 -1
  890. package/node_modules/matrix-js-sdk/lib/sliding-sync.d.ts +17 -0
  891. package/node_modules/matrix-js-sdk/lib/sliding-sync.d.ts.map +1 -1
  892. package/node_modules/matrix-js-sdk/lib/sliding-sync.js +21 -9
  893. package/node_modules/matrix-js-sdk/lib/sliding-sync.js.map +1 -1
  894. package/node_modules/matrix-js-sdk/lib/sync.d.ts +9 -1
  895. package/node_modules/matrix-js-sdk/lib/sync.d.ts.map +1 -1
  896. package/node_modules/matrix-js-sdk/lib/sync.js +54 -29
  897. package/node_modules/matrix-js-sdk/lib/sync.js.map +1 -1
  898. package/node_modules/matrix-js-sdk/package.json +5 -5
  899. package/node_modules/matrix-js-sdk/src/@types/json.ts +11 -2
  900. package/node_modules/matrix-js-sdk/src/client.ts +126 -11
  901. package/node_modules/matrix-js-sdk/src/common-crypto/CryptoBackend.ts +45 -23
  902. package/node_modules/matrix-js-sdk/src/embedded.ts +67 -4
  903. package/node_modules/matrix-js-sdk/src/http-api/fetch.ts +2 -23
  904. package/node_modules/matrix-js-sdk/src/http-api/logging.ts +46 -0
  905. package/node_modules/matrix-js-sdk/src/matrixrtc/EncryptionManager.ts +6 -0
  906. package/node_modules/matrix-js-sdk/src/matrixrtc/LivekitTransport.ts +86 -0
  907. package/node_modules/matrix-js-sdk/src/matrixrtc/MatrixRTCSession.ts +81 -1
  908. package/node_modules/matrix-js-sdk/src/matrixrtc/MembershipManager.ts +7 -7
  909. package/node_modules/matrix-js-sdk/src/matrixrtc/RTCEncryptionManager.ts +80 -31
  910. package/node_modules/matrix-js-sdk/src/models/room-receipts.ts +54 -10
  911. package/node_modules/matrix-js-sdk/src/oauth/authorize.ts +10 -2
  912. package/node_modules/matrix-js-sdk/src/oauth/fetch.ts +54 -0
  913. package/node_modules/matrix-js-sdk/src/oauth/index.ts +29 -10
  914. package/node_modules/matrix-js-sdk/src/rust-crypto/index.ts +23 -0
  915. package/node_modules/matrix-js-sdk/src/rust-crypto/rust-crypto.ts +25 -67
  916. package/node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts +73 -33
  917. package/node_modules/matrix-js-sdk/src/sliding-sync.ts +31 -14
  918. package/node_modules/matrix-js-sdk/src/sync.ts +58 -35
  919. package/node_modules/pako/CHANGELOG.md +164 -0
  920. package/node_modules/pako/LICENSE +21 -0
  921. package/node_modules/pako/README.md +191 -0
  922. package/node_modules/pako/dist/pako.js +6818 -0
  923. package/node_modules/pako/dist/pako.min.js +1 -0
  924. package/node_modules/pako/dist/pako_deflate.js +3997 -0
  925. package/node_modules/pako/dist/pako_deflate.min.js +1 -0
  926. package/node_modules/pako/dist/pako_inflate.js +3300 -0
  927. package/node_modules/pako/dist/pako_inflate.min.js +1 -0
  928. package/node_modules/pako/index.js +14 -0
  929. package/node_modules/pako/lib/deflate.js +400 -0
  930. package/node_modules/pako/lib/inflate.js +423 -0
  931. package/node_modules/pako/lib/utils/common.js +105 -0
  932. package/node_modules/pako/lib/utils/strings.js +187 -0
  933. package/node_modules/pako/lib/zlib/README +59 -0
  934. package/node_modules/pako/lib/zlib/adler32.js +51 -0
  935. package/node_modules/pako/lib/zlib/constants.js +68 -0
  936. package/node_modules/pako/lib/zlib/crc32.js +59 -0
  937. package/node_modules/pako/lib/zlib/deflate.js +1874 -0
  938. package/node_modules/pako/lib/zlib/gzheader.js +58 -0
  939. package/node_modules/pako/lib/zlib/inffast.js +345 -0
  940. package/node_modules/pako/lib/zlib/inflate.js +1556 -0
  941. package/node_modules/pako/lib/zlib/inftrees.js +343 -0
  942. package/node_modules/pako/lib/zlib/messages.js +32 -0
  943. package/node_modules/pako/lib/zlib/trees.js +1222 -0
  944. package/node_modules/pako/lib/zlib/zstream.js +47 -0
  945. package/node_modules/pako/package.json +44 -0
  946. package/node_modules/process-nextick-args/index.js +45 -0
  947. package/node_modules/process-nextick-args/license.md +19 -0
  948. package/node_modules/process-nextick-args/package.json +25 -0
  949. package/node_modules/process-nextick-args/readme.md +18 -0
  950. package/node_modules/readable-stream/.travis.yml +34 -0
  951. package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  952. package/node_modules/readable-stream/GOVERNANCE.md +136 -0
  953. package/node_modules/readable-stream/LICENSE +47 -0
  954. package/node_modules/readable-stream/README.md +58 -0
  955. package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
  956. package/node_modules/readable-stream/duplex-browser.js +1 -0
  957. package/node_modules/readable-stream/duplex.js +1 -0
  958. package/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
  959. package/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
  960. package/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
  961. package/node_modules/readable-stream/lib/_stream_transform.js +214 -0
  962. package/node_modules/readable-stream/lib/_stream_writable.js +685 -0
  963. package/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
  964. package/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
  965. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  966. package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  967. package/node_modules/readable-stream/package.json +52 -0
  968. package/node_modules/readable-stream/passthrough.js +1 -0
  969. package/node_modules/readable-stream/readable-browser.js +7 -0
  970. package/node_modules/readable-stream/readable.js +19 -0
  971. package/node_modules/readable-stream/transform.js +1 -0
  972. package/node_modules/readable-stream/writable-browser.js +1 -0
  973. package/node_modules/readable-stream/writable.js +8 -0
  974. package/node_modules/safe-buffer/LICENSE +21 -0
  975. package/node_modules/safe-buffer/README.md +584 -0
  976. package/node_modules/safe-buffer/index.d.ts +187 -0
  977. package/node_modules/safe-buffer/index.js +62 -0
  978. package/node_modules/safe-buffer/package.json +37 -0
  979. package/node_modules/setimmediate/LICENSE.txt +20 -0
  980. package/node_modules/setimmediate/package.json +30 -0
  981. package/node_modules/setimmediate/setImmediate.js +186 -0
  982. package/node_modules/string_decoder/.travis.yml +50 -0
  983. package/node_modules/string_decoder/LICENSE +48 -0
  984. package/node_modules/string_decoder/README.md +47 -0
  985. package/node_modules/string_decoder/lib/string_decoder.js +296 -0
  986. package/node_modules/string_decoder/package.json +31 -0
  987. package/node_modules/strtok3/lib/types.js +1 -0
  988. package/node_modules/typebox/build/compile/code.mjs +1 -2
  989. package/node_modules/typebox/build/compile/validator.mjs +5 -1
  990. package/node_modules/typebox/build/format/iri.mjs +16 -9
  991. package/node_modules/typebox/build/guard/emit.mjs +2 -2
  992. package/node_modules/typebox/build/guard/guard.d.mts +7 -5
  993. package/node_modules/typebox/build/guard/guard.mjs +14 -9
  994. package/node_modules/typebox/build/guard/index.mjs +6 -0
  995. package/node_modules/typebox/build/guard/unicode/unicode.d.mts +6 -0
  996. package/node_modules/typebox/build/guard/unicode/unicode.mjs +35 -0
  997. package/node_modules/typebox/build/guard/unicode/unicode_segment.mjs +165 -0
  998. package/node_modules/typebox/build/schema/build.mjs +2 -3
  999. package/node_modules/typebox/build/schema/engine/_pathing.d.mts +1 -0
  1000. package/node_modules/typebox/build/schema/engine/_pathing.mjs +11 -0
  1001. package/node_modules/typebox/build/schema/engine/_refine.mjs +13 -5
  1002. package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +2 -1
  1003. package/node_modules/typebox/build/schema/engine/dependencies.mjs +2 -1
  1004. package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +2 -1
  1005. package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +1 -1
  1006. package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +2 -2
  1007. package/node_modules/typebox/build/schema/engine/format.mjs +9 -2
  1008. package/node_modules/typebox/build/schema/engine/patternProperties.mjs +3 -2
  1009. package/node_modules/typebox/build/schema/engine/properties.mjs +3 -2
  1010. package/node_modules/typebox/build/schema/engine/propertyNames.mjs +2 -1
  1011. package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +1 -1
  1012. package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +2 -2
  1013. package/node_modules/typebox/build/schema/engine/ref.d.mts +1 -1
  1014. package/node_modules/typebox/build/schema/engine/ref.mjs +2 -2
  1015. package/node_modules/typebox/build/schema/engine/schema.mjs +24 -24
  1016. package/node_modules/typebox/build/schema/parse.mjs +3 -0
  1017. package/node_modules/typebox/build/schema/pointer/pointer.d.mts +1 -6
  1018. package/node_modules/typebox/build/schema/pointer/pointer.mjs +47 -64
  1019. package/node_modules/typebox/build/system/settings/internal.d.mts +2 -0
  1020. package/node_modules/typebox/build/system/settings/internal.mjs +20 -0
  1021. package/node_modules/typebox/build/system/settings/settings.d.mts +11 -0
  1022. package/node_modules/typebox/build/system/settings/settings.mjs +14 -0
  1023. package/node_modules/typebox/build/type/extends/inference.d.mts +1 -1
  1024. package/node_modules/typebox/build/type/extends/inference.mjs +15 -2
  1025. package/node_modules/typebox/build/type/extends/tuple.d.mts +2 -1
  1026. package/node_modules/typebox/build/type/extends/tuple.mjs +21 -1
  1027. package/node_modules/typebox/build/value/parse/parse.mjs +10 -4
  1028. package/node_modules/typebox/package.json +1 -1
  1029. package/node_modules/typebox/readme.md +3 -1
  1030. package/node_modules/util-deprecate/History.md +16 -0
  1031. package/node_modules/util-deprecate/LICENSE +24 -0
  1032. package/node_modules/util-deprecate/README.md +53 -0
  1033. package/node_modules/util-deprecate/browser.js +67 -0
  1034. package/node_modules/util-deprecate/node.js +6 -0
  1035. package/node_modules/util-deprecate/package.json +27 -0
  1036. package/node_modules/zod/README.md +2 -2
  1037. package/node_modules/zod/compile.cjs +19 -0
  1038. package/node_modules/zod/index.cjs +19 -0
  1039. package/node_modules/zod/locales/index.cjs +19 -0
  1040. package/node_modules/zod/mini/index.cjs +19 -0
  1041. package/node_modules/zod/package.json +8 -7
  1042. package/node_modules/zod/src/v3/helpers/errorUtil.ts +1 -1
  1043. package/node_modules/zod/src/v4/classic/external.ts +2 -0
  1044. package/node_modules/zod/src/v4/classic/from-json-schema.ts +248 -25
  1045. package/node_modules/zod/src/v4/classic/schemas.ts +243 -168
  1046. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +60 -9
  1047. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +6 -0
  1048. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +2 -2
  1049. package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +265 -0
  1050. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +112 -6
  1051. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +9 -0
  1052. package/node_modules/zod/src/v4/classic/tests/error.test.ts +130 -1
  1053. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +157 -0
  1054. package/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
  1055. package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +40 -2
  1056. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +27 -7
  1057. package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +88 -56
  1058. package/node_modules/zod/src/v4/classic/tests/number.test.ts +39 -0
  1059. package/node_modules/zod/src/v4/classic/tests/object.test.ts +56 -0
  1060. package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +3 -2
  1061. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +70 -0
  1062. package/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
  1063. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +46 -1
  1064. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +19 -0
  1065. package/node_modules/zod/src/v4/classic/tests/string.test.ts +95 -1
  1066. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +33 -1
  1067. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +234 -38
  1068. package/node_modules/zod/src/v4/classic/tests/validate.test.ts +569 -0
  1069. package/node_modules/zod/src/v4/core/api.ts +44 -28
  1070. package/node_modules/zod/src/v4/core/checks.ts +62 -102
  1071. package/node_modules/zod/src/v4/core/compile.ts +218 -93
  1072. package/node_modules/zod/src/v4/core/core.ts +1 -3
  1073. package/node_modules/zod/src/v4/core/doc.ts +6 -2
  1074. package/node_modules/zod/src/v4/core/errors.ts +3 -6
  1075. package/node_modules/zod/src/v4/core/json-schema-generator.ts +2 -2
  1076. package/node_modules/zod/src/v4/core/json-schema-processors.ts +185 -81
  1077. package/node_modules/zod/src/v4/core/memoizer.ts +75 -28
  1078. package/node_modules/zod/src/v4/core/parse.ts +37 -16
  1079. package/node_modules/zod/src/v4/core/regexes.ts +14 -4
  1080. package/node_modules/zod/src/v4/core/schemas.ts +296 -132
  1081. package/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
  1082. package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +35 -0
  1083. package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
  1084. package/node_modules/zod/src/v4/core/tests/compile.test.ts +399 -2
  1085. package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
  1086. package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
  1087. package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
  1088. package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +118 -16
  1089. package/node_modules/zod/src/v4/core/to-json-schema.ts +9 -7
  1090. package/node_modules/zod/src/v4/core/util.ts +218 -147
  1091. package/node_modules/zod/src/v4/core/versions.ts +2 -2
  1092. package/node_modules/zod/src/v4/locales/ar.ts +2 -0
  1093. package/node_modules/zod/src/v4/locales/az.ts +2 -0
  1094. package/node_modules/zod/src/v4/locales/be.ts +2 -0
  1095. package/node_modules/zod/src/v4/locales/bg.ts +2 -0
  1096. package/node_modules/zod/src/v4/locales/bn.ts +2 -0
  1097. package/node_modules/zod/src/v4/locales/ca.ts +2 -0
  1098. package/node_modules/zod/src/v4/locales/ckb.ts +2 -0
  1099. package/node_modules/zod/src/v4/locales/cs.ts +2 -0
  1100. package/node_modules/zod/src/v4/locales/da.ts +2 -0
  1101. package/node_modules/zod/src/v4/locales/de.ts +2 -0
  1102. package/node_modules/zod/src/v4/locales/el.ts +2 -0
  1103. package/node_modules/zod/src/v4/locales/en.ts +2 -0
  1104. package/node_modules/zod/src/v4/locales/eo.ts +2 -0
  1105. package/node_modules/zod/src/v4/locales/es.ts +2 -0
  1106. package/node_modules/zod/src/v4/locales/fa.ts +2 -0
  1107. package/node_modules/zod/src/v4/locales/fi.ts +2 -0
  1108. package/node_modules/zod/src/v4/locales/fr-CA.ts +2 -0
  1109. package/node_modules/zod/src/v4/locales/fr.ts +2 -0
  1110. package/node_modules/zod/src/v4/locales/gu.ts +2 -0
  1111. package/node_modules/zod/src/v4/locales/he.ts +2 -0
  1112. package/node_modules/zod/src/v4/locales/hi.ts +2 -0
  1113. package/node_modules/zod/src/v4/locales/hr.ts +2 -0
  1114. package/node_modules/zod/src/v4/locales/hu.ts +2 -0
  1115. package/node_modules/zod/src/v4/locales/hy.ts +2 -0
  1116. package/node_modules/zod/src/v4/locales/id.ts +2 -0
  1117. package/node_modules/zod/src/v4/locales/index.ts +1 -0
  1118. package/node_modules/zod/src/v4/locales/is.ts +2 -0
  1119. package/node_modules/zod/src/v4/locales/it.ts +2 -0
  1120. package/node_modules/zod/src/v4/locales/ja.ts +2 -0
  1121. package/node_modules/zod/src/v4/locales/ka.ts +2 -0
  1122. package/node_modules/zod/src/v4/locales/km.ts +2 -0
  1123. package/node_modules/zod/src/v4/locales/kn.ts +2 -0
  1124. package/node_modules/zod/src/v4/locales/ko.ts +2 -0
  1125. package/node_modules/zod/src/v4/locales/lt.ts +2 -0
  1126. package/node_modules/zod/src/v4/locales/mk.ts +2 -0
  1127. package/node_modules/zod/src/v4/locales/ms.ts +2 -0
  1128. package/node_modules/zod/src/v4/locales/ne.ts +2 -0
  1129. package/node_modules/zod/src/v4/locales/nl.ts +2 -0
  1130. package/node_modules/zod/src/v4/locales/nn.ts +2 -0
  1131. package/node_modules/zod/src/v4/locales/no.ts +2 -0
  1132. package/node_modules/zod/src/v4/locales/ota.ts +2 -0
  1133. package/node_modules/zod/src/v4/locales/pl.ts +2 -0
  1134. package/node_modules/zod/src/v4/locales/ps.ts +2 -0
  1135. package/node_modules/zod/src/v4/locales/pt-BR.ts +2 -0
  1136. package/node_modules/zod/src/v4/locales/pt.ts +2 -0
  1137. package/node_modules/zod/src/v4/locales/ro.ts +2 -0
  1138. package/node_modules/zod/src/v4/locales/ru.ts +2 -0
  1139. package/node_modules/zod/src/v4/locales/sk.ts +2 -0
  1140. package/node_modules/zod/src/v4/locales/sl.ts +2 -0
  1141. package/node_modules/zod/src/v4/locales/sv.ts +2 -0
  1142. package/node_modules/zod/src/v4/locales/ta.ts +2 -0
  1143. package/node_modules/zod/src/v4/locales/tg.ts +135 -0
  1144. package/node_modules/zod/src/v4/locales/th.ts +2 -0
  1145. package/node_modules/zod/src/v4/locales/tk.ts +2 -0
  1146. package/node_modules/zod/src/v4/locales/tr.ts +2 -0
  1147. package/node_modules/zod/src/v4/locales/uk.ts +2 -0
  1148. package/node_modules/zod/src/v4/locales/ur.ts +2 -0
  1149. package/node_modules/zod/src/v4/locales/uz.ts +2 -0
  1150. package/node_modules/zod/src/v4/locales/vi.ts +2 -0
  1151. package/node_modules/zod/src/v4/locales/yo.ts +2 -0
  1152. package/node_modules/zod/src/v4/locales/zh-CN.ts +2 -0
  1153. package/node_modules/zod/src/v4/locales/zh-TW.ts +2 -0
  1154. package/node_modules/zod/src/v4/mini/external.ts +2 -0
  1155. package/node_modules/zod/src/v4/mini/schemas.ts +32 -7
  1156. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +1 -1
  1157. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +11 -17
  1158. package/node_modules/zod/src/v4/mini/tests/index.test.ts +86 -0
  1159. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +16 -0
  1160. package/node_modules/zod/src/v4/mini/tests/string.test.ts +23 -0
  1161. package/node_modules/zod/v3/ZodError.cjs +19 -0
  1162. package/node_modules/zod/v3/errors.cjs +19 -0
  1163. package/node_modules/zod/v3/external.cjs +19 -0
  1164. package/node_modules/zod/v3/helpers/enumUtil.cjs +19 -0
  1165. package/node_modules/zod/v3/helpers/errorUtil.cjs +20 -1
  1166. package/node_modules/zod/v3/helpers/errorUtil.js +1 -1
  1167. package/node_modules/zod/v3/helpers/parseUtil.cjs +19 -0
  1168. package/node_modules/zod/v3/helpers/partialUtil.cjs +19 -0
  1169. package/node_modules/zod/v3/helpers/typeAliases.cjs +19 -0
  1170. package/node_modules/zod/v3/helpers/util.cjs +19 -0
  1171. package/node_modules/zod/v3/index.cjs +19 -0
  1172. package/node_modules/zod/v3/standard-schema.cjs +19 -0
  1173. package/node_modules/zod/v3/types.cjs +19 -0
  1174. package/node_modules/zod/v4/classic/checks.cjs +19 -0
  1175. package/node_modules/zod/v4/classic/coerce.cjs +19 -0
  1176. package/node_modules/zod/v4/classic/compat.cjs +19 -0
  1177. package/node_modules/zod/v4/classic/deep-partial.cjs +19 -0
  1178. package/node_modules/zod/v4/classic/errors.cjs +19 -0
  1179. package/node_modules/zod/v4/classic/external.cjs +22 -1
  1180. package/node_modules/zod/v4/classic/external.d.cts +1 -1
  1181. package/node_modules/zod/v4/classic/external.d.ts +1 -1
  1182. package/node_modules/zod/v4/classic/external.js +1 -1
  1183. package/node_modules/zod/v4/classic/from-json-schema.cjs +264 -24
  1184. package/node_modules/zod/v4/classic/from-json-schema.js +245 -24
  1185. package/node_modules/zod/v4/classic/in-out.cjs +19 -0
  1186. package/node_modules/zod/v4/classic/index.cjs +19 -0
  1187. package/node_modules/zod/v4/classic/iso.cjs +19 -0
  1188. package/node_modules/zod/v4/classic/parse.cjs +19 -0
  1189. package/node_modules/zod/v4/classic/schemas.cjs +100 -35
  1190. package/node_modules/zod/v4/classic/schemas.d.cts +15 -1
  1191. package/node_modules/zod/v4/classic/schemas.d.ts +15 -1
  1192. package/node_modules/zod/v4/classic/schemas.js +77 -33
  1193. package/node_modules/zod/v4/core/api.cjs +45 -22
  1194. package/node_modules/zod/v4/core/api.d.cts +12 -6
  1195. package/node_modules/zod/v4/core/api.d.ts +12 -6
  1196. package/node_modules/zod/v4/core/api.js +25 -22
  1197. package/node_modules/zod/v4/core/checks.cjs +51 -97
  1198. package/node_modules/zod/v4/core/checks.d.cts +17 -1
  1199. package/node_modules/zod/v4/core/checks.d.ts +17 -1
  1200. package/node_modules/zod/v4/core/checks.js +31 -96
  1201. package/node_modules/zod/v4/core/compile.cjs +173 -78
  1202. package/node_modules/zod/v4/core/compile.d.cts +18 -4
  1203. package/node_modules/zod/v4/core/compile.d.ts +18 -4
  1204. package/node_modules/zod/v4/core/compile.js +154 -79
  1205. package/node_modules/zod/v4/core/core.cjs +20 -1
  1206. package/node_modules/zod/v4/core/core.js +1 -1
  1207. package/node_modules/zod/v4/core/doc.cjs +26 -2
  1208. package/node_modules/zod/v4/core/doc.js +7 -2
  1209. package/node_modules/zod/v4/core/errors.cjs +21 -5
  1210. package/node_modules/zod/v4/core/errors.js +2 -5
  1211. package/node_modules/zod/v4/core/index.cjs +19 -0
  1212. package/node_modules/zod/v4/core/json-schema-generator.cjs +20 -1
  1213. package/node_modules/zod/v4/core/json-schema-generator.js +2 -2
  1214. package/node_modules/zod/v4/core/json-schema-processors.cjs +188 -72
  1215. package/node_modules/zod/v4/core/json-schema-processors.d.cts +16 -0
  1216. package/node_modules/zod/v4/core/json-schema-processors.d.ts +16 -0
  1217. package/node_modules/zod/v4/core/json-schema-processors.js +170 -74
  1218. package/node_modules/zod/v4/core/json-schema.cjs +19 -0
  1219. package/node_modules/zod/v4/core/memoizer.cjs +111 -23
  1220. package/node_modules/zod/v4/core/memoizer.js +69 -23
  1221. package/node_modules/zod/v4/core/parse.cjs +56 -16
  1222. package/node_modules/zod/v4/core/parse.js +37 -16
  1223. package/node_modules/zod/v4/core/regexes.cjs +31 -6
  1224. package/node_modules/zod/v4/core/regexes.d.cts +3 -0
  1225. package/node_modules/zod/v4/core/regexes.d.ts +3 -0
  1226. package/node_modules/zod/v4/core/regexes.js +10 -4
  1227. package/node_modules/zod/v4/core/registries.cjs +19 -0
  1228. package/node_modules/zod/v4/core/schemas.cjs +302 -114
  1229. package/node_modules/zod/v4/core/schemas.d.cts +28 -8
  1230. package/node_modules/zod/v4/core/schemas.d.ts +28 -8
  1231. package/node_modules/zod/v4/core/schemas.js +279 -113
  1232. package/node_modules/zod/v4/core/standard-schema.cjs +19 -0
  1233. package/node_modules/zod/v4/core/to-json-schema.cjs +28 -7
  1234. package/node_modules/zod/v4/core/to-json-schema.d.cts +4 -3
  1235. package/node_modules/zod/v4/core/to-json-schema.d.ts +4 -3
  1236. package/node_modules/zod/v4/core/to-json-schema.js +7 -6
  1237. package/node_modules/zod/v4/core/util.cjs +177 -143
  1238. package/node_modules/zod/v4/core/util.d.cts +25 -4
  1239. package/node_modules/zod/v4/core/util.d.ts +25 -4
  1240. package/node_modules/zod/v4/core/util.js +156 -143
  1241. package/node_modules/zod/v4/core/versions.cjs +21 -2
  1242. package/node_modules/zod/v4/core/versions.d.cts +1 -1
  1243. package/node_modules/zod/v4/core/versions.d.ts +1 -1
  1244. package/node_modules/zod/v4/core/versions.js +2 -2
  1245. package/node_modules/zod/v4/core/visit.cjs +19 -0
  1246. package/node_modules/zod/v4/index.cjs +19 -0
  1247. package/node_modules/zod/v4/locales/ar.cjs +2 -0
  1248. package/node_modules/zod/v4/locales/ar.js +2 -0
  1249. package/node_modules/zod/v4/locales/az.cjs +2 -0
  1250. package/node_modules/zod/v4/locales/az.js +2 -0
  1251. package/node_modules/zod/v4/locales/be.cjs +2 -0
  1252. package/node_modules/zod/v4/locales/be.js +2 -0
  1253. package/node_modules/zod/v4/locales/bg.cjs +2 -0
  1254. package/node_modules/zod/v4/locales/bg.js +2 -0
  1255. package/node_modules/zod/v4/locales/bn.cjs +2 -0
  1256. package/node_modules/zod/v4/locales/bn.js +2 -0
  1257. package/node_modules/zod/v4/locales/ca.cjs +2 -0
  1258. package/node_modules/zod/v4/locales/ca.js +2 -0
  1259. package/node_modules/zod/v4/locales/ckb.cjs +2 -0
  1260. package/node_modules/zod/v4/locales/ckb.js +2 -0
  1261. package/node_modules/zod/v4/locales/cs.cjs +2 -0
  1262. package/node_modules/zod/v4/locales/cs.js +2 -0
  1263. package/node_modules/zod/v4/locales/da.cjs +2 -0
  1264. package/node_modules/zod/v4/locales/da.js +2 -0
  1265. package/node_modules/zod/v4/locales/de.cjs +2 -0
  1266. package/node_modules/zod/v4/locales/de.js +2 -0
  1267. package/node_modules/zod/v4/locales/el.cjs +2 -0
  1268. package/node_modules/zod/v4/locales/el.js +2 -0
  1269. package/node_modules/zod/v4/locales/en.cjs +2 -0
  1270. package/node_modules/zod/v4/locales/en.js +2 -0
  1271. package/node_modules/zod/v4/locales/eo.cjs +2 -0
  1272. package/node_modules/zod/v4/locales/eo.js +2 -0
  1273. package/node_modules/zod/v4/locales/es.cjs +2 -0
  1274. package/node_modules/zod/v4/locales/es.js +2 -0
  1275. package/node_modules/zod/v4/locales/fa.cjs +2 -0
  1276. package/node_modules/zod/v4/locales/fa.js +2 -0
  1277. package/node_modules/zod/v4/locales/fi.cjs +2 -0
  1278. package/node_modules/zod/v4/locales/fi.js +2 -0
  1279. package/node_modules/zod/v4/locales/fr-CA.cjs +2 -0
  1280. package/node_modules/zod/v4/locales/fr-CA.js +2 -0
  1281. package/node_modules/zod/v4/locales/fr.cjs +2 -0
  1282. package/node_modules/zod/v4/locales/fr.js +2 -0
  1283. package/node_modules/zod/v4/locales/gu.cjs +2 -0
  1284. package/node_modules/zod/v4/locales/gu.js +2 -0
  1285. package/node_modules/zod/v4/locales/he.cjs +2 -0
  1286. package/node_modules/zod/v4/locales/he.js +2 -0
  1287. package/node_modules/zod/v4/locales/hi.cjs +2 -0
  1288. package/node_modules/zod/v4/locales/hi.js +2 -0
  1289. package/node_modules/zod/v4/locales/hr.cjs +2 -0
  1290. package/node_modules/zod/v4/locales/hr.js +2 -0
  1291. package/node_modules/zod/v4/locales/hu.cjs +2 -0
  1292. package/node_modules/zod/v4/locales/hu.js +2 -0
  1293. package/node_modules/zod/v4/locales/hy.cjs +2 -0
  1294. package/node_modules/zod/v4/locales/hy.js +2 -0
  1295. package/node_modules/zod/v4/locales/id.cjs +2 -0
  1296. package/node_modules/zod/v4/locales/id.js +2 -0
  1297. package/node_modules/zod/v4/locales/index.cjs +22 -1
  1298. package/node_modules/zod/v4/locales/index.d.cts +1 -0
  1299. package/node_modules/zod/v4/locales/index.d.ts +1 -0
  1300. package/node_modules/zod/v4/locales/index.js +1 -0
  1301. package/node_modules/zod/v4/locales/is.cjs +2 -0
  1302. package/node_modules/zod/v4/locales/is.js +2 -0
  1303. package/node_modules/zod/v4/locales/it.cjs +2 -0
  1304. package/node_modules/zod/v4/locales/it.js +2 -0
  1305. package/node_modules/zod/v4/locales/ja.cjs +2 -0
  1306. package/node_modules/zod/v4/locales/ja.js +2 -0
  1307. package/node_modules/zod/v4/locales/ka.cjs +2 -0
  1308. package/node_modules/zod/v4/locales/ka.js +2 -0
  1309. package/node_modules/zod/v4/locales/km.cjs +2 -0
  1310. package/node_modules/zod/v4/locales/km.js +2 -0
  1311. package/node_modules/zod/v4/locales/kn.cjs +2 -0
  1312. package/node_modules/zod/v4/locales/kn.js +2 -0
  1313. package/node_modules/zod/v4/locales/ko.cjs +2 -0
  1314. package/node_modules/zod/v4/locales/ko.js +2 -0
  1315. package/node_modules/zod/v4/locales/lt.cjs +2 -0
  1316. package/node_modules/zod/v4/locales/lt.js +2 -0
  1317. package/node_modules/zod/v4/locales/mk.cjs +2 -0
  1318. package/node_modules/zod/v4/locales/mk.js +2 -0
  1319. package/node_modules/zod/v4/locales/ms.cjs +2 -0
  1320. package/node_modules/zod/v4/locales/ms.js +2 -0
  1321. package/node_modules/zod/v4/locales/ne.cjs +2 -0
  1322. package/node_modules/zod/v4/locales/ne.js +2 -0
  1323. package/node_modules/zod/v4/locales/nl.cjs +2 -0
  1324. package/node_modules/zod/v4/locales/nl.js +2 -0
  1325. package/node_modules/zod/v4/locales/nn.cjs +2 -0
  1326. package/node_modules/zod/v4/locales/nn.js +2 -0
  1327. package/node_modules/zod/v4/locales/no.cjs +2 -0
  1328. package/node_modules/zod/v4/locales/no.js +2 -0
  1329. package/node_modules/zod/v4/locales/ota.cjs +2 -0
  1330. package/node_modules/zod/v4/locales/ota.js +2 -0
  1331. package/node_modules/zod/v4/locales/pl.cjs +2 -0
  1332. package/node_modules/zod/v4/locales/pl.js +2 -0
  1333. package/node_modules/zod/v4/locales/ps.cjs +2 -0
  1334. package/node_modules/zod/v4/locales/ps.js +2 -0
  1335. package/node_modules/zod/v4/locales/pt-BR.cjs +2 -0
  1336. package/node_modules/zod/v4/locales/pt-BR.js +2 -0
  1337. package/node_modules/zod/v4/locales/pt.cjs +2 -0
  1338. package/node_modules/zod/v4/locales/pt.js +2 -0
  1339. package/node_modules/zod/v4/locales/ro.cjs +2 -0
  1340. package/node_modules/zod/v4/locales/ro.js +2 -0
  1341. package/node_modules/zod/v4/locales/ru.cjs +2 -0
  1342. package/node_modules/zod/v4/locales/ru.js +2 -0
  1343. package/node_modules/zod/v4/locales/sk.cjs +2 -0
  1344. package/node_modules/zod/v4/locales/sk.js +2 -0
  1345. package/node_modules/zod/v4/locales/sl.cjs +2 -0
  1346. package/node_modules/zod/v4/locales/sl.js +2 -0
  1347. package/node_modules/zod/v4/locales/sv.cjs +2 -0
  1348. package/node_modules/zod/v4/locales/sv.js +2 -0
  1349. package/node_modules/zod/v4/locales/ta.cjs +2 -0
  1350. package/node_modules/zod/v4/locales/ta.js +2 -0
  1351. package/node_modules/zod/v4/locales/tg.cjs +144 -0
  1352. package/node_modules/zod/v4/locales/tg.d.cts +5 -0
  1353. package/node_modules/zod/v4/locales/tg.d.ts +4 -0
  1354. package/node_modules/zod/v4/locales/tg.js +117 -0
  1355. package/node_modules/zod/v4/locales/th.cjs +2 -0
  1356. package/node_modules/zod/v4/locales/th.js +2 -0
  1357. package/node_modules/zod/v4/locales/tk.cjs +2 -0
  1358. package/node_modules/zod/v4/locales/tk.js +2 -0
  1359. package/node_modules/zod/v4/locales/tr.cjs +2 -0
  1360. package/node_modules/zod/v4/locales/tr.js +2 -0
  1361. package/node_modules/zod/v4/locales/uk.cjs +2 -0
  1362. package/node_modules/zod/v4/locales/uk.js +2 -0
  1363. package/node_modules/zod/v4/locales/ur.cjs +2 -0
  1364. package/node_modules/zod/v4/locales/ur.js +2 -0
  1365. package/node_modules/zod/v4/locales/uz.cjs +2 -0
  1366. package/node_modules/zod/v4/locales/uz.js +2 -0
  1367. package/node_modules/zod/v4/locales/vi.cjs +2 -0
  1368. package/node_modules/zod/v4/locales/vi.js +2 -0
  1369. package/node_modules/zod/v4/locales/yo.cjs +2 -0
  1370. package/node_modules/zod/v4/locales/yo.js +2 -0
  1371. package/node_modules/zod/v4/locales/zh-CN.cjs +2 -0
  1372. package/node_modules/zod/v4/locales/zh-CN.js +2 -0
  1373. package/node_modules/zod/v4/locales/zh-TW.cjs +2 -0
  1374. package/node_modules/zod/v4/locales/zh-TW.js +2 -0
  1375. package/node_modules/zod/v4/mini/checks.cjs +19 -0
  1376. package/node_modules/zod/v4/mini/coerce.cjs +19 -0
  1377. package/node_modules/zod/v4/mini/deep-partial.cjs +19 -0
  1378. package/node_modules/zod/v4/mini/external.cjs +22 -1
  1379. package/node_modules/zod/v4/mini/external.d.cts +1 -1
  1380. package/node_modules/zod/v4/mini/external.d.ts +1 -1
  1381. package/node_modules/zod/v4/mini/external.js +1 -1
  1382. package/node_modules/zod/v4/mini/in-out.cjs +19 -0
  1383. package/node_modules/zod/v4/mini/index.cjs +19 -0
  1384. package/node_modules/zod/v4/mini/iso.cjs +19 -0
  1385. package/node_modules/zod/v4/mini/parse.cjs +19 -0
  1386. package/node_modules/zod/v4/mini/schemas.cjs +44 -8
  1387. package/node_modules/zod/v4/mini/schemas.d.cts +6 -1
  1388. package/node_modules/zod/v4/mini/schemas.d.ts +6 -1
  1389. package/node_modules/zod/v4/mini/schemas.js +21 -6
  1390. package/node_modules/zod/v4-mini/index.cjs +19 -0
  1391. package/openclaw.plugin.json +24 -0
  1392. package/package.json +11 -8
  1393. package/dist/.setup/account-selection-5koohRSQ.mjs +0 -203
  1394. package/dist/.setup/accounts-BF5hyc-1.mjs +0 -129
  1395. package/dist/.setup/approval-handler.runtime-CoZCYGUH.mjs +0 -415
  1396. package/dist/.setup/approval-ids-CZOcdJ-5.mjs +0 -7
  1397. package/dist/.setup/approval-reaction-auth-B51E4ZDa.mjs +0 -27
  1398. package/dist/.setup/approval-reactions-B0hfA6qz.mjs +0 -196
  1399. package/dist/.setup/channel-q6TBKEiG.mjs +0 -1414
  1400. package/dist/.setup/channel.runtime-DcDBdxe6.mjs +0 -71
  1401. package/dist/.setup/channel.setup-DZQ5rf9k.mjs +0 -357
  1402. package/dist/.setup/cli-Cx_cNaXN.mjs +0 -1410
  1403. package/dist/.setup/cli-metadata-DHU1H-Vr.mjs +0 -22
  1404. package/dist/.setup/client-By2B3Wz4.mjs +0 -27
  1405. package/dist/.setup/client-DsJUnWlV.mjs +0 -863
  1406. package/dist/.setup/client-bootstrap-DGX0f-4x.mjs +0 -78
  1407. package/dist/.setup/config-secret-input.runtime-CwsP3--c.mjs +0 -2
  1408. package/dist/.setup/config-update-B_4qZ5bV.mjs +0 -167
  1409. package/dist/.setup/create-client-DQXAZjTw.mjs +0 -61
  1410. package/dist/.setup/credentials-CeRipapZ.mjs +0 -85
  1411. package/dist/.setup/credentials-read-Dp7BoEdm.mjs +0 -66
  1412. package/dist/.setup/credentials-write.runtime-M_bUf3rL.mjs +0 -14
  1413. package/dist/.setup/crypto-runtime-9oxuU30y.mjs +0 -1138
  1414. package/dist/.setup/crypto-snapshot-doctor.runtime-DXpLbQ7y.mjs +0 -91
  1415. package/dist/.setup/deps-mtxF2mHI.mjs +0 -169
  1416. package/dist/.setup/device-health-CWOuIirq.mjs +0 -21
  1417. package/dist/.setup/direct-management-B2Bno2xL.mjs +0 -346
  1418. package/dist/.setup/directory-live-CatwztQc.mjs +0 -153
  1419. package/dist/.setup/doctor-BLCvdOFo.mjs +0 -64
  1420. package/dist/.setup/doctor-contract-HyWFZQVG.mjs +0 -167
  1421. package/dist/.setup/draft-stream-DIFZDNrb.mjs +0 -159
  1422. package/dist/.setup/encryption-guidance-DYEbeYj-.mjs +0 -16
  1423. package/dist/.setup/http-client-BJjo-iw5.mjs +0 -395
  1424. package/dist/.setup/idb-persistence-CIfFUjP3.mjs +0 -237
  1425. package/dist/.setup/idb-persistence-lock-B3fZXyF_.mjs +0 -32
  1426. package/dist/.setup/inbound-dedupe-BSlv35xl.mjs +0 -48
  1427. package/dist/.setup/joined-room-encryption-BCtxQ3hR.mjs +0 -67
  1428. package/dist/.setup/logger-xBjiRIp1.mjs +0 -78
  1429. package/dist/.setup/logging-rgm8ep9H.mjs +0 -99
  1430. package/dist/.setup/messages-SW0NPYnR.mjs +0 -317
  1431. package/dist/.setup/monitor-DQfYX5rA.mjs +0 -4650
  1432. package/dist/.setup/outbound-DRWtSUe-.mjs +0 -228
  1433. package/dist/.setup/probe.runtime-qPRZE3Yf.mjs +0 -2
  1434. package/dist/.setup/profile-ClrB3IgR.mjs +0 -108
  1435. package/dist/.setup/profile-update-DPttQz3-.mjs +0 -70
  1436. package/dist/.setup/reaction-events-CdAk_rh_.mjs +0 -167
  1437. package/dist/.setup/resolve-targets-drjgAdIe.mjs +0 -140
  1438. package/dist/.setup/resolver.runtime-Ci6ddcPh.mjs +0 -5
  1439. package/dist/.setup/rolldown-runtime-8H4AJuhK.mjs +0 -14
  1440. package/dist/.setup/room-info-DHd1j3qM.mjs +0 -153
  1441. package/dist/.setup/sdk-BkKE4ANj.mjs +0 -2168
  1442. package/dist/.setup/send-currentness-BrGXL7b8.mjs +0 -90
  1443. package/dist/.setup/send-h0gZ_-qk.mjs +0 -2219
  1444. package/dist/.setup/setup-bootstrap-BYgBD504.mjs +0 -62
  1445. package/dist/.setup/setup-core-BUcDAM7q.mjs +0 -386
  1446. package/dist/.setup/setup-plugin-api-DoTm4v2q.mjs +0 -3
  1447. package/dist/.setup/setup-surface-V_Q-enq-.mjs +0 -482
  1448. package/dist/.setup/startup-verification-Bq5qeEGn.mjs +0 -233
  1449. package/dist/.setup/storage-DJ-oUgmX.mjs +0 -335
  1450. package/dist/.setup/storage-metadata-BQJjHC_i.mjs +0 -388
  1451. package/dist/.setup/storage-paths-DVCANXTc.mjs +0 -53
  1452. package/dist/.setup/subagent-hooks-jFgft_Mr.mjs +0 -52
  1453. package/dist/.setup/sync-cache-state-CFiZIPhA.mjs +0 -240
  1454. package/dist/.setup/thread-bindings-Hy96ujd3.mjs +0 -444
  1455. package/dist/.setup/thread-bindings-shared-oNPiyMWY.mjs +0 -92
  1456. package/dist/.setup/tool-actions.runtime-Dckttu43.mjs +0 -854
  1457. package/dist/.setup/url-validation-GRHde6lq.mjs +0 -36
  1458. package/dist/.setup/verification-CKqBZ9mI.mjs +0 -346
  1459. package/node_modules/markdown-it/node_modules/argparse/lib/argparse.js +0 -3804
  1460. package/node_modules/markdown-it/node_modules/argparse/package.json +0 -38
  1461. package/node_modules/matrix-js-sdk/node_modules/@babel/runtime/package.json +0 -486
  1462. package/node_modules/matrix-js-sdk/node_modules/content-type/README.md +0 -71
  1463. package/node_modules/matrix-js-sdk/node_modules/content-type/dist/index.d.ts +0 -46
  1464. package/node_modules/matrix-js-sdk/node_modules/content-type/dist/index.js +0 -176
  1465. package/node_modules/matrix-js-sdk/node_modules/content-type/dist/index.js.map +0 -1
  1466. package/node_modules/matrix-js-sdk/node_modules/content-type/package.json +0 -52
  1467. package/node_modules/music-metadata/node_modules/debug/LICENSE +0 -20
  1468. package/node_modules/music-metadata/node_modules/debug/README.md +0 -481
  1469. package/node_modules/music-metadata/node_modules/debug/package.json +0 -64
  1470. package/node_modules/music-metadata/node_modules/debug/src/browser.js +0 -272
  1471. package/node_modules/music-metadata/node_modules/debug/src/common.js +0 -292
  1472. package/node_modules/music-metadata/node_modules/debug/src/index.js +0 -10
  1473. package/node_modules/music-metadata/node_modules/debug/src/node.js +0 -263
  1474. package/node_modules/music-metadata/node_modules/file-type/package.json +0 -274
  1475. package/node_modules/music-metadata/node_modules/file-type/readme.md +0 -600
  1476. package/node_modules/music-metadata/node_modules/file-type/source/detectors/zip.js +0 -648
  1477. package/node_modules/music-metadata/node_modules/file-type/source/index.js +0 -1929
  1478. package/node_modules/music-metadata/node_modules/file-type/source/supported.js +0 -368
  1479. package/node_modules/music-metadata/node_modules/ms/index.js +0 -162
  1480. package/node_modules/music-metadata/node_modules/ms/license.md +0 -21
  1481. package/node_modules/music-metadata/node_modules/ms/package.json +0 -38
  1482. package/node_modules/music-metadata/node_modules/ms/readme.md +0 -59
  1483. package/node_modules/typebox/build/guard/string.mjs +0 -168
  1484. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/LICENSE +0 -0
  1485. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/README.md +0 -0
  1486. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/OverloadYield.js +0 -0
  1487. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/applyDecoratedDescriptor.js +0 -0
  1488. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/applyDecs2311.js +0 -0
  1489. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/arrayLikeToArray.js +0 -0
  1490. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/arrayWithHoles.js +0 -0
  1491. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/arrayWithoutHoles.js +0 -0
  1492. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/assertClassBrand.js +0 -0
  1493. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/assertThisInitialized.js +0 -0
  1494. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/asyncGeneratorDelegate.js +0 -0
  1495. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/asyncIterator.js +0 -0
  1496. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/asyncToGenerator.js +0 -0
  1497. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/awaitAsyncGenerator.js +0 -0
  1498. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/callSuper.js +0 -0
  1499. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/checkInRHS.js +0 -0
  1500. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/checkPrivateRedeclaration.js +0 -0
  1501. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classCallCheck.js +0 -0
  1502. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classNameTDZError.js +0 -0
  1503. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldGet2.js +0 -0
  1504. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldInitSpec.js +0 -0
  1505. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldLooseBase.js +0 -0
  1506. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldLooseKey.js +0 -0
  1507. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateFieldSet2.js +0 -0
  1508. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateGetter.js +0 -0
  1509. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateMethodInitSpec.js +0 -0
  1510. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classPrivateSetter.js +0 -0
  1511. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/classStaticPrivateMethodGet.js +0 -0
  1512. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/construct.js +0 -0
  1513. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/createClass.js +0 -0
  1514. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/createForOfIteratorHelper.js +0 -0
  1515. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/createForOfIteratorHelperLoose.js +0 -0
  1516. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/createSuper.js +0 -0
  1517. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/defaults.js +0 -0
  1518. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/defineAccessor.js +0 -0
  1519. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/defineProperty.js +0 -0
  1520. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/OverloadYield.js +0 -0
  1521. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -0
  1522. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/applyDecs2311.js +0 -0
  1523. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/arrayLikeToArray.js +0 -0
  1524. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/arrayWithHoles.js +0 -0
  1525. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/arrayWithoutHoles.js +0 -0
  1526. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/assertClassBrand.js +0 -0
  1527. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/assertThisInitialized.js +0 -0
  1528. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -0
  1529. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/asyncIterator.js +0 -0
  1530. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/asyncToGenerator.js +0 -0
  1531. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/awaitAsyncGenerator.js +0 -0
  1532. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/callSuper.js +0 -0
  1533. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/checkInRHS.js +0 -0
  1534. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -0
  1535. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classCallCheck.js +0 -0
  1536. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classNameTDZError.js +0 -0
  1537. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldGet2.js +0 -0
  1538. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -0
  1539. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -0
  1540. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -0
  1541. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateFieldSet2.js +0 -0
  1542. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateGetter.js +0 -0
  1543. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -0
  1544. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classPrivateSetter.js +0 -0
  1545. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -0
  1546. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/construct.js +0 -0
  1547. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/createClass.js +0 -0
  1548. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/createForOfIteratorHelper.js +0 -0
  1549. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -0
  1550. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/createSuper.js +0 -0
  1551. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/defaults.js +0 -0
  1552. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/defineAccessor.js +0 -0
  1553. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/defineProperty.js +0 -0
  1554. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/extends.js +0 -0
  1555. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/get.js +0 -0
  1556. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/getPrototypeOf.js +0 -0
  1557. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/identity.js +0 -0
  1558. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/importDeferProxy.js +0 -0
  1559. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/inherits.js +0 -0
  1560. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/inheritsLoose.js +0 -0
  1561. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/initializerDefineProperty.js +0 -0
  1562. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/initializerWarningHelper.js +0 -0
  1563. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/instanceof.js +0 -0
  1564. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/interopRequireDefault.js +0 -0
  1565. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/interopRequireWildcard.js +0 -0
  1566. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/isNativeFunction.js +0 -0
  1567. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/isNativeReflectConstruct.js +0 -0
  1568. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/iterableToArray.js +0 -0
  1569. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/iterableToArrayLimit.js +0 -0
  1570. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/jsx.js +0 -0
  1571. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/maybeArrayLike.js +0 -0
  1572. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/newArrowCheck.js +0 -0
  1573. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/nonIterableRest.js +0 -0
  1574. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/nonIterableSpread.js +0 -0
  1575. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/nullishReceiverError.js +0 -0
  1576. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/objectDestructuringEmpty.js +0 -0
  1577. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/objectSpread2.js +0 -0
  1578. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/objectWithoutProperties.js +0 -0
  1579. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -0
  1580. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/package.json +0 -0
  1581. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/possibleConstructorReturn.js +0 -0
  1582. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/readOnlyError.js +0 -0
  1583. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regenerator.js +0 -0
  1584. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorAsync.js +0 -0
  1585. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorAsyncGen.js +0 -0
  1586. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorAsyncIterator.js +0 -0
  1587. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorDefine.js +0 -0
  1588. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorKeys.js +0 -0
  1589. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/regeneratorValues.js +0 -0
  1590. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/set.js +0 -0
  1591. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/setFunctionName.js +0 -0
  1592. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/setPrototypeOf.js +0 -0
  1593. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -0
  1594. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/slicedToArray.js +0 -0
  1595. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/superPropBase.js +0 -0
  1596. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/superPropGet.js +0 -0
  1597. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/superPropSet.js +0 -0
  1598. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/taggedTemplateLiteral.js +0 -0
  1599. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -0
  1600. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/tdz.js +0 -0
  1601. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/temporalRef.js +0 -0
  1602. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/temporalUndefined.js +0 -0
  1603. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toArray.js +0 -0
  1604. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toConsumableArray.js +0 -0
  1605. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toPrimitive.js +0 -0
  1606. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toPropertyKey.js +0 -0
  1607. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/toSetter.js +0 -0
  1608. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +0 -0
  1609. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/typeof.js +0 -0
  1610. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/unsupportedIterableToArray.js +0 -0
  1611. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/usingCtx.js +0 -0
  1612. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/wrapAsyncGenerator.js +0 -0
  1613. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/wrapNativeSuper.js +0 -0
  1614. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/wrapRegExp.js +0 -0
  1615. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/esm/writeOnlyError.js +0 -0
  1616. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/extends.js +0 -0
  1617. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/get.js +0 -0
  1618. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/getPrototypeOf.js +0 -0
  1619. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/identity.js +0 -0
  1620. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/importDeferProxy.js +0 -0
  1621. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/inherits.js +0 -0
  1622. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/inheritsLoose.js +0 -0
  1623. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/initializerDefineProperty.js +0 -0
  1624. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/initializerWarningHelper.js +0 -0
  1625. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/instanceof.js +0 -0
  1626. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/interopRequireDefault.js +0 -0
  1627. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/interopRequireWildcard.js +0 -0
  1628. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/isNativeFunction.js +0 -0
  1629. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/isNativeReflectConstruct.js +0 -0
  1630. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/iterableToArray.js +0 -0
  1631. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/iterableToArrayLimit.js +0 -0
  1632. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/jsx.js +0 -0
  1633. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/maybeArrayLike.js +0 -0
  1634. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/newArrowCheck.js +0 -0
  1635. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/nonIterableRest.js +0 -0
  1636. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/nonIterableSpread.js +0 -0
  1637. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/nullishReceiverError.js +0 -0
  1638. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/objectDestructuringEmpty.js +0 -0
  1639. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/objectSpread2.js +0 -0
  1640. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/objectWithoutProperties.js +0 -0
  1641. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/objectWithoutPropertiesLoose.js +0 -0
  1642. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/possibleConstructorReturn.js +0 -0
  1643. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/readOnlyError.js +0 -0
  1644. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regenerator.js +0 -0
  1645. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorAsync.js +0 -0
  1646. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorAsyncGen.js +0 -0
  1647. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorAsyncIterator.js +0 -0
  1648. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorDefine.js +0 -0
  1649. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorKeys.js +0 -0
  1650. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/regeneratorValues.js +0 -0
  1651. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/set.js +0 -0
  1652. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/setFunctionName.js +0 -0
  1653. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/setPrototypeOf.js +0 -0
  1654. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/skipFirstGeneratorNext.js +0 -0
  1655. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/slicedToArray.js +0 -0
  1656. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/superPropBase.js +0 -0
  1657. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/superPropGet.js +0 -0
  1658. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/superPropSet.js +0 -0
  1659. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/taggedTemplateLiteral.js +0 -0
  1660. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/taggedTemplateLiteralLoose.js +0 -0
  1661. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/tdz.js +0 -0
  1662. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/temporalRef.js +0 -0
  1663. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/temporalUndefined.js +0 -0
  1664. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toArray.js +0 -0
  1665. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toConsumableArray.js +0 -0
  1666. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toPrimitive.js +0 -0
  1667. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toPropertyKey.js +0 -0
  1668. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/toSetter.js +0 -0
  1669. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/tsRewriteRelativeImportExtensions.js +0 -0
  1670. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/typeof.js +0 -0
  1671. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/unsupportedIterableToArray.js +0 -0
  1672. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/usingCtx.js +0 -0
  1673. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/wrapAsyncGenerator.js +0 -0
  1674. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/wrapNativeSuper.js +0 -0
  1675. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/wrapRegExp.js +0 -0
  1676. /package/node_modules/{matrix-js-sdk/node_modules/@babel → @babel}/runtime/helpers/writeOnlyError.js +0 -0
  1677. /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/LICENSE.txt +0 -0
  1678. /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/README.md +0 -0
  1679. /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/lib/index.d.ts +0 -0
  1680. /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/lib/index.js +0 -0
  1681. /package/node_modules/{music-metadata/node_modules/@borewit → @borewit}/text-codec/package.json +0 -0
  1682. /package/node_modules/{music-metadata/node_modules/strtok3/lib/types.js → @openclaw/fs-safe/dist/containment.js} +0 -0
  1683. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/LICENSE +0 -0
  1684. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/README.md +0 -0
  1685. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/GzipHandler.d.ts +0 -0
  1686. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/GzipHandler.js +0 -0
  1687. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/ZipHandler.d.ts +0 -0
  1688. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/ZipHandler.js +0 -0
  1689. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/ZipToken.d.ts +0 -0
  1690. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/ZipToken.js +0 -0
  1691. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/index.d.ts +0 -0
  1692. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/lib/index.js +0 -0
  1693. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/inflate/package.json +0 -0
  1694. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/token/README.md +0 -0
  1695. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/token/index.d.ts +0 -0
  1696. /package/node_modules/{music-metadata/node_modules/@tokenizer → @tokenizer}/token/package.json +0 -0
  1697. /package/node_modules/{matrix-js-sdk/node_modules/@types → @types}/events/LICENSE +0 -0
  1698. /package/node_modules/{matrix-js-sdk/node_modules/@types → @types}/events/README.md +0 -0
  1699. /package/node_modules/{matrix-js-sdk/node_modules/@types → @types}/events/index.d.ts +0 -0
  1700. /package/node_modules/{matrix-js-sdk/node_modules/@types → @types}/events/package.json +0 -0
  1701. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/LICENSE +0 -0
  1702. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/README.md +0 -0
  1703. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/helpers.d.ts +0 -0
  1704. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/helpers.d.ts.map +0 -0
  1705. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/helpers.js +0 -0
  1706. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/helpers.js.map +0 -0
  1707. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/index.d.ts +0 -0
  1708. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/index.d.ts.map +0 -0
  1709. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/index.js +0 -0
  1710. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/dist/index.js.map +0 -0
  1711. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/agent-base → agent-base}/package.json +0 -0
  1712. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/.jshint +0 -0
  1713. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/.npmignore +0 -0
  1714. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/.travis.yml +0 -0
  1715. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/LICENSE +0 -0
  1716. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/README.md +0 -0
  1717. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/another-json.js +0 -0
  1718. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/package.json +0 -0
  1719. /package/node_modules/{matrix-js-sdk/node_modules/another-json → another-json}/spec/another-json-spec.js +0 -0
  1720. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/LICENSE +0 -0
  1721. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/README.md +0 -0
  1722. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/_colorize.js +0 -0
  1723. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/argparse.d.ts +0 -0
  1724. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/difflib.js +0 -0
  1725. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/sub.js +0 -0
  1726. /package/node_modules/{markdown-it/node_modules/argparse → argparse}/lib/textwrap.js +0 -0
  1727. /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/LICENSE.md +0 -0
  1728. /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/README.md +0 -0
  1729. /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/package.json +0 -0
  1730. /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/src/cjs/index.cjs +0 -0
  1731. /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/src/cjs/index.d.ts +0 -0
  1732. /package/node_modules/{matrix-js-sdk/node_modules/base-x → base-x}/src/esm/index.js +0 -0
  1733. /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/LICENSE +0 -0
  1734. /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/README.md +0 -0
  1735. /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/package.json +0 -0
  1736. /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/src/cjs/index.cjs +0 -0
  1737. /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/src/cjs/index.d.ts +0 -0
  1738. /package/node_modules/{matrix-js-sdk/node_modules/bs58 → bs58}/src/esm/index.js +0 -0
  1739. /package/node_modules/{matrix-js-sdk/node_modules/content-type → content-type}/LICENSE +0 -0
  1740. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/LICENSE +0 -0
  1741. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/README.md +0 -0
  1742. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/package.json +0 -0
  1743. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/src/browser.js +0 -0
  1744. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/src/common.js +0 -0
  1745. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/src/index.js +0 -0
  1746. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/debug → debug}/src/node.js +0 -0
  1747. /package/node_modules/{markdown-it/node_modules/entities → entities}/LICENSE +0 -0
  1748. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode-codepoint.d.ts +0 -0
  1749. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode-codepoint.d.ts.map +0 -0
  1750. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode-codepoint.js +0 -0
  1751. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode-codepoint.js.map +0 -0
  1752. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode.d.ts +0 -0
  1753. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode.d.ts.map +0 -0
  1754. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode.js +0 -0
  1755. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/decode.js.map +0 -0
  1756. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/encode.d.ts +0 -0
  1757. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/encode.d.ts.map +0 -0
  1758. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/encode.js +0 -0
  1759. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/encode.js.map +0 -0
  1760. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/escape.d.ts +0 -0
  1761. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/escape.d.ts.map +0 -0
  1762. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/escape.js +0 -0
  1763. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/escape.js.map +0 -0
  1764. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-html.d.ts +0 -0
  1765. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-html.d.ts.map +0 -0
  1766. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-html.js +0 -0
  1767. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-html.js.map +0 -0
  1768. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-xml.d.ts +0 -0
  1769. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-xml.d.ts.map +0 -0
  1770. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-xml.js +0 -0
  1771. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/decode-data-xml.js.map +0 -0
  1772. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/encode-html.d.ts +0 -0
  1773. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/encode-html.d.ts.map +0 -0
  1774. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/encode-html.js +0 -0
  1775. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/generated/encode-html.js.map +0 -0
  1776. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/index.d.ts +0 -0
  1777. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/index.d.ts.map +0 -0
  1778. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/index.js +0 -0
  1779. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/index.js.map +0 -0
  1780. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/bin-trie-flags.d.ts +0 -0
  1781. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/bin-trie-flags.d.ts.map +0 -0
  1782. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/bin-trie-flags.js +0 -0
  1783. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/bin-trie-flags.js.map +0 -0
  1784. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/decode-shared.d.ts +0 -0
  1785. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/decode-shared.d.ts.map +0 -0
  1786. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/decode-shared.js +0 -0
  1787. /package/node_modules/{markdown-it/node_modules/entities → entities}/dist/internal/decode-shared.js.map +0 -0
  1788. /package/node_modules/{markdown-it/node_modules/entities → entities}/package.json +0 -0
  1789. /package/node_modules/{markdown-it/node_modules/entities → entities}/readme.md +0 -0
  1790. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/decode-codepoint.ts +0 -0
  1791. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/decode.ts +0 -0
  1792. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/encode.ts +0 -0
  1793. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/escape.ts +0 -0
  1794. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/generated/decode-data-html.ts +0 -0
  1795. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/generated/decode-data-xml.ts +0 -0
  1796. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/generated/encode-html.ts +0 -0
  1797. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/index.ts +0 -0
  1798. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/internal/bin-trie-flags.ts +0 -0
  1799. /package/node_modules/{markdown-it/node_modules/entities → entities}/src/internal/decode-shared.ts +0 -0
  1800. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/.airtap.yml +0 -0
  1801. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/.github/FUNDING.yml +0 -0
  1802. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/.travis.yml +0 -0
  1803. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/History.md +0 -0
  1804. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/LICENSE +0 -0
  1805. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/Readme.md +0 -0
  1806. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/events.js +0 -0
  1807. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/package.json +0 -0
  1808. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/security.md +0 -0
  1809. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/add-listeners.js +0 -0
  1810. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/check-listener-leaks.js +0 -0
  1811. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/common.js +0 -0
  1812. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/errors.js +0 -0
  1813. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/events-list.js +0 -0
  1814. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/events-once.js +0 -0
  1815. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/index.js +0 -0
  1816. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/legacy-compat.js +0 -0
  1817. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/listener-count.js +0 -0
  1818. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/listeners-side-effects.js +0 -0
  1819. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/listeners.js +0 -0
  1820. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/max-listeners.js +0 -0
  1821. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/method-names.js +0 -0
  1822. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/modify-in-emit.js +0 -0
  1823. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/num-args.js +0 -0
  1824. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/once.js +0 -0
  1825. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/prepend.js +0 -0
  1826. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/remove-all-listeners.js +0 -0
  1827. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/remove-listeners.js +0 -0
  1828. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/set-max-listeners-side-effects.js +0 -0
  1829. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/special-event-names.js +0 -0
  1830. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/subclass.js +0 -0
  1831. /package/node_modules/{matrix-js-sdk/node_modules/events → events}/tests/symbols.js +0 -0
  1832. /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → file-type}/license +0 -0
  1833. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/detectors/asf.js +0 -0
  1834. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/detectors/ebml.js +0 -0
  1835. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/detectors/png.js +0 -0
  1836. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/index.d.ts +0 -0
  1837. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/index.test-d.ts +0 -0
  1838. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/parser.js +0 -0
  1839. /package/node_modules/{music-metadata/node_modules/file-type → file-type}/source/tokens.js +0 -0
  1840. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/LICENSE +0 -0
  1841. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/README.md +0 -0
  1842. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.d.ts +0 -0
  1843. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.d.ts.map +0 -0
  1844. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.js +0 -0
  1845. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/index.js.map +0 -0
  1846. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/parse-proxy-response.d.ts +0 -0
  1847. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/parse-proxy-response.d.ts.map +0 -0
  1848. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/parse-proxy-response.js +0 -0
  1849. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/dist/parse-proxy-response.js.map +0 -0
  1850. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/https-proxy-agent → https-proxy-agent}/package.json +0 -0
  1851. /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/LICENSE +0 -0
  1852. /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/README.md +0 -0
  1853. /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/index.d.ts +0 -0
  1854. /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/index.js +0 -0
  1855. /package/node_modules/{music-metadata/node_modules/ieee754 → ieee754}/package.json +0 -0
  1856. /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → is-network-error}/index.d.ts +0 -0
  1857. /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → is-network-error}/index.js +0 -0
  1858. /package/node_modules/{matrix-js-sdk/node_modules/p-retry → is-network-error}/license +0 -0
  1859. /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → is-network-error}/package.json +0 -0
  1860. /package/node_modules/{matrix-js-sdk/node_modules/is-network-error → is-network-error}/readme.md +0 -0
  1861. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/LICENSE +0 -0
  1862. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/README.md +0 -0
  1863. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.cjs.js +0 -0
  1864. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.cjs.js.map +0 -0
  1865. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.d.ts +0 -0
  1866. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.mjs +0 -0
  1867. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/build/index.mjs.map +0 -0
  1868. /package/node_modules/{markdown-it/node_modules/linkify-it → linkify-it}/package.json +0 -0
  1869. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/.editorconfig +0 -0
  1870. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/CONTRIBUTING.md +0 -0
  1871. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/Gruntfile.js +0 -0
  1872. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/LICENSE-MIT +0 -0
  1873. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/README.md +0 -0
  1874. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/_config.yml +0 -0
  1875. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/bower.json +0 -0
  1876. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/demo/index.html +0 -0
  1877. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/demo/script.js +0 -0
  1878. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/demo/styles.css +0 -0
  1879. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/dist/loglevel.js +0 -0
  1880. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/dist/loglevel.min.js +0 -0
  1881. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/index.d.ts +0 -0
  1882. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/lib/loglevel.js +0 -0
  1883. /package/node_modules/{matrix-js-sdk/node_modules/loglevel → loglevel}/package.json +0 -0
  1884. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/LICENSE +0 -0
  1885. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/README.md +0 -0
  1886. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/ExtensibleEvents.d.ts +0 -0
  1887. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/ExtensibleEvents.js +0 -0
  1888. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/IPartialEvent.d.ts +0 -0
  1889. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/IPartialEvent.js +0 -0
  1890. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/InvalidEventError.d.ts +0 -0
  1891. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/InvalidEventError.js +0 -0
  1892. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/NamespacedMap.d.ts +0 -0
  1893. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/NamespacedMap.js +0 -0
  1894. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/NamespacedValue.d.ts +0 -0
  1895. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/NamespacedValue.js +0 -0
  1896. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/EmoteEvent.d.ts +0 -0
  1897. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/EmoteEvent.js +0 -0
  1898. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/ExtensibleEvent.d.ts +0 -0
  1899. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/ExtensibleEvent.js +0 -0
  1900. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/MessageEvent.d.ts +0 -0
  1901. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/MessageEvent.js +0 -0
  1902. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/NoticeEvent.d.ts +0 -0
  1903. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/NoticeEvent.js +0 -0
  1904. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollEndEvent.d.ts +0 -0
  1905. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollEndEvent.js +0 -0
  1906. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollResponseEvent.d.ts +0 -0
  1907. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollResponseEvent.js +0 -0
  1908. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollStartEvent.d.ts +0 -0
  1909. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/PollStartEvent.js +0 -0
  1910. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/message_types.d.ts +0 -0
  1911. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/message_types.js +0 -0
  1912. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/poll_types.d.ts +0 -0
  1913. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/poll_types.js +0 -0
  1914. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/relationship_types.d.ts +0 -0
  1915. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/events/relationship_types.js +0 -0
  1916. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/index.d.ts +0 -0
  1917. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/index.js +0 -0
  1918. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/legacy/MRoomMessage.d.ts +0 -0
  1919. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/legacy/MRoomMessage.js +0 -0
  1920. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/modern/MMessage.d.ts +0 -0
  1921. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/modern/MMessage.js +0 -0
  1922. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/modern/MPoll.d.ts +0 -0
  1923. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/interpreters/modern/MPoll.js +0 -0
  1924. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/types.d.ts +0 -0
  1925. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/types.js +0 -0
  1926. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/utility/MessageMatchers.d.ts +0 -0
  1927. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/utility/MessageMatchers.js +0 -0
  1928. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/utility/events.d.ts +0 -0
  1929. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/lib/utility/events.js +0 -0
  1930. /package/node_modules/{matrix-js-sdk/node_modules/matrix-events-sdk → matrix-events-sdk}/package.json +0 -0
  1931. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/LICENSE +0 -0
  1932. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/README.md +0 -0
  1933. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/dist/api.js +0 -0
  1934. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/dist/api.min.js +0 -0
  1935. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/ClientWidgetApi.d.ts +0 -0
  1936. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/ClientWidgetApi.js +0 -0
  1937. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/ClientWidgetApi.js.map +0 -0
  1938. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/Symbols.d.ts +0 -0
  1939. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/Symbols.js +0 -0
  1940. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/Symbols.js.map +0 -0
  1941. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/WidgetApi.d.ts +0 -0
  1942. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/WidgetApi.js +0 -0
  1943. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/WidgetApi.js.map +0 -0
  1944. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/driver/WidgetDriver.d.ts +0 -0
  1945. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/driver/WidgetDriver.js +0 -0
  1946. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/driver/WidgetDriver.js.map +0 -0
  1947. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/index.d.ts +0 -0
  1948. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/index.js +0 -0
  1949. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/index.js.map +0 -0
  1950. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ApiVersion.d.ts +0 -0
  1951. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ApiVersion.js +0 -0
  1952. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ApiVersion.js.map +0 -0
  1953. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/Capabilities.d.ts +0 -0
  1954. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/Capabilities.js +0 -0
  1955. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/Capabilities.js.map +0 -0
  1956. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/CapabilitiesAction.d.ts +0 -0
  1957. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/CapabilitiesAction.js +0 -0
  1958. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/CapabilitiesAction.js.map +0 -0
  1959. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ContentLoadedAction.d.ts +0 -0
  1960. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ContentLoadedAction.js +0 -0
  1961. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ContentLoadedAction.js.map +0 -0
  1962. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/DownloadFileAction.d.ts +0 -0
  1963. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/DownloadFileAction.js +0 -0
  1964. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/DownloadFileAction.js.map +0 -0
  1965. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetMediaConfigAction.d.ts +0 -0
  1966. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetMediaConfigAction.js +0 -0
  1967. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetMediaConfigAction.js.map +0 -0
  1968. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetOpenIDAction.d.ts +0 -0
  1969. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetOpenIDAction.js +0 -0
  1970. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/GetOpenIDAction.js.map +0 -0
  1971. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ICustomWidgetData.d.ts +0 -0
  1972. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ICustomWidgetData.js +0 -0
  1973. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ICustomWidgetData.js.map +0 -0
  1974. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IJitsiWidgetData.d.ts +0 -0
  1975. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IJitsiWidgetData.js +0 -0
  1976. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IJitsiWidgetData.js.map +0 -0
  1977. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomAccountData.d.ts +0 -0
  1978. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomAccountData.js +0 -0
  1979. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomAccountData.js.map +0 -0
  1980. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomEvent.d.ts +0 -0
  1981. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomEvent.js +0 -0
  1982. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IRoomEvent.js.map +0 -0
  1983. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IStickerpickerWidgetData.d.ts +0 -0
  1984. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IStickerpickerWidgetData.js +0 -0
  1985. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IStickerpickerWidgetData.js.map +0 -0
  1986. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IToDeviceMessage.d.ts +0 -0
  1987. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IToDeviceMessage.js +0 -0
  1988. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IToDeviceMessage.js.map +0 -0
  1989. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidget.d.ts +0 -0
  1990. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidget.js +0 -0
  1991. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidget.js.map +0 -0
  1992. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiErrorResponse.d.ts +0 -0
  1993. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiErrorResponse.js +0 -0
  1994. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiErrorResponse.js.map +0 -0
  1995. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiRequest.d.ts +0 -0
  1996. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiRequest.js +0 -0
  1997. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiRequest.js.map +0 -0
  1998. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiResponse.d.ts +0 -0
  1999. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiResponse.js +0 -0
  2000. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/IWidgetApiResponse.js.map +0 -0
  2001. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/LanguageChangeAction.d.ts +0 -0
  2002. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/LanguageChangeAction.js +0 -0
  2003. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/LanguageChangeAction.js.map +0 -0
  2004. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalButtonKind.d.ts +0 -0
  2005. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalButtonKind.js +0 -0
  2006. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalButtonKind.js.map +0 -0
  2007. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalWidgetActions.d.ts +0 -0
  2008. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalWidgetActions.js +0 -0
  2009. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ModalWidgetActions.js.map +0 -0
  2010. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/NavigateAction.d.ts +0 -0
  2011. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/NavigateAction.js +0 -0
  2012. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/NavigateAction.js.map +0 -0
  2013. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/OpenIDCredentialsAction.d.ts +0 -0
  2014. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/OpenIDCredentialsAction.js +0 -0
  2015. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/OpenIDCredentialsAction.js.map +0 -0
  2016. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadEventAction.d.ts +0 -0
  2017. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadEventAction.js +0 -0
  2018. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadEventAction.js.map +0 -0
  2019. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRelationsAction.d.ts +0 -0
  2020. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRelationsAction.js +0 -0
  2021. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRelationsAction.js.map +0 -0
  2022. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRoomAccountDataAction.d.ts +0 -0
  2023. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRoomAccountDataAction.js +0 -0
  2024. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ReadRoomAccountDataAction.js.map +0 -0
  2025. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcLivekitActions.d.ts +0 -0
  2026. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcLivekitActions.js +0 -0
  2027. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcLivekitActions.js.map +0 -0
  2028. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcTransportsAction.d.ts +0 -0
  2029. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcTransportsAction.js +0 -0
  2030. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/RtcTransportsAction.js.map +0 -0
  2031. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ScreenshotAction.d.ts +0 -0
  2032. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ScreenshotAction.js +0 -0
  2033. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ScreenshotAction.js.map +0 -0
  2034. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendEventAction.d.ts +0 -0
  2035. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendEventAction.js +0 -0
  2036. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendEventAction.js.map +0 -0
  2037. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendToDeviceAction.d.ts +0 -0
  2038. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendToDeviceAction.js +0 -0
  2039. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SendToDeviceAction.js.map +0 -0
  2040. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SetModalButtonEnabledAction.d.ts +0 -0
  2041. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SetModalButtonEnabledAction.js +0 -0
  2042. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SetModalButtonEnabledAction.js.map +0 -0
  2043. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickerAction.d.ts +0 -0
  2044. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickerAction.js +0 -0
  2045. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickerAction.js.map +0 -0
  2046. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickyAction.d.ts +0 -0
  2047. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickyAction.js +0 -0
  2048. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/StickyAction.js.map +0 -0
  2049. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SupportedVersionsAction.d.ts +0 -0
  2050. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SupportedVersionsAction.js +0 -0
  2051. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/SupportedVersionsAction.js.map +0 -0
  2052. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ThemeChangeAction.d.ts +0 -0
  2053. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ThemeChangeAction.js +0 -0
  2054. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/ThemeChangeAction.js.map +0 -0
  2055. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/TurnServerActions.d.ts +0 -0
  2056. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/TurnServerActions.js +0 -0
  2057. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/TurnServerActions.js.map +0 -0
  2058. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateDelayedEventAction.d.ts +0 -0
  2059. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateDelayedEventAction.js +0 -0
  2060. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateDelayedEventAction.js.map +0 -0
  2061. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateStateAction.d.ts +0 -0
  2062. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateStateAction.js +0 -0
  2063. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UpdateStateAction.js.map +0 -0
  2064. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UploadFileAction.d.ts +0 -0
  2065. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UploadFileAction.js +0 -0
  2066. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UploadFileAction.js.map +0 -0
  2067. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UserDirectorySearchAction.d.ts +0 -0
  2068. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UserDirectorySearchAction.js +0 -0
  2069. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/UserDirectorySearchAction.js.map +0 -0
  2070. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/VisibilityAction.d.ts +0 -0
  2071. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/VisibilityAction.js +0 -0
  2072. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/VisibilityAction.js.map +0 -0
  2073. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiAction.d.ts +0 -0
  2074. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiAction.js +0 -0
  2075. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiAction.js.map +0 -0
  2076. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiDirection.d.ts +0 -0
  2077. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiDirection.js +0 -0
  2078. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetApiDirection.js.map +0 -0
  2079. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetConfigAction.d.ts +0 -0
  2080. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetConfigAction.js +0 -0
  2081. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetConfigAction.js.map +0 -0
  2082. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetKind.d.ts +0 -0
  2083. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetKind.js +0 -0
  2084. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetKind.js.map +0 -0
  2085. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetType.d.ts +0 -0
  2086. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetType.js +0 -0
  2087. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/interfaces/WidgetType.js.map +0 -0
  2088. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/Widget.d.ts +0 -0
  2089. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/Widget.js +0 -0
  2090. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/Widget.js.map +0 -0
  2091. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetEventCapability.d.ts +0 -0
  2092. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetEventCapability.js +0 -0
  2093. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetEventCapability.js.map +0 -0
  2094. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetParser.d.ts +0 -0
  2095. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetParser.js +0 -0
  2096. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/WidgetParser.js.map +0 -0
  2097. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/url.d.ts +0 -0
  2098. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/url.js +0 -0
  2099. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/url.js.map +0 -0
  2100. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/utils.d.ts +0 -0
  2101. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/utils.js +0 -0
  2102. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/models/validation/utils.js.map +0 -0
  2103. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/templating/url-template.d.ts +0 -0
  2104. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/templating/url-template.js +0 -0
  2105. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/templating/url-template.js.map +0 -0
  2106. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/ITransport.d.ts +0 -0
  2107. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/ITransport.js +0 -0
  2108. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/ITransport.js.map +0 -0
  2109. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/PostmessageTransport.d.ts +0 -0
  2110. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/PostmessageTransport.js +0 -0
  2111. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/transport/PostmessageTransport.js.map +0 -0
  2112. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/util/SimpleObservable.d.ts +0 -0
  2113. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/util/SimpleObservable.js +0 -0
  2114. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/lib/util/SimpleObservable.js.map +0 -0
  2115. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/package.json +0 -0
  2116. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/ClientWidgetApi.ts +0 -0
  2117. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/Symbols.ts +0 -0
  2118. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/WidgetApi.ts +0 -0
  2119. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/driver/WidgetDriver.ts +0 -0
  2120. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/index.ts +0 -0
  2121. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ApiVersion.ts +0 -0
  2122. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/Capabilities.ts +0 -0
  2123. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/CapabilitiesAction.ts +0 -0
  2124. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ContentLoadedAction.ts +0 -0
  2125. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/DownloadFileAction.ts +0 -0
  2126. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/GetMediaConfigAction.ts +0 -0
  2127. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/GetOpenIDAction.ts +0 -0
  2128. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ICustomWidgetData.ts +0 -0
  2129. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IJitsiWidgetData.ts +0 -0
  2130. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IRoomAccountData.ts +0 -0
  2131. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IRoomEvent.ts +0 -0
  2132. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IStickerpickerWidgetData.ts +0 -0
  2133. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IToDeviceMessage.ts +0 -0
  2134. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IWidget.ts +0 -0
  2135. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IWidgetApiErrorResponse.ts +0 -0
  2136. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IWidgetApiRequest.ts +0 -0
  2137. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/IWidgetApiResponse.ts +0 -0
  2138. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/LanguageChangeAction.ts +0 -0
  2139. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ModalButtonKind.ts +0 -0
  2140. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ModalWidgetActions.ts +0 -0
  2141. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/NavigateAction.ts +0 -0
  2142. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/OpenIDCredentialsAction.ts +0 -0
  2143. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ReadEventAction.ts +0 -0
  2144. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ReadRelationsAction.ts +0 -0
  2145. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ReadRoomAccountDataAction.ts +0 -0
  2146. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/RtcLivekitActions.ts +0 -0
  2147. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/RtcTransportsAction.ts +0 -0
  2148. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ScreenshotAction.ts +0 -0
  2149. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/SendEventAction.ts +0 -0
  2150. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/SendToDeviceAction.ts +0 -0
  2151. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/SetModalButtonEnabledAction.ts +0 -0
  2152. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/StickerAction.ts +0 -0
  2153. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/StickyAction.ts +0 -0
  2154. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/SupportedVersionsAction.ts +0 -0
  2155. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/ThemeChangeAction.ts +0 -0
  2156. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/TurnServerActions.ts +0 -0
  2157. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/UpdateDelayedEventAction.ts +0 -0
  2158. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/UpdateStateAction.ts +0 -0
  2159. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/UploadFileAction.ts +0 -0
  2160. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/UserDirectorySearchAction.ts +0 -0
  2161. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/VisibilityAction.ts +0 -0
  2162. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetApiAction.ts +0 -0
  2163. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetApiDirection.ts +0 -0
  2164. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetConfigAction.ts +0 -0
  2165. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetKind.ts +0 -0
  2166. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/interfaces/WidgetType.ts +0 -0
  2167. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/Widget.ts +0 -0
  2168. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/WidgetEventCapability.ts +0 -0
  2169. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/WidgetParser.ts +0 -0
  2170. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/validation/url.ts +0 -0
  2171. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/models/validation/utils.ts +0 -0
  2172. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/templating/url-template.ts +0 -0
  2173. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/transport/ITransport.ts +0 -0
  2174. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/transport/PostmessageTransport.ts +0 -0
  2175. /package/node_modules/{matrix-js-sdk/node_modules/matrix-widget-api → matrix-widget-api}/src/util/SimpleObservable.ts +0 -0
  2176. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/LICENSE +0 -0
  2177. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/README.md +0 -0
  2178. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/build/index.cjs.js +0 -0
  2179. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/index.mjs +0 -0
  2180. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/decode.mjs +0 -0
  2181. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/encode.mjs +0 -0
  2182. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/format.mjs +0 -0
  2183. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/index.d.ts +0 -0
  2184. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/lib/parse.mjs +0 -0
  2185. /package/node_modules/{markdown-it/node_modules/mdurl → mdurl}/package.json +0 -0
  2186. /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/LICENSE +0 -0
  2187. /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/README.md +0 -0
  2188. /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/dist/index.d.ts +0 -0
  2189. /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/dist/index.js +0 -0
  2190. /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/dist/index.js.map +0 -0
  2191. /package/node_modules/{music-metadata/node_modules/media-typer → media-typer}/package.json +0 -0
  2192. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms → ms}/index.js +0 -0
  2193. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms → ms}/license.md +0 -0
  2194. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms → ms}/package.json +0 -0
  2195. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/ms → ms}/readme.md +0 -0
  2196. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/LICENSE +0 -0
  2197. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/README.md +0 -0
  2198. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/bin/helpers.js +0 -0
  2199. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/bin/ndh +0 -0
  2200. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/dist/index.js +0 -0
  2201. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/package.json +0 -0
  2202. /package/node_modules/{@matrix-org/matrix-sdk-crypto-nodejs/node_modules/node-downloader-helper → node-downloader-helper}/types/index.d.ts +0 -0
  2203. /package/node_modules/{matrix-js-sdk/node_modules/p-retry → p-retry}/index.d.ts +0 -0
  2204. /package/node_modules/{matrix-js-sdk/node_modules/p-retry → p-retry}/index.js +0 -0
  2205. /package/node_modules/{music-metadata/node_modules/file-type → p-retry}/license +0 -0
  2206. /package/node_modules/{matrix-js-sdk/node_modules/p-retry → p-retry}/package.json +0 -0
  2207. /package/node_modules/{matrix-js-sdk/node_modules/p-retry → p-retry}/readme.md +0 -0
  2208. /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/LICENSE-MIT.txt +0 -0
  2209. /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/README.md +0 -0
  2210. /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/package.json +0 -0
  2211. /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/punycode.es6.js +0 -0
  2212. /package/node_modules/{markdown-it/node_modules/punycode.js → punycode.js}/punycode.js +0 -0
  2213. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.eslintrc.js +0 -0
  2214. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.github/FUNDING.yml +0 -0
  2215. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.github/codecov.yml +0 -0
  2216. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.github/dependabot.yml +0 -0
  2217. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/.github/workflows/ci.yml +0 -0
  2218. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/CHANGELOG.md +0 -0
  2219. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/LICENSE +0 -0
  2220. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/README.md +0 -0
  2221. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/checker.js +0 -0
  2222. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/lib/grammar.js +0 -0
  2223. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/lib/index.js +0 -0
  2224. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/lib/parser.js +0 -0
  2225. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/lib/writer.js +0 -0
  2226. /package/node_modules/{matrix-js-sdk/node_modules/sdp-transform → sdp-transform}/package.json +0 -0
  2227. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/LICENSE.txt +0 -0
  2228. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/README.md +0 -0
  2229. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/AbstractTokenizer.d.ts +0 -0
  2230. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/AbstractTokenizer.js +0 -0
  2231. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/BlobTokenizer.d.ts +0 -0
  2232. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/BlobTokenizer.js +0 -0
  2233. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/BufferTokenizer.d.ts +0 -0
  2234. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/BufferTokenizer.js +0 -0
  2235. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/FileTokenizer.d.ts +0 -0
  2236. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/FileTokenizer.js +0 -0
  2237. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/ReadStreamTokenizer.d.ts +0 -0
  2238. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/ReadStreamTokenizer.js +0 -0
  2239. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/core.d.ts +0 -0
  2240. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/core.js +0 -0
  2241. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/index.d.ts +0 -0
  2242. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/index.js +0 -0
  2243. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/AbstractStreamReader.d.ts +0 -0
  2244. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/AbstractStreamReader.js +0 -0
  2245. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/Deferred.d.ts +0 -0
  2246. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/Deferred.js +0 -0
  2247. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/Errors.d.ts +0 -0
  2248. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/Errors.js +0 -0
  2249. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/StreamReader.d.ts +0 -0
  2250. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/StreamReader.js +0 -0
  2251. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamByobReader.d.ts +0 -0
  2252. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamByobReader.js +0 -0
  2253. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamDefaultReader.d.ts +0 -0
  2254. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamDefaultReader.js +0 -0
  2255. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamReader.d.ts +0 -0
  2256. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamReader.js +0 -0
  2257. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamReaderFactory.d.ts +0 -0
  2258. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/WebStreamReaderFactory.js +0 -0
  2259. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/index.d.ts +0 -0
  2260. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/stream/index.js +0 -0
  2261. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/lib/types.d.ts +0 -0
  2262. /package/node_modules/{music-metadata/node_modules/strtok3 → strtok3}/package.json +0 -0
  2263. /package/node_modules/{music-metadata/node_modules/token-types → token-types}/LICENSE.txt +0 -0
  2264. /package/node_modules/{music-metadata/node_modules/token-types → token-types}/README.md +0 -0
  2265. /package/node_modules/{music-metadata/node_modules/token-types → token-types}/lib/index.d.ts +0 -0
  2266. /package/node_modules/{music-metadata/node_modules/token-types → token-types}/lib/index.js +0 -0
  2267. /package/node_modules/{music-metadata/node_modules/token-types → token-types}/package.json +0 -0
  2268. /package/node_modules/typebox/build/guard/{string.d.mts → unicode/unicode_segment.d.mts} +0 -0
  2269. /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/LICENSE.txt +0 -0
  2270. /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/README.md +0 -0
  2271. /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/build/index.cjs.js +0 -0
  2272. /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/build/index.d.ts +0 -0
  2273. /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/build/index.mjs +0 -0
  2274. /package/node_modules/{markdown-it/node_modules/uc.micro → uc.micro}/package.json +0 -0
  2275. /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/index.d.ts +0 -0
  2276. /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/index.js +0 -0
  2277. /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/license +0 -0
  2278. /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/package.json +0 -0
  2279. /package/node_modules/{music-metadata/node_modules/uint8array-extras → uint8array-extras}/readme.md +0 -0
  2280. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/CHANGELOG.md +0 -0
  2281. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/LICENSE +0 -0
  2282. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/README.md +0 -0
  2283. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/data.json +0 -0
  2284. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/index.d.ts +0 -0
  2285. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/index.js +0 -0
  2286. /package/node_modules/{matrix-js-sdk/node_modules/unhomoglyph → unhomoglyph}/package.json +0 -0
  2287. /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/LICENSE.txt +0 -0
  2288. /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/README.md +0 -0
  2289. /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/lib/guid.d.ts +0 -0
  2290. /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/lib/guid.js +0 -0
  2291. /package/node_modules/{music-metadata/node_modules/win-guid → win-guid}/package.json +0 -0
@@ -1,3804 +0,0 @@
1
- // Port of python's argparse module, version 3.14.6:
2
- // https://github.com/python/cpython/blob/v3.14.6/Lib/argparse.py
3
-
4
- 'use strict'
5
-
6
- // Copyright (C) 2010-2020 Python Software Foundation.
7
- // Copyright (C) 2020 argparse.js authors
8
-
9
- /*
10
- * Command-line parsing library
11
- *
12
- * This module is an optparse-inspired command-line parsing library that:
13
- *
14
- * - handles both optional and positional arguments
15
- * - produces highly informative usage messages
16
- * - supports parsers that dispatch to sub-parsers
17
- *
18
- * The following is a simple usage example that sums integers from the
19
- * command-line and writes the result to a file::
20
- *
21
- * parser = argparse.ArgumentParser(
22
- * description='sum the integers at the command line')
23
- * parser.add_argument(
24
- * 'integers', metavar='int', nargs='+', type=int,
25
- * help='an integer to be summed')
26
- * parser.add_argument(
27
- * '--log',
28
- * help='the file where the sum should be written')
29
- * args = parser.parse_args()
30
- * with (open(args.log, 'w') if args.log is not None
31
- * else contextlib.nullcontext(sys.stdout)) as log:
32
- * log.write('%s' % sum(args.integers))
33
- *
34
- * The module contains the following public classes:
35
- *
36
- * - ArgumentParser -- The main entry point for command-line parsing. As the
37
- * example above shows, the add_argument() method is used to populate
38
- * the parser with actions for optional and positional arguments. Then
39
- * the parse_args() method is invoked to convert the args at the
40
- * command-line into an object with attributes.
41
- *
42
- * - ArgumentError -- The exception raised by ArgumentParser objects when
43
- * there are errors with the parser's actions. Errors raised while
44
- * parsing the command-line are caught by ArgumentParser and emitted
45
- * as command-line messages.
46
- *
47
- * - FileType -- A factory for defining types of files to be created. As the
48
- * example above shows, instances of FileType are typically passed as
49
- * the type= argument of add_argument() calls.
50
- *
51
- * - Action -- The base class for parser actions. Typically actions are
52
- * selected by passing strings like 'store_true' or 'append_const' to
53
- * the action= argument of add_argument(). However, for greater
54
- * customization of ArgumentParser actions, subclasses of Action may
55
- * be defined and passed as the action= argument.
56
- *
57
- * - HelpFormatter, RawDescriptionHelpFormatter, RawTextHelpFormatter,
58
- * ArgumentDefaultsHelpFormatter -- Formatter classes which
59
- * may be passed as the formatter_class= argument to the
60
- * ArgumentParser constructor. HelpFormatter is the default,
61
- * RawDescriptionHelpFormatter and RawTextHelpFormatter tell the parser
62
- * not to change the formatting for help text, and
63
- * ArgumentDefaultsHelpFormatter adds information about argument defaults
64
- * to the help.
65
- *
66
- * All other classes in this module are considered implementation details.
67
- * (Also note that HelpFormatter and RawDescriptionHelpFormatter are only
68
- * considered public as object names -- the API of the formatter objects is
69
- * still considered an implementation detail.)
70
- */
71
-
72
- const SUPPRESS = '==SUPPRESS=='
73
-
74
- const OPTIONAL = '?'
75
- const ZERO_OR_MORE = '*'
76
- const ONE_OR_MORE = '+'
77
- const PARSER = 'A...'
78
- const REMAINDER = '...'
79
- const _UNRECOGNIZED_ARGS_ATTR = '_unrecognized_args'
80
-
81
-
82
- // ==================================
83
- // Utility functions used for porting
84
- // ==================================
85
- const assert = require('assert')
86
- const util = require('util')
87
- const fs = require('fs')
88
- const sub = require('./sub')
89
- const path = require('path')
90
- const repr = util.inspect
91
-
92
- function get_argv () {
93
- // omit first argument (which is assumed to be interpreter - `node`, `coffee`, `ts-node`, etc.)
94
- return process.argv.slice(1)
95
- }
96
-
97
- function get_terminal_size () {
98
- return {
99
- columns: +process.env.COLUMNS || process.stdout.columns || 80
100
- }
101
- }
102
-
103
- function hasattr (object, name) {
104
- return Object.prototype.hasOwnProperty.call(object, name)
105
- }
106
-
107
- function getattr (object, name, value) {
108
- return hasattr(object, name) ? object[name] : value
109
- }
110
-
111
- function setattr (object, name, value) {
112
- object[name] = value
113
- }
114
-
115
- function setdefault (object, name, value) {
116
- if (!hasattr(object, name)) object[name] = value
117
- return object[name]
118
- }
119
-
120
- function delattr (object, name) {
121
- delete object[name]
122
- }
123
-
124
- function range (from, to, step = 1) {
125
- // range(10) is equivalent to range(0, 10)
126
- if (arguments.length === 1) [to, from] = [from, 0]
127
- if (typeof from !== 'number' || typeof to !== 'number' || typeof step !== 'number') {
128
- throw new TypeError('argument cannot be interpreted as an integer')
129
- }
130
- if (step === 0) throw new TypeError('range() arg 3 must not be zero')
131
-
132
- const result = []
133
- if (step > 0) {
134
- for (let i = from; i < to; i += step) result.push(i)
135
- } else {
136
- for (let i = from; i > to; i += step) result.push(i)
137
- }
138
- return result
139
- }
140
-
141
- function splitlines (str, keepends = false) {
142
- let result
143
- if (!keepends) {
144
- result = str.split(/\r\n|[\n\r\v\f\x1c\x1d\x1e\x85\u2028\u2029]/)
145
- } else {
146
- result = []
147
- const parts = str.split(/(\r\n|[\n\r\v\f\x1c\x1d\x1e\x85\u2028\u2029])/)
148
- for (let i = 0; i < parts.length; i += 2) {
149
- result.push(parts[i] + (i + 1 < parts.length ? parts[i + 1] : ''))
150
- }
151
- }
152
- if (!result[result.length - 1]) result.pop()
153
- return result
154
- }
155
-
156
- function _string_lstrip (string, prefix_chars) {
157
- let idx = 0
158
- while (idx < string.length && prefix_chars.includes(string[idx])) idx++
159
- return idx ? string.slice(idx) : string
160
- }
161
-
162
- function _string_split (string, sep, maxsplit) {
163
- let result = string.split(sep)
164
- if (result.length > maxsplit) {
165
- result = result.slice(0, maxsplit).concat([result.slice(maxsplit).join(sep)])
166
- }
167
- return result
168
- }
169
-
170
- function _string_to_number (string) {
171
- if (typeof string === 'string' && !/(?:^|\D)_|_(?:\D|$)/.test(string)) {
172
- string = string.replace(/_/g, '')
173
- }
174
- return Number(string)
175
- }
176
-
177
- function _array_remove (array, item) {
178
- const idx = array.indexOf(item)
179
- if (idx === -1) throw new TypeError(sub('%r not in list', item))
180
- array.splice(idx, 1)
181
- }
182
-
183
- // normalize choices to array;
184
- // this isn't required in python because `in` and `map` operators work with anything,
185
- // but in js dealing with multiple types here is too clunky
186
- function _choices_to_array (choices) {
187
- if (choices === undefined) {
188
- return []
189
- } else if (Array.isArray(choices)) {
190
- return choices
191
- } else if (choices instanceof Map) {
192
- return Array.from(choices.keys())
193
- } else if (choices !== null && typeof choices[Symbol.iterator] === 'function') {
194
- return Array.from(choices)
195
- } else if (typeof choices === 'object' && choices !== null) {
196
- return Object.keys(choices)
197
- } else {
198
- throw new Error(sub('invalid choices value: %r', choices))
199
- }
200
- }
201
-
202
- // decorator that allows a class to be called without new
203
- function _callable (cls) {
204
- const result = { // object is needed for inferred class name
205
- [cls.name]: function (...args) {
206
- const this_class = new.target === result || !new.target
207
- return Reflect.construct(cls, args, this_class ? cls : new.target)
208
- }
209
- }
210
- result[cls.name].prototype = cls.prototype
211
- // fix default tag for toString, e.g. [object Action] instead of [object Object]
212
- cls.prototype[Symbol.toStringTag] = cls.name
213
- return result[cls.name]
214
- }
215
-
216
- // parse options
217
- const no_default = Symbol('no_default_value')
218
- function _parse_opts (args, descriptor) {
219
- function get_name () {
220
- const stack = new Error().stack.split('\n')
221
- .map(x => x.match(/^ at (.*) \(.*\)$/))
222
- .filter(Boolean)
223
- .map(m => m[1])
224
- .map(fn => fn.match(/[^ .]*$/)[0])
225
-
226
- if (stack.length && stack[0] === get_name.name) stack.shift()
227
- if (stack.length && stack[0] === _parse_opts.name) stack.shift()
228
- return stack.length ? stack[0] : ''
229
- }
230
-
231
- args = Array.from(args)
232
- let kwargs = {}
233
- const result = []
234
- const last_opt = args.length && args[args.length - 1]
235
-
236
- if (typeof last_opt === 'object' && last_opt !== null && !Array.isArray(last_opt) &&
237
- (!last_opt.constructor || last_opt.constructor.name === 'Object')) {
238
- kwargs = Object.assign({}, args.pop())
239
- }
240
-
241
- const missing_positionals = []
242
- const positional_count = args.length
243
- let keyword_only = false
244
-
245
- for (const [key, def] of Object.entries(descriptor)) {
246
- if (key === '*') {
247
- keyword_only = true
248
- } else if (key[0] === '*') {
249
- if (key.length > 0 && key[1] === '*') {
250
- result.push(kwargs)
251
- kwargs = {}
252
- } else {
253
- result.push(args)
254
- args = []
255
- }
256
- } else if (key in kwargs && args.length > 0) {
257
- throw new TypeError(sub('%s() got multiple values for argument %r', get_name(), key))
258
- } else if (key in kwargs) {
259
- result.push(kwargs[key])
260
- delete kwargs[key]
261
- } else if (args.length > 0 && !keyword_only) {
262
- result.push(args.shift())
263
- } else if (def !== no_default) {
264
- result.push(def)
265
- } else {
266
- missing_positionals.push(key)
267
- }
268
- }
269
-
270
- if (Object.keys(kwargs).length) {
271
- throw new TypeError(sub('%s() got an unexpected keyword argument %r',
272
- get_name(), Object.keys(kwargs)[0]))
273
- }
274
-
275
- if (args.length) {
276
- const entries = Object.entries(descriptor)
277
- const marker = entries.findIndex(([k]) => k === '*')
278
- const positional_entries = (marker === -1 ? entries : entries.slice(0, marker))
279
- .filter(([k]) => k[0] !== '*')
280
- const from = positional_entries.filter(([, v]) => v !== no_default).length
281
- const to = positional_entries.length
282
- throw new TypeError(sub('%s() takes %s positional argument%s but %s %s given',
283
- get_name(),
284
- from === to ? sub('from %s to %s', from, to) : to,
285
- from === to && to === 1 ? '' : 's',
286
- positional_count,
287
- positional_count === 1 ? 'was' : 'were'))
288
- }
289
-
290
- if (missing_positionals.length) {
291
- const strs = missing_positionals.map(repr)
292
- if (strs.length > 1) strs[strs.length - 1] = 'and ' + strs[strs.length - 1]
293
- const str_joined = strs.join(strs.length === 2 ? '' : ', ')
294
- throw new TypeError(sub('%s() missing %i required positional argument%s: %s',
295
- get_name(), strs.length, strs.length === 1 ? '' : 's', str_joined))
296
- }
297
-
298
- return result
299
- }
300
-
301
- // =============================
302
- // Utility functions and classes
303
- // =============================
304
- function _AttributeHolder (cls = Object) {
305
- /*
306
- * Abstract base class that provides __repr__.
307
- *
308
- * The __repr__ method returns a string in the format::
309
- * ClassName(attr=name, attr=name, ...)
310
- * The attributes are determined either by a class-level attribute,
311
- * '_kwarg_names', or by inspecting the instance __dict__.
312
- */
313
-
314
- return class _AttributeHolder extends cls {
315
- [util.inspect.custom] () {
316
- const type_name = this.constructor.name
317
- const arg_strings = []
318
- const star_args = {}
319
- for (const arg of this._get_args()) {
320
- arg_strings.push(repr(arg))
321
- }
322
- for (const [name, value] of this._get_kwargs()) {
323
- if (/^[a-z_][a-z0-9_$]*$/i.test(name)) {
324
- arg_strings.push(sub('%s=%r', name, value))
325
- } else {
326
- star_args[name] = value
327
- }
328
- }
329
- if (Object.keys(star_args).length) {
330
- arg_strings.push(sub('**%s', repr(star_args)))
331
- }
332
- return sub('%s(%s)', type_name, arg_strings.join(', '))
333
- }
334
-
335
- toString () {
336
- return this[util.inspect.custom]()
337
- }
338
-
339
- _get_kwargs () {
340
- return Object.entries(this)
341
- }
342
-
343
- _get_args () {
344
- return []
345
- }
346
- }
347
- }
348
-
349
-
350
- function _copy_items (items) {
351
- if (items === undefined || items === null) {
352
- return []
353
- }
354
- return items.slice(0)
355
- }
356
-
357
- function _identity (value) {
358
- return value
359
- }
360
-
361
-
362
- // ===============
363
- // Formatting Help
364
- // ===============
365
- const HelpFormatter = _callable(class HelpFormatter {
366
- /*
367
- * Formatter for generating usage messages and argument help strings.
368
- *
369
- * Only the name of this class is considered a public API. All the methods
370
- * provided by the class are considered an implementation detail.
371
- */
372
-
373
- constructor () {
374
- let [
375
- prog,
376
- indent_increment,
377
- max_help_position,
378
- width,
379
- color
380
- ] = _parse_opts(arguments, {
381
- prog: no_default,
382
- indent_increment: 2,
383
- max_help_position: 24,
384
- width: undefined,
385
- color: true
386
- })
387
-
388
- // default setting for width
389
- if (width === undefined) {
390
- width = get_terminal_size().columns
391
- width -= 2
392
- }
393
-
394
- this._set_color(color)
395
- this._prog = prog
396
- this._indent_increment = indent_increment
397
- this._max_help_position = Math.min(max_help_position,
398
- Math.max(width - 20, indent_increment * 2))
399
- this._width = width
400
-
401
- this._current_indent = 0
402
- this._level = 0
403
- this._action_max_length = 0
404
-
405
- this._root_section = this._Section(this, undefined)
406
- this._current_section = this._root_section
407
-
408
- this._whitespace_matcher = /[ \t\n\r\f\v]+/g // equivalent to python /\s+/ with ASCII flag
409
- this._long_break_matcher = /\n\n\n+/g
410
- }
411
-
412
- _set_color (color) {
413
- const { can_colorize, decolor, get_theme } = require('./_colorize')
414
-
415
- if (color && can_colorize()) {
416
- this._theme = get_theme({ force_color: true }).argparse
417
- this._decolor = decolor
418
- } else {
419
- this._theme = get_theme({ force_no_color: true }).argparse
420
- this._decolor = _identity
421
- }
422
- }
423
-
424
- // ===============================
425
- // Section and indentation methods
426
- // ===============================
427
- _indent () {
428
- this._current_indent += this._indent_increment
429
- this._level += 1
430
- }
431
-
432
- _dedent () {
433
- this._current_indent -= this._indent_increment
434
- assert(this._current_indent >= 0, 'Indent decreased below 0.')
435
- this._level -= 1
436
- }
437
-
438
- _add_item (func, args) {
439
- this._current_section.items.push([func, args])
440
- }
441
-
442
- // ========================
443
- // Message building methods
444
- // ========================
445
- start_section (heading) {
446
- this._indent()
447
- const section = this._Section(this, this._current_section, heading)
448
- this._add_item(section.format_help.bind(section), [])
449
- this._current_section = section
450
- }
451
-
452
- end_section () {
453
- this._current_section = this._current_section.parent
454
- this._dedent()
455
- }
456
-
457
- add_text (text) {
458
- if (text !== SUPPRESS && text !== undefined) {
459
- this._add_item(this._format_text.bind(this), [text])
460
- }
461
- }
462
-
463
- add_usage (usage, actions, groups, prefix = undefined) {
464
- if (usage !== SUPPRESS) {
465
- const args = [usage, actions, groups, prefix]
466
- this._add_item(this._format_usage.bind(this), args)
467
- }
468
- }
469
-
470
- add_argument (action) {
471
- if (action.help !== SUPPRESS) {
472
-
473
- // find all invocations
474
- const get_invocation = action => this._decolor(this._format_action_invocation(action))
475
- const invocation_lengths = [
476
- get_invocation(action).length + this._current_indent
477
- ]
478
- for (const subaction of this._iter_indented_subactions(action)) {
479
- invocation_lengths.push(
480
- get_invocation(subaction).length + this._current_indent
481
- )
482
- }
483
-
484
- // update the maximum item length
485
- const action_length = Math.max(...invocation_lengths)
486
- this._action_max_length = Math.max(this._action_max_length,
487
- action_length)
488
-
489
- // add the item to the list
490
- this._add_item(this._format_action.bind(this), [action])
491
- }
492
- }
493
-
494
- add_arguments (actions) {
495
- for (const action of actions) {
496
- this.add_argument(action)
497
- }
498
- }
499
-
500
- // =======================
501
- // Help-formatting methods
502
- // =======================
503
- format_help () {
504
- let help = this._root_section.format_help()
505
- if (help) {
506
- help = help.replace(this._long_break_matcher, '\n\n')
507
- help = help.replace(/^\n+|\n+$/g, '') + '\n'
508
- }
509
- return help
510
- }
511
-
512
- _join_parts (part_strings) {
513
- return part_strings.filter(part => part && part !== SUPPRESS).join('')
514
- }
515
-
516
- _format_usage (usage, actions, groups, prefix) {
517
- const t = this._theme
518
-
519
- if (prefix === undefined) {
520
- prefix = 'usage: '
521
- }
522
-
523
- // if usage is specified, use that
524
- if (usage !== undefined) {
525
- usage = t.prog_extra + sub(usage, {
526
- prog: t.prog + this._prog + t.reset + t.prog_extra
527
- }) + t.reset
528
-
529
- // if no optionals or positionals are available, usage is just prog
530
- } else if (usage === undefined && !actions.length) {
531
- usage = t.prog + this._prog + t.reset
532
-
533
- // if optionals and positionals are available, calculate usage
534
- } else if (usage === undefined) {
535
- const prog = sub('%(prog)s', { prog: this._prog })
536
-
537
- const [parts, pos_start] = this._get_actions_usage_parts(actions, groups)
538
- // build full usage string
539
- usage = [prog].concat(parts).filter(Boolean).join(' ')
540
-
541
- // wrap the usage parts if it's too long
542
- const text_width = this._width - this._current_indent
543
- if (prefix.length + this._decolor(usage).length > text_width) {
544
-
545
- // break usage into wrappable parts
546
- const opt_parts = parts.slice(0, pos_start)
547
- const pos_parts = parts.slice(pos_start)
548
-
549
- // helper for wrapping lines
550
- const get_lines = (parts, indent, prefix = undefined) => {
551
- const lines = []
552
- let line = []
553
- const indent_length = indent.length
554
- let line_len
555
- if (prefix !== undefined) {
556
- line_len = prefix.length - 1
557
- } else {
558
- line_len = indent_length - 1
559
- }
560
- for (const part of parts) {
561
- const part_len = this._decolor(part).length
562
- if (line_len + 1 + part_len > text_width && line.length) {
563
- lines.push(indent + line.join(' '))
564
- line = []
565
- line_len = indent_length - 1
566
- }
567
- line.push(part)
568
- line_len += part_len + 1
569
- }
570
- if (line.length) {
571
- lines.push(indent + line.join(' '))
572
- }
573
- if (prefix !== undefined) {
574
- lines[0] = lines[0].slice(indent_length)
575
- }
576
- return lines
577
- }
578
-
579
- let lines
580
-
581
- // if prog is short, follow it with optionals or positionals
582
- const prog_len = this._decolor(prog).length
583
- if (prefix.length + prog_len <= 0.75 * text_width) {
584
- const indent = ' '.repeat(prefix.length + prog_len + 1)
585
- if (opt_parts.length) {
586
- lines = get_lines([prog].concat(opt_parts), indent, prefix)
587
- lines = lines.concat(get_lines(pos_parts, indent))
588
- } else if (pos_parts.length) {
589
- lines = get_lines([prog].concat(pos_parts), indent, prefix)
590
- } else {
591
- lines = [prog]
592
- }
593
-
594
- // if prog is long, put it on its own line
595
- } else {
596
- const indent = ' '.repeat(prefix.length)
597
- const parts = [].concat(opt_parts).concat(pos_parts)
598
- lines = get_lines(parts, indent)
599
- if (lines.length > 1) {
600
- lines = []
601
- lines = lines.concat(get_lines(opt_parts, indent))
602
- lines = lines.concat(get_lines(pos_parts, indent))
603
- }
604
- lines = [prog].concat(lines)
605
- }
606
-
607
- // join lines into usage
608
- usage = lines.join('\n')
609
- }
610
-
611
- if (usage.startsWith(prog)) usage = usage.slice(prog.length)
612
- usage = t.prog + prog + t.reset + usage
613
- }
614
-
615
- // prefix with 'usage:'
616
- return t.usage + prefix + t.reset + usage + '\n\n'
617
- }
618
-
619
- _is_long_option (string) {
620
- return string.length > 2
621
- }
622
-
623
- _get_actions_usage_parts (actions, groups) {
624
- /* Get usage parts with split index for optionals/positionals.
625
-
626
- * Returns [parts, pos_start] where pos_start is the index in parts
627
- * where positionals begin. This preserves mutually exclusive group
628
- * formatting across the optionals/positionals boundary (gh-75949).
629
- */
630
- actions = actions.filter(action => action.help !== SUPPRESS)
631
-
632
- // group actions by mutually exclusive groups
633
- const action_groups = new Map(actions.map(action => [action, undefined]))
634
- for (const group of groups) {
635
- for (const action of group._group_actions) {
636
- if (action_groups.has(action)) {
637
- action_groups.set(action, group)
638
- }
639
- }
640
- }
641
-
642
- // positional arguments keep their position
643
- const positionals = []
644
- for (const action of actions) {
645
- if (!action.option_strings.length) {
646
- const group = action_groups.get(action)
647
- action_groups.delete(action)
648
- if (group) {
649
- const group_actions = []
650
- for (const action2 of group._group_actions) {
651
- if (action2.option_strings.length && action_groups.has(action2)) {
652
- const action_group = action_groups.get(action2)
653
- action_groups.delete(action2)
654
- if (action_group) {
655
- group_actions.push(action2)
656
- }
657
- }
658
- }
659
- group_actions.push(action)
660
- positionals.push([group.required, group_actions])
661
- } else {
662
- positionals.push([undefined, [action]])
663
- }
664
- }
665
- }
666
-
667
- // the remaining optional arguments are sorted by the position of
668
- // the first option in the group
669
- const optionals = []
670
- for (const action of actions) {
671
- if (action.option_strings.length && action_groups.has(action)) {
672
- const group = action_groups.get(action)
673
- action_groups.delete(action)
674
- if (group) {
675
- const group_actions = [action]
676
- for (const action2 of group._group_actions) {
677
- if (action2.option_strings.length && action_groups.has(action2)) {
678
- const action_group = action_groups.get(action2)
679
- action_groups.delete(action2)
680
- if (action_group) {
681
- group_actions.push(action2)
682
- }
683
- }
684
- }
685
- optionals.push([group.required, group_actions])
686
- } else {
687
- optionals.push([undefined, [action]])
688
- }
689
- }
690
- }
691
-
692
- // collect all actions format strings
693
- const parts = []
694
- const t = this._theme
695
- let pos_start
696
- const action_sets = optionals.concat(positionals)
697
- for (let i = 0; i < action_sets.length; i++) {
698
- const [required, group] = action_sets[i]
699
- const start = parts.length
700
- if (i === optionals.length) {
701
- pos_start = start
702
- }
703
- const in_group = group.length > 1
704
- for (const action of group) {
705
- let part
706
-
707
- // produce all arg strings
708
- if (!action.option_strings.length) {
709
- const default_value = this._get_default_metavar_for_positional(action)
710
- part = this._format_args(action, default_value)
711
-
712
- // if it's in a group, strip the outer []
713
- if (in_group && part[0] === '[' && part[part.length - 1] === ']') {
714
- part = part.slice(1, -1)
715
- }
716
- part = t.summary_action + part + t.reset
717
-
718
- // produce the first way to invoke the option in brackets
719
- } else {
720
- const option_string = action.option_strings[0]
721
- const option_color = this._is_long_option(option_string)
722
- ? t.summary_long_option
723
- : t.summary_short_option
724
-
725
- // if the Optional doesn't take a value, format is:
726
- // -s or --long
727
- if (action.nargs === 0) {
728
- part = action.format_usage()
729
- part = option_color + part + t.reset
730
-
731
- // if the Optional takes a value, format is:
732
- // -s ARGS or --long ARGS
733
- } else {
734
- const default_value = this._get_default_metavar_for_optional(action)
735
- const args_string = this._format_args(action, default_value)
736
- part = option_color + option_string + ' ' +
737
- t.summary_label + args_string + t.reset
738
- }
739
-
740
- // make it look optional if it's not required or in a group
741
- if (!(action.required || required || in_group)) {
742
- part = sub('[%s]', part)
743
- }
744
- }
745
-
746
- // add the action string to the list
747
- parts.push(part)
748
- }
749
-
750
- if (in_group) {
751
- parts[start] = (required ? '(' : '[') + parts[start]
752
- for (let i = start; i < parts.length - 1; i++) {
753
- parts[i] += ' |'
754
- }
755
- parts[parts.length - 1] += required ? ')' : ']'
756
- }
757
- }
758
-
759
- if (pos_start === undefined) {
760
- pos_start = parts.length
761
- }
762
- return [parts, pos_start]
763
- }
764
-
765
- _format_text (text) {
766
- if (text.includes('%(prog)')) {
767
- text = sub(text, { prog: this._prog })
768
- }
769
- const text_width = Math.max(this._width - this._current_indent, 11)
770
- const indent = ' '.repeat(this._current_indent)
771
- return this._fill_text(text, text_width, indent) + '\n\n'
772
- }
773
-
774
- _format_action (action) {
775
- // determine the required width and the entry label
776
- const help_position = Math.min(this._action_max_length + 2,
777
- this._max_help_position)
778
- const help_width = Math.max(this._width - help_position, 11)
779
- const action_width = help_position - this._current_indent - 2
780
- let action_header = this._format_action_invocation(action)
781
- const action_header_no_color = this._decolor(action_header)
782
- let indent_first
783
-
784
- // no help; start on same line and add a final newline
785
- if (!action.help) {
786
- const tup = [this._current_indent, '', action_header]
787
- action_header = sub('%*s%s\n', ...tup)
788
-
789
- // short action name; start on the same line and pad two spaces
790
- } else if (action_header_no_color.length <= action_width) {
791
- // calculate widths without color codes
792
- const action_header_color = action_header
793
- const tup = [this._current_indent, '', action_width, action_header_no_color]
794
- action_header = sub('%*s%-*s ', ...tup)
795
- // swap in the colored header
796
- action_header = action_header.replace(action_header_no_color, action_header_color)
797
- indent_first = 0
798
-
799
- // long action name; start on the next line
800
- } else {
801
- const tup = [this._current_indent, '', action_header]
802
- action_header = sub('%*s%s\n', ...tup)
803
- indent_first = help_position
804
- }
805
-
806
- // collect the pieces of the action help
807
- const parts = [action_header]
808
-
809
- // if there was help for the action, add lines of help text
810
- if (action.help && action.help.trim()) {
811
- const help_text = this._expand_help(action)
812
- if (help_text) {
813
- const help_lines = this._split_lines(help_text, help_width)
814
- parts.push(sub('%*s%s\n', indent_first, '', help_lines[0]))
815
- for (const line of help_lines.slice(1)) {
816
- parts.push(sub('%*s%s\n', help_position, '', line))
817
- }
818
- }
819
-
820
- // or add a newline if the description doesn't end with one
821
- } else if (!action_header.endsWith('\n')) {
822
- parts.push('\n')
823
- }
824
-
825
- // if there are any sub-actions, add their help as well
826
- for (const subaction of this._iter_indented_subactions(action)) {
827
- parts.push(this._format_action(subaction))
828
- }
829
-
830
- // return a single string
831
- return this._join_parts(parts)
832
- }
833
-
834
- _format_action_invocation (action) {
835
- const t = this._theme
836
-
837
- if (!action.option_strings.length) {
838
- const default_value = this._get_default_metavar_for_positional(action)
839
- return t.action +
840
- this._metavar_formatter(action, default_value)(1).join(' ') +
841
- t.reset
842
-
843
- } else {
844
- const color_option_strings = strings => strings.map(string => {
845
- const color = this._is_long_option(string) ? t.long_option : t.short_option
846
- return color + string + t.reset
847
- })
848
-
849
- // if the Optional doesn't take a value, format is:
850
- // -s, --long
851
- if (action.nargs === 0) {
852
- return color_option_strings(action.option_strings).join(', ')
853
-
854
- // if the Optional takes a value, format is:
855
- // -s, --long ARGS
856
- } else {
857
- const default_value = this._get_default_metavar_for_optional(action)
858
- const option_strings = color_option_strings(action.option_strings)
859
- const args_string = t.label + this._format_args(action, default_value) + t.reset
860
- return option_strings.join(', ') + ' ' + args_string
861
- }
862
- }
863
- }
864
-
865
- _metavar_formatter (action, default_metavar) {
866
- let result
867
- if (action.metavar !== undefined) {
868
- result = action.metavar
869
- } else if (action.choices !== undefined) {
870
- const choice_strs = _choices_to_array(action.choices).map(String)
871
- result = sub('{%s}', choice_strs.join(','))
872
- } else {
873
- result = default_metavar
874
- }
875
-
876
- function format (tuple_size) {
877
- if (Array.isArray(result)) {
878
- return result
879
- } else {
880
- return Array(tuple_size).fill(result)
881
- }
882
- }
883
- return format
884
- }
885
-
886
- _format_args (action, default_metavar) {
887
- const get_metavar = this._metavar_formatter(action, default_metavar)
888
- let result
889
- if (action.nargs === undefined) {
890
- result = sub('%s', ...get_metavar(1))
891
- } else if (action.nargs === OPTIONAL) {
892
- result = sub('[%s]', ...get_metavar(1))
893
- } else if (action.nargs === ZERO_OR_MORE) {
894
- const metavar = get_metavar(1)
895
- if (metavar.length === 2) {
896
- result = sub('[%s [%s ...]]', ...metavar)
897
- } else {
898
- result = sub('[%s ...]', ...metavar)
899
- }
900
- } else if (action.nargs === ONE_OR_MORE) {
901
- result = sub('%s [%s ...]', ...get_metavar(2))
902
- } else if (action.nargs === REMAINDER) {
903
- result = '...'
904
- } else if (action.nargs === PARSER) {
905
- result = sub('%s ...', ...get_metavar(1))
906
- } else if (action.nargs === SUPPRESS) {
907
- result = ''
908
- } else {
909
- let formats
910
- try {
911
- formats = range(action.nargs).map(() => '%s')
912
- } catch (err) {
913
- throw new TypeError('invalid nargs value')
914
- }
915
- result = sub(formats.join(' '), ...get_metavar(action.nargs))
916
- }
917
- return result
918
- }
919
-
920
- _expand_help (action) {
921
- const help_string = this._get_help_string(action)
922
- if (!help_string.includes('%')) {
923
- return help_string
924
- }
925
- const params = Object.assign({}, action, { prog: this._prog })
926
- for (const name of Object.keys(params)) {
927
- const value = params[name]
928
- if (value === SUPPRESS) {
929
- delete params[name]
930
- } else if (value !== undefined && value !== null && 'name' in Object(value)) {
931
- params[name] = value.name
932
- }
933
- }
934
- if (params.choices !== undefined) {
935
- const choices_str = _choices_to_array(params.choices).map(String).join(', ')
936
- params.choices = choices_str
937
- }
938
- return sub(help_string, params)
939
- }
940
-
941
- * _iter_indented_subactions (action) {
942
- if (typeof action._get_subactions === 'function') {
943
- this._indent()
944
- yield * action._get_subactions()
945
- this._dedent()
946
- }
947
- }
948
-
949
- _split_lines (text, width) {
950
- text = text.replace(this._whitespace_matcher, ' ').trim()
951
- // The textwrap module is used only for formatting help.
952
- // Delay its import for speeding up the common usage of argparse.
953
- const textwrap = require('./textwrap')
954
- return textwrap.wrap(text, { width })
955
- }
956
-
957
- _fill_text (text, width, indent) {
958
- text = text.replace(this._whitespace_matcher, ' ').trim()
959
- const textwrap = require('./textwrap')
960
- return textwrap.fill(text, { width,
961
- initial_indent: indent,
962
- subsequent_indent: indent })
963
- }
964
-
965
- _get_help_string (action) {
966
- return action.help
967
- }
968
-
969
- _get_default_metavar_for_optional (action) {
970
- return action.dest.toUpperCase()
971
- }
972
-
973
- _get_default_metavar_for_positional (action) {
974
- return action.dest
975
- }
976
- })
977
-
978
- HelpFormatter.prototype._Section = _callable(class _Section {
979
-
980
- constructor (formatter, parent, heading = undefined) {
981
- this.formatter = formatter
982
- this.parent = parent
983
- this.heading = heading
984
- this.items = []
985
- }
986
-
987
- format_help () {
988
- // format the indented section
989
- if (this.parent !== undefined) {
990
- this.formatter._indent()
991
- }
992
- const item_help = this.formatter._join_parts(this.items.map(([func, args]) => func.apply(null, args)))
993
- if (this.parent !== undefined) {
994
- this.formatter._dedent()
995
- }
996
-
997
- // return nothing if the section was empty
998
- if (!item_help) {
999
- return ''
1000
- }
1001
-
1002
- // add the heading if the section was non-empty
1003
- let heading
1004
- if (this.heading !== SUPPRESS && this.heading !== undefined) {
1005
- const current_indent = this.formatter._current_indent
1006
- const t = this.formatter._theme
1007
- const heading_text = this.heading + ':'
1008
- heading = ' '.repeat(current_indent) + t.heading + heading_text + t.reset + '\n'
1009
- } else {
1010
- heading = ''
1011
- }
1012
-
1013
- // join the section-initial newline, the heading and the help
1014
- return this.formatter._join_parts(['\n', heading, item_help, '\n'])
1015
- }
1016
- })
1017
-
1018
-
1019
- const RawDescriptionHelpFormatter = _callable(class RawDescriptionHelpFormatter extends HelpFormatter {
1020
- /*
1021
- * Help message formatter which retains any formatting in descriptions.
1022
- *
1023
- * Only the name of this class is considered a public API. All the methods
1024
- * provided by the class are considered an implementation detail.
1025
- */
1026
-
1027
- _fill_text (text, width, indent) {
1028
- return splitlines(text, true).map(line => indent + line).join('')
1029
- }
1030
- })
1031
-
1032
-
1033
- const RawTextHelpFormatter = _callable(class RawTextHelpFormatter extends RawDescriptionHelpFormatter {
1034
- /*
1035
- * Help message formatter which retains formatting of all help text.
1036
- *
1037
- * Only the name of this class is considered a public API. All the methods
1038
- * provided by the class are considered an implementation detail.
1039
- */
1040
-
1041
- _split_lines (text/*, width */) {
1042
- return splitlines(text)
1043
- }
1044
- })
1045
-
1046
-
1047
- const ArgumentDefaultsHelpFormatter = _callable(class ArgumentDefaultsHelpFormatter extends HelpFormatter {
1048
- /*
1049
- * Help message formatter which adds default values to argument help.
1050
- *
1051
- * Only the name of this class is considered a public API. All the methods
1052
- * provided by the class are considered an implementation detail.
1053
- */
1054
-
1055
- _get_help_string (action) {
1056
- let help = action.help
1057
- if (help === undefined) {
1058
- help = ''
1059
- }
1060
-
1061
- if (!help.includes('%(default)') &&
1062
- action.default !== SUPPRESS &&
1063
- !action.required) {
1064
- const defaulting_nargs = [OPTIONAL, ZERO_OR_MORE]
1065
- if (action.option_strings.length || defaulting_nargs.includes(action.nargs)) {
1066
- help += ' (default: %(default)s)'
1067
- }
1068
- }
1069
- return help
1070
- }
1071
- })
1072
-
1073
-
1074
- const MetavarTypeHelpFormatter = _callable(class MetavarTypeHelpFormatter extends HelpFormatter {
1075
- /*
1076
- * Help message formatter which uses the argument 'type' as the default
1077
- * metavar value (instead of the argument 'dest')
1078
- *
1079
- * Only the name of this class is considered a public API. All the methods
1080
- * provided by the class are considered an implementation detail.
1081
- */
1082
-
1083
- _get_default_metavar_for_optional (action) {
1084
- return typeof action.type === 'function' ? action.type.name : action.type
1085
- }
1086
-
1087
- _get_default_metavar_for_positional (action) {
1088
- return typeof action.type === 'function' ? action.type.name : action.type
1089
- }
1090
- })
1091
-
1092
-
1093
- // =====================
1094
- // Options and Arguments
1095
- // =====================
1096
- function _get_action_name (argument) {
1097
- if (argument === undefined) {
1098
- return undefined
1099
- } else if (argument.option_strings.length) {
1100
- return argument.option_strings.join('/')
1101
- } else if (![undefined, SUPPRESS].includes(argument.metavar)) {
1102
- const metavar = argument.metavar
1103
- if (!Array.isArray(metavar)) {
1104
- return metavar
1105
- }
1106
- if (argument.nargs === ZERO_OR_MORE && metavar.length === 2) {
1107
- return sub('%s[, %s]', ...metavar)
1108
- } else if (argument.nargs === ONE_OR_MORE) {
1109
- return sub('%s[, %s]', ...metavar)
1110
- } else {
1111
- return metavar.join(', ')
1112
- }
1113
- } else if (![undefined, SUPPRESS].includes(argument.dest)) {
1114
- return argument.dest
1115
- } else if (argument.choices) {
1116
- const choices = _choices_to_array(argument.choices)
1117
- if (choices.length) {
1118
- return sub('{%s}', choices.map(String).join(','))
1119
- }
1120
- }
1121
- return undefined
1122
- }
1123
-
1124
-
1125
- const ArgumentError = _callable(class ArgumentError extends Error {
1126
- /*
1127
- * An error from creating or using an argument (optional or positional).
1128
- *
1129
- * The string value of this exception is the message, augmented with
1130
- * information about the argument that caused it.
1131
- */
1132
-
1133
- constructor (argument, message) {
1134
- super()
1135
- this.name = 'ArgumentError'
1136
- this._argument_name = _get_action_name(argument)
1137
- this._message = message
1138
- this.message = this.str()
1139
- }
1140
-
1141
- str () {
1142
- let format
1143
- if (this._argument_name === undefined) {
1144
- format = '%(message)s'
1145
- } else {
1146
- format = 'argument %(argument_name)s: %(message)s'
1147
- }
1148
- return sub(format, { message: this._message,
1149
- argument_name: this._argument_name })
1150
- }
1151
- })
1152
-
1153
-
1154
- const ArgumentTypeError = _callable(class ArgumentTypeError extends Error {
1155
- /*
1156
- * An error from trying to convert a command line string to a type.
1157
- */
1158
-
1159
- constructor (message) {
1160
- super(message)
1161
- this.name = 'ArgumentTypeError'
1162
- }
1163
- })
1164
-
1165
-
1166
- // ==============
1167
- // Action classes
1168
- // ==============
1169
- const Action = _callable(class Action extends _AttributeHolder(Function) {
1170
- /*
1171
- * Information about how to convert command line strings to Python objects.
1172
- *
1173
- * Action objects are used by an ArgumentParser to represent the information
1174
- * needed to parse a single argument from one or more strings from the
1175
- * command line. The keyword arguments to the Action constructor are also
1176
- * all attributes of Action instances.
1177
- *
1178
- * Keyword Arguments:
1179
- *
1180
- * - option_strings -- A list of command-line option strings which
1181
- * should be associated with this action.
1182
- *
1183
- * - dest -- The name of the attribute to hold the created object(s)
1184
- *
1185
- * - nargs -- The number of command-line arguments that should be
1186
- * consumed. By default, one argument will be consumed and a single
1187
- * value will be produced. Other values include:
1188
- * - N (an integer) consumes N arguments (and produces a list)
1189
- * - '?' consumes zero or one arguments
1190
- * - '*' consumes zero or more arguments (and produces a list)
1191
- * - '+' consumes one or more arguments (and produces a list)
1192
- * Note that the difference between the default and nargs=1 is that
1193
- * with the default, a single value will be produced, while with
1194
- * nargs=1, a list containing a single value will be produced.
1195
- *
1196
- * - const -- The value to be produced if the option is specified and the
1197
- * option uses an action that takes no values.
1198
- *
1199
- * - default -- The value to be produced if the option is not specified.
1200
- *
1201
- * - type -- A callable that accepts a single string argument, and
1202
- * returns the converted value. The standard Python types str, int,
1203
- * float, and complex are useful examples of such callables. If None,
1204
- * str is used.
1205
- *
1206
- * - choices -- A container of values that should be allowed. If not None,
1207
- * after a command-line argument has been converted to the appropriate
1208
- * type, an exception will be raised if it is not a member of this
1209
- * collection.
1210
- *
1211
- * - required -- True if the action must always be specified at the
1212
- * command line. This is only meaningful for optional command-line
1213
- * arguments.
1214
- *
1215
- * - help -- The help string describing the argument.
1216
- *
1217
- * - metavar -- The name to be used for the option's argument with the
1218
- * help string. If None, the 'dest' value will be used as the name.
1219
- */
1220
-
1221
- constructor () {
1222
- const [
1223
- option_strings,
1224
- dest,
1225
- nargs,
1226
- const_value,
1227
- default_value,
1228
- type,
1229
- choices,
1230
- required,
1231
- help,
1232
- metavar,
1233
- deprecated
1234
- ] = _parse_opts(arguments, {
1235
- option_strings: no_default,
1236
- dest: no_default,
1237
- nargs: undefined,
1238
- const: undefined,
1239
- default: undefined,
1240
- type: undefined,
1241
- choices: undefined,
1242
- required: false,
1243
- help: undefined,
1244
- metavar: undefined,
1245
- deprecated: false
1246
- })
1247
-
1248
- // when this class is called as a function, redirect it to .call() method of itself
1249
- super('return arguments.callee.call.apply(arguments.callee, arguments)')
1250
-
1251
- this.option_strings = option_strings
1252
- this.dest = dest
1253
- this.nargs = nargs
1254
- this.const = const_value
1255
- this.default = default_value
1256
- this.type = type
1257
- this.choices = choices
1258
- this.required = required
1259
- this.help = help
1260
- this.metavar = metavar
1261
- this.deprecated = deprecated
1262
- }
1263
-
1264
- _get_kwargs () {
1265
- const names = [
1266
- 'option_strings',
1267
- 'dest',
1268
- 'nargs',
1269
- 'const',
1270
- 'default',
1271
- 'type',
1272
- 'choices',
1273
- 'required',
1274
- 'help',
1275
- 'metavar',
1276
- 'deprecated'
1277
- ]
1278
- return names.map(name => [name, getattr(this, name)])
1279
- }
1280
-
1281
- format_usage () {
1282
- return this.option_strings[0]
1283
- }
1284
-
1285
- call (/* parser, namespace, values, option_string = undefined */) {
1286
- throw new Error('.call() not defined')
1287
- }
1288
- })
1289
-
1290
-
1291
- const BooleanOptionalAction = _callable(class BooleanOptionalAction extends Action {
1292
-
1293
- constructor () {
1294
- const [
1295
- option_strings,
1296
- dest,
1297
- default_value,
1298
- required,
1299
- help,
1300
- deprecated
1301
- ] = _parse_opts(arguments, {
1302
- option_strings: no_default,
1303
- dest: no_default,
1304
- default: undefined,
1305
- required: false,
1306
- help: undefined,
1307
- deprecated: false
1308
- })
1309
-
1310
- const _option_strings = []
1311
- for (let option_string of option_strings) {
1312
- _option_strings.push(option_string)
1313
-
1314
- if (option_string.startsWith('--')) {
1315
- if (option_string.startsWith('--no-')) {
1316
- throw new TypeError(sub('invalid option name %r ' +
1317
- 'for BooleanOptionalAction', option_string))
1318
- }
1319
- option_string = '--no-' + option_string.slice(2)
1320
- _option_strings.push(option_string)
1321
- }
1322
- }
1323
-
1324
- super({
1325
- option_strings: _option_strings,
1326
- dest,
1327
- nargs: 0,
1328
- default: default_value,
1329
- required,
1330
- help,
1331
- deprecated
1332
- })
1333
- }
1334
-
1335
- call (parser, namespace, values, option_string = undefined) {
1336
- if (this.option_strings.includes(option_string)) {
1337
- setattr(namespace, this.dest, !option_string.startsWith('--no-'))
1338
- }
1339
- }
1340
-
1341
- format_usage () {
1342
- return this.option_strings.join(' | ')
1343
- }
1344
- })
1345
-
1346
-
1347
- const _StoreAction = _callable(class _StoreAction extends Action {
1348
-
1349
- constructor () {
1350
- const [
1351
- option_strings,
1352
- dest,
1353
- nargs,
1354
- const_value,
1355
- default_value,
1356
- type,
1357
- choices,
1358
- required,
1359
- help,
1360
- metavar,
1361
- deprecated
1362
- ] = _parse_opts(arguments, {
1363
- option_strings: no_default,
1364
- dest: no_default,
1365
- nargs: undefined,
1366
- const: undefined,
1367
- default: undefined,
1368
- type: undefined,
1369
- choices: undefined,
1370
- required: false,
1371
- help: undefined,
1372
- metavar: undefined,
1373
- deprecated: false
1374
- })
1375
-
1376
- if (nargs === 0) {
1377
- throw new TypeError('nargs for store actions must be != 0; if you ' +
1378
- 'have nothing to store, actions such as store ' +
1379
- 'true or store const may be more appropriate')
1380
- }
1381
- if (const_value !== undefined && nargs !== OPTIONAL) {
1382
- throw new TypeError(sub('nargs must be %r to supply const', OPTIONAL))
1383
- }
1384
- super({
1385
- option_strings,
1386
- dest,
1387
- nargs,
1388
- const: const_value,
1389
- default: default_value,
1390
- type,
1391
- choices,
1392
- required,
1393
- help,
1394
- metavar,
1395
- deprecated
1396
- })
1397
- }
1398
-
1399
- call (parser, namespace, values/*, option_string = undefined */) {
1400
- setattr(namespace, this.dest, values)
1401
- }
1402
- })
1403
-
1404
-
1405
- const _StoreConstAction = _callable(class _StoreConstAction extends Action {
1406
-
1407
- constructor () {
1408
- const [
1409
- option_strings,
1410
- dest,
1411
- const_value,
1412
- default_value,
1413
- required,
1414
- help,
1415
- deprecated
1416
- ] = _parse_opts(arguments, {
1417
- option_strings: no_default,
1418
- dest: no_default,
1419
- const: undefined,
1420
- default: undefined,
1421
- required: false,
1422
- help: undefined,
1423
- deprecated: false,
1424
- metavar: undefined
1425
- })
1426
-
1427
- super({
1428
- option_strings,
1429
- dest,
1430
- nargs: 0,
1431
- const: const_value,
1432
- default: default_value,
1433
- required,
1434
- help,
1435
- deprecated
1436
- })
1437
- }
1438
-
1439
- call (parser, namespace/*, values, option_string = undefined */) {
1440
- setattr(namespace, this.dest, this.const)
1441
- }
1442
- })
1443
-
1444
-
1445
- const _StoreTrueAction = _callable(class _StoreTrueAction extends _StoreConstAction {
1446
-
1447
- constructor () {
1448
- const [
1449
- option_strings,
1450
- dest,
1451
- default_value,
1452
- required,
1453
- help,
1454
- deprecated
1455
- ] = _parse_opts(arguments, {
1456
- option_strings: no_default,
1457
- dest: no_default,
1458
- default: false,
1459
- required: false,
1460
- help: undefined,
1461
- deprecated: false
1462
- })
1463
-
1464
- super({
1465
- option_strings,
1466
- dest,
1467
- const: true,
1468
- default: default_value,
1469
- required,
1470
- help,
1471
- deprecated
1472
- })
1473
- }
1474
- })
1475
-
1476
-
1477
- const _StoreFalseAction = _callable(class _StoreFalseAction extends _StoreConstAction {
1478
-
1479
- constructor () {
1480
- const [
1481
- option_strings,
1482
- dest,
1483
- default_value,
1484
- required,
1485
- help,
1486
- deprecated
1487
- ] = _parse_opts(arguments, {
1488
- option_strings: no_default,
1489
- dest: no_default,
1490
- default: true,
1491
- required: false,
1492
- help: undefined,
1493
- deprecated: false
1494
- })
1495
-
1496
- super({
1497
- option_strings,
1498
- dest,
1499
- const: false,
1500
- default: default_value,
1501
- required,
1502
- help,
1503
- deprecated
1504
- })
1505
- }
1506
- })
1507
-
1508
-
1509
- const _AppendAction = _callable(class _AppendAction extends Action {
1510
-
1511
- constructor () {
1512
- const [
1513
- option_strings,
1514
- dest,
1515
- nargs,
1516
- const_value,
1517
- default_value,
1518
- type,
1519
- choices,
1520
- required,
1521
- help,
1522
- metavar,
1523
- deprecated
1524
- ] = _parse_opts(arguments, {
1525
- option_strings: no_default,
1526
- dest: no_default,
1527
- nargs: undefined,
1528
- const: undefined,
1529
- default: undefined,
1530
- type: undefined,
1531
- choices: undefined,
1532
- required: false,
1533
- help: undefined,
1534
- metavar: undefined,
1535
- deprecated: false
1536
- })
1537
-
1538
- if (nargs === 0) {
1539
- throw new TypeError('nargs for append actions must be != 0; if arg ' +
1540
- 'strings are not supplying the value to append, ' +
1541
- 'the append const action may be more appropriate')
1542
- }
1543
- if (const_value !== undefined && nargs !== OPTIONAL) {
1544
- throw new TypeError(sub('nargs must be %r to supply const', OPTIONAL))
1545
- }
1546
- super({
1547
- option_strings,
1548
- dest,
1549
- nargs,
1550
- const: const_value,
1551
- default: default_value,
1552
- type,
1553
- choices,
1554
- required,
1555
- help,
1556
- metavar,
1557
- deprecated
1558
- })
1559
- }
1560
-
1561
- call (parser, namespace, values/*, option_string = undefined */) {
1562
- let items = getattr(namespace, this.dest, undefined)
1563
- items = _copy_items(items)
1564
- items.push(values)
1565
- setattr(namespace, this.dest, items)
1566
- }
1567
- })
1568
-
1569
-
1570
- const _AppendConstAction = _callable(class _AppendConstAction extends Action {
1571
-
1572
- constructor () {
1573
- const [
1574
- option_strings,
1575
- dest,
1576
- const_value,
1577
- default_value,
1578
- required,
1579
- help,
1580
- metavar,
1581
- deprecated
1582
- ] = _parse_opts(arguments, {
1583
- option_strings: no_default,
1584
- dest: no_default,
1585
- const: undefined,
1586
- default: undefined,
1587
- required: false,
1588
- help: undefined,
1589
- metavar: undefined,
1590
- deprecated: false
1591
- })
1592
-
1593
- super({
1594
- option_strings,
1595
- dest,
1596
- nargs: 0,
1597
- const: const_value,
1598
- default: default_value,
1599
- required,
1600
- help,
1601
- metavar,
1602
- deprecated
1603
- })
1604
- }
1605
-
1606
- call (parser, namespace/*, values, option_string = undefined */) {
1607
- let items = getattr(namespace, this.dest, undefined)
1608
- items = _copy_items(items)
1609
- items.push(this.const)
1610
- setattr(namespace, this.dest, items)
1611
- }
1612
- })
1613
-
1614
-
1615
- const _CountAction = _callable(class _CountAction extends Action {
1616
-
1617
- constructor () {
1618
- const [
1619
- option_strings,
1620
- dest,
1621
- default_value,
1622
- required,
1623
- help,
1624
- deprecated
1625
- ] = _parse_opts(arguments, {
1626
- option_strings: no_default,
1627
- dest: no_default,
1628
- default: undefined,
1629
- required: false,
1630
- help: undefined,
1631
- deprecated: false
1632
- })
1633
-
1634
- super({
1635
- option_strings,
1636
- dest,
1637
- nargs: 0,
1638
- default: default_value,
1639
- required,
1640
- help,
1641
- deprecated
1642
- })
1643
- }
1644
-
1645
- call (parser, namespace/*, values, option_string = undefined */) {
1646
- let count = getattr(namespace, this.dest, undefined)
1647
- if (count === undefined) {
1648
- count = 0
1649
- }
1650
- setattr(namespace, this.dest, count + 1)
1651
- }
1652
- })
1653
-
1654
-
1655
- const _HelpAction = _callable(class _HelpAction extends Action {
1656
-
1657
- constructor () {
1658
- const [
1659
- option_strings,
1660
- dest,
1661
- default_value,
1662
- help,
1663
- deprecated
1664
- ] = _parse_opts(arguments, {
1665
- option_strings: no_default,
1666
- dest: SUPPRESS,
1667
- default: SUPPRESS,
1668
- help: undefined,
1669
- deprecated: false
1670
- })
1671
-
1672
- super({
1673
- option_strings,
1674
- dest,
1675
- default: default_value,
1676
- nargs: 0,
1677
- help,
1678
- deprecated
1679
- })
1680
- }
1681
-
1682
- call (parser/*, namespace, values, option_string = undefined */) {
1683
- parser.print_help()
1684
- parser.exit()
1685
- }
1686
- })
1687
-
1688
-
1689
- const _VersionAction = _callable(class _VersionAction extends Action {
1690
-
1691
- constructor () {
1692
- let [
1693
- option_strings,
1694
- version,
1695
- dest,
1696
- default_value,
1697
- help
1698
- ] = _parse_opts(arguments, {
1699
- option_strings: no_default,
1700
- version: undefined,
1701
- dest: SUPPRESS,
1702
- default: SUPPRESS,
1703
- help: "show program's version number and exit",
1704
- deprecated: false
1705
- })
1706
-
1707
- if (help === undefined || help === null) {
1708
- help = "show program's version number and exit"
1709
- }
1710
-
1711
- super({
1712
- option_strings,
1713
- dest,
1714
- default: default_value,
1715
- nargs: 0,
1716
- help
1717
- })
1718
- this.version = version
1719
- }
1720
-
1721
- call (parser/*, namespace, values, option_string = undefined */) {
1722
- let version = this.version
1723
- if (version === undefined) {
1724
- version = parser.version
1725
- }
1726
- const formatter = parser._get_formatter()
1727
- formatter.add_text(version)
1728
- parser._print_message(formatter.format_help(), process.stdout)
1729
- parser.exit()
1730
- }
1731
- })
1732
-
1733
-
1734
- const _SubParsersAction = _callable(class _SubParsersAction extends Action {
1735
-
1736
- constructor () {
1737
- const [
1738
- option_strings,
1739
- prog,
1740
- parser_class,
1741
- dest,
1742
- required,
1743
- help,
1744
- metavar
1745
- ] = _parse_opts(arguments, {
1746
- option_strings: no_default,
1747
- prog: no_default,
1748
- parser_class: no_default,
1749
- dest: SUPPRESS,
1750
- required: false,
1751
- help: undefined,
1752
- metavar: undefined
1753
- })
1754
-
1755
- const name_parser_map = Object.create(null)
1756
-
1757
- super({
1758
- option_strings,
1759
- dest,
1760
- nargs: PARSER,
1761
- choices: name_parser_map,
1762
- required,
1763
- help,
1764
- metavar
1765
- })
1766
-
1767
- this._prog_prefix = prog
1768
- this._parser_class = parser_class
1769
- this._name_parser_map = name_parser_map
1770
- this._choices_actions = []
1771
- this._deprecated = new Set()
1772
- this._color = true
1773
- }
1774
-
1775
- add_parser () {
1776
- const [
1777
- name,
1778
- kwargs
1779
- ] = _parse_opts(arguments, {
1780
- name: no_default,
1781
- '**kwargs': no_default
1782
- })
1783
-
1784
- // set prog from the existing prefix
1785
- if (kwargs.prog === undefined) {
1786
- kwargs.prog = sub('%s %s', this._prog_prefix, name)
1787
- }
1788
-
1789
- // set color
1790
- if (kwargs.color === undefined) {
1791
- kwargs.color = this._color
1792
- }
1793
-
1794
- const aliases = getattr(kwargs, 'aliases', [])
1795
- delete kwargs.aliases
1796
- const deprecated = getattr(kwargs, 'deprecated', false)
1797
- delete kwargs.deprecated
1798
-
1799
- if (hasattr(this._name_parser_map, name)) {
1800
- throw new TypeError(sub('conflicting subparser: %s', name))
1801
- }
1802
- for (const alias of aliases) {
1803
- if (hasattr(this._name_parser_map, alias)) {
1804
- throw new TypeError(sub('conflicting subparser alias: %s', alias))
1805
- }
1806
- }
1807
-
1808
- // create a pseudo-action to hold the choice help
1809
- let choice_action
1810
- if ('help' in kwargs) {
1811
- const help = kwargs.help
1812
- delete kwargs.help
1813
- choice_action = this._ChoicesPseudoAction(name, aliases, help)
1814
- this._choices_actions.push(choice_action)
1815
- }
1816
-
1817
- // create the parser and add it to the map
1818
- const parser = new this._parser_class(kwargs)
1819
- if (choice_action !== undefined) {
1820
- parser._check_help(choice_action)
1821
- }
1822
- this._name_parser_map[name] = parser
1823
-
1824
- // make parser available under aliases also
1825
- for (const alias of aliases) {
1826
- this._name_parser_map[alias] = parser
1827
- }
1828
-
1829
- if (deprecated) {
1830
- this._deprecated.add(name)
1831
- for (const alias of aliases) {
1832
- this._deprecated.add(alias)
1833
- }
1834
- }
1835
-
1836
- return parser
1837
- }
1838
-
1839
- _get_subactions () {
1840
- return this._choices_actions
1841
- }
1842
-
1843
- call (parser, namespace, values/*, option_string = undefined */) {
1844
- const parser_name = values[0]
1845
- let arg_strings = values.slice(1)
1846
-
1847
- // set the parser name if requested
1848
- if (this.dest !== SUPPRESS) {
1849
- setattr(namespace, this.dest, parser_name)
1850
- }
1851
-
1852
- // select the parser
1853
- let subparser
1854
- if (hasattr(this._name_parser_map, parser_name)) {
1855
- subparser = this._name_parser_map[parser_name]
1856
- } else {
1857
- const args = {parser_name,
1858
- choices: Object.keys(this._name_parser_map).join(', ')}
1859
- const msg = sub('unknown parser %(parser_name)r (choices: %(choices)s)', args)
1860
- throw new ArgumentError(this, msg)
1861
- }
1862
-
1863
- if (this._deprecated.has(parser_name)) {
1864
- parser._warning(sub("command '%(parser_name)s' is deprecated", { parser_name }))
1865
- }
1866
-
1867
- // parse all the remaining options into the namespace
1868
- // store any unrecognized options on the object, so that the top
1869
- // level parser can decide what to do with them
1870
-
1871
- // In case this subparser defines new defaults, we parse them
1872
- // in a new namespace object and then update the original
1873
- // namespace for the relevant parts.
1874
- let subnamespace
1875
- [subnamespace, arg_strings] = subparser.parse_known_args(arg_strings, undefined)
1876
- for (const [key, value] of Object.entries(subnamespace)) {
1877
- setattr(namespace, key, value)
1878
- }
1879
-
1880
- if (arg_strings.length) {
1881
- if (!hasattr(namespace, _UNRECOGNIZED_ARGS_ATTR)) {
1882
- setattr(namespace, _UNRECOGNIZED_ARGS_ATTR, [])
1883
- }
1884
- getattr(namespace, _UNRECOGNIZED_ARGS_ATTR).push(...arg_strings)
1885
- }
1886
- }
1887
- })
1888
-
1889
-
1890
- _SubParsersAction.prototype._ChoicesPseudoAction = _callable(class _ChoicesPseudoAction extends Action {
1891
- constructor (name, aliases, help) {
1892
- let metavar = name
1893
- const dest = name
1894
- if (aliases.length) {
1895
- metavar += sub(' (%s)', aliases.join(', '))
1896
- }
1897
- super({ option_strings: [], dest, help, metavar })
1898
- }
1899
- })
1900
-
1901
-
1902
- const _ExtendAction = _callable(class _ExtendAction extends _AppendAction {
1903
- call (parser, namespace, values/*, option_string = undefined */) {
1904
- let items = getattr(namespace, this.dest, undefined)
1905
- items = _copy_items(items)
1906
- items = items.concat(values)
1907
- setattr(namespace, this.dest, items)
1908
- }
1909
- })
1910
-
1911
-
1912
- // ==============
1913
- // Type classes
1914
- // ==============
1915
- const FileType = _callable(class FileType extends Function {
1916
- /*
1917
- * Deprecated factory for creating file object types
1918
- *
1919
- * Instances of FileType are typically passed as type= arguments to the
1920
- * ArgumentParser add_argument() method.
1921
- *
1922
- * Keyword Arguments:
1923
- * - mode -- A string indicating how the file is to be opened. Accepts the
1924
- * same values as the builtin open() function.
1925
- * - bufsize -- The file's desired buffer size. Accepts the same values as
1926
- * the builtin open() function.
1927
- * - encoding -- The file's encoding. Accepts the same values as the
1928
- * builtin open() function.
1929
- * - errors -- A string indicating how encoding and decoding errors are to
1930
- * be handled. Accepts the same value as the builtin open() function.
1931
- */
1932
-
1933
- constructor () {
1934
- const [
1935
- flags,
1936
- encoding,
1937
- mode,
1938
- autoClose,
1939
- emitClose,
1940
- start,
1941
- end,
1942
- highWaterMark,
1943
- fs
1944
- ] = _parse_opts(arguments, {
1945
- flags: 'r',
1946
- encoding: undefined,
1947
- mode: undefined, // 0o666
1948
- autoClose: undefined, // true
1949
- emitClose: undefined, // false
1950
- start: undefined, // 0
1951
- end: undefined, // Infinity
1952
- highWaterMark: undefined, // 64 * 1024
1953
- fs: undefined
1954
- })
1955
-
1956
- process.emitWarning(
1957
- 'FileType is deprecated. Simply open files after parsing arguments.',
1958
- 'PendingDeprecationWarning')
1959
-
1960
- // when this class is called as a function, redirect it to .call() method of itself
1961
- super('return arguments.callee.call.apply(arguments.callee, arguments)')
1962
-
1963
- Object.defineProperty(this, 'name', {
1964
- get () {
1965
- return sub('FileType(%r)', flags)
1966
- }
1967
- })
1968
- this._flags = flags
1969
- this._options = {}
1970
- if (encoding !== undefined) this._options.encoding = encoding
1971
- if (mode !== undefined) this._options.mode = mode
1972
- if (autoClose !== undefined) this._options.autoClose = autoClose
1973
- if (emitClose !== undefined) this._options.emitClose = emitClose
1974
- if (start !== undefined) this._options.start = start
1975
- if (end !== undefined) this._options.end = end
1976
- if (highWaterMark !== undefined) this._options.highWaterMark = highWaterMark
1977
- if (fs !== undefined) this._options.fs = fs
1978
- }
1979
-
1980
- call (string) {
1981
- // the special argument "-" means sys.std{in,out}
1982
- if (string === '-') {
1983
- if (this._flags.includes('r')) {
1984
- return process.stdin
1985
- } else if ([...'wax'].some(flag => this._flags.includes(flag))) {
1986
- return process.stdout
1987
- } else {
1988
- const msg = sub('argument "-" with mode %r', this._flags)
1989
- throw new TypeError(msg)
1990
- }
1991
- }
1992
-
1993
- // all other arguments are used as file names
1994
- let fd
1995
- try {
1996
- fd = fs.openSync(string, this._flags, this._options.mode)
1997
- } catch (e) {
1998
- if (e instanceof TypeError) {
1999
- throw e
2000
- }
2001
- const args = { filename: string, error: e.message }
2002
- const message = "can't open '%(filename)s': %(error)s"
2003
- throw new ArgumentTypeError(sub(message, args))
2004
- }
2005
-
2006
- const options = Object.assign({ fd, flags: this._flags }, this._options)
2007
- if (this._flags.includes('r')) {
2008
- const file = fs.createReadStream(string, options)
2009
- file.path = string
2010
- return file
2011
- } else if (this._flags.includes('w')) {
2012
- const file = fs.createWriteStream(string, options)
2013
- file.path = string
2014
- return file
2015
- } else {
2016
- fs.closeSync(fd)
2017
- const msg = sub('argument "%s" with mode %r', string, this._flags)
2018
- throw new TypeError(msg)
2019
- }
2020
- }
2021
-
2022
- [util.inspect.custom] () {
2023
- const args = [this._flags]
2024
- const kwargs = Object.entries(this._options).map(([k, v]) => {
2025
- if (k === 'mode') v = { value: v, [util.inspect.custom] () { return '0o' + this.value.toString(8) } }
2026
- return [k, v]
2027
- })
2028
- const args_str = []
2029
- .concat(args.filter(arg => arg !== -1).map(repr))
2030
- .concat(kwargs.filter(([/* kw */, arg]) => arg !== undefined)
2031
- .map(([kw, arg]) => sub('%s=%r', kw, arg)))
2032
- .join(', ')
2033
- return sub('%s(%s)', this.constructor.name, args_str)
2034
- }
2035
-
2036
- toString () {
2037
- return this[util.inspect.custom]()
2038
- }
2039
- })
2040
-
2041
- // ===========================
2042
- // Optional and Positional Parsing
2043
- // ===========================
2044
- const Namespace = _callable(class Namespace extends _AttributeHolder() {
2045
- /*
2046
- * Simple object for storing attributes.
2047
- *
2048
- * Implements equality by attribute names and values, and provides a simple
2049
- * string representation.
2050
- */
2051
-
2052
- constructor (options = {}) {
2053
- super()
2054
- Object.assign(this, options)
2055
- }
2056
- })
2057
-
2058
- // unset string tag to mimic plain object
2059
- Namespace.prototype[Symbol.toStringTag] = undefined
2060
-
2061
-
2062
- const _ActionsContainer = _callable(class _ActionsContainer {
2063
-
2064
- constructor () {
2065
- const [
2066
- description,
2067
- prefix_chars,
2068
- argument_default,
2069
- conflict_handler
2070
- ] = _parse_opts(arguments, {
2071
- description: no_default,
2072
- prefix_chars: no_default,
2073
- argument_default: no_default,
2074
- conflict_handler: no_default
2075
- })
2076
-
2077
- this.description = description
2078
- this.argument_default = argument_default
2079
- this.prefix_chars = prefix_chars
2080
- this.conflict_handler = conflict_handler
2081
-
2082
- // set up registries
2083
- this._registries = Object.create(null)
2084
-
2085
- // register actions
2086
- this.register('action', undefined, _StoreAction)
2087
- this.register('action', 'store', _StoreAction)
2088
- this.register('action', 'store_const', _StoreConstAction)
2089
- this.register('action', 'store_true', _StoreTrueAction)
2090
- this.register('action', 'store_false', _StoreFalseAction)
2091
- this.register('action', 'append', _AppendAction)
2092
- this.register('action', 'append_const', _AppendConstAction)
2093
- this.register('action', 'count', _CountAction)
2094
- this.register('action', 'help', _HelpAction)
2095
- this.register('action', 'version', _VersionAction)
2096
- this.register('action', 'parsers', _SubParsersAction)
2097
- this.register('action', 'extend', _ExtendAction)
2098
- // raise an exception if the conflict handler is invalid
2099
- this._get_handler()
2100
-
2101
- // action storage
2102
- this._actions = []
2103
- this._option_string_actions = Object.create(null)
2104
-
2105
- // groups
2106
- this._action_groups = []
2107
- this._mutually_exclusive_groups = []
2108
-
2109
- // defaults storage
2110
- this._defaults = Object.create(null)
2111
-
2112
- // determines whether an "option" looks like a negative number
2113
- this._negative_number_matcher = /^-\.?\d/
2114
-
2115
- // whether or not there are any optionals that look like negative
2116
- // numbers -- uses a list so it can be shared and edited
2117
- this._has_negative_number_optionals = []
2118
- }
2119
-
2120
- // ====================
2121
- // Registration methods
2122
- // ====================
2123
- register (registry_name, value, object) {
2124
- const registry = setdefault(this._registries, registry_name, Object.create(null))
2125
- registry[value] = object
2126
- }
2127
-
2128
- _registry_get (registry_name, value, default_value = undefined) {
2129
- return getattr(this._registries[registry_name], value, default_value)
2130
- }
2131
-
2132
- // ==================================
2133
- // Namespace default accessor methods
2134
- // ==================================
2135
- set_defaults (kwargs) {
2136
- Object.assign(this._defaults, kwargs)
2137
-
2138
- // if these defaults match any existing arguments, replace
2139
- // the previous default on the object with the new one
2140
- for (const action of this._actions) {
2141
- if (action.dest in kwargs) {
2142
- action.default = kwargs[action.dest]
2143
- }
2144
- }
2145
- }
2146
-
2147
- get_default (dest) {
2148
- for (const action of this._actions) {
2149
- if (action.dest === dest && action.default !== undefined) {
2150
- return action.default
2151
- }
2152
- }
2153
- return this._defaults[dest]
2154
- }
2155
-
2156
-
2157
- // =======================
2158
- // Adding argument actions
2159
- // =======================
2160
- add_argument () {
2161
- /*
2162
- * add_argument(dest, ..., name=value, ...)
2163
- * add_argument(option_string, option_string, ..., name=value, ...)
2164
- */
2165
- let [
2166
- args,
2167
- kwargs
2168
- ] = _parse_opts(arguments, {
2169
- '*args': no_default,
2170
- '**kwargs': no_default
2171
- })
2172
- // argparse v1 accepted an array of argument names here. Python argparse
2173
- // accepts only individual string names and rejects a list; reject it
2174
- // explicitly because JS would otherwise coerce the array to a string.
2175
- if (args.some(arg => typeof arg !== 'string')) {
2176
- throw new TypeError('argument name must be a string')
2177
- }
2178
- if (args.some(arg => !arg.length)) {
2179
- throw new TypeError('argument name must not be empty')
2180
- }
2181
- // if no positional args are supplied or only one is supplied and
2182
- // it doesn't look like an option string, parse a positional
2183
- // argument
2184
- const chars = this.prefix_chars
2185
- if (!args.length || args.length === 1 && !chars.includes(args[0][0])) {
2186
- if (args.length && 'dest' in kwargs) {
2187
- throw new TypeError('dest supplied twice for positional argument,' +
2188
- ' did you mean metavar?')
2189
- }
2190
- kwargs = this._get_positional_kwargs(...args, kwargs)
2191
-
2192
- // otherwise, we're adding an optional argument
2193
- } else {
2194
- kwargs = this._get_optional_kwargs(...args, kwargs)
2195
- }
2196
-
2197
- // if no default was supplied, use the parser-level default
2198
- if (!('default' in kwargs)) {
2199
- const dest = kwargs.dest
2200
- if (dest in this._defaults) {
2201
- kwargs.default = this._defaults[dest]
2202
- } else if (this.argument_default !== undefined) {
2203
- kwargs.default = this.argument_default
2204
- }
2205
- }
2206
-
2207
- // create the action object, and add it to the parser
2208
- const action_name = kwargs.action
2209
- const action_class = this._pop_action_class(kwargs)
2210
- if (typeof action_class !== 'function') {
2211
- throw new TypeError(sub('unknown action %r', action_class))
2212
- }
2213
- // eslint-disable-next-line new-cap
2214
- const action = new action_class(kwargs)
2215
-
2216
- // raise an error if action for positional argument does not
2217
- // consume arguments
2218
- if (!action.option_strings.length && action.nargs === 0) {
2219
- throw new TypeError(sub('action %r is not valid for positional arguments', action_name))
2220
- }
2221
-
2222
- // raise an error if the action type is not callable
2223
- const type_func = this._registry_get('type', action.type, action.type)
2224
- if (typeof type_func !== 'function') {
2225
- throw new TypeError(sub('%r is not callable', type_func))
2226
- }
2227
-
2228
- if (type_func === FileType) {
2229
- throw new TypeError(sub('%r is a FileType class object, instance of it' +
2230
- ' must be passed', type_func))
2231
- }
2232
-
2233
- // raise an error if the metavar does not match the type
2234
- if ('_get_validation_formatter' in this) {
2235
- const formatter = this._get_validation_formatter()
2236
- try {
2237
- formatter._format_args(action, undefined)
2238
- } catch (err) {
2239
- // check for 'invalid nargs value' is an artifact of TypeError and ValueError in js being the same
2240
- if (err instanceof TypeError && err.message !== 'invalid nargs value') {
2241
- throw new TypeError('length of metavar tuple does not match nargs')
2242
- } else {
2243
- throw err
2244
- }
2245
- }
2246
- }
2247
-
2248
- this._check_help(action)
2249
-
2250
- return this._add_action(action)
2251
- }
2252
-
2253
- add_argument_group () {
2254
- const group = _ArgumentGroup(this, ...arguments)
2255
- this._action_groups.push(group)
2256
- return group
2257
- }
2258
-
2259
- add_mutually_exclusive_group () {
2260
-
2261
- const group = _MutuallyExclusiveGroup(this, ...arguments)
2262
- this._mutually_exclusive_groups.push(group)
2263
- return group
2264
- }
2265
-
2266
- _add_action (action) {
2267
- // resolve any conflicts
2268
- this._check_conflict(action)
2269
-
2270
- // add to actions list
2271
- this._actions.push(action)
2272
- action.container = this
2273
-
2274
- // index the action by any option strings it has
2275
- for (const option_string of action.option_strings) {
2276
- this._option_string_actions[option_string] = action
2277
- }
2278
-
2279
- // set the flag if any option strings look like negative numbers
2280
- for (const option_string of action.option_strings) {
2281
- if (this._negative_number_matcher.test(option_string)) {
2282
- if (!this._has_negative_number_optionals.length) {
2283
- this._has_negative_number_optionals.push(true)
2284
- }
2285
- }
2286
- }
2287
-
2288
- // return the created action
2289
- return action
2290
- }
2291
-
2292
- _remove_action (action) {
2293
- _array_remove(this._actions, action)
2294
- }
2295
-
2296
- _add_container_actions (container) {
2297
- // collect groups by titles
2298
- const title_group_map = Object.create(null)
2299
- for (const group of this._action_groups) {
2300
- if (group.title in title_group_map) {
2301
- // This branch could happen if a derived class added
2302
- // groups with duplicated titles in constructor.
2303
- const msg = 'cannot merge actions - two groups are named %r'
2304
- throw new TypeError(sub(msg, group.title))
2305
- }
2306
- title_group_map[group.title] = group
2307
- }
2308
-
2309
- // map each action to its group
2310
- const group_map = new Map()
2311
- for (const group of container._action_groups) {
2312
-
2313
- // if a group with the title exists, use that, otherwise
2314
- // create a new group matching the container's group
2315
- if (!(group.title in title_group_map)) {
2316
- title_group_map[group.title] = this.add_argument_group({
2317
- title: group.title,
2318
- description: group.description,
2319
- conflict_handler: group.conflict_handler
2320
- })
2321
- }
2322
-
2323
- // map the actions to their new group
2324
- for (const action of group._group_actions) {
2325
- group_map.set(action, title_group_map[group.title])
2326
- }
2327
- }
2328
-
2329
- // add container's mutually exclusive groups
2330
- // NOTE: if add_mutually_exclusive_group ever gains title= and
2331
- // description= then this code will need to be expanded as above
2332
- for (const group of container._mutually_exclusive_groups) {
2333
- let cont
2334
- if (group._container === container) {
2335
- cont = this
2336
- } else {
2337
- cont = title_group_map[group._container.title]
2338
- }
2339
- const mutex_group = cont.add_mutually_exclusive_group({
2340
- required: group.required
2341
- })
2342
-
2343
- // map the actions to their new mutex group
2344
- for (const action of group._group_actions) {
2345
- group_map.set(action, mutex_group)
2346
- }
2347
- }
2348
-
2349
- // add all actions to this container or their group
2350
- for (const action of container._actions) {
2351
- const action_group = group_map.get(action) || this
2352
- action_group._add_action(action)
2353
- }
2354
- }
2355
-
2356
- _get_positional_kwargs () {
2357
- const [
2358
- dest,
2359
- kwargs
2360
- ] = _parse_opts(arguments, {
2361
- dest: no_default,
2362
- '**kwargs': no_default
2363
- })
2364
-
2365
- // make sure required is not specified
2366
- if ('required' in kwargs) {
2367
- const msg = "'required' is an invalid argument for positionals"
2368
- throw new TypeError(msg)
2369
- }
2370
-
2371
- // mark positional arguments as required if at least one is
2372
- // always required
2373
- const nargs = kwargs.nargs
2374
- if (nargs === 0) {
2375
- throw new TypeError('nargs for positionals must be != 0')
2376
- }
2377
- if (![OPTIONAL, ZERO_OR_MORE, REMAINDER, SUPPRESS].includes(nargs)) {
2378
- kwargs.required = true
2379
- }
2380
-
2381
- // return the keyword arguments with no option strings
2382
- return Object.assign(kwargs, { dest, option_strings: [] })
2383
- }
2384
-
2385
- _get_optional_kwargs () {
2386
- const [
2387
- args,
2388
- kwargs
2389
- ] = _parse_opts(arguments, {
2390
- '*args': no_default,
2391
- '**kwargs': no_default
2392
- })
2393
-
2394
- // determine short and long option strings
2395
- const option_strings = []
2396
- const long_option_strings = []
2397
- let option_string
2398
- for (option_string of args) {
2399
- // error on strings that don't start with an appropriate prefix
2400
- if (!this.prefix_chars.includes(option_string[0])) {
2401
- const args = {option: option_string,
2402
- prefix_chars: this.prefix_chars}
2403
- const msg = 'invalid option string %(option)r: ' +
2404
- 'must start with a character %(prefix_chars)r'
2405
- throw new TypeError(sub(msg, args))
2406
- }
2407
-
2408
- // strings starting with two prefix characters are long options
2409
- option_strings.push(option_string)
2410
- if (option_string.length > 1 && this.prefix_chars.includes(option_string[1])) {
2411
- long_option_strings.push(option_string)
2412
- }
2413
- }
2414
-
2415
- // infer destination, '--foo-bar' -> 'foo_bar' and '-x' -> 'x'
2416
- let dest = kwargs.dest
2417
- delete kwargs.dest
2418
- if (dest === undefined) {
2419
- let dest_option_string
2420
- if (long_option_strings.length) {
2421
- dest_option_string = long_option_strings[0]
2422
- } else {
2423
- dest_option_string = option_strings[0]
2424
- }
2425
- dest = _string_lstrip(dest_option_string, this.prefix_chars)
2426
- if (!dest) {
2427
- const msg = 'dest= is required for options like %r'
2428
- throw new TypeError(sub(msg, option_string))
2429
- }
2430
- dest = dest.replace(/-/g, '_')
2431
- }
2432
-
2433
- // return the updated keyword arguments
2434
- return Object.assign(kwargs, { dest, option_strings })
2435
- }
2436
-
2437
- _pop_action_class (kwargs, default_value = undefined) {
2438
- const action = getattr(kwargs, 'action', default_value)
2439
- delete kwargs.action
2440
- return this._registry_get('action', action, action)
2441
- }
2442
-
2443
- _get_handler () {
2444
- // determine function from conflict handler string
2445
- const handler_func_name = sub('_handle_conflict_%s', this.conflict_handler)
2446
- if (typeof this[handler_func_name] === 'function') {
2447
- return this[handler_func_name]
2448
- } else {
2449
- const msg = 'invalid conflict_resolution value: %r'
2450
- throw new TypeError(sub(msg, this.conflict_handler))
2451
- }
2452
- }
2453
-
2454
- _check_conflict (action) {
2455
-
2456
- // find all options that conflict with this option
2457
- const confl_optionals = []
2458
- for (const option_string of action.option_strings) {
2459
- if (hasattr(this._option_string_actions, option_string)) {
2460
- const confl_optional = this._option_string_actions[option_string]
2461
- confl_optionals.push([option_string, confl_optional])
2462
- }
2463
- }
2464
-
2465
- // resolve any conflicts
2466
- if (confl_optionals.length) {
2467
- const conflict_handler = this._get_handler()
2468
- conflict_handler.call(this, action, confl_optionals)
2469
- }
2470
- }
2471
-
2472
- _handle_conflict_error (action, conflicting_actions) {
2473
- const message = conflicting_actions.length === 1 ?
2474
- 'conflicting option string: %s' :
2475
- 'conflicting option strings: %s'
2476
- const conflict_string = conflicting_actions.map(([option_string]) => option_string).join(', ')
2477
- throw new ArgumentError(action, sub(message, conflict_string))
2478
- }
2479
-
2480
- _handle_conflict_resolve (action, conflicting_actions) {
2481
-
2482
- // remove all conflicting options
2483
- for (const [option_string, action] of conflicting_actions) {
2484
-
2485
- // remove the conflicting option
2486
- _array_remove(action.option_strings, option_string)
2487
- delete this._option_string_actions[option_string]
2488
-
2489
- // if the option now has no option string, remove it from the
2490
- // container holding it
2491
- if (!action.option_strings.length) {
2492
- action.container._remove_action(action)
2493
- }
2494
- }
2495
- }
2496
-
2497
- _check_help (action) {
2498
- if (action.help && '_get_validation_formatter' in this) {
2499
- const formatter = this._get_validation_formatter()
2500
- try {
2501
- formatter._expand_help(action)
2502
- } catch (err) {
2503
- if (err instanceof TypeError) {
2504
- throw new TypeError('badly formed help string', { cause: err })
2505
- }
2506
- throw err
2507
- }
2508
- }
2509
- }
2510
- })
2511
-
2512
-
2513
- const _ArgumentGroup = _callable(class _ArgumentGroup extends _ActionsContainer {
2514
-
2515
- constructor () {
2516
- const [
2517
- container,
2518
- title,
2519
- description,
2520
- kwargs
2521
- ] = _parse_opts(arguments, {
2522
- container: no_default,
2523
- title: undefined,
2524
- description: undefined,
2525
- '**kwargs': no_default
2526
- })
2527
-
2528
- if ('prefix_chars' in kwargs) {
2529
- const depr_msg =
2530
- "The use of the undocumented 'prefix_chars' parameter in " +
2531
- 'ArgumentParser.add_argument_group() is deprecated.'
2532
- process.emitWarning(depr_msg, 'DeprecationWarning')
2533
- }
2534
-
2535
- // add any missing keyword arguments by checking the container
2536
- setdefault(kwargs, 'conflict_handler', container.conflict_handler)
2537
- setdefault(kwargs, 'prefix_chars', container.prefix_chars)
2538
- setdefault(kwargs, 'argument_default', container.argument_default)
2539
- super(Object.assign({ description }, kwargs))
2540
-
2541
- // group attributes
2542
- this.title = title
2543
- this._group_actions = []
2544
-
2545
- // share most attributes with the container
2546
- this._registries = container._registries
2547
- this._actions = container._actions
2548
- this._option_string_actions = container._option_string_actions
2549
- this._defaults = container._defaults
2550
- this._has_negative_number_optionals =
2551
- container._has_negative_number_optionals
2552
- this._mutually_exclusive_groups = container._mutually_exclusive_groups
2553
- }
2554
-
2555
- _add_action (action) {
2556
- action = super._add_action(action)
2557
- this._group_actions.push(action)
2558
- return action
2559
- }
2560
-
2561
- _remove_action (action) {
2562
- super._remove_action(action)
2563
- _array_remove(this._group_actions, action)
2564
- }
2565
-
2566
- add_argument_group () {
2567
- throw new TypeError('argument groups cannot be nested')
2568
- }
2569
- })
2570
-
2571
-
2572
- const _MutuallyExclusiveGroup = _callable(class _MutuallyExclusiveGroup extends _ArgumentGroup {
2573
-
2574
- constructor () {
2575
- const [
2576
- container,
2577
- required
2578
- ] = _parse_opts(arguments, {
2579
- container: no_default,
2580
- required: false
2581
- })
2582
-
2583
- super(container)
2584
- this.required = required
2585
- this._container = container
2586
- }
2587
-
2588
- _add_action (action) {
2589
- if (action.required) {
2590
- const msg = 'mutually exclusive arguments must be optional'
2591
- throw new TypeError(msg)
2592
- }
2593
- action = this._container._add_action(action)
2594
- this._group_actions.push(action)
2595
- return action
2596
- }
2597
-
2598
- _remove_action (action) {
2599
- this._container._remove_action(action)
2600
- _array_remove(this._group_actions, action)
2601
- }
2602
-
2603
- add_mutually_exclusive_group () {
2604
- throw new TypeError('mutually exclusive groups cannot be nested')
2605
- }
2606
- })
2607
-
2608
-
2609
- const ArgumentParser = _callable(class ArgumentParser extends _AttributeHolder(_ActionsContainer) {
2610
- /*
2611
- * Object for parsing command line strings into Python objects.
2612
- *
2613
- * Keyword Arguments:
2614
- * - prog -- The name of the program (default: sys.argv[0])
2615
- * - usage -- A usage message (default: auto-generated from arguments)
2616
- * - description -- A description of what the program does
2617
- * - epilog -- Text following the argument descriptions
2618
- * - parents -- Parsers whose arguments should be copied into this one
2619
- * - formatter_class -- HelpFormatter class for printing help messages
2620
- * - prefix_chars -- Characters that prefix optional arguments
2621
- * - fromfile_prefix_chars -- Characters that prefix files containing
2622
- * additional arguments
2623
- * - argument_default -- The default value for all arguments
2624
- * - conflict_handler -- String indicating how to handle conflicts
2625
- * - add_help -- Add a -h/-help option
2626
- * - allow_abbrev -- Allow long options to be abbreviated unambiguously
2627
- * - exit_on_error -- Determines whether or not ArgumentParser exits with
2628
- * error info when an error occurs
2629
- * - suggest_on_error - Enables suggestions for mistyped argument choices
2630
- * and subparser names. (default: false)
2631
- * - color - Allow color output in help messages (default: true)
2632
- */
2633
-
2634
- constructor () {
2635
- let [
2636
- prog,
2637
- usage,
2638
- description,
2639
- epilog,
2640
- parents,
2641
- formatter_class,
2642
- prefix_chars,
2643
- fromfile_prefix_chars,
2644
- argument_default,
2645
- conflict_handler,
2646
- add_help,
2647
- allow_abbrev,
2648
- exit_on_error,
2649
- suggest_on_error,
2650
- color
2651
- ] = _parse_opts(arguments, {
2652
- prog: undefined,
2653
- usage: undefined,
2654
- description: undefined,
2655
- epilog: undefined,
2656
- parents: [],
2657
- formatter_class: HelpFormatter,
2658
- prefix_chars: '-',
2659
- fromfile_prefix_chars: undefined,
2660
- argument_default: undefined,
2661
- conflict_handler: 'error',
2662
- add_help: true,
2663
- allow_abbrev: true,
2664
- exit_on_error: true,
2665
- '*': no_default,
2666
- suggest_on_error: false,
2667
- color: true
2668
- })
2669
-
2670
- super({
2671
- description,
2672
- prefix_chars,
2673
- argument_default,
2674
- conflict_handler
2675
- })
2676
-
2677
- // default setting for prog
2678
- if (prog === undefined) {
2679
- prog = path.basename(get_argv()[0] || '')
2680
- }
2681
-
2682
- this.prog = prog
2683
- this.usage = usage
2684
- this.epilog = epilog
2685
- this.formatter_class = formatter_class
2686
- this.fromfile_prefix_chars = fromfile_prefix_chars
2687
- this.add_help = add_help
2688
- this.allow_abbrev = allow_abbrev
2689
- this.exit_on_error = exit_on_error
2690
- this.suggest_on_error = suggest_on_error
2691
- this.color = color
2692
-
2693
- // Cached formatter for validation (avoids repeated _set_color calls)
2694
- this._cached_formatter = undefined
2695
-
2696
- this._positionals = this.add_argument_group('positional arguments')
2697
- this._optionals = this.add_argument_group('options')
2698
- this._subparsers = undefined
2699
-
2700
- // register types
2701
- function identity (string) {
2702
- return string
2703
- }
2704
- this.register('type', undefined, identity)
2705
- this.register('type', null, identity)
2706
- this.register('type', 'int', function (x) {
2707
- if (typeof x === 'string' && !/^[+-]?\d+(?:_?\d+)*$/.test(x.trim())) {
2708
- throw new TypeError(sub('could not convert string to int: %r', x))
2709
- }
2710
- const result = _string_to_number(x)
2711
- if (!Number.isInteger(result)) {
2712
- throw new TypeError(sub('could not convert string to int: %r', x))
2713
- }
2714
- return result
2715
- })
2716
- this.register('type', 'float', function (x) {
2717
- const result = _string_to_number(x)
2718
- if (isNaN(result)) {
2719
- throw new TypeError(sub('could not convert string to float: %r', x))
2720
- }
2721
- return result
2722
- })
2723
- this.register('type', 'str', String)
2724
-
2725
- // add help argument if necessary
2726
- // (using explicit default to override global argument_default)
2727
- const default_prefix = prefix_chars.includes('-') ? '-' : prefix_chars[0]
2728
- if (this.add_help) {
2729
- this.add_argument(
2730
- default_prefix + 'h',
2731
- default_prefix.repeat(2) + 'help',
2732
- {
2733
- action: 'help',
2734
- default: SUPPRESS,
2735
- help: 'show this help message and exit'
2736
- }
2737
- )
2738
- }
2739
- // add parent arguments and defaults
2740
- for (const parent of parents) {
2741
- if (!(parent instanceof ArgumentParser)) {
2742
- throw new TypeError('parents must be a list of ArgumentParser')
2743
- }
2744
- this._add_container_actions(parent)
2745
- Object.assign(this._defaults, parent._defaults)
2746
- }
2747
- }
2748
-
2749
- // =======================
2750
- // Pretty __repr__ methods
2751
- // =======================
2752
- _get_kwargs () {
2753
- const names = [
2754
- 'prog',
2755
- 'usage',
2756
- 'description',
2757
- 'formatter_class',
2758
- 'conflict_handler',
2759
- 'add_help'
2760
- ]
2761
- return names.map(name => [name, getattr(this, name)])
2762
- }
2763
-
2764
- // ==================================
2765
- // Optional/Positional adding methods
2766
- // ==================================
2767
- add_subparsers () {
2768
- const [
2769
- kwargs
2770
- ] = _parse_opts(arguments, {
2771
- '**kwargs': no_default
2772
- })
2773
-
2774
- if (this._subparsers !== undefined) {
2775
- throw new TypeError('cannot have multiple subparser arguments')
2776
- }
2777
-
2778
- // add the parser class to the arguments if it's not present
2779
- setdefault(kwargs, 'parser_class', this.constructor)
2780
-
2781
- if ('title' in kwargs || 'description' in kwargs) {
2782
- const title = getattr(kwargs, 'title', 'subcommands')
2783
- const description = getattr(kwargs, 'description', undefined)
2784
- delete kwargs.title
2785
- delete kwargs.description
2786
- this._subparsers = this.add_argument_group(title, description)
2787
- } else {
2788
- this._subparsers = this._positionals
2789
- }
2790
-
2791
- // prog defaults to the usage message of this parser, skipping
2792
- // optional arguments and with no "usage:" prefix
2793
- if (kwargs.prog === undefined) {
2794
- // Create formatter without color to avoid storing ANSI codes in prog
2795
- // eslint-disable-next-line new-cap
2796
- const formatter = new this.formatter_class({ prog: this.prog })
2797
- formatter._set_color(false)
2798
- const positionals = this._get_positional_actions()
2799
- const groups = this._mutually_exclusive_groups
2800
- formatter.add_usage(undefined, positionals, groups, '')
2801
- kwargs.prog = formatter.format_help().trim()
2802
- }
2803
-
2804
- // create the parsers action and add it to the positionals list
2805
- const parsers_class = this._pop_action_class(kwargs, 'parsers')
2806
- if (hasattr(kwargs, 'option_strings')) {
2807
- throw new TypeError("add_subparsers() got multiple values for argument 'option_strings'")
2808
- }
2809
- // eslint-disable-next-line new-cap
2810
- const action = new parsers_class(Object.assign({ option_strings: [] }, kwargs))
2811
- action._color = this.color
2812
- this._check_help(action)
2813
- this._subparsers._add_action(action)
2814
-
2815
- // return the created parsers action
2816
- return action
2817
- }
2818
-
2819
- _add_action (action) {
2820
- if (action.option_strings.length) {
2821
- this._optionals._add_action(action)
2822
- } else {
2823
- this._positionals._add_action(action)
2824
- }
2825
- return action
2826
- }
2827
-
2828
- _get_optional_actions () {
2829
- return this._actions.filter(action => action.option_strings.length)
2830
- }
2831
-
2832
- _get_positional_actions () {
2833
- return this._actions.filter(action => !action.option_strings.length)
2834
- }
2835
-
2836
- // =====================================
2837
- // Command line argument parsing methods
2838
- // =====================================
2839
- parse_args (args = undefined, namespace = undefined) {
2840
- let argv
2841
- [args, argv] = this.parse_known_args(args, namespace)
2842
- if (argv && argv.length > 0) {
2843
- const msg = sub('unrecognized arguments: %s', argv.join(' '))
2844
- if (this.exit_on_error) {
2845
- this.error(msg)
2846
- } else {
2847
- throw new ArgumentError(undefined, msg)
2848
- }
2849
- }
2850
- return args
2851
- }
2852
-
2853
- parse_known_args (args = undefined, namespace = undefined) {
2854
- return this._parse_known_args2(args, namespace, false)
2855
- }
2856
-
2857
- _parse_known_args2 (args, namespace, intermixed) {
2858
- if (args === undefined) {
2859
- args = get_argv().slice(1)
2860
- } else {
2861
- args = Array.from(args)
2862
- }
2863
-
2864
- // default Namespace built from parser defaults
2865
- if (namespace === undefined) {
2866
- namespace = new Namespace()
2867
- }
2868
-
2869
- // add any action defaults that aren't present
2870
- for (const action of this._actions) {
2871
- if (action.dest !== SUPPRESS) {
2872
- if (!hasattr(namespace, action.dest)) {
2873
- if (action.default !== SUPPRESS) {
2874
- setattr(namespace, action.dest, action.default)
2875
- }
2876
- }
2877
- }
2878
- }
2879
-
2880
- // add any parser defaults that aren't present
2881
- for (const dest of Object.keys(this._defaults)) {
2882
- if (!hasattr(namespace, dest)) {
2883
- setattr(namespace, dest, this._defaults[dest])
2884
- }
2885
- }
2886
-
2887
- // parse the arguments and exit if there are any errors
2888
- if (this.exit_on_error) {
2889
- try {
2890
- [namespace, args] = this._parse_known_args(args, namespace, intermixed)
2891
- } catch (err) {
2892
- if (err instanceof ArgumentError) {
2893
- this.error(err.message)
2894
- } else {
2895
- throw err
2896
- }
2897
- }
2898
- } else {
2899
- [namespace, args] = this._parse_known_args(args, namespace, intermixed)
2900
- }
2901
-
2902
- if (hasattr(namespace, _UNRECOGNIZED_ARGS_ATTR)) {
2903
- args = args.concat(getattr(namespace, _UNRECOGNIZED_ARGS_ATTR))
2904
- delattr(namespace, _UNRECOGNIZED_ARGS_ATTR)
2905
- }
2906
-
2907
- return [namespace, args]
2908
- }
2909
-
2910
- _parse_known_args (arg_strings, namespace, intermixed) {
2911
- // replace arg strings that are file references
2912
- if (this.fromfile_prefix_chars !== undefined) {
2913
- arg_strings = this._read_args_from_files(arg_strings)
2914
- }
2915
-
2916
- // map all mutually exclusive arguments to the other arguments
2917
- // they can't occur with
2918
- const action_conflicts = new Map()
2919
- for (const mutex_group of this._mutually_exclusive_groups) {
2920
- const group_actions = mutex_group._group_actions
2921
- for (const [i, mutex_action] of Object.entries(mutex_group._group_actions)) {
2922
- let conflicts = action_conflicts.get(mutex_action) || []
2923
- conflicts = conflicts.concat(group_actions.slice(0, +i))
2924
- conflicts = conflicts.concat(group_actions.slice(+i + 1))
2925
- action_conflicts.set(mutex_action, conflicts)
2926
- }
2927
- }
2928
-
2929
- // find all option indices, and determine the arg_string_pattern
2930
- // which has an 'O' if there is an option at an index,
2931
- // an 'A' if there is an argument, or a '-' if there is a '--'
2932
- const option_string_indices = {}
2933
- const arg_string_pattern_parts = []
2934
- const arg_strings_iter = Object.entries(arg_strings)[Symbol.iterator]()
2935
- for (let [i, arg_string] of arg_strings_iter) {
2936
-
2937
- // all args after -- are non-options
2938
- if (arg_string === '--') {
2939
- arg_string_pattern_parts.push('-')
2940
- for ([i, arg_string] of arg_strings_iter) {
2941
- arg_string_pattern_parts.push('A')
2942
- }
2943
-
2944
- // otherwise, add the arg to the arg strings
2945
- // and note the index if it was an option
2946
- } else {
2947
- const option_tuples = this._parse_optional(arg_string)
2948
- let pattern
2949
- if (option_tuples === undefined) {
2950
- pattern = 'A'
2951
- } else {
2952
- option_string_indices[i] = option_tuples
2953
- pattern = 'O'
2954
- }
2955
- arg_string_pattern_parts.push(pattern)
2956
- }
2957
- }
2958
-
2959
- // join the pieces together to form the pattern
2960
- let arg_strings_pattern = arg_string_pattern_parts.join('')
2961
-
2962
- // converts arg strings to the appropriate and then takes the action
2963
- const seen_actions = new Set()
2964
- const seen_non_default_actions = new Set()
2965
- const warned = new Set()
2966
- let extras
2967
-
2968
- const take_action = (action, argument_strings, option_string = undefined) => {
2969
- seen_actions.add(action)
2970
- const argument_values = this._get_values(action, argument_strings)
2971
-
2972
- // error if this argument is not allowed with other previously
2973
- // seen arguments
2974
- if (action.option_strings.length || argument_strings.length) {
2975
- seen_non_default_actions.add(action)
2976
- for (const conflict_action of action_conflicts.get(action) || []) {
2977
- if (seen_non_default_actions.has(conflict_action)) {
2978
- const msg = 'not allowed with argument %s'
2979
- const action_name = _get_action_name(conflict_action)
2980
- throw new ArgumentError(action, sub(msg, action_name))
2981
- }
2982
- }
2983
- }
2984
-
2985
- // take the action if we didn't receive a SUPPRESS value
2986
- // (e.g. from a default)
2987
- if (argument_values !== SUPPRESS) {
2988
- action(this, namespace, argument_values, option_string)
2989
- }
2990
- }
2991
-
2992
- // function to convert arg_strings into an optional action
2993
- const consume_optional = start_index => {
2994
-
2995
- // get the optional identified at this index
2996
- const option_tuples = option_string_indices[start_index]
2997
- if (option_tuples.length > 1) {
2998
- const options = option_tuples.map(([, option_string]) => option_string).join(', ')
2999
- const args = {option: arg_strings[start_index], matches: options}
3000
- const msg = 'ambiguous option: %(option)s could match %(matches)s'
3001
- throw new ArgumentError(undefined, sub(msg, args))
3002
- }
3003
- let [action, option_string, sep, explicit_arg] = option_tuples[0]
3004
-
3005
- // identify additional optionals in the same arg string
3006
- // (e.g. -xyz is the same as -x -y -z if no args are required)
3007
- const action_tuples = []
3008
- let stop
3009
- for (;;) {
3010
-
3011
- // if we found no optional action, skip it
3012
- if (action === undefined) {
3013
- extras.push(arg_strings[start_index])
3014
- extras_pattern.push('O')
3015
- return start_index + 1
3016
- }
3017
-
3018
- // if there is an explicit argument, try to match the
3019
- // optional's string arguments to only this
3020
- if (explicit_arg !== undefined) {
3021
- const arg_count = this._match_argument(action, 'A')
3022
-
3023
- // if the action is a single-dash option and takes no
3024
- // arguments, try to parse more single-dash options out
3025
- // of the tail of the option string
3026
- const chars = this.prefix_chars
3027
- if (arg_count === 0 &&
3028
- !chars.includes(option_string[1]) &&
3029
- explicit_arg !== '') {
3030
- if (sep || chars.includes(explicit_arg[0])) {
3031
- const msg = 'ignored explicit argument %r'
3032
- throw new ArgumentError(action, sub(msg, explicit_arg))
3033
- }
3034
- action_tuples.push([action, [], option_string])
3035
- const char = option_string[0]
3036
- option_string = char + explicit_arg[0]
3037
- const optionals_map = this._option_string_actions
3038
- if (hasattr(optionals_map, option_string)) {
3039
- action = optionals_map[option_string]
3040
- explicit_arg = explicit_arg.slice(1)
3041
- if (!explicit_arg) {
3042
- sep = explicit_arg = undefined
3043
- } else if (explicit_arg[0] === '=') {
3044
- sep = '='
3045
- explicit_arg = explicit_arg.slice(1)
3046
- } else {
3047
- sep = ''
3048
- }
3049
- } else {
3050
- extras.push(char + explicit_arg)
3051
- extras_pattern.push('O')
3052
- stop = start_index + 1
3053
- break
3054
- }
3055
-
3056
- // if the action expect exactly one argument, we've
3057
- // successfully matched the option; exit the loop
3058
- } else if (arg_count === 1) {
3059
- stop = start_index + 1
3060
- const args = [explicit_arg]
3061
- action_tuples.push([action, args, option_string])
3062
- break
3063
-
3064
- // error if a double-dash option did not use the
3065
- // explicit argument
3066
- } else {
3067
- const msg = 'ignored explicit argument %r'
3068
- throw new ArgumentError(action, sub(msg, explicit_arg))
3069
- }
3070
-
3071
- // if there is no explicit argument, try to match the
3072
- // optional's string arguments with the following strings
3073
- // if successful, exit the loop
3074
- } else {
3075
- const start = start_index + 1
3076
- const selected_patterns = arg_strings_pattern.slice(start)
3077
- const arg_count = this._match_argument(action, selected_patterns)
3078
- stop = start + arg_count
3079
- const args = arg_strings.slice(start, stop)
3080
- action_tuples.push([action, args, option_string])
3081
- break
3082
- }
3083
- }
3084
-
3085
- // add the Optional to the list and return the index at which
3086
- // the Optional's string args stopped
3087
- assert(action_tuples.length)
3088
- for (const [action, args, option_string] of action_tuples) {
3089
- if (action.deprecated && !warned.has(option_string)) {
3090
- this._warning(sub("option '%(option)s' is deprecated", {
3091
- option: option_string
3092
- }))
3093
- warned.add(option_string)
3094
- }
3095
- take_action(action, args, option_string)
3096
- }
3097
- return stop
3098
- }
3099
-
3100
- // the list of Positionals left to be parsed; this is modified
3101
- // by consume_positionals()
3102
- let positionals = this._get_positional_actions()
3103
-
3104
- // function to convert arg_strings into positional actions
3105
- const consume_positionals = start_index => {
3106
- // match as many Positionals as possible
3107
- const selected_pattern = arg_strings_pattern.slice(start_index)
3108
- const arg_counts = this._match_arguments_partial(positionals, selected_pattern)
3109
-
3110
- // slice off the appropriate arg strings for each Positional
3111
- // and add the Positional and its args to the list
3112
- for (let i = 0; i < positionals.length && i < arg_counts.length; i++) {
3113
- const action = positionals[i]
3114
- const arg_count = arg_counts[i]
3115
- const args = arg_strings.slice(start_index, start_index + arg_count)
3116
- // Strip out the first '--' if it is not in REMAINDER arg.
3117
- if (action.nargs === PARSER) {
3118
- if (arg_strings_pattern[start_index] === '-') {
3119
- assert(args[0] === '--')
3120
- _array_remove(args, '--')
3121
- }
3122
- } else if (action.nargs !== REMAINDER) {
3123
- if (arg_strings_pattern.slice(start_index, start_index + arg_count).includes('-')) {
3124
- _array_remove(args, '--')
3125
- }
3126
- }
3127
- start_index += arg_count
3128
- if (args.length && action.deprecated && !warned.has(action.dest)) {
3129
- this._warning(sub("argument '%(argument_name)s' is deprecated", {
3130
- argument_name: action.dest
3131
- }))
3132
- warned.add(action.dest)
3133
- }
3134
- take_action(action, args)
3135
- }
3136
-
3137
- // slice off the Positionals that we just parsed and return the
3138
- // index at which the Positionals' string args stopped
3139
- positionals = positionals.slice(arg_counts.length)
3140
- return start_index
3141
- }
3142
-
3143
- // consume Positionals and Optionals alternately, until we have
3144
- // passed the last option string
3145
- extras = []
3146
- let extras_pattern = []
3147
- let start_index = 0
3148
- const max_option_string_index = Math.max(-1, ...Object.keys(option_string_indices).map(Number))
3149
- while (start_index <= max_option_string_index) {
3150
-
3151
- // consume any Positionals preceding the next option
3152
- let next_option_string_index = start_index
3153
- while (next_option_string_index <= max_option_string_index) {
3154
- if (next_option_string_index in option_string_indices) {
3155
- break
3156
- }
3157
- next_option_string_index += 1
3158
- }
3159
- if (!intermixed && start_index !== next_option_string_index) {
3160
- const positionals_end_index = consume_positionals(start_index)
3161
-
3162
- // only try to parse the next optional if we didn't consume
3163
- // the option string during the positionals parsing
3164
- if (positionals_end_index > start_index) {
3165
- start_index = positionals_end_index
3166
- continue
3167
- } else {
3168
- start_index = positionals_end_index
3169
- }
3170
- }
3171
-
3172
- // if we consumed all the positionals we could and we're not
3173
- // at the index of an option string, there were extra arguments
3174
- if (!(start_index in option_string_indices)) {
3175
- const strings = arg_strings.slice(start_index, next_option_string_index)
3176
- extras = extras.concat(strings)
3177
- extras_pattern = extras_pattern.concat(
3178
- arg_strings_pattern.slice(start_index, next_option_string_index).split(''))
3179
- start_index = next_option_string_index
3180
- }
3181
-
3182
- // consume the next optional and any arguments for it
3183
- start_index = consume_optional(start_index)
3184
- }
3185
-
3186
- if (!intermixed) {
3187
- // consume any positionals following the last Optional
3188
- const stop_index = consume_positionals(start_index)
3189
-
3190
- // if we didn't consume all the argument strings, there were extras
3191
- extras = extras.concat(arg_strings.slice(stop_index))
3192
- } else {
3193
- extras = extras.concat(arg_strings.slice(start_index))
3194
- extras_pattern = extras_pattern.concat(
3195
- arg_strings_pattern.slice(start_index).split(''))
3196
- extras_pattern = extras_pattern.join('')
3197
- assert(extras_pattern.length === extras.length)
3198
- // consume all positionals
3199
- arg_strings = extras.filter((string, i) => extras_pattern[i] !== 'O')
3200
- arg_strings_pattern = extras_pattern.replace(/O/g, '')
3201
- let stop_index = consume_positionals(0)
3202
- // leave unknown optionals and non-consumed positionals in extras
3203
- for (let i = 0; i < extras_pattern.length; i++) {
3204
- if (!stop_index) break
3205
- if (extras_pattern[i] !== 'O') {
3206
- stop_index -= 1
3207
- extras[i] = undefined
3208
- }
3209
- }
3210
- extras = extras.filter(string => string !== undefined)
3211
- }
3212
-
3213
- // make sure all required actions were present and also convert
3214
- // action defaults which were not given as arguments
3215
- const required_actions = []
3216
- for (const action of this._actions) {
3217
- if (!seen_actions.has(action)) {
3218
- if (action.required) {
3219
- required_actions.push(_get_action_name(action))
3220
- } else {
3221
- // Convert action default now instead of doing it before
3222
- // parsing arguments to avoid calling convert functions
3223
- // twice (which may fail) if the argument was given, but
3224
- // only if it was defined already in the namespace
3225
- if (action.default !== undefined &&
3226
- typeof action.default === 'string' &&
3227
- hasattr(namespace, action.dest) &&
3228
- action.default === getattr(namespace, action.dest)) {
3229
- setattr(namespace, action.dest,
3230
- this._get_value(action, action.default))
3231
- }
3232
- }
3233
- }
3234
- }
3235
-
3236
- if (required_actions.length) {
3237
- throw new ArgumentError(undefined,
3238
- sub('the following arguments are required: %s', required_actions.join(', ')))
3239
- }
3240
-
3241
- // make sure all required groups had one option present
3242
- for (const group of this._mutually_exclusive_groups) {
3243
- if (group.required) {
3244
- let no_actions_used = true
3245
- for (const action of group._group_actions) {
3246
- if (seen_non_default_actions.has(action)) {
3247
- no_actions_used = false
3248
- break
3249
- }
3250
- }
3251
-
3252
- // if no actions were used, report the error
3253
- if (no_actions_used) {
3254
- const names = group._group_actions
3255
- .filter(action => action.help !== SUPPRESS)
3256
- .map(action => _get_action_name(action))
3257
- const msg = 'one of the arguments %s is required'
3258
- throw new ArgumentError(undefined, sub(msg, names.join(' ')))
3259
- }
3260
- }
3261
- }
3262
-
3263
- // return the updated namespace and the extra arguments
3264
- return [namespace, extras]
3265
- }
3266
-
3267
- _read_args_from_files (arg_strings) {
3268
- // expand arguments referencing files
3269
- let new_arg_strings = []
3270
- for (const arg_string of arg_strings) {
3271
-
3272
- // for regular arguments, just add them back into the list
3273
- if (!arg_string || !this.fromfile_prefix_chars.includes(arg_string[0])) {
3274
- new_arg_strings.push(arg_string)
3275
-
3276
- // replace arguments referencing files with the file content
3277
- } else {
3278
- let args_file
3279
- try {
3280
- args_file = fs.readFileSync(arg_string.slice(1), 'utf8')
3281
- } catch (err) {
3282
- throw new ArgumentError(undefined, err.message)
3283
- }
3284
- let arg_strings = []
3285
- for (const arg_line of splitlines(args_file)) {
3286
- for (const arg of this.convert_arg_line_to_args(arg_line)) {
3287
- arg_strings.push(arg)
3288
- }
3289
- }
3290
- arg_strings = this._read_args_from_files(arg_strings)
3291
- new_arg_strings = new_arg_strings.concat(arg_strings)
3292
- }
3293
- }
3294
-
3295
- // return the modified argument list
3296
- return new_arg_strings
3297
- }
3298
-
3299
- convert_arg_line_to_args (arg_line) {
3300
- return [arg_line]
3301
- }
3302
-
3303
- _match_argument (action, arg_strings_pattern) {
3304
- // match the pattern for this action to the arg strings
3305
- const nargs_pattern = this._get_nargs_pattern(action)
3306
- const match = arg_strings_pattern.match(new RegExp('^' + nargs_pattern))
3307
-
3308
- // raise an exception if we weren't able to find a match
3309
- if (match === null) {
3310
- const nargs_errors = {
3311
- undefined: 'expected one argument',
3312
- [OPTIONAL]: 'expected at most one argument',
3313
- [ONE_OR_MORE]: 'expected at least one argument'
3314
- }
3315
- let msg = nargs_errors[action.nargs]
3316
- if (msg === undefined) {
3317
- msg = sub(action.nargs === 1 ? 'expected %s argument' : 'expected %s arguments', action.nargs)
3318
- }
3319
- throw new ArgumentError(action, msg)
3320
- }
3321
-
3322
- // return the number of arguments matched
3323
- return match[1].length
3324
- }
3325
-
3326
- _match_arguments_partial (actions, arg_strings_pattern) {
3327
- // progressively shorten the actions list by slicing off the
3328
- // final actions until we find a match
3329
- for (const i of range(actions.length, 0, -1)) {
3330
- const actions_slice = actions.slice(0, i)
3331
- const pattern = actions_slice.map(action => this._get_nargs_pattern(action)).join('')
3332
- const match = arg_strings_pattern.match(new RegExp('^' + pattern))
3333
- if (match !== null) {
3334
- const result = match.slice(1).map(string => string.length)
3335
- if (match[0].length < arg_strings_pattern.length &&
3336
- arg_strings_pattern[match[0].length] === 'O') {
3337
- while (result.length && !result[result.length - 1]) {
3338
- result.pop()
3339
- }
3340
- }
3341
- return result
3342
- }
3343
- }
3344
- return []
3345
- }
3346
-
3347
- _parse_optional (arg_string) {
3348
- // if it's an empty string, it was meant to be a positional
3349
- if (!arg_string) {
3350
- return undefined
3351
- }
3352
-
3353
- // if it doesn't start with a prefix, it was meant to be positional
3354
- if (!this.prefix_chars.includes(arg_string[0])) {
3355
- return undefined
3356
- }
3357
-
3358
- // if the option string is present in the parser, return the action
3359
- if (arg_string in this._option_string_actions) {
3360
- const action = this._option_string_actions[arg_string]
3361
- return [[action, arg_string, undefined, undefined]]
3362
- }
3363
-
3364
- // if it's just a single character, it was meant to be positional
3365
- if (arg_string.length === 1) {
3366
- return undefined
3367
- }
3368
-
3369
- // if the option string before the "=" is present, return the action
3370
- if (arg_string.includes('=')) {
3371
- const [option_string, explicit_arg] = _string_split(arg_string, '=', 1)
3372
- if (option_string in this._option_string_actions) {
3373
- const action = this._option_string_actions[option_string]
3374
- return [[action, option_string, '=', explicit_arg]]
3375
- }
3376
- }
3377
-
3378
- // search through all possible prefixes of the option string
3379
- // and all actions in the parser for possible interpretations
3380
- const option_tuples = this._get_option_tuples(arg_string)
3381
-
3382
- // if at least one action matched, return the options
3383
- if (option_tuples.length) {
3384
- return option_tuples
3385
- }
3386
-
3387
- // if it was not found as an option, but it looks like a negative
3388
- // number, it was meant to be positional
3389
- // unless there are negative-number-like options
3390
- if (this._negative_number_matcher.test(arg_string)) {
3391
- if (!this._has_negative_number_optionals.length) {
3392
- return undefined
3393
- }
3394
- }
3395
-
3396
- // if it contains a space, it was meant to be a positional
3397
- if (arg_string.includes(' ')) {
3398
- return undefined
3399
- }
3400
-
3401
- // it was meant to be an optional but there is no such option
3402
- // in this parser (though it might be a valid option in a subparser)
3403
- return [[undefined, arg_string, undefined, undefined]]
3404
- }
3405
-
3406
- _get_option_tuples (option_string) {
3407
- const result = []
3408
-
3409
- // option strings starting with two prefix characters are only
3410
- // split at the '='
3411
- const chars = this.prefix_chars
3412
- if (chars.includes(option_string[0]) && chars.includes(option_string[1])) {
3413
- if (this.allow_abbrev) {
3414
- let option_prefix, sep, explicit_arg
3415
- if (option_string.includes('=')) {
3416
- [option_prefix, explicit_arg] = _string_split(option_string, '=', 1)
3417
- sep = '='
3418
- } else {
3419
- option_prefix = option_string
3420
- sep = undefined
3421
- explicit_arg = undefined
3422
- }
3423
- for (const option_string of Object.keys(this._option_string_actions)) {
3424
- if (option_string.startsWith(option_prefix)) {
3425
- const action = this._option_string_actions[option_string]
3426
- const tup = [action, option_string, sep, explicit_arg]
3427
- result.push(tup)
3428
- }
3429
- }
3430
- }
3431
-
3432
- // single character options can be concatenated with their arguments
3433
- // but multiple character options always have to have their argument
3434
- // separate
3435
- } else if (chars.includes(option_string[0]) && !chars.includes(option_string[1])) {
3436
- let option_prefix, sep, explicit_arg
3437
- if (option_string.includes('=')) {
3438
- [option_prefix, explicit_arg] = _string_split(option_string, '=', 1)
3439
- sep = '='
3440
- } else {
3441
- option_prefix = option_string
3442
- sep = explicit_arg = undefined
3443
- }
3444
- const short_option_prefix = option_string.slice(0, 2)
3445
- const short_explicit_arg = option_string.slice(2)
3446
-
3447
- for (const option_string of Object.keys(this._option_string_actions)) {
3448
- if (option_string === short_option_prefix) {
3449
- const action = this._option_string_actions[option_string]
3450
- const tup = [action, option_string, '', short_explicit_arg]
3451
- result.push(tup)
3452
- } else if (this.allow_abbrev && option_string.startsWith(option_prefix)) {
3453
- const action = this._option_string_actions[option_string]
3454
- const tup = [action, option_string, sep, explicit_arg]
3455
- result.push(tup)
3456
- }
3457
- }
3458
-
3459
- // shouldn't ever get here
3460
- } else {
3461
- throw new ArgumentError(undefined, sub('unexpected option string: %s', option_string))
3462
- }
3463
-
3464
- // return the collected option tuples
3465
- return result
3466
- }
3467
-
3468
- _get_nargs_pattern (action) {
3469
- // in all examples below, we have to allow for '--' args
3470
- // which are represented as '-' in the pattern
3471
- const nargs = action.nargs
3472
- const option = action.option_strings.length
3473
- let nargs_pattern
3474
-
3475
- // the default (None) is assumed to be a single argument
3476
- if (nargs === undefined) {
3477
- nargs_pattern = option ? '([A])' : '(-*A-*)'
3478
-
3479
- // allow zero or one arguments
3480
- } else if (nargs === OPTIONAL) {
3481
- nargs_pattern = option ? '(A?)' : '(-*A?-*)'
3482
-
3483
- // allow zero or more arguments
3484
- } else if (nargs === ZERO_OR_MORE) {
3485
- nargs_pattern = option ? '(A*)' : '(-*[A-]*)'
3486
-
3487
- // allow one or more arguments
3488
- } else if (nargs === ONE_OR_MORE) {
3489
- nargs_pattern = option ? '(A+)' : '(-*A[A-]*)'
3490
-
3491
- // allow any number of options or arguments
3492
- } else if (nargs === REMAINDER) {
3493
- nargs_pattern = option ? '([AO]*)' : '(.*)'
3494
-
3495
- // allow one argument followed by any number of options or arguments
3496
- } else if (nargs === PARSER) {
3497
- nargs_pattern = option ? '(A[AO]*)' : '(-*A[-AO]*)'
3498
-
3499
- // suppress action, like nargs=0
3500
- } else if (nargs === SUPPRESS) {
3501
- nargs_pattern = option ? '()' : '(-*)'
3502
-
3503
- // all others should be integers
3504
- } else {
3505
- nargs_pattern = option
3506
- ? sub('([AO]{%s})', nargs)
3507
- : sub('((?:-*A){%s}-*)', nargs)
3508
- }
3509
-
3510
- // return the pattern
3511
- return nargs_pattern
3512
- }
3513
-
3514
- // ========================
3515
- // Alt command line argument parsing, allowing free intermix
3516
- // ========================
3517
-
3518
- parse_intermixed_args (args = undefined, namespace = undefined) {
3519
- let argv
3520
- [args, argv] = this.parse_known_intermixed_args(args, namespace)
3521
- if (argv.length) {
3522
- const msg = sub('unrecognized arguments: %s', argv.join(' '))
3523
- if (this.exit_on_error) {
3524
- this.error(msg)
3525
- } else {
3526
- throw new ArgumentError(undefined, msg)
3527
- }
3528
- }
3529
- return args
3530
- }
3531
-
3532
- parse_known_intermixed_args (args = undefined, namespace = undefined) {
3533
- // returns a namespace and list of extras
3534
- //
3535
- // positional can be freely intermixed with optionals. optionals are
3536
- // first parsed with all positional arguments deactivated. The 'extras'
3537
- // are then parsed. If the parser definition is incompatible with the
3538
- // intermixed assumptions (e.g. use of REMAINDER, subparsers) a
3539
- // TypeError is raised.
3540
-
3541
- const positionals = this._get_positional_actions()
3542
- const a = positionals.filter(action => [PARSER, REMAINDER].includes(action.nargs))
3543
- if (a.length) {
3544
- throw new TypeError(sub('parse_intermixed_args: positional arg' +
3545
- ' with nargs=%s', a[0].nargs))
3546
- }
3547
-
3548
- return this._parse_known_args2(args, namespace, true)
3549
- }
3550
-
3551
- // ========================
3552
- // Value conversion methods
3553
- // ========================
3554
- _get_values (action, arg_strings) {
3555
- let value
3556
- // optional argument produces a default when not present
3557
- if (!arg_strings.length && action.nargs === OPTIONAL) {
3558
- if (action.option_strings.length) {
3559
- value = action.const
3560
- } else {
3561
- value = action.default
3562
- }
3563
- if (typeof value === 'string' && value !== SUPPRESS) {
3564
- value = this._get_value(action, value)
3565
- }
3566
-
3567
- // when nargs='*' on a positional, if there were no command-line
3568
- // args, use the default if it is anything other than None
3569
- } else if (!arg_strings.length && action.nargs === ZERO_OR_MORE &&
3570
- !action.option_strings.length) {
3571
- if (action.default !== undefined) {
3572
- value = action.default
3573
- } else {
3574
- value = []
3575
- }
3576
-
3577
- // single argument or optional argument produces a single value
3578
- } else if (arg_strings.length === 1 && [undefined, OPTIONAL].includes(action.nargs)) {
3579
- const arg_string = arg_strings[0]
3580
- value = this._get_value(action, arg_string)
3581
- this._check_value(action, value)
3582
-
3583
- // REMAINDER arguments convert all values, checking none
3584
- } else if (action.nargs === REMAINDER) {
3585
- value = arg_strings.map(v => this._get_value(action, v))
3586
-
3587
- // PARSER arguments convert all values, but check only the first
3588
- } else if (action.nargs === PARSER) {
3589
- value = arg_strings.map(v => this._get_value(action, v))
3590
- this._check_value(action, value[0])
3591
-
3592
- // SUPPRESS argument does not put anything in the namespace
3593
- } else if (action.nargs === SUPPRESS) {
3594
- value = SUPPRESS
3595
-
3596
- // all other types of nargs produce a list
3597
- } else {
3598
- value = arg_strings.map(v => this._get_value(action, v))
3599
- for (const v of value) {
3600
- this._check_value(action, v)
3601
- }
3602
- }
3603
-
3604
- // return the converted value
3605
- return value
3606
- }
3607
-
3608
- _get_value (action, arg_string) {
3609
- const type_func = this._registry_get('type', action.type, action.type)
3610
- if (typeof type_func !== 'function') {
3611
- throw new TypeError(sub('%r is not callable', type_func))
3612
- }
3613
-
3614
- // convert the value to the appropriate type
3615
- let result
3616
- try {
3617
- try {
3618
- result = type_func(arg_string)
3619
- } catch (err) {
3620
- // Dear TC39, why would you ever consider making es6 classes not callable?
3621
- // We had one universal interface, [[Call]], which worked for anything
3622
- // (with familiar this-instanceof guard for classes). Now we have two.
3623
- if (err instanceof TypeError &&
3624
- /Class constructor .* cannot be invoked without 'new'/.test(err.message)) {
3625
- // eslint-disable-next-line new-cap
3626
- result = new type_func(arg_string)
3627
- } else {
3628
- throw err
3629
- }
3630
- }
3631
-
3632
- } catch (err) {
3633
- // ArgumentTypeErrors indicate errors
3634
- if (err instanceof ArgumentTypeError) {
3635
- const msg = err.message
3636
- throw new ArgumentError(action, msg)
3637
-
3638
- // TypeErrors or ValueErrors also indicate errors
3639
- } else if (err instanceof TypeError) {
3640
- const name = getattr(action.type, 'name', repr(action.type))
3641
- const args = {type: name, value: arg_string}
3642
- const msg = 'invalid %(type)s value: %(value)r'
3643
- throw new ArgumentError(action, sub(msg, args))
3644
- } else {
3645
- throw err
3646
- }
3647
- }
3648
-
3649
- // return the converted value
3650
- return result
3651
- }
3652
-
3653
- _check_value (action, value) {
3654
- // converted value must be one of the choices (if specified)
3655
- if (action.choices === undefined) return
3656
-
3657
- const choices = _choices_to_array(action.choices)
3658
- if (choices.includes(value)) return
3659
-
3660
- const args = {value: String(value),
3661
- choices: choices.map(choice => repr(String(choice))).join(', ')}
3662
- let msg = 'invalid choice: %(value)r (choose from %(choices)s)'
3663
-
3664
- if (this.suggest_on_error && typeof value === 'string') {
3665
- if (choices.every(choice => typeof choice === 'string')) {
3666
- const { get_close_matches } = require('./difflib')
3667
- const suggestions = get_close_matches(value, choices, 1)
3668
- if (suggestions.length) {
3669
- args.closest = suggestions[0]
3670
- msg = 'invalid choice: %(value)r, maybe you meant %(closest)r? ' +
3671
- '(choose from %(choices)s)'
3672
- }
3673
- }
3674
- }
3675
-
3676
- throw new ArgumentError(action, sub(msg, args))
3677
- }
3678
-
3679
- // =======================
3680
- // Help-formatting methods
3681
- // =======================
3682
- format_usage () {
3683
- const formatter = this._get_formatter()
3684
- formatter.add_usage(this.usage, this._actions,
3685
- this._mutually_exclusive_groups)
3686
- return formatter.format_help()
3687
- }
3688
-
3689
- format_help () {
3690
- const formatter = this._get_formatter()
3691
-
3692
- // usage
3693
- formatter.add_usage(this.usage, this._actions,
3694
- this._mutually_exclusive_groups)
3695
-
3696
- // description
3697
- formatter.add_text(this.description)
3698
-
3699
- // positionals, optionals and user-defined groups
3700
- for (const action_group of this._action_groups) {
3701
- formatter.start_section(action_group.title)
3702
- formatter.add_text(action_group.description)
3703
- formatter.add_arguments(action_group._group_actions)
3704
- formatter.end_section()
3705
- }
3706
-
3707
- // epilog
3708
- formatter.add_text(this.epilog)
3709
-
3710
- // determine help from format above
3711
- return formatter.format_help()
3712
- }
3713
-
3714
- _get_formatter () {
3715
- // eslint-disable-next-line new-cap
3716
- const formatter = new this.formatter_class({ prog: this.prog })
3717
- formatter._set_color(this.color)
3718
- return formatter
3719
- }
3720
-
3721
- _get_validation_formatter () {
3722
- // Return cached formatter for read-only validation operations
3723
- // (_expand_help and _format_args). Avoids repeated slow _set_color calls.
3724
- if (this._cached_formatter === undefined) {
3725
- this._cached_formatter = this._get_formatter()
3726
- }
3727
- return this._cached_formatter
3728
- }
3729
-
3730
- // =====================
3731
- // Help-printing methods
3732
- // =====================
3733
- print_usage (file = undefined) {
3734
- if (file === undefined) file = process.stdout
3735
- this._print_message(this.format_usage(), file)
3736
- }
3737
-
3738
- print_help (file = undefined) {
3739
- if (file === undefined) file = process.stdout
3740
- this._print_message(this.format_help(), file)
3741
- }
3742
-
3743
- _print_message (message, file = undefined) {
3744
- if (message) {
3745
- file = file || process.stderr
3746
- if (file && typeof file.write === 'function') {
3747
- file.write(message)
3748
- }
3749
- }
3750
- }
3751
-
3752
- // ===============
3753
- // Exiting methods
3754
- // ===============
3755
- exit (status = 0, message = undefined) {
3756
- if (message) {
3757
- this._print_message(message, process.stderr)
3758
- }
3759
- process.exit(status)
3760
- }
3761
-
3762
- error (message) {
3763
- /*
3764
- * error(message: string)
3765
- *
3766
- * Prints a usage message incorporating the message to stderr and
3767
- * exits.
3768
- *
3769
- * If you override this in a subclass, it should not return -- it
3770
- * should either exit or raise an exception.
3771
- */
3772
-
3773
- this.print_usage(process.stderr)
3774
- const args = {prog: this.prog, message}
3775
- this.exit(2, sub('%(prog)s: error: %(message)s\n', args))
3776
- }
3777
-
3778
- _warning (message) {
3779
- const args = { prog: this.prog, message }
3780
- this._print_message(sub('%(prog)s: warning: %(message)s\n', args), process.stderr)
3781
- }
3782
- })
3783
-
3784
-
3785
- module.exports = {
3786
- ArgumentParser,
3787
- ArgumentError,
3788
- ArgumentTypeError,
3789
- BooleanOptionalAction,
3790
- FileType,
3791
- HelpFormatter,
3792
- ArgumentDefaultsHelpFormatter,
3793
- RawDescriptionHelpFormatter,
3794
- RawTextHelpFormatter,
3795
- MetavarTypeHelpFormatter,
3796
- Namespace,
3797
- Action,
3798
- ONE_OR_MORE,
3799
- OPTIONAL,
3800
- PARSER,
3801
- REMAINDER,
3802
- SUPPRESS,
3803
- ZERO_OR_MORE
3804
- }