@voxgig/sdkgen 4.29.0 → 4.30.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (849) hide show
  1. package/bin/voxgig-sdkgen +1 -1
  2. package/dist/admin/npm-trust.d.ts +39 -0
  3. package/dist/admin/npm-trust.js +308 -0
  4. package/dist/admin/npm-trust.js.map +1 -0
  5. package/dist/cmp/PublishWorkflow.js +47 -26
  6. package/dist/cmp/PublishWorkflow.js.map +1 -1
  7. package/dist/sdkgen.d.ts +2 -1
  8. package/dist/sdkgen.js +6 -4
  9. package/dist/sdkgen.js.map +1 -1
  10. package/dist/tsconfig.tsbuildinfo +1 -1
  11. package/package.json +3 -2
  12. package/project/.sdk/model/target/rb.aontu +1 -2
  13. package/project/.sdk/src/cmp/go/PrepareAuth_go.ts +45 -11
  14. package/project/.sdk/src/cmp/js/Package_js.ts +2 -2
  15. package/project/.sdk/src/cmp/js/PrepareAuth_js.ts +52 -6
  16. package/project/.sdk/src/cmp/php/PrepareAuth_php.ts +46 -14
  17. package/project/.sdk/src/cmp/rb/Package_rb.ts +15 -21
  18. package/project/.sdk/src/cmp/ts/Package_ts.ts +1 -1
  19. package/project/.sdk/src/cmp/ts/PrepareAuth_ts.ts +51 -6
  20. package/project/.sdk/src/cmp/ts/ReadmeQuick_ts.ts +10 -3
  21. package/project/.sdk/tm/c/feature/secrets/plugin/capability.c +2 -2
  22. package/project/.sdk/tm/c/feature/secrets/plugin/capability.h +2 -2
  23. package/project/.sdk/tm/c/feature/secrets/plugin/catalog.c +2 -2
  24. package/project/.sdk/tm/c/feature/secrets/plugin/catalog.h +2 -2
  25. package/project/.sdk/tm/c/feature/secrets/plugin/config.c +2 -2
  26. package/project/.sdk/tm/c/feature/secrets/plugin/config.h +2 -2
  27. package/project/.sdk/tm/c/feature/secrets/plugin/depend.c +2 -2
  28. package/project/.sdk/tm/c/feature/secrets/plugin/depend.h +2 -2
  29. package/project/.sdk/tm/c/feature/secrets/plugin/env.c +2 -2
  30. package/project/.sdk/tm/c/feature/secrets/plugin/env.h +2 -2
  31. package/project/.sdk/tm/c/feature/secrets/plugin/export.c +2 -2
  32. package/project/.sdk/tm/c/feature/secrets/plugin/export.h +2 -2
  33. package/project/.sdk/tm/c/feature/secrets/plugin/graph.c +2 -2
  34. package/project/.sdk/tm/c/feature/secrets/plugin/graph.h +2 -2
  35. package/project/.sdk/tm/c/feature/secrets/plugin/host.c +2 -2
  36. package/project/.sdk/tm/c/feature/secrets/plugin/host.h +2 -2
  37. package/project/.sdk/tm/c/feature/secrets/plugin/order.c +2 -2
  38. package/project/.sdk/tm/c/feature/secrets/plugin/order.h +2 -2
  39. package/project/.sdk/tm/c/feature/secrets/plugin/point.c +2 -2
  40. package/project/.sdk/tm/c/feature/secrets/plugin/point.h +2 -2
  41. package/project/.sdk/tm/c/feature/secrets/plugin/ref.c +2 -2
  42. package/project/.sdk/tm/c/feature/secrets/plugin/ref.h +2 -2
  43. package/project/.sdk/tm/c/feature/secrets/plugin/resolve.c +2 -2
  44. package/project/.sdk/tm/c/feature/secrets/plugin/resolve.h +2 -2
  45. package/project/.sdk/tm/c/feature/secrets/plugin/types.c +2 -2
  46. package/project/.sdk/tm/c/feature/secrets/plugin/types.h +2 -2
  47. package/project/.sdk/tm/c/feature/secrets/plugin/value.c +2 -2
  48. package/project/.sdk/tm/c/feature/secrets/plugin/value.h +2 -2
  49. package/project/.sdk/tm/c/feature/secrets/plugin/version.c +2 -2
  50. package/project/.sdk/tm/c/feature/secrets/plugin/version.h +2 -2
  51. package/project/.sdk/tm/c/feature/secrets/plugins/aws.c +2 -2
  52. package/project/.sdk/tm/c/feature/secrets/plugins/azuresecrets.c +2 -2
  53. package/project/.sdk/tm/c/feature/secrets/plugins/boru.c +2 -2
  54. package/project/.sdk/tm/c/feature/secrets/plugins/clock.c +2 -2
  55. package/project/.sdk/tm/c/feature/secrets/plugins/doppler.c +2 -2
  56. package/project/.sdk/tm/c/feature/secrets/plugins/encode.c +2 -2
  57. package/project/.sdk/tm/c/feature/secrets/plugins/gcpsecrets.c +2 -2
  58. package/project/.sdk/tm/c/feature/secrets/plugins/hashicorp.c +2 -2
  59. package/project/.sdk/tm/c/feature/secrets/plugins/httpjson.c +2 -2
  60. package/project/.sdk/tm/c/feature/secrets/plugins/infisical.c +2 -2
  61. package/project/.sdk/tm/c/feature/secrets/plugins/minivault.c +2 -2
  62. package/project/.sdk/tm/c/feature/secrets/plugins/onepassword.c +2 -2
  63. package/project/.sdk/tm/c/feature/secrets/plugins/proc.c +2 -2
  64. package/project/.sdk/tm/c/feature/secrets/plugins/secretspec.c +2 -2
  65. package/project/.sdk/tm/c/feature/secrets/plugins/sekretoplugins.h +2 -2
  66. package/project/.sdk/tm/c/feature/secrets/plugins/sha256.c +2 -2
  67. package/project/.sdk/tm/c/feature/secrets/plugins/sigv4.c +2 -2
  68. package/project/.sdk/tm/c/feature/secrets/plugins/support.h +2 -2
  69. package/project/.sdk/tm/c/feature/secrets/plugins/tls.c +2 -2
  70. package/project/.sdk/tm/c/feature/secrets/sekreto/internal.h +2 -2
  71. package/project/.sdk/tm/c/feature/secrets/sekreto/json.c +2 -2
  72. package/project/.sdk/tm/c/feature/secrets/sekreto/providers.c +2 -2
  73. package/project/.sdk/tm/c/feature/secrets/sekreto/sekreto.c +2 -2
  74. package/project/.sdk/tm/c/feature/secrets/sekreto/sekreto.h +2 -2
  75. package/project/.sdk/tm/c/feature/secrets/sekreto/util.c +2 -2
  76. package/project/.sdk/tm/c/tests/vendor/omni/json.c +2 -2
  77. package/project/.sdk/tm/c/tests/vendor/omni/omni.h +2 -2
  78. package/project/.sdk/tm/c/tests/vendor/omni/runner.c +2 -2
  79. package/project/.sdk/tm/c/tests/vendor/omni/util.c +2 -2
  80. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/capability.clj +2 -2
  81. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/catalog.clj +2 -2
  82. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/config.clj +2 -2
  83. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/depend.clj +2 -2
  84. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/env.clj +2 -2
  85. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/export.clj +2 -2
  86. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/graph.clj +2 -2
  87. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/host.clj +2 -2
  88. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/json.clj +2 -2
  89. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/order.clj +2 -2
  90. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/point.clj +2 -2
  91. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/ref.clj +2 -2
  92. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/resolve.clj +2 -2
  93. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/types.clj +2 -2
  94. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/version.clj +2 -2
  95. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin.clj +2 -2
  96. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/addr.clj +2 -2
  97. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/chain.clj +2 -2
  98. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/core.clj +2 -2
  99. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/json.clj +2 -2
  100. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/aws.clj +2 -2
  101. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/azuresecrets.clj +2 -2
  102. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/boru.clj +2 -2
  103. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/doppler.clj +2 -2
  104. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/gcpsecrets.clj +2 -2
  105. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/hashicorp.clj +2 -2
  106. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/httpjson.clj +2 -2
  107. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/infisical.clj +2 -2
  108. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/minivault.clj +2 -2
  109. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/onepassword.clj +2 -2
  110. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/proc.clj +2 -2
  111. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/secretspec.clj +2 -2
  112. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/sigv4.clj +2 -2
  113. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/provider.clj +2 -2
  114. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/providers.clj +2 -2
  115. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto.clj +2 -2
  116. package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/json.clj +2 -2
  117. package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/runner.clj +2 -2
  118. package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/util.clj +2 -2
  119. package/project/.sdk/tm/cpp/feature/secrets/plugin/capability.cpp +2 -2
  120. package/project/.sdk/tm/cpp/feature/secrets/plugin/capability.hpp +2 -2
  121. package/project/.sdk/tm/cpp/feature/secrets/plugin/catalog.cpp +2 -2
  122. package/project/.sdk/tm/cpp/feature/secrets/plugin/catalog.hpp +2 -2
  123. package/project/.sdk/tm/cpp/feature/secrets/plugin/config.cpp +2 -2
  124. package/project/.sdk/tm/cpp/feature/secrets/plugin/config.hpp +2 -2
  125. package/project/.sdk/tm/cpp/feature/secrets/plugin/depend.cpp +2 -2
  126. package/project/.sdk/tm/cpp/feature/secrets/plugin/depend.hpp +2 -2
  127. package/project/.sdk/tm/cpp/feature/secrets/plugin/env.cpp +2 -2
  128. package/project/.sdk/tm/cpp/feature/secrets/plugin/env.hpp +2 -2
  129. package/project/.sdk/tm/cpp/feature/secrets/plugin/export.cpp +2 -2
  130. package/project/.sdk/tm/cpp/feature/secrets/plugin/export.hpp +2 -2
  131. package/project/.sdk/tm/cpp/feature/secrets/plugin/graph.cpp +2 -2
  132. package/project/.sdk/tm/cpp/feature/secrets/plugin/graph.hpp +2 -2
  133. package/project/.sdk/tm/cpp/feature/secrets/plugin/host.cpp +2 -2
  134. package/project/.sdk/tm/cpp/feature/secrets/plugin/host.hpp +2 -2
  135. package/project/.sdk/tm/cpp/feature/secrets/plugin/order.cpp +2 -2
  136. package/project/.sdk/tm/cpp/feature/secrets/plugin/order.hpp +2 -2
  137. package/project/.sdk/tm/cpp/feature/secrets/plugin/point.cpp +2 -2
  138. package/project/.sdk/tm/cpp/feature/secrets/plugin/point.hpp +2 -2
  139. package/project/.sdk/tm/cpp/feature/secrets/plugin/ref.cpp +2 -2
  140. package/project/.sdk/tm/cpp/feature/secrets/plugin/ref.hpp +2 -2
  141. package/project/.sdk/tm/cpp/feature/secrets/plugin/resolve.cpp +2 -2
  142. package/project/.sdk/tm/cpp/feature/secrets/plugin/resolve.hpp +2 -2
  143. package/project/.sdk/tm/cpp/feature/secrets/plugin/types.cpp +2 -2
  144. package/project/.sdk/tm/cpp/feature/secrets/plugin/types.hpp +2 -2
  145. package/project/.sdk/tm/cpp/feature/secrets/plugin/value.cpp +2 -2
  146. package/project/.sdk/tm/cpp/feature/secrets/plugin/value.hpp +2 -2
  147. package/project/.sdk/tm/cpp/feature/secrets/plugin/version.cpp +2 -2
  148. package/project/.sdk/tm/cpp/feature/secrets/plugin/version.hpp +2 -2
  149. package/project/.sdk/tm/cpp/feature/secrets/plugins/Aws.cpp +2 -2
  150. package/project/.sdk/tm/cpp/feature/secrets/plugins/Aws.hpp +2 -2
  151. package/project/.sdk/tm/cpp/feature/secrets/plugins/Azuresecrets.cpp +2 -2
  152. package/project/.sdk/tm/cpp/feature/secrets/plugins/Azuresecrets.hpp +2 -2
  153. package/project/.sdk/tm/cpp/feature/secrets/plugins/Boru.cpp +2 -2
  154. package/project/.sdk/tm/cpp/feature/secrets/plugins/Boru.hpp +2 -2
  155. package/project/.sdk/tm/cpp/feature/secrets/plugins/Crypto.cpp +2 -2
  156. package/project/.sdk/tm/cpp/feature/secrets/plugins/Crypto.hpp +2 -2
  157. package/project/.sdk/tm/cpp/feature/secrets/plugins/Doppler.cpp +2 -2
  158. package/project/.sdk/tm/cpp/feature/secrets/plugins/Doppler.hpp +2 -2
  159. package/project/.sdk/tm/cpp/feature/secrets/plugins/Gcpsecrets.cpp +2 -2
  160. package/project/.sdk/tm/cpp/feature/secrets/plugins/Gcpsecrets.hpp +2 -2
  161. package/project/.sdk/tm/cpp/feature/secrets/plugins/Hashicorp.cpp +2 -2
  162. package/project/.sdk/tm/cpp/feature/secrets/plugins/Hashicorp.hpp +2 -2
  163. package/project/.sdk/tm/cpp/feature/secrets/plugins/Httpjson.cpp +2 -2
  164. package/project/.sdk/tm/cpp/feature/secrets/plugins/Httpjson.hpp +2 -2
  165. package/project/.sdk/tm/cpp/feature/secrets/plugins/Infisical.cpp +2 -2
  166. package/project/.sdk/tm/cpp/feature/secrets/plugins/Infisical.hpp +2 -2
  167. package/project/.sdk/tm/cpp/feature/secrets/plugins/Minivault.cpp +2 -2
  168. package/project/.sdk/tm/cpp/feature/secrets/plugins/Minivault.hpp +2 -2
  169. package/project/.sdk/tm/cpp/feature/secrets/plugins/Onepassword.cpp +2 -2
  170. package/project/.sdk/tm/cpp/feature/secrets/plugins/Onepassword.hpp +2 -2
  171. package/project/.sdk/tm/cpp/feature/secrets/plugins/Proc.cpp +2 -2
  172. package/project/.sdk/tm/cpp/feature/secrets/plugins/Proc.hpp +2 -2
  173. package/project/.sdk/tm/cpp/feature/secrets/plugins/Secretspec.cpp +2 -2
  174. package/project/.sdk/tm/cpp/feature/secrets/plugins/Secretspec.hpp +2 -2
  175. package/project/.sdk/tm/cpp/feature/secrets/plugins/Sigv4.cpp +2 -2
  176. package/project/.sdk/tm/cpp/feature/secrets/plugins/Sigv4.hpp +2 -2
  177. package/project/.sdk/tm/cpp/feature/secrets/plugins/Tls.cpp +2 -2
  178. package/project/.sdk/tm/cpp/feature/secrets/plugins/Tls.hpp +2 -2
  179. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Json.cpp +2 -2
  180. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Json.hpp +2 -2
  181. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Provider.cpp +2 -2
  182. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Provider.hpp +2 -2
  183. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Providers.cpp +2 -2
  184. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Providers.hpp +2 -2
  185. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Sekreto.cpp +2 -2
  186. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Sekreto.hpp +2 -2
  187. package/project/.sdk/tm/cpp/test/vendor/omni/json.hpp +2 -2
  188. package/project/.sdk/tm/cpp/test/vendor/omni/omni.hpp +2 -2
  189. package/project/.sdk/tm/cpp/test/vendor/omni/util.hpp +2 -2
  190. package/project/.sdk/tm/csharp/feature/secrets/plugin/Capability.cs +2 -2
  191. package/project/.sdk/tm/csharp/feature/secrets/plugin/Catalog.cs +2 -2
  192. package/project/.sdk/tm/csharp/feature/secrets/plugin/Config.cs +2 -2
  193. package/project/.sdk/tm/csharp/feature/secrets/plugin/Definition.cs +2 -2
  194. package/project/.sdk/tm/csharp/feature/secrets/plugin/Depend.cs +2 -2
  195. package/project/.sdk/tm/csharp/feature/secrets/plugin/Entry.cs +2 -2
  196. package/project/.sdk/tm/csharp/feature/secrets/plugin/Env.cs +2 -2
  197. package/project/.sdk/tm/csharp/feature/secrets/plugin/Export.cs +2 -2
  198. package/project/.sdk/tm/csharp/feature/secrets/plugin/Graph.cs +2 -2
  199. package/project/.sdk/tm/csharp/feature/secrets/plugin/Host.cs +2 -2
  200. package/project/.sdk/tm/csharp/feature/secrets/plugin/Inst.cs +2 -2
  201. package/project/.sdk/tm/csharp/feature/secrets/plugin/Json.cs +2 -2
  202. package/project/.sdk/tm/csharp/feature/secrets/plugin/Order.cs +2 -2
  203. package/project/.sdk/tm/csharp/feature/secrets/plugin/Plugin.cs +2 -2
  204. package/project/.sdk/tm/csharp/feature/secrets/plugin/Point.cs +2 -2
  205. package/project/.sdk/tm/csharp/feature/secrets/plugin/Refs.cs +2 -2
  206. package/project/.sdk/tm/csharp/feature/secrets/plugin/Resolve.cs +2 -2
  207. package/project/.sdk/tm/csharp/feature/secrets/plugin/Types.cs +2 -2
  208. package/project/.sdk/tm/csharp/feature/secrets/plugin/Version.cs +2 -2
  209. package/project/.sdk/tm/csharp/feature/secrets/plugins/Aws.cs +2 -2
  210. package/project/.sdk/tm/csharp/feature/secrets/plugins/AzureSecrets.cs +2 -2
  211. package/project/.sdk/tm/csharp/feature/secrets/plugins/Boru.cs +2 -2
  212. package/project/.sdk/tm/csharp/feature/secrets/plugins/Child.cs +2 -2
  213. package/project/.sdk/tm/csharp/feature/secrets/plugins/Doppler.cs +2 -2
  214. package/project/.sdk/tm/csharp/feature/secrets/plugins/GcpSecrets.cs +2 -2
  215. package/project/.sdk/tm/csharp/feature/secrets/plugins/Hashicorp.cs +2 -2
  216. package/project/.sdk/tm/csharp/feature/secrets/plugins/HttpJson.cs +2 -2
  217. package/project/.sdk/tm/csharp/feature/secrets/plugins/Infisical.cs +2 -2
  218. package/project/.sdk/tm/csharp/feature/secrets/plugins/MiniVault.cs +2 -2
  219. package/project/.sdk/tm/csharp/feature/secrets/plugins/OnePassword.cs +2 -2
  220. package/project/.sdk/tm/csharp/feature/secrets/plugins/SecretSpec.cs +2 -2
  221. package/project/.sdk/tm/csharp/feature/secrets/plugins/Sigv4.cs +2 -2
  222. package/project/.sdk/tm/csharp/feature/secrets/sekreto/Json.cs +2 -2
  223. package/project/.sdk/tm/csharp/feature/secrets/sekreto/Providers.cs +2 -2
  224. package/project/.sdk/tm/csharp/feature/secrets/sekreto/Sekreto.cs +2 -2
  225. package/project/.sdk/tm/csharp/test/vendor/omni/Runner.cs +2 -2
  226. package/project/.sdk/tm/csharp/test/vendor/omni/Util.cs +2 -2
  227. package/project/.sdk/tm/csharp/utility/struct/Struct.cs +4 -21
  228. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/capability.ex +2 -2
  229. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/catalog.ex +2 -2
  230. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/config.ex +2 -2
  231. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/depend.ex +2 -2
  232. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/env.ex +2 -2
  233. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/error.ex +2 -2
  234. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/export.ex +2 -2
  235. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/graph.ex +2 -2
  236. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/host.ex +2 -2
  237. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/inst.ex +2 -2
  238. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/json.ex +2 -2
  239. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/order.ex +2 -2
  240. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/point.ex +2 -2
  241. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/ref.ex +2 -2
  242. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/resolve.ex +2 -2
  243. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/types.ex +2 -2
  244. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/version.ex +2 -2
  245. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/voxgig_plugin.ex +2 -2
  246. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/json.ex +2 -2
  247. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/aws.ex +2 -2
  248. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/azuresecrets.ex +2 -2
  249. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/boru.ex +2 -2
  250. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/doppler.ex +2 -2
  251. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/gcpsecrets.ex +2 -2
  252. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/hashicorp.ex +2 -2
  253. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/http.ex +2 -2
  254. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/httpjson.ex +2 -2
  255. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/infisical.ex +2 -2
  256. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/minivault.ex +2 -2
  257. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/onepassword.ex +2 -2
  258. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/proc.ex +2 -2
  259. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/secretspec.ex +2 -2
  260. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/sigv4.ex +2 -2
  261. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/provider.ex +2 -2
  262. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/providers.ex +2 -2
  263. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/sekreto.ex +2 -2
  264. package/project/.sdk/tm/elixir/test/vendor/omni/json.ex +2 -2
  265. package/project/.sdk/tm/elixir/test/vendor/omni/runner.ex +2 -2
  266. package/project/.sdk/tm/elixir/test/vendor/omni/util.ex +2 -2
  267. package/project/.sdk/tm/go/feature/secrets/plugin/capability.go +2 -62
  268. package/project/.sdk/tm/go/feature/secrets/plugin/catalog.go +1 -20
  269. package/project/.sdk/tm/go/feature/secrets/plugin/config.go +18 -94
  270. package/project/.sdk/tm/go/feature/secrets/plugin/depend.go +1 -97
  271. package/project/.sdk/tm/go/feature/secrets/plugin/env.go +4 -44
  272. package/project/.sdk/tm/go/feature/secrets/plugin/export.go +1 -13
  273. package/project/.sdk/tm/go/feature/secrets/plugin/graph.go +1 -40
  274. package/project/.sdk/tm/go/feature/secrets/plugin/host.go +11 -301
  275. package/project/.sdk/tm/go/feature/secrets/plugin/order.go +1 -41
  276. package/project/.sdk/tm/go/feature/secrets/plugin/point.go +7 -56
  277. package/project/.sdk/tm/go/feature/secrets/plugin/ref.go +1 -24
  278. package/project/.sdk/tm/go/feature/secrets/plugin/resolve.go +1 -24
  279. package/project/.sdk/tm/go/feature/secrets/plugin/types.go +6 -116
  280. package/project/.sdk/tm/go/feature/secrets/plugin/util.go +1 -11
  281. package/project/.sdk/tm/go/feature/secrets/plugin/version.go +1 -30
  282. package/project/.sdk/tm/go/feature/secrets/plugins/aws/aws.go +2 -17
  283. package/project/.sdk/tm/go/feature/secrets/plugins/aws/sigv4.go +4 -29
  284. package/project/.sdk/tm/go/feature/secrets/plugins/azuresecrets/azuresecrets.go +2 -13
  285. package/project/.sdk/tm/go/feature/secrets/plugins/boru/boru.go +2 -26
  286. package/project/.sdk/tm/go/feature/secrets/plugins/doppler/doppler.go +2 -8
  287. package/project/.sdk/tm/go/feature/secrets/plugins/gcpsecrets/gcpsecrets.go +2 -13
  288. package/project/.sdk/tm/go/feature/secrets/plugins/hashicorp/hashicorp.go +2 -16
  289. package/project/.sdk/tm/go/feature/secrets/plugins/httpjson/httpjson.go +2 -60
  290. package/project/.sdk/tm/go/feature/secrets/plugins/infisical/infisical.go +2 -8
  291. package/project/.sdk/tm/go/feature/secrets/plugins/minivault/format.go +2 -62
  292. package/project/.sdk/tm/go/feature/secrets/plugins/minivault/minivault.go +7 -184
  293. package/project/.sdk/tm/go/feature/secrets/plugins/onepassword/onepassword.go +2 -8
  294. package/project/.sdk/tm/go/feature/secrets/plugins/secretspec/secretspec.go +2 -36
  295. package/project/.sdk/tm/go/feature/secrets/sekreto/addr.go +2 -47
  296. package/project/.sdk/tm/go/feature/secrets/sekreto/providers.go +43 -170
  297. package/project/.sdk/tm/go/feature/secrets/sekreto/sekreto.go +4 -123
  298. package/project/.sdk/tm/go/test/omni/omni.go +2 -36
  299. package/project/.sdk/tm/go/test/omni/util.go +2 -17
  300. package/project/.sdk/tm/go/test/pipeline_test.go +4 -1
  301. package/project/.sdk/tm/go/utility/struct/voxgigstruct.go +11 -201
  302. package/project/.sdk/tm/java/feature/secrets/plugin/Capability.java +2 -2
  303. package/project/.sdk/tm/java/feature/secrets/plugin/Catalog.java +2 -2
  304. package/project/.sdk/tm/java/feature/secrets/plugin/Config.java +2 -2
  305. package/project/.sdk/tm/java/feature/secrets/plugin/Definition.java +2 -2
  306. package/project/.sdk/tm/java/feature/secrets/plugin/Depend.java +2 -2
  307. package/project/.sdk/tm/java/feature/secrets/plugin/Entry.java +2 -2
  308. package/project/.sdk/tm/java/feature/secrets/plugin/Env.java +2 -2
  309. package/project/.sdk/tm/java/feature/secrets/plugin/Export.java +2 -2
  310. package/project/.sdk/tm/java/feature/secrets/plugin/Graph.java +2 -2
  311. package/project/.sdk/tm/java/feature/secrets/plugin/Host.java +2 -2
  312. package/project/.sdk/tm/java/feature/secrets/plugin/Inst.java +2 -2
  313. package/project/.sdk/tm/java/feature/secrets/plugin/Json.java +2 -2
  314. package/project/.sdk/tm/java/feature/secrets/plugin/Order.java +2 -2
  315. package/project/.sdk/tm/java/feature/secrets/plugin/Plugin.java +2 -2
  316. package/project/.sdk/tm/java/feature/secrets/plugin/PluginException.java +2 -2
  317. package/project/.sdk/tm/java/feature/secrets/plugin/Point.java +2 -2
  318. package/project/.sdk/tm/java/feature/secrets/plugin/Refs.java +2 -2
  319. package/project/.sdk/tm/java/feature/secrets/plugin/Resolve.java +2 -2
  320. package/project/.sdk/tm/java/feature/secrets/plugin/Types.java +2 -2
  321. package/project/.sdk/tm/java/feature/secrets/plugin/Version.java +2 -2
  322. package/project/.sdk/tm/java/feature/secrets/sekreto/Addr.java +2 -2
  323. package/project/.sdk/tm/java/feature/secrets/sekreto/Builtins.java +2 -2
  324. package/project/.sdk/tm/java/feature/secrets/sekreto/Json.java +2 -2
  325. package/project/.sdk/tm/java/feature/secrets/sekreto/Provider.java +2 -2
  326. package/project/.sdk/tm/java/feature/secrets/sekreto/Sekreto.java +2 -2
  327. package/project/.sdk/tm/java/feature/secrets/sekreto/Support.java +2 -2
  328. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Aws.java +2 -2
  329. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Azuresecrets.java +2 -2
  330. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Boru.java +2 -2
  331. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Doppler.java +2 -2
  332. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Gcpsecrets.java +2 -2
  333. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Hashicorp.java +2 -2
  334. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Httpjson.java +2 -2
  335. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Infisical.java +2 -2
  336. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Minivault.java +2 -2
  337. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Onepassword.java +2 -2
  338. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Proc.java +2 -2
  339. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Secretspec.java +2 -2
  340. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Sigv4.java +2 -2
  341. package/project/.sdk/tm/java/test/vendor/omni/Json.java +2 -2
  342. package/project/.sdk/tm/java/test/vendor/omni/Runner.java +2 -2
  343. package/project/.sdk/tm/java/test/vendor/omni/Util.java +2 -2
  344. package/project/.sdk/tm/java/utility/struct/Struct.java +1 -2
  345. package/project/.sdk/tm/js/src/feature/secrets/plugin/capability.js +2 -2
  346. package/project/.sdk/tm/js/src/feature/secrets/plugin/catalog.js +2 -2
  347. package/project/.sdk/tm/js/src/feature/secrets/plugin/config.js +2 -2
  348. package/project/.sdk/tm/js/src/feature/secrets/plugin/depend.js +2 -2
  349. package/project/.sdk/tm/js/src/feature/secrets/plugin/env.js +2 -2
  350. package/project/.sdk/tm/js/src/feature/secrets/plugin/export.js +2 -2
  351. package/project/.sdk/tm/js/src/feature/secrets/plugin/graph.js +2 -2
  352. package/project/.sdk/tm/js/src/feature/secrets/plugin/host.js +2 -2
  353. package/project/.sdk/tm/js/src/feature/secrets/plugin/index.js +2 -2
  354. package/project/.sdk/tm/js/src/feature/secrets/plugin/order.js +2 -2
  355. package/project/.sdk/tm/js/src/feature/secrets/plugin/point.js +2 -2
  356. package/project/.sdk/tm/js/src/feature/secrets/plugin/ref.js +2 -2
  357. package/project/.sdk/tm/js/src/feature/secrets/plugin/resolve.js +2 -2
  358. package/project/.sdk/tm/js/src/feature/secrets/plugin/types.js +2 -2
  359. package/project/.sdk/tm/js/src/feature/secrets/plugin/version.js +2 -2
  360. package/project/.sdk/tm/js/src/feature/secrets/sekreto/Sekreto.js +2 -2
  361. package/project/.sdk/tm/js/src/feature/secrets/sekreto/index.js +2 -2
  362. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/aws.js +2 -2
  363. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/azuresecrets.js +2 -2
  364. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/boru.js +2 -2
  365. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/doppler.js +2 -2
  366. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/gcpsecrets.js +2 -2
  367. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/hashicorp.js +2 -2
  368. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/httpjson.js +2 -2
  369. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/infisical.js +2 -2
  370. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/minivault.js +2 -2
  371. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/onepassword.js +2 -2
  372. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/secretspec.js +2 -2
  373. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/sigv4.js +2 -2
  374. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/addr.js +2 -2
  375. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/builtin.js +2 -2
  376. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/dotenv.js +2 -2
  377. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/env.js +2 -2
  378. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/file.js +2 -2
  379. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/memory.js +2 -2
  380. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/support.js +2 -2
  381. package/project/.sdk/tm/js/src/utility/StructUtility.js +1 -2
  382. package/project/.sdk/tm/js/test/pipeline.test.js +9 -1
  383. package/project/.sdk/tm/js/test/vendor/omni/index.js +1 -1
  384. package/project/.sdk/tm/js/test/vendor/omni/runner.js +1 -1
  385. package/project/.sdk/tm/js/test/vendor/omni/util.js +1 -1
  386. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Capability.kt +2 -2
  387. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Catalog.kt +2 -2
  388. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Config.kt +2 -2
  389. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Depend.kt +2 -2
  390. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Env.kt +2 -2
  391. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Export.kt +2 -2
  392. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Graph.kt +2 -2
  393. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Host.kt +2 -2
  394. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Json.kt +2 -2
  395. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Order.kt +2 -2
  396. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Plugin.kt +2 -2
  397. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Point.kt +2 -2
  398. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Refs.kt +2 -2
  399. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Resolve.kt +2 -2
  400. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Types.kt +2 -2
  401. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Version.kt +2 -2
  402. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Json.kt +2 -2
  403. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Provider.kt +2 -2
  404. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Providers.kt +2 -2
  405. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Sekreto.kt +2 -2
  406. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Spec.kt +2 -2
  407. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Support.kt +2 -2
  408. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Aws.kt +2 -2
  409. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Azuresecrets.kt +2 -2
  410. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Boru.kt +2 -2
  411. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Doppler.kt +2 -2
  412. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Gcpsecrets.kt +2 -2
  413. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Hashicorp.kt +2 -2
  414. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Httpjson.kt +2 -2
  415. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Infisical.kt +2 -2
  416. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Minivault.kt +2 -2
  417. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Onepassword.kt +2 -2
  418. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Secretspec.kt +2 -2
  419. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Sigv4.kt +2 -2
  420. package/project/.sdk/tm/kotlin/test/vendor/omni/Json.kt +2 -2
  421. package/project/.sdk/tm/kotlin/test/vendor/omni/Runner.kt +2 -2
  422. package/project/.sdk/tm/kotlin/test/vendor/omni/Util.kt +2 -2
  423. package/project/.sdk/tm/kotlin/utility/struct/Struct.kt +1 -1
  424. package/project/.sdk/tm/lua/feature/secrets/native/sekretonet.c +2 -2
  425. package/project/.sdk/tm/lua/feature/secrets/native/sekretovault.c +2 -2
  426. package/project/.sdk/tm/lua/feature/secrets/plugin/capability.lua +2 -2
  427. package/project/.sdk/tm/lua/feature/secrets/plugin/catalog.lua +2 -2
  428. package/project/.sdk/tm/lua/feature/secrets/plugin/config.lua +2 -2
  429. package/project/.sdk/tm/lua/feature/secrets/plugin/depend.lua +2 -2
  430. package/project/.sdk/tm/lua/feature/secrets/plugin/env.lua +2 -2
  431. package/project/.sdk/tm/lua/feature/secrets/plugin/export.lua +2 -2
  432. package/project/.sdk/tm/lua/feature/secrets/plugin/graph.lua +2 -2
  433. package/project/.sdk/tm/lua/feature/secrets/plugin/host.lua +2 -2
  434. package/project/.sdk/tm/lua/feature/secrets/plugin/json.lua +2 -2
  435. package/project/.sdk/tm/lua/feature/secrets/plugin/order.lua +2 -2
  436. package/project/.sdk/tm/lua/feature/secrets/plugin/point.lua +2 -2
  437. package/project/.sdk/tm/lua/feature/secrets/plugin/ref.lua +2 -2
  438. package/project/.sdk/tm/lua/feature/secrets/plugin/resolve.lua +2 -2
  439. package/project/.sdk/tm/lua/feature/secrets/plugin/types.lua +2 -2
  440. package/project/.sdk/tm/lua/feature/secrets/plugin/version.lua +2 -2
  441. package/project/.sdk/tm/lua/feature/secrets/plugin.lua +2 -2
  442. package/project/.sdk/tm/lua/feature/secrets/sekreto/addr.lua +2 -2
  443. package/project/.sdk/tm/lua/feature/secrets/sekreto/err.lua +2 -2
  444. package/project/.sdk/tm/lua/feature/secrets/sekreto/name.lua +2 -2
  445. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/aws.lua +2 -2
  446. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/azuresecrets.lua +2 -2
  447. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/boru.lua +2 -2
  448. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/crypto.lua +2 -2
  449. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/doppler.lua +2 -2
  450. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/gcpsecrets.lua +2 -2
  451. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/hashicorp.lua +2 -2
  452. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/httpjson.lua +2 -2
  453. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/infisical.lua +2 -2
  454. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/json.lua +2 -2
  455. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/minivault.lua +2 -2
  456. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/net.lua +2 -2
  457. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/onepassword.lua +2 -2
  458. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/secretspec.lua +2 -2
  459. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/sigv4.lua +2 -2
  460. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/support.lua +2 -2
  461. package/project/.sdk/tm/lua/feature/secrets/sekreto/providers.lua +2 -2
  462. package/project/.sdk/tm/lua/feature/secrets/sekreto.lua +2 -2
  463. package/project/.sdk/tm/lua/test/pipeline_test.lua +3 -1
  464. package/project/.sdk/tm/lua/test/vendor/omni/json.lua +2 -2
  465. package/project/.sdk/tm/lua/test/vendor/omni/regex.lua +2 -2
  466. package/project/.sdk/tm/lua/test/vendor/omni/runner.lua +2 -2
  467. package/project/.sdk/tm/lua/test/vendor/omni/util.lua +2 -2
  468. package/project/.sdk/tm/lua/utility/struct/regex.lua +1 -1
  469. package/project/.sdk/tm/lua/utility/struct/struct.lua +1 -2
  470. package/project/.sdk/tm/ocaml/feature/secrets/plugin/capability.ml +2 -2
  471. package/project/.sdk/tm/ocaml/feature/secrets/plugin/catalog.ml +2 -2
  472. package/project/.sdk/tm/ocaml/feature/secrets/plugin/config.ml +2 -2
  473. package/project/.sdk/tm/ocaml/feature/secrets/plugin/defs.ml +2 -2
  474. package/project/.sdk/tm/ocaml/feature/secrets/plugin/depend.ml +2 -2
  475. package/project/.sdk/tm/ocaml/feature/secrets/plugin/env.ml +2 -2
  476. package/project/.sdk/tm/ocaml/feature/secrets/plugin/export.ml +2 -2
  477. package/project/.sdk/tm/ocaml/feature/secrets/plugin/graph.ml +2 -2
  478. package/project/.sdk/tm/ocaml/feature/secrets/plugin/host.ml +2 -2
  479. package/project/.sdk/tm/ocaml/feature/secrets/plugin/order.ml +2 -2
  480. package/project/.sdk/tm/ocaml/feature/secrets/plugin/point.ml +2 -2
  481. package/project/.sdk/tm/ocaml/feature/secrets/plugin/ref.ml +2 -2
  482. package/project/.sdk/tm/ocaml/feature/secrets/plugin/resolve.ml +2 -2
  483. package/project/.sdk/tm/ocaml/feature/secrets/plugin/types.ml +2 -2
  484. package/project/.sdk/tm/ocaml/feature/secrets/plugin/value.ml +2 -2
  485. package/project/.sdk/tm/ocaml/feature/secrets/plugin/version.ml +2 -2
  486. package/project/.sdk/tm/ocaml/feature/secrets/plugins/aws.ml +2 -2
  487. package/project/.sdk/tm/ocaml/feature/secrets/plugins/azuresecrets.ml +2 -2
  488. package/project/.sdk/tm/ocaml/feature/secrets/plugins/boru.ml +2 -2
  489. package/project/.sdk/tm/ocaml/feature/secrets/plugins/crypto.ml +2 -2
  490. package/project/.sdk/tm/ocaml/feature/secrets/plugins/doppler.ml +2 -2
  491. package/project/.sdk/tm/ocaml/feature/secrets/plugins/gcpsecrets.ml +2 -2
  492. package/project/.sdk/tm/ocaml/feature/secrets/plugins/hashicorp.ml +2 -2
  493. package/project/.sdk/tm/ocaml/feature/secrets/plugins/http.ml +2 -2
  494. package/project/.sdk/tm/ocaml/feature/secrets/plugins/httpjson.ml +2 -2
  495. package/project/.sdk/tm/ocaml/feature/secrets/plugins/infisical.ml +2 -2
  496. package/project/.sdk/tm/ocaml/feature/secrets/plugins/minivault.ml +2 -2
  497. package/project/.sdk/tm/ocaml/feature/secrets/plugins/minivault_stubs.c +2 -2
  498. package/project/.sdk/tm/ocaml/feature/secrets/plugins/onepassword.ml +2 -2
  499. package/project/.sdk/tm/ocaml/feature/secrets/plugins/runcmd.ml +2 -2
  500. package/project/.sdk/tm/ocaml/feature/secrets/plugins/secretspec.ml +2 -2
  501. package/project/.sdk/tm/ocaml/feature/secrets/plugins/sigv4.ml +2 -2
  502. package/project/.sdk/tm/ocaml/feature/secrets/plugins/tls.ml +2 -2
  503. package/project/.sdk/tm/ocaml/feature/secrets/plugins/tls_stubs.c +2 -2
  504. package/project/.sdk/tm/ocaml/feature/secrets/sekreto/json.ml +2 -2
  505. package/project/.sdk/tm/ocaml/feature/secrets/sekreto/provider.ml +2 -2
  506. package/project/.sdk/tm/ocaml/feature/secrets/sekreto/secret.ml +2 -2
  507. package/project/.sdk/tm/ocaml/feature/secrets/sekreto/sekreto.ml +2 -2
  508. package/project/.sdk/tm/ocaml/test/vendor/omni/omni.ml +2 -2
  509. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Capability.pm +2 -2
  510. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Catalog.pm +2 -2
  511. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Config.pm +2 -2
  512. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Depend.pm +2 -2
  513. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Env.pm +2 -2
  514. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Export.pm +2 -2
  515. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Graph.pm +2 -2
  516. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Host.pm +2 -2
  517. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Order.pm +2 -2
  518. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Point.pm +2 -2
  519. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Ref.pm +2 -2
  520. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Resolve.pm +2 -2
  521. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Types.pm +2 -2
  522. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Version.pm +2 -2
  523. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin.pm +2 -2
  524. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Aws.pm +2 -2
  525. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Azuresecrets.pm +2 -2
  526. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Boru.pm +2 -2
  527. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Doppler.pm +2 -2
  528. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Gcpsecrets.pm +2 -2
  529. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Hashicorp.pm +2 -2
  530. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Httpjson.pm +2 -2
  531. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Infisical.pm +2 -2
  532. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Minivault.pm +2 -2
  533. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Onepassword.pm +2 -2
  534. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Proc.pm +2 -2
  535. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Secretspec.pm +2 -2
  536. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Sigv4.pm +2 -2
  537. package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto/Addr.pm +2 -2
  538. package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto/Providers.pm +2 -2
  539. package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto.pm +2 -2
  540. package/project/.sdk/tm/perl/lib/Voxgig/Struct.pm +8 -3
  541. package/project/.sdk/tm/perl/t/pipeline.t +3 -1
  542. package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Runner.pm +1 -1
  543. package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Util.pm +1 -1
  544. package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni.pm +1 -1
  545. package/project/.sdk/tm/php/feature/secrets/plugin/Capability.php +2 -2
  546. package/project/.sdk/tm/php/feature/secrets/plugin/Catalog.php +2 -2
  547. package/project/.sdk/tm/php/feature/secrets/plugin/Config.php +2 -2
  548. package/project/.sdk/tm/php/feature/secrets/plugin/Depend.php +2 -2
  549. package/project/.sdk/tm/php/feature/secrets/plugin/Env.php +2 -2
  550. package/project/.sdk/tm/php/feature/secrets/plugin/Export.php +2 -2
  551. package/project/.sdk/tm/php/feature/secrets/plugin/Graph.php +2 -2
  552. package/project/.sdk/tm/php/feature/secrets/plugin/Host.php +2 -2
  553. package/project/.sdk/tm/php/feature/secrets/plugin/Order.php +2 -2
  554. package/project/.sdk/tm/php/feature/secrets/plugin/Point.php +2 -2
  555. package/project/.sdk/tm/php/feature/secrets/plugin/Ref.php +2 -2
  556. package/project/.sdk/tm/php/feature/secrets/plugin/Resolve.php +2 -2
  557. package/project/.sdk/tm/php/feature/secrets/plugin/Types.php +2 -2
  558. package/project/.sdk/tm/php/feature/secrets/plugin/Version.php +2 -2
  559. package/project/.sdk/tm/php/feature/secrets/plugin/plugin.php +2 -2
  560. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/aws.php +2 -2
  561. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/azuresecrets.php +2 -2
  562. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/boru.php +2 -2
  563. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/doppler.php +2 -2
  564. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/gcpsecrets.php +2 -2
  565. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/hashicorp.php +2 -2
  566. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/httpjson.php +2 -2
  567. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/infisical.php +2 -2
  568. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/minivault.php +2 -2
  569. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/onepassword.php +2 -2
  570. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/runcmd.php +2 -2
  571. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/secretspec.php +2 -2
  572. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/sigv4.php +2 -2
  573. package/project/.sdk/tm/php/feature/secrets/sekreto/src/Addr.php +2 -2
  574. package/project/.sdk/tm/php/feature/secrets/sekreto/src/Providers.php +2 -2
  575. package/project/.sdk/tm/php/feature/secrets/sekreto/src/Sekreto.php +2 -2
  576. package/project/.sdk/tm/php/test/PipelineTest.php +7 -2
  577. package/project/.sdk/tm/php/test/vendor/omni/Runner.php +2 -2
  578. package/project/.sdk/tm/php/test/vendor/omni/Util.php +2 -2
  579. package/project/.sdk/tm/php/utility/struct/Struct.php +0 -1
  580. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/__init__.py +1 -1
  581. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/capability.py +1 -1
  582. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/catalog.py +1 -1
  583. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/config.py +1 -1
  584. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/depend.py +1 -1
  585. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/env.py +1 -1
  586. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/export.py +1 -1
  587. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/graph.py +1 -1
  588. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/host.py +1 -1
  589. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/order.py +1 -1
  590. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/point.py +1 -1
  591. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/ref.py +1 -1
  592. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/resolve.py +1 -1
  593. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/types.py +1 -1
  594. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/version.py +1 -1
  595. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/__init__.py +1 -1
  596. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/addr.py +1 -1
  597. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/aws.py +1 -1
  598. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/azuresecrets.py +1 -1
  599. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/boru.py +1 -1
  600. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/doppler.py +1 -1
  601. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/gcpsecrets.py +1 -1
  602. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/hashicorp.py +1 -1
  603. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/httpjson.py +1 -1
  604. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/infisical.py +1 -1
  605. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/minivault.py +1 -1
  606. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/onepassword.py +1 -1
  607. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/secretspec.py +1 -1
  608. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/sigv4.py +1 -1
  609. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/providers.py +1 -1
  610. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/sekreto.py +1 -1
  611. package/project/.sdk/tm/py/pkg/utility/voxgig_struct/voxgig_struct.py +1 -2
  612. package/project/.sdk/tm/py/test/test_pipeline.py +3 -1
  613. package/project/.sdk/tm/py/test/voxgig_omni/__init__.py +1 -1
  614. package/project/.sdk/tm/py/test/voxgig_omni/runner.py +1 -1
  615. package/project/.sdk/tm/py/test/voxgig_omni/util.py +1 -1
  616. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/capability.rb +2 -2
  617. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/catalog.rb +2 -2
  618. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/config.rb +2 -2
  619. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/depend.rb +2 -2
  620. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/env.rb +2 -2
  621. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/export.rb +2 -2
  622. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/graph.rb +2 -2
  623. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/host.rb +2 -2
  624. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/order.rb +2 -2
  625. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/point.rb +2 -2
  626. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/ref.rb +2 -2
  627. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/resolve.rb +2 -2
  628. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/types.rb +2 -2
  629. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/version.rb +2 -2
  630. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin.rb +2 -2
  631. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/addr.rb +2 -2
  632. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/aws.rb +2 -2
  633. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/azuresecrets.rb +2 -2
  634. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/boru.rb +2 -2
  635. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/doppler.rb +2 -2
  636. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/gcpsecrets.rb +2 -2
  637. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/hashicorp.rb +2 -2
  638. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/httpjson.rb +2 -2
  639. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/infisical.rb +2 -2
  640. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/minivault.rb +2 -2
  641. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/onepassword.rb +2 -2
  642. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/secretspec.rb +2 -2
  643. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/sigv4.rb +2 -2
  644. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/providers.rb +2 -2
  645. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/sekreto.rb +2 -2
  646. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto.rb +2 -2
  647. package/project/.sdk/tm/rb/test/pipeline_test.rb +3 -1
  648. package/project/.sdk/tm/rb/test/vendor/omni/runner.rb +2 -2
  649. package/project/.sdk/tm/rb/test/vendor/omni/util.rb +2 -2
  650. package/project/.sdk/tm/rb/test/vendor/omni/voxgig_omni.rb +2 -2
  651. package/project/.sdk/tm/rb/utility/struct/voxgig_struct.rb +0 -1
  652. package/project/.sdk/tm/rust/feature/secrets/plugin/capability.rs +2 -43
  653. package/project/.sdk/tm/rust/feature/secrets/plugin/catalog.rs +2 -10
  654. package/project/.sdk/tm/rust/feature/secrets/plugin/config.rs +12 -57
  655. package/project/.sdk/tm/rust/feature/secrets/plugin/depend.rs +2 -83
  656. package/project/.sdk/tm/rust/feature/secrets/plugin/env.rs +2 -35
  657. package/project/.sdk/tm/rust/feature/secrets/plugin/export.rs +2 -13
  658. package/project/.sdk/tm/rust/feature/secrets/plugin/graph.rs +2 -27
  659. package/project/.sdk/tm/rust/feature/secrets/plugin/host.rs +2 -173
  660. package/project/.sdk/tm/rust/feature/secrets/plugin/mod.rs +2 -2
  661. package/project/.sdk/tm/rust/feature/secrets/plugin/order.rs +2 -40
  662. package/project/.sdk/tm/rust/feature/secrets/plugin/point.rs +2 -31
  663. package/project/.sdk/tm/rust/feature/secrets/plugin/refs.rs +2 -28
  664. package/project/.sdk/tm/rust/feature/secrets/plugin/resolve.rs +2 -14
  665. package/project/.sdk/tm/rust/feature/secrets/plugin/types.rs +2 -28
  666. package/project/.sdk/tm/rust/feature/secrets/plugin/value.rs +2 -29
  667. package/project/.sdk/tm/rust/feature/secrets/plugin/version.rs +2 -21
  668. package/project/.sdk/tm/rust/feature/secrets/plugins/aws/crypto.rs +3 -18
  669. package/project/.sdk/tm/rust/feature/secrets/plugins/aws/sigv4.rs +2 -24
  670. package/project/.sdk/tm/rust/feature/secrets/plugins/aws.rs +2 -21
  671. package/project/.sdk/tm/rust/feature/secrets/plugins/azuresecrets.rs +2 -13
  672. package/project/.sdk/tm/rust/feature/secrets/plugins/boru.rs +2 -28
  673. package/project/.sdk/tm/rust/feature/secrets/plugins/doppler.rs +2 -8
  674. package/project/.sdk/tm/rust/feature/secrets/plugins/gcpsecrets.rs +2 -13
  675. package/project/.sdk/tm/rust/feature/secrets/plugins/hashicorp.rs +2 -16
  676. package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/http.rs +2 -92
  677. package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/json.rs +2 -8
  678. package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson.rs +2 -31
  679. package/project/.sdk/tm/rust/feature/secrets/plugins/infisical.rs +2 -8
  680. package/project/.sdk/tm/rust/feature/secrets/plugins/minivault/format.rs +2 -58
  681. package/project/.sdk/tm/rust/feature/secrets/plugins/minivault.rs +3 -139
  682. package/project/.sdk/tm/rust/feature/secrets/plugins/onepassword.rs +2 -8
  683. package/project/.sdk/tm/rust/feature/secrets/plugins/secretspec.rs +2 -39
  684. package/project/.sdk/tm/rust/feature/secrets/sekreto/addr.rs +2 -54
  685. package/project/.sdk/tm/rust/feature/secrets/sekreto/mod.rs +2 -31
  686. package/project/.sdk/tm/rust/feature/secrets/sekreto/providers.rs +2 -129
  687. package/project/.sdk/tm/rust/feature/secrets/sekreto/sekreto.rs +2 -101
  688. package/project/.sdk/tm/rust/tests/vendor/omni/json.rs +2 -8
  689. package/project/.sdk/tm/rust/tests/vendor/omni/mod.rs +3 -19
  690. package/project/.sdk/tm/rust/tests/vendor/omni/regex.rs +2 -12
  691. package/project/.sdk/tm/rust/tests/vendor/omni/runner.rs +2 -64
  692. package/project/.sdk/tm/rust/tests/vendor/omni/util.rs +2 -7
  693. package/project/.sdk/tm/scala/feature/secrets/plugin/Capability.scala +2 -2
  694. package/project/.sdk/tm/scala/feature/secrets/plugin/Config.scala +2 -2
  695. package/project/.sdk/tm/scala/feature/secrets/plugin/Depend.scala +2 -2
  696. package/project/.sdk/tm/scala/feature/secrets/plugin/Env.scala +2 -2
  697. package/project/.sdk/tm/scala/feature/secrets/plugin/Export.scala +2 -2
  698. package/project/.sdk/tm/scala/feature/secrets/plugin/Graph.scala +2 -2
  699. package/project/.sdk/tm/scala/feature/secrets/plugin/Host.scala +2 -2
  700. package/project/.sdk/tm/scala/feature/secrets/plugin/Json.scala +2 -2
  701. package/project/.sdk/tm/scala/feature/secrets/plugin/Order.scala +2 -2
  702. package/project/.sdk/tm/scala/feature/secrets/plugin/Plugin.scala +2 -2
  703. package/project/.sdk/tm/scala/feature/secrets/plugin/Point.scala +2 -2
  704. package/project/.sdk/tm/scala/feature/secrets/plugin/Refs.scala +2 -2
  705. package/project/.sdk/tm/scala/feature/secrets/plugin/Resolve.scala +2 -2
  706. package/project/.sdk/tm/scala/feature/secrets/plugin/Types.scala +2 -2
  707. package/project/.sdk/tm/scala/feature/secrets/plugin/Value.scala +2 -2
  708. package/project/.sdk/tm/scala/feature/secrets/plugin/Version.scala +2 -2
  709. package/project/.sdk/tm/scala/feature/secrets/sekreto/Json.scala +2 -2
  710. package/project/.sdk/tm/scala/feature/secrets/sekreto/Provider.scala +2 -2
  711. package/project/.sdk/tm/scala/feature/secrets/sekreto/Providers.scala +2 -2
  712. package/project/.sdk/tm/scala/feature/secrets/sekreto/Sekreto.scala +2 -2
  713. package/project/.sdk/tm/scala/feature/secrets/sekreto/Spec.scala +2 -2
  714. package/project/.sdk/tm/scala/feature/secrets/sekreto/Support.scala +2 -2
  715. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Aws.scala +2 -2
  716. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Azuresecrets.scala +2 -2
  717. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Boru.scala +2 -2
  718. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Doppler.scala +2 -2
  719. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Gcpsecrets.scala +2 -2
  720. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Hashicorp.scala +2 -2
  721. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Httpjson.scala +2 -2
  722. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Infisical.scala +2 -2
  723. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Minivault.scala +2 -2
  724. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Onepassword.scala +2 -2
  725. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Secretspec.scala +2 -2
  726. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Sigv4.scala +2 -2
  727. package/project/.sdk/tm/scala/sdktest/vendor/omni/Json.scala +2 -2
  728. package/project/.sdk/tm/scala/sdktest/vendor/omni/Runner.scala +2 -2
  729. package/project/.sdk/tm/scala/sdktest/vendor/omni/Util.scala +2 -2
  730. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Capability.swift +2 -2
  731. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Catalog.swift +2 -2
  732. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Config.swift +2 -2
  733. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Depend.swift +2 -2
  734. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Env.swift +2 -2
  735. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Export.swift +2 -2
  736. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Graph.swift +2 -2
  737. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Host.swift +2 -2
  738. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Json.swift +2 -2
  739. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Order.swift +2 -2
  740. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Point.swift +2 -2
  741. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Refs.swift +2 -2
  742. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Resolve.swift +2 -2
  743. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Types.swift +2 -2
  744. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Value.swift +2 -2
  745. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Version.swift +2 -2
  746. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Aws.swift +2 -2
  747. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Azuresecrets.swift +2 -2
  748. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Boru.swift +2 -2
  749. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Crypto.swift +2 -2
  750. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Doppler.swift +2 -2
  751. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Gcpsecrets.swift +2 -2
  752. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Hashicorp.swift +2 -2
  753. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Httpjson.swift +2 -2
  754. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Infisical.swift +2 -2
  755. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Onepassword.swift +2 -2
  756. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Proc.swift +2 -2
  757. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Secretspec.swift +2 -2
  758. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Sigv4.swift +2 -2
  759. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Addr.swift +2 -2
  760. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Json.swift +2 -2
  761. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Provider.swift +2 -2
  762. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Providers.swift +2 -2
  763. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Sekreto.swift +2 -2
  764. package/project/.sdk/tm/swift/Tests/vendor/omni/Json.swift +2 -2
  765. package/project/.sdk/tm/swift/Tests/vendor/omni/Runner.swift +2 -2
  766. package/project/.sdk/tm/swift/Tests/vendor/omni/Util.swift +2 -2
  767. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Capability.ts +1 -48
  768. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Catalog.ts +1 -7
  769. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Config.ts +17 -77
  770. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Depend.ts +1 -89
  771. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Env.ts +1 -37
  772. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Export.ts +1 -23
  773. package/project/.sdk/tm/ts/src/feature/secrets/plugin/FeatureHost.ts +1 -178
  774. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Graph.ts +1 -44
  775. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Host.ts +4 -351
  776. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Order.ts +1 -53
  777. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Point.ts +2 -40
  778. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Ref.ts +1 -31
  779. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Resolve.ts +1 -20
  780. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Types.ts +1 -44
  781. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Version.ts +1 -34
  782. package/project/.sdk/tm/ts/src/feature/secrets/plugin/index.ts +1 -5
  783. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/Sekreto.ts +2 -131
  784. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/index.ts +1 -21
  785. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/aws.ts +1 -16
  786. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/azuresecrets.ts +1 -12
  787. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/boru.ts +1 -27
  788. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/doppler.ts +1 -7
  789. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/gcpsecrets.ts +1 -12
  790. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/hashicorp.ts +1 -15
  791. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/httpjson.ts +1 -35
  792. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/infisical.ts +1 -7
  793. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/minivault.ts +1 -212
  794. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/onepassword.ts +1 -7
  795. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/secretspec.ts +1 -23
  796. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/sigv4.ts +2 -32
  797. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/addr.ts +1 -45
  798. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/builtin.ts +1 -10
  799. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/dotenv.ts +1 -1
  800. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/env.ts +1 -1
  801. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/file.ts +1 -9
  802. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/memory.ts +1 -1
  803. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/support.ts +1 -108
  804. package/project/.sdk/tm/ts/src/utility/StructUtility.ts +35 -393
  805. package/project/.sdk/tm/ts/test/pipeline.test.ts +3 -1
  806. package/project/.sdk/tm/ts/test/vendor/omni/Runner.ts +1 -59
  807. package/project/.sdk/tm/ts/test/vendor/omni/Util.ts +1 -19
  808. package/project/.sdk/tm/ts/test/vendor/omni/index.ts +1 -1
  809. package/project/.sdk/tm/zig/feature/secrets/plugin/capability.zig +2 -2
  810. package/project/.sdk/tm/zig/feature/secrets/plugin/catalog.zig +2 -2
  811. package/project/.sdk/tm/zig/feature/secrets/plugin/config.zig +2 -2
  812. package/project/.sdk/tm/zig/feature/secrets/plugin/depend.zig +2 -2
  813. package/project/.sdk/tm/zig/feature/secrets/plugin/env.zig +2 -2
  814. package/project/.sdk/tm/zig/feature/secrets/plugin/export.zig +2 -2
  815. package/project/.sdk/tm/zig/feature/secrets/plugin/graph.zig +2 -2
  816. package/project/.sdk/tm/zig/feature/secrets/plugin/host.zig +2 -2
  817. package/project/.sdk/tm/zig/feature/secrets/plugin/inst.zig +2 -2
  818. package/project/.sdk/tm/zig/feature/secrets/plugin/order.zig +2 -2
  819. package/project/.sdk/tm/zig/feature/secrets/plugin/plugin.zig +2 -2
  820. package/project/.sdk/tm/zig/feature/secrets/plugin/point.zig +2 -2
  821. package/project/.sdk/tm/zig/feature/secrets/plugin/ref.zig +2 -2
  822. package/project/.sdk/tm/zig/feature/secrets/plugin/resolve.zig +2 -2
  823. package/project/.sdk/tm/zig/feature/secrets/plugin/types.zig +2 -2
  824. package/project/.sdk/tm/zig/feature/secrets/plugin/value.zig +2 -2
  825. package/project/.sdk/tm/zig/feature/secrets/plugin/version.zig +2 -2
  826. package/project/.sdk/tm/zig/feature/secrets/plugins/aws.zig +2 -2
  827. package/project/.sdk/tm/zig/feature/secrets/plugins/azuresecrets.zig +2 -2
  828. package/project/.sdk/tm/zig/feature/secrets/plugins/boru.zig +2 -2
  829. package/project/.sdk/tm/zig/feature/secrets/plugins/doppler.zig +2 -2
  830. package/project/.sdk/tm/zig/feature/secrets/plugins/gcpsecrets.zig +2 -2
  831. package/project/.sdk/tm/zig/feature/secrets/plugins/hashicorp.zig +2 -2
  832. package/project/.sdk/tm/zig/feature/secrets/plugins/httpjson.zig +2 -2
  833. package/project/.sdk/tm/zig/feature/secrets/plugins/infisical.zig +2 -2
  834. package/project/.sdk/tm/zig/feature/secrets/plugins/minivault.zig +2 -2
  835. package/project/.sdk/tm/zig/feature/secrets/plugins/onepassword.zig +2 -2
  836. package/project/.sdk/tm/zig/feature/secrets/plugins/secretspec.zig +2 -2
  837. package/project/.sdk/tm/zig/feature/secrets/plugins/sigv4.zig +2 -2
  838. package/project/.sdk/tm/zig/feature/secrets/sekreto/addr.zig +2 -2
  839. package/project/.sdk/tm/zig/feature/secrets/sekreto/builtins.zig +2 -2
  840. package/project/.sdk/tm/zig/feature/secrets/sekreto/provider.zig +2 -2
  841. package/project/.sdk/tm/zig/feature/secrets/sekreto/sekreto.zig +2 -2
  842. package/project/.sdk/tm/zig/test/vendor/omni/omni.zig +2 -2
  843. package/project/.sdk/tm/zig/test/vendor/omni/regex.zig +2 -2
  844. package/project/.sdk/tm/zig/utility/voxgigstruct/regex.zig +2 -2
  845. package/project/.sdk/tm/zig/utility/voxgigstruct/struct.zig +2 -2
  846. package/project/sdkgen-package.json +1 -1
  847. package/src/admin/npm-trust.ts +408 -0
  848. package/src/cmp/PublishWorkflow.ts +56 -26
  849. package/src/sdkgen.ts +2 -0
package/bin/voxgig-sdkgen CHANGED
@@ -8,7 +8,7 @@ const { Shape, One, Skip } = require('shape')
8
8
 
9
9
  const { SdkGen } = require('../dist/sdkgen.js')
10
10
 
11
- const VERSION = '4.29.0'
11
+ const VERSION = '4.30.1'
12
12
  const KONSOLE = console
13
13
 
14
14
 
@@ -0,0 +1,39 @@
1
+ type Mode = 'setup' | 'check' | 'dry-run';
2
+ type Publication = {
3
+ pkg: string;
4
+ file: string;
5
+ };
6
+ type TrustSpec = {
7
+ repository: string;
8
+ publish: Publication[];
9
+ mode: Mode;
10
+ replace: boolean;
11
+ otp?: string;
12
+ };
13
+ type TrustEntry = {
14
+ id?: string;
15
+ type?: string;
16
+ file?: string;
17
+ repository?: string;
18
+ environment?: string;
19
+ permissions?: string[];
20
+ };
21
+ type Assessment = {
22
+ match?: TrustEntry;
23
+ extra: TrustEntry[];
24
+ };
25
+ type NpmPort = {
26
+ list(pkg: string): TrustEntry[];
27
+ create(pkg: string, repository: string, file: string): void;
28
+ revoke(pkg: string, id: string): void;
29
+ };
30
+ declare function parseArgs(argv: string[]): TrustSpec;
31
+ declare function parseTrustList(text: string): TrustEntry[];
32
+ declare function assess(pub: Publication, repository: string, entries: TrustEntry[]): Assessment;
33
+ declare function trustCommand(repository: string, pub: Publication): string;
34
+ declare function run(spec: TrustSpec, npm: NpmPort, out: (line: string) => void): number;
35
+ declare function npmFailure(action: string, stderr: string): string;
36
+ declare function npmTrustScript(repository: string | null, publish: Publication[]): string;
37
+ declare function main(argv: string[]): number;
38
+ export type { Assessment, NpmPort, Publication, TrustEntry, TrustSpec, };
39
+ export { assess, main, npmFailure, npmTrustScript, parseArgs, parseTrustList, run, trustCommand, };
@@ -0,0 +1,308 @@
1
+ "use strict";
2
+ /* Copyright (c) 2026 Voxgig Ltd, MIT License */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.assess = assess;
5
+ exports.main = main;
6
+ exports.npmFailure = npmFailure;
7
+ exports.npmTrustScript = npmTrustScript;
8
+ exports.parseArgs = parseArgs;
9
+ exports.parseTrustList = parseTrustList;
10
+ exports.run = run;
11
+ exports.trustCommand = trustCommand;
12
+ const node_child_process_1 = require("node:child_process");
13
+ const USAGE = 'usage: npm-trust --repository <owner/repo> ' +
14
+ '--publish <package>=<workflow.yml> [--publish ...] ' +
15
+ '[--check | --dry-run] [--replace] [--otp <code>]';
16
+ const REPOSITORY_RE = /^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/;
17
+ const WORKFLOW_RE = /^[A-Za-z0-9_.-]+\.ya?ml$/;
18
+ const PACKAGE_RE = /^(@[a-z0-9][a-z0-9._~-]*\/)?[a-z0-9][a-z0-9._~-]*$/;
19
+ function parseArgs(argv) {
20
+ const spec = { repository: '', publish: [], mode: 'setup', replace: false };
21
+ const modes = [];
22
+ for (let i = 0; i < argv.length; i++) {
23
+ const arg = argv[i];
24
+ const value = () => {
25
+ const v = argv[++i];
26
+ if (null == v || v.startsWith('--')) {
27
+ throw new Error(`${arg} needs a value\n${USAGE}`);
28
+ }
29
+ return v;
30
+ };
31
+ if ('--repository' === arg) {
32
+ if ('' !== spec.repository) {
33
+ throw new Error('--repository is given twice; the generated script already names it');
34
+ }
35
+ spec.repository = value();
36
+ }
37
+ else if ('--publish' === arg) {
38
+ const v = value();
39
+ const eq = v.indexOf('=');
40
+ spec.publish.push({ pkg: v.slice(0, eq < 0 ? v.length : eq), file: eq < 0 ? '' : v.slice(eq + 1) });
41
+ }
42
+ else if ('--check' === arg || '--dry-run' === arg) {
43
+ modes.push(arg.slice(2));
44
+ }
45
+ else if ('--replace' === arg) {
46
+ spec.replace = true;
47
+ }
48
+ else if ('--otp' === arg) {
49
+ spec.otp = value();
50
+ }
51
+ else {
52
+ throw new Error(`unknown argument: ${arg}\n${USAGE}`);
53
+ }
54
+ }
55
+ if (1 < modes.length) {
56
+ throw new Error(`--check and --dry-run are alternatives\n${USAGE}`);
57
+ }
58
+ spec.mode = modes[0] || 'setup';
59
+ if ('check' === spec.mode && spec.replace) {
60
+ throw new Error('--check changes nothing, so it cannot --replace');
61
+ }
62
+ if (!REPOSITORY_RE.test(spec.repository)) {
63
+ throw new Error(`--repository must be owner/repo, got: ${spec.repository || '(none)'}\n${USAGE}`);
64
+ }
65
+ if (0 === spec.publish.length) {
66
+ throw new Error(`at least one --publish is required\n${USAGE}`);
67
+ }
68
+ const seen = new Set();
69
+ for (const { pkg, file } of spec.publish) {
70
+ if (!PACKAGE_RE.test(pkg)) {
71
+ throw new Error(`not an npm package name: ${pkg}`);
72
+ }
73
+ if (!WORKFLOW_RE.test(file)) {
74
+ throw new Error(`${pkg}: the workflow must be a .yml file name, not a path, got: ${file || '(none)'}`);
75
+ }
76
+ if (seen.has(pkg)) {
77
+ throw new Error(`${pkg} is named twice`);
78
+ }
79
+ seen.add(pkg);
80
+ }
81
+ return spec;
82
+ }
83
+ // `npm trust list --json` prints one pretty-printed object per configuration
84
+ // rather than an array, so the objects are split out by brace depth.
85
+ function parseTrustList(text) {
86
+ const src = text.trim();
87
+ if ('' === src) {
88
+ return [];
89
+ }
90
+ try {
91
+ const whole = JSON.parse(src);
92
+ return Array.isArray(whole) ? whole : [whole];
93
+ }
94
+ catch {
95
+ // Not a single JSON value: fall through to the object stream.
96
+ }
97
+ const entries = [];
98
+ let depth = 0;
99
+ let start = -1;
100
+ let inString = false;
101
+ let escaped = false;
102
+ for (let i = 0; i < src.length; i++) {
103
+ const c = src[i];
104
+ if (inString) {
105
+ if (escaped) {
106
+ escaped = false;
107
+ }
108
+ else if ('\\' === c) {
109
+ escaped = true;
110
+ }
111
+ else if ('"' === c) {
112
+ inString = false;
113
+ }
114
+ }
115
+ else if ('"' === c) {
116
+ inString = true;
117
+ }
118
+ else if ('{' === c) {
119
+ if (0 === depth) {
120
+ start = i;
121
+ }
122
+ depth++;
123
+ }
124
+ else if ('}' === c) {
125
+ depth--;
126
+ if (0 === depth) {
127
+ entries.push(JSON.parse(src.slice(start, i + 1)));
128
+ }
129
+ }
130
+ }
131
+ if (0 !== depth) {
132
+ throw new Error('could not read the output of `npm trust list --json`');
133
+ }
134
+ return entries;
135
+ }
136
+ // The generated workflows declare no GitHub environment, so a configuration
137
+ // that names one would never match the job's OIDC token.
138
+ function assess(pub, repository, entries) {
139
+ const matches = (e) => 'github' === e.type &&
140
+ repository.toLowerCase() === String(e.repository || '').toLowerCase() &&
141
+ pub.file === e.file &&
142
+ null == e.environment &&
143
+ (null == e.permissions || e.permissions.includes('createPackage'));
144
+ const match = entries.find(matches);
145
+ return { match, extra: entries.filter((e) => e !== match) };
146
+ }
147
+ function describe(e) {
148
+ return [
149
+ e.type || '?',
150
+ e.repository || '?',
151
+ e.file || '?',
152
+ ...(null == e.environment ? [] : ['environment ' + e.environment]),
153
+ ...(null == e.permissions ? [] : ['[' + e.permissions.join(', ') + ']']),
154
+ ...(null == e.id ? [] : ['id ' + e.id]),
155
+ ].join(' ');
156
+ }
157
+ function trustCommand(repository, pub) {
158
+ return `npm trust github ${pub.pkg} --repository ${repository} ` +
159
+ `--file ${pub.file} --allow-publish`;
160
+ }
161
+ function run(spec, npm, out) {
162
+ if ('dry-run' === spec.mode) {
163
+ for (const pub of spec.publish) {
164
+ out(`${pub.pkg}: ${trustCommand(spec.repository, pub)}`);
165
+ }
166
+ if (spec.replace) {
167
+ out('--replace would also revoke any other trusted publisher of these packages.');
168
+ }
169
+ return 0;
170
+ }
171
+ let drift = false;
172
+ // Nothing is created beside a configuration this repository did not ask
173
+ // for, so a replacement revokes first and creates after.
174
+ for (const pub of spec.publish) {
175
+ const { match, extra } = assess(pub, spec.repository, npm.list(pub.pkg));
176
+ const wanted = `github ${spec.repository} ${pub.file}`;
177
+ let kept = 0;
178
+ for (const e of extra) {
179
+ if ('setup' === spec.mode && spec.replace && null != e.id) {
180
+ npm.revoke(pub.pkg, e.id);
181
+ out(`${pub.pkg}: revoked: ${describe(e)}`);
182
+ }
183
+ else {
184
+ kept++;
185
+ out(`${pub.pkg}: also trusted, and not by this repository's workflows: ${describe(e)}` +
186
+ ('setup' === spec.mode ? ' (--replace revokes it)' : ''));
187
+ }
188
+ }
189
+ const create = null == match && 'setup' === spec.mode && 0 === kept;
190
+ if (null != match) {
191
+ out(`${pub.pkg}: trusted: ${wanted}`);
192
+ }
193
+ else if (create) {
194
+ npm.create(pub.pkg, spec.repository, pub.file);
195
+ out(`${pub.pkg}: now trusted: ${wanted}`);
196
+ }
197
+ else {
198
+ out(`${pub.pkg}: NOT trusted: ${wanted}`);
199
+ }
200
+ drift = drift || 0 < kept || (null == match && !create);
201
+ }
202
+ return drift ? 1 : 0;
203
+ }
204
+ function npmFailure(action, stderr) {
205
+ if (/EOTP|one-time pass/i.test(stderr)) {
206
+ return `${action} needs a one-time password: run again with --otp <code>`;
207
+ }
208
+ if (/E404|not found/i.test(stderr)) {
209
+ return `${action}: the package is not on npm yet. Publish its first version ` +
210
+ 'by hand, then set up trusted publishing';
211
+ }
212
+ if (/E401|ENEEDAUTH/.test(stderr)) {
213
+ return `${action}: not logged in to npm with publish rights. Run \`npm login\` first`;
214
+ }
215
+ return `${action} failed:\n${stderr.trim()}`;
216
+ }
217
+ // An npm without the command still exits 0 from `npm trust --help`, printing
218
+ // "Unknown command", so only the usage text tells a capable npm apart.
219
+ function trustCapableNpm() {
220
+ const shell = 'win32' === process.platform;
221
+ const probe = (0, node_child_process_1.spawnSync)('npm', ['trust', '--help'], { encoding: 'utf8', shell });
222
+ return /npm trust github/.test(String(probe.stdout || '') + String(probe.stderr || '')) ?
223
+ ['npm'] : ['npx', '--yes', 'npm@latest'];
224
+ }
225
+ // A captured call has no terminal, so npm raises EOTP instead of prompting;
226
+ // the mutating calls keep the terminal and can prompt.
227
+ function npmPort(otp) {
228
+ const npm = trustCapableNpm();
229
+ const shell = 'win32' === process.platform;
230
+ const otpArgs = null == otp ? [] : ['--otp', otp];
231
+ const call = (args, capture) => {
232
+ const res = (0, node_child_process_1.spawnSync)(npm[0], [...npm.slice(1), ...args, ...otpArgs], {
233
+ encoding: 'utf8',
234
+ stdio: capture ? ['ignore', 'pipe', 'pipe'] : 'inherit',
235
+ shell,
236
+ });
237
+ if (null != res.error) {
238
+ throw new Error(`could not run ${npm[0]}: ${res.error.message}`);
239
+ }
240
+ if (0 !== res.status) {
241
+ throw new Error(npmFailure(`npm ${args.slice(0, 3).join(' ')}`, String(res.stderr || '')));
242
+ }
243
+ return String(res.stdout || '');
244
+ };
245
+ return {
246
+ list: (pkg) => parseTrustList(call(['trust', 'list', pkg, '--json'], true)),
247
+ create: (pkg, repository, file) => {
248
+ call(['trust', 'github', pkg, '--repository', repository,
249
+ '--file', file, '--allow-publish', '--yes'], false);
250
+ },
251
+ revoke: (pkg, id) => {
252
+ call(['trust', 'revoke', pkg, '--id=' + id], false);
253
+ },
254
+ };
255
+ }
256
+ function shellQuote(value) {
257
+ return "'" + value.replace(/'/g, "'\\''") + "'";
258
+ }
259
+ // A null repository still writes the script, so one generated while the
260
+ // repository was on github.com cannot outlive the move.
261
+ function npmTrustScript(repository, publish) {
262
+ if (null == repository) {
263
+ return `#!/usr/bin/env bash
264
+ # Generated by @voxgig/sdkgen. npm trusts GitHub Actions only for a repository
265
+ # on github.com, and this project's repository is elsewhere.
266
+ echo 'npm trusted publishing needs the repository on github.com; see .sdk/PUBLISHING.md.' >&2
267
+ exit 1
268
+ `;
269
+ }
270
+ const args = [
271
+ '--repository ' + shellQuote(repository),
272
+ ...publish.map((p) => '--publish ' + shellQuote(`${p.pkg}=${p.file}`)),
273
+ '"$@"',
274
+ ];
275
+ return `#!/usr/bin/env bash
276
+ # Generated by @voxgig/sdkgen. Registers this repository's npm publish
277
+ # workflows as trusted publishers; --check reports drift, --dry-run changes nothing.
278
+ set -euo pipefail
279
+ sdk_dir="$(cd -- "$(dirname -- "\${BASH_SOURCE[0]}")/.." && pwd)"
280
+ trust="$sdk_dir/node_modules/@voxgig/sdkgen/dist/admin/npm-trust.js"
281
+ if [[ ! -f "$trust" ]]; then
282
+ echo 'Install or update the .sdk dependencies to configure npm trusted publishing.' >&2
283
+ exit 1
284
+ fi
285
+ exec node "$trust" \\
286
+ ${args.join(' \\\n ')}
287
+ `;
288
+ }
289
+ const OFFLINE = {
290
+ list() { throw new Error('--dry-run does not contact npm'); },
291
+ create() { throw new Error('--dry-run does not contact npm'); },
292
+ revoke() { throw new Error('--dry-run does not contact npm'); },
293
+ };
294
+ function main(argv) {
295
+ try {
296
+ const spec = parseArgs(argv);
297
+ const npm = 'dry-run' === spec.mode ? OFFLINE : npmPort(spec.otp);
298
+ return run(spec, npm, (line) => console.log(line));
299
+ }
300
+ catch (err) {
301
+ console.error(err.message);
302
+ return 2;
303
+ }
304
+ }
305
+ if (require.main === module) {
306
+ process.exitCode = main(process.argv.slice(2));
307
+ }
308
+ //# sourceMappingURL=npm-trust.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"npm-trust.js","sourceRoot":"","sources":["../../src/admin/npm-trust.ts"],"names":[],"mappings":";AAAA,gDAAgD;;QA+Y9C,MAAM;QACN,IAAI;QACJ,UAAU;QACV,cAAc;QACd,SAAS;QACT,cAAc;QACd,GAAG;QACH,YAAY;AApZd,2DAA8C;AAuC9C,MAAM,KAAK,GACT,6CAA6C;IAC7C,qDAAqD;IACrD,kDAAkD,CAAA;AAEpD,MAAM,aAAa,GAAG,oCAAoC,CAAA;AAC1D,MAAM,WAAW,GAAG,0BAA0B,CAAA;AAC9C,MAAM,UAAU,GAAG,oDAAoD,CAAA;AAGvE,SAAS,SAAS,CAAC,IAAc;IAC/B,MAAM,IAAI,GAAc,EAAE,UAAU,EAAE,EAAE,EAAE,OAAO,EAAE,E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GAAG,SAAS,KAAK,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;QACjE,OAAO,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAA;IACpD,CAAC;IACD,OAAO,GAAQ,EAAE,CAAC;QAChB,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;QAC1B,OAAO,CAAC,CAAA;IACV,CAAC;AACH,CAAC;AAGD,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;IAC5B,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;AAChD,CAAC"}
@@ -5,6 +5,7 @@ exports.PublishWorkflow = void 0;
5
5
  const jostraca_1 = require("jostraca");
6
6
  const types_1 = require("../types");
7
7
  const packageMeta_1 = require("../helpers/packageMeta");
8
+ const npm_trust_1 = require("../admin/npm-trust");
8
9
  const PublishWorkflow = (0, jostraca_1.cmp)(function PublishWorkflow(props) {
9
10
  const { ctx$ } = props;
10
11
  const { model } = ctx$;
@@ -25,19 +26,26 @@ const PublishWorkflow = (0, jostraca_1.cmp)(function PublishWorkflow(props) {
25
26
  if (0 === npmTargets.length) {
26
27
  return;
27
28
  }
28
- const { repoUrl } = (0, packageMeta_1.repoInfo)(model);
29
+ // npm trusts GitHub Actions only for a repository on github.com.
30
+ const { host, path } = (0, packageMeta_1.repoInfo)(model);
31
+ const repository = 'github.com' === host.toLowerCase() ? path : null;
29
32
  (0, jostraca_1.Folder)({ name: '.github' }, () => {
30
33
  (0, jostraca_1.Folder)({ name: 'workflows' }, () => {
31
34
  for (const target of npmTargets) {
32
- (0, jostraca_1.File)({ name: `publish-${target.name}.yml` }, () => {
33
- (0, jostraca_1.Content)(publishWorkflow(model, target, npmTargets));
35
+ (0, jostraca_1.File)({ name: workflowFile(target) }, () => {
36
+ (0, jostraca_1.Content)(publishWorkflow(model, target, npmTargets, repository));
34
37
  });
35
38
  }
36
39
  });
37
40
  });
38
41
  (0, jostraca_1.Folder)({ name: '.sdk' }, () => {
39
42
  (0, jostraca_1.File)({ name: 'PUBLISHING.md' }, () => {
40
- (0, jostraca_1.Content)(publishingDoc(model, npmTargets, repoUrl));
43
+ (0, jostraca_1.Content)(publishingDoc(model, npmTargets, repository));
44
+ });
45
+ (0, jostraca_1.Folder)({ name: 'admin' }, () => {
46
+ (0, jostraca_1.File)({ name: 'setup-npm-trust.sh', mode: 0o755 }, () => {
47
+ (0, jostraca_1.Content)((0, npm_trust_1.npmTrustScript)(repository, npmTargets.map((t) => ({ pkg: (0, packageMeta_1.packageName)(model, t.name), file: workflowFile(t) }))));
48
+ });
41
49
  });
42
50
  });
43
51
  ctx$.log.info({
@@ -46,6 +54,9 @@ const PublishWorkflow = (0, jostraca_1.cmp)(function PublishWorkflow(props) {
46
54
  });
47
55
  });
48
56
  exports.PublishWorkflow = PublishWorkflow;
57
+ function workflowFile(target) {
58
+ return `publish-${target.name}.yml`;
59
+ }
49
60
  function isPrimaryNpm(model, target, npmTargets) {
50
61
  if (1 === npmTargets.length) {
51
62
  return true;
@@ -56,10 +67,14 @@ function releaseTag(model, target, npmTargets) {
56
67
  return isPrimaryNpm(model, target, npmTargets) ?
57
68
  'v$VERSION' : `${target.name}/v$VERSION`;
58
69
  }
59
- function publishWorkflow(model, target, npmTargets) {
70
+ function publishWorkflow(model, target, npmTargets, repository) {
60
71
  const name = target.name;
61
72
  const tag = releaseTag(model, target, npmTargets);
62
73
  const pkg = (0, packageMeta_1.packageName)(model, name);
74
+ const setup = null == repository ? '' : `
75
+ # .sdk/admin/setup-npm-trust.sh registers exactly this, and with --check
76
+ # reports any drift from it.
77
+ #`;
63
78
  return `# Generated by @voxgig/sdkgen. Do not edit.
64
79
  #
65
80
  # Publishes ${pkg} (the \`${name}/\` target) to npm, via GitHub OIDC Trusted
@@ -70,10 +85,10 @@ function publishWorkflow(model, target, npmTargets) {
70
85
  # SET UP ONCE, by a maintainer with publish rights — see .sdk/PUBLISHING.md:
71
86
  #
72
87
  # npm trust github ${pkg} \\
73
- # --repository <owner>/<repo> \\
74
- # --file publish-${name}.yml \\
88
+ # --repository ${repository ?? '<owner>/<repo>'} \\
89
+ # --file ${workflowFile(target)} \\
75
90
  # --allow-publish
76
- #
91
+ #${setup}
77
92
  # THE FILENAME IS PART OF THAT CONFIGURATION. Renaming this file breaks
78
93
  # publishing until the npm side is updated to match.
79
94
  #
@@ -263,16 +278,23 @@ jobs:
263
278
  echo "pushed \$TAG" >> "\$GITHUB_STEP_SUMMARY"
264
279
  `;
265
280
  }
266
- function publishingDoc(model, targets, repoUrl) {
281
+ function publishingDoc(model, targets, repository) {
267
282
  const pkg = (0, packageMeta_1.packageName)(model, targets[0].name);
268
- const repo = String(repoUrl || '')
269
- .replace(/^git\+/, '')
270
- .replace(/^(https?:\/\/)?(www\.)?github\.com[/:]/, '')
271
- .replace(/\.git$/, '')
272
- .replace(/\/+$/, '');
273
- const owner = '' === repo ? '<owner>/<repo>' : repo;
283
+ const first = workflowFile(targets[0]);
284
+ const setupHow = null == repository ? 'run:' :
285
+ 'run\n`.sdk/admin/setup-npm-trust.sh`. It registers every workflow in the table\n' +
286
+ 'above and leaves a package that is already set up alone; for the\n' +
287
+ `\`${targets[0].name}\` target it runs:`;
288
+ const setupCheck = null == repository ? '' : `
289
+ Run the script again with \`--check\` at any time. It compares what npm holds
290
+ with what these workflows need, changes nothing, and exits non-zero on any
291
+ difference, including a trusted publisher this repository did not ask for.
292
+ \`--replace\` revokes those, \`--dry-run\` prints the commands without contacting
293
+ npm, and \`--otp <code>\` hands npm a one-time password when it asks for one.
294
+ An npm with no \`npm trust\` command is bypassed for \`npx npm@latest\`.
295
+ `;
274
296
  const rows = targets.map((t) => `| \`${t.name}/\` | ${(0, packageMeta_1.packageName)(model, t.name)} | ` +
275
- `\`.github/workflows/publish-${t.name}.yml\` |`).join('\n');
297
+ `\`.github/workflows/${workflowFile(t)}\` |`).join('\n');
276
298
  // WHICH TAG EACH TARGET CUTS. Worth a table rather than a sentence: the
277
299
  // primary npm target owns the bare `v<version>` and every other one is
278
300
  // prefixed, so with more than one npm target the answer differs per row.
@@ -307,7 +329,7 @@ publish credential, and attaches SLSA provenance as it goes.
307
329
  2. Commit and push to \`main\`, and let CI go green.
308
330
  3. Run the workflow from the Actions tab, or:
309
331
 
310
- gh workflow run publish-${targets[0].name}.yml --ref main -f expect_sha=$(git rev-parse HEAD)
332
+ gh workflow run ${first} --ref main -f expect_sha=$(git rev-parse HEAD)
311
333
 
312
334
  \`expect_sha\` is optional and worth using: it refuses if \`main\` moved between
313
335
  the commit you checked and the run resolving.
@@ -338,21 +360,20 @@ its token into the git config for the whole job.
338
360
 
339
361
  ## One-time set-up
340
362
 
341
- npm has to be told which repository and which workflow file may publish this
363
+ npm has to be told which repository and which workflow file may publish each
342
364
  package. From a machine logged in to npm with publish rights (2FA is
343
- required):
365
+ required), ${setupHow}
344
366
 
345
367
  npm trust github ${pkg} \\
346
- --repository ${owner} \\
347
- --file publish-${targets[0].name}.yml \\
368
+ --repository ${repository ?? '<owner>/<repo>'} \\
369
+ --file ${first} \\
348
370
  --allow-publish
349
-
350
- Then \`npm trust list ${pkg}\` shows it, and
351
- \`npm trust revoke ${pkg} --id=<id>\` removes it.
371
+ ${setupCheck}
372
+ \`npm trust list ${pkg}\` shows the configuration, and
373
+ \`npm trust revoke ${pkg} --id=<id>\` removes one.
352
374
 
353
375
  **The workflow filename is part of the configuration.** Renaming
354
- \`publish-${targets[0].name}.yml\` breaks publishing until the npm side is
355
- updated to match.
376
+ \`${first}\` breaks publishing until the npm side is updated to match.
356
377
 
357
378
  **A brand-new package cannot be set up this way.** npm only offers the
358
379
  trusted-publisher settings once a version exists, so the FIRST release of a
@@ -1 +1 @@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AM,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAEpB,OAAO;;;;;;;;;;EAUP,IAAI;;;;sCAIgC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI;;;;;;;;;4BASzB,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI;;;;;yBAKlB,KAAK;;;;;;;;;;;;;;;EAe5B,OAAO;;;;;;;;;;;;;;;;;;aAkBI,QAAQ;;uBAEE,GAAG;qBACL,UAAU,IAAI,gBAAgB;eACpC,KAAK;;EAElB,UAAU;mBACO,GAAG;qBACD,GAAG;;;IAGpB,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BR,CAAA;AACD,CAAC"}
package/dist/sdkgen.d.ts CHANGED
@@ -14,6 +14,7 @@ import { AgentGuideFeature } from './cmp/AgentGuideFeature';
14
14
  import { License } from './cmp/License';
15
15
  import { Security } from './cmp/Security';
16
16
  import { PublishWorkflow } from './cmp/PublishWorkflow';
17
+ import { npmTrustScript } from './admin/npm-trust';
17
18
  import { Changelog } from './cmp/Changelog';
18
19
  import { Test } from './cmp/Test';
19
20
  import { TestControl, TEST_CONTROL_EXCLUDE } from './cmp/TestControl';
@@ -138,4 +139,4 @@ export declare const Inject: Component;
138
139
  export declare const Line: Component;
139
140
  export declare const Slot: Component;
140
141
  export declare const List: Component;
141
- export { Main, Deploy, License, Security, PublishWorkflow, Changelog, Entity, Feature, Test, TestControl, TEST_CONTROL_EXCLUDE, Readme, ReadmeTop, AgentGuideTop, AgentGuide, AgentGuideFeature, ReadmeInstall, ReadmeQuick, ReadmeErrors, ReadmeIntro, ReadmeModel, ReadmeOptions, ReadmeEntity, ReadmeHowto, ReadmeExplanation, ReadmeRef, ReadmeRefFeatures, FeatureHook, registerComponent, resolvedFor, liveHint, pointFacts, hasLiveScenarios, Jostraca, SdkGen, requirePath, isAuthActive, resolveAuthPrefix, resolveAuthIn, resolveAuthName, isAuthSuppressed, isHttpBasicAuth, CONFIG_DATA_THRESHOLD, CONFIG_REPR_VALUES, isConfigData, configRepr, configReprSetting, configDefinition, clean, rawStringLiteral, SdkGenError, buildIdNames, entityRelationName, flowSteps, getMatchEntries, collectDeps, pointSegments, pointParts, pointTerminalParam, pointPathKey, canonToType, canonToSpec, entityDataSpec, entityOpSpec, entitySpecs, optionSpec, featureOptionSpec, entitySpecMap, canonToDtype, canonKey, canonScalarKey, OP_SUFFIX, opTypeName, opParams, ownPoint, opActions, entityActions, entityPath, opRequestShape, entityIdField, entityDataIdField, entityOps, entityPrimaryOp, pickExampleEntity, entityClassName, entityTypeCollisions, warnEntityTypeCollisions, deriveEntityNames, entityCollection, guardModelNames, isReservedName, safeVarName, exampleVarName, phpEntityAccessor, entityCacheField, isRbCoreConstant, isRbSdkConstant, rbSafeTypeName, isSwiftSdkType, swiftSafeTypeName, isPhpReservedType, isPhpSdkClass, phpSafeTypeName, isTsReservedType, tsSafeTypeName, serverVariables, hasServerVariables, serverVarEnv, liveStrict, primaryOpCall, idLiteral, matchArg, dataArg, litFor, featureOf, availableFeatures, findFeatureSources, featureExcludes, fullsetExcludes, srcFeatureExcludes, pluginExcludes, pluginExcludesFor, stationLibrary, featureApplies, targetFeatures, featureTags, unknownTags, TAGS, definitionPath, definitionFolder, definitionNames, MANIFEST, manifestPath, readManifest, validateManifest, jsProp, jsOptProp, jsKey, luaKey, prefixLeadingDigit, packageName, sdkName, installCommand, registryState, isPublished, registryName, vendorCommand, pkgDescription, nonAffiliation, keywords, authorInfo, contributorList, envName, envToken, goModule, goVersion, goPackageIdent, packageVersion, repoInfo, apiName, langLabel, originName, PUBLISHER, PUBLISHER_URL, SECURITY_EMAIL, GENERATOR_URL, };
142
+ export { Main, Deploy, License, Security, PublishWorkflow, npmTrustScript, Changelog, Entity, Feature, Test, TestControl, TEST_CONTROL_EXCLUDE, Readme, ReadmeTop, AgentGuideTop, AgentGuide, AgentGuideFeature, ReadmeInstall, ReadmeQuick, ReadmeErrors, ReadmeIntro, ReadmeModel, ReadmeOptions, ReadmeEntity, ReadmeHowto, ReadmeExplanation, ReadmeRef, ReadmeRefFeatures, FeatureHook, registerComponent, resolvedFor, liveHint, pointFacts, hasLiveScenarios, Jostraca, SdkGen, requirePath, isAuthActive, resolveAuthPrefix, resolveAuthIn, resolveAuthName, isAuthSuppressed, isHttpBasicAuth, CONFIG_DATA_THRESHOLD, CONFIG_REPR_VALUES, isConfigData, configRepr, configReprSetting, configDefinition, clean, rawStringLiteral, SdkGenError, buildIdNames, entityRelationName, flowSteps, getMatchEntries, collectDeps, pointSegments, pointParts, pointTerminalParam, pointPathKey, canonToType, canonToSpec, entityDataSpec, entityOpSpec, entitySpecs, optionSpec, featureOptionSpec, entitySpecMap, canonToDtype, canonKey, canonScalarKey, OP_SUFFIX, opTypeName, opParams, ownPoint, opActions, entityActions, entityPath, opRequestShape, entityIdField, entityDataIdField, entityOps, entityPrimaryOp, pickExampleEntity, entityClassName, entityTypeCollisions, warnEntityTypeCollisions, deriveEntityNames, entityCollection, guardModelNames, isReservedName, safeVarName, exampleVarName, phpEntityAccessor, entityCacheField, isRbCoreConstant, isRbSdkConstant, rbSafeTypeName, isSwiftSdkType, swiftSafeTypeName, isPhpReservedType, isPhpSdkClass, phpSafeTypeName, isTsReservedType, tsSafeTypeName, serverVariables, hasServerVariables, serverVarEnv, liveStrict, primaryOpCall, idLiteral, matchArg, dataArg, litFor, featureOf, availableFeatures, findFeatureSources, featureExcludes, fullsetExcludes, srcFeatureExcludes, pluginExcludes, pluginExcludesFor, stationLibrary, featureApplies, targetFeatures, featureTags, unknownTags, TAGS, definitionPath, definitionFolder, definitionNames, MANIFEST, manifestPath, readManifest, validateManifest, jsProp, jsOptProp, jsKey, luaKey, prefixLeadingDigit, packageName, sdkName, installCommand, registryState, isPublished, registryName, vendorCommand, pkgDescription, nonAffiliation, keywords, authorInfo, contributorList, envName, envToken, goModule, goVersion, goPackageIdent, packageVersion, repoInfo, apiName, langLabel, originName, PUBLISHER, PUBLISHER_URL, SECURITY_EMAIL, GENERATOR_URL, };
package/dist/sdkgen.js CHANGED
@@ -37,10 +37,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
37
37
  return (mod && mod.__esModule) ? mod : { "default": mod };
38
38
  };
39
39
  Object.defineProperty(exports, "__esModule", { value: true });
40
- exports.ReadmeRef = exports.ReadmeExplanation = exports.ReadmeHowto = exports.ReadmeEntity = exports.ReadmeOptions = exports.ReadmeModel = exports.ReadmeIntro = exports.ReadmeErrors = exports.ReadmeQuick = exports.ReadmeInstall = exports.AgentGuideFeature = exports.AgentGuide = exports.AgentGuideTop = exports.ReadmeTop = exports.Readme = exports.TEST_CONTROL_EXCLUDE = exports.TestControl = exports.Test = exports.Feature = exports.Entity = exports.Changelog = exports.PublishWorkflow = exports.Security = exports.License = exports.Deploy = exports.Main = exports.List = exports.Slot = exports.Line = exports.Inject = exports.Fragment = exports.Copy = exports.Content = exports.File = exports.Folder = exports.Project = exports.omap = exports.deep = exports.indent = exports.template = exports.getx = exports.get = exports.vmap = exports.cmap = exports.kebabify = exports.camelify = exports.snakify = exports.each = exports.names = exports.cmp = void 0;
41
- exports.entityActions = exports.opActions = exports.ownPoint = exports.opParams = exports.opTypeName = exports.OP_SUFFIX = exports.canonScalarKey = exports.canonKey = exports.canonToDtype = exports.entitySpecMap = exports.featureOptionSpec = exports.optionSpec = exports.entitySpecs = exports.entityOpSpec = exports.entityDataSpec = exports.canonToSpec = exports.canonToType = exports.pointPathKey = exports.pointTerminalParam = exports.pointParts = exports.pointSegments = exports.collectDeps = exports.getMatchEntries = exports.flowSteps = exports.entityRelationName = exports.buildIdNames = exports.SdkGenError = exports.rawStringLiteral = exports.clean = exports.configDefinition = exports.configReprSetting = exports.configRepr = exports.isConfigData = exports.CONFIG_REPR_VALUES = exports.CONFIG_DATA_THRESHOLD = exports.isHttpBasicAuth = exports.isAuthSuppressed = exports.resolveAuthName = exports.resolveAuthIn = exports.resolveAuthPrefix = exports.isAuthActive = exports.requirePath = exports.Jostraca = exports.hasLiveScenarios = exports.pointFacts = exports.liveHint = exports.resolvedFor = exports.registerComponent = exports.FeatureHook = exports.ReadmeRefFeatures = void 0;
42
- exports.unknownTags = exports.featureTags = exports.targetFeatures = exports.featureApplies = exports.stationLibrary = exports.pluginExcludesFor = exports.pluginExcludes = exports.srcFeatureExcludes = exports.fullsetExcludes = exports.featureExcludes = exports.findFeatureSources = exports.availableFeatures = exports.featureOf = exports.litFor = exports.dataArg = exports.matchArg = exports.idLiteral = exports.primaryOpCall = exports.liveStrict = exports.serverVarEnv = exports.hasServerVariables = exports.serverVariables = exports.tsSafeTypeName = exports.isTsReservedType = exports.phpSafeTypeName = exports.isPhpSdkClass = exports.isPhpReservedType = exports.swiftSafeTypeName = exports.isSwiftSdkType = exports.rbSafeTypeName = exports.isRbSdkConstant = exports.isRbCoreConstant = exports.entityCacheField = exports.phpEntityAccessor = exports.exampleVarName = exports.safeVarName = exports.isReservedName = exports.guardModelNames = exports.entityCollection = exports.deriveEntityNames = exports.warnEntityTypeCollisions = exports.entityTypeCollisions = exports.entityClassName = exports.pickExampleEntity = exports.entityPrimaryOp = exports.entityOps = exports.entityDataIdField = exports.entityIdField = exports.opRequestShape = exports.entityPath = void 0;
43
- exports.GENERATOR_URL = exports.SECURITY_EMAIL = exports.PUBLISHER_URL = exports.PUBLISHER = exports.originName = exports.langLabel = exports.apiName = exports.repoInfo = exports.packageVersion = exports.goPackageIdent = exports.goVersion = exports.goModule = exports.envToken = exports.envName = exports.contributorList = exports.authorInfo = exports.keywords = exports.nonAffiliation = exports.pkgDescription = exports.vendorCommand = exports.registryName = exports.isPublished = exports.registryState = exports.installCommand = exports.sdkName = exports.packageName = exports.prefixLeadingDigit = exports.luaKey = exports.jsKey = exports.jsOptProp = exports.jsProp = exports.validateManifest = exports.readManifest = exports.manifestPath = exports.MANIFEST = exports.definitionNames = exports.definitionFolder = exports.definitionPath = exports.TAGS = void 0;
40
+ exports.ReadmeExplanation = exports.ReadmeHowto = exports.ReadmeEntity = exports.ReadmeOptions = exports.ReadmeModel = exports.ReadmeIntro = exports.ReadmeErrors = exports.ReadmeQuick = exports.ReadmeInstall = exports.AgentGuideFeature = exports.AgentGuide = exports.AgentGuideTop = exports.ReadmeTop = exports.Readme = exports.TEST_CONTROL_EXCLUDE = exports.TestControl = exports.Test = exports.Feature = exports.Entity = exports.Changelog = exports.npmTrustScript = exports.PublishWorkflow = exports.Security = exports.License = exports.Deploy = exports.Main = exports.List = exports.Slot = exports.Line = exports.Inject = exports.Fragment = exports.Copy = exports.Content = exports.File = exports.Folder = exports.Project = exports.omap = exports.deep = exports.indent = exports.template = exports.getx = exports.get = exports.vmap = exports.cmap = exports.kebabify = exports.camelify = exports.snakify = exports.each = exports.names = exports.cmp = void 0;
41
+ exports.opActions = exports.ownPoint = exports.opParams = exports.opTypeName = exports.OP_SUFFIX = exports.canonScalarKey = exports.canonKey = exports.canonToDtype = exports.entitySpecMap = exports.featureOptionSpec = exports.optionSpec = exports.entitySpecs = exports.entityOpSpec = exports.entityDataSpec = exports.canonToSpec = exports.canonToType = exports.pointPathKey = exports.pointTerminalParam = exports.pointParts = exports.pointSegments = exports.collectDeps = exports.getMatchEntries = exports.flowSteps = exports.entityRelationName = exports.buildIdNames = exports.SdkGenError = exports.rawStringLiteral = exports.clean = exports.configDefinition = exports.configReprSetting = exports.configRepr = exports.isConfigData = exports.CONFIG_REPR_VALUES = exports.CONFIG_DATA_THRESHOLD = exports.isHttpBasicAuth = exports.isAuthSuppressed = exports.resolveAuthName = exports.resolveAuthIn = exports.resolveAuthPrefix = exports.isAuthActive = exports.requirePath = exports.Jostraca = exports.hasLiveScenarios = exports.pointFacts = exports.liveHint = exports.resolvedFor = exports.registerComponent = exports.FeatureHook = exports.ReadmeRefFeatures = exports.ReadmeRef = void 0;
42
+ exports.featureTags = exports.targetFeatures = exports.featureApplies = exports.stationLibrary = exports.pluginExcludesFor = exports.pluginExcludes = exports.srcFeatureExcludes = exports.fullsetExcludes = exports.featureExcludes = exports.findFeatureSources = exports.availableFeatures = exports.featureOf = exports.litFor = exports.dataArg = exports.matchArg = exports.idLiteral = exports.primaryOpCall = exports.liveStrict = exports.serverVarEnv = exports.hasServerVariables = exports.serverVariables = exports.tsSafeTypeName = exports.isTsReservedType = exports.phpSafeTypeName = exports.isPhpSdkClass = exports.isPhpReservedType = exports.swiftSafeTypeName = exports.isSwiftSdkType = exports.rbSafeTypeName = exports.isRbSdkConstant = exports.isRbCoreConstant = exports.entityCacheField = exports.phpEntityAccessor = exports.exampleVarName = exports.safeVarName = exports.isReservedName = exports.guardModelNames = exports.entityCollection = exports.deriveEntityNames = exports.warnEntityTypeCollisions = exports.entityTypeCollisions = exports.entityClassName = exports.pickExampleEntity = exports.entityPrimaryOp = exports.entityOps = exports.entityDataIdField = exports.entityIdField = exports.opRequestShape = exports.entityPath = exports.entityActions = void 0;
43
+ exports.GENERATOR_URL = exports.SECURITY_EMAIL = exports.PUBLISHER_URL = exports.PUBLISHER = exports.originName = exports.langLabel = exports.apiName = exports.repoInfo = exports.packageVersion = exports.goPackageIdent = exports.goVersion = exports.goModule = exports.envToken = exports.envName = exports.contributorList = exports.authorInfo = exports.keywords = exports.nonAffiliation = exports.pkgDescription = exports.vendorCommand = exports.registryName = exports.isPublished = exports.registryState = exports.installCommand = exports.sdkName = exports.packageName = exports.prefixLeadingDigit = exports.luaKey = exports.jsKey = exports.jsOptProp = exports.jsProp = exports.validateManifest = exports.readManifest = exports.manifestPath = exports.MANIFEST = exports.definitionNames = exports.definitionFolder = exports.definitionPath = exports.TAGS = exports.unknownTags = void 0;
44
44
  exports.SdkGen = SdkGen;
45
45
  const node_fs_1 = __importDefault(require("node:fs"));
46
46
  const node_path_1 = __importDefault(require("node:path"));
@@ -97,6 +97,8 @@ const Security_1 = require("./cmp/Security");
97
97
  Object.defineProperty(exports, "Security", { enumerable: true, get: function () { return Security_1.Security; } });
98
98
  const PublishWorkflow_1 = require("./cmp/PublishWorkflow");
99
99
  Object.defineProperty(exports, "PublishWorkflow", { enumerable: true, get: function () { return PublishWorkflow_1.PublishWorkflow; } });
100
+ const npm_trust_1 = require("./admin/npm-trust");
101
+ Object.defineProperty(exports, "npmTrustScript", { enumerable: true, get: function () { return npm_trust_1.npmTrustScript; } });
100
102
  const Changelog_1 = require("./cmp/Changelog");
101
103
  Object.defineProperty(exports, "Changelog", { enumerable: true, get: function () { return Changelog_1.Changelog; } });
102
104
  const Test_1 = require("./cmp/Test");