@syengup/fridaynext-hermes-channel 0.1.0-beta.3 → 0.1.0-beta.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 (844) hide show
  1. package/README.md +3 -3
  2. package/install-config.js +84 -0
  3. package/install-host.py +95 -0
  4. package/install-runtime.js +167 -35
  5. package/install.js +23 -6
  6. package/package.json +6 -5
  7. package/plugin.bundle +0 -0
  8. package/validation.json +1 -0
  9. package/plugin/README.md +0 -21
  10. package/plugin/__init__.py +0 -3
  11. package/plugin/fridaynext_plugin/__init__.py +0 -71
  12. package/plugin/fridaynext_plugin/adapter.py +0 -1124
  13. package/plugin/fridaynext_plugin/agent_defaults.py +0 -107
  14. package/plugin/fridaynext_plugin/canonical_control.py +0 -509
  15. package/plugin/fridaynext_plugin/compat_v0225.py +0 -910
  16. package/plugin/fridaynext_plugin/control_cli.py +0 -101
  17. package/plugin/fridaynext_plugin/controls.py +0 -296
  18. package/plugin/fridaynext_plugin/delivery_context.py +0 -210
  19. package/plugin/fridaynext_plugin/diagnostics.py +0 -165
  20. package/plugin/fridaynext_plugin/history.py +0 -421
  21. package/plugin/fridaynext_plugin/host.py +0 -317
  22. package/plugin/fridaynext_plugin/initial_settings.py +0 -184
  23. package/plugin/fridaynext_plugin/inline_media.py +0 -58
  24. package/plugin/fridaynext_plugin/media_input.py +0 -139
  25. package/plugin/fridaynext_plugin/media_observations.py +0 -172
  26. package/plugin/fridaynext_plugin/media_output.py +0 -277
  27. package/plugin/fridaynext_plugin/message_speech.py +0 -143
  28. package/plugin/fridaynext_plugin/recovery.py +0 -214
  29. package/plugin/fridaynext_plugin/runtime_port.py +0 -571
  30. package/plugin/fridaynext_plugin/sessions.py +0 -184
  31. package/plugin/fridaynext_plugin/settings.py +0 -695
  32. package/plugin/fridaynext_plugin/settings_control.py +0 -101
  33. package/plugin/fridaynext_plugin/state.py +0 -155
  34. package/plugin/fridaynext_plugin/stream_bridge.py +0 -493
  35. package/plugin/fridaynext_plugin/stream_media.py +0 -59
  36. package/plugin/fridaynext_plugin/stream_projection.py +0 -269
  37. package/plugin/plugin.yaml +0 -18
  38. package/plugin/runtime/dist/host-peer.js +0 -106
  39. package/plugin/runtime/dist/hosted-artifacts.js +0 -189
  40. package/plugin/runtime/dist/hosted-backend.js +0 -211
  41. package/plugin/runtime/dist/hosted-delivery-observations.js +0 -91
  42. package/plugin/runtime/dist/hosted-media.js +0 -327
  43. package/plugin/runtime/dist/hosted-recovery.js +0 -55
  44. package/plugin/runtime/dist/hosted-settings.js +0 -26
  45. package/plugin/runtime/dist/hosted-stream.js +0 -104
  46. package/plugin/runtime/dist/identity.js +0 -55
  47. package/plugin/runtime/dist/kit-contract.json +0 -1
  48. package/plugin/runtime/dist/media-transport.js +0 -168
  49. package/plugin/runtime/dist/oss-upload-worker.js +0 -7
  50. package/plugin/runtime/dist/oss-upload.js +0 -94
  51. package/plugin/runtime/dist/ownership.js +0 -21
  52. package/plugin/runtime/dist/platform-service.js +0 -32
  53. package/plugin/runtime/dist/plugin-control.js +0 -189
  54. package/plugin/runtime/dist/plugin-worker.js +0 -43
  55. package/plugin/runtime/dist/private-files.js +0 -24
  56. package/plugin/runtime/dist/process-lock.js +0 -40
  57. package/plugin/runtime/dist/public-config.js +0 -58
  58. package/plugin/runtime/dist/service-errors.js +0 -11
  59. package/plugin/runtime/dist/service-host.js +0 -251
  60. package/plugin/runtime/dist/speech-routes.js +0 -111
  61. package/plugin/runtime/node_modules/.package-lock.json +0 -436
  62. package/plugin/runtime/node_modules/@noble/hashes/LICENSE +0 -21
  63. package/plugin/runtime/node_modules/@noble/hashes/README.md +0 -521
  64. package/plugin/runtime/node_modules/@noble/hashes/_assert.d.ts +0 -17
  65. package/plugin/runtime/node_modules/@noble/hashes/_assert.d.ts.map +0 -1
  66. package/plugin/runtime/node_modules/@noble/hashes/_assert.js +0 -18
  67. package/plugin/runtime/node_modules/@noble/hashes/_assert.js.map +0 -1
  68. package/plugin/runtime/node_modules/@noble/hashes/_blake.d.ts +0 -14
  69. package/plugin/runtime/node_modules/@noble/hashes/_blake.d.ts.map +0 -1
  70. package/plugin/runtime/node_modules/@noble/hashes/_blake.js +0 -50
  71. package/plugin/runtime/node_modules/@noble/hashes/_blake.js.map +0 -1
  72. package/plugin/runtime/node_modules/@noble/hashes/_md.d.ts +0 -51
  73. package/plugin/runtime/node_modules/@noble/hashes/_md.d.ts.map +0 -1
  74. package/plugin/runtime/node_modules/@noble/hashes/_md.js +0 -162
  75. package/plugin/runtime/node_modules/@noble/hashes/_md.js.map +0 -1
  76. package/plugin/runtime/node_modules/@noble/hashes/_u64.d.ts +0 -55
  77. package/plugin/runtime/node_modules/@noble/hashes/_u64.d.ts.map +0 -1
  78. package/plugin/runtime/node_modules/@noble/hashes/_u64.js +0 -90
  79. package/plugin/runtime/node_modules/@noble/hashes/_u64.js.map +0 -1
  80. package/plugin/runtime/node_modules/@noble/hashes/argon2.d.ts +0 -32
  81. package/plugin/runtime/node_modules/@noble/hashes/argon2.d.ts.map +0 -1
  82. package/plugin/runtime/node_modules/@noble/hashes/argon2.js +0 -401
  83. package/plugin/runtime/node_modules/@noble/hashes/argon2.js.map +0 -1
  84. package/plugin/runtime/node_modules/@noble/hashes/blake1.d.ts +0 -106
  85. package/plugin/runtime/node_modules/@noble/hashes/blake1.d.ts.map +0 -1
  86. package/plugin/runtime/node_modules/@noble/hashes/blake1.js +0 -459
  87. package/plugin/runtime/node_modules/@noble/hashes/blake1.js.map +0 -1
  88. package/plugin/runtime/node_modules/@noble/hashes/blake2.d.ts +0 -116
  89. package/plugin/runtime/node_modules/@noble/hashes/blake2.d.ts.map +0 -1
  90. package/plugin/runtime/node_modules/@noble/hashes/blake2.js +0 -420
  91. package/plugin/runtime/node_modules/@noble/hashes/blake2.js.map +0 -1
  92. package/plugin/runtime/node_modules/@noble/hashes/blake2b.d.ts +0 -11
  93. package/plugin/runtime/node_modules/@noble/hashes/blake2b.d.ts.map +0 -1
  94. package/plugin/runtime/node_modules/@noble/hashes/blake2b.js +0 -14
  95. package/plugin/runtime/node_modules/@noble/hashes/blake2b.js.map +0 -1
  96. package/plugin/runtime/node_modules/@noble/hashes/blake2s.d.ts +0 -20
  97. package/plugin/runtime/node_modules/@noble/hashes/blake2s.d.ts.map +0 -1
  98. package/plugin/runtime/node_modules/@noble/hashes/blake2s.js +0 -24
  99. package/plugin/runtime/node_modules/@noble/hashes/blake2s.js.map +0 -1
  100. package/plugin/runtime/node_modules/@noble/hashes/blake3.d.ts +0 -54
  101. package/plugin/runtime/node_modules/@noble/hashes/blake3.d.ts.map +0 -1
  102. package/plugin/runtime/node_modules/@noble/hashes/blake3.js +0 -255
  103. package/plugin/runtime/node_modules/@noble/hashes/blake3.js.map +0 -1
  104. package/plugin/runtime/node_modules/@noble/hashes/crypto.d.ts +0 -2
  105. package/plugin/runtime/node_modules/@noble/hashes/crypto.d.ts.map +0 -1
  106. package/plugin/runtime/node_modules/@noble/hashes/crypto.js +0 -5
  107. package/plugin/runtime/node_modules/@noble/hashes/crypto.js.map +0 -1
  108. package/plugin/runtime/node_modules/@noble/hashes/cryptoNode.d.ts +0 -2
  109. package/plugin/runtime/node_modules/@noble/hashes/cryptoNode.d.ts.map +0 -1
  110. package/plugin/runtime/node_modules/@noble/hashes/cryptoNode.js +0 -18
  111. package/plugin/runtime/node_modules/@noble/hashes/cryptoNode.js.map +0 -1
  112. package/plugin/runtime/node_modules/@noble/hashes/eskdf.d.ts +0 -47
  113. package/plugin/runtime/node_modules/@noble/hashes/eskdf.d.ts.map +0 -1
  114. package/plugin/runtime/node_modules/@noble/hashes/eskdf.js +0 -166
  115. package/plugin/runtime/node_modules/@noble/hashes/eskdf.js.map +0 -1
  116. package/plugin/runtime/node_modules/@noble/hashes/esm/_assert.d.ts +0 -17
  117. package/plugin/runtime/node_modules/@noble/hashes/esm/_assert.d.ts.map +0 -1
  118. package/plugin/runtime/node_modules/@noble/hashes/esm/_assert.js +0 -15
  119. package/plugin/runtime/node_modules/@noble/hashes/esm/_assert.js.map +0 -1
  120. package/plugin/runtime/node_modules/@noble/hashes/esm/_blake.d.ts +0 -14
  121. package/plugin/runtime/node_modules/@noble/hashes/esm/_blake.d.ts.map +0 -1
  122. package/plugin/runtime/node_modules/@noble/hashes/esm/_blake.js +0 -45
  123. package/plugin/runtime/node_modules/@noble/hashes/esm/_blake.js.map +0 -1
  124. package/plugin/runtime/node_modules/@noble/hashes/esm/_md.d.ts +0 -51
  125. package/plugin/runtime/node_modules/@noble/hashes/esm/_md.d.ts.map +0 -1
  126. package/plugin/runtime/node_modules/@noble/hashes/esm/_md.js +0 -155
  127. package/plugin/runtime/node_modules/@noble/hashes/esm/_md.js.map +0 -1
  128. package/plugin/runtime/node_modules/@noble/hashes/esm/_u64.d.ts +0 -55
  129. package/plugin/runtime/node_modules/@noble/hashes/esm/_u64.d.ts.map +0 -1
  130. package/plugin/runtime/node_modules/@noble/hashes/esm/_u64.js +0 -67
  131. package/plugin/runtime/node_modules/@noble/hashes/esm/_u64.js.map +0 -1
  132. package/plugin/runtime/node_modules/@noble/hashes/esm/argon2.d.ts +0 -32
  133. package/plugin/runtime/node_modules/@noble/hashes/esm/argon2.d.ts.map +0 -1
  134. package/plugin/runtime/node_modules/@noble/hashes/esm/argon2.js +0 -392
  135. package/plugin/runtime/node_modules/@noble/hashes/esm/argon2.js.map +0 -1
  136. package/plugin/runtime/node_modules/@noble/hashes/esm/blake1.d.ts +0 -106
  137. package/plugin/runtime/node_modules/@noble/hashes/esm/blake1.d.ts.map +0 -1
  138. package/plugin/runtime/node_modules/@noble/hashes/esm/blake1.js +0 -452
  139. package/plugin/runtime/node_modules/@noble/hashes/esm/blake1.js.map +0 -1
  140. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2.d.ts +0 -116
  141. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2.d.ts.map +0 -1
  142. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2.js +0 -413
  143. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2.js.map +0 -1
  144. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2b.d.ts +0 -11
  145. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2b.d.ts.map +0 -1
  146. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2b.js +0 -11
  147. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2b.js.map +0 -1
  148. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2s.d.ts +0 -20
  149. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2s.d.ts.map +0 -1
  150. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2s.js +0 -21
  151. package/plugin/runtime/node_modules/@noble/hashes/esm/blake2s.js.map +0 -1
  152. package/plugin/runtime/node_modules/@noble/hashes/esm/blake3.d.ts +0 -54
  153. package/plugin/runtime/node_modules/@noble/hashes/esm/blake3.d.ts.map +0 -1
  154. package/plugin/runtime/node_modules/@noble/hashes/esm/blake3.js +0 -251
  155. package/plugin/runtime/node_modules/@noble/hashes/esm/blake3.js.map +0 -1
  156. package/plugin/runtime/node_modules/@noble/hashes/esm/crypto.d.ts +0 -2
  157. package/plugin/runtime/node_modules/@noble/hashes/esm/crypto.d.ts.map +0 -1
  158. package/plugin/runtime/node_modules/@noble/hashes/esm/crypto.js +0 -2
  159. package/plugin/runtime/node_modules/@noble/hashes/esm/crypto.js.map +0 -1
  160. package/plugin/runtime/node_modules/@noble/hashes/esm/cryptoNode.d.ts +0 -2
  161. package/plugin/runtime/node_modules/@noble/hashes/esm/cryptoNode.d.ts.map +0 -1
  162. package/plugin/runtime/node_modules/@noble/hashes/esm/cryptoNode.js +0 -15
  163. package/plugin/runtime/node_modules/@noble/hashes/esm/cryptoNode.js.map +0 -1
  164. package/plugin/runtime/node_modules/@noble/hashes/esm/eskdf.d.ts +0 -47
  165. package/plugin/runtime/node_modules/@noble/hashes/esm/eskdf.d.ts.map +0 -1
  166. package/plugin/runtime/node_modules/@noble/hashes/esm/eskdf.js +0 -160
  167. package/plugin/runtime/node_modules/@noble/hashes/esm/eskdf.js.map +0 -1
  168. package/plugin/runtime/node_modules/@noble/hashes/esm/hkdf.d.ts +0 -36
  169. package/plugin/runtime/node_modules/@noble/hashes/esm/hkdf.d.ts.map +0 -1
  170. package/plugin/runtime/node_modules/@noble/hashes/esm/hkdf.js +0 -82
  171. package/plugin/runtime/node_modules/@noble/hashes/esm/hkdf.js.map +0 -1
  172. package/plugin/runtime/node_modules/@noble/hashes/esm/hmac.d.ts +0 -35
  173. package/plugin/runtime/node_modules/@noble/hashes/esm/hmac.d.ts.map +0 -1
  174. package/plugin/runtime/node_modules/@noble/hashes/esm/hmac.js +0 -86
  175. package/plugin/runtime/node_modules/@noble/hashes/esm/hmac.js.map +0 -1
  176. package/plugin/runtime/node_modules/@noble/hashes/esm/index.d.ts +0 -2
  177. package/plugin/runtime/node_modules/@noble/hashes/esm/index.d.ts.map +0 -1
  178. package/plugin/runtime/node_modules/@noble/hashes/esm/index.js +0 -33
  179. package/plugin/runtime/node_modules/@noble/hashes/esm/index.js.map +0 -1
  180. package/plugin/runtime/node_modules/@noble/hashes/esm/legacy.d.ts +0 -71
  181. package/plugin/runtime/node_modules/@noble/hashes/esm/legacy.d.ts.map +0 -1
  182. package/plugin/runtime/node_modules/@noble/hashes/esm/legacy.js +0 -281
  183. package/plugin/runtime/node_modules/@noble/hashes/esm/legacy.js.map +0 -1
  184. package/plugin/runtime/node_modules/@noble/hashes/esm/package.json +0 -10
  185. package/plugin/runtime/node_modules/@noble/hashes/esm/pbkdf2.d.ts +0 -23
  186. package/plugin/runtime/node_modules/@noble/hashes/esm/pbkdf2.d.ts.map +0 -1
  187. package/plugin/runtime/node_modules/@noble/hashes/esm/pbkdf2.js +0 -97
  188. package/plugin/runtime/node_modules/@noble/hashes/esm/pbkdf2.js.map +0 -1
  189. package/plugin/runtime/node_modules/@noble/hashes/esm/ripemd160.d.ts +0 -13
  190. package/plugin/runtime/node_modules/@noble/hashes/esm/ripemd160.d.ts.map +0 -1
  191. package/plugin/runtime/node_modules/@noble/hashes/esm/ripemd160.js +0 -13
  192. package/plugin/runtime/node_modules/@noble/hashes/esm/ripemd160.js.map +0 -1
  193. package/plugin/runtime/node_modules/@noble/hashes/esm/scrypt.d.ts +0 -34
  194. package/plugin/runtime/node_modules/@noble/hashes/esm/scrypt.d.ts.map +0 -1
  195. package/plugin/runtime/node_modules/@noble/hashes/esm/scrypt.js +0 -228
  196. package/plugin/runtime/node_modules/@noble/hashes/esm/scrypt.js.map +0 -1
  197. package/plugin/runtime/node_modules/@noble/hashes/esm/sha1.d.ts +0 -11
  198. package/plugin/runtime/node_modules/@noble/hashes/esm/sha1.d.ts.map +0 -1
  199. package/plugin/runtime/node_modules/@noble/hashes/esm/sha1.js +0 -11
  200. package/plugin/runtime/node_modules/@noble/hashes/esm/sha1.js.map +0 -1
  201. package/plugin/runtime/node_modules/@noble/hashes/esm/sha2.d.ts +0 -159
  202. package/plugin/runtime/node_modules/@noble/hashes/esm/sha2.d.ts.map +0 -1
  203. package/plugin/runtime/node_modules/@noble/hashes/esm/sha2.js +0 -375
  204. package/plugin/runtime/node_modules/@noble/hashes/esm/sha2.js.map +0 -1
  205. package/plugin/runtime/node_modules/@noble/hashes/esm/sha256.d.ts +0 -20
  206. package/plugin/runtime/node_modules/@noble/hashes/esm/sha256.d.ts.map +0 -1
  207. package/plugin/runtime/node_modules/@noble/hashes/esm/sha256.js +0 -20
  208. package/plugin/runtime/node_modules/@noble/hashes/esm/sha256.js.map +0 -1
  209. package/plugin/runtime/node_modules/@noble/hashes/esm/sha3-addons.d.ts +0 -142
  210. package/plugin/runtime/node_modules/@noble/hashes/esm/sha3-addons.d.ts.map +0 -1
  211. package/plugin/runtime/node_modules/@noble/hashes/esm/sha3-addons.js +0 -393
  212. package/plugin/runtime/node_modules/@noble/hashes/esm/sha3-addons.js.map +0 -1
  213. package/plugin/runtime/node_modules/@noble/hashes/esm/sha3.d.ts +0 -53
  214. package/plugin/runtime/node_modules/@noble/hashes/esm/sha3.d.ts.map +0 -1
  215. package/plugin/runtime/node_modules/@noble/hashes/esm/sha3.js +0 -234
  216. package/plugin/runtime/node_modules/@noble/hashes/esm/sha3.js.map +0 -1
  217. package/plugin/runtime/node_modules/@noble/hashes/esm/sha512.d.ts +0 -26
  218. package/plugin/runtime/node_modules/@noble/hashes/esm/sha512.d.ts.map +0 -1
  219. package/plugin/runtime/node_modules/@noble/hashes/esm/sha512.js +0 -26
  220. package/plugin/runtime/node_modules/@noble/hashes/esm/sha512.js.map +0 -1
  221. package/plugin/runtime/node_modules/@noble/hashes/esm/utils.d.ts +0 -161
  222. package/plugin/runtime/node_modules/@noble/hashes/esm/utils.d.ts.map +0 -1
  223. package/plugin/runtime/node_modules/@noble/hashes/esm/utils.js +0 -281
  224. package/plugin/runtime/node_modules/@noble/hashes/esm/utils.js.map +0 -1
  225. package/plugin/runtime/node_modules/@noble/hashes/hkdf.d.ts +0 -36
  226. package/plugin/runtime/node_modules/@noble/hashes/hkdf.d.ts.map +0 -1
  227. package/plugin/runtime/node_modules/@noble/hashes/hkdf.js +0 -88
  228. package/plugin/runtime/node_modules/@noble/hashes/hkdf.js.map +0 -1
  229. package/plugin/runtime/node_modules/@noble/hashes/hmac.d.ts +0 -35
  230. package/plugin/runtime/node_modules/@noble/hashes/hmac.d.ts.map +0 -1
  231. package/plugin/runtime/node_modules/@noble/hashes/hmac.js +0 -91
  232. package/plugin/runtime/node_modules/@noble/hashes/hmac.js.map +0 -1
  233. package/plugin/runtime/node_modules/@noble/hashes/index.d.ts +0 -1
  234. package/plugin/runtime/node_modules/@noble/hashes/index.d.ts.map +0 -1
  235. package/plugin/runtime/node_modules/@noble/hashes/index.js +0 -33
  236. package/plugin/runtime/node_modules/@noble/hashes/index.js.map +0 -1
  237. package/plugin/runtime/node_modules/@noble/hashes/legacy.d.ts +0 -71
  238. package/plugin/runtime/node_modules/@noble/hashes/legacy.d.ts.map +0 -1
  239. package/plugin/runtime/node_modules/@noble/hashes/legacy.js +0 -287
  240. package/plugin/runtime/node_modules/@noble/hashes/legacy.js.map +0 -1
  241. package/plugin/runtime/node_modules/@noble/hashes/package.json +0 -266
  242. package/plugin/runtime/node_modules/@noble/hashes/pbkdf2.d.ts +0 -23
  243. package/plugin/runtime/node_modules/@noble/hashes/pbkdf2.d.ts.map +0 -1
  244. package/plugin/runtime/node_modules/@noble/hashes/pbkdf2.js +0 -101
  245. package/plugin/runtime/node_modules/@noble/hashes/pbkdf2.js.map +0 -1
  246. package/plugin/runtime/node_modules/@noble/hashes/ripemd160.d.ts +0 -13
  247. package/plugin/runtime/node_modules/@noble/hashes/ripemd160.d.ts.map +0 -1
  248. package/plugin/runtime/node_modules/@noble/hashes/ripemd160.js +0 -16
  249. package/plugin/runtime/node_modules/@noble/hashes/ripemd160.js.map +0 -1
  250. package/plugin/runtime/node_modules/@noble/hashes/scrypt.d.ts +0 -34
  251. package/plugin/runtime/node_modules/@noble/hashes/scrypt.d.ts.map +0 -1
  252. package/plugin/runtime/node_modules/@noble/hashes/scrypt.js +0 -232
  253. package/plugin/runtime/node_modules/@noble/hashes/scrypt.js.map +0 -1
  254. package/plugin/runtime/node_modules/@noble/hashes/sha1.d.ts +0 -11
  255. package/plugin/runtime/node_modules/@noble/hashes/sha1.d.ts.map +0 -1
  256. package/plugin/runtime/node_modules/@noble/hashes/sha1.js +0 -14
  257. package/plugin/runtime/node_modules/@noble/hashes/sha1.js.map +0 -1
  258. package/plugin/runtime/node_modules/@noble/hashes/sha2.d.ts +0 -159
  259. package/plugin/runtime/node_modules/@noble/hashes/sha2.d.ts.map +0 -1
  260. package/plugin/runtime/node_modules/@noble/hashes/sha2.js +0 -384
  261. package/plugin/runtime/node_modules/@noble/hashes/sha2.js.map +0 -1
  262. package/plugin/runtime/node_modules/@noble/hashes/sha256.d.ts +0 -20
  263. package/plugin/runtime/node_modules/@noble/hashes/sha256.d.ts.map +0 -1
  264. package/plugin/runtime/node_modules/@noble/hashes/sha256.js +0 -23
  265. package/plugin/runtime/node_modules/@noble/hashes/sha256.js.map +0 -1
  266. package/plugin/runtime/node_modules/@noble/hashes/sha3-addons.d.ts +0 -142
  267. package/plugin/runtime/node_modules/@noble/hashes/sha3-addons.d.ts.map +0 -1
  268. package/plugin/runtime/node_modules/@noble/hashes/sha3-addons.js +0 -402
  269. package/plugin/runtime/node_modules/@noble/hashes/sha3-addons.js.map +0 -1
  270. package/plugin/runtime/node_modules/@noble/hashes/sha3.d.ts +0 -53
  271. package/plugin/runtime/node_modules/@noble/hashes/sha3.d.ts.map +0 -1
  272. package/plugin/runtime/node_modules/@noble/hashes/sha3.js +0 -239
  273. package/plugin/runtime/node_modules/@noble/hashes/sha3.js.map +0 -1
  274. package/plugin/runtime/node_modules/@noble/hashes/sha512.d.ts +0 -26
  275. package/plugin/runtime/node_modules/@noble/hashes/sha512.d.ts.map +0 -1
  276. package/plugin/runtime/node_modules/@noble/hashes/sha512.js +0 -29
  277. package/plugin/runtime/node_modules/@noble/hashes/sha512.js.map +0 -1
  278. package/plugin/runtime/node_modules/@noble/hashes/src/_assert.ts +0 -22
  279. package/plugin/runtime/node_modules/@noble/hashes/src/_blake.ts +0 -50
  280. package/plugin/runtime/node_modules/@noble/hashes/src/_md.ts +0 -176
  281. package/plugin/runtime/node_modules/@noble/hashes/src/_u64.ts +0 -91
  282. package/plugin/runtime/node_modules/@noble/hashes/src/argon2.ts +0 -497
  283. package/plugin/runtime/node_modules/@noble/hashes/src/blake1.ts +0 -534
  284. package/plugin/runtime/node_modules/@noble/hashes/src/blake2.ts +0 -486
  285. package/plugin/runtime/node_modules/@noble/hashes/src/blake2b.ts +0 -10
  286. package/plugin/runtime/node_modules/@noble/hashes/src/blake2s.ts +0 -20
  287. package/plugin/runtime/node_modules/@noble/hashes/src/blake3.ts +0 -272
  288. package/plugin/runtime/node_modules/@noble/hashes/src/crypto.ts +0 -9
  289. package/plugin/runtime/node_modules/@noble/hashes/src/cryptoNode.ts +0 -15
  290. package/plugin/runtime/node_modules/@noble/hashes/src/eskdf.ts +0 -187
  291. package/plugin/runtime/node_modules/@noble/hashes/src/hkdf.ts +0 -88
  292. package/plugin/runtime/node_modules/@noble/hashes/src/hmac.ts +0 -94
  293. package/plugin/runtime/node_modules/@noble/hashes/src/index.ts +0 -31
  294. package/plugin/runtime/node_modules/@noble/hashes/src/legacy.ts +0 -293
  295. package/plugin/runtime/node_modules/@noble/hashes/src/pbkdf2.ts +0 -122
  296. package/plugin/runtime/node_modules/@noble/hashes/src/ripemd160.ts +0 -12
  297. package/plugin/runtime/node_modules/@noble/hashes/src/scrypt.ts +0 -257
  298. package/plugin/runtime/node_modules/@noble/hashes/src/sha1.ts +0 -10
  299. package/plugin/runtime/node_modules/@noble/hashes/src/sha2.ts +0 -402
  300. package/plugin/runtime/node_modules/@noble/hashes/src/sha256.ts +0 -24
  301. package/plugin/runtime/node_modules/@noble/hashes/src/sha3-addons.ts +0 -499
  302. package/plugin/runtime/node_modules/@noble/hashes/src/sha3.ts +0 -258
  303. package/plugin/runtime/node_modules/@noble/hashes/src/sha512.ts +0 -34
  304. package/plugin/runtime/node_modules/@noble/hashes/src/utils.ts +0 -395
  305. package/plugin/runtime/node_modules/@noble/hashes/utils.d.ts +0 -161
  306. package/plugin/runtime/node_modules/@noble/hashes/utils.d.ts.map +0 -1
  307. package/plugin/runtime/node_modules/@noble/hashes/utils.js +0 -313
  308. package/plugin/runtime/node_modules/@noble/hashes/utils.js.map +0 -1
  309. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/API.md +0 -416
  310. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/LICENSE +0 -21
  311. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/README.md +0 -77
  312. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attachment/store.d.ts +0 -57
  313. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attachment/store.js +0 -618
  314. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-gate.d.ts +0 -29
  315. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-gate.js +0 -58
  316. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-key-prune.d.ts +0 -17
  317. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-key-prune.js +0 -37
  318. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-store.d.ts +0 -27
  319. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/attest-store.js +0 -146
  320. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/verifier.d.ts +0 -1
  321. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/attest/verifier.js +0 -2
  322. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/delivery-observations.d.ts +0 -38
  323. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/delivery-observations.js +0 -85
  324. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/history.d.ts +0 -88
  325. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/history.js +0 -176
  326. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/pairing-codec.d.ts +0 -39
  327. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/pairing-codec.js +0 -233
  328. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/reconciliation.d.ts +0 -6
  329. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/reconciliation.js +0 -17
  330. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/types.d.ts +0 -234
  331. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/contract/types.js +0 -32
  332. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/coordinator.d.ts +0 -19
  333. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/coordinator.js +0 -113
  334. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/pending-store.d.ts +0 -37
  335. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/pending-store.js +0 -67
  336. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/results.d.ts +0 -14
  337. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/device-request/results.js +0 -39
  338. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/index.d.ts +0 -16
  339. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/index.js +0 -15
  340. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/og-parse.d.ts +0 -21
  341. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/og-parse.js +0 -234
  342. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/preview-service.d.ts +0 -39
  343. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/preview-service.js +0 -232
  344. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/ssrf-guard.d.ts +0 -52
  345. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/link-preview/ssrf-guard.js +0 -236
  346. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/prompt-capsules/capsules-store.d.ts +0 -38
  347. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/prompt-capsules/capsules-store.js +0 -149
  348. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/attachment-crypto.d.ts +0 -4
  349. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/attachment-crypto.js +0 -73
  350. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/cert-selfsign.d.ts +0 -6
  351. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/cert-selfsign.js +0 -88
  352. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/filter-proxy.d.ts +0 -17
  353. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/filter-proxy.js +0 -231
  354. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/frpc-manager.d.ts +0 -76
  355. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/frpc-manager.js +0 -1332
  356. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/oss-transfer.d.ts +0 -43
  357. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/oss-transfer.js +0 -280
  358. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/pairing-voucher.d.ts +0 -13
  359. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/pairing-voucher.js +0 -58
  360. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/private-file.d.ts +0 -2
  361. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/private-file.js +0 -11
  362. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/standby-loop-guard.d.ts +0 -9
  363. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/standby-loop-guard.js +0 -24
  364. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/tls-identity.d.ts +0 -36
  365. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/tls-identity.js +0 -151
  366. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/tunnel-watchdog-policy.d.ts +0 -24
  367. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/public-access/tunnel-watchdog-policy.js +0 -49
  368. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/push/push-runtime.d.ts +0 -45
  369. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/push/push-runtime.js +0 -233
  370. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/push/relay-transport.d.ts +0 -8
  371. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/push/relay-transport.js +0 -27
  372. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/channel-kernel.d.ts +0 -49
  373. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/channel-kernel.js +0 -307
  374. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/channel-runtime.d.ts +0 -2
  375. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/channel-runtime.js +0 -2
  376. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/delivery-observation-publisher.d.ts +0 -43
  377. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/delivery-observation-publisher.js +0 -211
  378. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/durable-run-store.d.ts +0 -247
  379. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/durable-run-store.js +0 -1525
  380. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/runner.d.ts +0 -36
  381. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/runner.js +0 -269
  382. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/scheduler.d.ts +0 -13
  383. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/runtime/scheduler.js +0 -130
  384. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/server-name/server-name-store.d.ts +0 -21
  385. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/server-name/server-name-store.js +0 -52
  386. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/service/channel-service.d.ts +0 -38
  387. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/service/channel-service.js +0 -266
  388. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/service/infrastructure.d.ts +0 -87
  389. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/service/infrastructure.js +0 -179
  390. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/contract-harness.d.ts +0 -25
  391. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/contract-harness.js +0 -44
  392. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/reference-adapter.d.ts +0 -39
  393. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/reference-adapter.js +0 -76
  394. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/weaknet-server.d.ts +0 -6
  395. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/testing/weaknet-server.js +0 -130
  396. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/attest.d.ts +0 -39
  397. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/attest.js +0 -114
  398. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/body.d.ts +0 -2
  399. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/body.js +0 -24
  400. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/controls.d.ts +0 -9
  401. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/controls.js +0 -112
  402. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/files-download.d.ts +0 -18
  403. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/files-download.js +0 -197
  404. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/files-upload.d.ts +0 -20
  405. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/files-upload.js +0 -227
  406. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/link-preview.d.ts +0 -15
  407. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/link-preview.js +0 -45
  408. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/messages.d.ts +0 -10
  409. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/messages.js +0 -105
  410. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/pairing.d.ts +0 -22
  411. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/pairing.js +0 -138
  412. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/prompt-capsules.d.ts +0 -8
  413. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/prompt-capsules.js +0 -65
  414. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/push.d.ts +0 -13
  415. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/push.js +0 -65
  416. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/runtime.d.ts +0 -50
  417. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/runtime.js +0 -400
  418. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/server-name.d.ts +0 -8
  419. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/server-name.js +0 -43
  420. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/session-settings.d.ts +0 -5
  421. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/session-settings.js +0 -121
  422. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/sessions.d.ts +0 -20
  423. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/dist/transport/sessions.js +0 -118
  424. package/plugin/runtime/node_modules/@syengup/fridaynext-channel-kit/package.json +0 -40
  425. package/plugin/runtime/node_modules/ansi-regex/index.d.ts +0 -37
  426. package/plugin/runtime/node_modules/ansi-regex/index.js +0 -10
  427. package/plugin/runtime/node_modules/ansi-regex/license +0 -9
  428. package/plugin/runtime/node_modules/ansi-regex/package.json +0 -55
  429. package/plugin/runtime/node_modules/ansi-regex/readme.md +0 -78
  430. package/plugin/runtime/node_modules/ansi-styles/index.d.ts +0 -345
  431. package/plugin/runtime/node_modules/ansi-styles/index.js +0 -163
  432. package/plugin/runtime/node_modules/ansi-styles/license +0 -9
  433. package/plugin/runtime/node_modules/ansi-styles/package.json +0 -56
  434. package/plugin/runtime/node_modules/ansi-styles/readme.md +0 -152
  435. package/plugin/runtime/node_modules/asn1js/LICENSE +0 -30
  436. package/plugin/runtime/node_modules/asn1js/README.md +0 -222
  437. package/plugin/runtime/node_modules/asn1js/build/index.d.ts +0 -1412
  438. package/plugin/runtime/node_modules/asn1js/build/index.es.js +0 -3705
  439. package/plugin/runtime/node_modules/asn1js/build/index.js +0 -3773
  440. package/plugin/runtime/node_modules/asn1js/package.json +0 -89
  441. package/plugin/runtime/node_modules/bytestreamjs/LICENSE +0 -29
  442. package/plugin/runtime/node_modules/bytestreamjs/README.MD +0 -196
  443. package/plugin/runtime/node_modules/bytestreamjs/build/cjs/bit.js +0 -91
  444. package/plugin/runtime/node_modules/bytestreamjs/build/cjs/bit_stream.js +0 -400
  445. package/plugin/runtime/node_modules/bytestreamjs/build/cjs/byte_stream.js +0 -648
  446. package/plugin/runtime/node_modules/bytestreamjs/build/cjs/helpers.js +0 -59
  447. package/plugin/runtime/node_modules/bytestreamjs/build/cjs/index.js +0 -21
  448. package/plugin/runtime/node_modules/bytestreamjs/build/cjs/seq_bit_stream.js +0 -114
  449. package/plugin/runtime/node_modules/bytestreamjs/build/cjs/seq_stream.js +0 -437
  450. package/plugin/runtime/node_modules/bytestreamjs/build/mjs/bit.js +0 -88
  451. package/plugin/runtime/node_modules/bytestreamjs/build/mjs/bit_stream.js +0 -396
  452. package/plugin/runtime/node_modules/bytestreamjs/build/mjs/byte_stream.js +0 -644
  453. package/plugin/runtime/node_modules/bytestreamjs/build/mjs/helpers.js +0 -55
  454. package/plugin/runtime/node_modules/bytestreamjs/build/mjs/index.js +0 -5
  455. package/plugin/runtime/node_modules/bytestreamjs/build/mjs/seq_bit_stream.js +0 -110
  456. package/plugin/runtime/node_modules/bytestreamjs/build/mjs/seq_stream.js +0 -433
  457. package/plugin/runtime/node_modules/bytestreamjs/build/types/bit.d.ts +0 -1
  458. package/plugin/runtime/node_modules/bytestreamjs/build/types/bit_stream.d.ts +0 -222
  459. package/plugin/runtime/node_modules/bytestreamjs/build/types/byte_stream.d.ts +0 -292
  460. package/plugin/runtime/node_modules/bytestreamjs/build/types/helpers.d.ts +0 -23
  461. package/plugin/runtime/node_modules/bytestreamjs/build/types/index.d.ts +0 -5
  462. package/plugin/runtime/node_modules/bytestreamjs/build/types/seq_bit_stream.d.ts +0 -47
  463. package/plugin/runtime/node_modules/bytestreamjs/build/types/seq_stream.d.ts +0 -255
  464. package/plugin/runtime/node_modules/bytestreamjs/package.json +0 -66
  465. package/plugin/runtime/node_modules/camelcase/index.d.ts +0 -63
  466. package/plugin/runtime/node_modules/camelcase/index.js +0 -76
  467. package/plugin/runtime/node_modules/camelcase/license +0 -9
  468. package/plugin/runtime/node_modules/camelcase/package.json +0 -43
  469. package/plugin/runtime/node_modules/camelcase/readme.md +0 -99
  470. package/plugin/runtime/node_modules/cbor/LICENSE.md +0 -20
  471. package/plugin/runtime/node_modules/cbor/README.md +0 -282
  472. package/plugin/runtime/node_modules/cbor/lib/cbor.js +0 -114
  473. package/plugin/runtime/node_modules/cbor/lib/commented.js +0 -382
  474. package/plugin/runtime/node_modules/cbor/lib/constants.js +0 -79
  475. package/plugin/runtime/node_modules/cbor/lib/decoder.js +0 -680
  476. package/plugin/runtime/node_modules/cbor/lib/diagnose.js +0 -274
  477. package/plugin/runtime/node_modules/cbor/lib/encoder.js +0 -1121
  478. package/plugin/runtime/node_modules/cbor/lib/map.js +0 -185
  479. package/plugin/runtime/node_modules/cbor/lib/objectRecorder.js +0 -71
  480. package/plugin/runtime/node_modules/cbor/lib/sharedValueEncoder.js +0 -141
  481. package/plugin/runtime/node_modules/cbor/lib/simple.js +0 -104
  482. package/plugin/runtime/node_modules/cbor/lib/tagged.js +0 -378
  483. package/plugin/runtime/node_modules/cbor/lib/utils.js +0 -308
  484. package/plugin/runtime/node_modules/cbor/package.json +0 -47
  485. package/plugin/runtime/node_modules/cbor/types/lib/cbor.d.ts +0 -34
  486. package/plugin/runtime/node_modules/cbor/types/lib/commented.d.ts +0 -109
  487. package/plugin/runtime/node_modules/cbor/types/lib/constants.d.ts +0 -63
  488. package/plugin/runtime/node_modules/cbor/types/lib/decoder.d.ts +0 -199
  489. package/plugin/runtime/node_modules/cbor/types/lib/diagnose.d.ts +0 -91
  490. package/plugin/runtime/node_modules/cbor/types/lib/encoder.d.ts +0 -477
  491. package/plugin/runtime/node_modules/cbor/types/lib/map.d.ts +0 -78
  492. package/plugin/runtime/node_modules/cbor/types/lib/objectRecorder.d.ts +0 -36
  493. package/plugin/runtime/node_modules/cbor/types/lib/sharedValueEncoder.d.ts +0 -21
  494. package/plugin/runtime/node_modules/cbor/types/lib/simple.d.ts +0 -47
  495. package/plugin/runtime/node_modules/cbor/types/lib/tagged.d.ts +0 -74
  496. package/plugin/runtime/node_modules/cbor/types/lib/utils.d.ts +0 -20
  497. package/plugin/runtime/node_modules/cbor/types/vendor/binary-parse-stream/index.d.ts +0 -34
  498. package/plugin/runtime/node_modules/cbor/vendor/binary-parse-stream/README.md +0 -49
  499. package/plugin/runtime/node_modules/cbor/vendor/binary-parse-stream/index.js +0 -111
  500. package/plugin/runtime/node_modules/cliui/CHANGELOG.md +0 -76
  501. package/plugin/runtime/node_modules/cliui/LICENSE.txt +0 -14
  502. package/plugin/runtime/node_modules/cliui/README.md +0 -115
  503. package/plugin/runtime/node_modules/cliui/index.js +0 -354
  504. package/plugin/runtime/node_modules/cliui/package.json +0 -65
  505. package/plugin/runtime/node_modules/color-convert/CHANGELOG.md +0 -54
  506. package/plugin/runtime/node_modules/color-convert/LICENSE +0 -21
  507. package/plugin/runtime/node_modules/color-convert/README.md +0 -68
  508. package/plugin/runtime/node_modules/color-convert/conversions.js +0 -839
  509. package/plugin/runtime/node_modules/color-convert/index.js +0 -81
  510. package/plugin/runtime/node_modules/color-convert/package.json +0 -48
  511. package/plugin/runtime/node_modules/color-convert/route.js +0 -97
  512. package/plugin/runtime/node_modules/color-name/LICENSE +0 -8
  513. package/plugin/runtime/node_modules/color-name/README.md +0 -11
  514. package/plugin/runtime/node_modules/color-name/index.js +0 -152
  515. package/plugin/runtime/node_modules/color-name/package.json +0 -28
  516. package/plugin/runtime/node_modules/decamelize/index.js +0 -13
  517. package/plugin/runtime/node_modules/decamelize/license +0 -21
  518. package/plugin/runtime/node_modules/decamelize/package.json +0 -38
  519. package/plugin/runtime/node_modules/decamelize/readme.md +0 -48
  520. package/plugin/runtime/node_modules/dijkstrajs/.travis.yml +0 -4
  521. package/plugin/runtime/node_modules/dijkstrajs/CONTRIBUTING.md +0 -8
  522. package/plugin/runtime/node_modules/dijkstrajs/LICENSE.md +0 -19
  523. package/plugin/runtime/node_modules/dijkstrajs/README.md +0 -18
  524. package/plugin/runtime/node_modules/dijkstrajs/dijkstra.js +0 -165
  525. package/plugin/runtime/node_modules/dijkstrajs/package.json +0 -60
  526. package/plugin/runtime/node_modules/dijkstrajs/test/dijkstra.test.js +0 -96
  527. package/plugin/runtime/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  528. package/plugin/runtime/node_modules/emoji-regex/README.md +0 -73
  529. package/plugin/runtime/node_modules/emoji-regex/es2015/index.js +0 -6
  530. package/plugin/runtime/node_modules/emoji-regex/es2015/text.js +0 -6
  531. package/plugin/runtime/node_modules/emoji-regex/index.d.ts +0 -23
  532. package/plugin/runtime/node_modules/emoji-regex/index.js +0 -6
  533. package/plugin/runtime/node_modules/emoji-regex/package.json +0 -50
  534. package/plugin/runtime/node_modules/emoji-regex/text.js +0 -6
  535. package/plugin/runtime/node_modules/find-up/index.d.ts +0 -137
  536. package/plugin/runtime/node_modules/find-up/index.js +0 -89
  537. package/plugin/runtime/node_modules/find-up/license +0 -9
  538. package/plugin/runtime/node_modules/find-up/package.json +0 -53
  539. package/plugin/runtime/node_modules/find-up/readme.md +0 -156
  540. package/plugin/runtime/node_modules/get-caller-file/LICENSE.md +0 -6
  541. package/plugin/runtime/node_modules/get-caller-file/README.md +0 -41
  542. package/plugin/runtime/node_modules/get-caller-file/index.d.ts +0 -2
  543. package/plugin/runtime/node_modules/get-caller-file/index.js +0 -22
  544. package/plugin/runtime/node_modules/get-caller-file/index.js.map +0 -1
  545. package/plugin/runtime/node_modules/get-caller-file/package.json +0 -42
  546. package/plugin/runtime/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  547. package/plugin/runtime/node_modules/is-fullwidth-code-point/index.js +0 -50
  548. package/plugin/runtime/node_modules/is-fullwidth-code-point/license +0 -9
  549. package/plugin/runtime/node_modules/is-fullwidth-code-point/package.json +0 -42
  550. package/plugin/runtime/node_modules/is-fullwidth-code-point/readme.md +0 -39
  551. package/plugin/runtime/node_modules/locate-path/index.d.ts +0 -83
  552. package/plugin/runtime/node_modules/locate-path/index.js +0 -65
  553. package/plugin/runtime/node_modules/locate-path/license +0 -9
  554. package/plugin/runtime/node_modules/locate-path/package.json +0 -45
  555. package/plugin/runtime/node_modules/locate-path/readme.md +0 -122
  556. package/plugin/runtime/node_modules/node-app-attest/.github/dependabot.yml +0 -6
  557. package/plugin/runtime/node_modules/node-app-attest/.github/workflows/ci.yml +0 -43
  558. package/plugin/runtime/node_modules/node-app-attest/.prettierrc +0 -1
  559. package/plugin/runtime/node_modules/node-app-attest/.yarnrc.yml +0 -1
  560. package/plugin/runtime/node_modules/node-app-attest/LICENSE +0 -21
  561. package/plugin/runtime/node_modules/node-app-attest/README.md +0 -300
  562. package/plugin/runtime/node_modules/node-app-attest/eslint.config.js +0 -30
  563. package/plugin/runtime/node_modules/node-app-attest/package.json +0 -44
  564. package/plugin/runtime/node_modules/node-app-attest/src/index.js +0 -4
  565. package/plugin/runtime/node_modules/node-app-attest/src/verifyAssertion.js +0 -81
  566. package/plugin/runtime/node_modules/node-app-attest/src/verifyAttestation.js +0 -211
  567. package/plugin/runtime/node_modules/node-app-attest/test/fixtures/attestation-development.json +0 -5
  568. package/plugin/runtime/node_modules/node-app-attest/test/fixtures/attestation-production.json +0 -5
  569. package/plugin/runtime/node_modules/node-app-attest/test/verifyAssertion.test.js +0 -119
  570. package/plugin/runtime/node_modules/node-app-attest/test/verifyAttestation.test.js +0 -303
  571. package/plugin/runtime/node_modules/node-app-attest/tsconfig.json +0 -11
  572. package/plugin/runtime/node_modules/node-app-attest/types/index.d.ts +0 -4
  573. package/plugin/runtime/node_modules/node-app-attest/types/index.d.ts.map +0 -1
  574. package/plugin/runtime/node_modules/node-app-attest/types/verifyAssertion.d.ts +0 -5
  575. package/plugin/runtime/node_modules/node-app-attest/types/verifyAssertion.d.ts.map +0 -1
  576. package/plugin/runtime/node_modules/node-app-attest/types/verifyAttestation.d.ts +0 -8
  577. package/plugin/runtime/node_modules/node-app-attest/types/verifyAttestation.d.ts.map +0 -1
  578. package/plugin/runtime/node_modules/nofilter/LICENSE.md +0 -20
  579. package/plugin/runtime/node_modules/nofilter/README.md +0 -36
  580. package/plugin/runtime/node_modules/nofilter/lib/index.js +0 -1055
  581. package/plugin/runtime/node_modules/nofilter/package.json +0 -60
  582. package/plugin/runtime/node_modules/nofilter/types/index.d.ts +0 -573
  583. package/plugin/runtime/node_modules/p-limit/index.d.ts +0 -38
  584. package/plugin/runtime/node_modules/p-limit/index.js +0 -57
  585. package/plugin/runtime/node_modules/p-limit/license +0 -9
  586. package/plugin/runtime/node_modules/p-limit/package.json +0 -52
  587. package/plugin/runtime/node_modules/p-limit/readme.md +0 -101
  588. package/plugin/runtime/node_modules/p-locate/index.d.ts +0 -64
  589. package/plugin/runtime/node_modules/p-locate/index.js +0 -52
  590. package/plugin/runtime/node_modules/p-locate/license +0 -9
  591. package/plugin/runtime/node_modules/p-locate/package.json +0 -53
  592. package/plugin/runtime/node_modules/p-locate/readme.md +0 -90
  593. package/plugin/runtime/node_modules/p-try/index.d.ts +0 -39
  594. package/plugin/runtime/node_modules/p-try/index.js +0 -9
  595. package/plugin/runtime/node_modules/p-try/license +0 -9
  596. package/plugin/runtime/node_modules/p-try/package.json +0 -42
  597. package/plugin/runtime/node_modules/p-try/readme.md +0 -58
  598. package/plugin/runtime/node_modules/path-exists/index.d.ts +0 -28
  599. package/plugin/runtime/node_modules/path-exists/index.js +0 -23
  600. package/plugin/runtime/node_modules/path-exists/license +0 -9
  601. package/plugin/runtime/node_modules/path-exists/package.json +0 -39
  602. package/plugin/runtime/node_modules/path-exists/readme.md +0 -52
  603. package/plugin/runtime/node_modules/pkijs/LICENSE +0 -30
  604. package/plugin/runtime/node_modules/pkijs/README.md +0 -81
  605. package/plugin/runtime/node_modules/pkijs/build/index.d.ts +0 -9419
  606. package/plugin/runtime/node_modules/pkijs/build/index.es.js +0 -18789
  607. package/plugin/runtime/node_modules/pkijs/build/index.js +0 -19014
  608. package/plugin/runtime/node_modules/pkijs/package.json +0 -98
  609. package/plugin/runtime/node_modules/pngjs/.eslintignore +0 -2
  610. package/plugin/runtime/node_modules/pngjs/.eslintrc.json +0 -19
  611. package/plugin/runtime/node_modules/pngjs/.prettierignore +0 -3
  612. package/plugin/runtime/node_modules/pngjs/LICENSE +0 -20
  613. package/plugin/runtime/node_modules/pngjs/README.md +0 -429
  614. package/plugin/runtime/node_modules/pngjs/browser.js +0 -16096
  615. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/base.css +0 -354
  616. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/bitmapper.js.html +0 -881
  617. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/bitpacker.js.html +0 -554
  618. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/block-navigation.js +0 -77
  619. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/chunkstream.js.html +0 -647
  620. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/constants.js.html +0 -176
  621. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/crc.js.html +0 -200
  622. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/favicon.png +0 -0
  623. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/filter-pack.js.html +0 -593
  624. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/filter-parse-async.js.html +0 -152
  625. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/filter-parse-sync.js.html +0 -143
  626. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/filter-parse.js.html +0 -611
  627. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/format-normaliser.js.html +0 -359
  628. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/index.html +0 -426
  629. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/interlace.js.html +0 -365
  630. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/packer-async.js.html +0 -230
  631. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/packer-sync.js.html +0 -248
  632. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/packer.js.html +0 -467
  633. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/paeth-predictor.js.html +0 -128
  634. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/parser-async.js.html +0 -575
  635. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/parser-sync.js.html +0 -404
  636. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/parser.js.html +0 -950
  637. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/png-sync.js.html +0 -116
  638. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/png.js.html +0 -662
  639. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/prettify.css +0 -101
  640. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/prettify.js +0 -1007
  641. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  642. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/sorter.js +0 -169
  643. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/sync-inflate.js.html +0 -584
  644. package/plugin/runtime/node_modules/pngjs/coverage/lcov-report/sync-reader.js.html +0 -215
  645. package/plugin/runtime/node_modules/pngjs/coverage/lcov.info +0 -2177
  646. package/plugin/runtime/node_modules/pngjs/lib/bitmapper.js +0 -267
  647. package/plugin/runtime/node_modules/pngjs/lib/bitpacker.js +0 -158
  648. package/plugin/runtime/node_modules/pngjs/lib/chunkstream.js +0 -189
  649. package/plugin/runtime/node_modules/pngjs/lib/constants.js +0 -32
  650. package/plugin/runtime/node_modules/pngjs/lib/crc.js +0 -40
  651. package/plugin/runtime/node_modules/pngjs/lib/filter-pack.js +0 -171
  652. package/plugin/runtime/node_modules/pngjs/lib/filter-parse-async.js +0 -24
  653. package/plugin/runtime/node_modules/pngjs/lib/filter-parse-sync.js +0 -21
  654. package/plugin/runtime/node_modules/pngjs/lib/filter-parse.js +0 -177
  655. package/plugin/runtime/node_modules/pngjs/lib/format-normaliser.js +0 -93
  656. package/plugin/runtime/node_modules/pngjs/lib/interlace.js +0 -95
  657. package/plugin/runtime/node_modules/pngjs/lib/packer-async.js +0 -50
  658. package/plugin/runtime/node_modules/pngjs/lib/packer-sync.js +0 -56
  659. package/plugin/runtime/node_modules/pngjs/lib/packer.js +0 -129
  660. package/plugin/runtime/node_modules/pngjs/lib/paeth-predictor.js +0 -16
  661. package/plugin/runtime/node_modules/pngjs/lib/parser-async.js +0 -165
  662. package/plugin/runtime/node_modules/pngjs/lib/parser-sync.js +0 -108
  663. package/plugin/runtime/node_modules/pngjs/lib/parser.js +0 -290
  664. package/plugin/runtime/node_modules/pngjs/lib/png-sync.js +0 -12
  665. package/plugin/runtime/node_modules/pngjs/lib/png.js +0 -194
  666. package/plugin/runtime/node_modules/pngjs/lib/sync-inflate.js +0 -168
  667. package/plugin/runtime/node_modules/pngjs/lib/sync-reader.js +0 -45
  668. package/plugin/runtime/node_modules/pngjs/package.json +0 -73
  669. package/plugin/runtime/node_modules/pvtsutils/LICENSE +0 -21
  670. package/plugin/runtime/node_modules/pvtsutils/README.md +0 -80
  671. package/plugin/runtime/node_modules/pvtsutils/build/index.d.ts +0 -208
  672. package/plugin/runtime/node_modules/pvtsutils/build/index.es.js +0 -393
  673. package/plugin/runtime/node_modules/pvtsutils/build/index.js +0 -399
  674. package/plugin/runtime/node_modules/pvtsutils/package.json +0 -76
  675. package/plugin/runtime/node_modules/pvutils/LICENSE +0 -24
  676. package/plugin/runtime/node_modules/pvutils/README.md +0 -24
  677. package/plugin/runtime/node_modules/pvutils/build/index.d.ts +0 -116
  678. package/plugin/runtime/node_modules/pvutils/build/utils.es.js +0 -340
  679. package/plugin/runtime/node_modules/pvutils/build/utils.js +0 -361
  680. package/plugin/runtime/node_modules/pvutils/package.json +0 -63
  681. package/plugin/runtime/node_modules/qrcode/README.md +0 -770
  682. package/plugin/runtime/node_modules/qrcode/bin/qrcode +0 -159
  683. package/plugin/runtime/node_modules/qrcode/helper/to-sjis-browser.js +0 -2
  684. package/plugin/runtime/node_modules/qrcode/helper/to-sjis.js +0 -105
  685. package/plugin/runtime/node_modules/qrcode/lib/browser.js +0 -76
  686. package/plugin/runtime/node_modules/qrcode/lib/can-promise.js +0 -7
  687. package/plugin/runtime/node_modules/qrcode/lib/core/alignment-pattern.js +0 -83
  688. package/plugin/runtime/node_modules/qrcode/lib/core/alphanumeric-data.js +0 -59
  689. package/plugin/runtime/node_modules/qrcode/lib/core/bit-buffer.js +0 -37
  690. package/plugin/runtime/node_modules/qrcode/lib/core/bit-matrix.js +0 -65
  691. package/plugin/runtime/node_modules/qrcode/lib/core/byte-data.js +0 -30
  692. package/plugin/runtime/node_modules/qrcode/lib/core/error-correction-code.js +0 -135
  693. package/plugin/runtime/node_modules/qrcode/lib/core/error-correction-level.js +0 -50
  694. package/plugin/runtime/node_modules/qrcode/lib/core/finder-pattern.js +0 -22
  695. package/plugin/runtime/node_modules/qrcode/lib/core/format-info.js +0 -29
  696. package/plugin/runtime/node_modules/qrcode/lib/core/galois-field.js +0 -69
  697. package/plugin/runtime/node_modules/qrcode/lib/core/kanji-data.js +0 -54
  698. package/plugin/runtime/node_modules/qrcode/lib/core/mask-pattern.js +0 -234
  699. package/plugin/runtime/node_modules/qrcode/lib/core/mode.js +0 -167
  700. package/plugin/runtime/node_modules/qrcode/lib/core/numeric-data.js +0 -43
  701. package/plugin/runtime/node_modules/qrcode/lib/core/polynomial.js +0 -62
  702. package/plugin/runtime/node_modules/qrcode/lib/core/qrcode.js +0 -495
  703. package/plugin/runtime/node_modules/qrcode/lib/core/reed-solomon-encoder.js +0 -56
  704. package/plugin/runtime/node_modules/qrcode/lib/core/regex.js +0 -31
  705. package/plugin/runtime/node_modules/qrcode/lib/core/segments.js +0 -330
  706. package/plugin/runtime/node_modules/qrcode/lib/core/utils.js +0 -63
  707. package/plugin/runtime/node_modules/qrcode/lib/core/version-check.js +0 -9
  708. package/plugin/runtime/node_modules/qrcode/lib/core/version.js +0 -163
  709. package/plugin/runtime/node_modules/qrcode/lib/index.js +0 -12
  710. package/plugin/runtime/node_modules/qrcode/lib/renderer/canvas.js +0 -63
  711. package/plugin/runtime/node_modules/qrcode/lib/renderer/png.js +0 -78
  712. package/plugin/runtime/node_modules/qrcode/lib/renderer/svg-tag.js +0 -81
  713. package/plugin/runtime/node_modules/qrcode/lib/renderer/svg.js +0 -19
  714. package/plugin/runtime/node_modules/qrcode/lib/renderer/terminal/terminal-small.js +0 -85
  715. package/plugin/runtime/node_modules/qrcode/lib/renderer/terminal/terminal.js +0 -49
  716. package/plugin/runtime/node_modules/qrcode/lib/renderer/terminal.js +0 -9
  717. package/plugin/runtime/node_modules/qrcode/lib/renderer/utf8.js +0 -71
  718. package/plugin/runtime/node_modules/qrcode/lib/renderer/utils.js +0 -99
  719. package/plugin/runtime/node_modules/qrcode/lib/server.js +0 -138
  720. package/plugin/runtime/node_modules/qrcode/license +0 -10
  721. package/plugin/runtime/node_modules/qrcode/package.json +0 -77
  722. package/plugin/runtime/node_modules/require-directory/.jshintrc +0 -67
  723. package/plugin/runtime/node_modules/require-directory/.travis.yml +0 -3
  724. package/plugin/runtime/node_modules/require-directory/LICENSE +0 -22
  725. package/plugin/runtime/node_modules/require-directory/README.markdown +0 -184
  726. package/plugin/runtime/node_modules/require-directory/index.js +0 -86
  727. package/plugin/runtime/node_modules/require-directory/package.json +0 -40
  728. package/plugin/runtime/node_modules/require-main-filename/CHANGELOG.md +0 -26
  729. package/plugin/runtime/node_modules/require-main-filename/LICENSE.txt +0 -14
  730. package/plugin/runtime/node_modules/require-main-filename/README.md +0 -26
  731. package/plugin/runtime/node_modules/require-main-filename/index.js +0 -18
  732. package/plugin/runtime/node_modules/require-main-filename/package.json +0 -35
  733. package/plugin/runtime/node_modules/set-blocking/CHANGELOG.md +0 -26
  734. package/plugin/runtime/node_modules/set-blocking/LICENSE.txt +0 -14
  735. package/plugin/runtime/node_modules/set-blocking/README.md +0 -31
  736. package/plugin/runtime/node_modules/set-blocking/index.js +0 -7
  737. package/plugin/runtime/node_modules/set-blocking/package.json +0 -42
  738. package/plugin/runtime/node_modules/string-width/index.d.ts +0 -29
  739. package/plugin/runtime/node_modules/string-width/index.js +0 -47
  740. package/plugin/runtime/node_modules/string-width/license +0 -9
  741. package/plugin/runtime/node_modules/string-width/package.json +0 -56
  742. package/plugin/runtime/node_modules/string-width/readme.md +0 -50
  743. package/plugin/runtime/node_modules/strip-ansi/index.d.ts +0 -17
  744. package/plugin/runtime/node_modules/strip-ansi/index.js +0 -4
  745. package/plugin/runtime/node_modules/strip-ansi/license +0 -9
  746. package/plugin/runtime/node_modules/strip-ansi/package.json +0 -54
  747. package/plugin/runtime/node_modules/strip-ansi/readme.md +0 -46
  748. package/plugin/runtime/node_modules/tslib/CopyrightNotice.txt +0 -15
  749. package/plugin/runtime/node_modules/tslib/LICENSE.txt +0 -12
  750. package/plugin/runtime/node_modules/tslib/README.md +0 -164
  751. package/plugin/runtime/node_modules/tslib/SECURITY.md +0 -41
  752. package/plugin/runtime/node_modules/tslib/modules/index.d.ts +0 -38
  753. package/plugin/runtime/node_modules/tslib/modules/index.js +0 -70
  754. package/plugin/runtime/node_modules/tslib/modules/package.json +0 -3
  755. package/plugin/runtime/node_modules/tslib/package.json +0 -47
  756. package/plugin/runtime/node_modules/tslib/tslib.d.ts +0 -460
  757. package/plugin/runtime/node_modules/tslib/tslib.es6.html +0 -1
  758. package/plugin/runtime/node_modules/tslib/tslib.es6.js +0 -402
  759. package/plugin/runtime/node_modules/tslib/tslib.es6.mjs +0 -401
  760. package/plugin/runtime/node_modules/tslib/tslib.html +0 -1
  761. package/plugin/runtime/node_modules/tslib/tslib.js +0 -484
  762. package/plugin/runtime/node_modules/which-module/LICENSE +0 -13
  763. package/plugin/runtime/node_modules/which-module/README.md +0 -58
  764. package/plugin/runtime/node_modules/which-module/index.js +0 -9
  765. package/plugin/runtime/node_modules/which-module/package.json +0 -41
  766. package/plugin/runtime/node_modules/wrap-ansi/index.js +0 -186
  767. package/plugin/runtime/node_modules/wrap-ansi/license +0 -9
  768. package/plugin/runtime/node_modules/wrap-ansi/package.json +0 -61
  769. package/plugin/runtime/node_modules/wrap-ansi/readme.md +0 -97
  770. package/plugin/runtime/node_modules/y18n/CHANGELOG.md +0 -35
  771. package/plugin/runtime/node_modules/y18n/LICENSE +0 -13
  772. package/plugin/runtime/node_modules/y18n/README.md +0 -109
  773. package/plugin/runtime/node_modules/y18n/index.js +0 -188
  774. package/plugin/runtime/node_modules/y18n/package.json +0 -39
  775. package/plugin/runtime/node_modules/yargs/CHANGELOG.md +0 -420
  776. package/plugin/runtime/node_modules/yargs/LICENSE +0 -21
  777. package/plugin/runtime/node_modules/yargs/README.md +0 -140
  778. package/plugin/runtime/node_modules/yargs/build/lib/apply-extends.d.ts +0 -2
  779. package/plugin/runtime/node_modules/yargs/build/lib/apply-extends.js +0 -65
  780. package/plugin/runtime/node_modules/yargs/build/lib/argsert.d.ts +0 -2
  781. package/plugin/runtime/node_modules/yargs/build/lib/argsert.js +0 -65
  782. package/plugin/runtime/node_modules/yargs/build/lib/command.d.ts +0 -64
  783. package/plugin/runtime/node_modules/yargs/build/lib/command.js +0 -416
  784. package/plugin/runtime/node_modules/yargs/build/lib/common-types.d.ts +0 -36
  785. package/plugin/runtime/node_modules/yargs/build/lib/common-types.js +0 -25
  786. package/plugin/runtime/node_modules/yargs/build/lib/completion-templates.d.ts +0 -2
  787. package/plugin/runtime/node_modules/yargs/build/lib/completion-templates.js +0 -50
  788. package/plugin/runtime/node_modules/yargs/build/lib/completion.d.ts +0 -21
  789. package/plugin/runtime/node_modules/yargs/build/lib/completion.js +0 -135
  790. package/plugin/runtime/node_modules/yargs/build/lib/is-promise.d.ts +0 -1
  791. package/plugin/runtime/node_modules/yargs/build/lib/is-promise.js +0 -9
  792. package/plugin/runtime/node_modules/yargs/build/lib/levenshtein.d.ts +0 -1
  793. package/plugin/runtime/node_modules/yargs/build/lib/levenshtein.js +0 -58
  794. package/plugin/runtime/node_modules/yargs/build/lib/middleware.d.ts +0 -10
  795. package/plugin/runtime/node_modules/yargs/build/lib/middleware.js +0 -57
  796. package/plugin/runtime/node_modules/yargs/build/lib/obj-filter.d.ts +0 -1
  797. package/plugin/runtime/node_modules/yargs/build/lib/obj-filter.js +0 -14
  798. package/plugin/runtime/node_modules/yargs/build/lib/parse-command.d.ts +0 -11
  799. package/plugin/runtime/node_modules/yargs/build/lib/parse-command.js +0 -36
  800. package/plugin/runtime/node_modules/yargs/build/lib/process-argv.d.ts +0 -2
  801. package/plugin/runtime/node_modules/yargs/build/lib/process-argv.js +0 -31
  802. package/plugin/runtime/node_modules/yargs/build/lib/usage.d.ts +0 -49
  803. package/plugin/runtime/node_modules/yargs/build/lib/usage.js +0 -540
  804. package/plugin/runtime/node_modules/yargs/build/lib/validation.d.ts +0 -34
  805. package/plugin/runtime/node_modules/yargs/build/lib/validation.js +0 -330
  806. package/plugin/runtime/node_modules/yargs/build/lib/yargs.d.ts +0 -274
  807. package/plugin/runtime/node_modules/yargs/build/lib/yargs.js +0 -1190
  808. package/plugin/runtime/node_modules/yargs/build/lib/yerror.d.ts +0 -4
  809. package/plugin/runtime/node_modules/yargs/build/lib/yerror.js +0 -11
  810. package/plugin/runtime/node_modules/yargs/index.js +0 -40
  811. package/plugin/runtime/node_modules/yargs/locales/be.json +0 -46
  812. package/plugin/runtime/node_modules/yargs/locales/de.json +0 -46
  813. package/plugin/runtime/node_modules/yargs/locales/en.json +0 -51
  814. package/plugin/runtime/node_modules/yargs/locales/es.json +0 -46
  815. package/plugin/runtime/node_modules/yargs/locales/fi.json +0 -49
  816. package/plugin/runtime/node_modules/yargs/locales/fr.json +0 -53
  817. package/plugin/runtime/node_modules/yargs/locales/hi.json +0 -49
  818. package/plugin/runtime/node_modules/yargs/locales/hu.json +0 -46
  819. package/plugin/runtime/node_modules/yargs/locales/id.json +0 -50
  820. package/plugin/runtime/node_modules/yargs/locales/it.json +0 -46
  821. package/plugin/runtime/node_modules/yargs/locales/ja.json +0 -51
  822. package/plugin/runtime/node_modules/yargs/locales/ko.json +0 -49
  823. package/plugin/runtime/node_modules/yargs/locales/nb.json +0 -44
  824. package/plugin/runtime/node_modules/yargs/locales/nl.json +0 -49
  825. package/plugin/runtime/node_modules/yargs/locales/nn.json +0 -44
  826. package/plugin/runtime/node_modules/yargs/locales/pirate.json +0 -13
  827. package/plugin/runtime/node_modules/yargs/locales/pl.json +0 -49
  828. package/plugin/runtime/node_modules/yargs/locales/pt.json +0 -45
  829. package/plugin/runtime/node_modules/yargs/locales/pt_BR.json +0 -48
  830. package/plugin/runtime/node_modules/yargs/locales/ru.json +0 -46
  831. package/plugin/runtime/node_modules/yargs/locales/th.json +0 -46
  832. package/plugin/runtime/node_modules/yargs/locales/tr.json +0 -48
  833. package/plugin/runtime/node_modules/yargs/locales/zh_CN.json +0 -48
  834. package/plugin/runtime/node_modules/yargs/locales/zh_TW.json +0 -47
  835. package/plugin/runtime/node_modules/yargs/package.json +0 -92
  836. package/plugin/runtime/node_modules/yargs/yargs.js +0 -14
  837. package/plugin/runtime/node_modules/yargs-parser/CHANGELOG.md +0 -601
  838. package/plugin/runtime/node_modules/yargs-parser/LICENSE.txt +0 -14
  839. package/plugin/runtime/node_modules/yargs-parser/README.md +0 -449
  840. package/plugin/runtime/node_modules/yargs-parser/index.js +0 -1032
  841. package/plugin/runtime/node_modules/yargs-parser/lib/tokenize-arg-string.js +0 -40
  842. package/plugin/runtime/node_modules/yargs-parser/package.json +0 -46
  843. package/plugin/runtime/package-lock.json +0 -447
  844. package/plugin/runtime/package.json +0 -13
package/README.md CHANGED
@@ -4,13 +4,13 @@
4
4
 
5
5
  ## 环境
6
6
 
7
- 当前验证macOS、Hermes 0.22.5(固定源码bf0203a794a07aac3ff764972ab9087baa4e4f4e)和Node.js >=22.13。其它发行或核心文件变化会被插件兼容门禁拒绝。官方固定兼容告警保留,不声明零内部API依赖。请先完成Hermes设置及可用模型登录;依赖环境损坏时先运行hermes pm repair。
7
+ 支持 macOS 和 Linux,使用 Hermes 0.22.5(固定源码bf0203a794a07aac3ff764972ab9087baa4e4f4e)和Node.js >=22.13。其它发行或核心文件变化会被插件兼容门禁拒绝。官方固定兼容告警保留,不声明零内部API依赖。请先完成Hermes设置及可用模型登录;依赖环境损坏时先运行hermes pm repair。官方校验确认 Hermes 的 Python 3.14 环境已满足插件固定依赖时,安装沿用现有依赖环境;其它情况保留标准依赖安装。
8
8
 
9
9
  ## 使用与数据
10
10
 
11
- 运行本包默认命令即可安装并配对;可选--profile指定已有配置,--hermes指定CLI路径。只使用Hermes公开插件、配置和网关命令;不使用旧独立canonical客户端。官方在途任务及监督器保护保持,不带--all、--force或--yes重启网关。
11
+ 运行本包默认命令即可安装并配对;可选--profile指定已有配置,--hermes指定CLI路径。--public-access on|off用于本次明确选择公网准备;省略时保留原值,包括来源不明的旧false。固定版本的 Linux 默认配置可复用发行时的源码检查,并在本机执行注册、冲突与信任检查。安装器通过该版本 Hermes CLI 内部的安装、配置和网关入口批量操作;其它配置沿用逐项 CLI 流程。官方在途任务及监督器保护保持,不带--all、--force或--yes重启网关。
12
12
 
13
- 已有模型配置、允许用户、Node路径、数据目录和服务身份保留。已有允许用户不含owner时先明确修复授权。全新服务准备LAN监听,并沿标准插件默认准备FridayTunnel网关待机;已有监听、显式公网开关和私有配置不重置。旧安装器写入但没有来源标记的false保守保留,需要用户明确配置选择后才启用。网关待机不代表用户权益、grant、隧道在线或模型就绪。安装记录与私有备份保留在当前Hermes配置目录的.fridaynext-installer下。失败会标为未完成,保留备份供修复;不会声称已回滚运行中的服务,也不取消任务或清除数据。安装器更新时重新运行发行命令;Hermes登记本机包来源,不声称官方catalog自动更新。
13
+ 已有模型配置、允许用户、Node路径、数据目录和服务身份保留。已有允许用户不含owner时先明确修复授权。全新服务准备LAN监听,并沿标准插件默认准备FridayTunnel网关待机;已有监听、显式公网开关和私有配置不重置。旧安装器写入但没有来源标记的false保守保留,需要用户明确配置选择后才启用。网关待机不代表用户权益、grant、隧道在线或模型就绪。安装记录与私有备份保留在当前Hermes配置目录的.fridaynext-installer下,config-origins.json只记录值摘要与来源,不保存配置/凭据明文;来源记录损坏或写入失败时停止并保留未完成状态,不猜用户意图。失败不会声称已回滚运行中的服务,也不取消任务或清除数据。安装器更新时重新运行发行命令;Hermes登记本机包来源,不声称官方catalog自动更新。
14
14
 
15
15
  ## 配对与手动连接
16
16
 
@@ -0,0 +1,84 @@
1
+ import fs from 'node:fs';
2
+ import path from 'node:path';
3
+ import { createHash, randomUUID } from 'node:crypto';
4
+
5
+ const origins = new Set(['unset', 'unattributed', 'installer-default', 'installer-action', 'explicit']);
6
+ const hash = value => createHash('sha256').update(JSON.stringify(value)).digest('hex');
7
+ const isHash = value => typeof value === 'string' && /^[a-f0-9]{64}$/.test(value);
8
+ const problem = (code, message) => Object.assign(new Error(message), { code });
9
+
10
+ /// 安装配置的通用来源合同;读写由宿主公开入口注入,元数据不保存配置或凭据明文。
11
+ export class InstallerConfig {
12
+ constructor({ file, profileRoot, sourceHash, read, write }) {
13
+ Object.assign(this, { file, profileRoot, sourceHash, read, set: write });
14
+ this.entries = Object.create(null);
15
+ let stat;
16
+ try { stat = fs.lstatSync(file); }
17
+ catch (error) { if (error.code === 'ENOENT') return; throw problem('CONFIG_PROVENANCE_UNREADABLE', '无法读取安装配置来源记录。'); }
18
+ if (!stat.isFile() || stat.isSymbolicLink()) throw problem('CONFIG_PROVENANCE_UNSAFE', '安装配置来源记录必须是本机普通文件。');
19
+ try {
20
+ if (stat.size > 1024 * 1024) throw new Error('记录过大');
21
+ const saved = JSON.parse(fs.readFileSync(file, 'utf8'));
22
+ if (saved.version !== 1 || saved.profileRoot !== profileRoot || !saved.entries || typeof saved.entries !== 'object' || Array.isArray(saved.entries)) throw new Error('来源范围不符');
23
+ for (const [key, entry] of Object.entries(saved.entries)) {
24
+ if (!entry || !origins.has(entry.origin) || !isHash(entry.valueHash)
25
+ || (entry.sourceHash !== undefined && !isHash(entry.sourceHash))
26
+ || (entry.pending && (!origins.has(entry.pending.origin) || !isHash(entry.pending.valueHash) || !isHash(entry.pending.sourceHash)))) throw new Error('来源格式不符');
27
+ this.entries[key] = entry;
28
+ }
29
+ } catch { throw problem('CONFIG_PROVENANCE_UNREADABLE', '安装配置来源记录损坏或不属于当前Hermes配置,请先核对备份。'); }
30
+ }
31
+
32
+ observe(key, value) {
33
+ const valueHash = hash(value), previous = this.entries[key];
34
+ // 同值本身不能证明来源。只有已有完整记录且指纹未变时才保留原来源;未完成写入保守降级。
35
+ this.entries[key] = value === null ? { origin: 'unset', valueHash }
36
+ : previous && !previous.pending && previous.valueHash === valueHash ? previous
37
+ : { origin: 'unattributed', valueHash };
38
+ }
39
+
40
+ save() {
41
+ const temporary = path.join(path.dirname(this.file), '.config-origins-' + randomUUID() + '.tmp');
42
+ let fd;
43
+ try {
44
+ fd = fs.openSync(temporary, 'wx', 0o600);
45
+ fs.writeFileSync(fd, JSON.stringify({ version: 1, profileRoot: this.profileRoot, entries: this.entries }, null, 2) + '\n');
46
+ fs.fsyncSync(fd); fs.closeSync(fd); fd = undefined;
47
+ fs.renameSync(temporary, this.file);
48
+ } catch { throw problem('CONFIG_PROVENANCE_WRITE_FAILED', '安装配置来源记录未能保存,请检查电脑磁盘后重试。'); }
49
+ finally {
50
+ if (fd !== undefined) try { fs.closeSync(fd); } catch {}
51
+ try { fs.unlinkSync(temporary); } catch {}
52
+ }
53
+ }
54
+
55
+ writeBatch(changes, applyAndRead) {
56
+ const changed = changes.filter(([key, value]) => this.entries[key].valueHash !== hash(value));
57
+ if (changed.length) {
58
+ for (const [key, value, origin] of changed) {
59
+ this.entries[key].pending = { origin, valueHash: hash(value), sourceHash: this.sourceHash };
60
+ }
61
+ this.save();
62
+ }
63
+ const actual = applyAndRead(changed.map(([key, value]) => [key, value]));
64
+ for (const [key, value] of changes) {
65
+ if (hash(actual[key]) !== hash(value)) throw problem('CONFIG_READBACK_MISMATCH', 'Hermes 配置写入结果尚未确认。');
66
+ }
67
+ for (const [key, value, origin] of changes) {
68
+ this.entries[key] = { origin, valueHash: hash(value), sourceHash: this.sourceHash };
69
+ }
70
+ this.save();
71
+ }
72
+
73
+ write(key, value, origin, previous) {
74
+ const valueHash = hash(value);
75
+ if (hash(previous) !== valueHash) {
76
+ this.entries[key] = { ...this.entries[key], pending: { origin, valueHash, sourceHash: this.sourceHash } };
77
+ this.save();
78
+ this.set(key, value);
79
+ if (hash(this.read(key)) !== valueHash) throw problem('CONFIG_READBACK_MISMATCH', 'Hermes配置写入结果尚未确认,请在电脑核对后重试。');
80
+ }
81
+ this.entries[key] = { origin, valueHash, sourceHash: this.sourceHash };
82
+ this.save();
83
+ }
84
+ }
@@ -0,0 +1,95 @@
1
+ """固定 Hermes 0.22.5 源码安装的配置入口。解释器由该宿主自己的启动器解析。"""
2
+ import json
3
+ import os
4
+ import sys
5
+ from pathlib import Path
6
+ from contextlib import redirect_stdout, redirect_stderr
7
+ from io import StringIO
8
+
9
+ root, action, *args = sys.argv[1:]
10
+ sys.path.insert(0, root)
11
+ import hermes_bootstrap
12
+ from hermes_cli import config
13
+
14
+ def get_value(key):
15
+ output, error = StringIO(), StringIO()
16
+ try:
17
+ with redirect_stdout(output), redirect_stderr(error):
18
+ config.get_config_value(key, as_json=True)
19
+ except SystemExit as exc:
20
+ if exc.code == 1 and "Config key not set:" in error.getvalue():
21
+ return None
22
+ raise
23
+ return json.loads(output.getvalue())
24
+
25
+
26
+ def snapshot():
27
+ return {"settings": get_value("platforms.fridaynext"), "allowed": get_value("FRIDAYNEXT_ALLOWED_USERS")}
28
+
29
+
30
+ def running():
31
+ from hermes_constants import get_hermes_home
32
+ from gateway.status import live_gateway_pid_for_home
33
+
34
+ return live_gateway_pid_for_home(Path(get_hermes_home())) is not None
35
+
36
+
37
+ def in_child(operation):
38
+ # 写入和安装在子进程完成,随后由未加载写入值的父进程读回磁盘。
39
+ pid = os.fork()
40
+ if pid == 0:
41
+ try:
42
+ with redirect_stdout(sys.stderr):
43
+ operation()
44
+ except SystemExit as exc:
45
+ os._exit(0 if exc.code is None else int(exc.code))
46
+ except Exception as exc:
47
+ print(f'Hermes 操作异常:{type(exc).__name__}', file=sys.stderr, flush=True)
48
+ os._exit(1)
49
+ os._exit(0)
50
+ if os.waitpid(pid, 0)[1] != 0:
51
+ raise RuntimeError("Hermes 安装或配置写入失败")
52
+
53
+
54
+ if action == "inspect":
55
+ from importlib.metadata import version
56
+ from hermes_constants import get_default_hermes_root, get_hermes_home
57
+
58
+ # 源码静态检查已绑定发行包。真正的注册、宿主词表冲突与信任声明仍由本机解释器核对。
59
+ from hermes_cli.plugin_validate import (
60
+ ValidationReport, _check_capabilities, _check_builtin_collisions, _check_trusted_inbound,
61
+ )
62
+ import hermes_yaml
63
+
64
+ source = Path(args[0])
65
+ manifest = hermes_yaml.safe_load((source / "plugin.yaml").read_text(encoding="utf-8"))
66
+ report = ValidationReport()
67
+ recorded = _check_capabilities(report, manifest, source)
68
+ _check_builtin_collisions(report, manifest, recorded)
69
+ _check_trusted_inbound(report, recorded)
70
+ if not report.ok or report.warnings:
71
+ sys.exit(1)
72
+ print(json.dumps(dict(config=str(config.get_config_path()), env=str(config.get_env_path()),
73
+ snapshot=snapshot(), websockets=version("websockets"), python=list(sys.version_info[:2]),
74
+ defaultHome=get_hermes_home().resolve() == Path(get_default_hermes_root()).resolve())))
75
+ elif action == "install":
76
+ from hermes_cli.plugins_cmd_install import cmd_install
77
+
78
+ in_child(lambda: cmd_install(args[0], force=True, enable=True, yes_deps=True, brief=True))
79
+ print(json.dumps(snapshot()))
80
+ elif action == "ensure":
81
+ from types import SimpleNamespace
82
+ from hermes_cli.gateway_runtime_cli import cmd_gateway_ensure
83
+
84
+ cmd_gateway_ensure(SimpleNamespace(timeout=60))
85
+ elif action == "verify":
86
+ print(json.dumps(dict(snapshot=snapshot(), running=running())))
87
+ elif action == "apply":
88
+ def write_values():
89
+ for key, value in json.loads(args[0]):
90
+ config.set_config_value(key, value if isinstance(value, str) else json.dumps(value))
91
+
92
+ in_child(write_values)
93
+ print(json.dumps(dict(snapshot=snapshot(), running=running())))
94
+ else:
95
+ raise ValueError("未知的安装操作")
@@ -2,7 +2,8 @@ import fs from 'node:fs';
2
2
  import path from 'node:path';
3
3
  import { createHash, randomUUID } from 'node:crypto';
4
4
  import { spawnSync } from 'node:child_process';
5
- import { pathToFileURL } from 'node:url';
5
+ import { fileURLToPath, pathToFileURL } from 'node:url';
6
+ import { InstallerConfig } from './install-config.js';
6
7
 
7
8
  export class InstallationError extends Error {
8
9
  constructor(code, message) { super(message); this.code = code; }
@@ -23,7 +24,7 @@ function canonicalDestination(value) {
23
24
  return path.join(fs.realpathSync(current), ...suffix);
24
25
  }
25
26
 
26
- function fingerprint(root) {
27
+ export function fingerprint(root, installedManifest = fs.readFileSync(path.join(root, 'plugin.yaml'))) {
27
28
  const hash = createHash('sha256');
28
29
  const visit = (directory, prefix = '') => {
29
30
  for (const name of fs.readdirSync(directory).sort()) {
@@ -35,7 +36,7 @@ function fingerprint(root) {
35
36
  } else if (stat.isSymbolicLink()) {
36
37
  hash.update(JSON.stringify([relative, 'link', fs.readlinkSync(file)]) + '\n');
37
38
  } else if (stat.isFile()) {
38
- const bytes = fs.readFileSync(file);
39
+ const bytes = relative === 'plugin.yaml' ? installedManifest : fs.readFileSync(file);
39
40
  hash.update(JSON.stringify([relative, 'file', bytes.length]) + '\n');
40
41
  hash.update(bytes);
41
42
  }
@@ -46,16 +47,44 @@ function fingerprint(root) {
46
47
  return hash.digest('hex');
47
48
  }
48
49
 
49
- /// 只通过公开Hermes CLI安装标准插件;不执行旧canonical管理器,也不初始化或擦除服务数据。
50
+ const revision = 'bf0203a794a07aac3ff764972ab9087baa4e4f4e';
51
+ const hostHelper = fileURLToPath(new URL('./install-host.py', import.meta.url));
52
+ const hostCommand = (root, action, ...args) => ['-I', hostHelper, root, action, ...args];
53
+
54
+ // 只复用同一发行闭包、固定版干净宿主的校验。其它安装仍通过现场 CLI。
55
+ function certifiedHost({ versionOutput, source, releaseBundle, hermes, run, env }) {
56
+ const proof = path.join(path.dirname(releaseBundle ?? source), 'validation.json');
57
+ if (!/local bf0203a794a0\b/.test(versionOutput) || !fs.existsSync(proof)) return;
58
+ const root = versionOutput.match(/^Install directory: (.+)$/m)?.[1];
59
+ if (!root || !path.isAbsolute(root)) return;
60
+ const options = { env, encoding: 'utf8', timeout: 30_000 };
61
+ const sha = run('git', ['-C', root, 'rev-parse', 'HEAD'], options);
62
+ if (sha.status !== 0 || sha.stdout?.trim() !== revision) return;
63
+ if (run('git', ['-C', root, 'diff', '--quiet', 'HEAD', '--'], options).status !== 0) return;
64
+ const receipt = JSON.parse(fs.readFileSync(proof, 'utf8'));
65
+ if (receipt.hash !== fingerprint(source) || receipt.report?.ok !== true) return;
66
+ const resolved = run(hermes, ['--print-runtime-command'], options);
67
+ if (resolved.status !== 0) return;
68
+ const [python] = JSON.parse(resolved.stdout);
69
+ if (typeof python !== 'string' || !path.isAbsolute(python)) return;
70
+ const inspected = run(python, hostCommand(root, 'inspect', source), options);
71
+ if (inspected.status !== 0) return;
72
+ const info = JSON.parse(inspected.stdout);
73
+ if (!info.defaultHome || info.python?.join('.') !== '3.14' || info.websockets !== '15.0.1') return;
74
+ return { root, python, receipt, info };
75
+ }
76
+
77
+ // 通过宿主安装标准插件。固定版本可复用同一组安装、配置和网关实现。
50
78
  export function installAndPair(options) {
51
79
  const { source, hermes = 'hermes', profile, env = process.env, platform = process.platform,
52
80
  nodeVersion = process.versions.node,
53
- run = (file, args, opts) => spawnSync(file, args, opts), progress = () => {} } = options;
81
+ run = (file, args, opts) => spawnSync(file, args, opts), progress = () => {}, publicAccess } = options;
82
+ if (publicAccess !== undefined && typeof publicAccess !== 'boolean') throw new InstallationError('PUBLIC_ACCESS_CHOICE_INVALID', '公网准备选项必须为on或off。');
54
83
  const parts = nodeVersion.split('.').map(Number);
55
84
  if (!Number.isInteger(parts[0]) || !Number.isInteger(parts[1]) || parts[0] < 22 || (parts[0] === 22 && parts[1] < 13)) {
56
85
  throw new InstallationError('NODE_VERSION_UNSUPPORTED', '需要Node.js 22.13或更高版本。');
57
86
  }
58
- if (platform !== 'darwin') throw new InstallationError('PLATFORM_UNVERIFIED', '当前安装器已验证macOS;其他系统请使用经验证的安装说明。');
87
+ if (platform !== 'darwin' && platform !== 'linux') throw new InstallationError('PLATFORM_UNVERIFIED', '当前安装器支持 macOS 和 Linux;请在支持的系统上运行。');
59
88
  if (!fs.existsSync(path.join(source, 'plugin.yaml'))) throw new InstallationError('PACKAGE_MISSING', '缺少标准插件安装包,请使用完整发行包。');
60
89
  const manifest = fs.readFileSync(path.join(source, 'plugin.yaml'), 'utf8');
61
90
  if (!/^name:\s*fridaynext\s*$/m.test(manifest) || !/^kind:\s*platform\s*$/m.test(manifest)) {
@@ -77,6 +106,36 @@ export function installAndPair(options) {
77
106
  return (result.stdout ?? '').trim();
78
107
  };
79
108
  const cli = (args, capture = true) => command(hermes, [...prefix, ...args], capture);
109
+ const platformKey = 'platforms.fridaynext';
110
+ const ownerKey = 'FRIDAYNEXT_ALLOWED_USERS';
111
+ const snapshot = values => {
112
+ const settings = values ? values.settings : get(platformKey);
113
+ if (settings !== null && (typeof settings !== 'object' || Array.isArray(settings))) {
114
+ throw new InstallationError('CONFIG_UNREADABLE', 'Hermes 未返回可验证的 FridayNext 平台配置。');
115
+ }
116
+ const allowed = values ? values.allowed : get(ownerKey);
117
+ if (allowed !== null && (typeof allowed !== 'string' || !allowed.split(',').map(x => x.trim()).includes('owner'))) {
118
+ throw new InstallationError('OWNER_AUTHORIZATION_REQUIRED', '现有允许用户配置未授权owner,请在Hermes确认授权后重试。');
119
+ }
120
+ return { allowed, dataDir: settings?.data_dir ?? null, node: settings?.node_bin ?? null,
121
+ enabled: settings?.enabled ?? null, publicAccess: settings?.public_access ?? null };
122
+ };
123
+ const validate = (checkDependency = false) => {
124
+ const result = run(hermes, [...prefix, 'plugins', 'validate', source, '--json'], {
125
+ env: { ...env, FRIDAYNEXT_INSTALL_CHECK_WEBSOCKETS: checkDependency ? '1' : '' },
126
+ encoding: 'utf8', timeout: 300_000, stdio: 'pipe' });
127
+ let report;
128
+ try { report = JSON.parse(result.stdout); } catch {}
129
+ if (!result.error && result.status === 0 && report?.ok === true) return report;
130
+ if (checkDependency && !result.error && result.status === 1 && report?.ok === false && Array.isArray(report.checks)) {
131
+ const failed = report.checks.filter(check => check.ok === false);
132
+ if (failed.length === 1 && failed[0].name === 'capability probe'
133
+ && failed[0].detail === 'import failed: FRIDAYNEXT_WEBSOCKETS_VERSION_MISMATCH') return null;
134
+ }
135
+ throw new InstallationError('COMMAND_FAILED', 'Hermes 插件校验未完成。已有数据未清理,请核对 Hermes 依赖或插件包后重试。');
136
+ };
137
+ let host;
138
+ const hostArgs = (action, ...args) => hostCommand(host.root, action, ...args);
80
139
  const get = key => {
81
140
  const result = run(hermes, [...prefix, 'config', 'get', key, '--json'], {
82
141
  env, encoding: 'utf8', timeout: 30_000, stdio: 'pipe' });
@@ -90,25 +149,36 @@ export function installAndPair(options) {
90
149
  };
91
150
 
92
151
  progress('检查 Hermes');
93
- const version = cli(['--version']).match(/^Hermes Agent v?(\d+\.\d+\.\d+)(?=\s|\(|$)/m)?.[1];
152
+ const versionOutput = cli(['--version']);
153
+ const version = versionOutput.match(/^Hermes Agent v?(\d+\.\d+\.\d+)(?=\s|\(|$)/m)?.[1];
94
154
  if (version !== '0.22.5') throw new InstallationError('HERMES_VERSION_UNSUPPORTED', '当前插件仅验证Hermes 0.22.5,请先核对兼容版本。');
95
- const configFile = cli(['config', 'path']);
96
- const envFile = cli(['config', 'env-path']);
155
+ if (platform === 'linux' && hermes === 'hermes' && !profile) {
156
+ host = certifiedHost({ versionOutput, source, releaseBundle: options.releaseBundle, hermes, run, env });
157
+ }
158
+ const configFile = host?.info.config ?? cli(['config', 'path']);
159
+ const envFile = host?.info.env ?? cli(['config', 'env-path']);
97
160
  if (!path.isAbsolute(configFile) || !path.isAbsolute(envFile) || !fs.existsSync(configFile)) {
98
161
  throw new InstallationError('HERMES_SETUP_REQUIRED', '请先在电脑完成Hermes设置,再运行安装命令。');
99
162
  }
100
163
  const home = fs.realpathSync(path.dirname(configFile)), target = canonicalDestination(path.join(home, 'plugins', 'fridaynext'));
101
- const configuredData = get('platforms.fridaynext.data_dir');
102
- const data = typeof configuredData === 'string' && path.isAbsolute(configuredData) ? canonicalDestination(configuredData) : configuredData;
103
- if (data && (typeof data !== 'string' || !path.isAbsolute(data) || path.resolve(data).startsWith(target + path.sep) || path.resolve(data) === target)) {
104
- throw new InstallationError('DATA_DIRECTORY_UNSAFE', '已有数据目录必须是插件目录之外的原绝对路径,请先核对配置。');
105
- }
106
- const allowed = get('FRIDAYNEXT_ALLOWED_USERS');
107
- if (allowed !== null && (typeof allowed !== 'string' || !allowed.split(',').map(x => x.trim()).includes('owner'))) {
108
- throw new InstallationError('OWNER_AUTHORIZATION_REQUIRED', '现有允许用户配置未授权owner,请在Hermes确认授权后重试。');
109
- }
110
- const node = get('platforms.fridaynext.node_bin');
111
- const validation = JSON.parse(cli(['plugins', 'validate', source, '--json']));
164
+ const readData = configured => {
165
+ const data = typeof configured === 'string' && path.isAbsolute(configured) ? canonicalDestination(configured) : configured;
166
+ if (data && (typeof data !== 'string' || !path.isAbsolute(data) || data.startsWith(target + path.sep) || data === target)) {
167
+ throw new InstallationError('DATA_DIRECTORY_UNSAFE', '已有数据目录必须是插件目录之外的原绝对路径,请先核对配置。');
168
+ }
169
+ return data || path.join(home, 'plugin-data', 'fridaynext', 'service');
170
+ };
171
+ const before = snapshot(host?.info.snapshot);
172
+ const service = readData(before.dataDir);
173
+ // Hermes 0.22.5 的 Python 3.14 基础环境已固定相同的依赖;用官方校验进程确认实际安装版本。
174
+ // 只移除唯一且完全相同的声明,保留旧 Python、不同环境和新增依赖的官方安装流程。
175
+ const withoutDependency = manifest.replace(/^python_dependencies:\r?\n - websockets==15\.0\.1\r?\n(?=\S|(?![\s\S]))/m, '');
176
+ const checkDependency = withoutDependency !== manifest && /^Python: 3\.14\.\d+[ \t]*\r?$/m.test(versionOutput);
177
+ const checked = host && checkDependency
178
+ ? host.receipt.report : validate(checkDependency);
179
+ const validation = checked ?? validate();
180
+ const skipDependencySync = checkDependency && checked !== null;
181
+ const installedManifest = Buffer.from(skipDependencySync ? withoutDependency : manifest);
112
182
  for (const warning of validation.warnings ?? []) {
113
183
  if (typeof warning !== 'string' || !warning.startsWith('private core imports')
114
184
  || [...warning.matchAll(/fridaynext_plugin\/[^:;\s]+\.py/g)].some(x => x[0] !== 'fridaynext_plugin/compat_v0225.py')) {
@@ -128,12 +198,26 @@ export function installAndPair(options) {
128
198
  fs.chmodSync(path.join(backup, name), name === 'plugin' ? 0o700 : 0o600);
129
199
  }
130
200
  }
131
- const receipt = { version: 1, state: 'prepared', profileRoot: home, backup, contentHash: fingerprint(source) };
201
+ const receipt = { version: 1, state: 'prepared', profileRoot: home, backup, contentHash: fingerprint(source, installedManifest) };
132
202
  const receiptFile = path.join(backup, 'receipt.json');
203
+ const configProvenanceFile = path.join(installer, 'config-origins.json');
204
+ receipt.configProvenanceFile = configProvenanceFile;
133
205
  const save = state => { receipt.state = state; fs.writeFileSync(receiptFile, JSON.stringify(receipt, null, 2) + '\n', { mode: 0o600 }); };
134
206
  save('prepared');
135
207
  try {
136
- const service = data || path.join(home, 'plugin-data', 'fridaynext', 'service');
208
+ const config = new InstallerConfig({ file: configProvenanceFile, profileRoot: home, sourceHash: receipt.contentHash,
209
+ read: get, write: (key, value) => {
210
+ const text = typeof value === 'string' ? value : JSON.stringify(value);
211
+ cli(['config', 'set', key, text], false);
212
+ } });
213
+ const observe = values => {
214
+ config.observe(ownerKey, values.allowed);
215
+ config.observe(platformKey + '.node_bin', values.node);
216
+ config.observe(platformKey + '.enabled', values.enabled);
217
+ config.observe(platformKey + '.public_access', values.publicAccess);
218
+ };
219
+ observe(before);
220
+ config.save();
137
221
  if (!fs.existsSync(service)) {
138
222
  // 新安装复用本组件相同的身份/进程锁实现准备LAN坐标;已有数据、token、TLS和监听策略均不重建。
139
223
  const identityModule = pathToFileURL(path.join(source, 'runtime/dist/identity.js')).href;
@@ -155,31 +239,79 @@ export function installAndPair(options) {
155
239
  const release = path.join(installer, 'releases', receipt.contentHash);
156
240
  if (!fs.existsSync(path.join(release, '.git'))) {
157
241
  fs.mkdirSync(path.dirname(release), { recursive: true, mode: 0o700 });
158
- fs.cpSync(source, release, { recursive: true, filter: file => !file.split(path.sep).includes('__pycache__') });
159
- const git = args => command('git', ['-C', release, '-c', 'core.hooksPath=/dev/null', '-c', 'commit.gpgSign=false', ...args]);
160
- git(['init', '--quiet']);
161
- git(['add', '--force', '.']);
162
- git(['-c', 'user.name=FridayNext Installer', '-c', 'user.email=installer@fridaynext.local', 'commit', '--quiet', '-m', 'FridayNext verified plugin package']);
242
+ if (options.releaseBundle && host && (!skipDependencySync || receipt.contentHash === host.receipt.optimizedHash)) {
243
+ const branch = skipDependencySync ? 'host-dependencies' : 'source';
244
+ // 该来源是本次私有临时检出。直接移入发布目录,避免在 eMMC 上创建并删除第二份树。
245
+ const git = args => command('git', ['-C', source, '-c', 'core.hooksPath=/dev/null', ...args]);
246
+ git(['checkout', '-q', '-B', 'installed', 'origin/' + branch]);
247
+ git(['remote', 'remove', 'origin']);
248
+ if (fingerprint(source) !== receipt.contentHash) throw new InstallationError('PACKAGE_INVALID', 'Git 归档内容与校验回执不符。');
249
+ try { fs.renameSync(source, release); }
250
+ catch (error) {
251
+ if (error.code !== 'EXDEV') throw error;
252
+ const staging = fs.mkdtempSync(path.join(path.dirname(release), '.install-'));
253
+ try {
254
+ fs.cpSync(source, staging, { recursive: true });
255
+ fs.renameSync(staging, release);
256
+ } finally { fs.rmSync(staging, {recursive: true, force: true}); }
257
+ }
258
+ } else {
259
+ fs.cpSync(source, release, { recursive: true, filter: file => !file.split(path.sep).some(part => part === '.git' || part === '__pycache__') });
260
+ if (skipDependencySync) fs.writeFileSync(path.join(release, 'plugin.yaml'), installedManifest);
261
+ const git = args => command('git', ['-C', release, '-c', 'core.hooksPath=/dev/null', '-c', 'commit.gpgSign=false', ...args]);
262
+ git(['init', '--quiet']);
263
+ git(['add', '--force', '.']);
264
+ git(['-c', 'user.name=FridayNext Installer', '-c', 'user.email=installer@fridaynext.local', 'commit', '--quiet', '-m', 'FridayNext verified plugin package']);
265
+ }
163
266
  }
164
267
  progress('安装标准插件');
165
- cli(['plugins', 'install', pathToFileURL(release).href, '--force', '--enable', '--yes-deps'], false);
166
- if (allowed === null) cli(['config', 'set', 'FRIDAYNEXT_ALLOWED_USERS', 'owner'], false);
167
- if (!node) cli(['config', 'set', 'platforms.fridaynext.node_bin', process.execPath], false);
168
- cli(['config', 'set', 'platforms.fridaynext.enabled', 'true'], false);
268
+ let installedValues;
269
+ if (host) installedValues = JSON.parse(command(host.python, hostArgs('install', pathToFileURL(release).href)));
270
+ else cli(['plugins', 'install', pathToFileURL(release).href, '--force', '--enable', '--yes-deps'], false);
271
+ // 官方安装可能写配置,等待期间用户也可能调整配置;写默认值前重新读取同一组设置。
272
+ const after = snapshot(installedValues);
273
+ if (readData(after.dataDir) !== service) {
274
+ throw new InstallationError('DATA_DIRECTORY_CHANGED', '安装期间 Hermes 数据目录已变更,请核对后重试。');
275
+ }
276
+ observe(after);
277
+ const changes = [];
278
+ if (after.allowed === null) changes.push([ownerKey, 'owner', 'installer-default', after.allowed]);
279
+ if (!after.node) changes.push([platformKey + '.node_bin', process.execPath, 'installer-default', after.node]);
280
+ if (publicAccess !== undefined) changes.push([platformKey + '.public_access', publicAccess, 'explicit', after.publicAccess]);
281
+ changes.push([platformKey + '.enabled', true, 'installer-action', after.enabled]);
282
+ let gatewayRunning;
283
+ if (host) {
284
+ config.writeBatch(changes, pairs => {
285
+ const reply = JSON.parse(command(host.python, hostArgs(pairs.length ? 'apply' : 'verify', JSON.stringify(pairs))));
286
+ gatewayRunning = reply.running;
287
+ const values = snapshot(reply.snapshot);
288
+ if (readData(values.dataDir) !== service) throw new InstallationError('DATA_DIRECTORY_CHANGED', '安装期间数据目录已变更。');
289
+ return { [ownerKey]: values.allowed, [platformKey + '.node_bin']: values.node,
290
+ [platformKey + '.enabled']: values.enabled, [platformKey + '.public_access']: values.publicAccess };
291
+ });
292
+ } else for (const change of changes) config.write(...change);
169
293
  save('installed');
170
294
  progress('启动或重载 Hermes 网关');
171
295
  // 不使用--all/--force/--yes;沿宿主的在途任务保护和监督器所有权处理。
172
- cli(['gateway', 'restart', '--detach'], false);
173
- cli(['gateway', 'ensure', '--json', '--timeout', '60']);
296
+ const needsRestart = !host || !receipt.newServicePrepared
297
+ || gatewayRunning !== false;
298
+ if (needsRestart) cli(['gateway', 'restart', '--detach'], false);
299
+ if (host) command(host.python, hostArgs('ensure'));
300
+ else cli(['gateway', 'ensure', '--json', '--timeout', '60']);
174
301
  save('gateway-ready');
175
302
  progress('生成配对码');
176
303
  const pairingFile = path.join(backup, 'pairing.json');
177
- cli(['fridaynext', 'pair', '--output', pairingFile], false);
304
+ if (host && !before.node && !after.node) {
305
+ command(process.execPath, [path.join(target, 'runtime/dist/plugin-control.js'), 'pair',
306
+ '--profile-root', home, '--data-dir', service, '--output', pairingFile]);
307
+ } else cli(['fridaynext', 'pair', '--output', pairingFile], false);
178
308
  if (!fs.existsSync(pairingFile) || !fs.existsSync(pairingFile.slice(0, -5) + '.png')) {
179
309
  throw new InstallationError('PAIRING_NOT_CREATED', '插件已安装,配对资料尚未生成。请检查Hermes网关后重试。');
180
310
  }
181
311
  save('paired');
182
- return { pairingFile, qrFile: pairingFile.slice(0, -5) + '.png', backup, receiptFile };
312
+ const compactFile = pairingFile.slice(0, -5) + '.code.txt';
313
+ return { runtimeRoot: path.join(target, 'runtime'), pairingFile, pairingCodeFile: fs.existsSync(compactFile) ? compactFile : pairingFile,
314
+ qrFile: pairingFile.slice(0, -5) + '.png', backup, receiptFile, configProvenanceFile };
183
315
  } catch (error) {
184
316
  receipt.lastCompletedState = receipt.state;
185
317
  receipt.errorCode = error.code ?? 'INSTALL_FAILED';
package/install.js CHANGED
@@ -1,32 +1,49 @@
1
1
  #!/usr/bin/env node
2
2
  import path from 'node:path';
3
3
  import fs from 'node:fs';
4
+ import os from 'node:os';
5
+ import { execFileSync } from 'node:child_process';
4
6
  import { fileURLToPath } from 'node:url';
5
- import QRCode from 'qrcode';
7
+ import { createRequire } from 'node:module';
6
8
  import { installAndPair } from './install-runtime.js';
7
9
 
8
10
  const args = process.argv.slice(2);
9
11
  if (args.includes('--help') || args.includes('-h')) {
10
- console.log('FridayNext Hermes 安装并配对\n默认安装Hermes标准平台插件、启动或重载网关并生成配对码。\n需要已配置的Hermes 0.22.5、macOS和Node.js >=22.13。\n选项:--profile 配置名 --hermes Hermes可执行文件');
12
+ console.log('FridayNext Hermes 安装并配对\n默认安装Hermes标准平台插件、启动或重载网关并生成配对码。\n需要 macOS 或 Linux、已配置的 Hermes 0.22.5 和 Node.js >=22.13。\n选项:--profile 配置名 --hermes Hermes可执行文件\n--public-access on|off 明确选择公网准备;省略时保留现有配置。');
11
13
  } else {
14
+ let scratch;
12
15
  try {
13
16
  const options = {};
14
17
  for (let i = 0; i < args.length; i += 2) {
15
- if (!['--profile', '--hermes'].includes(args[i]) || !args[i + 1] || args[i + 1].startsWith('--') || options[args[i]]) {
18
+ if (!['--profile', '--hermes', '--public-access'].includes(args[i]) || !args[i + 1] || args[i + 1].startsWith('--') || options[args[i]]) {
16
19
  throw new Error('未知或重复的安装选项,请使用--help。');
17
20
  }
18
21
  options[args[i]] = args[i + 1];
19
22
  }
23
+ if (options['--public-access'] !== undefined && !['on', 'off'].includes(options['--public-access'])) throw new Error('公网准备选项必须为on或off。');
20
24
  const root = path.dirname(fileURLToPath(import.meta.url));
21
- const result = installAndPair({ source: path.join(root, 'plugin'), profile: options['--profile'], hermes: options['--hermes'],
25
+ const bundle = path.join(root, 'plugin.bundle');
26
+ let source = path.join(root, 'plugin');
27
+ if (fs.existsSync(bundle)) {
28
+ scratch = fs.mkdtempSync(path.join(os.tmpdir(), 'fridaynext-install-'));
29
+ source = path.join(scratch, 'plugin');
30
+ execFileSync('git', ['-c', 'core.hooksPath=/dev/null', 'clone', '--quiet', '--branch', 'source', bundle, source]);
31
+ }
32
+ const result = installAndPair({ source, releaseBundle: scratch ? bundle : undefined, profile: options['--profile'], hermes: options['--hermes'],
33
+ publicAccess: options['--public-access'] === undefined ? undefined : options['--public-access'] === 'on',
22
34
  progress: message => console.log('› ' + message) });
23
- const payload = fs.readFileSync(result.pairingFile, 'utf8');
35
+ const payload = fs.readFileSync(result.pairingCodeFile ?? result.pairingFile, 'utf8');
24
36
  // 交互终端展示票据二维码;管道/日志只输出私有文件位置。
25
- if (process.stdout.isTTY) console.log(await QRCode.toString(payload, { type: 'terminal', small: true }));
37
+ if (process.stdout.isTTY) {
38
+ const QRCode = createRequire(path.join(result.runtimeRoot, 'package.json'))('qrcode');
39
+ console.log(await QRCode.toString(payload, { type: 'terminal', small: true, errorCorrectionLevel: 'L' }));
40
+ }
26
41
  console.log('在 FridayNext 中选择 Hermes 并扫描;相机不可用时,请按安装说明使用网关地址和令牌手动连接。');
27
42
  console.log('二维码图片:' + result.qrFile);
28
43
  } catch (error) {
29
44
  console.error('安装未完成:' + error.message);
30
45
  process.exitCode = 1;
46
+ } finally {
47
+ if (scratch) fs.rmSync(scratch, {recursive: true, force: true});
31
48
  }
32
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syengup/fridaynext-hermes-channel",
3
- "version": "0.1.0-beta.3",
3
+ "version": "0.1.0-beta.7",
4
4
  "type": "module",
5
5
  "description": "通过Hermes官方CLI安装FridayNext标准平台插件并生成配对码",
6
6
  "license": "UNLICENSED",
@@ -13,10 +13,11 @@
13
13
  "files": [
14
14
  "install.js",
15
15
  "install-runtime.js",
16
+ "install-config.js",
17
+ "install-host.py",
18
+ "validation.json",
19
+ "plugin.bundle",
16
20
  "plugin",
17
21
  "README.md"
18
- ],
19
- "dependencies": {
20
- "qrcode": "1.5.4"
21
- }
22
+ ]
22
23
  }
package/plugin.bundle ADDED
Binary file
@@ -0,0 +1 @@
1
+ {"hash":"5474fbc1b5b68cd372755b6cda875b0225cf914bca43e119af62ed5ae8cd606b","optimizedHash":"d1c8381ad0dfe8d1820446672c8a4bfb18505b49336391b244c66b90bf2b327a","report":{"ok":true,"warnings":["private core imports (catalog rule 9: public surfaces only; these can break on any release): fridaynext_plugin/compat_v0225.py:108 hermes_time.get_timezone; fridaynext_plugin/compat_v0225.py:190 tui_gateway.launch_profile_policy.owner_secret_scope; fridaynext_plugin/compat_v0225.py:191 cron.jobs; fridaynext_plugin/compat_v0225.py:192 cron.scheduler.create_job_with_scheduler_registration; fridaynext_plugin/compat_v0225.py:193 cron.scheduler_provider.resolve_cron_scheduler; fridaynext_plugin/compat_v0225.py:194 cron.blueprint_catalog.blueprint_form_schema; fridaynext_plugin/compat_v0225.py:225 cron.scheduler_delivery.cron_delivery_targets; fridaynext_plugin/compat_v0225.py:353 cron.executions.get_execution; fridaynext_plugin/compat_v0225.py:392 gateway.run_inbound.GatewayInboundMixin; fridaynext_plugin/compat_v0225.py:481 tools.tts_tool_delivery._resolve_max_text_length; and 64 more. Use ctx.* / documented plugin APIs, or open an issue for the seam you need."]}}
package/plugin/README.md DELETED
@@ -1,21 +0,0 @@
1
- # FridayNext Hermes 安装器(Beta)
2
-
3
- 默认入口安装FridayNext标准平台插件、启用并启动或重载Hermes网关,再生成配对资料。Node只承载通用Kit,执行仍由Hermes官方GatewayRunner处理。安装器不安装Hermes core。
4
-
5
- ## 环境
6
-
7
- 当前验证macOS、Hermes 0.22.5(固定源码bf0203a794a07aac3ff764972ab9087baa4e4f4e)和Node.js >=22.13。其它发行或核心文件变化会被插件兼容门禁拒绝。官方固定兼容告警保留,不声明零内部API依赖。请先完成Hermes设置及可用模型登录;依赖环境损坏时先运行hermes pm repair。
8
-
9
- ## 使用与数据
10
-
11
- 运行本包默认命令即可安装并配对;可选--profile指定已有配置,--hermes指定CLI路径。只使用Hermes公开插件、配置和网关命令;不使用旧独立canonical客户端。官方在途任务及监督器保护保持,不带--all、--force或--yes重启网关。
12
-
13
- 已有模型配置、允许用户、Node路径、数据目录和服务身份保留。已有允许用户不含owner时先明确修复授权。全新服务准备LAN监听,并沿标准插件默认准备FridayTunnel网关待机;已有监听、显式公网开关和私有配置不重置。旧安装器写入但没有来源标记的false保守保留,需要用户明确配置选择后才启用。网关待机不代表用户权益、grant、隧道在线或模型就绪。安装记录与私有备份保留在当前Hermes配置目录的.fridaynext-installer下。失败会标为未完成,保留备份供修复;不会声称已回滚运行中的服务,也不取消任务或清除数据。安装器更新时重新运行发行命令;Hermes登记本机包来源,不声称官方catalog自动更新。
14
-
15
- ## 配对与手动连接
16
-
17
- 交互终端显示一次性二维码,同时生成0600的私有PNG和JSON。管道/日志只输出文件位置。新码作废上一张,但不撤销已配对设备。二维码票据有时效且只能兑换一次,配对JSON不包含长期令牌。
18
-
19
- 相机不可用时,App可手动填地址和网关令牌:地址见本次私有配对JSON的lanUrl,令牌可在该服务数据目录的service-identity.json中于本机查看。默认数据目录为当前Hermes配置下plugin-data/fridaynext/service;已有platforms.fridaynext.data_dir时使用原目录。不要把模型API Key当网关令牌,也不要把上述私有文件发送到日志或聊天。
20
-
21
- 拒绝通知不影响聊天。模型登录、额度和运行结果与连接成功分开。FridayTunnel及其开通入口以实际能力与权益为准,本包不自动购买或开通公网服务。
@@ -1,3 +0,0 @@
1
- """FridayNext Hermes 插件入口。"""
2
-
3
- from .fridaynext_plugin import register