@zuplo/cli 7.6.9 → 7.6.10

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 (220) hide show
  1. package/node_modules/@inquirer/checkbox/package.json +3 -3
  2. package/node_modules/@inquirer/confirm/dist/index.js +1 -1
  3. package/node_modules/@inquirer/confirm/package.json +3 -3
  4. package/node_modules/@inquirer/core/dist/lib/create-prompt.js +66 -47
  5. package/node_modules/@inquirer/core/package.json +2 -2
  6. package/node_modules/@inquirer/editor/package.json +3 -3
  7. package/node_modules/@inquirer/expand/package.json +3 -3
  8. package/node_modules/@inquirer/input/package.json +3 -3
  9. package/node_modules/@inquirer/number/package.json +3 -3
  10. package/node_modules/@inquirer/password/package.json +3 -3
  11. package/node_modules/@inquirer/rawlist/package.json +3 -3
  12. package/node_modules/@inquirer/search/package.json +3 -3
  13. package/node_modules/@inquirer/select/package.json +3 -3
  14. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/index.d.ts +1 -2
  15. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +7 -11
  16. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +13 -16
  17. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +7 -11
  18. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +16 -19
  19. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +10 -16
  20. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +18 -21
  21. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwk/embedded.d.ts +3 -1
  22. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwk/thumbprint.d.ts +4 -6
  23. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwks/local.d.ts +5 -4
  24. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwks/remote.d.ts +20 -21
  25. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jws/compact/sign.d.ts +4 -4
  26. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jws/compact/verify.d.ts +8 -11
  27. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jws/flattened/sign.d.ts +5 -5
  28. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jws/flattened/verify.d.ts +8 -11
  29. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jws/general/sign.d.ts +10 -14
  30. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jws/general/verify.d.ts +11 -17
  31. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/decrypt.d.ts +14 -11
  32. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/encrypt.d.ts +24 -22
  33. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/sign.d.ts +3 -7
  34. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/unsecured.d.ts +2 -6
  35. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/verify.d.ts +13 -6
  36. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/key/export.d.ts +6 -6
  37. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/key/generate_key_pair.d.ts +9 -14
  38. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/key/generate_secret.d.ts +10 -10
  39. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/key/import.d.ts +19 -18
  40. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/types.d.ts +152 -247
  41. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/util/base64url.d.ts +7 -7
  42. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/util/decode_jwt.d.ts +6 -1
  43. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/util/decode_protected_header.d.ts +4 -3
  44. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/util/errors.d.ts +29 -40
  45. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +1 -2
  46. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +9 -26
  47. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +3 -3
  48. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +11 -30
  49. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwe/general/decrypt.js +6 -6
  50. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwe/general/encrypt.js +33 -57
  51. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwk/embedded.js +3 -4
  52. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwk/thumbprint.js +3 -6
  53. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwks/local.js +16 -10
  54. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwks/remote.js +2 -2
  55. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jws/compact/sign.js +2 -4
  56. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jws/compact/verify.js +2 -2
  57. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jws/flattened/sign.js +8 -15
  58. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jws/flattened/verify.js +4 -14
  59. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jws/general/sign.js +4 -11
  60. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jws/general/verify.js +5 -7
  61. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwt/decrypt.js +2 -3
  62. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwt/encrypt.js +11 -25
  63. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwt/sign.js +1 -1
  64. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwt/unsecured.js +1 -2
  65. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwt/verify.js +4 -4
  66. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/key/export.js +12 -16
  67. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/key/generate_key_pair.js +4 -13
  68. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/key/generate_secret.js +1 -1
  69. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/key/import.js +5 -9
  70. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/asn1.js +2 -4
  71. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/buffer_utils.js +35 -0
  72. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/content_encryption.js +21 -29
  73. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/deflate.js +9 -19
  74. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +0 -4
  75. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +21 -54
  76. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +26 -59
  77. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jws_sign.js +29 -43
  78. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jws_verify.js +37 -45
  79. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +1 -1
  80. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/key.js +119 -59
  81. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/key_management.js +45 -80
  82. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/{options.js → validate.js} +64 -3
  83. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/util/base64url.js +5 -19
  84. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/util/decode_jwt.js +1 -1
  85. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/util/decode_protected_header.js +1 -1
  86. package/node_modules/@modelcontextprotocol/client/node_modules/jose/package.json +1 -1
  87. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/index.d.ts +1 -2
  88. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +7 -11
  89. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +13 -16
  90. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +7 -11
  91. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +16 -19
  92. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +10 -16
  93. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +18 -21
  94. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwk/embedded.d.ts +3 -1
  95. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwk/thumbprint.d.ts +4 -6
  96. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwks/local.d.ts +5 -4
  97. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwks/remote.d.ts +20 -21
  98. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jws/compact/sign.d.ts +4 -4
  99. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jws/compact/verify.d.ts +8 -11
  100. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jws/flattened/sign.d.ts +5 -5
  101. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jws/flattened/verify.d.ts +8 -11
  102. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jws/general/sign.d.ts +10 -14
  103. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jws/general/verify.d.ts +11 -17
  104. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/decrypt.d.ts +14 -11
  105. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/encrypt.d.ts +24 -22
  106. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/sign.d.ts +3 -7
  107. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/unsecured.d.ts +2 -6
  108. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/verify.d.ts +13 -6
  109. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/key/export.d.ts +6 -6
  110. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/key/generate_key_pair.d.ts +9 -14
  111. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/key/generate_secret.d.ts +10 -10
  112. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/key/import.d.ts +19 -18
  113. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/types.d.ts +152 -247
  114. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/util/base64url.d.ts +7 -7
  115. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/util/decode_jwt.d.ts +6 -1
  116. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/util/decode_protected_header.d.ts +4 -3
  117. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/util/errors.d.ts +29 -40
  118. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +1 -2
  119. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +9 -26
  120. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +3 -3
  121. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +11 -30
  122. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwe/general/decrypt.js +6 -6
  123. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwe/general/encrypt.js +33 -57
  124. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwk/embedded.js +3 -4
  125. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwk/thumbprint.js +3 -6
  126. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwks/local.js +16 -10
  127. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwks/remote.js +2 -2
  128. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jws/compact/sign.js +2 -4
  129. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jws/compact/verify.js +2 -2
  130. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jws/flattened/sign.js +8 -15
  131. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jws/flattened/verify.js +4 -14
  132. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jws/general/sign.js +4 -11
  133. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jws/general/verify.js +5 -7
  134. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwt/decrypt.js +2 -3
  135. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwt/encrypt.js +11 -25
  136. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwt/sign.js +1 -1
  137. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwt/unsecured.js +1 -2
  138. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwt/verify.js +4 -4
  139. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/key/export.js +12 -16
  140. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/key/generate_key_pair.js +4 -13
  141. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/key/generate_secret.js +1 -1
  142. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/key/import.js +5 -9
  143. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/asn1.js +2 -4
  144. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/buffer_utils.js +35 -0
  145. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/content_encryption.js +21 -29
  146. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/deflate.js +9 -19
  147. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +0 -4
  148. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +21 -54
  149. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +26 -59
  150. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jws_sign.js +29 -43
  151. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jws_verify.js +37 -45
  152. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +1 -1
  153. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/key.js +119 -59
  154. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/key_management.js +45 -80
  155. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/{options.js → validate.js} +64 -3
  156. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/util/base64url.js +5 -19
  157. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/util/decode_jwt.js +1 -1
  158. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/util/decode_protected_header.js +1 -1
  159. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/package.json +1 -1
  160. package/node_modules/@posthog/core/dist/posthog-core.d.ts +14 -0
  161. package/node_modules/@posthog/core/dist/posthog-core.d.ts.map +1 -1
  162. package/node_modules/@posthog/core/dist/types.d.ts +1 -0
  163. package/node_modules/@posthog/core/dist/types.d.ts.map +1 -1
  164. package/node_modules/@posthog/core/dist/utils/index.d.ts +1 -0
  165. package/node_modules/@posthog/core/dist/utils/index.d.ts.map +1 -1
  166. package/node_modules/@posthog/core/dist/utils/index.js +26 -0
  167. package/node_modules/@posthog/core/dist/utils/index.mjs +1 -0
  168. package/node_modules/@posthog/core/dist/utils/webview-app-utils.d.ts +12 -0
  169. package/node_modules/@posthog/core/dist/utils/webview-app-utils.d.ts.map +1 -0
  170. package/node_modules/@posthog/core/dist/utils/webview-app-utils.js +132 -0
  171. package/node_modules/@posthog/core/dist/utils/webview-app-utils.mjs +94 -0
  172. package/node_modules/@posthog/core/package.json +2 -2
  173. package/node_modules/@posthog/core/src/featureFlagLocalEvaluation.ts +1 -1
  174. package/node_modules/@posthog/core/src/posthog-core.ts +14 -0
  175. package/node_modules/@posthog/core/src/types.ts +1 -0
  176. package/node_modules/@posthog/core/src/utils/index.ts +1 -0
  177. package/node_modules/@posthog/core/src/utils/otlp-any-value.spec.ts +1 -1
  178. package/node_modules/@posthog/core/src/utils/type-utils.ts +4 -4
  179. package/node_modules/@posthog/core/src/utils/webview-app-utils.spec.ts +118 -0
  180. package/node_modules/@posthog/core/src/utils/webview-app-utils.ts +49 -0
  181. package/node_modules/@posthog/types/dist/feature-flags.d.ts +1 -1
  182. package/node_modules/@posthog/types/dist/feature-flags.d.ts.map +1 -1
  183. package/node_modules/@posthog/types/dist/posthog-config.d.ts +7 -1
  184. package/node_modules/@posthog/types/dist/posthog-config.d.ts.map +1 -1
  185. package/node_modules/@posthog/types/package.json +1 -1
  186. package/node_modules/@posthog/types/src/feature-flags.ts +1 -1
  187. package/node_modules/@posthog/types/src/posthog-config.ts +7 -1
  188. package/node_modules/@posthog/types/src/tree-shakeable.ts +1 -1
  189. package/node_modules/@zuplo/core/package.json +1 -1
  190. package/node_modules/@zuplo/graphql/package.json +1 -1
  191. package/node_modules/@zuplo/openapi-tools/package.json +1 -1
  192. package/node_modules/@zuplo/otel/package.json +1 -1
  193. package/node_modules/@zuplo/runtime/out/esm/{chunk-Z3IKCP3N.js → chunk-R4PTES5B.js} +93 -93
  194. package/node_modules/@zuplo/runtime/out/esm/chunk-R4PTES5B.js.map +1 -0
  195. package/node_modules/@zuplo/runtime/out/esm/index.js +1 -1
  196. package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js +1 -1
  197. package/node_modules/@zuplo/runtime/package.json +1 -1
  198. package/package.json +11 -11
  199. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/base64.js +0 -20
  200. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/crypto_key.js +0 -27
  201. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/helpers.js +0 -45
  202. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/invalid_key_input.js +0 -12
  203. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/is_key_like.js +0 -19
  204. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwk_metadata.js +0 -19
  205. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/jwk_to_key.js +0 -10
  206. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/key_options.js +0 -8
  207. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/signing.js +0 -22
  208. package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/lib/type_checks.js +0 -30
  209. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/base64.js +0 -20
  210. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/crypto_key.js +0 -27
  211. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/helpers.js +0 -45
  212. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/invalid_key_input.js +0 -12
  213. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/is_key_like.js +0 -19
  214. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwk_metadata.js +0 -19
  215. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/jwk_to_key.js +0 -10
  216. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/key_options.js +0 -8
  217. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/signing.js +0 -22
  218. package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/lib/type_checks.js +0 -30
  219. package/node_modules/@zuplo/runtime/out/esm/chunk-Z3IKCP3N.js.map +0 -1
  220. /package/node_modules/@zuplo/runtime/out/esm/{chunk-Z3IKCP3N.js.LEGAL.txt → chunk-R4PTES5B.js.LEGAL.txt} +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zuplo/runtime",
3
3
  "type": "module",
4
- "version": "7.6.9",
4
+ "version": "7.6.10",
5
5
  "repository": "https://github.com/zuplo/zuplo",
6
6
  "author": "Zuplo, Inc.",
7
7
  "exports": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zuplo/cli",
3
- "version": "7.6.9",
3
+ "version": "7.6.10",
4
4
  "repository": "https://github.com/zuplo/zuplo",
5
5
  "author": "Zuplo, Inc.",
6
6
  "type": "module",
@@ -28,10 +28,10 @@
28
28
  "@opentelemetry/api": "1.9.0",
29
29
  "@opentelemetry/api-logs": "0.220.0",
30
30
  "@swc/core": "1.10.18",
31
- "@zuplo/core": "7.6.9",
31
+ "@zuplo/core": "7.6.10",
32
32
  "@zuplo/editor": "1.0.33162667821",
33
- "@zuplo/openapi-tools": "7.6.9",
34
- "@zuplo/runtime": "7.6.9",
33
+ "@zuplo/openapi-tools": "7.6.10",
34
+ "@zuplo/runtime": "7.6.10",
35
35
  "chalk": "5.4.1",
36
36
  "chokidar": "3.5.3",
37
37
  "cookie": "1.0.2",
@@ -62,15 +62,15 @@
62
62
  "workerd": "1.20241230.0",
63
63
  "yargs": "17.7.2",
64
64
  "zod": "4.4.3",
65
- "@zuplo/graphql": "7.6.9",
66
- "@zuplo/otel": "7.6.9"
65
+ "@zuplo/graphql": "7.6.10",
66
+ "@zuplo/otel": "7.6.10"
67
67
  },
68
68
  "optionalDependencies": {
69
- "@zuplo/lint-darwin-arm64": "7.6.9",
70
- "@zuplo/lint-darwin-x64": "7.6.9",
71
- "@zuplo/lint-linux-x64": "7.6.9",
72
- "@zuplo/lint-linux-arm64": "7.6.9",
73
- "@zuplo/lint-win32-x64": "7.6.9"
69
+ "@zuplo/lint-darwin-arm64": "7.6.10",
70
+ "@zuplo/lint-darwin-x64": "7.6.10",
71
+ "@zuplo/lint-linux-x64": "7.6.10",
72
+ "@zuplo/lint-linux-arm64": "7.6.10",
73
+ "@zuplo/lint-win32-x64": "7.6.10"
74
74
  },
75
75
  "bundleDependencies": [
76
76
  "@inquirer/prompts",
@@ -1,20 +0,0 @@
1
- function encodeBase64(input) {
2
- if (Uint8Array.prototype.toBase64)
3
- return input.toBase64();
4
- const CHUNK_SIZE = 32768, arr = [];
5
- for (let i = 0; i < input.length; i += CHUNK_SIZE)
6
- arr.push(String.fromCharCode.apply(null, input.subarray(i, i + CHUNK_SIZE)));
7
- return btoa(arr.join(""));
8
- }
9
- function decodeBase64(encoded) {
10
- if (Uint8Array.fromBase64)
11
- return Uint8Array.fromBase64(encoded);
12
- const binary = atob(encoded), bytes = new Uint8Array(binary.length);
13
- for (let i = 0; i < binary.length; i++)
14
- bytes[i] = binary.charCodeAt(i);
15
- return bytes;
16
- }
17
- export {
18
- decodeBase64,
19
- encodeBase64
20
- };
@@ -1,27 +0,0 @@
1
- const unusable = (name, prop = "algorithm.name") => new TypeError(`CryptoKey does not support this operation, its ${prop} must be ${name}`);
2
- function checkUsage(key, usage) {
3
- if (usage && !key.usages.includes(usage))
4
- throw new TypeError(`CryptoKey does not support this operation, its usages must include ${usage}.`);
5
- }
6
- function checkModulusLength(alg, key) {
7
- const { modulusLength } = key.algorithm;
8
- if (typeof modulusLength != "number" || modulusLength < 2048)
9
- throw new TypeError(`${alg} requires key modulusLength to be 2048 bits or larger`);
10
- }
11
- function checkCryptoKey(key, expected, usage) {
12
- const algorithm = key.algorithm;
13
- if (algorithm.name !== expected.name)
14
- throw unusable(expected.name);
15
- if (expected.hash && algorithm.hash?.name !== expected.hash)
16
- throw unusable(expected.hash, "algorithm.hash");
17
- if (expected.namedCurve && algorithm.namedCurve !== expected.namedCurve)
18
- throw unusable(expected.namedCurve, "algorithm.namedCurve");
19
- if (expected.length !== void 0 && algorithm.length !== expected.length)
20
- throw unusable(expected.length, "algorithm.length");
21
- checkUsage(key, usage);
22
- }
23
- export {
24
- checkCryptoKey,
25
- checkModulusLength,
26
- checkUsage
27
- };
@@ -1,45 +0,0 @@
1
- import { decode } from "../util/base64url.js";
2
- import { encode, strictDecoder } from "./buffer_utils.js";
3
- import { isObject } from "./type_checks.js";
4
- const unprotected = /* @__PURE__ */ Symbol();
5
- function assertNotSet(value, name) {
6
- if (value !== void 0)
7
- throw new TypeError(`${name} can only be called once`);
8
- }
9
- function decodeBase64url(value, label, ErrorClass) {
10
- try {
11
- return decode(value);
12
- } catch {
13
- throw new ErrorClass(`Failed to base64url decode the ${label}`);
14
- }
15
- }
16
- function encodeBase64url(value, label, ErrorClass) {
17
- try {
18
- return encode(value);
19
- } catch {
20
- throw new ErrorClass(`The ${label} is not a valid base64url string`);
21
- }
22
- }
23
- async function digest(algorithm, data) {
24
- const subtleDigest = `SHA-${algorithm.slice(-3)}`;
25
- return new Uint8Array(await crypto.subtle.digest(subtleDigest, data));
26
- }
27
- function parseJoseHeader(b64, ErrorClass, message) {
28
- let parsed;
29
- try {
30
- parsed = JSON.parse(strictDecoder.decode(decode(b64)));
31
- } catch {
32
- throw new ErrorClass(message);
33
- }
34
- if (!isObject(parsed))
35
- throw new ErrorClass(message);
36
- return parsed;
37
- }
38
- export {
39
- assertNotSet,
40
- decodeBase64url,
41
- digest,
42
- encodeBase64url,
43
- parseJoseHeader,
44
- unprotected
45
- };
@@ -1,12 +0,0 @@
1
- function message(msg, actual, ...types) {
2
- if (types.length > 2) {
3
- const last = types.pop();
4
- msg += `one of type ${types.join(", ")}, or ${last}.`;
5
- } else types.length === 2 ? msg += `one of type ${types[0]} or ${types[1]}.` : msg += `of type ${types[0]}.`;
6
- return actual == null ? msg += ` Received ${actual}` : typeof actual == "function" && actual.name ? msg += ` Received function ${actual.name}` : typeof actual == "object" && actual != null && actual.constructor?.name && (msg += ` Received an instance of ${actual.constructor.name}`), msg;
7
- }
8
- const invalidKeyInput = (actual, ...types) => message("Key must be ", actual, ...types), withAlg = (alg, actual, ...types) => message(`Key for the ${alg} algorithm must be `, actual, ...types);
9
- export {
10
- invalidKeyInput,
11
- withAlg
12
- };
@@ -1,19 +0,0 @@
1
- function assertCryptoKey(key) {
2
- if (!isCryptoKey(key))
3
- throw new Error("CryptoKey instance expected");
4
- }
5
- const isCryptoKey = (key) => {
6
- if (key?.[Symbol.toStringTag] === "CryptoKey")
7
- return !0;
8
- try {
9
- return key instanceof CryptoKey;
10
- } catch {
11
- return !1;
12
- }
13
- }, isKeyObject = (key) => key?.[Symbol.toStringTag] === "KeyObject", isKeyLike = (key) => isCryptoKey(key) || isKeyObject(key);
14
- export {
15
- assertCryptoKey,
16
- isCryptoKey,
17
- isKeyLike,
18
- isKeyObject
19
- };
@@ -1,19 +0,0 @@
1
- function snapshotJwk(jwk) {
2
- return { __proto__: null, ...jwk };
3
- }
4
- function normalizeJwk(jwk) {
5
- const normalized = snapshotJwk(jwk);
6
- if (normalized.ext !== void 0 && typeof normalized.ext != "boolean")
7
- throw new TypeError('"ext" (Extractable) Parameter must be a boolean');
8
- if (normalized.key_ops !== void 0) {
9
- const value = normalized.key_ops, keyOps = Array.isArray(value) ? [...value] : void 0;
10
- if (!keyOps || keyOps.some((operation) => typeof operation != "string") || new Set(keyOps).size !== keyOps.length)
11
- throw new TypeError('"key_ops" (Key Operations) Parameter must be an array of unique strings');
12
- normalized.key_ops = keyOps;
13
- }
14
- return normalized;
15
- }
16
- export {
17
- normalizeJwk,
18
- snapshotJwk
19
- };
@@ -1,10 +0,0 @@
1
- import { JOSENotSupported } from "../util/errors.js";
2
- async function jwkToKey(entry, jwk) {
3
- if (!entry.kty.includes(jwk.kty))
4
- throw new JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value');
5
- const algorithm = entry.resolve?.({ kty: jwk.kty, crv: jwk.crv }) ?? entry.subtle, isPrivate = !!(jwk.d || jwk.priv), keyData = { ...jwk };
6
- return keyData.kty !== "AKP" && delete keyData.alg, delete keyData.use, crypto.subtle.importKey("jwk", keyData, algorithm, jwk.ext ?? !isPrivate, jwk.key_ops ?? entry.usages[isPrivate ? 1 : 0]);
7
- }
8
- export {
9
- jwkToKey
10
- };
@@ -1,8 +0,0 @@
1
- function validateExtractableOption(extractable) {
2
- if (extractable !== void 0 && typeof extractable != "boolean")
3
- throw new TypeError('"extractable" option must be a boolean');
4
- return extractable;
5
- }
6
- export {
7
- validateExtractableOption
8
- };
@@ -1,22 +0,0 @@
1
- import { checkCryptoKey, checkModulusLength } from "./crypto_key.js";
2
- async function getSigKey(entry, key, usage) {
3
- return key instanceof Uint8Array ? crypto.subtle.importKey("raw", key, entry.subtle, !1, [
4
- usage
5
- ]) : (checkCryptoKey(key, entry.subtle, usage), entry.minRsaBits && checkModulusLength(entry.alg, key), key);
6
- }
7
- async function sign(entry, key, data) {
8
- const cryptoKey = await getSigKey(entry, key, "sign"), signature = await crypto.subtle.sign(entry.signing, cryptoKey, data);
9
- return new Uint8Array(signature);
10
- }
11
- async function verify(entry, key, signature, data) {
12
- const cryptoKey = await getSigKey(entry, key, "verify");
13
- try {
14
- return await crypto.subtle.verify(entry.signing, cryptoKey, signature, data);
15
- } catch {
16
- return !1;
17
- }
18
- }
19
- export {
20
- sign,
21
- verify
22
- };
@@ -1,30 +0,0 @@
1
- function assertUint8Array(input, label) {
2
- if (!(input instanceof Uint8Array))
3
- throw new TypeError(`${label} must be an instance of Uint8Array`);
4
- }
5
- function isObject(input) {
6
- if (typeof input != "object" || input === null || Object.prototype.toString.call(input) !== "[object Object]")
7
- return !1;
8
- const prototype = Object.getPrototypeOf(input);
9
- return prototype === null || Object.getPrototypeOf(prototype) === null;
10
- }
11
- function isJwkSet(input) {
12
- return isObject(input) && Array.isArray(input.keys) && Array.from(input.keys).every(isObject);
13
- }
14
- function isDisjoint(...headers) {
15
- const parameters = /* @__PURE__ */ new Set();
16
- for (const header of headers)
17
- if (header)
18
- for (const parameter of Object.keys(header)) {
19
- if (parameters.has(parameter))
20
- return !1;
21
- parameters.add(parameter);
22
- }
23
- return !0;
24
- }
25
- export {
26
- assertUint8Array,
27
- isDisjoint,
28
- isJwkSet,
29
- isObject
30
- };
@@ -1,20 +0,0 @@
1
- function encodeBase64(input) {
2
- if (Uint8Array.prototype.toBase64)
3
- return input.toBase64();
4
- const CHUNK_SIZE = 32768, arr = [];
5
- for (let i = 0; i < input.length; i += CHUNK_SIZE)
6
- arr.push(String.fromCharCode.apply(null, input.subarray(i, i + CHUNK_SIZE)));
7
- return btoa(arr.join(""));
8
- }
9
- function decodeBase64(encoded) {
10
- if (Uint8Array.fromBase64)
11
- return Uint8Array.fromBase64(encoded);
12
- const binary = atob(encoded), bytes = new Uint8Array(binary.length);
13
- for (let i = 0; i < binary.length; i++)
14
- bytes[i] = binary.charCodeAt(i);
15
- return bytes;
16
- }
17
- export {
18
- decodeBase64,
19
- encodeBase64
20
- };
@@ -1,27 +0,0 @@
1
- const unusable = (name, prop = "algorithm.name") => new TypeError(`CryptoKey does not support this operation, its ${prop} must be ${name}`);
2
- function checkUsage(key, usage) {
3
- if (usage && !key.usages.includes(usage))
4
- throw new TypeError(`CryptoKey does not support this operation, its usages must include ${usage}.`);
5
- }
6
- function checkModulusLength(alg, key) {
7
- const { modulusLength } = key.algorithm;
8
- if (typeof modulusLength != "number" || modulusLength < 2048)
9
- throw new TypeError(`${alg} requires key modulusLength to be 2048 bits or larger`);
10
- }
11
- function checkCryptoKey(key, expected, usage) {
12
- const algorithm = key.algorithm;
13
- if (algorithm.name !== expected.name)
14
- throw unusable(expected.name);
15
- if (expected.hash && algorithm.hash?.name !== expected.hash)
16
- throw unusable(expected.hash, "algorithm.hash");
17
- if (expected.namedCurve && algorithm.namedCurve !== expected.namedCurve)
18
- throw unusable(expected.namedCurve, "algorithm.namedCurve");
19
- if (expected.length !== void 0 && algorithm.length !== expected.length)
20
- throw unusable(expected.length, "algorithm.length");
21
- checkUsage(key, usage);
22
- }
23
- export {
24
- checkCryptoKey,
25
- checkModulusLength,
26
- checkUsage
27
- };
@@ -1,45 +0,0 @@
1
- import { decode } from "../util/base64url.js";
2
- import { encode, strictDecoder } from "./buffer_utils.js";
3
- import { isObject } from "./type_checks.js";
4
- const unprotected = /* @__PURE__ */ Symbol();
5
- function assertNotSet(value, name) {
6
- if (value !== void 0)
7
- throw new TypeError(`${name} can only be called once`);
8
- }
9
- function decodeBase64url(value, label, ErrorClass) {
10
- try {
11
- return decode(value);
12
- } catch {
13
- throw new ErrorClass(`Failed to base64url decode the ${label}`);
14
- }
15
- }
16
- function encodeBase64url(value, label, ErrorClass) {
17
- try {
18
- return encode(value);
19
- } catch {
20
- throw new ErrorClass(`The ${label} is not a valid base64url string`);
21
- }
22
- }
23
- async function digest(algorithm, data) {
24
- const subtleDigest = `SHA-${algorithm.slice(-3)}`;
25
- return new Uint8Array(await crypto.subtle.digest(subtleDigest, data));
26
- }
27
- function parseJoseHeader(b64, ErrorClass, message) {
28
- let parsed;
29
- try {
30
- parsed = JSON.parse(strictDecoder.decode(decode(b64)));
31
- } catch {
32
- throw new ErrorClass(message);
33
- }
34
- if (!isObject(parsed))
35
- throw new ErrorClass(message);
36
- return parsed;
37
- }
38
- export {
39
- assertNotSet,
40
- decodeBase64url,
41
- digest,
42
- encodeBase64url,
43
- parseJoseHeader,
44
- unprotected
45
- };
@@ -1,12 +0,0 @@
1
- function message(msg, actual, ...types) {
2
- if (types.length > 2) {
3
- const last = types.pop();
4
- msg += `one of type ${types.join(", ")}, or ${last}.`;
5
- } else types.length === 2 ? msg += `one of type ${types[0]} or ${types[1]}.` : msg += `of type ${types[0]}.`;
6
- return actual == null ? msg += ` Received ${actual}` : typeof actual == "function" && actual.name ? msg += ` Received function ${actual.name}` : typeof actual == "object" && actual != null && actual.constructor?.name && (msg += ` Received an instance of ${actual.constructor.name}`), msg;
7
- }
8
- const invalidKeyInput = (actual, ...types) => message("Key must be ", actual, ...types), withAlg = (alg, actual, ...types) => message(`Key for the ${alg} algorithm must be `, actual, ...types);
9
- export {
10
- invalidKeyInput,
11
- withAlg
12
- };
@@ -1,19 +0,0 @@
1
- function assertCryptoKey(key) {
2
- if (!isCryptoKey(key))
3
- throw new Error("CryptoKey instance expected");
4
- }
5
- const isCryptoKey = (key) => {
6
- if (key?.[Symbol.toStringTag] === "CryptoKey")
7
- return !0;
8
- try {
9
- return key instanceof CryptoKey;
10
- } catch {
11
- return !1;
12
- }
13
- }, isKeyObject = (key) => key?.[Symbol.toStringTag] === "KeyObject", isKeyLike = (key) => isCryptoKey(key) || isKeyObject(key);
14
- export {
15
- assertCryptoKey,
16
- isCryptoKey,
17
- isKeyLike,
18
- isKeyObject
19
- };
@@ -1,19 +0,0 @@
1
- function snapshotJwk(jwk) {
2
- return { __proto__: null, ...jwk };
3
- }
4
- function normalizeJwk(jwk) {
5
- const normalized = snapshotJwk(jwk);
6
- if (normalized.ext !== void 0 && typeof normalized.ext != "boolean")
7
- throw new TypeError('"ext" (Extractable) Parameter must be a boolean');
8
- if (normalized.key_ops !== void 0) {
9
- const value = normalized.key_ops, keyOps = Array.isArray(value) ? [...value] : void 0;
10
- if (!keyOps || keyOps.some((operation) => typeof operation != "string") || new Set(keyOps).size !== keyOps.length)
11
- throw new TypeError('"key_ops" (Key Operations) Parameter must be an array of unique strings');
12
- normalized.key_ops = keyOps;
13
- }
14
- return normalized;
15
- }
16
- export {
17
- normalizeJwk,
18
- snapshotJwk
19
- };
@@ -1,10 +0,0 @@
1
- import { JOSENotSupported } from "../util/errors.js";
2
- async function jwkToKey(entry, jwk) {
3
- if (!entry.kty.includes(jwk.kty))
4
- throw new JOSENotSupported('Invalid or unsupported JWK "alg" (Algorithm) Parameter value');
5
- const algorithm = entry.resolve?.({ kty: jwk.kty, crv: jwk.crv }) ?? entry.subtle, isPrivate = !!(jwk.d || jwk.priv), keyData = { ...jwk };
6
- return keyData.kty !== "AKP" && delete keyData.alg, delete keyData.use, crypto.subtle.importKey("jwk", keyData, algorithm, jwk.ext ?? !isPrivate, jwk.key_ops ?? entry.usages[isPrivate ? 1 : 0]);
7
- }
8
- export {
9
- jwkToKey
10
- };
@@ -1,8 +0,0 @@
1
- function validateExtractableOption(extractable) {
2
- if (extractable !== void 0 && typeof extractable != "boolean")
3
- throw new TypeError('"extractable" option must be a boolean');
4
- return extractable;
5
- }
6
- export {
7
- validateExtractableOption
8
- };
@@ -1,22 +0,0 @@
1
- import { checkCryptoKey, checkModulusLength } from "./crypto_key.js";
2
- async function getSigKey(entry, key, usage) {
3
- return key instanceof Uint8Array ? crypto.subtle.importKey("raw", key, entry.subtle, !1, [
4
- usage
5
- ]) : (checkCryptoKey(key, entry.subtle, usage), entry.minRsaBits && checkModulusLength(entry.alg, key), key);
6
- }
7
- async function sign(entry, key, data) {
8
- const cryptoKey = await getSigKey(entry, key, "sign"), signature = await crypto.subtle.sign(entry.signing, cryptoKey, data);
9
- return new Uint8Array(signature);
10
- }
11
- async function verify(entry, key, signature, data) {
12
- const cryptoKey = await getSigKey(entry, key, "verify");
13
- try {
14
- return await crypto.subtle.verify(entry.signing, cryptoKey, signature, data);
15
- } catch {
16
- return !1;
17
- }
18
- }
19
- export {
20
- sign,
21
- verify
22
- };
@@ -1,30 +0,0 @@
1
- function assertUint8Array(input, label) {
2
- if (!(input instanceof Uint8Array))
3
- throw new TypeError(`${label} must be an instance of Uint8Array`);
4
- }
5
- function isObject(input) {
6
- if (typeof input != "object" || input === null || Object.prototype.toString.call(input) !== "[object Object]")
7
- return !1;
8
- const prototype = Object.getPrototypeOf(input);
9
- return prototype === null || Object.getPrototypeOf(prototype) === null;
10
- }
11
- function isJwkSet(input) {
12
- return isObject(input) && Array.isArray(input.keys) && Array.from(input.keys).every(isObject);
13
- }
14
- function isDisjoint(...headers) {
15
- const parameters = /* @__PURE__ */ new Set();
16
- for (const header of headers)
17
- if (header)
18
- for (const parameter of Object.keys(header)) {
19
- if (parameters.has(parameter))
20
- return !1;
21
- parameters.add(parameter);
22
- }
23
- return !0;
24
- }
25
- export {
26
- assertUint8Array,
27
- isDisjoint,
28
- isJwkSet,
29
- isObject
30
- };