@voxgig/sdkgen 4.34.7 → 4.35.0

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 (1213) hide show
  1. package/bin/voxgig-sdkgen +1 -1
  2. package/dist/action/doctor.d.ts +2 -0
  3. package/dist/action/doctor.js +60 -12
  4. package/dist/action/doctor.js.map +1 -1
  5. package/dist/action/target.d.ts +4 -1
  6. package/dist/action/target.js +39 -3
  7. package/dist/action/target.js.map +1 -1
  8. package/dist/cmp/ReadmeTop.js +56 -20
  9. package/dist/cmp/ReadmeTop.js.map +1 -1
  10. package/dist/helpers/canonSpec.d.ts +7 -1
  11. package/dist/helpers/canonSpec.js +44 -0
  12. package/dist/helpers/canonSpec.js.map +1 -1
  13. package/dist/helpers/graphqlPoint.d.ts +6 -0
  14. package/dist/helpers/graphqlPoint.js +73 -0
  15. package/dist/helpers/graphqlPoint.js.map +1 -0
  16. package/dist/helpers/naming.d.ts +2 -1
  17. package/dist/helpers/naming.js +5 -3
  18. package/dist/helpers/naming.js.map +1 -1
  19. package/dist/helpers/opExample.d.ts +4 -1
  20. package/dist/helpers/opExample.js +31 -6
  21. package/dist/helpers/opExample.js.map +1 -1
  22. package/dist/helpers/opShape.d.ts +2 -1
  23. package/dist/helpers/opShape.js +31 -8
  24. package/dist/helpers/opShape.js.map +1 -1
  25. package/dist/helpers/packageMeta.d.ts +2 -1
  26. package/dist/helpers/packageMeta.js +5 -0
  27. package/dist/helpers/packageMeta.js.map +1 -1
  28. package/dist/sdkgen.d.ts +6 -5
  29. package/dist/sdkgen.js +15 -4
  30. package/dist/sdkgen.js.map +1 -1
  31. package/dist/tsconfig.tsbuildinfo +1 -1
  32. package/dist/utility.js +7 -17
  33. package/dist/utility.js.map +1 -1
  34. package/package.json +1 -1
  35. package/project/.sdk/src/cmp/c/Config_c.ts +8 -14
  36. package/project/.sdk/src/cmp/c/Gitignore_c.ts +3 -0
  37. package/project/.sdk/src/cmp/c/ReadmeEntity_c.ts +6 -7
  38. package/project/.sdk/src/cmp/c/ReadmeHowto_c.ts +47 -4
  39. package/project/.sdk/src/cmp/c/ReadmeInstall_c.ts +24 -4
  40. package/project/.sdk/src/cmp/c/ReadmeQuick_c.ts +14 -17
  41. package/project/.sdk/src/cmp/c/ReadmeRef_c.ts +7 -8
  42. package/project/.sdk/src/cmp/c/ReadmeTopQuick_c.ts +5 -6
  43. package/project/.sdk/src/cmp/c/ReadmeTopTest_c.ts +2 -3
  44. package/project/.sdk/src/cmp/c/TestDirect_c.ts +23 -2
  45. package/project/.sdk/src/cmp/c/fragment/Entity.fragment.c +1 -2
  46. package/project/.sdk/src/cmp/c/fragment/EntityListOp.fragment.c +1 -1
  47. package/project/.sdk/src/cmp/clojure/ReadmeEntity_clojure.ts +6 -7
  48. package/project/.sdk/src/cmp/clojure/ReadmeHowto_clojure.ts +6 -2
  49. package/project/.sdk/src/cmp/clojure/ReadmeQuick_clojure.ts +14 -17
  50. package/project/.sdk/src/cmp/clojure/ReadmeRef_clojure.ts +7 -8
  51. package/project/.sdk/src/cmp/clojure/ReadmeTopQuick_clojure.ts +5 -6
  52. package/project/.sdk/src/cmp/clojure/ReadmeTopTest_clojure.ts +2 -3
  53. package/project/.sdk/src/cmp/clojure/fragment/Entity.fragment.clj +6 -3
  54. package/project/.sdk/src/cmp/cpp/ReadmeEntity_cpp.ts +6 -7
  55. package/project/.sdk/src/cmp/cpp/ReadmeHowto_cpp.ts +6 -2
  56. package/project/.sdk/src/cmp/cpp/ReadmeQuick_cpp.ts +14 -17
  57. package/project/.sdk/src/cmp/cpp/ReadmeRef_cpp.ts +7 -8
  58. package/project/.sdk/src/cmp/cpp/ReadmeTopQuick_cpp.ts +5 -6
  59. package/project/.sdk/src/cmp/cpp/ReadmeTopTest_cpp.ts +2 -3
  60. package/project/.sdk/src/cmp/cpp/TestDirect_cpp.ts +25 -2
  61. package/project/.sdk/src/cmp/cpp/fragment/EntityListOp.fragment.cpp +1 -3
  62. package/project/.sdk/src/cmp/csharp/Package_csharp.ts +1 -1
  63. package/project/.sdk/src/cmp/csharp/ReadmeEntity_csharp.ts +6 -7
  64. package/project/.sdk/src/cmp/csharp/ReadmeHowto_csharp.ts +7 -2
  65. package/project/.sdk/src/cmp/csharp/ReadmeQuick_csharp.ts +13 -16
  66. package/project/.sdk/src/cmp/csharp/ReadmeRef_csharp.ts +7 -8
  67. package/project/.sdk/src/cmp/csharp/ReadmeTopQuick_csharp.ts +5 -6
  68. package/project/.sdk/src/cmp/csharp/ReadmeTopTest_csharp.ts +2 -3
  69. package/project/.sdk/src/cmp/csharp/TestDirect_csharp.ts +20 -2
  70. package/project/.sdk/src/cmp/csharp/fragment/EntityBase.fragment.cs +3 -3
  71. package/project/.sdk/src/cmp/elixir/Package_elixir.ts +3 -1
  72. package/project/.sdk/src/cmp/elixir/ReadmeEntity_elixir.ts +5 -6
  73. package/project/.sdk/src/cmp/elixir/ReadmeHowto_elixir.ts +5 -2
  74. package/project/.sdk/src/cmp/elixir/ReadmeQuick_elixir.ts +13 -16
  75. package/project/.sdk/src/cmp/elixir/ReadmeRef_elixir.ts +6 -7
  76. package/project/.sdk/src/cmp/elixir/ReadmeTopQuick_elixir.ts +4 -5
  77. package/project/.sdk/src/cmp/elixir/ReadmeTopTest_elixir.ts +2 -3
  78. package/project/.sdk/src/cmp/elixir/fragment/Pipeline.fragment.ex +4 -1
  79. package/project/.sdk/src/cmp/elixir/utility_elixir.ts +1 -1
  80. package/project/.sdk/src/cmp/go/ReadmeEntity_go.ts +4 -5
  81. package/project/.sdk/src/cmp/go/ReadmeHowto_go.ts +2 -3
  82. package/project/.sdk/src/cmp/go/ReadmeModel_go.ts +7 -2
  83. package/project/.sdk/src/cmp/go/ReadmeQuick_go.ts +6 -7
  84. package/project/.sdk/src/cmp/go/ReadmeRef_go.ts +5 -6
  85. package/project/.sdk/src/cmp/go/ReadmeTopQuick_go.ts +5 -7
  86. package/project/.sdk/src/cmp/go/ReadmeTopTest_go.ts +6 -2
  87. package/project/.sdk/src/cmp/go/TestDirect_go.ts +25 -9
  88. package/project/.sdk/src/cmp/go/fragment/Entity.fragment.go +7 -6
  89. package/project/.sdk/src/cmp/go/fragment/EntityCreateOp.fragment.go +3 -3
  90. package/project/.sdk/src/cmp/go/fragment/EntityLoadOp.fragment.go +3 -3
  91. package/project/.sdk/src/cmp/go/fragment/EntityPatchOp.fragment.go +3 -3
  92. package/project/.sdk/src/cmp/go/fragment/EntityRemoveOp.fragment.go +3 -3
  93. package/project/.sdk/src/cmp/go/fragment/EntityUpdateOp.fragment.go +3 -3
  94. package/project/.sdk/src/cmp/java/ReadmeEntity_java.ts +5 -6
  95. package/project/.sdk/src/cmp/java/ReadmeHowto_java.ts +9 -4
  96. package/project/.sdk/src/cmp/java/ReadmeQuick_java.ts +13 -16
  97. package/project/.sdk/src/cmp/java/ReadmeRef_java.ts +7 -8
  98. package/project/.sdk/src/cmp/java/ReadmeTopQuick_java.ts +3 -4
  99. package/project/.sdk/src/cmp/java/ReadmeTopTest_java.ts +3 -4
  100. package/project/.sdk/src/cmp/java/TestDirect_java.ts +20 -2
  101. package/project/.sdk/src/cmp/java/fragment/EntityBase.fragment.java +4 -3
  102. package/project/.sdk/src/cmp/java/utility_java.ts +5 -3
  103. package/project/.sdk/src/cmp/js/ReadmeEntity_js.ts +2 -3
  104. package/project/.sdk/src/cmp/js/ReadmeHowto_js.ts +3 -4
  105. package/project/.sdk/src/cmp/js/ReadmeQuick_js.ts +4 -5
  106. package/project/.sdk/src/cmp/js/ReadmeRef_js.ts +2 -3
  107. package/project/.sdk/src/cmp/js/ReadmeTopQuick_js.ts +3 -5
  108. package/project/.sdk/src/cmp/js/ReadmeTopTest_js.ts +2 -3
  109. package/project/.sdk/src/cmp/js/TestDirect_js.ts +18 -9
  110. package/project/.sdk/src/cmp/js/fragment/EntityBase.fragment.js +4 -2
  111. package/project/.sdk/src/cmp/js/fragment/EntityCreateOp.fragment.js +4 -1
  112. package/project/.sdk/src/cmp/js/fragment/EntityListOp.fragment.js +4 -1
  113. package/project/.sdk/src/cmp/js/fragment/EntityLoadOp.fragment.js +4 -1
  114. package/project/.sdk/src/cmp/js/fragment/EntityPatchOp.fragment.js +4 -1
  115. package/project/.sdk/src/cmp/js/fragment/EntityRemoveOp.fragment.js +4 -1
  116. package/project/.sdk/src/cmp/js/fragment/EntityUpdateOp.fragment.js +4 -1
  117. package/project/.sdk/src/cmp/kotlin/ReadmeEntity_kotlin.ts +6 -7
  118. package/project/.sdk/src/cmp/kotlin/ReadmeHowto_kotlin.ts +7 -2
  119. package/project/.sdk/src/cmp/kotlin/ReadmeQuick_kotlin.ts +13 -16
  120. package/project/.sdk/src/cmp/kotlin/ReadmeRef_kotlin.ts +7 -8
  121. package/project/.sdk/src/cmp/kotlin/ReadmeTopQuick_kotlin.ts +5 -6
  122. package/project/.sdk/src/cmp/kotlin/ReadmeTopTest_kotlin.ts +2 -3
  123. package/project/.sdk/src/cmp/kotlin/TestDirect_kotlin.ts +20 -2
  124. package/project/.sdk/src/cmp/kotlin/fragment/EntityBase.fragment.kt +3 -3
  125. package/project/.sdk/src/cmp/kotlin/fragment/EntityCreateOp.fragment.kt +1 -1
  126. package/project/.sdk/src/cmp/kotlin/fragment/EntityLoadOp.fragment.kt +1 -1
  127. package/project/.sdk/src/cmp/kotlin/fragment/EntityPatchOp.fragment.kt +1 -1
  128. package/project/.sdk/src/cmp/kotlin/fragment/EntityRemoveOp.fragment.kt +1 -1
  129. package/project/.sdk/src/cmp/kotlin/fragment/EntityUpdateOp.fragment.kt +1 -1
  130. package/project/.sdk/src/cmp/lua/Package_lua.ts +2 -1
  131. package/project/.sdk/src/cmp/lua/ReadmeEntity_lua.ts +3 -4
  132. package/project/.sdk/src/cmp/lua/ReadmeHowto_lua.ts +2 -3
  133. package/project/.sdk/src/cmp/lua/ReadmeModel_lua.ts +6 -2
  134. package/project/.sdk/src/cmp/lua/ReadmeQuick_lua.ts +11 -14
  135. package/project/.sdk/src/cmp/lua/ReadmeRef_lua.ts +3 -4
  136. package/project/.sdk/src/cmp/lua/ReadmeTopQuick_lua.ts +3 -4
  137. package/project/.sdk/src/cmp/lua/ReadmeTopTest_lua.ts +2 -3
  138. package/project/.sdk/src/cmp/lua/TestDirect_lua.ts +18 -2
  139. package/project/.sdk/src/cmp/lua/fragment/Entity.fragment.lua +15 -5
  140. package/project/.sdk/src/cmp/ocaml/EntityOperation_ocaml.ts +1 -1
  141. package/project/.sdk/src/cmp/ocaml/Entity_ocaml.ts +1 -1
  142. package/project/.sdk/src/cmp/ocaml/ReadmeEntity_ocaml.ts +6 -7
  143. package/project/.sdk/src/cmp/ocaml/ReadmeHowto_ocaml.ts +8 -4
  144. package/project/.sdk/src/cmp/ocaml/ReadmeQuick_ocaml.ts +14 -17
  145. package/project/.sdk/src/cmp/ocaml/ReadmeRef_ocaml.ts +7 -8
  146. package/project/.sdk/src/cmp/ocaml/ReadmeTopQuick_ocaml.ts +5 -6
  147. package/project/.sdk/src/cmp/ocaml/ReadmeTopTest_ocaml.ts +5 -6
  148. package/project/.sdk/src/cmp/ocaml/SdkError_ocaml.ts +8 -0
  149. package/project/.sdk/src/cmp/ocaml/fragment/RunOp.fragment.ml +5 -1
  150. package/project/.sdk/src/cmp/perl/Package_perl.ts +1 -1
  151. package/project/.sdk/src/cmp/perl/ReadmeEntity_perl.ts +6 -7
  152. package/project/.sdk/src/cmp/perl/ReadmeHowto_perl.ts +6 -2
  153. package/project/.sdk/src/cmp/perl/ReadmeQuick_perl.ts +14 -17
  154. package/project/.sdk/src/cmp/perl/ReadmeRef_perl.ts +7 -8
  155. package/project/.sdk/src/cmp/perl/ReadmeTopQuick_perl.ts +5 -6
  156. package/project/.sdk/src/cmp/perl/ReadmeTopTest_perl.ts +2 -3
  157. package/project/.sdk/src/cmp/perl/TestDirect_perl.ts +18 -2
  158. package/project/.sdk/src/cmp/perl/TestEntity_perl.ts +33 -2
  159. package/project/.sdk/src/cmp/perl/fragment/Entity.fragment.pm +8 -4
  160. package/project/.sdk/src/cmp/php/Package_php.ts +1 -1
  161. package/project/.sdk/src/cmp/php/ReadmeEntity_php.ts +5 -6
  162. package/project/.sdk/src/cmp/php/ReadmeHowto_php.ts +2 -3
  163. package/project/.sdk/src/cmp/php/ReadmeQuick_php.ts +14 -17
  164. package/project/.sdk/src/cmp/php/ReadmeRef_php.ts +6 -7
  165. package/project/.sdk/src/cmp/php/ReadmeTopQuick_php.ts +4 -5
  166. package/project/.sdk/src/cmp/php/ReadmeTopTest_php.ts +2 -3
  167. package/project/.sdk/src/cmp/php/TestDirect_php.ts +20 -2
  168. package/project/.sdk/src/cmp/php/TestEntity_php.ts +35 -2
  169. package/project/.sdk/src/cmp/php/fragment/Entity.fragment.php +11 -5
  170. package/project/.sdk/src/cmp/py/Package_py.ts +2 -1
  171. package/project/.sdk/src/cmp/py/ReadmeEntity_py.ts +5 -6
  172. package/project/.sdk/src/cmp/py/ReadmeHowto_py.ts +2 -3
  173. package/project/.sdk/src/cmp/py/ReadmeQuick_py.ts +13 -16
  174. package/project/.sdk/src/cmp/py/ReadmeRef_py.ts +6 -7
  175. package/project/.sdk/src/cmp/py/ReadmeTopQuick_py.ts +4 -5
  176. package/project/.sdk/src/cmp/py/ReadmeTopTest_py.ts +2 -3
  177. package/project/.sdk/src/cmp/py/TestDirect_py.ts +16 -2
  178. package/project/.sdk/src/cmp/py/TestEntity_py.ts +26 -2
  179. package/project/.sdk/src/cmp/py/fragment/Entity.fragment.py +6 -3
  180. package/project/.sdk/src/cmp/py-data/Main_py-data.ts +2 -2
  181. package/project/.sdk/src/cmp/rb/Package_rb.ts +2 -2
  182. package/project/.sdk/src/cmp/rb/ReadmeEntity_rb.ts +5 -6
  183. package/project/.sdk/src/cmp/rb/ReadmeHowto_rb.ts +2 -3
  184. package/project/.sdk/src/cmp/rb/ReadmeQuick_rb.ts +14 -17
  185. package/project/.sdk/src/cmp/rb/ReadmeRef_rb.ts +6 -7
  186. package/project/.sdk/src/cmp/rb/ReadmeTopQuick_rb.ts +4 -5
  187. package/project/.sdk/src/cmp/rb/ReadmeTopTest_rb.ts +2 -3
  188. package/project/.sdk/src/cmp/rb/TestDirect_rb.ts +18 -2
  189. package/project/.sdk/src/cmp/rb/TestEntity_rb.ts +31 -2
  190. package/project/.sdk/src/cmp/rb/fragment/Entity.fragment.rb +7 -4
  191. package/project/.sdk/src/cmp/rust/ReadmeEntity_rust.ts +5 -6
  192. package/project/.sdk/src/cmp/rust/ReadmeHowto_rust.ts +6 -2
  193. package/project/.sdk/src/cmp/rust/ReadmeQuick_rust.ts +13 -16
  194. package/project/.sdk/src/cmp/rust/ReadmeRef_rust.ts +6 -7
  195. package/project/.sdk/src/cmp/rust/ReadmeTopQuick_rust.ts +4 -5
  196. package/project/.sdk/src/cmp/rust/ReadmeTopTest_rust.ts +2 -3
  197. package/project/.sdk/src/cmp/rust/TestDirect_rust.ts +18 -2
  198. package/project/.sdk/src/cmp/rust/fragment/Entity.fragment.rs +1 -5
  199. package/project/.sdk/src/cmp/rust/fragment/EntityListOp.fragment.rs +1 -3
  200. package/project/.sdk/src/cmp/scala/ReadmeEntity_scala.ts +5 -6
  201. package/project/.sdk/src/cmp/scala/ReadmeHowto_scala.ts +9 -4
  202. package/project/.sdk/src/cmp/scala/ReadmeQuick_scala.ts +13 -16
  203. package/project/.sdk/src/cmp/scala/ReadmeRef_scala.ts +7 -8
  204. package/project/.sdk/src/cmp/scala/ReadmeTopQuick_scala.ts +3 -4
  205. package/project/.sdk/src/cmp/scala/ReadmeTopTest_scala.ts +3 -4
  206. package/project/.sdk/src/cmp/scala/TestDirect_scala.ts +14 -2
  207. package/project/.sdk/src/cmp/scala/fragment/EntityBase.fragment.scala +4 -3
  208. package/project/.sdk/src/cmp/scala/utility_scala.ts +5 -3
  209. package/project/.sdk/src/cmp/swift/ReadmeEntity_swift.ts +6 -7
  210. package/project/.sdk/src/cmp/swift/ReadmeHowto_swift.ts +7 -2
  211. package/project/.sdk/src/cmp/swift/ReadmeQuick_swift.ts +13 -16
  212. package/project/.sdk/src/cmp/swift/ReadmeRef_swift.ts +7 -8
  213. package/project/.sdk/src/cmp/swift/ReadmeTopQuick_swift.ts +5 -6
  214. package/project/.sdk/src/cmp/swift/ReadmeTopTest_swift.ts +2 -3
  215. package/project/.sdk/src/cmp/swift/fragment/EntityBase.fragment.swift +6 -6
  216. package/project/.sdk/src/cmp/swift/fragment/EntityCreateOp.fragment.swift +2 -2
  217. package/project/.sdk/src/cmp/swift/fragment/EntityListOp.fragment.swift +1 -1
  218. package/project/.sdk/src/cmp/swift/fragment/EntityLoadOp.fragment.swift +2 -2
  219. package/project/.sdk/src/cmp/swift/fragment/EntityPatchOp.fragment.swift +2 -2
  220. package/project/.sdk/src/cmp/swift/fragment/EntityRemoveOp.fragment.swift +2 -2
  221. package/project/.sdk/src/cmp/swift/fragment/EntityUpdateOp.fragment.swift +2 -2
  222. package/project/.sdk/src/cmp/ts/ReadmeEntity_ts.ts +2 -3
  223. package/project/.sdk/src/cmp/ts/ReadmeHowto_ts.ts +3 -4
  224. package/project/.sdk/src/cmp/ts/ReadmeQuick_ts.ts +7 -10
  225. package/project/.sdk/src/cmp/ts/ReadmeRef_ts.ts +2 -3
  226. package/project/.sdk/src/cmp/ts/ReadmeTopQuick_ts.ts +3 -5
  227. package/project/.sdk/src/cmp/ts/ReadmeTopTest_ts.ts +2 -3
  228. package/project/.sdk/src/cmp/ts/TestDirect_ts.ts +19 -9
  229. package/project/.sdk/src/cmp/ts/fragment/EntityBase.fragment.ts +4 -2
  230. package/project/.sdk/src/cmp/ts/fragment/EntityCreateOp.fragment.ts +4 -1
  231. package/project/.sdk/src/cmp/ts/fragment/EntityListOp.fragment.ts +4 -1
  232. package/project/.sdk/src/cmp/ts/fragment/EntityLoadOp.fragment.ts +4 -1
  233. package/project/.sdk/src/cmp/ts/fragment/EntityPatchOp.fragment.ts +4 -1
  234. package/project/.sdk/src/cmp/ts/fragment/EntityRemoveOp.fragment.ts +4 -1
  235. package/project/.sdk/src/cmp/ts/fragment/EntityUpdateOp.fragment.ts +4 -1
  236. package/project/.sdk/src/cmp/zig/ReadmeEntity_zig.ts +5 -6
  237. package/project/.sdk/src/cmp/zig/ReadmeHowto_zig.ts +6 -2
  238. package/project/.sdk/src/cmp/zig/ReadmeQuick_zig.ts +12 -15
  239. package/project/.sdk/src/cmp/zig/ReadmeRef_zig.ts +6 -7
  240. package/project/.sdk/src/cmp/zig/ReadmeTopQuick_zig.ts +4 -5
  241. package/project/.sdk/src/cmp/zig/ReadmeTopTest_zig.ts +2 -3
  242. package/project/.sdk/src/cmp/zig/fragment/Build.fragment.zig +3 -1
  243. package/project/.sdk/src/cmp/zig/fragment/Entity.fragment.zig +1 -5
  244. package/project/.sdk/src/cmp/zig/fragment/EntityListOp.fragment.zig +1 -3
  245. package/project/.sdk/tm/c/Makefile +140 -10
  246. package/project/.sdk/tm/c/core/error.c +7 -1
  247. package/project/.sdk/tm/c/core/sdk.h +15 -0
  248. package/project/.sdk/tm/c/feature/cache.c +4 -1
  249. package/project/.sdk/tm/c/feature/secrets/plugin/capability.c +2 -2
  250. package/project/.sdk/tm/c/feature/secrets/plugin/capability.h +2 -2
  251. package/project/.sdk/tm/c/feature/secrets/plugin/catalog.c +2 -2
  252. package/project/.sdk/tm/c/feature/secrets/plugin/catalog.h +2 -2
  253. package/project/.sdk/tm/c/feature/secrets/plugin/config.c +2 -2
  254. package/project/.sdk/tm/c/feature/secrets/plugin/config.h +2 -2
  255. package/project/.sdk/tm/c/feature/secrets/plugin/depend.c +2 -2
  256. package/project/.sdk/tm/c/feature/secrets/plugin/depend.h +2 -2
  257. package/project/.sdk/tm/c/feature/secrets/plugin/env.c +2 -2
  258. package/project/.sdk/tm/c/feature/secrets/plugin/env.h +2 -2
  259. package/project/.sdk/tm/c/feature/secrets/plugin/export.c +2 -2
  260. package/project/.sdk/tm/c/feature/secrets/plugin/export.h +2 -2
  261. package/project/.sdk/tm/c/feature/secrets/plugin/graph.c +2 -2
  262. package/project/.sdk/tm/c/feature/secrets/plugin/graph.h +2 -2
  263. package/project/.sdk/tm/c/feature/secrets/plugin/host.c +2 -2
  264. package/project/.sdk/tm/c/feature/secrets/plugin/host.h +2 -2
  265. package/project/.sdk/tm/c/feature/secrets/plugin/order.c +2 -2
  266. package/project/.sdk/tm/c/feature/secrets/plugin/order.h +2 -2
  267. package/project/.sdk/tm/c/feature/secrets/plugin/point.c +2 -2
  268. package/project/.sdk/tm/c/feature/secrets/plugin/point.h +2 -2
  269. package/project/.sdk/tm/c/feature/secrets/plugin/ref.c +2 -2
  270. package/project/.sdk/tm/c/feature/secrets/plugin/ref.h +2 -2
  271. package/project/.sdk/tm/c/feature/secrets/plugin/resolve.c +2 -2
  272. package/project/.sdk/tm/c/feature/secrets/plugin/resolve.h +2 -2
  273. package/project/.sdk/tm/c/feature/secrets/plugin/types.c +2 -2
  274. package/project/.sdk/tm/c/feature/secrets/plugin/types.h +2 -2
  275. package/project/.sdk/tm/c/feature/secrets/plugin/value.c +2 -2
  276. package/project/.sdk/tm/c/feature/secrets/plugin/value.h +2 -2
  277. package/project/.sdk/tm/c/feature/secrets/plugin/version.c +2 -2
  278. package/project/.sdk/tm/c/feature/secrets/plugin/version.h +2 -2
  279. package/project/.sdk/tm/c/feature/secrets/plugins/aws.c +2 -2
  280. package/project/.sdk/tm/c/feature/secrets/plugins/azuresecrets.c +2 -2
  281. package/project/.sdk/tm/c/feature/secrets/plugins/boru.c +2 -2
  282. package/project/.sdk/tm/c/feature/secrets/plugins/clock.c +2 -2
  283. package/project/.sdk/tm/c/feature/secrets/plugins/doppler.c +2 -2
  284. package/project/.sdk/tm/c/feature/secrets/plugins/encode.c +2 -2
  285. package/project/.sdk/tm/c/feature/secrets/plugins/gcpsecrets.c +2 -2
  286. package/project/.sdk/tm/c/feature/secrets/plugins/hashicorp.c +2 -2
  287. package/project/.sdk/tm/c/feature/secrets/plugins/httpjson.c +2 -2
  288. package/project/.sdk/tm/c/feature/secrets/plugins/infisical.c +2 -2
  289. package/project/.sdk/tm/c/feature/secrets/plugins/minivault.c +4 -3
  290. package/project/.sdk/tm/c/feature/secrets/plugins/onepassword.c +2 -2
  291. package/project/.sdk/tm/c/feature/secrets/plugins/proc.c +2 -2
  292. package/project/.sdk/tm/c/feature/secrets/plugins/secretspec.c +2 -2
  293. package/project/.sdk/tm/c/feature/secrets/plugins/sekretoplugins.h +2 -2
  294. package/project/.sdk/tm/c/feature/secrets/plugins/sha256.c +2 -2
  295. package/project/.sdk/tm/c/feature/secrets/plugins/sigv4.c +2 -2
  296. package/project/.sdk/tm/c/feature/secrets/plugins/support.h +2 -2
  297. package/project/.sdk/tm/c/feature/secrets/plugins/tls.c +2 -2
  298. package/project/.sdk/tm/c/feature/secrets/sekreto/internal.h +2 -2
  299. package/project/.sdk/tm/c/feature/secrets/sekreto/json.c +2 -2
  300. package/project/.sdk/tm/c/feature/secrets/sekreto/providers.c +2 -2
  301. package/project/.sdk/tm/c/feature/secrets/sekreto/sekreto.c +2 -2
  302. package/project/.sdk/tm/c/feature/secrets/sekreto/sekreto.h +2 -2
  303. package/project/.sdk/tm/c/feature/secrets/sekreto/util.c +2 -2
  304. package/project/.sdk/tm/c/feature/secrets.c +7 -9
  305. package/project/.sdk/tm/c/tests/pipeline_test.c +139 -41
  306. package/project/.sdk/tm/c/tests/primary_corpus_test.c +135 -6
  307. package/project/.sdk/tm/c/tests/transport_test.c +398 -0
  308. package/project/.sdk/tm/c/tests/vendor/omni/json.c +2 -2
  309. package/project/.sdk/tm/c/tests/vendor/omni/omni.h +6 -6
  310. package/project/.sdk/tm/c/tests/vendor/omni/runner.c +316 -97
  311. package/project/.sdk/tm/c/tests/vendor/omni/util.c +2 -2
  312. package/project/.sdk/tm/c/utility/fetcher.c +4 -17
  313. package/project/.sdk/tm/c/utility/http.c +1031 -0
  314. package/project/.sdk/tm/c/utility/make_error.c +1 -0
  315. package/project/.sdk/tm/c/utility/make_result.c +1 -6
  316. package/project/.sdk/tm/c/utility/make_url.c +9 -0
  317. package/project/.sdk/tm/c/utility/struct/utility.c +14 -15
  318. package/project/.sdk/tm/c/utility/struct/value_io.c +56 -32
  319. package/project/.sdk/tm/c/utility/struct/value_io.h +2 -1
  320. package/project/.sdk/tm/c/utility/tls/none.c +32 -0
  321. package/project/.sdk/tm/c/utility/tls/openssl.c +242 -0
  322. package/project/.sdk/tm/c/utility/tls/tls.h +36 -0
  323. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/capability.clj +2 -2
  324. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/catalog.clj +2 -2
  325. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/config.clj +2 -2
  326. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/depend.clj +2 -2
  327. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/env.clj +2 -2
  328. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/export.clj +2 -2
  329. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/graph.clj +2 -2
  330. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/host.clj +2 -2
  331. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/json.clj +2 -2
  332. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/order.clj +2 -2
  333. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/point.clj +2 -2
  334. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/ref.clj +2 -2
  335. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/resolve.clj +2 -2
  336. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/types.clj +2 -2
  337. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/version.clj +2 -2
  338. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin.clj +2 -2
  339. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/addr.clj +2 -2
  340. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/chain.clj +2 -2
  341. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/core.clj +2 -2
  342. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/json.clj +2 -2
  343. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/aws.clj +2 -2
  344. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/azuresecrets.clj +2 -2
  345. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/boru.clj +2 -2
  346. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/doppler.clj +2 -2
  347. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/gcpsecrets.clj +2 -2
  348. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/hashicorp.clj +2 -2
  349. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/httpjson.clj +2 -2
  350. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/infisical.clj +2 -2
  351. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/minivault.clj +2 -2
  352. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/onepassword.clj +2 -2
  353. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/proc.clj +2 -2
  354. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/secretspec.clj +2 -2
  355. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/sigv4.clj +2 -2
  356. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/provider.clj +2 -2
  357. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/providers.clj +2 -2
  358. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto.clj +2 -2
  359. package/project/.sdk/tm/clojure/src/sdk/core.clj +36 -20
  360. package/project/.sdk/tm/clojure/src/sdk/features.clj +2 -0
  361. package/project/.sdk/tm/clojure/src/voxgig/struct.clj +10 -6
  362. package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/json.clj +2 -2
  363. package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/runner.clj +163 -53
  364. package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/util.clj +2 -2
  365. package/project/.sdk/tm/cpp/core/types.hpp +1 -2
  366. package/project/.sdk/tm/cpp/feature/cache.hpp +3 -1
  367. package/project/.sdk/tm/cpp/feature/secrets/plugin/capability.cpp +2 -2
  368. package/project/.sdk/tm/cpp/feature/secrets/plugin/capability.hpp +2 -2
  369. package/project/.sdk/tm/cpp/feature/secrets/plugin/catalog.cpp +2 -2
  370. package/project/.sdk/tm/cpp/feature/secrets/plugin/catalog.hpp +2 -2
  371. package/project/.sdk/tm/cpp/feature/secrets/plugin/config.cpp +2 -2
  372. package/project/.sdk/tm/cpp/feature/secrets/plugin/config.hpp +2 -2
  373. package/project/.sdk/tm/cpp/feature/secrets/plugin/depend.cpp +2 -2
  374. package/project/.sdk/tm/cpp/feature/secrets/plugin/depend.hpp +2 -2
  375. package/project/.sdk/tm/cpp/feature/secrets/plugin/env.cpp +2 -2
  376. package/project/.sdk/tm/cpp/feature/secrets/plugin/env.hpp +2 -2
  377. package/project/.sdk/tm/cpp/feature/secrets/plugin/export.cpp +2 -2
  378. package/project/.sdk/tm/cpp/feature/secrets/plugin/export.hpp +2 -2
  379. package/project/.sdk/tm/cpp/feature/secrets/plugin/graph.cpp +2 -2
  380. package/project/.sdk/tm/cpp/feature/secrets/plugin/graph.hpp +2 -2
  381. package/project/.sdk/tm/cpp/feature/secrets/plugin/host.cpp +2 -2
  382. package/project/.sdk/tm/cpp/feature/secrets/plugin/host.hpp +2 -2
  383. package/project/.sdk/tm/cpp/feature/secrets/plugin/order.cpp +2 -2
  384. package/project/.sdk/tm/cpp/feature/secrets/plugin/order.hpp +2 -2
  385. package/project/.sdk/tm/cpp/feature/secrets/plugin/point.cpp +2 -2
  386. package/project/.sdk/tm/cpp/feature/secrets/plugin/point.hpp +2 -2
  387. package/project/.sdk/tm/cpp/feature/secrets/plugin/ref.cpp +2 -2
  388. package/project/.sdk/tm/cpp/feature/secrets/plugin/ref.hpp +2 -2
  389. package/project/.sdk/tm/cpp/feature/secrets/plugin/resolve.cpp +2 -2
  390. package/project/.sdk/tm/cpp/feature/secrets/plugin/resolve.hpp +2 -2
  391. package/project/.sdk/tm/cpp/feature/secrets/plugin/types.cpp +2 -2
  392. package/project/.sdk/tm/cpp/feature/secrets/plugin/types.hpp +2 -2
  393. package/project/.sdk/tm/cpp/feature/secrets/plugin/value.cpp +2 -2
  394. package/project/.sdk/tm/cpp/feature/secrets/plugin/value.hpp +2 -2
  395. package/project/.sdk/tm/cpp/feature/secrets/plugin/version.cpp +2 -2
  396. package/project/.sdk/tm/cpp/feature/secrets/plugin/version.hpp +2 -2
  397. package/project/.sdk/tm/cpp/feature/secrets/plugins/Aws.cpp +2 -2
  398. package/project/.sdk/tm/cpp/feature/secrets/plugins/Aws.hpp +2 -2
  399. package/project/.sdk/tm/cpp/feature/secrets/plugins/Azuresecrets.cpp +2 -2
  400. package/project/.sdk/tm/cpp/feature/secrets/plugins/Azuresecrets.hpp +2 -2
  401. package/project/.sdk/tm/cpp/feature/secrets/plugins/Boru.cpp +2 -2
  402. package/project/.sdk/tm/cpp/feature/secrets/plugins/Boru.hpp +2 -2
  403. package/project/.sdk/tm/cpp/feature/secrets/plugins/Crypto.cpp +2 -2
  404. package/project/.sdk/tm/cpp/feature/secrets/plugins/Crypto.hpp +2 -2
  405. package/project/.sdk/tm/cpp/feature/secrets/plugins/Doppler.cpp +2 -2
  406. package/project/.sdk/tm/cpp/feature/secrets/plugins/Doppler.hpp +2 -2
  407. package/project/.sdk/tm/cpp/feature/secrets/plugins/Gcpsecrets.cpp +2 -2
  408. package/project/.sdk/tm/cpp/feature/secrets/plugins/Gcpsecrets.hpp +2 -2
  409. package/project/.sdk/tm/cpp/feature/secrets/plugins/Hashicorp.cpp +2 -2
  410. package/project/.sdk/tm/cpp/feature/secrets/plugins/Hashicorp.hpp +2 -2
  411. package/project/.sdk/tm/cpp/feature/secrets/plugins/Httpjson.cpp +2 -2
  412. package/project/.sdk/tm/cpp/feature/secrets/plugins/Httpjson.hpp +2 -2
  413. package/project/.sdk/tm/cpp/feature/secrets/plugins/Infisical.cpp +2 -2
  414. package/project/.sdk/tm/cpp/feature/secrets/plugins/Infisical.hpp +2 -2
  415. package/project/.sdk/tm/cpp/feature/secrets/plugins/Minivault.cpp +2 -2
  416. package/project/.sdk/tm/cpp/feature/secrets/plugins/Minivault.hpp +2 -2
  417. package/project/.sdk/tm/cpp/feature/secrets/plugins/Onepassword.cpp +2 -2
  418. package/project/.sdk/tm/cpp/feature/secrets/plugins/Onepassword.hpp +2 -2
  419. package/project/.sdk/tm/cpp/feature/secrets/plugins/Proc.cpp +2 -2
  420. package/project/.sdk/tm/cpp/feature/secrets/plugins/Proc.hpp +2 -2
  421. package/project/.sdk/tm/cpp/feature/secrets/plugins/Secretspec.cpp +2 -2
  422. package/project/.sdk/tm/cpp/feature/secrets/plugins/Secretspec.hpp +2 -2
  423. package/project/.sdk/tm/cpp/feature/secrets/plugins/Sigv4.cpp +2 -2
  424. package/project/.sdk/tm/cpp/feature/secrets/plugins/Sigv4.hpp +2 -2
  425. package/project/.sdk/tm/cpp/feature/secrets/plugins/Tls.cpp +2 -2
  426. package/project/.sdk/tm/cpp/feature/secrets/plugins/Tls.hpp +2 -2
  427. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Json.cpp +2 -2
  428. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Json.hpp +2 -2
  429. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Provider.cpp +2 -2
  430. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Provider.hpp +2 -2
  431. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Providers.cpp +2 -2
  432. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Providers.hpp +2 -2
  433. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Sekreto.cpp +2 -2
  434. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Sekreto.hpp +2 -2
  435. package/project/.sdk/tm/cpp/test/auth_credential.hpp +121 -0
  436. package/project/.sdk/tm/cpp/test/pipeline_test.cpp +15 -9
  437. package/project/.sdk/tm/cpp/test/primary_utility_test.cpp +14 -1
  438. package/project/.sdk/tm/cpp/test/vendor/omni/json.hpp +2 -2
  439. package/project/.sdk/tm/cpp/test/vendor/omni/omni.hpp +242 -56
  440. package/project/.sdk/tm/cpp/test/vendor/omni/util.hpp +2 -2
  441. package/project/.sdk/tm/cpp/utility/pipeline.hpp +25 -2
  442. package/project/.sdk/tm/cpp/utility/voxgigstruct/value_io.hpp +60 -32
  443. package/project/.sdk/tm/cpp/utility/voxgigstruct/voxgig_struct.hpp +15 -8
  444. package/project/.sdk/tm/csharp/feature/CacheFeature.cs +3 -1
  445. package/project/.sdk/tm/csharp/feature/secrets/plugin/Capability.cs +2 -2
  446. package/project/.sdk/tm/csharp/feature/secrets/plugin/Catalog.cs +2 -2
  447. package/project/.sdk/tm/csharp/feature/secrets/plugin/Config.cs +2 -2
  448. package/project/.sdk/tm/csharp/feature/secrets/plugin/Definition.cs +2 -2
  449. package/project/.sdk/tm/csharp/feature/secrets/plugin/Depend.cs +2 -2
  450. package/project/.sdk/tm/csharp/feature/secrets/plugin/Entry.cs +2 -2
  451. package/project/.sdk/tm/csharp/feature/secrets/plugin/Env.cs +2 -2
  452. package/project/.sdk/tm/csharp/feature/secrets/plugin/Export.cs +2 -2
  453. package/project/.sdk/tm/csharp/feature/secrets/plugin/Graph.cs +2 -2
  454. package/project/.sdk/tm/csharp/feature/secrets/plugin/Host.cs +2 -2
  455. package/project/.sdk/tm/csharp/feature/secrets/plugin/Inst.cs +2 -2
  456. package/project/.sdk/tm/csharp/feature/secrets/plugin/Json.cs +2 -2
  457. package/project/.sdk/tm/csharp/feature/secrets/plugin/Order.cs +2 -2
  458. package/project/.sdk/tm/csharp/feature/secrets/plugin/Plugin.cs +2 -2
  459. package/project/.sdk/tm/csharp/feature/secrets/plugin/Point.cs +2 -2
  460. package/project/.sdk/tm/csharp/feature/secrets/plugin/Refs.cs +2 -2
  461. package/project/.sdk/tm/csharp/feature/secrets/plugin/Resolve.cs +2 -2
  462. package/project/.sdk/tm/csharp/feature/secrets/plugin/Types.cs +2 -2
  463. package/project/.sdk/tm/csharp/feature/secrets/plugin/Version.cs +2 -2
  464. package/project/.sdk/tm/csharp/feature/secrets/plugins/Aws.cs +2 -2
  465. package/project/.sdk/tm/csharp/feature/secrets/plugins/AzureSecrets.cs +2 -2
  466. package/project/.sdk/tm/csharp/feature/secrets/plugins/Boru.cs +2 -2
  467. package/project/.sdk/tm/csharp/feature/secrets/plugins/Child.cs +2 -2
  468. package/project/.sdk/tm/csharp/feature/secrets/plugins/Doppler.cs +2 -2
  469. package/project/.sdk/tm/csharp/feature/secrets/plugins/GcpSecrets.cs +2 -2
  470. package/project/.sdk/tm/csharp/feature/secrets/plugins/Hashicorp.cs +2 -2
  471. package/project/.sdk/tm/csharp/feature/secrets/plugins/HttpJson.cs +2 -2
  472. package/project/.sdk/tm/csharp/feature/secrets/plugins/Infisical.cs +2 -2
  473. package/project/.sdk/tm/csharp/feature/secrets/plugins/MiniVault.cs +2 -2
  474. package/project/.sdk/tm/csharp/feature/secrets/plugins/OnePassword.cs +2 -2
  475. package/project/.sdk/tm/csharp/feature/secrets/plugins/SecretSpec.cs +2 -2
  476. package/project/.sdk/tm/csharp/feature/secrets/plugins/Sigv4.cs +2 -2
  477. package/project/.sdk/tm/csharp/feature/secrets/sekreto/Json.cs +2 -2
  478. package/project/.sdk/tm/csharp/feature/secrets/sekreto/Providers.cs +2 -2
  479. package/project/.sdk/tm/csharp/feature/secrets/sekreto/Sekreto.cs +2 -2
  480. package/project/.sdk/tm/csharp/test/AuthCredential.cs +105 -0
  481. package/project/.sdk/tm/csharp/test/PipelineTest.cs +22 -27
  482. package/project/.sdk/tm/csharp/test/PrimaryUtilityTest.cs +6 -0
  483. package/project/.sdk/tm/csharp/test/vendor/omni/Runner.cs +250 -53
  484. package/project/.sdk/tm/csharp/test/vendor/omni/Util.cs +2 -2
  485. package/project/.sdk/tm/csharp/utility/MakeResult.cs +1 -4
  486. package/project/.sdk/tm/csharp/utility/MakeUrl.cs +8 -1
  487. package/project/.sdk/tm/csharp/utility/struct/Struct.cs +35 -23
  488. package/project/.sdk/tm/elixir/lib/projectname/entity_base.ex +1 -1
  489. package/project/.sdk/tm/elixir/lib/projectname/feature/cache.ex +2 -1
  490. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/capability.ex +2 -2
  491. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/catalog.ex +2 -2
  492. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/config.ex +2 -2
  493. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/depend.ex +2 -2
  494. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/env.ex +2 -2
  495. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/error.ex +2 -2
  496. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/export.ex +2 -2
  497. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/graph.ex +2 -2
  498. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/host.ex +2 -2
  499. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/inst.ex +2 -2
  500. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/json.ex +2 -2
  501. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/order.ex +2 -2
  502. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/point.ex +2 -2
  503. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/ref.ex +2 -2
  504. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/resolve.ex +2 -2
  505. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/types.ex +2 -2
  506. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/version.ex +2 -2
  507. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/voxgig_plugin.ex +2 -2
  508. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/json.ex +2 -2
  509. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/aws.ex +2 -2
  510. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/azuresecrets.ex +2 -2
  511. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/boru.ex +2 -2
  512. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/doppler.ex +2 -2
  513. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/gcpsecrets.ex +2 -2
  514. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/hashicorp.ex +2 -2
  515. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/http.ex +2 -2
  516. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/httpjson.ex +2 -2
  517. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/infisical.ex +2 -2
  518. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/minivault.ex +2 -2
  519. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/onepassword.ex +2 -2
  520. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/proc.ex +2 -2
  521. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/secretspec.ex +2 -2
  522. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/sigv4.ex +2 -2
  523. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/provider.ex +2 -2
  524. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/providers.ex +2 -2
  525. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/sekreto.ex +2 -2
  526. package/project/.sdk/tm/elixir/lib/projectname/utility.ex +30 -8
  527. package/project/.sdk/tm/elixir/lib/utility/struct/voxgig_struct.ex +13 -14
  528. package/project/.sdk/tm/elixir/test/pipeline_test.exs +84 -24
  529. package/project/.sdk/tm/elixir/test/primary_utility_test.exs +96 -18
  530. package/project/.sdk/tm/elixir/test/vendor/omni/json.ex +2 -2
  531. package/project/.sdk/tm/elixir/test/vendor/omni/runner.ex +229 -65
  532. package/project/.sdk/tm/elixir/test/vendor/omni/util.ex +2 -2
  533. package/project/.sdk/tm/go/core/error.go +8 -0
  534. package/project/.sdk/tm/go/feature/cache_feature.go +4 -1
  535. package/project/.sdk/tm/go/feature/secrets/plugin/capability.go +2 -2
  536. package/project/.sdk/tm/go/feature/secrets/plugin/catalog.go +2 -2
  537. package/project/.sdk/tm/go/feature/secrets/plugin/config.go +2 -2
  538. package/project/.sdk/tm/go/feature/secrets/plugin/depend.go +2 -2
  539. package/project/.sdk/tm/go/feature/secrets/plugin/env.go +2 -2
  540. package/project/.sdk/tm/go/feature/secrets/plugin/export.go +2 -2
  541. package/project/.sdk/tm/go/feature/secrets/plugin/graph.go +2 -2
  542. package/project/.sdk/tm/go/feature/secrets/plugin/host.go +2 -2
  543. package/project/.sdk/tm/go/feature/secrets/plugin/order.go +2 -2
  544. package/project/.sdk/tm/go/feature/secrets/plugin/point.go +2 -2
  545. package/project/.sdk/tm/go/feature/secrets/plugin/ref.go +2 -2
  546. package/project/.sdk/tm/go/feature/secrets/plugin/resolve.go +2 -2
  547. package/project/.sdk/tm/go/feature/secrets/plugin/types.go +2 -2
  548. package/project/.sdk/tm/go/feature/secrets/plugin/util.go +2 -2
  549. package/project/.sdk/tm/go/feature/secrets/plugin/version.go +2 -2
  550. package/project/.sdk/tm/go/feature/secrets/plugins/aws/aws.go +2 -2
  551. package/project/.sdk/tm/go/feature/secrets/plugins/aws/sigv4.go +2 -2
  552. package/project/.sdk/tm/go/feature/secrets/plugins/azuresecrets/azuresecrets.go +2 -2
  553. package/project/.sdk/tm/go/feature/secrets/plugins/boru/boru.go +2 -2
  554. package/project/.sdk/tm/go/feature/secrets/plugins/doppler/doppler.go +2 -2
  555. package/project/.sdk/tm/go/feature/secrets/plugins/gcpsecrets/gcpsecrets.go +2 -2
  556. package/project/.sdk/tm/go/feature/secrets/plugins/hashicorp/hashicorp.go +2 -2
  557. package/project/.sdk/tm/go/feature/secrets/plugins/httpjson/httpjson.go +2 -2
  558. package/project/.sdk/tm/go/feature/secrets/plugins/infisical/infisical.go +2 -2
  559. package/project/.sdk/tm/go/feature/secrets/plugins/minivault/format.go +2 -2
  560. package/project/.sdk/tm/go/feature/secrets/plugins/minivault/minivault.go +2 -2
  561. package/project/.sdk/tm/go/feature/secrets/plugins/onepassword/onepassword.go +2 -2
  562. package/project/.sdk/tm/go/feature/secrets/plugins/secretspec/secretspec.go +2 -2
  563. package/project/.sdk/tm/go/feature/secrets/sekreto/addr.go +2 -2
  564. package/project/.sdk/tm/go/feature/secrets/sekreto/providers.go +2 -2
  565. package/project/.sdk/tm/go/feature/secrets/sekreto/sekreto.go +2 -2
  566. package/project/.sdk/tm/go/test/omni/omni.go +202 -50
  567. package/project/.sdk/tm/go/test/omni/util.go +2 -2
  568. package/project/.sdk/tm/go/test/pipeline_test.go +3 -3
  569. package/project/.sdk/tm/go/utility/make_error.go +1 -0
  570. package/project/.sdk/tm/go/utility/make_result.go +1 -3
  571. package/project/.sdk/tm/go/utility/make_url.go +7 -1
  572. package/project/.sdk/tm/go/utility/struct/voxgigstruct.go +86 -78
  573. package/project/.sdk/tm/java/feature/CacheFeature.java +3 -1
  574. package/project/.sdk/tm/java/feature/TestFeature.java +3 -3
  575. package/project/.sdk/tm/java/feature/secrets/plugin/Capability.java +2 -2
  576. package/project/.sdk/tm/java/feature/secrets/plugin/Catalog.java +2 -2
  577. package/project/.sdk/tm/java/feature/secrets/plugin/Config.java +2 -2
  578. package/project/.sdk/tm/java/feature/secrets/plugin/Definition.java +2 -2
  579. package/project/.sdk/tm/java/feature/secrets/plugin/Depend.java +2 -2
  580. package/project/.sdk/tm/java/feature/secrets/plugin/Entry.java +2 -2
  581. package/project/.sdk/tm/java/feature/secrets/plugin/Env.java +2 -2
  582. package/project/.sdk/tm/java/feature/secrets/plugin/Export.java +2 -2
  583. package/project/.sdk/tm/java/feature/secrets/plugin/Graph.java +2 -2
  584. package/project/.sdk/tm/java/feature/secrets/plugin/Host.java +2 -2
  585. package/project/.sdk/tm/java/feature/secrets/plugin/Inst.java +2 -2
  586. package/project/.sdk/tm/java/feature/secrets/plugin/Json.java +2 -2
  587. package/project/.sdk/tm/java/feature/secrets/plugin/Order.java +2 -2
  588. package/project/.sdk/tm/java/feature/secrets/plugin/Plugin.java +2 -2
  589. package/project/.sdk/tm/java/feature/secrets/plugin/PluginException.java +2 -2
  590. package/project/.sdk/tm/java/feature/secrets/plugin/Point.java +2 -2
  591. package/project/.sdk/tm/java/feature/secrets/plugin/Refs.java +2 -2
  592. package/project/.sdk/tm/java/feature/secrets/plugin/Resolve.java +2 -2
  593. package/project/.sdk/tm/java/feature/secrets/plugin/Types.java +2 -2
  594. package/project/.sdk/tm/java/feature/secrets/plugin/Version.java +2 -2
  595. package/project/.sdk/tm/java/feature/secrets/sekreto/Addr.java +2 -2
  596. package/project/.sdk/tm/java/feature/secrets/sekreto/Builtins.java +2 -2
  597. package/project/.sdk/tm/java/feature/secrets/sekreto/Json.java +2 -2
  598. package/project/.sdk/tm/java/feature/secrets/sekreto/Provider.java +2 -2
  599. package/project/.sdk/tm/java/feature/secrets/sekreto/Sekreto.java +2 -2
  600. package/project/.sdk/tm/java/feature/secrets/sekreto/Support.java +2 -2
  601. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Aws.java +2 -2
  602. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Azuresecrets.java +2 -2
  603. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Boru.java +2 -2
  604. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Doppler.java +2 -2
  605. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Gcpsecrets.java +2 -2
  606. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Hashicorp.java +2 -2
  607. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Httpjson.java +2 -2
  608. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Infisical.java +2 -2
  609. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Minivault.java +2 -2
  610. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Onepassword.java +2 -2
  611. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Proc.java +2 -2
  612. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Secretspec.java +2 -2
  613. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Sigv4.java +2 -2
  614. package/project/.sdk/tm/java/test/vendor/omni/Json.java +2 -2
  615. package/project/.sdk/tm/java/test/vendor/omni/Runner.java +272 -53
  616. package/project/.sdk/tm/java/test/vendor/omni/Util.java +2 -2
  617. package/project/.sdk/tm/java/utility/MakeResult.java +1 -3
  618. package/project/.sdk/tm/java/utility/MakeUrl.java +7 -2
  619. package/project/.sdk/tm/java/utility/struct/Struct.java +38 -42
  620. package/project/.sdk/tm/js/src/Context.js +3 -0
  621. package/project/.sdk/tm/js/src/feature/cache/CacheFeature.js +32 -2
  622. package/project/.sdk/tm/js/src/feature/secrets/plugin/capability.js +2 -2
  623. package/project/.sdk/tm/js/src/feature/secrets/plugin/catalog.js +2 -2
  624. package/project/.sdk/tm/js/src/feature/secrets/plugin/config.js +2 -2
  625. package/project/.sdk/tm/js/src/feature/secrets/plugin/depend.js +2 -2
  626. package/project/.sdk/tm/js/src/feature/secrets/plugin/env.js +2 -2
  627. package/project/.sdk/tm/js/src/feature/secrets/plugin/export.js +2 -2
  628. package/project/.sdk/tm/js/src/feature/secrets/plugin/graph.js +2 -2
  629. package/project/.sdk/tm/js/src/feature/secrets/plugin/host.js +2 -2
  630. package/project/.sdk/tm/js/src/feature/secrets/plugin/index.js +2 -2
  631. package/project/.sdk/tm/js/src/feature/secrets/plugin/order.js +2 -2
  632. package/project/.sdk/tm/js/src/feature/secrets/plugin/point.js +2 -2
  633. package/project/.sdk/tm/js/src/feature/secrets/plugin/ref.js +2 -2
  634. package/project/.sdk/tm/js/src/feature/secrets/plugin/resolve.js +2 -2
  635. package/project/.sdk/tm/js/src/feature/secrets/plugin/types.js +2 -2
  636. package/project/.sdk/tm/js/src/feature/secrets/plugin/version.js +2 -2
  637. package/project/.sdk/tm/js/src/feature/secrets/sekreto/Sekreto.js +2 -2
  638. package/project/.sdk/tm/js/src/feature/secrets/sekreto/index.js +2 -2
  639. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/aws.js +2 -2
  640. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/azuresecrets.js +2 -2
  641. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/boru.js +2 -2
  642. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/doppler.js +2 -2
  643. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/gcpsecrets.js +2 -2
  644. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/hashicorp.js +2 -2
  645. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/httpjson.js +2 -2
  646. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/infisical.js +2 -2
  647. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/minivault.js +2 -2
  648. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/onepassword.js +2 -2
  649. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/secretspec.js +2 -2
  650. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/sigv4.js +2 -2
  651. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/addr.js +2 -2
  652. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/builtin.js +2 -2
  653. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/dotenv.js +2 -2
  654. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/env.js +2 -2
  655. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/file.js +2 -2
  656. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/memory.js +2 -2
  657. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/support.js +2 -2
  658. package/project/.sdk/tm/js/src/utility/MakeErrorUtility.js +1 -0
  659. package/project/.sdk/tm/js/src/utility/MakeOptionsUtility.js +4 -5
  660. package/project/.sdk/tm/js/src/utility/MakeUrlUtility.js +5 -0
  661. package/project/.sdk/tm/js/src/utility/StructUtility.js +16 -18
  662. package/project/.sdk/tm/js/test/pipeline.test.js +28 -0
  663. package/project/.sdk/tm/js/test/vendor/omni/index.js +2 -2
  664. package/project/.sdk/tm/js/test/vendor/omni/runner.js +158 -31
  665. package/project/.sdk/tm/js/test/vendor/omni/util.js +2 -2
  666. package/project/.sdk/tm/kotlin/feature/CacheFeature.kt +2 -1
  667. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Capability.kt +2 -2
  668. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Catalog.kt +2 -2
  669. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Config.kt +2 -2
  670. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Depend.kt +2 -2
  671. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Env.kt +2 -2
  672. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Export.kt +2 -2
  673. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Graph.kt +2 -2
  674. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Host.kt +2 -2
  675. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Json.kt +2 -2
  676. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Order.kt +2 -2
  677. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Plugin.kt +2 -2
  678. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Point.kt +2 -2
  679. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Refs.kt +2 -2
  680. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Resolve.kt +2 -2
  681. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Types.kt +2 -2
  682. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Version.kt +2 -2
  683. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Json.kt +2 -2
  684. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Provider.kt +2 -2
  685. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Providers.kt +2 -2
  686. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Sekreto.kt +2 -2
  687. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Spec.kt +2 -2
  688. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Support.kt +2 -2
  689. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Aws.kt +2 -2
  690. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Azuresecrets.kt +2 -2
  691. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Boru.kt +2 -2
  692. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Doppler.kt +2 -2
  693. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Gcpsecrets.kt +2 -2
  694. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Hashicorp.kt +2 -2
  695. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Httpjson.kt +2 -2
  696. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Infisical.kt +2 -2
  697. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Minivault.kt +2 -2
  698. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Onepassword.kt +2 -2
  699. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Secretspec.kt +2 -2
  700. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Sigv4.kt +2 -2
  701. package/project/.sdk/tm/kotlin/test/AuthCredential.kt +106 -0
  702. package/project/.sdk/tm/kotlin/test/PipelineTest.kt +14 -10
  703. package/project/.sdk/tm/kotlin/test/PrimaryUtilityTest.kt +6 -0
  704. package/project/.sdk/tm/kotlin/test/vendor/omni/Json.kt +2 -2
  705. package/project/.sdk/tm/kotlin/test/vendor/omni/Runner.kt +189 -51
  706. package/project/.sdk/tm/kotlin/test/vendor/omni/Util.kt +2 -2
  707. package/project/.sdk/tm/kotlin/utility/MakeReqRes.kt +1 -3
  708. package/project/.sdk/tm/kotlin/utility/MakeSpecUrl.kt +6 -1
  709. package/project/.sdk/tm/kotlin/utility/struct/Struct.kt +41 -44
  710. package/project/.sdk/tm/lua/core/context.lua +3 -0
  711. package/project/.sdk/tm/lua/core/error.lua +6 -0
  712. package/project/.sdk/tm/lua/feature/cache_feature.lua +2 -1
  713. package/project/.sdk/tm/lua/feature/secrets/native/sekretonet.c +2 -2
  714. package/project/.sdk/tm/lua/feature/secrets/native/sekretovault.c +2 -2
  715. package/project/.sdk/tm/lua/feature/secrets/plugin/capability.lua +2 -2
  716. package/project/.sdk/tm/lua/feature/secrets/plugin/catalog.lua +2 -2
  717. package/project/.sdk/tm/lua/feature/secrets/plugin/config.lua +2 -2
  718. package/project/.sdk/tm/lua/feature/secrets/plugin/depend.lua +2 -2
  719. package/project/.sdk/tm/lua/feature/secrets/plugin/env.lua +2 -2
  720. package/project/.sdk/tm/lua/feature/secrets/plugin/export.lua +2 -2
  721. package/project/.sdk/tm/lua/feature/secrets/plugin/graph.lua +2 -2
  722. package/project/.sdk/tm/lua/feature/secrets/plugin/host.lua +2 -2
  723. package/project/.sdk/tm/lua/feature/secrets/plugin/json.lua +2 -2
  724. package/project/.sdk/tm/lua/feature/secrets/plugin/order.lua +2 -2
  725. package/project/.sdk/tm/lua/feature/secrets/plugin/point.lua +2 -2
  726. package/project/.sdk/tm/lua/feature/secrets/plugin/ref.lua +2 -2
  727. package/project/.sdk/tm/lua/feature/secrets/plugin/resolve.lua +2 -2
  728. package/project/.sdk/tm/lua/feature/secrets/plugin/types.lua +2 -2
  729. package/project/.sdk/tm/lua/feature/secrets/plugin/version.lua +2 -2
  730. package/project/.sdk/tm/lua/feature/secrets/plugin.lua +2 -2
  731. package/project/.sdk/tm/lua/feature/secrets/sekreto/addr.lua +2 -2
  732. package/project/.sdk/tm/lua/feature/secrets/sekreto/err.lua +2 -2
  733. package/project/.sdk/tm/lua/feature/secrets/sekreto/name.lua +2 -2
  734. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/aws.lua +2 -2
  735. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/azuresecrets.lua +2 -2
  736. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/boru.lua +2 -2
  737. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/crypto.lua +2 -2
  738. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/doppler.lua +2 -2
  739. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/gcpsecrets.lua +2 -2
  740. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/hashicorp.lua +2 -2
  741. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/httpjson.lua +2 -2
  742. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/infisical.lua +2 -2
  743. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/json.lua +2 -2
  744. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/minivault.lua +2 -2
  745. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/net.lua +2 -2
  746. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/onepassword.lua +2 -2
  747. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/secretspec.lua +2 -2
  748. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/sigv4.lua +2 -2
  749. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/support.lua +2 -2
  750. package/project/.sdk/tm/lua/feature/secrets/sekreto/providers.lua +2 -2
  751. package/project/.sdk/tm/lua/feature/secrets/sekreto.lua +2 -2
  752. package/project/.sdk/tm/lua/test/vendor/omni/json.lua +2 -2
  753. package/project/.sdk/tm/lua/test/vendor/omni/regex.lua +2 -2
  754. package/project/.sdk/tm/lua/test/vendor/omni/runner.lua +234 -53
  755. package/project/.sdk/tm/lua/test/vendor/omni/util.lua +2 -2
  756. package/project/.sdk/tm/lua/utility/make_error.lua +2 -1
  757. package/project/.sdk/tm/lua/utility/make_result.lua +1 -3
  758. package/project/.sdk/tm/lua/utility/make_url.lua +5 -0
  759. package/project/.sdk/tm/lua/utility/struct/regex.lua +1 -1
  760. package/project/.sdk/tm/lua/utility/struct/struct.lua +33 -23
  761. package/project/.sdk/tm/ocaml/feature/secrets/plugin/capability.ml +2 -2
  762. package/project/.sdk/tm/ocaml/feature/secrets/plugin/catalog.ml +2 -2
  763. package/project/.sdk/tm/ocaml/feature/secrets/plugin/config.ml +2 -2
  764. package/project/.sdk/tm/ocaml/feature/secrets/plugin/defs.ml +2 -2
  765. package/project/.sdk/tm/ocaml/feature/secrets/plugin/depend.ml +2 -2
  766. package/project/.sdk/tm/ocaml/feature/secrets/plugin/env.ml +2 -2
  767. package/project/.sdk/tm/ocaml/feature/secrets/plugin/export.ml +2 -2
  768. package/project/.sdk/tm/ocaml/feature/secrets/plugin/graph.ml +2 -2
  769. package/project/.sdk/tm/ocaml/feature/secrets/plugin/host.ml +2 -2
  770. package/project/.sdk/tm/ocaml/feature/secrets/plugin/order.ml +2 -2
  771. package/project/.sdk/tm/ocaml/feature/secrets/plugin/point.ml +2 -2
  772. package/project/.sdk/tm/ocaml/feature/secrets/plugin/ref.ml +2 -2
  773. package/project/.sdk/tm/ocaml/feature/secrets/plugin/resolve.ml +2 -2
  774. package/project/.sdk/tm/ocaml/feature/secrets/plugin/types.ml +2 -2
  775. package/project/.sdk/tm/ocaml/feature/secrets/plugin/value.ml +2 -2
  776. package/project/.sdk/tm/ocaml/feature/secrets/plugin/version.ml +2 -2
  777. package/project/.sdk/tm/ocaml/feature/secrets/plugins/aws.ml +2 -2
  778. package/project/.sdk/tm/ocaml/feature/secrets/plugins/azuresecrets.ml +2 -2
  779. package/project/.sdk/tm/ocaml/feature/secrets/plugins/boru.ml +2 -2
  780. package/project/.sdk/tm/ocaml/feature/secrets/plugins/crypto.ml +2 -2
  781. package/project/.sdk/tm/ocaml/feature/secrets/plugins/doppler.ml +2 -2
  782. package/project/.sdk/tm/ocaml/feature/secrets/plugins/gcpsecrets.ml +2 -2
  783. package/project/.sdk/tm/ocaml/feature/secrets/plugins/hashicorp.ml +2 -2
  784. package/project/.sdk/tm/ocaml/feature/secrets/plugins/http.ml +2 -2
  785. package/project/.sdk/tm/ocaml/feature/secrets/plugins/httpjson.ml +2 -2
  786. package/project/.sdk/tm/ocaml/feature/secrets/plugins/infisical.ml +2 -2
  787. package/project/.sdk/tm/ocaml/feature/secrets/plugins/minivault.ml +2 -2
  788. package/project/.sdk/tm/ocaml/feature/secrets/plugins/minivault_stubs.c +2 -2
  789. package/project/.sdk/tm/ocaml/feature/secrets/plugins/onepassword.ml +2 -2
  790. package/project/.sdk/tm/ocaml/feature/secrets/plugins/runcmd.ml +2 -2
  791. package/project/.sdk/tm/ocaml/feature/secrets/plugins/secretspec.ml +2 -2
  792. package/project/.sdk/tm/ocaml/feature/secrets/plugins/sigv4.ml +2 -2
  793. package/project/.sdk/tm/ocaml/feature/secrets/plugins/tls.ml +2 -2
  794. package/project/.sdk/tm/ocaml/feature/secrets/plugins/tls_stubs.c +2 -2
  795. package/project/.sdk/tm/ocaml/feature/secrets/sekreto/json.ml +2 -2
  796. package/project/.sdk/tm/ocaml/feature/secrets/sekreto/provider.ml +2 -2
  797. package/project/.sdk/tm/ocaml/feature/secrets/sekreto/secret.ml +2 -2
  798. package/project/.sdk/tm/ocaml/feature/secrets/sekreto/sekreto.ml +2 -2
  799. package/project/.sdk/tm/ocaml/sdk_features.ml +2 -0
  800. package/project/.sdk/tm/ocaml/sdk_runtime.ml +12 -1
  801. package/project/.sdk/tm/ocaml/sdk_types.ml +3 -0
  802. package/project/.sdk/tm/ocaml/test/primary_utility_test.ml +62 -5
  803. package/project/.sdk/tm/ocaml/test/t_pipeline.ml +72 -85
  804. package/project/.sdk/tm/ocaml/test/vendor/omni/omni.ml +203 -93
  805. package/project/.sdk/tm/ocaml/utility/voxgig_struct.ml +13 -5
  806. package/project/.sdk/tm/perl/core/context.pm +3 -0
  807. package/project/.sdk/tm/perl/core/error.pm +2 -0
  808. package/project/.sdk/tm/perl/feature/cache_feature.pm +2 -0
  809. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Capability.pm +2 -2
  810. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Catalog.pm +2 -2
  811. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Config.pm +2 -2
  812. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Depend.pm +2 -2
  813. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Env.pm +2 -2
  814. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Export.pm +2 -2
  815. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Graph.pm +2 -2
  816. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Host.pm +2 -2
  817. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Order.pm +2 -2
  818. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Point.pm +2 -2
  819. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Ref.pm +2 -2
  820. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Resolve.pm +2 -2
  821. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Types.pm +2 -2
  822. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Version.pm +2 -2
  823. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin.pm +2 -2
  824. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Aws.pm +2 -2
  825. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Azuresecrets.pm +2 -2
  826. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Boru.pm +2 -2
  827. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Doppler.pm +2 -2
  828. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Gcpsecrets.pm +2 -2
  829. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Hashicorp.pm +2 -2
  830. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Httpjson.pm +2 -2
  831. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Infisical.pm +2 -2
  832. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Minivault.pm +2 -2
  833. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Onepassword.pm +2 -2
  834. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Proc.pm +2 -2
  835. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Secretspec.pm +2 -2
  836. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Sigv4.pm +2 -2
  837. package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto/Addr.pm +2 -2
  838. package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto/Providers.pm +2 -2
  839. package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto.pm +2 -2
  840. package/project/.sdk/tm/perl/feature/validate_feature.pm +2 -2
  841. package/project/.sdk/tm/perl/lib/Voxgig/Struct.pm +39 -20
  842. package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Runner.pm +179 -28
  843. package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Util.pm +1 -1
  844. package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni.pm +1 -1
  845. package/project/.sdk/tm/perl/utility/make_error.pm +1 -0
  846. package/project/.sdk/tm/perl/utility/make_result.pm +1 -1
  847. package/project/.sdk/tm/perl/utility/make_url.pm +4 -0
  848. package/project/.sdk/tm/php/core/Context.php +3 -0
  849. package/project/.sdk/tm/php/core/Error.php +5 -0
  850. package/project/.sdk/tm/php/feature/CacheFeature.php +2 -1
  851. package/project/.sdk/tm/php/feature/TestFeature.php +1 -1
  852. package/project/.sdk/tm/php/feature/ValidateFeature.php +2 -2
  853. package/project/.sdk/tm/php/feature/secrets/plugin/Capability.php +2 -2
  854. package/project/.sdk/tm/php/feature/secrets/plugin/Catalog.php +2 -2
  855. package/project/.sdk/tm/php/feature/secrets/plugin/Config.php +2 -2
  856. package/project/.sdk/tm/php/feature/secrets/plugin/Depend.php +2 -2
  857. package/project/.sdk/tm/php/feature/secrets/plugin/Env.php +2 -2
  858. package/project/.sdk/tm/php/feature/secrets/plugin/Export.php +2 -2
  859. package/project/.sdk/tm/php/feature/secrets/plugin/Graph.php +2 -2
  860. package/project/.sdk/tm/php/feature/secrets/plugin/Host.php +2 -2
  861. package/project/.sdk/tm/php/feature/secrets/plugin/Order.php +2 -2
  862. package/project/.sdk/tm/php/feature/secrets/plugin/Point.php +2 -2
  863. package/project/.sdk/tm/php/feature/secrets/plugin/Ref.php +2 -2
  864. package/project/.sdk/tm/php/feature/secrets/plugin/Resolve.php +2 -2
  865. package/project/.sdk/tm/php/feature/secrets/plugin/Types.php +2 -2
  866. package/project/.sdk/tm/php/feature/secrets/plugin/Version.php +2 -2
  867. package/project/.sdk/tm/php/feature/secrets/plugin/plugin.php +2 -2
  868. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/aws.php +2 -2
  869. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/azuresecrets.php +2 -2
  870. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/boru.php +2 -2
  871. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/doppler.php +2 -2
  872. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/gcpsecrets.php +2 -2
  873. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/hashicorp.php +2 -2
  874. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/httpjson.php +2 -2
  875. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/infisical.php +2 -2
  876. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/minivault.php +2 -2
  877. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/onepassword.php +2 -2
  878. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/runcmd.php +2 -2
  879. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/secretspec.php +2 -2
  880. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/sigv4.php +2 -2
  881. package/project/.sdk/tm/php/feature/secrets/sekreto/src/Addr.php +2 -2
  882. package/project/.sdk/tm/php/feature/secrets/sekreto/src/Providers.php +2 -2
  883. package/project/.sdk/tm/php/feature/secrets/sekreto/src/Sekreto.php +2 -2
  884. package/project/.sdk/tm/php/test/PipelineTest.php +30 -3
  885. package/project/.sdk/tm/php/test/StructUtilityTest.php +7 -0
  886. package/project/.sdk/tm/php/test/vendor/omni/Runner.php +213 -36
  887. package/project/.sdk/tm/php/test/vendor/omni/Util.php +2 -2
  888. package/project/.sdk/tm/php/utility/Fetcher.php +6 -2
  889. package/project/.sdk/tm/php/utility/MakeError.php +1 -0
  890. package/project/.sdk/tm/php/utility/MakeResult.php +1 -3
  891. package/project/.sdk/tm/php/utility/MakeUrl.php +5 -0
  892. package/project/.sdk/tm/php/utility/struct/Struct.php +22 -8
  893. package/project/.sdk/tm/py/pkg/core/context.py +3 -0
  894. package/project/.sdk/tm/py/pkg/feature/cache_feature.py +2 -1
  895. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/__init__.py +2 -2
  896. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/capability.py +2 -2
  897. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/catalog.py +2 -2
  898. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/config.py +2 -2
  899. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/depend.py +2 -2
  900. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/env.py +2 -2
  901. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/export.py +2 -2
  902. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/graph.py +2 -2
  903. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/host.py +2 -2
  904. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/order.py +2 -2
  905. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/point.py +2 -2
  906. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/ref.py +2 -2
  907. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/resolve.py +2 -2
  908. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/types.py +2 -2
  909. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/version.py +2 -2
  910. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/__init__.py +1 -1
  911. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/addr.py +1 -1
  912. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/aws.py +1 -1
  913. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/azuresecrets.py +1 -1
  914. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/boru.py +1 -1
  915. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/doppler.py +1 -1
  916. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/gcpsecrets.py +1 -1
  917. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/hashicorp.py +1 -1
  918. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/httpjson.py +1 -1
  919. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/infisical.py +1 -1
  920. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/minivault.py +1 -1
  921. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/onepassword.py +1 -1
  922. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/secretspec.py +1 -1
  923. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/sigv4.py +1 -1
  924. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/providers.py +1 -1
  925. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/sekreto.py +1 -1
  926. package/project/.sdk/tm/py/pkg/feature/validate_feature.py +1 -1
  927. package/project/.sdk/tm/py/pkg/utility/make_error.py +1 -0
  928. package/project/.sdk/tm/py/pkg/utility/make_result.py +1 -2
  929. package/project/.sdk/tm/py/pkg/utility/make_url.py +4 -0
  930. package/project/.sdk/tm/py/pkg/utility/voxgig_struct/voxgig_struct.py +14 -11
  931. package/project/.sdk/tm/py/test/test_pipeline.py +2 -2
  932. package/project/.sdk/tm/py/test/voxgig_omni/__init__.py +1 -1
  933. package/project/.sdk/tm/py/test/voxgig_omni/runner.py +139 -33
  934. package/project/.sdk/tm/py/test/voxgig_omni/util.py +1 -1
  935. package/project/.sdk/tm/rb/core/context.rb +4 -1
  936. package/project/.sdk/tm/rb/core/error.rb +5 -0
  937. package/project/.sdk/tm/rb/feature/cache_feature.rb +2 -0
  938. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/capability.rb +2 -2
  939. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/catalog.rb +2 -2
  940. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/config.rb +2 -2
  941. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/depend.rb +2 -2
  942. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/env.rb +2 -2
  943. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/export.rb +2 -2
  944. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/graph.rb +2 -2
  945. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/host.rb +2 -2
  946. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/order.rb +2 -2
  947. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/point.rb +2 -2
  948. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/ref.rb +2 -2
  949. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/resolve.rb +2 -2
  950. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/types.rb +2 -2
  951. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/version.rb +2 -2
  952. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin.rb +2 -2
  953. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/addr.rb +2 -2
  954. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/aws.rb +2 -2
  955. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/azuresecrets.rb +2 -2
  956. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/boru.rb +6 -5
  957. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/doppler.rb +2 -2
  958. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/gcpsecrets.rb +2 -2
  959. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/hashicorp.rb +3 -3
  960. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/httpjson.rb +2 -2
  961. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/infisical.rb +2 -2
  962. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/minivault.rb +2 -2
  963. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/onepassword.rb +2 -2
  964. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/secretspec.rb +2 -2
  965. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/sigv4.rb +2 -2
  966. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/providers.rb +4 -4
  967. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/sekreto.rb +2 -2
  968. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto.rb +2 -2
  969. package/project/.sdk/tm/rb/feature/validate_feature.rb +2 -2
  970. package/project/.sdk/tm/rb/test/pipeline_test.rb +2 -2
  971. package/project/.sdk/tm/rb/test/vendor/omni/runner.rb +139 -27
  972. package/project/.sdk/tm/rb/test/vendor/omni/util.rb +2 -2
  973. package/project/.sdk/tm/rb/test/vendor/omni/voxgig_omni.rb +2 -2
  974. package/project/.sdk/tm/rb/utility/make_error.rb +1 -0
  975. package/project/.sdk/tm/rb/utility/make_result.rb +1 -1
  976. package/project/.sdk/tm/rb/utility/make_url.rb +4 -0
  977. package/project/.sdk/tm/rb/utility/struct/voxgig_struct.rb +12 -8
  978. package/project/.sdk/tm/rust/feature/cache.rs +2 -0
  979. package/project/.sdk/tm/rust/feature/secrets/plugin/capability.rs +2 -2
  980. package/project/.sdk/tm/rust/feature/secrets/plugin/catalog.rs +2 -2
  981. package/project/.sdk/tm/rust/feature/secrets/plugin/config.rs +2 -2
  982. package/project/.sdk/tm/rust/feature/secrets/plugin/depend.rs +2 -2
  983. package/project/.sdk/tm/rust/feature/secrets/plugin/env.rs +2 -2
  984. package/project/.sdk/tm/rust/feature/secrets/plugin/export.rs +2 -2
  985. package/project/.sdk/tm/rust/feature/secrets/plugin/graph.rs +2 -2
  986. package/project/.sdk/tm/rust/feature/secrets/plugin/host.rs +2 -2
  987. package/project/.sdk/tm/rust/feature/secrets/plugin/mod.rs +2 -2
  988. package/project/.sdk/tm/rust/feature/secrets/plugin/order.rs +2 -2
  989. package/project/.sdk/tm/rust/feature/secrets/plugin/point.rs +2 -2
  990. package/project/.sdk/tm/rust/feature/secrets/plugin/refs.rs +2 -2
  991. package/project/.sdk/tm/rust/feature/secrets/plugin/resolve.rs +2 -2
  992. package/project/.sdk/tm/rust/feature/secrets/plugin/types.rs +2 -2
  993. package/project/.sdk/tm/rust/feature/secrets/plugin/value.rs +2 -2
  994. package/project/.sdk/tm/rust/feature/secrets/plugin/version.rs +2 -2
  995. package/project/.sdk/tm/rust/feature/secrets/plugins/aws/crypto.rs +2 -2
  996. package/project/.sdk/tm/rust/feature/secrets/plugins/aws/sigv4.rs +2 -2
  997. package/project/.sdk/tm/rust/feature/secrets/plugins/aws.rs +2 -2
  998. package/project/.sdk/tm/rust/feature/secrets/plugins/azuresecrets.rs +2 -2
  999. package/project/.sdk/tm/rust/feature/secrets/plugins/boru.rs +2 -2
  1000. package/project/.sdk/tm/rust/feature/secrets/plugins/doppler.rs +2 -2
  1001. package/project/.sdk/tm/rust/feature/secrets/plugins/gcpsecrets.rs +2 -2
  1002. package/project/.sdk/tm/rust/feature/secrets/plugins/hashicorp.rs +2 -2
  1003. package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/http.rs +2 -2
  1004. package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/json.rs +2 -2
  1005. package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson.rs +2 -2
  1006. package/project/.sdk/tm/rust/feature/secrets/plugins/infisical.rs +2 -2
  1007. package/project/.sdk/tm/rust/feature/secrets/plugins/minivault/format.rs +2 -2
  1008. package/project/.sdk/tm/rust/feature/secrets/plugins/minivault.rs +4 -6
  1009. package/project/.sdk/tm/rust/feature/secrets/plugins/onepassword.rs +2 -2
  1010. package/project/.sdk/tm/rust/feature/secrets/plugins/secretspec.rs +2 -2
  1011. package/project/.sdk/tm/rust/feature/secrets/sekreto/addr.rs +2 -2
  1012. package/project/.sdk/tm/rust/feature/secrets/sekreto/mod.rs +2 -2
  1013. package/project/.sdk/tm/rust/feature/secrets/sekreto/providers.rs +2 -2
  1014. package/project/.sdk/tm/rust/feature/secrets/sekreto/sekreto.rs +2 -2
  1015. package/project/.sdk/tm/rust/tests/omni_resolver/mod.rs +2 -0
  1016. package/project/.sdk/tm/rust/tests/pipeline_test.rs +147 -66
  1017. package/project/.sdk/tm/rust/tests/primary_utility_test.rs +88 -2
  1018. package/project/.sdk/tm/rust/tests/vendor/omni/json.rs +2 -2
  1019. package/project/.sdk/tm/rust/tests/vendor/omni/mod.rs +2 -4
  1020. package/project/.sdk/tm/rust/tests/vendor/omni/regex.rs +2 -2
  1021. package/project/.sdk/tm/rust/tests/vendor/omni/runner.rs +309 -75
  1022. package/project/.sdk/tm/rust/tests/vendor/omni/util.rs +2 -2
  1023. package/project/.sdk/tm/rust/utility/make_result.rs +1 -6
  1024. package/project/.sdk/tm/rust/utility/make_url.rs +9 -1
  1025. package/project/.sdk/tm/rust/utility/voxgigstruct/major.rs +15 -5
  1026. package/project/.sdk/tm/scala/feature/CacheFeature.scala +3 -1
  1027. package/project/.sdk/tm/scala/feature/TestFeature.scala +3 -3
  1028. package/project/.sdk/tm/scala/feature/secrets/plugin/Capability.scala +2 -2
  1029. package/project/.sdk/tm/scala/feature/secrets/plugin/Config.scala +2 -2
  1030. package/project/.sdk/tm/scala/feature/secrets/plugin/Depend.scala +2 -2
  1031. package/project/.sdk/tm/scala/feature/secrets/plugin/Env.scala +2 -2
  1032. package/project/.sdk/tm/scala/feature/secrets/plugin/Export.scala +2 -2
  1033. package/project/.sdk/tm/scala/feature/secrets/plugin/Graph.scala +2 -2
  1034. package/project/.sdk/tm/scala/feature/secrets/plugin/Host.scala +2 -2
  1035. package/project/.sdk/tm/scala/feature/secrets/plugin/Json.scala +2 -2
  1036. package/project/.sdk/tm/scala/feature/secrets/plugin/Order.scala +2 -2
  1037. package/project/.sdk/tm/scala/feature/secrets/plugin/Plugin.scala +2 -2
  1038. package/project/.sdk/tm/scala/feature/secrets/plugin/Point.scala +2 -2
  1039. package/project/.sdk/tm/scala/feature/secrets/plugin/Refs.scala +2 -2
  1040. package/project/.sdk/tm/scala/feature/secrets/plugin/Resolve.scala +2 -2
  1041. package/project/.sdk/tm/scala/feature/secrets/plugin/Types.scala +2 -2
  1042. package/project/.sdk/tm/scala/feature/secrets/plugin/Value.scala +2 -2
  1043. package/project/.sdk/tm/scala/feature/secrets/plugin/Version.scala +2 -2
  1044. package/project/.sdk/tm/scala/feature/secrets/sekreto/Json.scala +2 -2
  1045. package/project/.sdk/tm/scala/feature/secrets/sekreto/Provider.scala +2 -2
  1046. package/project/.sdk/tm/scala/feature/secrets/sekreto/Providers.scala +2 -2
  1047. package/project/.sdk/tm/scala/feature/secrets/sekreto/Sekreto.scala +2 -2
  1048. package/project/.sdk/tm/scala/feature/secrets/sekreto/Spec.scala +2 -2
  1049. package/project/.sdk/tm/scala/feature/secrets/sekreto/Support.scala +2 -2
  1050. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Aws.scala +2 -2
  1051. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Azuresecrets.scala +2 -2
  1052. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Boru.scala +2 -2
  1053. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Doppler.scala +2 -2
  1054. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Gcpsecrets.scala +2 -2
  1055. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Hashicorp.scala +2 -2
  1056. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Httpjson.scala +2 -2
  1057. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Infisical.scala +2 -2
  1058. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Minivault.scala +2 -2
  1059. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Onepassword.scala +2 -2
  1060. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Secretspec.scala +2 -2
  1061. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Sigv4.scala +2 -2
  1062. package/project/.sdk/tm/scala/sdktest/vendor/omni/Json.scala +2 -2
  1063. package/project/.sdk/tm/scala/sdktest/vendor/omni/Runner.scala +191 -61
  1064. package/project/.sdk/tm/scala/sdktest/vendor/omni/Util.scala +2 -2
  1065. package/project/.sdk/tm/scala/utility/Make.scala +7 -2
  1066. package/project/.sdk/tm/scala/utility/struct/Struct.java +19 -15
  1067. package/project/.sdk/tm/scala/utility/struct/voxgig_struct.scala +13 -5
  1068. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Merge.swift +8 -10
  1069. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Minor.swift +2 -1
  1070. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/CacheFeature.swift +2 -1
  1071. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Capability.swift +2 -2
  1072. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Catalog.swift +2 -2
  1073. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Config.swift +2 -2
  1074. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Depend.swift +2 -2
  1075. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Env.swift +2 -2
  1076. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Export.swift +2 -2
  1077. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Graph.swift +2 -2
  1078. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Host.swift +2 -2
  1079. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Json.swift +2 -2
  1080. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Order.swift +2 -2
  1081. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Point.swift +2 -2
  1082. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Refs.swift +2 -2
  1083. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Resolve.swift +2 -2
  1084. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Types.swift +2 -2
  1085. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Value.swift +2 -2
  1086. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Version.swift +2 -2
  1087. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Aws.swift +2 -2
  1088. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Azuresecrets.swift +2 -2
  1089. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Boru.swift +2 -2
  1090. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Crypto.swift +2 -2
  1091. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Doppler.swift +2 -2
  1092. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Gcpsecrets.swift +2 -2
  1093. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Hashicorp.swift +2 -2
  1094. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Httpjson.swift +2 -2
  1095. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Infisical.swift +2 -2
  1096. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Onepassword.swift +2 -2
  1097. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Proc.swift +2 -2
  1098. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Secretspec.swift +2 -2
  1099. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Sigv4.swift +2 -2
  1100. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Addr.swift +2 -2
  1101. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Json.swift +2 -2
  1102. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Provider.swift +2 -2
  1103. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Providers.swift +2 -2
  1104. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Sekreto.swift +2 -2
  1105. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/utility/Make.swift +7 -4
  1106. package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/OmniResolver.swift +41 -0
  1107. package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/PipelineTest.swift +93 -39
  1108. package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/PrimaryUtilityTest.swift +32 -1
  1109. package/project/.sdk/tm/swift/Tests/vendor/omni/Json.swift +2 -2
  1110. package/project/.sdk/tm/swift/Tests/vendor/omni/Runner.swift +202 -64
  1111. package/project/.sdk/tm/swift/Tests/vendor/omni/Util.swift +2 -2
  1112. package/project/.sdk/tm/ts/src/Context.ts +3 -0
  1113. package/project/.sdk/tm/ts/src/feature/cache/CacheFeature.ts +32 -2
  1114. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Capability.ts +2 -2
  1115. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Catalog.ts +2 -2
  1116. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Config.ts +2 -2
  1117. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Depend.ts +2 -2
  1118. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Env.ts +2 -2
  1119. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Export.ts +2 -2
  1120. package/project/.sdk/tm/ts/src/feature/secrets/plugin/FeatureHost.ts +2 -2
  1121. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Graph.ts +2 -2
  1122. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Host.ts +2 -2
  1123. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Order.ts +2 -2
  1124. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Point.ts +2 -2
  1125. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Ref.ts +2 -2
  1126. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Resolve.ts +2 -2
  1127. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Types.ts +2 -2
  1128. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Version.ts +2 -2
  1129. package/project/.sdk/tm/ts/src/feature/secrets/plugin/index.ts +2 -2
  1130. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/Sekreto.ts +2 -2
  1131. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/index.ts +2 -2
  1132. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/aws.ts +2 -2
  1133. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/azuresecrets.ts +2 -2
  1134. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/boru.ts +2 -2
  1135. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/doppler.ts +2 -2
  1136. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/gcpsecrets.ts +2 -2
  1137. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/hashicorp.ts +2 -2
  1138. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/httpjson.ts +2 -2
  1139. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/infisical.ts +2 -2
  1140. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/minivault.ts +2 -2
  1141. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/onepassword.ts +2 -2
  1142. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/secretspec.ts +2 -2
  1143. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/sigv4.ts +2 -2
  1144. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/addr.ts +2 -2
  1145. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/builtin.ts +2 -2
  1146. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/dotenv.ts +2 -2
  1147. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/env.ts +2 -2
  1148. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/file.ts +2 -2
  1149. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/memory.ts +2 -2
  1150. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/support.ts +2 -2
  1151. package/project/.sdk/tm/ts/src/feature/test/TestFeature.ts +2 -1
  1152. package/project/.sdk/tm/ts/src/utility/MakeErrorUtility.ts +1 -0
  1153. package/project/.sdk/tm/ts/src/utility/MakeOptionsUtility.ts +4 -5
  1154. package/project/.sdk/tm/ts/src/utility/MakeUrlUtility.ts +7 -3
  1155. package/project/.sdk/tm/ts/src/utility/StructUtility.ts +17 -19
  1156. package/project/.sdk/tm/ts/test/pipeline.test.ts +28 -0
  1157. package/project/.sdk/tm/ts/test/vendor/omni/Runner.ts +173 -31
  1158. package/project/.sdk/tm/ts/test/vendor/omni/Util.ts +2 -2
  1159. package/project/.sdk/tm/ts/test/vendor/omni/index.ts +2 -2
  1160. package/project/.sdk/tm/zig/core/error.zig +7 -0
  1161. package/project/.sdk/tm/zig/core/utility.zig +8 -10
  1162. package/project/.sdk/tm/zig/feature/cache.zig +2 -0
  1163. package/project/.sdk/tm/zig/feature/secrets/plugin/capability.zig +2 -2
  1164. package/project/.sdk/tm/zig/feature/secrets/plugin/catalog.zig +2 -2
  1165. package/project/.sdk/tm/zig/feature/secrets/plugin/config.zig +2 -2
  1166. package/project/.sdk/tm/zig/feature/secrets/plugin/depend.zig +2 -2
  1167. package/project/.sdk/tm/zig/feature/secrets/plugin/env.zig +2 -2
  1168. package/project/.sdk/tm/zig/feature/secrets/plugin/export.zig +2 -2
  1169. package/project/.sdk/tm/zig/feature/secrets/plugin/graph.zig +2 -2
  1170. package/project/.sdk/tm/zig/feature/secrets/plugin/host.zig +2 -2
  1171. package/project/.sdk/tm/zig/feature/secrets/plugin/inst.zig +2 -2
  1172. package/project/.sdk/tm/zig/feature/secrets/plugin/order.zig +2 -2
  1173. package/project/.sdk/tm/zig/feature/secrets/plugin/plugin.zig +2 -2
  1174. package/project/.sdk/tm/zig/feature/secrets/plugin/point.zig +2 -2
  1175. package/project/.sdk/tm/zig/feature/secrets/plugin/ref.zig +2 -2
  1176. package/project/.sdk/tm/zig/feature/secrets/plugin/resolve.zig +2 -2
  1177. package/project/.sdk/tm/zig/feature/secrets/plugin/types.zig +2 -2
  1178. package/project/.sdk/tm/zig/feature/secrets/plugin/value.zig +2 -2
  1179. package/project/.sdk/tm/zig/feature/secrets/plugin/version.zig +2 -2
  1180. package/project/.sdk/tm/zig/feature/secrets/plugins/aws.zig +2 -2
  1181. package/project/.sdk/tm/zig/feature/secrets/plugins/azuresecrets.zig +2 -2
  1182. package/project/.sdk/tm/zig/feature/secrets/plugins/boru.zig +2 -2
  1183. package/project/.sdk/tm/zig/feature/secrets/plugins/doppler.zig +2 -2
  1184. package/project/.sdk/tm/zig/feature/secrets/plugins/gcpsecrets.zig +2 -2
  1185. package/project/.sdk/tm/zig/feature/secrets/plugins/hashicorp.zig +2 -2
  1186. package/project/.sdk/tm/zig/feature/secrets/plugins/httpjson.zig +2 -2
  1187. package/project/.sdk/tm/zig/feature/secrets/plugins/infisical.zig +2 -2
  1188. package/project/.sdk/tm/zig/feature/secrets/plugins/minivault.zig +2 -2
  1189. package/project/.sdk/tm/zig/feature/secrets/plugins/onepassword.zig +2 -2
  1190. package/project/.sdk/tm/zig/feature/secrets/plugins/secretspec.zig +2 -2
  1191. package/project/.sdk/tm/zig/feature/secrets/plugins/sigv4.zig +2 -2
  1192. package/project/.sdk/tm/zig/feature/secrets/sekreto/addr.zig +2 -2
  1193. package/project/.sdk/tm/zig/feature/secrets/sekreto/builtins.zig +2 -2
  1194. package/project/.sdk/tm/zig/feature/secrets/sekreto/provider.zig +2 -2
  1195. package/project/.sdk/tm/zig/feature/secrets/sekreto/sekreto.zig +2 -2
  1196. package/project/.sdk/tm/zig/test/pipeline_test.zig +131 -84
  1197. package/project/.sdk/tm/zig/test/primary_utility_test.zig +120 -9
  1198. package/project/.sdk/tm/zig/test/vendor/omni/omni.zig +312 -118
  1199. package/project/.sdk/tm/zig/test/vendor/omni/regex.zig +2 -2
  1200. package/project/.sdk/tm/zig/utility/voxgigstruct/regex.zig +2 -2
  1201. package/project/.sdk/tm/zig/utility/voxgigstruct/struct.zig +97 -54
  1202. package/project/sdkgen-package.json +1 -1
  1203. package/src/action/doctor.ts +82 -13
  1204. package/src/action/target.ts +46 -2
  1205. package/src/cmp/ReadmeTop.ts +59 -20
  1206. package/src/helpers/canonSpec.ts +64 -0
  1207. package/src/helpers/graphqlPoint.ts +91 -0
  1208. package/src/helpers/naming.ts +7 -3
  1209. package/src/helpers/opExample.ts +38 -7
  1210. package/src/helpers/opShape.ts +37 -8
  1211. package/src/helpers/packageMeta.ts +7 -0
  1212. package/src/sdkgen.ts +16 -4
  1213. package/src/utility.ts +7 -18
@@ -0,0 +1,1031 @@
1
+ // The default live transport: HTTP/1.1 over a socket, one request per
2
+ // connection. https:// goes through the TLS backend the Makefile selects
3
+ // (utility/tls/), and a build without one refuses it by name.
4
+
5
+ #if !defined(_WIN32) && !defined(_POSIX_C_SOURCE)
6
+ #define _POSIX_C_SOURCE 200809L
7
+ #endif
8
+ #if defined(__APPLE__) && !defined(_DARWIN_C_SOURCE)
9
+ #define _DARWIN_C_SOURCE
10
+ #endif
11
+
12
+ #include "sdk.h"
13
+
14
+ #include "tls/tls.h"
15
+
16
+ #include <ctype.h>
17
+ #include <stdio.h>
18
+ #include <stdlib.h>
19
+ #include <string.h>
20
+
21
+ // The exchange, from the first connection attempt to the last byte read.
22
+ // Name resolution runs before it, bounded by the system resolver alone.
23
+ #ifndef HTTP_TIMEOUT_MS
24
+ #define HTTP_TIMEOUT_MS 30000
25
+ #endif
26
+
27
+ // Every byte of a response, its headers included.
28
+ #ifndef HTTP_MAX_BYTES
29
+ #define HTTP_MAX_BYTES (32 * 1024 * 1024)
30
+ #endif
31
+
32
+ #define HTTP_USER_AGENT "Mozilla/5.0 (compatible; ProjectNameSDK/1.0)"
33
+
34
+ // The URL as an error may quote it: no userinfo, query or fragment.
35
+ static char* bare_url(const char* url) {
36
+ const char* scheme = strstr(url, "://");
37
+ const char* auth = NULL == scheme ? url : scheme + 3;
38
+ size_t alen = strcspn(auth, "/?#");
39
+ const char* from = auth;
40
+ for (size_t i = 0; i < alen; i++) {
41
+ if ('@' == auth[i]) from = auth + i + 1;
42
+ }
43
+ size_t head = (size_t)(auth - url);
44
+ size_t tail = strcspn(from, "?#");
45
+ char* out = (char*)malloc(head + tail + 1);
46
+ memcpy(out, url, head);
47
+ memcpy(out + head, from, tail);
48
+ out[head + tail] = '\0';
49
+ return out;
50
+ }
51
+
52
+ static PNError* transport_error(Context* ctx, const char* url, const char* what,
53
+ const char* why) {
54
+ char* bare = bare_url(url);
55
+ size_t n = strlen(what) + (NULL == why ? 0 : strlen(why) + 2) + strlen(bare) + 16;
56
+ char* msg = (char*)malloc(n);
57
+ snprintf(msg, n, "%s%s%s (URL was: \"%s\")", what, NULL == why ? "" : ": ",
58
+ NULL == why ? "" : why, bare);
59
+ PNError* e = context_make_error(ctx, "fetch_transport", msg);
60
+ free(bare);
61
+ free(msg);
62
+ return e;
63
+ }
64
+
65
+ #if defined(_WIN32)
66
+
67
+ voxgig_value* http_fetch(Context* ctx, const char* url, voxgig_value* fetchdef, PNError** err) {
68
+ (void)fetchdef;
69
+ *err = transport_error(ctx, NULL == url ? "" : url, "the default transport needs POSIX "
70
+ "sockets, which this platform does not have; supply options.system.fetch", NULL);
71
+ return NULL;
72
+ }
73
+
74
+ #else
75
+
76
+ #include <errno.h>
77
+ #include <fcntl.h>
78
+ #include <netdb.h>
79
+ #include <poll.h>
80
+ #include <sys/socket.h>
81
+ #include <sys/time.h>
82
+ #include <sys/types.h>
83
+ #include <time.h>
84
+ #include <unistd.h>
85
+
86
+ #if defined(MSG_NOSIGNAL)
87
+ #define HTTP_SEND_FLAGS MSG_NOSIGNAL
88
+ #else
89
+ #define HTTP_SEND_FLAGS 0
90
+ #endif
91
+
92
+ // ---- bytes and words -----------------------------------------------------------
93
+
94
+ typedef struct {
95
+ char* data;
96
+ size_t len;
97
+ size_t cap;
98
+ } HttpBuf;
99
+
100
+ static void buf_add(HttpBuf* b, const char* s, size_t n) {
101
+ if (b->len + n + 1 > b->cap) {
102
+ size_t cap = 0 == b->cap ? 1024 : b->cap;
103
+ while (b->len + n + 1 > cap) cap *= 2;
104
+ b->data = (char*)realloc(b->data, cap);
105
+ b->cap = cap;
106
+ }
107
+ if (0 < n) memcpy(b->data + b->len, s, n);
108
+ b->len += n;
109
+ b->data[b->len] = '\0';
110
+ }
111
+
112
+ static void buf_str(HttpBuf* b, const char* s) { buf_add(b, s, strlen(s)); }
113
+
114
+ static int ieqn(const char* a, size_t n, const char* b) {
115
+ if (strlen(b) != n) return 0;
116
+ for (size_t i = 0; i < n; i++) {
117
+ if (tolower((unsigned char)a[i]) != tolower((unsigned char)b[i])) return 0;
118
+ }
119
+ return 1;
120
+ }
121
+
122
+ static int ieq(const char* a, const char* b) { return ieqn(a, strlen(a), b); }
123
+
124
+ static int is_token(const char* s) {
125
+ if ('\0' == *s) return 0;
126
+ for (; *s; s++) {
127
+ unsigned char ch = (unsigned char)*s;
128
+ if (!isalnum(ch) && NULL == strchr("!#$%&'*+-.^_`|~", ch)) return 0;
129
+ }
130
+ return 1;
131
+ }
132
+
133
+ static int is_field_value(const char* s, size_t n) {
134
+ for (size_t i = 0; i < n; i++) {
135
+ if ('\r' == s[i] || '\n' == s[i] || '\0' == s[i]) return 0;
136
+ }
137
+ return 1;
138
+ }
139
+
140
+ static int hexval(char ch) {
141
+ return isdigit((unsigned char)ch) ? ch - '0' : tolower((unsigned char)ch) - 'a' + 10;
142
+ }
143
+
144
+ static int percent_decode(char* out, size_t cap, const char* s, size_t n) {
145
+ size_t o = 0;
146
+ for (size_t i = 0; i < n; i++) {
147
+ char ch = s[i];
148
+ if ('%' == ch && i + 2 < n && isxdigit((unsigned char)s[i + 1]) &&
149
+ isxdigit((unsigned char)s[i + 2])) {
150
+ ch = (char)(hexval(s[i + 1]) * 16 + hexval(s[i + 2]));
151
+ i += 2;
152
+ }
153
+ if (o + 1 >= cap) return 0;
154
+ out[o++] = ch;
155
+ }
156
+ out[o] = '\0';
157
+ return 1;
158
+ }
159
+
160
+ // ---- URLs ---------------------------------------------------------------------
161
+
162
+ typedef struct {
163
+ int tls;
164
+ char host[256]; // bare: what is dialled, and what TLS verifies
165
+ char authority[300]; // as the Host header carries it
166
+ int port;
167
+ const char* target; // path and query, pointing into the URL
168
+ size_t target_len;
169
+ char user[256]; // a proxy URL's userinfo, decoded
170
+ char pass[256];
171
+ } HttpUrl;
172
+
173
+ // Splits an absolute http:// or https:// URL; a message on failure. Only a
174
+ // proxy's URL may carry userinfo.
175
+ static const char* parse_url(const char* url, HttpUrl* u, int userinfo) {
176
+ memset(u, 0, sizeof(*u));
177
+ const char* auth;
178
+ if (0 == strncmp(url, "http://", 7)) {
179
+ auth = url + 7;
180
+ } else if (0 == strncmp(url, "https://", 8)) {
181
+ auth = url + 8;
182
+ u->tls = 1;
183
+ } else {
184
+ return "it is not an http:// or https:// URL";
185
+ }
186
+
187
+ size_t alen = strcspn(auth, "/?#");
188
+ const char* at = NULL;
189
+ for (size_t i = 0; i < alen; i++) {
190
+ if ('@' == auth[i]) at = auth + i;
191
+ }
192
+ if (NULL != at) {
193
+ if (!userinfo) return "the URL carries credentials, and a URL never sends them";
194
+ const char* colon = memchr(auth, ':', (size_t)(at - auth));
195
+ size_t ulen = (size_t)((NULL == colon ? at : colon) - auth);
196
+ if (!percent_decode(u->user, sizeof(u->user), auth, ulen) ||
197
+ (NULL != colon &&
198
+ !percent_decode(u->pass, sizeof(u->pass), colon + 1, (size_t)(at - colon - 1)))) {
199
+ return "the URL's userinfo is too long";
200
+ }
201
+ alen -= (size_t)(at + 1 - auth);
202
+ auth = at + 1;
203
+ }
204
+
205
+ const char* end = auth + alen;
206
+ const char* port = NULL;
207
+ const char* host = auth;
208
+ size_t hlen;
209
+ if (0 < alen && '[' == auth[0]) {
210
+ const char* close = memchr(auth, ']', alen);
211
+ if (NULL == close) return "the URL's IPv6 address has no closing bracket";
212
+ host = auth + 1;
213
+ hlen = (size_t)(close - host);
214
+ if (close + 1 < end) {
215
+ if (':' != close[1]) return "the URL's authority is malformed";
216
+ port = close + 2;
217
+ }
218
+ } else {
219
+ const char* colon = memchr(auth, ':', alen);
220
+ hlen = (size_t)((NULL == colon ? end : colon) - auth);
221
+ if (NULL != colon) port = colon + 1;
222
+ }
223
+ if (0 == hlen) return "the URL has no host";
224
+ if (hlen >= sizeof(u->host)) return "the URL's host is too long";
225
+ for (size_t i = 0; i < hlen; i++) {
226
+ unsigned char ch = (unsigned char)host[i];
227
+ if (ch <= 0x20 || 0x7f <= ch || NULL != strchr("\"<>\\^`{|}/?#@[]", ch)) {
228
+ return "the URL's host is malformed";
229
+ }
230
+ }
231
+ memcpy(u->host, host, hlen);
232
+ u->host[hlen] = '\0';
233
+
234
+ int fallback = u->tls ? 443 : 80;
235
+ u->port = fallback;
236
+ if (NULL != port) {
237
+ long n = 0;
238
+ if (port == end) return "the URL's port is malformed";
239
+ for (const char* p = port; p < end; p++) {
240
+ if (!isdigit((unsigned char)*p) || 65535 < (n = n * 10 + (*p - '0'))) {
241
+ return "the URL's port is malformed";
242
+ }
243
+ }
244
+ if (0 == n) return "the URL's port is malformed";
245
+ u->port = (int)n;
246
+ }
247
+
248
+ const char* open = NULL == strchr(u->host, ':') ? "" : "[";
249
+ const char* shut = '\0' == open[0] ? "" : "]";
250
+ if (fallback == u->port) {
251
+ snprintf(u->authority, sizeof(u->authority), "%s%s%s", open, u->host, shut);
252
+ } else {
253
+ snprintf(u->authority, sizeof(u->authority), "%s%s%s:%d", open, u->host, shut, u->port);
254
+ }
255
+
256
+ u->target = end;
257
+ u->target_len = strcspn(end, "#");
258
+ return NULL;
259
+ }
260
+
261
+ // A SHA-256 fingerprint, as hex with or without colons.
262
+ static int parse_pin(const char* text, unsigned char pin[32]) {
263
+ size_t n = 0;
264
+ for (const char* p = text; *p; p++) {
265
+ if (':' == *p) continue;
266
+ if (!isxdigit((unsigned char)*p) || 64 <= n) return 0;
267
+ if (0 == n % 2) pin[n / 2] = (unsigned char)(hexval(*p) << 4);
268
+ else pin[n / 2] |= (unsigned char)hexval(*p);
269
+ n++;
270
+ }
271
+ return 64 == n;
272
+ }
273
+
274
+ // ---- the connection -------------------------------------------------------------
275
+
276
+ typedef struct {
277
+ int fd;
278
+ int64_t deadline;
279
+ HttpTls* tls;
280
+ } HttpConn;
281
+
282
+ static int64_t monotonic_ms(void) {
283
+ struct timespec ts;
284
+ clock_gettime(CLOCK_MONOTONIC, &ts);
285
+ return (int64_t)ts.tv_sec * 1000 + ts.tv_nsec / 1000000;
286
+ }
287
+
288
+ static int64_t remaining(HttpConn* c) { return c->deadline - monotonic_ms(); }
289
+
290
+ // What is left of the deadline, as the socket's bound on one call.
291
+ static void bound(int fd, int opt, int64_t ms) {
292
+ struct timeval tv;
293
+ if (ms < 1) ms = 1;
294
+ tv.tv_sec = (time_t)(ms / 1000);
295
+ tv.tv_usec = (suseconds_t)((ms % 1000) * 1000);
296
+ setsockopt(fd, SOL_SOCKET, opt, &tv, sizeof(tv));
297
+ }
298
+
299
+ static long sock_send(void* io, const char* data, size_t len, const char** why) {
300
+ HttpConn* c = (HttpConn*)io;
301
+ for (;;) {
302
+ int64_t left = remaining(c);
303
+ if (left <= 0) {
304
+ *why = "timed out";
305
+ return -1;
306
+ }
307
+ bound(c->fd, SO_SNDTIMEO, left);
308
+ ssize_t n = send(c->fd, data, len, HTTP_SEND_FLAGS);
309
+ if (0 <= n) return (long)n;
310
+ if (EINTR == errno) continue;
311
+ *why = EAGAIN == errno || EWOULDBLOCK == errno ? "timed out" : strerror(errno);
312
+ return -1;
313
+ }
314
+ }
315
+
316
+ static long sock_recv(void* io, char* data, size_t len, const char** why) {
317
+ HttpConn* c = (HttpConn*)io;
318
+ for (;;) {
319
+ int64_t left = remaining(c);
320
+ if (left <= 0) {
321
+ *why = "timed out";
322
+ return -1;
323
+ }
324
+ bound(c->fd, SO_RCVTIMEO, left);
325
+ ssize_t n = recv(c->fd, data, len, 0);
326
+ if (0 <= n) return (long)n;
327
+ if (EINTR == errno) continue;
328
+ *why = EAGAIN == errno || EWOULDBLOCK == errno ? "timed out" : strerror(errno);
329
+ return -1;
330
+ }
331
+ }
332
+
333
+ static long conn_recv(HttpConn* c, char* data, size_t len, const char** why) {
334
+ return NULL == c->tls ? sock_recv(c, data, len, why) : http_tls_read(c->tls, data, len, why);
335
+ }
336
+
337
+ static const char* send_all(HttpConn* c, const char* data, size_t len) {
338
+ while (0 < len) {
339
+ const char* why = "the connection closed";
340
+ long n = NULL == c->tls ? sock_send(c, data, len, &why)
341
+ : http_tls_write(c->tls, data, len, &why);
342
+ if (n <= 0) return why;
343
+ data += n;
344
+ len -= (size_t)n;
345
+ }
346
+ return NULL;
347
+ }
348
+
349
+ // Connects within the exchange's deadline. Every address a name resolves to
350
+ // shares it, so a name with many addresses cannot multiply the wait.
351
+ static const char* dial(HttpConn* c, const char* host, int port, char* why, size_t whylen) {
352
+ struct addrinfo hints;
353
+ struct addrinfo* found = NULL;
354
+ char service[16];
355
+ memset(&hints, 0, sizeof(hints));
356
+ hints.ai_family = AF_UNSPEC;
357
+ hints.ai_socktype = SOCK_STREAM;
358
+ snprintf(service, sizeof(service), "%d", port);
359
+
360
+ int code = getaddrinfo(host, service, &hints, &found);
361
+ if (0 != code) {
362
+ snprintf(why, whylen, "cannot resolve %s: %s", host, gai_strerror(code));
363
+ return why;
364
+ }
365
+
366
+ const char* last = "no address";
367
+ for (struct addrinfo* at = found; NULL != at; at = at->ai_next) {
368
+ if (remaining(c) <= 0) {
369
+ last = "timed out";
370
+ break;
371
+ }
372
+ int fd = socket(at->ai_family, at->ai_socktype, at->ai_protocol);
373
+ if (fd < 0) {
374
+ last = strerror(errno);
375
+ continue;
376
+ }
377
+ #if defined(SO_NOSIGPIPE)
378
+ int one = 1;
379
+ setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &one, sizeof(one));
380
+ #endif
381
+ int flags = fcntl(fd, F_GETFL, 0);
382
+ fcntl(fd, F_SETFL, flags | O_NONBLOCK);
383
+ int connected = 0 == connect(fd, at->ai_addr, at->ai_addrlen);
384
+ if (!connected && EINPROGRESS == errno) {
385
+ struct pollfd wait;
386
+ int ready;
387
+ wait.fd = fd;
388
+ wait.events = POLLOUT;
389
+ wait.revents = 0;
390
+ do {
391
+ int64_t left = remaining(c);
392
+ ready = left <= 0 ? 0 : poll(&wait, 1, (int)left);
393
+ } while (ready < 0 && EINTR == errno);
394
+ if (0 < ready) {
395
+ int problem = 0;
396
+ socklen_t size = sizeof(problem);
397
+ getsockopt(fd, SOL_SOCKET, SO_ERROR, &problem, &size);
398
+ connected = 0 == problem;
399
+ if (!connected) last = strerror(problem);
400
+ } else {
401
+ last = 0 == ready ? "timed out" : strerror(errno);
402
+ }
403
+ } else if (!connected) {
404
+ last = strerror(errno);
405
+ }
406
+ if (connected) {
407
+ fcntl(fd, F_SETFL, flags);
408
+ freeaddrinfo(found);
409
+ c->fd = fd;
410
+ return NULL;
411
+ }
412
+ close(fd);
413
+ }
414
+ freeaddrinfo(found);
415
+ snprintf(why, whylen, "cannot connect to %s port %d: %s", host, port, last);
416
+ return why;
417
+ }
418
+
419
+ // ---- the response -----------------------------------------------------------------
420
+
421
+ typedef struct {
422
+ HttpBuf raw;
423
+ HttpBuf body;
424
+ int status;
425
+ char reason[128];
426
+ voxgig_value* headers;
427
+ char why[128];
428
+ } HttpResp;
429
+
430
+ static const char* too_large(HttpResp* r) {
431
+ snprintf(r->why, sizeof(r->why), "the response is larger than %ld bytes",
432
+ (long)HTTP_MAX_BYTES);
433
+ return r->why;
434
+ }
435
+
436
+ static const char* find_end_of_head(const char* s, size_t n) {
437
+ for (size_t i = 0; i + 3 < n; i++) {
438
+ if ('\r' == s[i] && '\n' == s[i + 1] && '\r' == s[i + 2] && '\n' == s[i + 3]) return s + i;
439
+ }
440
+ return NULL;
441
+ }
442
+
443
+ // Reads more of the response into raw: 0 at the end of the stream, -1 on
444
+ // failure, which includes a response grown past the bound.
445
+ static long fill(HttpConn* c, HttpResp* r, const char** why) {
446
+ char chunk[16384];
447
+ long n = conn_recv(c, chunk, sizeof(chunk), why);
448
+ if (0 < n) {
449
+ if ((size_t)HTTP_MAX_BYTES < r->raw.len + (size_t)n) {
450
+ *why = too_large(r);
451
+ return -1;
452
+ }
453
+ buf_add(&r->raw, chunk, (size_t)n);
454
+ }
455
+ return n;
456
+ }
457
+
458
+ // Repeated header lines are joined with ", ", under the name in lower case.
459
+ static void add_header(voxgig_value* headers, const char* name, size_t nlen, const char* value,
460
+ size_t vlen) {
461
+ char* key = (char*)malloc(nlen + 1);
462
+ for (size_t i = 0; i < nlen; i++) key[i] = (char)tolower((unsigned char)name[i]);
463
+ key[nlen] = '\0';
464
+ voxgig_value* prior = getp(headers, key);
465
+ HttpBuf joined = { NULL, 0, 0 };
466
+ if (voxgig_is_string(prior)) {
467
+ buf_add(&joined, voxgig_as_string(prior), voxgig_string_len(prior));
468
+ buf_str(&joined, ", ");
469
+ }
470
+ buf_add(&joined, value, vlen);
471
+ setp(headers, key, voxgig_new_string_n(joined.data, joined.len));
472
+ free(joined.data);
473
+ free(key);
474
+ }
475
+
476
+ // The status line and headers in raw[from, from + n); a message on failure.
477
+ static const char* parse_head(HttpResp* r, size_t from, size_t n) {
478
+ const char* s = r->raw.data + from;
479
+ size_t eol = 0;
480
+ while (eol < n && '\n' != s[eol]) eol++;
481
+ size_t line = 0 < eol && '\r' == s[eol - 1] ? eol - 1 : eol;
482
+ if (line < 12 || 0 != strncmp(s, "HTTP/1.", 7) || ' ' != s[8] ||
483
+ !isdigit((unsigned char)s[9]) || !isdigit((unsigned char)s[10]) ||
484
+ !isdigit((unsigned char)s[11]) || (12 < line && ' ' != s[12])) {
485
+ return "its status line is malformed";
486
+ }
487
+ r->status = (s[9] - '0') * 100 + (s[10] - '0') * 10 + (s[11] - '0');
488
+ r->reason[0] = '\0';
489
+ if (13 < line) {
490
+ size_t rlen = line - 13 < sizeof(r->reason) ? line - 13 : sizeof(r->reason) - 1;
491
+ memcpy(r->reason, s + 13, rlen);
492
+ r->reason[rlen] = '\0';
493
+ }
494
+
495
+ r->headers = voxgig_new_map();
496
+ const char* name = NULL;
497
+ size_t nlen = 0;
498
+ HttpBuf value = { NULL, 0, 0 };
499
+ for (size_t at = eol + 1; at < n;) {
500
+ size_t e = at;
501
+ while (e < n && '\n' != s[e]) e++;
502
+ size_t len = e - at;
503
+ if (0 < len && '\r' == s[at + len - 1]) len--;
504
+ if (0 < len && (' ' == s[at] || '\t' == s[at])) {
505
+ // An obsolete folded line continues the header before it.
506
+ size_t skip = 0;
507
+ while (skip < len && (' ' == s[at + skip] || '\t' == s[at + skip])) skip++;
508
+ if (NULL != name) {
509
+ buf_str(&value, " ");
510
+ buf_add(&value, s + at + skip, len - skip);
511
+ }
512
+ } else {
513
+ if (NULL != name) add_header(r->headers, name, nlen, value.data, value.len);
514
+ name = NULL;
515
+ value.len = 0;
516
+ const char* colon = memchr(s + at, ':', len);
517
+ if (NULL != colon && colon > s + at) {
518
+ const char* v = colon + 1;
519
+ const char* vend = s + at + len;
520
+ while (v < vend && (' ' == *v || '\t' == *v)) v++;
521
+ while (vend > v && (' ' == vend[-1] || '\t' == vend[-1])) vend--;
522
+ name = s + at;
523
+ nlen = (size_t)(colon - name);
524
+ buf_add(&value, v, (size_t)(vend - v));
525
+ }
526
+ }
527
+ at = e + 1;
528
+ }
529
+ if (NULL != name) add_header(r->headers, name, nlen, value.data, value.len);
530
+ free(value.data);
531
+ return NULL;
532
+ }
533
+
534
+ // Whether chunked is the last coding a transfer-encoding names.
535
+ static int ends_chunked(const char* te) {
536
+ const char* last = te;
537
+ for (const char* p = te; *p; p++) {
538
+ if (',' == *p) last = p + 1;
539
+ }
540
+ while (' ' == *last || '\t' == *last) last++;
541
+ size_t n = strlen(last);
542
+ while (0 < n && (' ' == last[n - 1] || '\t' == last[n - 1])) n--;
543
+ return ieqn(last, n, "chunked");
544
+ }
545
+
546
+ // The one length a content-length names, -1 for none it could mean: a list
547
+ // of equal lengths is one length, and a list that disagrees is no length.
548
+ static long long content_length(const char* s) {
549
+ long long len = -1;
550
+ while (*s) {
551
+ while (' ' == *s || '\t' == *s || ',' == *s) s++;
552
+ if ('\0' == *s) break;
553
+ if (!isdigit((unsigned char)*s)) return -1;
554
+ long long v = 0;
555
+ for (; isdigit((unsigned char)*s); s++) {
556
+ if (v > (long long)HTTP_MAX_BYTES) return (long long)HTTP_MAX_BYTES + 1;
557
+ v = v * 10 + (*s - '0');
558
+ }
559
+ while (' ' == *s || '\t' == *s) s++;
560
+ if (('\0' != *s && ',' != *s) || (0 <= len && v != len)) return -1;
561
+ len = v;
562
+ }
563
+ return len;
564
+ }
565
+
566
+ // Decodes the chunks from raw[*at]: 1 when the body is complete, 0 when more
567
+ // is needed, -1 when the framing is malformed, -2 past the bound.
568
+ static int dechunk(HttpResp* r, size_t* at, int* trailer) {
569
+ for (;;) {
570
+ const char* s = r->raw.data + *at;
571
+ size_t n = r->raw.len - *at;
572
+ const char* lf = memchr(s, '\n', n);
573
+ if (NULL == lf) return 0;
574
+ size_t line = (size_t)(lf - s);
575
+ if (*trailer) {
576
+ *at += line + 1;
577
+ if (0 == line || (1 == line && '\r' == s[0])) return 1;
578
+ continue;
579
+ }
580
+ size_t size = 0;
581
+ size_t i = 0;
582
+ for (; i < line && isxdigit((unsigned char)s[i]); i++) {
583
+ if (size > (size_t)HTTP_MAX_BYTES) return -2;
584
+ size = size * 16 + (size_t)hexval(s[i]);
585
+ }
586
+ if (0 == i || (i < line && ('\0' == s[i] || NULL == strchr("; \t\r", s[i])))) return -1;
587
+ if (0 == size) {
588
+ *at += line + 1;
589
+ *trailer = 1;
590
+ continue;
591
+ }
592
+ if ((size_t)HTTP_MAX_BYTES < r->body.len + size) return -2;
593
+ if (n < line + 1 + size + 2) return 0;
594
+ const char* data = lf + 1;
595
+ size_t crlf = '\r' == data[size] && '\n' == data[size + 1] ? 2 : '\n' == data[size] ? 1 : 0;
596
+ if (0 == crlf) return -1;
597
+ buf_add(&r->body, data, size);
598
+ *at += line + 1 + size + crlf;
599
+ }
600
+ }
601
+
602
+ // Reads the final response, past any 1xx, framed as its headers say.
603
+ static const char* read_response(HttpConn* c, HttpResp* r, int head) {
604
+ const char* why = NULL;
605
+ size_t from = 0;
606
+ for (;;) {
607
+ const char* end = NULL;
608
+ while (r->raw.len < from + 4 ||
609
+ NULL == (end = find_end_of_head(r->raw.data + from, r->raw.len - from))) {
610
+ long n = fill(c, r, &why);
611
+ if (n < 0) return why;
612
+ if (0 == n) return 0 == r->raw.len ? "the server closed the connection without answering"
613
+ : "the response ended inside its headers";
614
+ }
615
+ size_t stop = (size_t)(end - r->raw.data);
616
+ const char* bad = parse_head(r, from, stop + 2 - from);
617
+ if (NULL != bad) return bad;
618
+ from = stop + 4;
619
+ if (101 == r->status || 200 <= r->status) break;
620
+ }
621
+
622
+ if (head || 204 == r->status || 304 == r->status || r->status < 200) return NULL;
623
+
624
+ const char* te = get_str(r->headers, "transfer-encoding");
625
+ const char* cl = get_str(r->headers, "content-length");
626
+
627
+ if (NULL != te && ends_chunked(te)) {
628
+ size_t at = from;
629
+ int trailer = 0;
630
+ for (;;) {
631
+ int done = dechunk(r, &at, &trailer);
632
+ if (1 == done) return NULL;
633
+ if (-1 == done) return "its chunked framing is malformed";
634
+ if (-2 == done) return too_large(r);
635
+ long n = fill(c, r, &why);
636
+ if (n < 0) return why;
637
+ if (0 == n) return "the response ended before its last chunk";
638
+ }
639
+ }
640
+
641
+ if (NULL == te && NULL != cl) {
642
+ long long want = content_length(cl);
643
+ if (want < 0) return "its content-length is malformed";
644
+ if ((long long)HTTP_MAX_BYTES < want) return too_large(r);
645
+ while ((long long)(r->raw.len - from) < want) {
646
+ long n = fill(c, r, &why);
647
+ if (n < 0) return why;
648
+ if (0 == n) return "the response ended before its content-length";
649
+ }
650
+ buf_add(&r->body, r->raw.data + from, (size_t)want);
651
+ return NULL;
652
+ }
653
+
654
+ for (;;) {
655
+ long n = fill(c, r, &why);
656
+ if (n < 0) return why;
657
+ if (0 == n) break;
658
+ }
659
+ buf_add(&r->body, r->raw.data + from, r->raw.len - from);
660
+ return NULL;
661
+ }
662
+
663
+ // ---- JSON ----------------------------------------------------------------------
664
+
665
+ // A strict recognizer, because the vendored parser reads a truncated
666
+ // document as the part it got, and that part is not what the server sent.
667
+ typedef struct {
668
+ const char* s;
669
+ size_t n;
670
+ size_t i;
671
+ int depth;
672
+ } JsonScan;
673
+
674
+ static void js_space(JsonScan* j) {
675
+ while (j->i < j->n && NULL != memchr(" \t\r\n", j->s[j->i], 4)) j->i++;
676
+ }
677
+
678
+ static int js_digits(JsonScan* j) {
679
+ size_t from = j->i;
680
+ while (j->i < j->n && isdigit((unsigned char)j->s[j->i])) j->i++;
681
+ return j->i > from;
682
+ }
683
+
684
+ static int js_string(JsonScan* j) {
685
+ if (j->i >= j->n || '"' != j->s[j->i]) return 0;
686
+ j->i++;
687
+ while (j->i < j->n) {
688
+ unsigned char ch = (unsigned char)j->s[j->i++];
689
+ if ('"' == ch) return 1;
690
+ if (ch < 0x20) return 0;
691
+ if ('\\' != ch) continue;
692
+ if (j->i >= j->n) return 0;
693
+ char e = j->s[j->i++];
694
+ if ('u' == e) {
695
+ for (int k = 0; k < 4; k++, j->i++) {
696
+ if (j->i >= j->n || !isxdigit((unsigned char)j->s[j->i])) return 0;
697
+ }
698
+ } else if ('\0' == e || NULL == strchr("\"\\/bfnrt", e)) {
699
+ return 0;
700
+ }
701
+ }
702
+ return 0;
703
+ }
704
+
705
+ static int js_value(JsonScan* j) {
706
+ js_space(j);
707
+ if (j->i >= j->n) return 0;
708
+ char c = j->s[j->i];
709
+ if ('{' == c || '[' == c) {
710
+ char close = '{' == c ? '}' : ']';
711
+ if (1024 < ++j->depth) return 0;
712
+ j->i++;
713
+ js_space(j);
714
+ if (j->i < j->n && close == j->s[j->i]) {
715
+ j->i++;
716
+ j->depth--;
717
+ return 1;
718
+ }
719
+ for (;;) {
720
+ if ('}' == close) {
721
+ js_space(j);
722
+ if (!js_string(j)) return 0;
723
+ js_space(j);
724
+ if (j->i >= j->n || ':' != j->s[j->i++]) return 0;
725
+ }
726
+ if (!js_value(j)) return 0;
727
+ js_space(j);
728
+ if (j->i >= j->n) return 0;
729
+ char d = j->s[j->i++];
730
+ if (close == d) {
731
+ j->depth--;
732
+ return 1;
733
+ }
734
+ if (',' != d) return 0;
735
+ }
736
+ }
737
+ if ('"' == c) return js_string(j);
738
+ const char* words[] = { "true", "false", "null" };
739
+ for (size_t k = 0; k < 3; k++) {
740
+ size_t len = strlen(words[k]);
741
+ if (len <= j->n - j->i && 0 == memcmp(j->s + j->i, words[k], len)) {
742
+ j->i += len;
743
+ return 1;
744
+ }
745
+ }
746
+ if ('-' == c) j->i++;
747
+ if (j->i < j->n && '0' == j->s[j->i]) j->i++;
748
+ else if (!js_digits(j)) return 0;
749
+ if (j->i < j->n && '.' == j->s[j->i]) {
750
+ j->i++;
751
+ if (!js_digits(j)) return 0;
752
+ }
753
+ if (j->i < j->n && ('e' == j->s[j->i] || 'E' == j->s[j->i])) {
754
+ j->i++;
755
+ if (j->i < j->n && ('+' == j->s[j->i] || '-' == j->s[j->i])) j->i++;
756
+ if (!js_digits(j)) return 0;
757
+ }
758
+ return 1;
759
+ }
760
+
761
+ static int json_valid(const char* s, size_t n) {
762
+ JsonScan j = { s, n, 0, 0 };
763
+ if (!js_value(&j)) return 0;
764
+ js_space(&j);
765
+ return j.i == n;
766
+ }
767
+
768
+ // ---- the request ------------------------------------------------------------------
769
+
770
+ // The transport frames the request itself, and a proxy credential goes only
771
+ // to the proxy, never to an origin.
772
+ static int owned_header(const char* name) {
773
+ return ieq(name, "host") || ieq(name, "content-length") || ieq(name, "transfer-encoding") ||
774
+ ieq(name, "connection") || ieq(name, "proxy-authorization");
775
+ }
776
+
777
+ static void proxy_credentials(HttpBuf* req, const HttpUrl* proxy) {
778
+ if ('\0' == proxy->user[0]) return;
779
+ HttpBuf plain = { NULL, 0, 0 };
780
+ buf_str(&plain, proxy->user);
781
+ buf_str(&plain, ":");
782
+ buf_str(&plain, proxy->pass);
783
+ char* encoded = clean_base64(plain.data);
784
+ buf_str(req, "Proxy-Authorization: Basic ");
785
+ buf_str(req, encoded);
786
+ buf_str(req, "\r\n");
787
+ free(encoded);
788
+ free(plain.data);
789
+ }
790
+
791
+ // The path and query as the request line carries them: a space or a byte
792
+ // past ASCII is percent-encoded, and a control character, which could end
793
+ // the line, is refused.
794
+ static int add_target(HttpBuf* req, const char* s, size_t n) {
795
+ for (size_t i = 0; i < n; i++) {
796
+ unsigned char ch = (unsigned char)s[i];
797
+ if (ch < 0x20 || 0x7f == ch) return 0;
798
+ if (' ' == ch || 0x80 <= ch) {
799
+ char esc[4];
800
+ snprintf(esc, sizeof(esc), "%%%02X", ch);
801
+ buf_add(req, esc, 3);
802
+ } else {
803
+ buf_add(req, s + i, 1);
804
+ }
805
+ }
806
+ return 1;
807
+ }
808
+
809
+ // The bytes to send, or a message naming what cannot be sent.
810
+ static const char* build_request(HttpBuf* req, const char* method, const HttpUrl* u,
811
+ const char* url, const HttpUrl* proxy, voxgig_value* fetchdef) {
812
+ buf_str(req, method);
813
+ buf_str(req, " ");
814
+ // Through a proxy, an http:// request names the whole URL.
815
+ if (NULL != proxy && !u->tls) buf_add(req, url, (size_t)(u->target - url));
816
+ if (0 == u->target_len || '/' != u->target[0]) buf_str(req, "/");
817
+ if (!add_target(req, u->target, u->target_len)) {
818
+ return "the URL's path or query has a control character HTTP cannot carry";
819
+ }
820
+ buf_str(req, " HTTP/1.1\r\nHost: ");
821
+ buf_str(req, u->authority);
822
+ buf_str(req, "\r\n");
823
+
824
+ int agent = 0;
825
+ voxgig_value* headers = getp(fetchdef, "headers");
826
+ if (voxgig_is_map(headers)) {
827
+ voxgig_map* hm = voxgig_as_map(headers);
828
+ for (size_t i = 0; i < hm->len; i++) {
829
+ const char* name = hm->entries[i].key;
830
+ voxgig_value* val = hm->entries[i].value;
831
+ char num[64];
832
+ const char* text = num;
833
+ size_t tlen;
834
+ if (voxgig_is_string(val)) {
835
+ text = voxgig_as_string(val);
836
+ tlen = voxgig_string_len(val);
837
+ } else if (voxgig_is_int(val)) {
838
+ tlen = (size_t)snprintf(num, sizeof(num), "%lld", (long long)voxgig_as_int(val));
839
+ } else if (voxgig_is_double(val)) {
840
+ tlen = (size_t)snprintf(num, sizeof(num), "%.17g", voxgig_as_double(val));
841
+ } else if (voxgig_is_bool(val)) {
842
+ tlen = (size_t)snprintf(num, sizeof(num), "%s", voxgig_as_bool(val) ? "true" : "false");
843
+ } else {
844
+ continue;
845
+ }
846
+ if (owned_header(name)) continue;
847
+ if (!is_token(name) || !is_field_value(text, tlen)) {
848
+ return "a request header has a name or a value HTTP cannot carry";
849
+ }
850
+ if (ieq(name, "user-agent")) agent = 1;
851
+ buf_str(req, name);
852
+ buf_str(req, ": ");
853
+ buf_add(req, text, tlen);
854
+ buf_str(req, "\r\n");
855
+ }
856
+ }
857
+ if (!agent) {
858
+ buf_str(req, "User-Agent: " HTTP_USER_AGENT "\r\n");
859
+ if (voxgig_is_map(headers)) setp(headers, "user-agent", v_str(HTTP_USER_AGENT));
860
+ }
861
+ if (NULL != proxy && !u->tls) proxy_credentials(req, proxy);
862
+
863
+ voxgig_value* body = getp(fetchdef, "body");
864
+ char* encoded = NULL;
865
+ const char* bytes = NULL;
866
+ size_t blen = 0;
867
+ if (voxgig_is_string(body)) {
868
+ bytes = voxgig_as_string(body);
869
+ blen = voxgig_string_len(body);
870
+ } else if (!v_is_noval(body) && !v_is_null(body)) {
871
+ encoded = voxgig_jsonify(body, NULL);
872
+ bytes = NULL == encoded ? "" : encoded;
873
+ blen = strlen(bytes);
874
+ }
875
+ if (NULL != bytes || ieq(method, "POST") || ieq(method, "PUT") || ieq(method, "PATCH")) {
876
+ char len[48];
877
+ snprintf(len, sizeof(len), "Content-Length: %lu\r\n", (unsigned long)blen);
878
+ buf_str(req, len);
879
+ }
880
+ buf_str(req, "Connection: close\r\n\r\n");
881
+ if (NULL != bytes) buf_add(req, bytes, blen);
882
+ free(encoded);
883
+ return NULL;
884
+ }
885
+
886
+ // Through an http:// proxy to an https:// origin: CONNECT, then TLS inside it.
887
+ static const char* tunnel(HttpConn* c, const HttpUrl* u, const HttpUrl* proxy) {
888
+ char target[300];
889
+ const char* open = NULL == strchr(u->host, ':') ? "" : "[";
890
+ snprintf(target, sizeof(target), "%s%s%s:%d", open, u->host, '\0' == open[0] ? "" : "]",
891
+ u->port);
892
+ HttpBuf req = { NULL, 0, 0 };
893
+ buf_str(&req, "CONNECT ");
894
+ buf_str(&req, target);
895
+ buf_str(&req, " HTTP/1.1\r\nHost: ");
896
+ buf_str(&req, target);
897
+ buf_str(&req, "\r\n");
898
+ proxy_credentials(&req, proxy);
899
+ buf_str(&req, "\r\n");
900
+ const char* failed = send_all(c, req.data, req.len);
901
+ free(req.data);
902
+ if (NULL != failed) return failed;
903
+
904
+ // A byte at a time, so nothing after the proxy's answer is consumed.
905
+ char head[4096];
906
+ size_t n = 0;
907
+ while (n < 4 || NULL == find_end_of_head(head, n)) {
908
+ const char* why = "the proxy closed the connection";
909
+ if (sizeof(head) == n) return "the proxy's answer is too long";
910
+ if (1 != sock_recv(c, head + n, 1, &why)) return why;
911
+ n++;
912
+ }
913
+ return 12 <= n && 0 == strncmp(head, "HTTP/1.", 7) && '2' == head[9]
914
+ ? NULL : "the proxy refused the tunnel";
915
+ }
916
+
917
+ voxgig_value* http_fetch(Context* ctx, const char* url, voxgig_value* fetchdef, PNError** err) {
918
+ *err = NULL;
919
+ if (NULL == url) url = "";
920
+
921
+ HttpUrl u;
922
+ const char* bad = parse_url(url, &u, 0);
923
+ if (NULL != bad) {
924
+ *err = transport_error(ctx, url, "the request cannot be sent", bad);
925
+ return NULL;
926
+ }
927
+
928
+ HttpUrl proxy;
929
+ const char* via = get_str(fetchdef, "proxy");
930
+ int proxied = NULL != via && '\0' != via[0];
931
+ if (proxied) {
932
+ bad = parse_url(via, &proxy, 1);
933
+ if (NULL == bad && proxy.tls) bad = "the default transport reaches no https:// proxy";
934
+ if (NULL != bad) {
935
+ *err = transport_error(ctx, url, "the proxy cannot be used", bad);
936
+ return NULL;
937
+ }
938
+ }
939
+
940
+ const char* pintext = getenv("PROJECTENV_TLS_PIN");
941
+ const char* bundle = getenv("PROJECTENV_CA_BUNDLE");
942
+ int pinned = NULL != pintext && '\0' != pintext[0];
943
+ unsigned char pin[32];
944
+ if (u.tls) {
945
+ if (!http_tls_available()) {
946
+ *err = transport_error(ctx, url, "an https:// request needs TLS, and this SDK was built "
947
+ "without it (TLS=none): rebuild it with TLS=openssl, or supply options.system.fetch",
948
+ NULL);
949
+ return NULL;
950
+ }
951
+ if (pinned && !parse_pin(pintext, pin)) {
952
+ *err = transport_error(ctx, url, "the server cannot be verified", "PROJECTENV_TLS_PIN "
953
+ "is not a SHA-256 fingerprint (64 hex digits, colons allowed)");
954
+ return NULL;
955
+ }
956
+ }
957
+
958
+ const char* method = get_str(fetchdef, "method");
959
+ if (NULL == method || '\0' == method[0]) method = "GET";
960
+ if (!is_token(method)) {
961
+ *err = transport_error(ctx, url, "the request cannot be sent", "its method is not a token");
962
+ return NULL;
963
+ }
964
+
965
+ HttpBuf req = { NULL, 0, 0 };
966
+ bad = build_request(&req, method, &u, url, proxied ? &proxy : NULL, fetchdef);
967
+ if (NULL != bad) {
968
+ free(req.data);
969
+ *err = transport_error(ctx, url, "the request cannot be sent", bad);
970
+ return NULL;
971
+ }
972
+
973
+ HttpConn c;
974
+ char why[512];
975
+ c.fd = -1;
976
+ c.tls = NULL;
977
+ c.deadline = monotonic_ms() + HTTP_TIMEOUT_MS;
978
+ bad = dial(&c, proxied ? proxy.host : u.host, proxied ? proxy.port : u.port, why, sizeof(why));
979
+ if (NULL == bad && proxied && u.tls) bad = tunnel(&c, &u, &proxy);
980
+ if (NULL == bad && u.tls) {
981
+ HttpTlsIo io;
982
+ io.io = &c;
983
+ io.send = sock_send;
984
+ io.recv = sock_recv;
985
+ // Verified before it returns: a refused certificate is refused before
986
+ // any byte of the request is written.
987
+ char* refused = http_tls_open(io, u.host, pinned ? pin : NULL,
988
+ NULL != bundle && '\0' != bundle[0] ? bundle : NULL, &c.tls);
989
+ if (NULL != refused) {
990
+ snprintf(why, sizeof(why), "TLS with %s failed: %s", u.host, refused);
991
+ free(refused);
992
+ bad = why;
993
+ }
994
+ }
995
+ if (NULL == bad) bad = send_all(&c, req.data, req.len);
996
+ free(req.data);
997
+
998
+ HttpResp r;
999
+ memset(&r, 0, sizeof(r));
1000
+ if (NULL == bad) bad = read_response(&c, &r, ieq(method, "HEAD"));
1001
+ if (NULL != c.tls) http_tls_close(c.tls);
1002
+ if (0 <= c.fd) close(c.fd);
1003
+ if (NULL != bad) {
1004
+ *err = transport_error(ctx, url, "the request failed", bad);
1005
+ free(r.raw.data);
1006
+ free(r.body.data);
1007
+ return NULL;
1008
+ }
1009
+
1010
+ const char* text = NULL == r.body.data ? "" : r.body.data;
1011
+ size_t len = r.body.len;
1012
+ // A byte order mark is not part of the document, as fetch reads one.
1013
+ size_t bom = 3 <= len && 0 == memcmp(text, "\xEF\xBB\xBF", 3) ? 3 : 0;
1014
+ int blank = 1;
1015
+ for (size_t i = bom; i < len && blank; i++) blank = isspace((unsigned char)text[i]);
1016
+ int valid = !blank && json_valid(text + bom, len - bom);
1017
+ voxgig_value* parsed = valid ? voxgig_parse_json(text + bom, len - bom) : voxgig_new_undef();
1018
+
1019
+ voxgig_value* out = cmap(6,
1020
+ "status", v_num((double)r.status),
1021
+ "statusText", v_str(r.reason),
1022
+ "headers", r.headers,
1023
+ "json", json_thunk(parsed),
1024
+ "body", voxgig_new_string_n(text, len),
1025
+ "unreadable", v_bool(!blank && !valid));
1026
+ free(r.raw.data);
1027
+ free(r.body.data);
1028
+ return out;
1029
+ }
1030
+
1031
+ #endif