@voxgig/sdkgen 4.46.0 → 4.48.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 (1965) hide show
  1. package/bin/voxgig-sdkgen +1 -1
  2. package/dist/action/check.js +61 -4
  3. package/dist/action/check.js.map +1 -1
  4. package/dist/action/doctor.d.ts +5 -0
  5. package/dist/action/doctor.js +51 -6
  6. package/dist/action/doctor.js.map +1 -1
  7. package/dist/action/package.d.ts +1 -1
  8. package/dist/action/package.js +6 -16
  9. package/dist/action/package.js.map +1 -1
  10. package/dist/action/remove.js +15 -4
  11. package/dist/action/remove.js.map +1 -1
  12. package/dist/action/resolve.d.ts +1 -0
  13. package/dist/action/resolve.js +10 -4
  14. package/dist/action/resolve.js.map +1 -1
  15. package/dist/action/target.js +55 -29
  16. package/dist/action/target.js.map +1 -1
  17. package/dist/admin/status.d.ts +7 -1
  18. package/dist/admin/status.js +34 -5
  19. package/dist/admin/status.js.map +1 -1
  20. package/dist/cmp/AgentGuide.js +53 -32
  21. package/dist/cmp/AgentGuide.js.map +1 -1
  22. package/dist/cmp/AgentGuideContent.d.ts +3 -3
  23. package/dist/cmp/AgentGuideContent.js +26 -19
  24. package/dist/cmp/AgentGuideContent.js.map +1 -1
  25. package/dist/cmp/AgentGuideFeature.js +14 -6
  26. package/dist/cmp/AgentGuideFeature.js.map +1 -1
  27. package/dist/cmp/AgentGuideTop.js +25 -16
  28. package/dist/cmp/AgentGuideTop.js.map +1 -1
  29. package/dist/cmp/Changelog.js +37 -7
  30. package/dist/cmp/Changelog.js.map +1 -1
  31. package/dist/cmp/Deploy.js +67 -21
  32. package/dist/cmp/Deploy.js.map +1 -1
  33. package/dist/cmp/Entity.js +1 -1
  34. package/dist/cmp/Entity.js.map +1 -1
  35. package/dist/cmp/ExternalTarget.js +5 -0
  36. package/dist/cmp/ExternalTarget.js.map +1 -1
  37. package/dist/cmp/Feature.js +2 -2
  38. package/dist/cmp/Feature.js.map +1 -1
  39. package/dist/cmp/FeatureDocs.d.ts +1 -0
  40. package/dist/cmp/FeatureDocs.js +2 -1
  41. package/dist/cmp/FeatureDocs.js.map +1 -1
  42. package/dist/cmp/License.d.ts +3 -1
  43. package/dist/cmp/License.js +25 -7
  44. package/dist/cmp/License.js.map +1 -1
  45. package/dist/cmp/Main.js +1 -1
  46. package/dist/cmp/Main.js.map +1 -1
  47. package/dist/cmp/PublishWorkflow.js +63 -53
  48. package/dist/cmp/PublishWorkflow.js.map +1 -1
  49. package/dist/cmp/Readme.js +0 -2
  50. package/dist/cmp/Readme.js.map +1 -1
  51. package/dist/cmp/ReadmeErrors.js +77 -77
  52. package/dist/cmp/ReadmeErrors.js.map +1 -1
  53. package/dist/cmp/ReadmeExplanation.js +5 -10
  54. package/dist/cmp/ReadmeExplanation.js.map +1 -1
  55. package/dist/cmp/ReadmeFeatures.js +13 -9
  56. package/dist/cmp/ReadmeFeatures.js.map +1 -1
  57. package/dist/cmp/ReadmeIntro.js +1 -1
  58. package/dist/cmp/ReadmeIntro.js.map +1 -1
  59. package/dist/cmp/ReadmeModel.js +15 -11
  60. package/dist/cmp/ReadmeModel.js.map +1 -1
  61. package/dist/cmp/ReadmeOptions.js +3 -11
  62. package/dist/cmp/ReadmeOptions.js.map +1 -1
  63. package/dist/cmp/ReadmeQuick.js +10 -2
  64. package/dist/cmp/ReadmeQuick.js.map +1 -1
  65. package/dist/cmp/ReadmeRefFeatures.js +34 -30
  66. package/dist/cmp/ReadmeRefFeatures.js.map +1 -1
  67. package/dist/cmp/ReadmeStation.js +3 -3
  68. package/dist/cmp/ReadmeStation.js.map +1 -1
  69. package/dist/cmp/ReadmeTop.js +135 -102
  70. package/dist/cmp/ReadmeTop.js.map +1 -1
  71. package/dist/cmp/Registered.js +1 -1
  72. package/dist/cmp/Registered.js.map +1 -1
  73. package/dist/cmp/Security.js +23 -3
  74. package/dist/cmp/Security.js.map +1 -1
  75. package/dist/cmp/Test.js +1 -1
  76. package/dist/cmp/Test.js.map +1 -1
  77. package/dist/helpers/alongside.d.ts +2 -3
  78. package/dist/helpers/alongside.js +16 -15
  79. package/dist/helpers/alongside.js.map +1 -1
  80. package/dist/helpers/applicability.d.ts +2 -1
  81. package/dist/helpers/applicability.js +14 -1
  82. package/dist/helpers/applicability.js.map +1 -1
  83. package/dist/helpers/canonSpec.d.ts +5 -1
  84. package/dist/helpers/canonSpec.js +44 -10
  85. package/dist/helpers/canonSpec.js.map +1 -1
  86. package/dist/helpers/clientOptions.d.ts +9 -0
  87. package/dist/helpers/clientOptions.js +44 -0
  88. package/dist/helpers/clientOptions.js.map +1 -0
  89. package/dist/helpers/component.js +9 -1
  90. package/dist/helpers/component.js.map +1 -1
  91. package/dist/helpers/consumer.d.ts +10 -0
  92. package/dist/helpers/consumer.js +42 -0
  93. package/dist/helpers/consumer.js.map +1 -0
  94. package/dist/helpers/definitionPlan.js +0 -1
  95. package/dist/helpers/definitionPlan.js.map +1 -1
  96. package/dist/helpers/doctext.js +10 -1
  97. package/dist/helpers/doctext.js.map +1 -1
  98. package/dist/helpers/facts.js +198 -4
  99. package/dist/helpers/facts.js.map +1 -1
  100. package/dist/helpers/flowGuard.d.ts +1 -1
  101. package/dist/helpers/flowGuard.js +21 -8
  102. package/dist/helpers/flowGuard.js.map +1 -1
  103. package/dist/helpers/generated.d.ts +1 -0
  104. package/dist/helpers/generated.js +1 -1
  105. package/dist/helpers/generated.js.map +1 -1
  106. package/dist/helpers/graphqlPoint.d.ts +2 -1
  107. package/dist/helpers/graphqlPoint.js +17 -0
  108. package/dist/helpers/graphqlPoint.js.map +1 -1
  109. package/dist/helpers/guardModel.d.ts +2 -0
  110. package/dist/helpers/guardModel.js +41 -0
  111. package/dist/helpers/guardModel.js.map +1 -0
  112. package/dist/helpers/manifest.d.ts +2 -1
  113. package/dist/helpers/manifest.js +16 -0
  114. package/dist/helpers/manifest.js.map +1 -1
  115. package/dist/helpers/mcpTools.d.ts +3 -2
  116. package/dist/helpers/mcpTools.js +9 -3
  117. package/dist/helpers/mcpTools.js.map +1 -1
  118. package/dist/helpers/naming.js +3 -2
  119. package/dist/helpers/naming.js.map +1 -1
  120. package/dist/helpers/opShape.d.ts +8 -2
  121. package/dist/helpers/opShape.js +48 -18
  122. package/dist/helpers/opShape.js.map +1 -1
  123. package/dist/helpers/optional.d.ts +0 -1
  124. package/dist/helpers/optional.js +0 -1
  125. package/dist/helpers/optional.js.map +1 -1
  126. package/dist/helpers/optspec.js +16 -4
  127. package/dist/helpers/optspec.js.map +1 -1
  128. package/dist/helpers/packageMeta.d.ts +7 -4
  129. package/dist/helpers/packageMeta.js +130 -47
  130. package/dist/helpers/packageMeta.js.map +1 -1
  131. package/dist/helpers/placement.d.ts +15 -0
  132. package/dist/helpers/placement.js +76 -0
  133. package/dist/helpers/placement.js.map +1 -0
  134. package/dist/helpers/readerdir.d.ts +4 -0
  135. package/dist/helpers/readerdir.js +26 -0
  136. package/dist/helpers/readerdir.js.map +1 -0
  137. package/dist/helpers/semver.d.ts +2 -1
  138. package/dist/helpers/semver.js +21 -0
  139. package/dist/helpers/semver.js.map +1 -1
  140. package/dist/helpers/serverVars.js +3 -2
  141. package/dist/helpers/serverVars.js.map +1 -1
  142. package/dist/helpers/shipped.d.ts +2 -1
  143. package/dist/helpers/shipped.js +12 -0
  144. package/dist/helpers/shipped.js.map +1 -1
  145. package/dist/helpers/sourcestring.d.ts +4 -0
  146. package/dist/helpers/sourcestring.js +49 -0
  147. package/dist/helpers/sourcestring.js.map +1 -0
  148. package/dist/helpers/stdrep.d.ts +1 -1
  149. package/dist/helpers/stdrep.js +8 -4
  150. package/dist/helpers/stdrep.js.map +1 -1
  151. package/dist/helpers/surface.d.ts +12 -0
  152. package/dist/helpers/surface.js +81 -0
  153. package/dist/helpers/surface.js.map +1 -0
  154. package/dist/helpers/targetguard.d.ts +13 -0
  155. package/dist/helpers/targetguard.js +65 -0
  156. package/dist/helpers/targetguard.js.map +1 -0
  157. package/dist/helpers/testPolicy.js +3 -3
  158. package/dist/helpers/testPolicy.js.map +1 -1
  159. package/dist/helpers/text.d.ts +3 -1
  160. package/dist/helpers/text.js +16 -0
  161. package/dist/helpers/text.js.map +1 -1
  162. package/dist/helpers/textguard.d.ts +31 -0
  163. package/dist/helpers/textguard.js +157 -0
  164. package/dist/helpers/textguard.js.map +1 -0
  165. package/dist/helpers/title.d.ts +4 -0
  166. package/dist/helpers/title.js +52 -0
  167. package/dist/helpers/title.js.map +1 -0
  168. package/dist/sdkgen.d.ts +15 -11
  169. package/dist/sdkgen.js +77 -71
  170. package/dist/sdkgen.js.map +1 -1
  171. package/dist/testkit.d.ts +6 -2
  172. package/dist/testkit.js +4 -1
  173. package/dist/testkit.js.map +1 -1
  174. package/dist/tsconfig.tsbuildinfo +1 -1
  175. package/dist/utility.js +12 -4
  176. package/dist/utility.js.map +1 -1
  177. package/model/fact.aontu +106 -0
  178. package/model/sdkgen.aontu +11 -1
  179. package/package.json +1 -1
  180. package/project/.sdk/model/feature/netsim.aontu +1 -1
  181. package/project/.sdk/model/feature/secrets.aontu +1 -0
  182. package/project/.sdk/model/feature/test.aontu +1 -1
  183. package/project/.sdk/model/feature/validate.aontu +1 -1
  184. package/project/.sdk/model/target/c.aontu +1 -0
  185. package/project/.sdk/model/target/clojure.aontu +1 -0
  186. package/project/.sdk/model/target/cpp.aontu +1 -0
  187. package/project/.sdk/model/target/csharp.aontu +1 -0
  188. package/project/.sdk/model/target/elixir.aontu +1 -0
  189. package/project/.sdk/model/target/go-cli.aontu +5 -5
  190. package/project/.sdk/model/target/go-mcp.aontu +6 -8
  191. package/project/.sdk/model/target/go.aontu +1 -1
  192. package/project/.sdk/model/target/java.aontu +1 -0
  193. package/project/.sdk/model/target/kotlin.aontu +1 -0
  194. package/project/.sdk/model/target/ocaml.aontu +1 -0
  195. package/project/.sdk/model/target/perl.aontu +1 -0
  196. package/project/.sdk/model/target/py-data.aontu +2 -0
  197. package/project/.sdk/model/target/rust.aontu +1 -0
  198. package/project/.sdk/model/target/scala.aontu +1 -0
  199. package/project/.sdk/model/target/zig.aontu +1 -0
  200. package/project/.sdk/src/cmp/c/Config_c.ts +8 -33
  201. package/project/.sdk/src/cmp/c/EntityTypes_c.ts +6 -5
  202. package/project/.sdk/src/cmp/c/Main_c.ts +4 -0
  203. package/project/.sdk/src/cmp/c/PrepareAuth_c.ts +9 -19
  204. package/project/.sdk/src/cmp/c/ReadmeEntity_c.ts +8 -10
  205. package/project/.sdk/src/cmp/c/ReadmeExamplesTest_c.ts +12 -4
  206. package/project/.sdk/src/cmp/c/ReadmeExplanation_c.ts +4 -2
  207. package/project/.sdk/src/cmp/c/ReadmeHowto_c.ts +18 -22
  208. package/project/.sdk/src/cmp/c/ReadmeInstall_c.ts +19 -15
  209. package/project/.sdk/src/cmp/c/ReadmeIntro_c.ts +5 -7
  210. package/project/.sdk/src/cmp/c/ReadmeModel_c.ts +32 -33
  211. package/project/.sdk/src/cmp/c/ReadmeQuick_c.ts +29 -12
  212. package/project/.sdk/src/cmp/c/ReadmeRef_c.ts +35 -26
  213. package/project/.sdk/src/cmp/c/ReadmeTopHowto_c.ts +5 -4
  214. package/project/.sdk/src/cmp/c/ReadmeTopQuick_c.ts +19 -6
  215. package/project/.sdk/src/cmp/c/TestClean_c.ts +298 -22
  216. package/project/.sdk/src/cmp/c/TestDirect_c.ts +1 -1
  217. package/project/.sdk/src/cmp/c/fragment/Entity.fragment.c +9 -9
  218. package/project/.sdk/src/cmp/c/fragment/EntityCreateOp.fragment.c +0 -1
  219. package/project/.sdk/src/cmp/c/fragment/EntityLoadOp.fragment.c +0 -1
  220. package/project/.sdk/src/cmp/c/fragment/EntityPatchOp.fragment.c +0 -1
  221. package/project/.sdk/src/cmp/c/fragment/EntityRemoveOp.fragment.c +0 -1
  222. package/project/.sdk/src/cmp/c/fragment/EntityUpdateOp.fragment.c +0 -1
  223. package/project/.sdk/src/cmp/c/fragment/Main.fragment.c +19 -7
  224. package/project/.sdk/src/cmp/clojure/Config_clojure.ts +4 -25
  225. package/project/.sdk/src/cmp/clojure/Main_clojure.ts +4 -0
  226. package/project/.sdk/src/cmp/clojure/PrepareAuth_clojure.ts +10 -21
  227. package/project/.sdk/src/cmp/clojure/ReadmeEntity_clojure.ts +8 -10
  228. package/project/.sdk/src/cmp/clojure/ReadmeExamplesTest_clojure.ts +13 -5
  229. package/project/.sdk/src/cmp/clojure/ReadmeExplanation_clojure.ts +13 -3
  230. package/project/.sdk/src/cmp/clojure/ReadmeHowto_clojure.ts +9 -8
  231. package/project/.sdk/src/cmp/clojure/ReadmeInstall_clojure.ts +13 -11
  232. package/project/.sdk/src/cmp/clojure/ReadmeIntro_clojure.ts +5 -7
  233. package/project/.sdk/src/cmp/clojure/ReadmeModel_clojure.ts +24 -33
  234. package/project/.sdk/src/cmp/clojure/ReadmeQuick_clojure.ts +21 -10
  235. package/project/.sdk/src/cmp/clojure/ReadmeRef_clojure.ts +23 -23
  236. package/project/.sdk/src/cmp/clojure/ReadmeTopHowto_clojure.ts +5 -4
  237. package/project/.sdk/src/cmp/clojure/ReadmeTopQuick_clojure.ts +11 -4
  238. package/project/.sdk/src/cmp/clojure/Schema_clojure.ts +2 -1
  239. package/project/.sdk/src/cmp/clojure/TestClean_clojure.ts +177 -12
  240. package/project/.sdk/src/cmp/clojure/fragment/Entity.fragment.clj +11 -12
  241. package/project/.sdk/src/cmp/clojure/fragment/EntityLoadOp.fragment.clj +1 -1
  242. package/project/.sdk/src/cmp/clojure/fragment/EntityRemoveOp.fragment.clj +2 -2
  243. package/project/.sdk/src/cmp/cpp/Config_cpp.ts +2 -17
  244. package/project/.sdk/src/cmp/cpp/EntityTypes_cpp.ts +4 -9
  245. package/project/.sdk/src/cmp/cpp/Main_cpp.ts +4 -0
  246. package/project/.sdk/src/cmp/cpp/PrepareAuth_cpp.ts +10 -21
  247. package/project/.sdk/src/cmp/cpp/ReadmeEntity_cpp.ts +10 -12
  248. package/project/.sdk/src/cmp/cpp/ReadmeExamplesTest_cpp.ts +12 -4
  249. package/project/.sdk/src/cmp/cpp/ReadmeExplanation_cpp.ts +5 -2
  250. package/project/.sdk/src/cmp/cpp/ReadmeHowto_cpp.ts +28 -11
  251. package/project/.sdk/src/cmp/cpp/ReadmeInstall_cpp.ts +16 -11
  252. package/project/.sdk/src/cmp/cpp/ReadmeIntro_cpp.ts +5 -7
  253. package/project/.sdk/src/cmp/cpp/ReadmeModel_cpp.ts +26 -35
  254. package/project/.sdk/src/cmp/cpp/ReadmeQuick_cpp.ts +23 -13
  255. package/project/.sdk/src/cmp/cpp/ReadmeRef_cpp.ts +30 -29
  256. package/project/.sdk/src/cmp/cpp/ReadmeTopHowto_cpp.ts +5 -4
  257. package/project/.sdk/src/cmp/cpp/ReadmeTopQuick_cpp.ts +13 -7
  258. package/project/.sdk/src/cmp/cpp/TestClean_cpp.ts +285 -14
  259. package/project/.sdk/src/cmp/cpp/TestEntity_cpp.ts +44 -24
  260. package/project/.sdk/src/cmp/cpp/fragment/EntityCreateOp.fragment.cpp +0 -1
  261. package/project/.sdk/src/cmp/cpp/fragment/EntityLoadOp.fragment.cpp +0 -1
  262. package/project/.sdk/src/cmp/cpp/fragment/EntityPatchOp.fragment.cpp +0 -1
  263. package/project/.sdk/src/cmp/cpp/fragment/EntityRemoveOp.fragment.cpp +0 -1
  264. package/project/.sdk/src/cmp/cpp/fragment/EntityUpdateOp.fragment.cpp +0 -1
  265. package/project/.sdk/src/cmp/csharp/Config_csharp.ts +5 -27
  266. package/project/.sdk/src/cmp/csharp/EntityTypes_csharp.ts +4 -5
  267. package/project/.sdk/src/cmp/csharp/Main_csharp.ts +5 -1
  268. package/project/.sdk/src/cmp/csharp/Package_csharp.ts +2 -1
  269. package/project/.sdk/src/cmp/csharp/PrepareAuth_csharp.ts +9 -20
  270. package/project/.sdk/src/cmp/csharp/ReadmeEntity_csharp.ts +10 -12
  271. package/project/.sdk/src/cmp/csharp/ReadmeExamplesTest_csharp.ts +18 -10
  272. package/project/.sdk/src/cmp/csharp/ReadmeExplanation_csharp.ts +1 -1
  273. package/project/.sdk/src/cmp/csharp/ReadmeHowto_csharp.ts +24 -12
  274. package/project/.sdk/src/cmp/csharp/ReadmeInstall_csharp.ts +9 -6
  275. package/project/.sdk/src/cmp/csharp/ReadmeIntro_csharp.ts +4 -6
  276. package/project/.sdk/src/cmp/csharp/ReadmeModel_csharp.ts +25 -35
  277. package/project/.sdk/src/cmp/csharp/ReadmeQuick_csharp.ts +22 -11
  278. package/project/.sdk/src/cmp/csharp/ReadmeRef_csharp.ts +25 -25
  279. package/project/.sdk/src/cmp/csharp/ReadmeTopHowto_csharp.ts +5 -4
  280. package/project/.sdk/src/cmp/csharp/ReadmeTopQuick_csharp.ts +11 -4
  281. package/project/.sdk/src/cmp/csharp/TestClean_csharp.ts +420 -27
  282. package/project/.sdk/src/cmp/csharp/TestDirect_csharp.ts +13 -13
  283. package/project/.sdk/src/cmp/csharp/TestEntity_csharp.ts +34 -35
  284. package/project/.sdk/src/cmp/csharp/fragment/EntityBase.fragment.cs +8 -7
  285. package/project/.sdk/src/cmp/csharp/fragment/Main.fragment.cs +4 -4
  286. package/project/.sdk/src/cmp/elixir/Config_elixir.ts +5 -26
  287. package/project/.sdk/src/cmp/elixir/EntityTypes_elixir.ts +8 -6
  288. package/project/.sdk/src/cmp/elixir/Main_elixir.ts +8 -2
  289. package/project/.sdk/src/cmp/elixir/Package_elixir.ts +3 -3
  290. package/project/.sdk/src/cmp/elixir/PrepareAuth_elixir.ts +10 -18
  291. package/project/.sdk/src/cmp/elixir/ReadmeEntity_elixir.ts +10 -12
  292. package/project/.sdk/src/cmp/elixir/ReadmeExamplesTest_elixir.ts +12 -5
  293. package/project/.sdk/src/cmp/elixir/ReadmeExplanation_elixir.ts +4 -2
  294. package/project/.sdk/src/cmp/elixir/ReadmeHowto_elixir.ts +13 -21
  295. package/project/.sdk/src/cmp/elixir/ReadmeInstall_elixir.ts +12 -8
  296. package/project/.sdk/src/cmp/elixir/ReadmeIntro_elixir.ts +5 -7
  297. package/project/.sdk/src/cmp/elixir/ReadmeModel_elixir.ts +24 -35
  298. package/project/.sdk/src/cmp/elixir/ReadmeQuick_elixir.ts +22 -11
  299. package/project/.sdk/src/cmp/elixir/ReadmeRef_elixir.ts +24 -24
  300. package/project/.sdk/src/cmp/elixir/ReadmeTopHowto_elixir.ts +5 -4
  301. package/project/.sdk/src/cmp/elixir/ReadmeTopQuick_elixir.ts +11 -4
  302. package/project/.sdk/src/cmp/elixir/Schema_elixir.ts +2 -1
  303. package/project/.sdk/src/cmp/elixir/TestClean_elixir.ts +231 -12
  304. package/project/.sdk/src/cmp/elixir/TestEntity_elixir.ts +3 -3
  305. package/project/.sdk/src/cmp/elixir/app_elixir.ts +14 -0
  306. package/project/.sdk/src/cmp/elixir/fragment/Main.fragment.ex +4 -4
  307. package/project/.sdk/src/cmp/go/Config_go.ts +16 -31
  308. package/project/.sdk/src/cmp/go/EntityTypes_go.ts +13 -7
  309. package/project/.sdk/src/cmp/go/Main_go.ts +10 -12
  310. package/project/.sdk/src/cmp/go/PrepareAuth_go.ts +12 -21
  311. package/project/.sdk/src/cmp/go/ReadmeEntity_go.ts +5 -5
  312. package/project/.sdk/src/cmp/go/ReadmeExamplesTest_go.ts +20 -9
  313. package/project/.sdk/src/cmp/go/ReadmeExplanation_go.ts +4 -2
  314. package/project/.sdk/src/cmp/go/ReadmeHowto_go.ts +28 -13
  315. package/project/.sdk/src/cmp/go/ReadmeInstall_go.ts +11 -6
  316. package/project/.sdk/src/cmp/go/ReadmeIntro_go.ts +5 -4
  317. package/project/.sdk/src/cmp/go/ReadmeModel_go.ts +32 -34
  318. package/project/.sdk/src/cmp/go/ReadmeQuick_go.ts +16 -12
  319. package/project/.sdk/src/cmp/go/ReadmeRef_go.ts +32 -22
  320. package/project/.sdk/src/cmp/go/ReadmeTopHowto_go.ts +5 -4
  321. package/project/.sdk/src/cmp/go/ReadmeTopQuick_go.ts +7 -4
  322. package/project/.sdk/src/cmp/go/Schema_go.ts +2 -1
  323. package/project/.sdk/src/cmp/go/TestClean_go.ts +484 -45
  324. package/project/.sdk/src/cmp/go/TestDirect_go.ts +15 -13
  325. package/project/.sdk/src/cmp/go/TestEntity_go.ts +35 -35
  326. package/project/.sdk/src/cmp/go/fragment/Entity.fragment.go +1 -1
  327. package/project/.sdk/src/cmp/go/fragment/Main.fragment.go +14 -6
  328. package/project/.sdk/src/cmp/go-cli/Main_go-cli.ts +238 -96
  329. package/project/.sdk/src/cmp/go-cli/fragment/main.fragment.go +13 -12
  330. package/project/.sdk/src/cmp/go-cli/fragment/words.fragment.go +3 -8
  331. package/project/.sdk/src/cmp/go-mcp/Main_go-mcp.ts +183 -66
  332. package/project/.sdk/src/cmp/go-mcp/fragment/main.fragment.go +7 -7
  333. package/project/.sdk/src/cmp/java/Config_java.ts +8 -32
  334. package/project/.sdk/src/cmp/java/EntityTypes_java.ts +4 -5
  335. package/project/.sdk/src/cmp/java/Main_java.ts +5 -1
  336. package/project/.sdk/src/cmp/java/Package_java.ts +4 -7
  337. package/project/.sdk/src/cmp/java/PrepareAuth_java.ts +13 -11
  338. package/project/.sdk/src/cmp/java/ReadmeEntity_java.ts +10 -12
  339. package/project/.sdk/src/cmp/java/ReadmeExamplesTest_java.ts +17 -9
  340. package/project/.sdk/src/cmp/java/ReadmeExplanation_java.ts +1 -1
  341. package/project/.sdk/src/cmp/java/ReadmeHowto_java.ts +24 -12
  342. package/project/.sdk/src/cmp/java/ReadmeInstall_java.ts +8 -10
  343. package/project/.sdk/src/cmp/java/ReadmeIntro_java.ts +5 -7
  344. package/project/.sdk/src/cmp/java/ReadmeModel_java.ts +24 -35
  345. package/project/.sdk/src/cmp/java/ReadmeQuick_java.ts +12 -10
  346. package/project/.sdk/src/cmp/java/ReadmeRef_java.ts +25 -25
  347. package/project/.sdk/src/cmp/java/ReadmeTopHowto_java.ts +5 -4
  348. package/project/.sdk/src/cmp/java/ReadmeTopQuick_java.ts +3 -3
  349. package/project/.sdk/src/cmp/java/Schema_java.ts +2 -1
  350. package/project/.sdk/src/cmp/java/TestClean_java.ts +386 -19
  351. package/project/.sdk/src/cmp/java/TestDirect_java.ts +12 -11
  352. package/project/.sdk/src/cmp/java/TestEntity_java.ts +27 -27
  353. package/project/.sdk/src/cmp/java/fragment/EntityBase.fragment.java +8 -7
  354. package/project/.sdk/src/cmp/java/utility_java.ts +7 -23
  355. package/project/.sdk/src/cmp/js/Config_js.ts +13 -35
  356. package/project/.sdk/src/cmp/js/EntityBase_js.ts +1 -1
  357. package/project/.sdk/src/cmp/js/EntityTypes_js.ts +4 -5
  358. package/project/.sdk/src/cmp/js/Entity_js.ts +1 -1
  359. package/project/.sdk/src/cmp/js/Main_js.ts +6 -9
  360. package/project/.sdk/src/cmp/js/Package_js.ts +3 -2
  361. package/project/.sdk/src/cmp/js/PrepareAuth_js.ts +9 -17
  362. package/project/.sdk/src/cmp/js/ReadmeEntity_js.ts +12 -14
  363. package/project/.sdk/src/cmp/js/ReadmeExplanation_js.ts +1 -1
  364. package/project/.sdk/src/cmp/js/ReadmeHowto_js.ts +41 -16
  365. package/project/.sdk/src/cmp/js/ReadmeInstall_js.ts +9 -6
  366. package/project/.sdk/src/cmp/js/ReadmeIntro_js.ts +6 -3
  367. package/project/.sdk/src/cmp/js/ReadmeModel_js.ts +23 -37
  368. package/project/.sdk/src/cmp/js/ReadmeQuick_js.ts +15 -5
  369. package/project/.sdk/src/cmp/js/ReadmeRef_js.ts +31 -35
  370. package/project/.sdk/src/cmp/js/ReadmeTopHowto_js.ts +5 -4
  371. package/project/.sdk/src/cmp/js/ReadmeTopQuick_js.ts +12 -4
  372. package/project/.sdk/src/cmp/js/Schema_js.ts +2 -1
  373. package/project/.sdk/src/cmp/js/TestClean_js.ts +229 -13
  374. package/project/.sdk/src/cmp/js/TestDirect_js.ts +16 -14
  375. package/project/.sdk/src/cmp/js/TestEntity_js.ts +30 -28
  376. package/project/.sdk/src/cmp/js/TestLive_js.ts +7 -6
  377. package/project/.sdk/src/cmp/js/fragment/Direct.test.fragment.js +1 -1
  378. package/project/.sdk/src/cmp/js/fragment/Entity.test.fragment.js +1 -1
  379. package/project/.sdk/src/cmp/js/fragment/EntityBase.fragment.js +5 -4
  380. package/project/.sdk/src/cmp/js/fragment/EntityCreateOp.fragment.js +1 -2
  381. package/project/.sdk/src/cmp/js/fragment/EntityLoadOp.fragment.js +1 -2
  382. package/project/.sdk/src/cmp/js/fragment/EntityPatchOp.fragment.js +1 -2
  383. package/project/.sdk/src/cmp/js/fragment/EntityRemoveOp.fragment.js +1 -2
  384. package/project/.sdk/src/cmp/js/fragment/EntityUpdateOp.fragment.js +1 -2
  385. package/project/.sdk/src/cmp/js/fragment/Main.fragment.js +4 -4
  386. package/project/.sdk/src/cmp/kotlin/Config_kotlin.ts +3 -25
  387. package/project/.sdk/src/cmp/kotlin/EntityTypes_kotlin.ts +4 -5
  388. package/project/.sdk/src/cmp/kotlin/Main_kotlin.ts +5 -1
  389. package/project/.sdk/src/cmp/kotlin/Package_kotlin.ts +5 -5
  390. package/project/.sdk/src/cmp/kotlin/PrepareAuth_kotlin.ts +13 -12
  391. package/project/.sdk/src/cmp/kotlin/ReadmeEntity_kotlin.ts +10 -12
  392. package/project/.sdk/src/cmp/kotlin/ReadmeExamplesTest_kotlin.ts +17 -9
  393. package/project/.sdk/src/cmp/kotlin/ReadmeExplanation_kotlin.ts +1 -1
  394. package/project/.sdk/src/cmp/kotlin/ReadmeHowto_kotlin.ts +24 -12
  395. package/project/.sdk/src/cmp/kotlin/ReadmeInstall_kotlin.ts +8 -10
  396. package/project/.sdk/src/cmp/kotlin/ReadmeIntro_kotlin.ts +5 -7
  397. package/project/.sdk/src/cmp/kotlin/ReadmeModel_kotlin.ts +24 -35
  398. package/project/.sdk/src/cmp/kotlin/ReadmeQuick_kotlin.ts +23 -24
  399. package/project/.sdk/src/cmp/kotlin/ReadmeRef_kotlin.ts +25 -25
  400. package/project/.sdk/src/cmp/kotlin/ReadmeTopHowto_kotlin.ts +5 -4
  401. package/project/.sdk/src/cmp/kotlin/ReadmeTopQuick_kotlin.ts +12 -10
  402. package/project/.sdk/src/cmp/kotlin/Schema_kotlin.ts +2 -1
  403. package/project/.sdk/src/cmp/kotlin/TestClean_kotlin.ts +306 -18
  404. package/project/.sdk/src/cmp/kotlin/TestDirect_kotlin.ts +19 -8
  405. package/project/.sdk/src/cmp/kotlin/TestEntity_kotlin.ts +34 -24
  406. package/project/.sdk/src/cmp/kotlin/fragment/EntityBase.fragment.kt +8 -7
  407. package/project/.sdk/src/cmp/kotlin/utility_kotlin.ts +7 -23
  408. package/project/.sdk/src/cmp/lua/Config_lua.ts +16 -26
  409. package/project/.sdk/src/cmp/lua/EntityTypes_lua.ts +4 -5
  410. package/project/.sdk/src/cmp/lua/Main_lua.ts +5 -4
  411. package/project/.sdk/src/cmp/lua/Package_lua.ts +12 -6
  412. package/project/.sdk/src/cmp/lua/PrepareAuth_lua.ts +13 -12
  413. package/project/.sdk/src/cmp/lua/ReadmeEntity_lua.ts +10 -12
  414. package/project/.sdk/src/cmp/lua/ReadmeExamplesTest_lua.ts +12 -5
  415. package/project/.sdk/src/cmp/lua/ReadmeExplanation_lua.ts +5 -3
  416. package/project/.sdk/src/cmp/lua/ReadmeHowto_lua.ts +25 -13
  417. package/project/.sdk/src/cmp/lua/ReadmeInstall_lua.ts +5 -4
  418. package/project/.sdk/src/cmp/lua/ReadmeIntro_lua.ts +6 -5
  419. package/project/.sdk/src/cmp/lua/ReadmeModel_lua.ts +32 -43
  420. package/project/.sdk/src/cmp/lua/ReadmeQuick_lua.ts +22 -11
  421. package/project/.sdk/src/cmp/lua/ReadmeRef_lua.ts +22 -26
  422. package/project/.sdk/src/cmp/lua/ReadmeTopHowto_lua.ts +5 -4
  423. package/project/.sdk/src/cmp/lua/ReadmeTopQuick_lua.ts +11 -4
  424. package/project/.sdk/src/cmp/lua/Schema_lua.ts +2 -1
  425. package/project/.sdk/src/cmp/lua/TestClean_lua.ts +297 -13
  426. package/project/.sdk/src/cmp/lua/TestDirect_lua.ts +13 -12
  427. package/project/.sdk/src/cmp/lua/TestEntity_lua.ts +30 -30
  428. package/project/.sdk/src/cmp/lua/fragment/Entity.fragment.lua +10 -10
  429. package/project/.sdk/src/cmp/lua/fragment/Main.fragment.lua +4 -4
  430. package/project/.sdk/src/cmp/ocaml/Config_ocaml.ts +4 -20
  431. package/project/.sdk/src/cmp/ocaml/Main_ocaml.ts +4 -0
  432. package/project/.sdk/src/cmp/ocaml/Package_ocaml.ts +8 -5
  433. package/project/.sdk/src/cmp/ocaml/PrepareAuth_ocaml.ts +11 -24
  434. package/project/.sdk/src/cmp/ocaml/ReadmeEntity_ocaml.ts +8 -10
  435. package/project/.sdk/src/cmp/ocaml/ReadmeExamplesTest_ocaml.ts +11 -4
  436. package/project/.sdk/src/cmp/ocaml/ReadmeExplanation_ocaml.ts +1 -1
  437. package/project/.sdk/src/cmp/ocaml/ReadmeHowto_ocaml.ts +12 -20
  438. package/project/.sdk/src/cmp/ocaml/ReadmeInstall_ocaml.ts +12 -11
  439. package/project/.sdk/src/cmp/ocaml/ReadmeIntro_ocaml.ts +8 -10
  440. package/project/.sdk/src/cmp/ocaml/ReadmeModel_ocaml.ts +26 -35
  441. package/project/.sdk/src/cmp/ocaml/ReadmeQuick_ocaml.ts +22 -11
  442. package/project/.sdk/src/cmp/ocaml/ReadmeRef_ocaml.ts +24 -23
  443. package/project/.sdk/src/cmp/ocaml/ReadmeTopHowto_ocaml.ts +5 -4
  444. package/project/.sdk/src/cmp/ocaml/ReadmeTopQuick_ocaml.ts +11 -4
  445. package/project/.sdk/src/cmp/ocaml/TestClean_ocaml.ts +179 -14
  446. package/project/.sdk/src/cmp/ocaml/TestEntity_ocaml.ts +1 -1
  447. package/project/.sdk/src/cmp/ocaml/utility_ocaml.ts +0 -9
  448. package/project/.sdk/src/cmp/perl/Config_perl.ts +2 -16
  449. package/project/.sdk/src/cmp/perl/Main_perl.ts +3 -1
  450. package/project/.sdk/src/cmp/perl/PrepareAuth_perl.ts +12 -10
  451. package/project/.sdk/src/cmp/perl/ReadmeEntity_perl.ts +8 -10
  452. package/project/.sdk/src/cmp/perl/ReadmeExamplesTest_perl.ts +16 -10
  453. package/project/.sdk/src/cmp/perl/ReadmeExplanation_perl.ts +1 -1
  454. package/project/.sdk/src/cmp/perl/ReadmeHowto_perl.ts +25 -13
  455. package/project/.sdk/src/cmp/perl/ReadmeInstall_perl.ts +10 -9
  456. package/project/.sdk/src/cmp/perl/ReadmeIntro_perl.ts +4 -6
  457. package/project/.sdk/src/cmp/perl/ReadmeModel_perl.ts +24 -35
  458. package/project/.sdk/src/cmp/perl/ReadmeQuick_perl.ts +22 -11
  459. package/project/.sdk/src/cmp/perl/ReadmeRef_perl.ts +23 -23
  460. package/project/.sdk/src/cmp/perl/ReadmeTopHowto_perl.ts +5 -4
  461. package/project/.sdk/src/cmp/perl/ReadmeTopQuick_perl.ts +11 -4
  462. package/project/.sdk/src/cmp/perl/TestClean_perl.ts +407 -26
  463. package/project/.sdk/src/cmp/perl/TestDirect_perl.ts +13 -12
  464. package/project/.sdk/src/cmp/perl/TestEntity_perl.ts +29 -30
  465. package/project/.sdk/src/cmp/perl/fragment/Entity.fragment.pm +20 -11
  466. package/project/.sdk/src/cmp/perl/fragment/EntityLoadOp.fragment.pm +5 -5
  467. package/project/.sdk/src/cmp/perl/fragment/EntityRemoveOp.fragment.pm +3 -3
  468. package/project/.sdk/src/cmp/perl/fragment/Main.fragment.pm +10 -5
  469. package/project/.sdk/src/cmp/php/Config_php.ts +18 -33
  470. package/project/.sdk/src/cmp/php/EntityTypes_php.ts +4 -5
  471. package/project/.sdk/src/cmp/php/Main_php.ts +5 -9
  472. package/project/.sdk/src/cmp/php/PrepareAuth_php.ts +7 -17
  473. package/project/.sdk/src/cmp/php/ReadmeEntity_php.ts +10 -12
  474. package/project/.sdk/src/cmp/php/ReadmeExamplesTest_php.ts +15 -9
  475. package/project/.sdk/src/cmp/php/ReadmeExplanation_php.ts +5 -3
  476. package/project/.sdk/src/cmp/php/ReadmeHowto_php.ts +24 -12
  477. package/project/.sdk/src/cmp/php/ReadmeInstall_php.ts +8 -5
  478. package/project/.sdk/src/cmp/php/ReadmeIntro_php.ts +1 -1
  479. package/project/.sdk/src/cmp/php/ReadmeModel_php.ts +31 -37
  480. package/project/.sdk/src/cmp/php/ReadmeQuick_php.ts +22 -11
  481. package/project/.sdk/src/cmp/php/ReadmeRef_php.ts +32 -29
  482. package/project/.sdk/src/cmp/php/ReadmeTopHowto_php.ts +5 -4
  483. package/project/.sdk/src/cmp/php/ReadmeTopQuick_php.ts +11 -4
  484. package/project/.sdk/src/cmp/php/Schema_php.ts +2 -1
  485. package/project/.sdk/src/cmp/php/TestClean_php.ts +416 -39
  486. package/project/.sdk/src/cmp/php/TestDirect_php.ts +13 -12
  487. package/project/.sdk/src/cmp/php/TestEntity_php.ts +56 -31
  488. package/project/.sdk/src/cmp/php/fragment/Entity.fragment.php +8 -8
  489. package/project/.sdk/src/cmp/php/fragment/EntityCreateOp.fragment.php +1 -1
  490. package/project/.sdk/src/cmp/php/fragment/EntityListOp.fragment.php +1 -1
  491. package/project/.sdk/src/cmp/php/fragment/EntityLoadOp.fragment.php +3 -3
  492. package/project/.sdk/src/cmp/php/fragment/EntityPatchOp.fragment.php +1 -1
  493. package/project/.sdk/src/cmp/php/fragment/EntityRemoveOp.fragment.php +3 -3
  494. package/project/.sdk/src/cmp/php/fragment/EntityUpdateOp.fragment.php +1 -1
  495. package/project/.sdk/src/cmp/php/fragment/Main.fragment.php +4 -4
  496. package/project/.sdk/src/cmp/py/Config_py.ts +18 -33
  497. package/project/.sdk/src/cmp/py/EntityTypes_py.ts +4 -5
  498. package/project/.sdk/src/cmp/py/Main_py.ts +3 -9
  499. package/project/.sdk/src/cmp/py/PrepareAuth_py.ts +8 -19
  500. package/project/.sdk/src/cmp/py/ReadmeEntity_py.ts +10 -12
  501. package/project/.sdk/src/cmp/py/ReadmeExamplesTest_py.ts +21 -14
  502. package/project/.sdk/src/cmp/py/ReadmeExplanation_py.ts +25 -15
  503. package/project/.sdk/src/cmp/py/ReadmeHowto_py.ts +25 -13
  504. package/project/.sdk/src/cmp/py/ReadmeInstall_py.ts +5 -4
  505. package/project/.sdk/src/cmp/py/ReadmeIntro_py.ts +4 -6
  506. package/project/.sdk/src/cmp/py/ReadmeModel_py.ts +25 -36
  507. package/project/.sdk/src/cmp/py/ReadmeQuick_py.ts +11 -9
  508. package/project/.sdk/src/cmp/py/ReadmeRef_py.ts +28 -28
  509. package/project/.sdk/src/cmp/py/ReadmeTopHowto_py.ts +5 -4
  510. package/project/.sdk/src/cmp/py/ReadmeTopQuick_py.ts +3 -3
  511. package/project/.sdk/src/cmp/py/Schema_py.ts +2 -1
  512. package/project/.sdk/src/cmp/py/TestClean_py.ts +342 -28
  513. package/project/.sdk/src/cmp/py/TestDirect_py.ts +12 -11
  514. package/project/.sdk/src/cmp/py/TestEntity_py.ts +31 -31
  515. package/project/.sdk/src/cmp/py/fragment/Entity.fragment.py +10 -9
  516. package/project/.sdk/src/cmp/py/fragment/Main.fragment.py +4 -6
  517. package/project/.sdk/src/cmp/py-data/Main_py-data.ts +280 -145
  518. package/project/.sdk/src/cmp/rb/Config_rb.ts +16 -26
  519. package/project/.sdk/src/cmp/rb/Main_rb.ts +3 -9
  520. package/project/.sdk/src/cmp/rb/PrepareAuth_rb.ts +9 -18
  521. package/project/.sdk/src/cmp/rb/ReadmeEntity_rb.ts +10 -12
  522. package/project/.sdk/src/cmp/rb/ReadmeExamplesTest_rb.ts +15 -10
  523. package/project/.sdk/src/cmp/rb/ReadmeExplanation_rb.ts +5 -3
  524. package/project/.sdk/src/cmp/rb/ReadmeHowto_rb.ts +24 -12
  525. package/project/.sdk/src/cmp/rb/ReadmeInstall_rb.ts +8 -5
  526. package/project/.sdk/src/cmp/rb/ReadmeIntro_rb.ts +1 -1
  527. package/project/.sdk/src/cmp/rb/ReadmeModel_rb.ts +28 -37
  528. package/project/.sdk/src/cmp/rb/ReadmeQuick_rb.ts +22 -11
  529. package/project/.sdk/src/cmp/rb/ReadmeRef_rb.ts +27 -27
  530. package/project/.sdk/src/cmp/rb/ReadmeTopHowto_rb.ts +5 -4
  531. package/project/.sdk/src/cmp/rb/ReadmeTopQuick_rb.ts +11 -4
  532. package/project/.sdk/src/cmp/rb/Schema_rb.ts +2 -1
  533. package/project/.sdk/src/cmp/rb/TestClean_rb.ts +270 -23
  534. package/project/.sdk/src/cmp/rb/TestDirect_rb.ts +13 -12
  535. package/project/.sdk/src/cmp/rb/TestEntity_rb.ts +30 -30
  536. package/project/.sdk/src/cmp/rb/fragment/Entity.fragment.rb +9 -9
  537. package/project/.sdk/src/cmp/rb/fragment/EntityLoadOp.fragment.rb +1 -1
  538. package/project/.sdk/src/cmp/rb/fragment/EntityRemoveOp.fragment.rb +1 -1
  539. package/project/.sdk/src/cmp/rb/fragment/Main.fragment.rb +4 -4
  540. package/project/.sdk/src/cmp/rust/Config_rust.ts +4 -34
  541. package/project/.sdk/src/cmp/rust/EntityTypes_rust.ts +3 -4
  542. package/project/.sdk/src/cmp/rust/Main_rust.ts +6 -2
  543. package/project/.sdk/src/cmp/rust/Package_rust.ts +6 -3
  544. package/project/.sdk/src/cmp/rust/PrepareAuth_rust.ts +13 -12
  545. package/project/.sdk/src/cmp/rust/ReadmeEntity_rust.ts +10 -12
  546. package/project/.sdk/src/cmp/rust/ReadmeExamplesTest_rust.ts +13 -6
  547. package/project/.sdk/src/cmp/rust/ReadmeExplanation_rust.ts +4 -2
  548. package/project/.sdk/src/cmp/rust/ReadmeHowto_rust.ts +26 -13
  549. package/project/.sdk/src/cmp/rust/ReadmeInstall_rust.ts +11 -10
  550. package/project/.sdk/src/cmp/rust/ReadmeIntro_rust.ts +5 -7
  551. package/project/.sdk/src/cmp/rust/ReadmeModel_rust.ts +35 -37
  552. package/project/.sdk/src/cmp/rust/ReadmeQuick_rust.ts +22 -10
  553. package/project/.sdk/src/cmp/rust/ReadmeRef_rust.ts +41 -32
  554. package/project/.sdk/src/cmp/rust/ReadmeTopHowto_rust.ts +5 -4
  555. package/project/.sdk/src/cmp/rust/ReadmeTopQuick_rust.ts +12 -4
  556. package/project/.sdk/src/cmp/rust/TestClean_rust.ts +391 -18
  557. package/project/.sdk/src/cmp/rust/TestDirect_rust.ts +17 -14
  558. package/project/.sdk/src/cmp/rust/TestEntity_rust.ts +35 -34
  559. package/project/.sdk/src/cmp/rust/fragment/Entity.fragment.rs +2 -2
  560. package/project/.sdk/src/cmp/rust/fragment/EntityCreateOp.fragment.rs +0 -1
  561. package/project/.sdk/src/cmp/rust/fragment/EntityListOp.fragment.rs +1 -1
  562. package/project/.sdk/src/cmp/rust/fragment/EntityLoadOp.fragment.rs +0 -1
  563. package/project/.sdk/src/cmp/rust/fragment/EntityPatchOp.fragment.rs +0 -1
  564. package/project/.sdk/src/cmp/rust/fragment/EntityUpdateOp.fragment.rs +0 -1
  565. package/project/.sdk/src/cmp/rust/fragment/Main.fragment.rs +5 -4
  566. package/project/.sdk/src/cmp/rust/utility_rust.ts +0 -8
  567. package/project/.sdk/src/cmp/scala/Config_scala.ts +5 -26
  568. package/project/.sdk/src/cmp/scala/EntityTypes_scala.ts +4 -5
  569. package/project/.sdk/src/cmp/scala/Main_scala.ts +5 -1
  570. package/project/.sdk/src/cmp/scala/PrepareAuth_scala.ts +13 -13
  571. package/project/.sdk/src/cmp/scala/ReadmeEntity_scala.ts +10 -12
  572. package/project/.sdk/src/cmp/scala/ReadmeExamplesTest_scala.ts +11 -4
  573. package/project/.sdk/src/cmp/scala/ReadmeExplanation_scala.ts +3 -3
  574. package/project/.sdk/src/cmp/scala/ReadmeHowto_scala.ts +12 -20
  575. package/project/.sdk/src/cmp/scala/ReadmeInstall_scala.ts +11 -15
  576. package/project/.sdk/src/cmp/scala/ReadmeIntro_scala.ts +5 -7
  577. package/project/.sdk/src/cmp/scala/ReadmeModel_scala.ts +24 -35
  578. package/project/.sdk/src/cmp/scala/ReadmeQuick_scala.ts +24 -24
  579. package/project/.sdk/src/cmp/scala/ReadmeRef_scala.ts +25 -25
  580. package/project/.sdk/src/cmp/scala/ReadmeTopHowto_scala.ts +5 -4
  581. package/project/.sdk/src/cmp/scala/ReadmeTopQuick_scala.ts +13 -10
  582. package/project/.sdk/src/cmp/scala/Schema_scala.ts +2 -1
  583. package/project/.sdk/src/cmp/scala/TestClean_scala.ts +324 -20
  584. package/project/.sdk/src/cmp/scala/TestEntity_scala.ts +16 -16
  585. package/project/.sdk/src/cmp/scala/fragment/EntityBase.fragment.scala +8 -7
  586. package/project/.sdk/src/cmp/scala/utility_scala.ts +4 -19
  587. package/project/.sdk/src/cmp/swift/Config_swift.ts +3 -14
  588. package/project/.sdk/src/cmp/swift/EntityTypes_swift.ts +3 -4
  589. package/project/.sdk/src/cmp/swift/Main_swift.ts +4 -0
  590. package/project/.sdk/src/cmp/swift/PrepareAuth_swift.ts +14 -14
  591. package/project/.sdk/src/cmp/swift/ReadmeEntity_swift.ts +10 -12
  592. package/project/.sdk/src/cmp/swift/ReadmeExamplesTest_swift.ts +14 -7
  593. package/project/.sdk/src/cmp/swift/ReadmeExplanation_swift.ts +3 -3
  594. package/project/.sdk/src/cmp/swift/ReadmeHowto_swift.ts +12 -20
  595. package/project/.sdk/src/cmp/swift/ReadmeInstall_swift.ts +13 -13
  596. package/project/.sdk/src/cmp/swift/ReadmeIntro_swift.ts +4 -6
  597. package/project/.sdk/src/cmp/swift/ReadmeModel_swift.ts +24 -35
  598. package/project/.sdk/src/cmp/swift/ReadmeQuick_swift.ts +25 -26
  599. package/project/.sdk/src/cmp/swift/ReadmeRef_swift.ts +25 -25
  600. package/project/.sdk/src/cmp/swift/ReadmeTopHowto_swift.ts +5 -4
  601. package/project/.sdk/src/cmp/swift/ReadmeTopQuick_swift.ts +13 -11
  602. package/project/.sdk/src/cmp/swift/TestClean_swift.ts +352 -23
  603. package/project/.sdk/src/cmp/swift/fragment/EntityBase.fragment.swift +8 -7
  604. package/project/.sdk/src/cmp/swift/fragment/Main.fragment.swift +5 -5
  605. package/project/.sdk/src/cmp/ts/Config_ts.ts +13 -35
  606. package/project/.sdk/src/cmp/ts/EntityBase_ts.ts +1 -1
  607. package/project/.sdk/src/cmp/ts/EntityTypes_ts.ts +4 -5
  608. package/project/.sdk/src/cmp/ts/Entity_ts.ts +1 -1
  609. package/project/.sdk/src/cmp/ts/Main_ts.ts +6 -9
  610. package/project/.sdk/src/cmp/ts/Package_ts.ts +3 -2
  611. package/project/.sdk/src/cmp/ts/PrepareAuth_ts.ts +11 -10
  612. package/project/.sdk/src/cmp/ts/ReadmeEntity_ts.ts +9 -11
  613. package/project/.sdk/src/cmp/ts/ReadmeExampleTest_ts.ts +33 -9
  614. package/project/.sdk/src/cmp/ts/ReadmeExamplesTest_ts.ts +35 -7
  615. package/project/.sdk/src/cmp/ts/ReadmeExplanation_ts.ts +1 -1
  616. package/project/.sdk/src/cmp/ts/ReadmeHowto_ts.ts +38 -18
  617. package/project/.sdk/src/cmp/ts/ReadmeInstall_ts.ts +9 -5
  618. package/project/.sdk/src/cmp/ts/ReadmeIntro_ts.ts +6 -3
  619. package/project/.sdk/src/cmp/ts/ReadmeModel_ts.ts +32 -53
  620. package/project/.sdk/src/cmp/ts/ReadmeQuick_ts.ts +11 -9
  621. package/project/.sdk/src/cmp/ts/ReadmeRef_ts.ts +22 -26
  622. package/project/.sdk/src/cmp/ts/ReadmeTopHowto_ts.ts +5 -4
  623. package/project/.sdk/src/cmp/ts/ReadmeTopQuick_ts.ts +6 -6
  624. package/project/.sdk/src/cmp/ts/Schema_ts.ts +2 -1
  625. package/project/.sdk/src/cmp/ts/TestClean_ts.ts +229 -13
  626. package/project/.sdk/src/cmp/ts/TestDefinition_ts.ts +3 -1
  627. package/project/.sdk/src/cmp/ts/TestDirect_ts.ts +17 -17
  628. package/project/.sdk/src/cmp/ts/TestEntity_ts.ts +30 -30
  629. package/project/.sdk/src/cmp/ts/TestLive_ts.ts +7 -6
  630. package/project/.sdk/src/cmp/ts/fragment/Direct.test.fragment.ts +1 -1
  631. package/project/.sdk/src/cmp/ts/fragment/Entity.test.fragment.ts +1 -1
  632. package/project/.sdk/src/cmp/ts/fragment/EntityBase.fragment.ts +3 -3
  633. package/project/.sdk/src/cmp/ts/fragment/Main.fragment.ts +2 -2
  634. package/project/.sdk/src/cmp/zig/Config_zig.ts +5 -21
  635. package/project/.sdk/src/cmp/zig/Main_zig.ts +4 -0
  636. package/project/.sdk/src/cmp/zig/Package_zig.ts +3 -2
  637. package/project/.sdk/src/cmp/zig/PrepareAuth_zig.ts +10 -21
  638. package/project/.sdk/src/cmp/zig/ReadmeEntity_zig.ts +9 -11
  639. package/project/.sdk/src/cmp/zig/ReadmeExamplesTest_zig.ts +8 -7
  640. package/project/.sdk/src/cmp/zig/ReadmeExplanation_zig.ts +1 -1
  641. package/project/.sdk/src/cmp/zig/ReadmeHowto_zig.ts +17 -22
  642. package/project/.sdk/src/cmp/zig/ReadmeInstall_zig.ts +12 -9
  643. package/project/.sdk/src/cmp/zig/ReadmeIntro_zig.ts +5 -7
  644. package/project/.sdk/src/cmp/zig/ReadmeModel_zig.ts +40 -37
  645. package/project/.sdk/src/cmp/zig/ReadmeQuick_zig.ts +25 -11
  646. package/project/.sdk/src/cmp/zig/ReadmeRef_zig.ts +46 -30
  647. package/project/.sdk/src/cmp/zig/ReadmeTopHowto_zig.ts +5 -4
  648. package/project/.sdk/src/cmp/zig/ReadmeTopQuick_zig.ts +15 -5
  649. package/project/.sdk/src/cmp/zig/TestClean_zig.ts +259 -26
  650. package/project/.sdk/src/cmp/zig/fragment/Build.fragment.zig +1 -0
  651. package/project/.sdk/src/cmp/zig/fragment/Entity.fragment.zig +16 -17
  652. package/project/.sdk/src/cmp/zig/fragment/Main.fragment.zig +23 -12
  653. package/project/.sdk/src/cmp/zig/fragment/Root.fragment.zig +2 -1
  654. package/project/.sdk/src/cmp/zig/utility_zig.ts +0 -13
  655. package/project/.sdk/tm/c/Makefile +2 -1
  656. package/project/.sdk/tm/c/core/response.c +27 -4
  657. package/project/.sdk/tm/c/core/sdk.h +14 -7
  658. package/project/.sdk/tm/c/feature/secrets/plugin/capability.c +2 -2
  659. package/project/.sdk/tm/c/feature/secrets/plugin/capability.h +2 -2
  660. package/project/.sdk/tm/c/feature/secrets/plugin/catalog.c +2 -2
  661. package/project/.sdk/tm/c/feature/secrets/plugin/catalog.h +2 -2
  662. package/project/.sdk/tm/c/feature/secrets/plugin/config.c +2 -2
  663. package/project/.sdk/tm/c/feature/secrets/plugin/config.h +2 -2
  664. package/project/.sdk/tm/c/feature/secrets/plugin/depend.c +2 -2
  665. package/project/.sdk/tm/c/feature/secrets/plugin/depend.h +2 -2
  666. package/project/.sdk/tm/c/feature/secrets/plugin/env.c +2 -2
  667. package/project/.sdk/tm/c/feature/secrets/plugin/env.h +2 -2
  668. package/project/.sdk/tm/c/feature/secrets/plugin/export.c +2 -2
  669. package/project/.sdk/tm/c/feature/secrets/plugin/export.h +2 -2
  670. package/project/.sdk/tm/c/feature/secrets/plugin/graph.c +2 -2
  671. package/project/.sdk/tm/c/feature/secrets/plugin/graph.h +2 -2
  672. package/project/.sdk/tm/c/feature/secrets/plugin/host.c +2 -2
  673. package/project/.sdk/tm/c/feature/secrets/plugin/host.h +2 -2
  674. package/project/.sdk/tm/c/feature/secrets/plugin/order.c +2 -2
  675. package/project/.sdk/tm/c/feature/secrets/plugin/order.h +2 -2
  676. package/project/.sdk/tm/c/feature/secrets/plugin/point.c +2 -2
  677. package/project/.sdk/tm/c/feature/secrets/plugin/point.h +2 -2
  678. package/project/.sdk/tm/c/feature/secrets/plugin/ref.c +2 -2
  679. package/project/.sdk/tm/c/feature/secrets/plugin/ref.h +2 -2
  680. package/project/.sdk/tm/c/feature/secrets/plugin/resolve.c +2 -2
  681. package/project/.sdk/tm/c/feature/secrets/plugin/resolve.h +2 -2
  682. package/project/.sdk/tm/c/feature/secrets/plugin/types.c +2 -2
  683. package/project/.sdk/tm/c/feature/secrets/plugin/types.h +2 -2
  684. package/project/.sdk/tm/c/feature/secrets/plugin/value.c +2 -2
  685. package/project/.sdk/tm/c/feature/secrets/plugin/value.h +2 -2
  686. package/project/.sdk/tm/c/feature/secrets/plugin/version.c +2 -2
  687. package/project/.sdk/tm/c/feature/secrets/plugin/version.h +2 -2
  688. package/project/.sdk/tm/c/feature/secrets/plugins/aws.c +2 -2
  689. package/project/.sdk/tm/c/feature/secrets/plugins/azuresecrets.c +2 -2
  690. package/project/.sdk/tm/c/feature/secrets/plugins/boru.c +2 -2
  691. package/project/.sdk/tm/c/feature/secrets/plugins/clock.c +2 -2
  692. package/project/.sdk/tm/c/feature/secrets/plugins/doppler.c +2 -2
  693. package/project/.sdk/tm/c/feature/secrets/plugins/encode.c +2 -2
  694. package/project/.sdk/tm/c/feature/secrets/plugins/gcpsecrets.c +2 -2
  695. package/project/.sdk/tm/c/feature/secrets/plugins/hashicorp.c +2 -2
  696. package/project/.sdk/tm/c/feature/secrets/plugins/httpjson.c +2 -2
  697. package/project/.sdk/tm/c/feature/secrets/plugins/infisical.c +2 -2
  698. package/project/.sdk/tm/c/feature/secrets/plugins/minivault.c +2 -2
  699. package/project/.sdk/tm/c/feature/secrets/plugins/onepassword.c +2 -2
  700. package/project/.sdk/tm/c/feature/secrets/plugins/proc.c +2 -2
  701. package/project/.sdk/tm/c/feature/secrets/plugins/secretspec.c +2 -2
  702. package/project/.sdk/tm/c/feature/secrets/plugins/sekretoplugins.h +2 -2
  703. package/project/.sdk/tm/c/feature/secrets/plugins/sha256.c +2 -2
  704. package/project/.sdk/tm/c/feature/secrets/plugins/sigv4.c +2 -2
  705. package/project/.sdk/tm/c/feature/secrets/plugins/support.h +2 -2
  706. package/project/.sdk/tm/c/feature/secrets/plugins/tls.c +2 -2
  707. package/project/.sdk/tm/c/feature/secrets/sekreto/internal.h +2 -2
  708. package/project/.sdk/tm/c/feature/secrets/sekreto/json.c +2 -2
  709. package/project/.sdk/tm/c/feature/secrets/sekreto/providers.c +2 -2
  710. package/project/.sdk/tm/c/feature/secrets/sekreto/sekreto.c +2 -2
  711. package/project/.sdk/tm/c/feature/secrets/sekreto/sekreto.h +2 -2
  712. package/project/.sdk/tm/c/feature/secrets/sekreto/util.c +2 -2
  713. package/project/.sdk/tm/c/feature/secrets.c +4 -2
  714. package/project/.sdk/tm/c/feature/validate.c +5 -5
  715. package/project/.sdk/tm/c/tests/feature/secrets/secrets_test.c +200 -1
  716. package/project/.sdk/tm/c/tests/pipeline_test.c +1 -1
  717. package/project/.sdk/tm/c/tests/primary_corpus_test.c +17 -4
  718. package/project/.sdk/tm/c/tests/primary_utility_test.c +7 -7
  719. package/project/.sdk/tm/c/tests/sdk_pipeline_test.c +2 -2
  720. package/project/.sdk/tm/c/tests/server_variable_test.c +10 -48
  721. package/project/.sdk/tm/c/tests/struct_corpus_test.c +68 -2
  722. package/project/.sdk/tm/c/tests/transport_test.c +161 -3
  723. package/project/.sdk/tm/c/tests/vendor/omni/json.c +65 -26
  724. package/project/.sdk/tm/c/tests/vendor/omni/omni.h +2 -2
  725. package/project/.sdk/tm/c/tests/vendor/omni/runner.c +2 -2
  726. package/project/.sdk/tm/c/tests/vendor/omni/util.c +2 -2
  727. package/project/.sdk/tm/c/utility/clean.c +94 -12
  728. package/project/.sdk/tm/c/utility/fetcher.c +22 -6
  729. package/project/.sdk/tm/c/utility/make_error.c +4 -4
  730. package/project/.sdk/tm/c/utility/make_options.c +22 -16
  731. package/project/.sdk/tm/c/utility/struct/inject.c +23 -2
  732. package/project/.sdk/tm/c/utility/struct/re_util.c +3 -0
  733. package/project/.sdk/tm/c/utility/struct/regex.c +43 -22
  734. package/project/.sdk/tm/c/utility/struct/regex.h +4 -1
  735. package/project/.sdk/tm/c/utility/struct/transform.c +982 -296
  736. package/project/.sdk/tm/c/utility/struct/utility.c +712 -136
  737. package/project/.sdk/tm/c/utility/struct/value.c +3 -0
  738. package/project/.sdk/tm/c/utility/struct/value.h +3 -0
  739. package/project/.sdk/tm/c/utility/struct/value_io.c +3 -0
  740. package/project/.sdk/tm/c/utility/struct/value_io.h +3 -0
  741. package/project/.sdk/tm/c/utility/struct/voxgig_struct.h +36 -1
  742. package/project/.sdk/tm/clojure/feature/secrets/sdk/feature/secrets.clj +3 -1
  743. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/capability.clj +2 -2
  744. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/catalog.clj +2 -2
  745. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/config.clj +2 -2
  746. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/depend.clj +2 -2
  747. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/env.clj +2 -2
  748. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/export.clj +2 -2
  749. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/graph.clj +2 -2
  750. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/host.clj +2 -2
  751. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/json.clj +2 -2
  752. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/order.clj +2 -2
  753. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/point.clj +2 -2
  754. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/ref.clj +2 -2
  755. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/resolve.clj +2 -2
  756. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/types.clj +2 -2
  757. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/version.clj +2 -2
  758. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin.clj +2 -2
  759. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/addr.clj +2 -2
  760. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/chain.clj +2 -2
  761. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/core.clj +2 -2
  762. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/json.clj +2 -2
  763. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/aws.clj +2 -2
  764. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/azuresecrets.clj +2 -2
  765. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/boru.clj +2 -2
  766. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/doppler.clj +2 -2
  767. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/gcpsecrets.clj +2 -2
  768. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/hashicorp.clj +2 -2
  769. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/httpjson.clj +2 -2
  770. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/infisical.clj +2 -2
  771. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/minivault.clj +2 -2
  772. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/onepassword.clj +2 -2
  773. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/proc.clj +2 -2
  774. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/secretspec.clj +2 -2
  775. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/sigv4.clj +2 -2
  776. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/provider.clj +2 -2
  777. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/providers.clj +2 -2
  778. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto.clj +2 -2
  779. package/project/.sdk/tm/clojure/src/sdk/client.clj +4 -4
  780. package/project/.sdk/tm/clojure/src/sdk/core.clj +175 -32
  781. package/project/.sdk/tm/clojure/src/sdk/features.clj +6 -7
  782. package/project/.sdk/tm/clojure/src/voxgig/struct.clj +866 -186
  783. package/project/.sdk/tm/clojure/test/sdk/test/feature/secrets.clj +85 -2
  784. package/project/.sdk/tm/clojure/test/sdk/test/feature.clj +1 -1
  785. package/project/.sdk/tm/clojure/test/sdk/test/omni_smoke.clj +1 -1
  786. package/project/.sdk/tm/clojure/test/sdk/test/pipeline.clj +98 -3
  787. package/project/.sdk/tm/clojure/test/sdk/test/primary.clj +7 -2
  788. package/project/.sdk/tm/clojure/test/sdk/test/struct_corpus.clj +22 -9
  789. package/project/.sdk/tm/clojure/test/sdk/test_runner.clj +15 -14
  790. package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/json.clj +2 -2
  791. package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/runner.clj +2 -2
  792. package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/util.clj +2 -2
  793. package/project/.sdk/tm/cpp/Makefile +3 -3
  794. package/project/.sdk/tm/cpp/core/types.hpp +49 -30
  795. package/project/.sdk/tm/cpp/feature/secrets/plugin/capability.cpp +2 -2
  796. package/project/.sdk/tm/cpp/feature/secrets/plugin/capability.hpp +2 -2
  797. package/project/.sdk/tm/cpp/feature/secrets/plugin/catalog.cpp +2 -2
  798. package/project/.sdk/tm/cpp/feature/secrets/plugin/catalog.hpp +2 -2
  799. package/project/.sdk/tm/cpp/feature/secrets/plugin/config.cpp +2 -2
  800. package/project/.sdk/tm/cpp/feature/secrets/plugin/config.hpp +2 -2
  801. package/project/.sdk/tm/cpp/feature/secrets/plugin/depend.cpp +2 -2
  802. package/project/.sdk/tm/cpp/feature/secrets/plugin/depend.hpp +2 -2
  803. package/project/.sdk/tm/cpp/feature/secrets/plugin/env.cpp +2 -2
  804. package/project/.sdk/tm/cpp/feature/secrets/plugin/env.hpp +2 -2
  805. package/project/.sdk/tm/cpp/feature/secrets/plugin/export.cpp +2 -2
  806. package/project/.sdk/tm/cpp/feature/secrets/plugin/export.hpp +2 -2
  807. package/project/.sdk/tm/cpp/feature/secrets/plugin/graph.cpp +2 -2
  808. package/project/.sdk/tm/cpp/feature/secrets/plugin/graph.hpp +2 -2
  809. package/project/.sdk/tm/cpp/feature/secrets/plugin/host.cpp +2 -2
  810. package/project/.sdk/tm/cpp/feature/secrets/plugin/host.hpp +2 -2
  811. package/project/.sdk/tm/cpp/feature/secrets/plugin/order.cpp +2 -2
  812. package/project/.sdk/tm/cpp/feature/secrets/plugin/order.hpp +2 -2
  813. package/project/.sdk/tm/cpp/feature/secrets/plugin/point.cpp +2 -2
  814. package/project/.sdk/tm/cpp/feature/secrets/plugin/point.hpp +2 -2
  815. package/project/.sdk/tm/cpp/feature/secrets/plugin/ref.cpp +2 -2
  816. package/project/.sdk/tm/cpp/feature/secrets/plugin/ref.hpp +2 -2
  817. package/project/.sdk/tm/cpp/feature/secrets/plugin/resolve.cpp +2 -2
  818. package/project/.sdk/tm/cpp/feature/secrets/plugin/resolve.hpp +2 -2
  819. package/project/.sdk/tm/cpp/feature/secrets/plugin/types.cpp +2 -2
  820. package/project/.sdk/tm/cpp/feature/secrets/plugin/types.hpp +2 -2
  821. package/project/.sdk/tm/cpp/feature/secrets/plugin/value.cpp +2 -2
  822. package/project/.sdk/tm/cpp/feature/secrets/plugin/value.hpp +2 -2
  823. package/project/.sdk/tm/cpp/feature/secrets/plugin/version.cpp +2 -2
  824. package/project/.sdk/tm/cpp/feature/secrets/plugin/version.hpp +2 -2
  825. package/project/.sdk/tm/cpp/feature/secrets/plugins/Aws.cpp +2 -2
  826. package/project/.sdk/tm/cpp/feature/secrets/plugins/Aws.hpp +2 -2
  827. package/project/.sdk/tm/cpp/feature/secrets/plugins/Azuresecrets.cpp +2 -2
  828. package/project/.sdk/tm/cpp/feature/secrets/plugins/Azuresecrets.hpp +2 -2
  829. package/project/.sdk/tm/cpp/feature/secrets/plugins/Boru.cpp +2 -2
  830. package/project/.sdk/tm/cpp/feature/secrets/plugins/Boru.hpp +2 -2
  831. package/project/.sdk/tm/cpp/feature/secrets/plugins/Crypto.cpp +2 -2
  832. package/project/.sdk/tm/cpp/feature/secrets/plugins/Crypto.hpp +2 -2
  833. package/project/.sdk/tm/cpp/feature/secrets/plugins/Doppler.cpp +2 -2
  834. package/project/.sdk/tm/cpp/feature/secrets/plugins/Doppler.hpp +2 -2
  835. package/project/.sdk/tm/cpp/feature/secrets/plugins/Gcpsecrets.cpp +2 -2
  836. package/project/.sdk/tm/cpp/feature/secrets/plugins/Gcpsecrets.hpp +2 -2
  837. package/project/.sdk/tm/cpp/feature/secrets/plugins/Hashicorp.cpp +2 -2
  838. package/project/.sdk/tm/cpp/feature/secrets/plugins/Hashicorp.hpp +2 -2
  839. package/project/.sdk/tm/cpp/feature/secrets/plugins/Httpjson.cpp +2 -2
  840. package/project/.sdk/tm/cpp/feature/secrets/plugins/Httpjson.hpp +2 -2
  841. package/project/.sdk/tm/cpp/feature/secrets/plugins/Infisical.cpp +2 -2
  842. package/project/.sdk/tm/cpp/feature/secrets/plugins/Infisical.hpp +2 -2
  843. package/project/.sdk/tm/cpp/feature/secrets/plugins/Minivault.cpp +2 -2
  844. package/project/.sdk/tm/cpp/feature/secrets/plugins/Minivault.hpp +2 -2
  845. package/project/.sdk/tm/cpp/feature/secrets/plugins/Onepassword.cpp +2 -2
  846. package/project/.sdk/tm/cpp/feature/secrets/plugins/Onepassword.hpp +2 -2
  847. package/project/.sdk/tm/cpp/feature/secrets/plugins/Proc.cpp +2 -2
  848. package/project/.sdk/tm/cpp/feature/secrets/plugins/Proc.hpp +2 -2
  849. package/project/.sdk/tm/cpp/feature/secrets/plugins/Secretspec.cpp +2 -2
  850. package/project/.sdk/tm/cpp/feature/secrets/plugins/Secretspec.hpp +2 -2
  851. package/project/.sdk/tm/cpp/feature/secrets/plugins/Sigv4.cpp +2 -2
  852. package/project/.sdk/tm/cpp/feature/secrets/plugins/Sigv4.hpp +2 -2
  853. package/project/.sdk/tm/cpp/feature/secrets/plugins/Tls.cpp +2 -2
  854. package/project/.sdk/tm/cpp/feature/secrets/plugins/Tls.hpp +2 -2
  855. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Json.cpp +2 -2
  856. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Json.hpp +2 -2
  857. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Provider.cpp +2 -2
  858. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Provider.hpp +2 -2
  859. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Providers.cpp +2 -2
  860. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Providers.hpp +2 -2
  861. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Sekreto.cpp +2 -2
  862. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Sekreto.hpp +2 -2
  863. package/project/.sdk/tm/cpp/feature/secrets.hpp +3 -1
  864. package/project/.sdk/tm/cpp/feature/validate.hpp +5 -5
  865. package/project/.sdk/tm/cpp/test/custom_utility_test.cpp +1 -1
  866. package/project/.sdk/tm/cpp/test/feature/secrets/secrets_test.cpp +226 -0
  867. package/project/.sdk/tm/cpp/test/omni_resolver.hpp +1 -1
  868. package/project/.sdk/tm/cpp/test/primary_utility_test.cpp +9 -3
  869. package/project/.sdk/tm/cpp/test/runner_support.hpp +25 -4
  870. package/project/.sdk/tm/cpp/test/struct_corpus_test.cpp +32 -3
  871. package/project/.sdk/tm/cpp/test/vendor/omni/json.hpp +55 -17
  872. package/project/.sdk/tm/cpp/test/vendor/omni/omni.hpp +2 -2
  873. package/project/.sdk/tm/cpp/test/vendor/omni/util.hpp +2 -2
  874. package/project/.sdk/tm/cpp/utility/pipeline.hpp +96 -20
  875. package/project/.sdk/tm/cpp/utility/voxgigstruct/value.hpp +3 -0
  876. package/project/.sdk/tm/cpp/utility/voxgigstruct/value_io.hpp +3 -0
  877. package/project/.sdk/tm/cpp/utility/voxgigstruct/voxgig_struct.hpp +1374 -371
  878. package/project/.sdk/tm/csharp/Makefile +6 -6
  879. package/project/.sdk/tm/csharp/core/Response.cs +21 -2
  880. package/project/.sdk/tm/csharp/core/Result.cs +2 -2
  881. package/project/.sdk/tm/csharp/core/Utility.cs +2 -0
  882. package/project/.sdk/tm/csharp/feature/SecretsFeature.cs +7 -6
  883. package/project/.sdk/tm/csharp/feature/ValidateFeature.cs +4 -5
  884. package/project/.sdk/tm/csharp/feature/secrets/plugin/Capability.cs +2 -2
  885. package/project/.sdk/tm/csharp/feature/secrets/plugin/Catalog.cs +2 -2
  886. package/project/.sdk/tm/csharp/feature/secrets/plugin/Config.cs +2 -2
  887. package/project/.sdk/tm/csharp/feature/secrets/plugin/Definition.cs +2 -2
  888. package/project/.sdk/tm/csharp/feature/secrets/plugin/Depend.cs +2 -2
  889. package/project/.sdk/tm/csharp/feature/secrets/plugin/Entry.cs +2 -2
  890. package/project/.sdk/tm/csharp/feature/secrets/plugin/Env.cs +2 -2
  891. package/project/.sdk/tm/csharp/feature/secrets/plugin/Export.cs +2 -2
  892. package/project/.sdk/tm/csharp/feature/secrets/plugin/Graph.cs +2 -2
  893. package/project/.sdk/tm/csharp/feature/secrets/plugin/Host.cs +2 -2
  894. package/project/.sdk/tm/csharp/feature/secrets/plugin/Inst.cs +2 -2
  895. package/project/.sdk/tm/csharp/feature/secrets/plugin/Json.cs +2 -2
  896. package/project/.sdk/tm/csharp/feature/secrets/plugin/Order.cs +2 -2
  897. package/project/.sdk/tm/csharp/feature/secrets/plugin/Plugin.cs +2 -2
  898. package/project/.sdk/tm/csharp/feature/secrets/plugin/Point.cs +2 -2
  899. package/project/.sdk/tm/csharp/feature/secrets/plugin/Refs.cs +2 -2
  900. package/project/.sdk/tm/csharp/feature/secrets/plugin/Resolve.cs +2 -2
  901. package/project/.sdk/tm/csharp/feature/secrets/plugin/Types.cs +2 -2
  902. package/project/.sdk/tm/csharp/feature/secrets/plugin/Version.cs +2 -2
  903. package/project/.sdk/tm/csharp/feature/secrets/plugins/Aws.cs +2 -2
  904. package/project/.sdk/tm/csharp/feature/secrets/plugins/AzureSecrets.cs +2 -2
  905. package/project/.sdk/tm/csharp/feature/secrets/plugins/Boru.cs +2 -2
  906. package/project/.sdk/tm/csharp/feature/secrets/plugins/Child.cs +2 -2
  907. package/project/.sdk/tm/csharp/feature/secrets/plugins/Doppler.cs +2 -2
  908. package/project/.sdk/tm/csharp/feature/secrets/plugins/GcpSecrets.cs +2 -2
  909. package/project/.sdk/tm/csharp/feature/secrets/plugins/Hashicorp.cs +2 -2
  910. package/project/.sdk/tm/csharp/feature/secrets/plugins/HttpJson.cs +2 -2
  911. package/project/.sdk/tm/csharp/feature/secrets/plugins/Infisical.cs +2 -2
  912. package/project/.sdk/tm/csharp/feature/secrets/plugins/MiniVault.cs +2 -2
  913. package/project/.sdk/tm/csharp/feature/secrets/plugins/OnePassword.cs +2 -2
  914. package/project/.sdk/tm/csharp/feature/secrets/plugins/SecretSpec.cs +2 -2
  915. package/project/.sdk/tm/csharp/feature/secrets/plugins/Sigv4.cs +2 -2
  916. package/project/.sdk/tm/csharp/feature/secrets/sekreto/Json.cs +2 -2
  917. package/project/.sdk/tm/csharp/feature/secrets/sekreto/Providers.cs +2 -2
  918. package/project/.sdk/tm/csharp/feature/secrets/sekreto/Sekreto.cs +2 -2
  919. package/project/.sdk/tm/csharp/test/PipelineTest.cs +1 -1
  920. package/project/.sdk/tm/csharp/test/PrimaryUtilityTest.cs +242 -1
  921. package/project/.sdk/tm/csharp/test/Runner.cs +4 -4
  922. package/project/.sdk/tm/csharp/test/StructUtilityTest.cs +38 -38
  923. package/project/.sdk/tm/csharp/test/feature/secrets/SecretsFeatureTest.cs +267 -0
  924. package/project/.sdk/tm/csharp/test/vendor/omni/Runner.cs +2 -2
  925. package/project/.sdk/tm/csharp/test/vendor/omni/Util.cs +2 -2
  926. package/project/.sdk/tm/csharp/utility/Clean.cs +139 -12
  927. package/project/.sdk/tm/csharp/utility/Fetcher.cs +115 -35
  928. package/project/.sdk/tm/csharp/utility/MakeError.cs +4 -5
  929. package/project/.sdk/tm/csharp/utility/MakeOptions.cs +5 -5
  930. package/project/.sdk/tm/csharp/utility/Register.cs +1 -0
  931. package/project/.sdk/tm/csharp/utility/struct/Struct.cs +1587 -325
  932. package/project/.sdk/tm/elixir/lib/projectname/entity_base.ex +9 -11
  933. package/project/.sdk/tm/elixir/lib/projectname/error.ex +1 -1
  934. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/capability.ex +2 -2
  935. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/catalog.ex +2 -2
  936. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/config.ex +2 -2
  937. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/depend.ex +2 -2
  938. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/env.ex +2 -2
  939. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/error.ex +2 -2
  940. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/export.ex +2 -2
  941. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/graph.ex +2 -2
  942. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/host.ex +2 -2
  943. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/inst.ex +2 -2
  944. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/json.ex +2 -2
  945. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/order.ex +2 -2
  946. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/point.ex +2 -2
  947. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/ref.ex +2 -2
  948. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/resolve.ex +2 -2
  949. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/types.ex +2 -2
  950. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/version.ex +2 -2
  951. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/voxgig_plugin.ex +2 -2
  952. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/json.ex +2 -2
  953. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/aws.ex +2 -2
  954. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/azuresecrets.ex +2 -2
  955. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/boru.ex +2 -2
  956. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/doppler.ex +2 -2
  957. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/gcpsecrets.ex +2 -2
  958. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/hashicorp.ex +2 -2
  959. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/http.ex +2 -2
  960. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/httpjson.ex +2 -2
  961. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/infisical.ex +2 -2
  962. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/minivault.ex +2 -2
  963. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/onepassword.ex +2 -2
  964. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/proc.ex +2 -2
  965. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/secretspec.ex +2 -2
  966. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/sigv4.ex +2 -2
  967. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/provider.ex +2 -2
  968. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/providers.ex +2 -2
  969. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/sekreto.ex +2 -2
  970. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets.ex +4 -2
  971. package/project/.sdk/tm/elixir/lib/projectname/feature/validate.ex +4 -5
  972. package/project/.sdk/tm/elixir/lib/projectname/utility.ex +219 -37
  973. package/project/.sdk/tm/elixir/lib/utility/struct/voxgig_struct.ex +1088 -253
  974. package/project/.sdk/tm/elixir/test/feature/secrets/secrets_test.exs +147 -1
  975. package/project/.sdk/tm/elixir/test/pipeline_test.exs +167 -1
  976. package/project/.sdk/tm/elixir/test/primary_utility_test.exs +12 -1
  977. package/project/.sdk/tm/elixir/test/struct_corpus_test.exs +43 -21
  978. package/project/.sdk/tm/elixir/test/support/omni.ex +2 -2
  979. package/project/.sdk/tm/elixir/test/vendor/omni/json.ex +33 -5
  980. package/project/.sdk/tm/elixir/test/vendor/omni/runner.ex +2 -2
  981. package/project/.sdk/tm/elixir/test/vendor/omni/util.ex +2 -2
  982. package/project/.sdk/tm/go/Makefile +4 -4
  983. package/project/.sdk/tm/go/core/response.go +17 -4
  984. package/project/.sdk/tm/go/core/result.go +2 -2
  985. package/project/.sdk/tm/go/core/utility_type.go +2 -1
  986. package/project/.sdk/tm/go/feature/secrets/plugin/capability.go +2 -2
  987. package/project/.sdk/tm/go/feature/secrets/plugin/catalog.go +2 -2
  988. package/project/.sdk/tm/go/feature/secrets/plugin/config.go +2 -2
  989. package/project/.sdk/tm/go/feature/secrets/plugin/depend.go +2 -2
  990. package/project/.sdk/tm/go/feature/secrets/plugin/env.go +2 -2
  991. package/project/.sdk/tm/go/feature/secrets/plugin/export.go +2 -2
  992. package/project/.sdk/tm/go/feature/secrets/plugin/graph.go +2 -2
  993. package/project/.sdk/tm/go/feature/secrets/plugin/host.go +2 -2
  994. package/project/.sdk/tm/go/feature/secrets/plugin/order.go +2 -2
  995. package/project/.sdk/tm/go/feature/secrets/plugin/point.go +2 -2
  996. package/project/.sdk/tm/go/feature/secrets/plugin/ref.go +2 -2
  997. package/project/.sdk/tm/go/feature/secrets/plugin/resolve.go +2 -2
  998. package/project/.sdk/tm/go/feature/secrets/plugin/types.go +2 -2
  999. package/project/.sdk/tm/go/feature/secrets/plugin/util.go +2 -2
  1000. package/project/.sdk/tm/go/feature/secrets/plugin/version.go +2 -2
  1001. package/project/.sdk/tm/go/feature/secrets/plugins/aws/aws.go +2 -2
  1002. package/project/.sdk/tm/go/feature/secrets/plugins/aws/sigv4.go +2 -2
  1003. package/project/.sdk/tm/go/feature/secrets/plugins/azuresecrets/azuresecrets.go +2 -2
  1004. package/project/.sdk/tm/go/feature/secrets/plugins/boru/boru.go +2 -2
  1005. package/project/.sdk/tm/go/feature/secrets/plugins/doppler/doppler.go +2 -2
  1006. package/project/.sdk/tm/go/feature/secrets/plugins/gcpsecrets/gcpsecrets.go +2 -2
  1007. package/project/.sdk/tm/go/feature/secrets/plugins/hashicorp/hashicorp.go +2 -2
  1008. package/project/.sdk/tm/go/feature/secrets/plugins/httpjson/httpjson.go +2 -2
  1009. package/project/.sdk/tm/go/feature/secrets/plugins/infisical/infisical.go +2 -2
  1010. package/project/.sdk/tm/go/feature/secrets/plugins/minivault/format.go +2 -2
  1011. package/project/.sdk/tm/go/feature/secrets/plugins/minivault/minivault.go +2 -2
  1012. package/project/.sdk/tm/go/feature/secrets/plugins/onepassword/onepassword.go +2 -2
  1013. package/project/.sdk/tm/go/feature/secrets/plugins/secretspec/secretspec.go +2 -2
  1014. package/project/.sdk/tm/go/feature/secrets/sekreto/addr.go +2 -2
  1015. package/project/.sdk/tm/go/feature/secrets/sekreto/providers.go +2 -2
  1016. package/project/.sdk/tm/go/feature/secrets/sekreto/sekreto.go +2 -2
  1017. package/project/.sdk/tm/go/feature/secrets_feature.go +8 -1
  1018. package/project/.sdk/tm/go/test/concurrency_test.go +1 -1
  1019. package/project/.sdk/tm/go/test/custom_utility_test.go +5 -5
  1020. package/project/.sdk/tm/go/test/feature/secrets/secrets_feature_test.go +160 -7
  1021. package/project/.sdk/tm/go/test/feature_corpus_test.go +1 -1
  1022. package/project/.sdk/tm/go/test/feature_test.go +5 -1
  1023. package/project/.sdk/tm/go/test/omni/omni.go +2 -2
  1024. package/project/.sdk/tm/go/test/omni/util.go +12 -5
  1025. package/project/.sdk/tm/go/test/omniresolver_test.go +1 -1
  1026. package/project/.sdk/tm/go/test/pipeline_test.go +4 -1
  1027. package/project/.sdk/tm/go/test/primary_utility_test.go +181 -5
  1028. package/project/.sdk/tm/go/test/server_variable_test.go +50 -0
  1029. package/project/.sdk/tm/go/test/struct_utility_test.go +59 -56
  1030. package/project/.sdk/tm/go/test/testsupport_test.go +13 -3
  1031. package/project/.sdk/tm/go/utility/clean.go +223 -6
  1032. package/project/.sdk/tm/go/utility/fetcher.go +59 -10
  1033. package/project/.sdk/tm/go/utility/make_error.go +4 -4
  1034. package/project/.sdk/tm/go/utility/make_options.go +12 -5
  1035. package/project/.sdk/tm/go/utility/register.go +12 -1
  1036. package/project/.sdk/tm/go/utility/struct/voxgigstruct.go +1510 -430
  1037. package/project/.sdk/tm/java/Makefile +7 -6
  1038. package/project/.sdk/tm/java/core/Response.java +16 -2
  1039. package/project/.sdk/tm/java/core/Result.java +2 -2
  1040. package/project/.sdk/tm/java/core/SdkClient.java +4 -4
  1041. package/project/.sdk/tm/java/core/Utility.java +7 -0
  1042. package/project/.sdk/tm/java/feature/SecretsFeature.java +3 -0
  1043. package/project/.sdk/tm/java/feature/ValidateFeature.java +4 -5
  1044. package/project/.sdk/tm/java/feature/secrets/plugin/Capability.java +2 -2
  1045. package/project/.sdk/tm/java/feature/secrets/plugin/Catalog.java +2 -2
  1046. package/project/.sdk/tm/java/feature/secrets/plugin/Config.java +2 -2
  1047. package/project/.sdk/tm/java/feature/secrets/plugin/Definition.java +2 -2
  1048. package/project/.sdk/tm/java/feature/secrets/plugin/Depend.java +2 -2
  1049. package/project/.sdk/tm/java/feature/secrets/plugin/Entry.java +2 -2
  1050. package/project/.sdk/tm/java/feature/secrets/plugin/Env.java +2 -2
  1051. package/project/.sdk/tm/java/feature/secrets/plugin/Export.java +2 -2
  1052. package/project/.sdk/tm/java/feature/secrets/plugin/Graph.java +2 -2
  1053. package/project/.sdk/tm/java/feature/secrets/plugin/Host.java +2 -2
  1054. package/project/.sdk/tm/java/feature/secrets/plugin/Inst.java +2 -2
  1055. package/project/.sdk/tm/java/feature/secrets/plugin/Json.java +2 -2
  1056. package/project/.sdk/tm/java/feature/secrets/plugin/Order.java +2 -2
  1057. package/project/.sdk/tm/java/feature/secrets/plugin/Plugin.java +2 -2
  1058. package/project/.sdk/tm/java/feature/secrets/plugin/PluginException.java +2 -2
  1059. package/project/.sdk/tm/java/feature/secrets/plugin/Point.java +2 -2
  1060. package/project/.sdk/tm/java/feature/secrets/plugin/Refs.java +2 -2
  1061. package/project/.sdk/tm/java/feature/secrets/plugin/Resolve.java +2 -2
  1062. package/project/.sdk/tm/java/feature/secrets/plugin/Types.java +2 -2
  1063. package/project/.sdk/tm/java/feature/secrets/plugin/Version.java +2 -2
  1064. package/project/.sdk/tm/java/feature/secrets/sekreto/Addr.java +2 -2
  1065. package/project/.sdk/tm/java/feature/secrets/sekreto/Builtins.java +2 -2
  1066. package/project/.sdk/tm/java/feature/secrets/sekreto/Json.java +2 -2
  1067. package/project/.sdk/tm/java/feature/secrets/sekreto/Provider.java +2 -2
  1068. package/project/.sdk/tm/java/feature/secrets/sekreto/Sekreto.java +2 -2
  1069. package/project/.sdk/tm/java/feature/secrets/sekreto/Support.java +2 -2
  1070. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Aws.java +2 -2
  1071. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Azuresecrets.java +2 -2
  1072. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Boru.java +2 -2
  1073. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Doppler.java +2 -2
  1074. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Gcpsecrets.java +2 -2
  1075. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Hashicorp.java +2 -2
  1076. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Httpjson.java +2 -2
  1077. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Infisical.java +2 -2
  1078. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Minivault.java +2 -2
  1079. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Onepassword.java +2 -2
  1080. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Proc.java +2 -2
  1081. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Secretspec.java +2 -2
  1082. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Sigv4.java +2 -2
  1083. package/project/.sdk/tm/java/test/PipelineTest.java +1 -1
  1084. package/project/.sdk/tm/java/test/PrimaryUtilityTest.java +199 -2
  1085. package/project/.sdk/tm/java/test/RunnerSupport.java +4 -4
  1086. package/project/.sdk/tm/java/test/StructCorpusTest.java +32 -3
  1087. package/project/.sdk/tm/java/test/feature/secrets/SecretsFeatureTest.java +111 -2
  1088. package/project/.sdk/tm/java/test/vendor/omni/Json.java +2 -2
  1089. package/project/.sdk/tm/java/test/vendor/omni/Runner.java +2 -2
  1090. package/project/.sdk/tm/java/test/vendor/omni/Util.java +2 -2
  1091. package/project/.sdk/tm/java/utility/Clean.java +186 -19
  1092. package/project/.sdk/tm/java/utility/Fetcher.java +109 -14
  1093. package/project/.sdk/tm/java/utility/MakeError.java +4 -4
  1094. package/project/.sdk/tm/java/utility/MakeOptions.java +5 -5
  1095. package/project/.sdk/tm/java/utility/Register.java +4 -0
  1096. package/project/.sdk/tm/java/utility/TransformResponse.java +5 -0
  1097. package/project/.sdk/tm/java/utility/struct/Struct.java +1239 -229
  1098. package/project/.sdk/tm/js/Makefile +5 -4
  1099. package/project/.sdk/tm/js/src/feature/secrets/SecretsFeature.js +2 -0
  1100. package/project/.sdk/tm/js/src/feature/secrets/plugin/capability.js +1 -1
  1101. package/project/.sdk/tm/js/src/feature/secrets/plugin/catalog.js +1 -1
  1102. package/project/.sdk/tm/js/src/feature/secrets/plugin/config.js +1 -1
  1103. package/project/.sdk/tm/js/src/feature/secrets/plugin/depend.js +1 -1
  1104. package/project/.sdk/tm/js/src/feature/secrets/plugin/env.js +1 -1
  1105. package/project/.sdk/tm/js/src/feature/secrets/plugin/export.js +1 -1
  1106. package/project/.sdk/tm/js/src/feature/secrets/plugin/graph.js +1 -1
  1107. package/project/.sdk/tm/js/src/feature/secrets/plugin/host.js +1 -1
  1108. package/project/.sdk/tm/js/src/feature/secrets/plugin/index.js +1 -1
  1109. package/project/.sdk/tm/js/src/feature/secrets/plugin/order.js +1 -1
  1110. package/project/.sdk/tm/js/src/feature/secrets/plugin/point.js +1 -1
  1111. package/project/.sdk/tm/js/src/feature/secrets/plugin/ref.js +1 -1
  1112. package/project/.sdk/tm/js/src/feature/secrets/plugin/resolve.js +1 -1
  1113. package/project/.sdk/tm/js/src/feature/secrets/plugin/types.js +1 -1
  1114. package/project/.sdk/tm/js/src/feature/secrets/plugin/version.js +1 -1
  1115. package/project/.sdk/tm/js/src/feature/secrets/sekreto/Sekreto.js +1 -1
  1116. package/project/.sdk/tm/js/src/feature/secrets/sekreto/index.js +1 -1
  1117. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/aws.js +1 -1
  1118. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/azuresecrets.js +1 -1
  1119. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/boru.js +1 -1
  1120. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/doppler.js +1 -1
  1121. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/gcpsecrets.js +1 -1
  1122. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/hashicorp.js +1 -1
  1123. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/httpjson.js +1 -1
  1124. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/infisical.js +1 -1
  1125. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/minivault.js +1 -1
  1126. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/onepassword.js +1 -1
  1127. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/secretspec.js +1 -1
  1128. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/sigv4.js +1 -1
  1129. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/addr.js +1 -1
  1130. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/builtin.js +1 -1
  1131. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/dotenv.js +1 -1
  1132. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/env.js +1 -1
  1133. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/file.js +1 -1
  1134. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/memory.js +1 -1
  1135. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/support.js +1 -1
  1136. package/project/.sdk/tm/js/src/feature/validate/ValidateFeature.js +4 -5
  1137. package/project/.sdk/tm/js/src/utility/CleanUtility.js +104 -10
  1138. package/project/.sdk/tm/js/src/utility/FetcherUtility.js +99 -1
  1139. package/project/.sdk/tm/js/src/utility/MakeErrorUtility.js +4 -4
  1140. package/project/.sdk/tm/js/src/utility/MakeOptionsUtility.js +5 -5
  1141. package/project/.sdk/tm/js/src/utility/MediaUtility.js +32 -0
  1142. package/project/.sdk/tm/js/src/utility/ResultBodyUtility.js +6 -14
  1143. package/project/.sdk/tm/js/src/utility/StructUtility.js +972 -180
  1144. package/project/.sdk/tm/js/src/utility/Utility.js +2 -1
  1145. package/project/.sdk/tm/js/test/feature/harness.js +6 -7
  1146. package/project/.sdk/tm/js/test/feature/secrets/Secrets.test.js +92 -2
  1147. package/project/.sdk/tm/js/test/live-entity.js +8 -8
  1148. package/project/.sdk/tm/js/test/utility/PrimaryUtility.test.js +9 -1
  1149. package/project/.sdk/tm/js/test/utility/StructUtility.test.js +32 -27
  1150. package/project/.sdk/tm/js/test/utility/index.js +1 -1
  1151. package/project/.sdk/tm/js/test/vendor/omni/index.js +1 -1
  1152. package/project/.sdk/tm/js/test/vendor/omni/runner.js +1 -1
  1153. package/project/.sdk/tm/js/test/vendor/omni/util.js +1 -1
  1154. package/project/.sdk/tm/kotlin/Makefile +7 -6
  1155. package/project/.sdk/tm/kotlin/core/Response.kt +17 -2
  1156. package/project/.sdk/tm/kotlin/core/Result.kt +2 -2
  1157. package/project/.sdk/tm/kotlin/core/SdkClient.kt +4 -4
  1158. package/project/.sdk/tm/kotlin/core/Utility.kt +4 -2
  1159. package/project/.sdk/tm/kotlin/feature/SecretsFeature.kt +2 -0
  1160. package/project/.sdk/tm/kotlin/feature/ValidateFeature.kt +4 -5
  1161. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Capability.kt +2 -2
  1162. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Catalog.kt +2 -2
  1163. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Config.kt +2 -2
  1164. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Depend.kt +2 -2
  1165. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Env.kt +2 -2
  1166. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Export.kt +2 -2
  1167. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Graph.kt +2 -2
  1168. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Host.kt +2 -2
  1169. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Json.kt +2 -2
  1170. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Order.kt +2 -2
  1171. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Plugin.kt +2 -2
  1172. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Point.kt +2 -2
  1173. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Refs.kt +2 -2
  1174. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Resolve.kt +2 -2
  1175. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Types.kt +2 -2
  1176. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Version.kt +2 -2
  1177. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Json.kt +2 -2
  1178. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Provider.kt +2 -2
  1179. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Providers.kt +2 -2
  1180. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Sekreto.kt +2 -2
  1181. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Spec.kt +2 -2
  1182. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Support.kt +2 -2
  1183. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Aws.kt +2 -2
  1184. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Azuresecrets.kt +2 -2
  1185. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Boru.kt +2 -2
  1186. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Doppler.kt +2 -2
  1187. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Gcpsecrets.kt +2 -2
  1188. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Hashicorp.kt +2 -2
  1189. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Httpjson.kt +2 -2
  1190. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Infisical.kt +2 -2
  1191. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Minivault.kt +2 -2
  1192. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Onepassword.kt +2 -2
  1193. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Secretspec.kt +2 -2
  1194. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Sigv4.kt +2 -2
  1195. package/project/.sdk/tm/kotlin/test/PipelineTest.kt +1 -1
  1196. package/project/.sdk/tm/kotlin/test/PrimaryUtilityTest.kt +188 -2
  1197. package/project/.sdk/tm/kotlin/test/RunnerSupport.kt +23 -4
  1198. package/project/.sdk/tm/kotlin/test/StructCorpusTest.kt +23 -3
  1199. package/project/.sdk/tm/kotlin/test/feature/secrets/SecretsTest.kt +110 -1
  1200. package/project/.sdk/tm/kotlin/test/vendor/omni/Json.kt +2 -2
  1201. package/project/.sdk/tm/kotlin/test/vendor/omni/Runner.kt +2 -2
  1202. package/project/.sdk/tm/kotlin/test/vendor/omni/Util.kt +2 -2
  1203. package/project/.sdk/tm/kotlin/utility/CoreUtil.kt +142 -16
  1204. package/project/.sdk/tm/kotlin/utility/Fetcher.kt +113 -14
  1205. package/project/.sdk/tm/kotlin/utility/MakeOptions.kt +5 -5
  1206. package/project/.sdk/tm/kotlin/utility/Register.kt +1 -0
  1207. package/project/.sdk/tm/kotlin/utility/struct/Struct.kt +1074 -164
  1208. package/project/.sdk/tm/lua/Makefile +4 -3
  1209. package/project/.sdk/tm/lua/core/utility_type.lua +2 -0
  1210. package/project/.sdk/tm/lua/feature/secrets/native/sekretonet.c +2 -2
  1211. package/project/.sdk/tm/lua/feature/secrets/native/sekretovault.c +2 -2
  1212. package/project/.sdk/tm/lua/feature/secrets/plugin/capability.lua +2 -2
  1213. package/project/.sdk/tm/lua/feature/secrets/plugin/catalog.lua +2 -2
  1214. package/project/.sdk/tm/lua/feature/secrets/plugin/config.lua +2 -2
  1215. package/project/.sdk/tm/lua/feature/secrets/plugin/depend.lua +2 -2
  1216. package/project/.sdk/tm/lua/feature/secrets/plugin/env.lua +2 -2
  1217. package/project/.sdk/tm/lua/feature/secrets/plugin/export.lua +2 -2
  1218. package/project/.sdk/tm/lua/feature/secrets/plugin/graph.lua +2 -2
  1219. package/project/.sdk/tm/lua/feature/secrets/plugin/host.lua +2 -2
  1220. package/project/.sdk/tm/lua/feature/secrets/plugin/json.lua +2 -2
  1221. package/project/.sdk/tm/lua/feature/secrets/plugin/order.lua +2 -2
  1222. package/project/.sdk/tm/lua/feature/secrets/plugin/point.lua +2 -2
  1223. package/project/.sdk/tm/lua/feature/secrets/plugin/ref.lua +2 -2
  1224. package/project/.sdk/tm/lua/feature/secrets/plugin/resolve.lua +2 -2
  1225. package/project/.sdk/tm/lua/feature/secrets/plugin/types.lua +2 -2
  1226. package/project/.sdk/tm/lua/feature/secrets/plugin/version.lua +2 -2
  1227. package/project/.sdk/tm/lua/feature/secrets/plugin.lua +2 -2
  1228. package/project/.sdk/tm/lua/feature/secrets/sekreto/addr.lua +2 -2
  1229. package/project/.sdk/tm/lua/feature/secrets/sekreto/err.lua +2 -2
  1230. package/project/.sdk/tm/lua/feature/secrets/sekreto/name.lua +2 -2
  1231. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/aws.lua +2 -2
  1232. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/azuresecrets.lua +2 -2
  1233. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/boru.lua +2 -2
  1234. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/crypto.lua +2 -2
  1235. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/doppler.lua +2 -2
  1236. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/gcpsecrets.lua +2 -2
  1237. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/hashicorp.lua +2 -2
  1238. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/httpjson.lua +2 -2
  1239. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/infisical.lua +2 -2
  1240. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/json.lua +2 -2
  1241. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/minivault.lua +2 -2
  1242. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/net.lua +2 -2
  1243. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/onepassword.lua +2 -2
  1244. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/secretspec.lua +2 -2
  1245. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/sigv4.lua +2 -2
  1246. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/support.lua +2 -2
  1247. package/project/.sdk/tm/lua/feature/secrets/sekreto/providers.lua +2 -2
  1248. package/project/.sdk/tm/lua/feature/secrets/sekreto.lua +2 -2
  1249. package/project/.sdk/tm/lua/feature/secrets_feature.lua +3 -0
  1250. package/project/.sdk/tm/lua/feature/validate_feature.lua +5 -6
  1251. package/project/.sdk/tm/lua/test/feature/secrets/secrets_feature_test.lua +115 -2
  1252. package/project/.sdk/tm/lua/test/omni.lua +1 -1
  1253. package/project/.sdk/tm/lua/test/pipeline_test.lua +1 -1
  1254. package/project/.sdk/tm/lua/test/primary_utility_test.lua +160 -1
  1255. package/project/.sdk/tm/lua/test/runner.lua +3 -1
  1256. package/project/.sdk/tm/lua/test/struct_utility_test.lua +152 -44
  1257. package/project/.sdk/tm/lua/test/vendor/omni/json.lua +26 -6
  1258. package/project/.sdk/tm/lua/test/vendor/omni/regex.lua +2 -2
  1259. package/project/.sdk/tm/lua/test/vendor/omni/runner.lua +2 -2
  1260. package/project/.sdk/tm/lua/test/vendor/omni/util.lua +2 -2
  1261. package/project/.sdk/tm/lua/utility/clean.lua +86 -6
  1262. package/project/.sdk/tm/lua/utility/fetcher.lua +19 -5
  1263. package/project/.sdk/tm/lua/utility/make_error.lua +4 -5
  1264. package/project/.sdk/tm/lua/utility/make_options.lua +5 -5
  1265. package/project/.sdk/tm/lua/utility/media.lua +36 -0
  1266. package/project/.sdk/tm/lua/utility/register.lua +1 -0
  1267. package/project/.sdk/tm/lua/utility/struct/regex.lua +26 -9
  1268. package/project/.sdk/tm/lua/utility/struct/struct.lua +1289 -245
  1269. package/project/.sdk/tm/lua/utility/unreadable_body.lua +6 -16
  1270. package/project/.sdk/tm/ocaml/Makefile +1 -1
  1271. package/project/.sdk/tm/ocaml/feature/secrets/plugin/capability.ml +2 -2
  1272. package/project/.sdk/tm/ocaml/feature/secrets/plugin/catalog.ml +2 -2
  1273. package/project/.sdk/tm/ocaml/feature/secrets/plugin/config.ml +2 -2
  1274. package/project/.sdk/tm/ocaml/feature/secrets/plugin/defs.ml +2 -2
  1275. package/project/.sdk/tm/ocaml/feature/secrets/plugin/depend.ml +2 -2
  1276. package/project/.sdk/tm/ocaml/feature/secrets/plugin/env.ml +2 -2
  1277. package/project/.sdk/tm/ocaml/feature/secrets/plugin/export.ml +2 -2
  1278. package/project/.sdk/tm/ocaml/feature/secrets/plugin/graph.ml +2 -2
  1279. package/project/.sdk/tm/ocaml/feature/secrets/plugin/host.ml +2 -2
  1280. package/project/.sdk/tm/ocaml/feature/secrets/plugin/order.ml +2 -2
  1281. package/project/.sdk/tm/ocaml/feature/secrets/plugin/point.ml +2 -2
  1282. package/project/.sdk/tm/ocaml/feature/secrets/plugin/ref.ml +2 -2
  1283. package/project/.sdk/tm/ocaml/feature/secrets/plugin/resolve.ml +2 -2
  1284. package/project/.sdk/tm/ocaml/feature/secrets/plugin/types.ml +2 -2
  1285. package/project/.sdk/tm/ocaml/feature/secrets/plugin/value.ml +2 -2
  1286. package/project/.sdk/tm/ocaml/feature/secrets/plugin/version.ml +2 -2
  1287. package/project/.sdk/tm/ocaml/feature/secrets/plugins/aws.ml +2 -2
  1288. package/project/.sdk/tm/ocaml/feature/secrets/plugins/azuresecrets.ml +2 -2
  1289. package/project/.sdk/tm/ocaml/feature/secrets/plugins/boru.ml +2 -2
  1290. package/project/.sdk/tm/ocaml/feature/secrets/plugins/crypto.ml +2 -2
  1291. package/project/.sdk/tm/ocaml/feature/secrets/plugins/doppler.ml +2 -2
  1292. package/project/.sdk/tm/ocaml/feature/secrets/plugins/gcpsecrets.ml +2 -2
  1293. package/project/.sdk/tm/ocaml/feature/secrets/plugins/hashicorp.ml +2 -2
  1294. package/project/.sdk/tm/ocaml/feature/secrets/plugins/http.ml +2 -2
  1295. package/project/.sdk/tm/ocaml/feature/secrets/plugins/httpjson.ml +2 -2
  1296. package/project/.sdk/tm/ocaml/feature/secrets/plugins/infisical.ml +2 -2
  1297. package/project/.sdk/tm/ocaml/feature/secrets/plugins/minivault.ml +2 -2
  1298. package/project/.sdk/tm/ocaml/feature/secrets/plugins/minivault_stubs.c +2 -2
  1299. package/project/.sdk/tm/ocaml/feature/secrets/plugins/onepassword.ml +2 -2
  1300. package/project/.sdk/tm/ocaml/feature/secrets/plugins/runcmd.ml +2 -2
  1301. package/project/.sdk/tm/ocaml/feature/secrets/plugins/secretspec.ml +2 -2
  1302. package/project/.sdk/tm/ocaml/feature/secrets/plugins/sigv4.ml +2 -2
  1303. package/project/.sdk/tm/ocaml/feature/secrets/plugins/tls.ml +2 -2
  1304. package/project/.sdk/tm/ocaml/feature/secrets/plugins/tls_stubs.c +2 -2
  1305. package/project/.sdk/tm/ocaml/feature/secrets/sekreto/json.ml +2 -2
  1306. package/project/.sdk/tm/ocaml/feature/secrets/sekreto/provider.ml +2 -2
  1307. package/project/.sdk/tm/ocaml/feature/secrets/sekreto/secret.ml +2 -2
  1308. package/project/.sdk/tm/ocaml/feature/secrets/sekreto/sekreto.ml +2 -2
  1309. package/project/.sdk/tm/ocaml/feature/secrets_feature.ml +3 -1
  1310. package/project/.sdk/tm/ocaml/sdk_features.ml +9 -10
  1311. package/project/.sdk/tm/ocaml/sdk_runtime.ml +78 -15
  1312. package/project/.sdk/tm/ocaml/sdk_types.ml +1 -1
  1313. package/project/.sdk/tm/ocaml/test/feature/secrets/t_secrets.ml +157 -4
  1314. package/project/.sdk/tm/ocaml/test/primary_utility_test.ml +14 -9
  1315. package/project/.sdk/tm/ocaml/test/struct_corpus.ml +24 -15
  1316. package/project/.sdk/tm/ocaml/test/vendor/omni/omni.ml +34 -28
  1317. package/project/.sdk/tm/ocaml/utility/voxgig_struct.ml +807 -157
  1318. package/project/.sdk/tm/ocaml/utility/vregex.ml +190 -60
  1319. package/project/.sdk/tm/perl/Makefile +8 -7
  1320. package/project/.sdk/tm/perl/core/control.pm +1 -1
  1321. package/project/.sdk/tm/perl/core/error.pm +14 -1
  1322. package/project/.sdk/tm/perl/core/helpers.pm +8 -7
  1323. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Capability.pm +2 -2
  1324. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Catalog.pm +2 -2
  1325. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Config.pm +2 -2
  1326. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Depend.pm +2 -2
  1327. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Env.pm +2 -2
  1328. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Export.pm +2 -2
  1329. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Graph.pm +2 -2
  1330. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Host.pm +2 -2
  1331. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Order.pm +2 -2
  1332. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Point.pm +2 -2
  1333. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Ref.pm +2 -2
  1334. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Resolve.pm +2 -2
  1335. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Types.pm +2 -2
  1336. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Version.pm +2 -2
  1337. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin.pm +2 -2
  1338. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Aws.pm +1 -1
  1339. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Azuresecrets.pm +1 -1
  1340. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Boru.pm +1 -1
  1341. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Doppler.pm +1 -1
  1342. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Gcpsecrets.pm +1 -1
  1343. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Hashicorp.pm +1 -1
  1344. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Httpjson.pm +1 -1
  1345. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Infisical.pm +1 -1
  1346. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Minivault.pm +1 -1
  1347. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Onepassword.pm +1 -1
  1348. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Proc.pm +1 -1
  1349. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Secretspec.pm +1 -1
  1350. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Sigv4.pm +1 -1
  1351. package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto/Addr.pm +1 -1
  1352. package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto/Providers.pm +1 -1
  1353. package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto.pm +1 -1
  1354. package/project/.sdk/tm/perl/feature/secrets_feature.pm +2 -0
  1355. package/project/.sdk/tm/perl/feature/validate_feature.pm +4 -5
  1356. package/project/.sdk/tm/perl/lib/Voxgig/Struct.pm +1082 -149
  1357. package/project/.sdk/tm/perl/t/feature/secrets/secrets.t +105 -0
  1358. package/project/.sdk/tm/perl/t/feature_corpus.t +1 -1
  1359. package/project/.sdk/tm/perl/t/omni.pm +16 -6
  1360. package/project/.sdk/tm/perl/t/primary_utility.t +151 -2
  1361. package/project/.sdk/tm/perl/t/runner.pm +1 -1
  1362. package/project/.sdk/tm/perl/t/struct_utility.t +19 -11
  1363. package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Runner.pm +1 -1
  1364. package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Util.pm +1 -1
  1365. package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni.pm +1 -1
  1366. package/project/.sdk/tm/perl/utility/clean.pm +130 -15
  1367. package/project/.sdk/tm/perl/utility/fetcher.pm +18 -5
  1368. package/project/.sdk/tm/perl/utility/make_error.pm +4 -4
  1369. package/project/.sdk/tm/perl/utility/make_options.pm +5 -5
  1370. package/project/.sdk/tm/perl/utility/media.pm +29 -0
  1371. package/project/.sdk/tm/perl/utility/result_body.pm +6 -13
  1372. package/project/.sdk/tm/perl/utility/transform_response.pm +3 -0
  1373. package/project/.sdk/tm/php/Makefile +4 -3
  1374. package/project/.sdk/tm/php/core/Control.php +3 -2
  1375. package/project/.sdk/tm/php/core/Helpers.php +49 -0
  1376. package/project/.sdk/tm/php/core/UtilityType.php +2 -0
  1377. package/project/.sdk/tm/php/feature/SecretsFeature.php +2 -0
  1378. package/project/.sdk/tm/php/feature/ValidateFeature.php +6 -5
  1379. package/project/.sdk/tm/php/feature/secrets/plugin/Capability.php +2 -2
  1380. package/project/.sdk/tm/php/feature/secrets/plugin/Catalog.php +2 -2
  1381. package/project/.sdk/tm/php/feature/secrets/plugin/Config.php +2 -2
  1382. package/project/.sdk/tm/php/feature/secrets/plugin/Depend.php +2 -2
  1383. package/project/.sdk/tm/php/feature/secrets/plugin/Env.php +2 -2
  1384. package/project/.sdk/tm/php/feature/secrets/plugin/Export.php +2 -2
  1385. package/project/.sdk/tm/php/feature/secrets/plugin/Graph.php +2 -2
  1386. package/project/.sdk/tm/php/feature/secrets/plugin/Host.php +2 -2
  1387. package/project/.sdk/tm/php/feature/secrets/plugin/Order.php +2 -2
  1388. package/project/.sdk/tm/php/feature/secrets/plugin/Point.php +2 -2
  1389. package/project/.sdk/tm/php/feature/secrets/plugin/Ref.php +2 -2
  1390. package/project/.sdk/tm/php/feature/secrets/plugin/Resolve.php +2 -2
  1391. package/project/.sdk/tm/php/feature/secrets/plugin/Types.php +2 -2
  1392. package/project/.sdk/tm/php/feature/secrets/plugin/Version.php +2 -2
  1393. package/project/.sdk/tm/php/feature/secrets/plugin/plugin.php +2 -2
  1394. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/aws.php +2 -2
  1395. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/azuresecrets.php +2 -2
  1396. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/boru.php +2 -2
  1397. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/doppler.php +2 -2
  1398. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/gcpsecrets.php +2 -2
  1399. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/hashicorp.php +2 -2
  1400. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/httpjson.php +2 -2
  1401. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/infisical.php +2 -2
  1402. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/minivault.php +2 -2
  1403. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/onepassword.php +2 -2
  1404. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/runcmd.php +2 -2
  1405. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/secretspec.php +2 -2
  1406. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/sigv4.php +2 -2
  1407. package/project/.sdk/tm/php/feature/secrets/sekreto/src/Addr.php +2 -2
  1408. package/project/.sdk/tm/php/feature/secrets/sekreto/src/Providers.php +2 -2
  1409. package/project/.sdk/tm/php/feature/secrets/sekreto/src/Sekreto.php +2 -2
  1410. package/project/.sdk/tm/php/test/FeatureCorpusTest.php +1 -1
  1411. package/project/.sdk/tm/php/test/Omni.php +1 -1
  1412. package/project/.sdk/tm/php/test/PipelineTest.php +146 -1
  1413. package/project/.sdk/tm/php/test/PrimaryUtilityTest.php +23 -1
  1414. package/project/.sdk/tm/php/test/Runner.php +1 -1
  1415. package/project/.sdk/tm/php/test/StructUtilityTest.php +65 -116
  1416. package/project/.sdk/tm/php/test/feature/secrets/SecretsTest.php +119 -2
  1417. package/project/.sdk/tm/php/test/vendor/omni/Runner.php +2 -2
  1418. package/project/.sdk/tm/php/test/vendor/omni/Util.php +2 -2
  1419. package/project/.sdk/tm/php/utility/Clean.php +119 -19
  1420. package/project/.sdk/tm/php/utility/Fetcher.php +24 -7
  1421. package/project/.sdk/tm/php/utility/MakeError.php +4 -5
  1422. package/project/.sdk/tm/php/utility/MakeOptions.php +9 -5
  1423. package/project/.sdk/tm/php/utility/Media.php +29 -0
  1424. package/project/.sdk/tm/php/utility/PrepareBody.php +7 -5
  1425. package/project/.sdk/tm/php/utility/Register.php +1 -0
  1426. package/project/.sdk/tm/php/utility/ResultBody.php +6 -16
  1427. package/project/.sdk/tm/php/utility/TransformResponse.php +5 -0
  1428. package/project/.sdk/tm/php/utility/struct/Struct.php +1933 -530
  1429. package/project/.sdk/tm/py/Makefile +3 -2
  1430. package/project/.sdk/tm/py/pkg/core/utility_type.py +2 -0
  1431. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/__init__.py +1 -1
  1432. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/capability.py +1 -1
  1433. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/catalog.py +1 -1
  1434. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/config.py +1 -1
  1435. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/depend.py +1 -1
  1436. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/env.py +1 -1
  1437. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/export.py +1 -1
  1438. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/graph.py +1 -1
  1439. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/host.py +1 -1
  1440. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/order.py +1 -1
  1441. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/point.py +1 -1
  1442. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/ref.py +1 -1
  1443. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/resolve.py +1 -1
  1444. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/types.py +1 -1
  1445. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/version.py +1 -1
  1446. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/__init__.py +1 -1
  1447. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/addr.py +1 -1
  1448. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/aws.py +1 -1
  1449. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/azuresecrets.py +1 -1
  1450. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/boru.py +1 -1
  1451. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/doppler.py +1 -1
  1452. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/gcpsecrets.py +1 -1
  1453. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/hashicorp.py +1 -1
  1454. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/httpjson.py +1 -1
  1455. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/infisical.py +1 -1
  1456. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/minivault.py +1 -1
  1457. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/onepassword.py +1 -1
  1458. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/secretspec.py +1 -1
  1459. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/sigv4.py +1 -1
  1460. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/providers.py +1 -1
  1461. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/sekreto.py +1 -1
  1462. package/project/.sdk/tm/py/pkg/feature/secrets_feature.py +12 -1
  1463. package/project/.sdk/tm/py/pkg/feature/validate_feature.py +4 -5
  1464. package/project/.sdk/tm/py/pkg/utility/clean.py +104 -16
  1465. package/project/.sdk/tm/py/pkg/utility/fetcher.py +64 -4
  1466. package/project/.sdk/tm/py/pkg/utility/make_error.py +4 -4
  1467. package/project/.sdk/tm/py/pkg/utility/make_options.py +5 -5
  1468. package/project/.sdk/tm/py/pkg/utility/media.py +24 -0
  1469. package/project/.sdk/tm/py/pkg/utility/register.py +2 -1
  1470. package/project/.sdk/tm/py/pkg/utility/result_body.py +7 -12
  1471. package/project/.sdk/tm/py/pkg/utility/voxgig_struct/voxgig_struct.py +1057 -198
  1472. package/project/.sdk/tm/py/test/feature/secrets/test_secrets.py +124 -0
  1473. package/project/.sdk/tm/py/test/feature_harness.py +6 -6
  1474. package/project/.sdk/tm/py/test/omni.py +1 -1
  1475. package/project/.sdk/tm/py/test/runner.py +6 -4
  1476. package/project/.sdk/tm/py/test/test_feature_corpus.py +2 -2
  1477. package/project/.sdk/tm/py/test/test_pipeline.py +1 -1
  1478. package/project/.sdk/tm/py/test/test_primary_utility.py +135 -1
  1479. package/project/.sdk/tm/py/test/test_struct_utility.py +29 -30
  1480. package/project/.sdk/tm/py/test/voxgig_omni/__init__.py +1 -1
  1481. package/project/.sdk/tm/py/test/voxgig_omni/runner.py +1 -1
  1482. package/project/.sdk/tm/py/test/voxgig_omni/util.py +1 -1
  1483. package/project/.sdk/tm/py-data/Makefile +5 -4
  1484. package/project/.sdk/tm/py-data/pkg/auth.py +8 -5
  1485. package/project/.sdk/tm/py-data/pkg/fetch.py +8 -8
  1486. package/project/.sdk/tm/py-data/test/conftest.py +6 -7
  1487. package/project/.sdk/tm/py-data/test/test_auth.py +5 -0
  1488. package/project/.sdk/tm/rb/Makefile +3 -2
  1489. package/project/.sdk/tm/rb/core/control.rb +1 -1
  1490. package/project/.sdk/tm/rb/core/utility_type.rb +2 -1
  1491. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/capability.rb +2 -2
  1492. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/catalog.rb +2 -2
  1493. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/config.rb +2 -2
  1494. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/depend.rb +2 -2
  1495. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/env.rb +2 -2
  1496. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/export.rb +2 -2
  1497. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/graph.rb +2 -2
  1498. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/host.rb +2 -2
  1499. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/order.rb +2 -2
  1500. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/point.rb +2 -2
  1501. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/ref.rb +2 -2
  1502. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/resolve.rb +2 -2
  1503. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/types.rb +2 -2
  1504. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/version.rb +2 -2
  1505. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin.rb +2 -2
  1506. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/addr.rb +2 -2
  1507. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/aws.rb +2 -2
  1508. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/azuresecrets.rb +2 -2
  1509. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/boru.rb +2 -2
  1510. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/doppler.rb +2 -2
  1511. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/gcpsecrets.rb +2 -2
  1512. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/hashicorp.rb +2 -2
  1513. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/httpjson.rb +2 -2
  1514. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/infisical.rb +2 -2
  1515. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/minivault.rb +2 -2
  1516. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/onepassword.rb +2 -2
  1517. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/secretspec.rb +2 -2
  1518. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/sigv4.rb +2 -2
  1519. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/providers.rb +2 -2
  1520. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/sekreto.rb +2 -2
  1521. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto.rb +2 -2
  1522. package/project/.sdk/tm/rb/feature/secrets_feature.rb +3 -0
  1523. package/project/.sdk/tm/rb/feature/validate_feature.rb +4 -5
  1524. package/project/.sdk/tm/rb/test/feature/secrets/secrets_feature_test.rb +117 -0
  1525. package/project/.sdk/tm/rb/test/feature_corpus_test.rb +1 -1
  1526. package/project/.sdk/tm/rb/test/omni.rb +1 -1
  1527. package/project/.sdk/tm/rb/test/pipeline_test.rb +1 -1
  1528. package/project/.sdk/tm/rb/test/primary_utility_test.rb +121 -1
  1529. package/project/.sdk/tm/rb/test/runner.rb +1 -1
  1530. package/project/.sdk/tm/rb/test/struct_utility_test.rb +30 -34
  1531. package/project/.sdk/tm/rb/test/vendor/omni/runner.rb +2 -2
  1532. package/project/.sdk/tm/rb/test/vendor/omni/util.rb +2 -2
  1533. package/project/.sdk/tm/rb/test/vendor/omni/voxgig_omni.rb +2 -2
  1534. package/project/.sdk/tm/rb/utility/clean.rb +94 -14
  1535. package/project/.sdk/tm/rb/utility/fetcher.rb +12 -3
  1536. package/project/.sdk/tm/rb/utility/make_error.rb +4 -4
  1537. package/project/.sdk/tm/rb/utility/make_options.rb +5 -5
  1538. package/project/.sdk/tm/rb/utility/media.rb +21 -0
  1539. package/project/.sdk/tm/rb/utility/register.rb +1 -0
  1540. package/project/.sdk/tm/rb/utility/result_body.rb +7 -9
  1541. package/project/.sdk/tm/rb/utility/struct/voxgig_struct.rb +1569 -678
  1542. package/project/.sdk/tm/rust/Makefile +5 -5
  1543. package/project/.sdk/tm/rust/core/helpers.rs +1 -1
  1544. package/project/.sdk/tm/rust/core/response.rs +18 -2
  1545. package/project/.sdk/tm/rust/core/result.rs +4 -4
  1546. package/project/.sdk/tm/rust/core/utility_type.rs +5 -1
  1547. package/project/.sdk/tm/rust/feature/secrets/plugin/capability.rs +1 -1
  1548. package/project/.sdk/tm/rust/feature/secrets/plugin/catalog.rs +1 -1
  1549. package/project/.sdk/tm/rust/feature/secrets/plugin/config.rs +1 -1
  1550. package/project/.sdk/tm/rust/feature/secrets/plugin/depend.rs +1 -1
  1551. package/project/.sdk/tm/rust/feature/secrets/plugin/env.rs +1 -1
  1552. package/project/.sdk/tm/rust/feature/secrets/plugin/export.rs +1 -1
  1553. package/project/.sdk/tm/rust/feature/secrets/plugin/graph.rs +1 -1
  1554. package/project/.sdk/tm/rust/feature/secrets/plugin/host.rs +1 -1
  1555. package/project/.sdk/tm/rust/feature/secrets/plugin/mod.rs +1 -1
  1556. package/project/.sdk/tm/rust/feature/secrets/plugin/order.rs +1 -1
  1557. package/project/.sdk/tm/rust/feature/secrets/plugin/point.rs +1 -1
  1558. package/project/.sdk/tm/rust/feature/secrets/plugin/refs.rs +1 -1
  1559. package/project/.sdk/tm/rust/feature/secrets/plugin/resolve.rs +1 -1
  1560. package/project/.sdk/tm/rust/feature/secrets/plugin/types.rs +1 -1
  1561. package/project/.sdk/tm/rust/feature/secrets/plugin/value.rs +1 -1
  1562. package/project/.sdk/tm/rust/feature/secrets/plugin/version.rs +1 -1
  1563. package/project/.sdk/tm/rust/feature/secrets/plugins/aws/crypto.rs +1 -1
  1564. package/project/.sdk/tm/rust/feature/secrets/plugins/aws/sigv4.rs +1 -1
  1565. package/project/.sdk/tm/rust/feature/secrets/plugins/aws.rs +1 -1
  1566. package/project/.sdk/tm/rust/feature/secrets/plugins/azuresecrets.rs +1 -1
  1567. package/project/.sdk/tm/rust/feature/secrets/plugins/boru.rs +1 -1
  1568. package/project/.sdk/tm/rust/feature/secrets/plugins/doppler.rs +1 -1
  1569. package/project/.sdk/tm/rust/feature/secrets/plugins/gcpsecrets.rs +1 -1
  1570. package/project/.sdk/tm/rust/feature/secrets/plugins/hashicorp.rs +1 -1
  1571. package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/http.rs +1 -1
  1572. package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/json.rs +1 -1
  1573. package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson.rs +1 -1
  1574. package/project/.sdk/tm/rust/feature/secrets/plugins/infisical.rs +1 -1
  1575. package/project/.sdk/tm/rust/feature/secrets/plugins/minivault/format.rs +1 -1
  1576. package/project/.sdk/tm/rust/feature/secrets/plugins/minivault.rs +1 -1
  1577. package/project/.sdk/tm/rust/feature/secrets/plugins/onepassword.rs +1 -1
  1578. package/project/.sdk/tm/rust/feature/secrets/plugins/secretspec.rs +1 -1
  1579. package/project/.sdk/tm/rust/feature/secrets/sekreto/addr.rs +1 -1
  1580. package/project/.sdk/tm/rust/feature/secrets/sekreto/mod.rs +1 -1
  1581. package/project/.sdk/tm/rust/feature/secrets/sekreto/providers.rs +1 -1
  1582. package/project/.sdk/tm/rust/feature/secrets/sekreto/sekreto.rs +1 -1
  1583. package/project/.sdk/tm/rust/feature/secrets.rs +10 -1
  1584. package/project/.sdk/tm/rust/tests/common/mod.rs +3 -3
  1585. package/project/.sdk/tm/rust/tests/feature/secrets/main.rs +309 -10
  1586. package/project/.sdk/tm/rust/tests/omni_resolver/mod.rs +1 -1
  1587. package/project/.sdk/tm/rust/tests/pipeline_test.rs +5 -2
  1588. package/project/.sdk/tm/rust/tests/primary_utility_test.rs +281 -13
  1589. package/project/.sdk/tm/rust/tests/server_variable_test.rs +48 -0
  1590. package/project/.sdk/tm/rust/tests/struct_utility_test.rs +9 -1
  1591. package/project/.sdk/tm/rust/tests/vendor/omni/json.rs +27 -11
  1592. package/project/.sdk/tm/rust/tests/vendor/omni/mod.rs +1 -1
  1593. package/project/.sdk/tm/rust/tests/vendor/omni/regex.rs +1 -1
  1594. package/project/.sdk/tm/rust/tests/vendor/omni/runner.rs +1 -1
  1595. package/project/.sdk/tm/rust/tests/vendor/omni/util.rs +1 -1
  1596. package/project/.sdk/tm/rust/utility/clean.rs +128 -9
  1597. package/project/.sdk/tm/rust/utility/fetcher.rs +107 -44
  1598. package/project/.sdk/tm/rust/utility/make_error.rs +4 -4
  1599. package/project/.sdk/tm/rust/utility/make_options.rs +12 -8
  1600. package/project/.sdk/tm/rust/utility/voxgigstruct/consts.rs +18 -20
  1601. package/project/.sdk/tm/rust/utility/voxgigstruct/major.rs +1328 -227
  1602. package/project/.sdk/tm/rust/utility/voxgigstruct/mini.rs +90 -95
  1603. package/project/.sdk/tm/rust/utility/voxgigstruct/mod.rs +12 -8
  1604. package/project/.sdk/tm/rust/utility/voxgigstruct/ordered_map.rs +3 -1
  1605. package/project/.sdk/tm/rust/utility/voxgigstruct/re.rs +49 -6
  1606. package/project/.sdk/tm/rust/utility/voxgigstruct/value.rs +5 -2
  1607. package/project/.sdk/tm/scala/Makefile +4 -4
  1608. package/project/.sdk/tm/scala/core/Response.scala +19 -2
  1609. package/project/.sdk/tm/scala/core/Result.scala +2 -2
  1610. package/project/.sdk/tm/scala/core/SdkClient.scala +4 -4
  1611. package/project/.sdk/tm/scala/core/Types.scala +3 -0
  1612. package/project/.sdk/tm/scala/core/Utility.scala +2 -0
  1613. package/project/.sdk/tm/scala/feature/SecretsFeature.scala +2 -0
  1614. package/project/.sdk/tm/scala/feature/ValidateFeature.scala +4 -5
  1615. package/project/.sdk/tm/scala/feature/secrets/plugin/Capability.scala +2 -2
  1616. package/project/.sdk/tm/scala/feature/secrets/plugin/Config.scala +2 -2
  1617. package/project/.sdk/tm/scala/feature/secrets/plugin/Depend.scala +2 -2
  1618. package/project/.sdk/tm/scala/feature/secrets/plugin/Env.scala +2 -2
  1619. package/project/.sdk/tm/scala/feature/secrets/plugin/Export.scala +2 -2
  1620. package/project/.sdk/tm/scala/feature/secrets/plugin/Graph.scala +2 -2
  1621. package/project/.sdk/tm/scala/feature/secrets/plugin/Host.scala +2 -2
  1622. package/project/.sdk/tm/scala/feature/secrets/plugin/Json.scala +2 -2
  1623. package/project/.sdk/tm/scala/feature/secrets/plugin/Order.scala +2 -2
  1624. package/project/.sdk/tm/scala/feature/secrets/plugin/Plugin.scala +2 -2
  1625. package/project/.sdk/tm/scala/feature/secrets/plugin/Point.scala +2 -2
  1626. package/project/.sdk/tm/scala/feature/secrets/plugin/Refs.scala +2 -2
  1627. package/project/.sdk/tm/scala/feature/secrets/plugin/Resolve.scala +2 -2
  1628. package/project/.sdk/tm/scala/feature/secrets/plugin/Types.scala +2 -2
  1629. package/project/.sdk/tm/scala/feature/secrets/plugin/Value.scala +2 -2
  1630. package/project/.sdk/tm/scala/feature/secrets/plugin/Version.scala +2 -2
  1631. package/project/.sdk/tm/scala/feature/secrets/sekreto/Json.scala +2 -2
  1632. package/project/.sdk/tm/scala/feature/secrets/sekreto/Provider.scala +2 -2
  1633. package/project/.sdk/tm/scala/feature/secrets/sekreto/Providers.scala +2 -2
  1634. package/project/.sdk/tm/scala/feature/secrets/sekreto/Sekreto.scala +2 -2
  1635. package/project/.sdk/tm/scala/feature/secrets/sekreto/Spec.scala +2 -2
  1636. package/project/.sdk/tm/scala/feature/secrets/sekreto/Support.scala +2 -2
  1637. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Aws.scala +2 -2
  1638. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Azuresecrets.scala +2 -2
  1639. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Boru.scala +2 -2
  1640. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Doppler.scala +2 -2
  1641. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Gcpsecrets.scala +2 -2
  1642. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Hashicorp.scala +2 -2
  1643. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Httpjson.scala +2 -2
  1644. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Infisical.scala +2 -2
  1645. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Minivault.scala +2 -2
  1646. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Onepassword.scala +2 -2
  1647. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Secretspec.scala +2 -2
  1648. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Sigv4.scala +2 -2
  1649. package/project/.sdk/tm/scala/sdktest/PrimaryCorpus.scala +10 -4
  1650. package/project/.sdk/tm/scala/sdktest/SdkTestMain.scala +219 -3
  1651. package/project/.sdk/tm/scala/sdktest/StructCorpus.scala +20 -14
  1652. package/project/.sdk/tm/scala/sdktest/feature/secrets/SecretsTestMain.scala +108 -0
  1653. package/project/.sdk/tm/scala/sdktest/vendor/omni/Json.scala +2 -2
  1654. package/project/.sdk/tm/scala/sdktest/vendor/omni/Runner.scala +2 -2
  1655. package/project/.sdk/tm/scala/sdktest/vendor/omni/Util.scala +2 -2
  1656. package/project/.sdk/tm/scala/utility/Fetcher.scala +101 -14
  1657. package/project/.sdk/tm/scala/utility/Make.scala +4 -4
  1658. package/project/.sdk/tm/scala/utility/Misc.scala +133 -13
  1659. package/project/.sdk/tm/scala/utility/Register.scala +1 -0
  1660. package/project/.sdk/tm/scala/utility/Transform.scala +6 -1
  1661. package/project/.sdk/tm/scala/utility/struct/Struct.java +1267 -253
  1662. package/project/.sdk/tm/scala/utility/struct/voxgig_struct.scala +909 -202
  1663. package/project/.sdk/tm/swift/Makefile +5 -5
  1664. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Condense.swift +351 -0
  1665. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Constants.swift +7 -4
  1666. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Inject.swift +39 -24
  1667. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Injection.swift +51 -14
  1668. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/JSON.swift +4 -1
  1669. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Merge.swift +3 -0
  1670. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Minor.swift +190 -77
  1671. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/OrderedDictionary.swift +3 -0
  1672. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Path.swift +37 -8
  1673. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Select.swift +37 -20
  1674. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Transform.swift +67 -46
  1675. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Validate.swift +602 -110
  1676. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Value.swift +22 -16
  1677. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Walk.swift +9 -1
  1678. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/core/Response.swift +20 -2
  1679. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/core/Result.swift +2 -2
  1680. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/core/Support.swift +15 -0
  1681. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/core/Utility.swift +2 -0
  1682. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/SecretsFeature.swift +2 -0
  1683. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/TestFeature.swift +6 -6
  1684. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/ValidateFeature.swift +5 -6
  1685. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Capability.swift +2 -2
  1686. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Catalog.swift +2 -2
  1687. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Config.swift +2 -2
  1688. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Depend.swift +2 -2
  1689. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Env.swift +2 -2
  1690. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Export.swift +2 -2
  1691. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Graph.swift +2 -2
  1692. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Host.swift +2 -2
  1693. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Json.swift +2 -2
  1694. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Order.swift +2 -2
  1695. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Point.swift +2 -2
  1696. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Refs.swift +2 -2
  1697. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Resolve.swift +2 -2
  1698. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Types.swift +2 -2
  1699. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Value.swift +2 -2
  1700. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Version.swift +2 -2
  1701. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Aws.swift +2 -2
  1702. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Azuresecrets.swift +2 -2
  1703. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Boru.swift +2 -2
  1704. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Crypto.swift +2 -2
  1705. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Doppler.swift +2 -2
  1706. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Gcpsecrets.swift +2 -2
  1707. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Hashicorp.swift +2 -2
  1708. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Httpjson.swift +2 -2
  1709. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Infisical.swift +2 -2
  1710. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Onepassword.swift +2 -2
  1711. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Proc.swift +2 -2
  1712. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Secretspec.swift +2 -2
  1713. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Sigv4.swift +2 -2
  1714. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Addr.swift +2 -2
  1715. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Json.swift +2 -2
  1716. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Provider.swift +2 -2
  1717. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Providers.swift +2 -2
  1718. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Sekreto.swift +2 -2
  1719. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/utility/Fetcher.swift +24 -8
  1720. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/utility/MakeError.swift +4 -4
  1721. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/utility/MakeOptions.swift +7 -7
  1722. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/utility/Register.swift +1 -0
  1723. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/utility/ResultUtil.swift +130 -30
  1724. package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/OmniResolver.swift +2 -2
  1725. package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/PipelineTest.swift +1 -1
  1726. package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/PrimaryUtilityTest.swift +191 -1
  1727. package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/Runner.swift +3 -3
  1728. package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/StructUtilityTest.swift +36 -14
  1729. package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/feature/secrets/SecretsFeatureTest.swift +167 -1
  1730. package/project/.sdk/tm/swift/Tests/vendor/omni/Json.swift +32 -8
  1731. package/project/.sdk/tm/swift/Tests/vendor/omni/Runner.swift +2 -2
  1732. package/project/.sdk/tm/swift/Tests/vendor/omni/Util.swift +2 -2
  1733. package/project/.sdk/tm/ts/Makefile +3 -2
  1734. package/project/.sdk/tm/ts/src/feature/secrets/SecretsFeature.ts +2 -0
  1735. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Capability.ts +1 -1
  1736. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Catalog.ts +1 -1
  1737. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Config.ts +1 -1
  1738. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Depend.ts +1 -1
  1739. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Env.ts +1 -1
  1740. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Export.ts +1 -1
  1741. package/project/.sdk/tm/ts/src/feature/secrets/plugin/FeatureHost.ts +1 -1
  1742. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Graph.ts +1 -1
  1743. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Host.ts +1 -1
  1744. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Order.ts +1 -1
  1745. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Point.ts +1 -1
  1746. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Ref.ts +1 -1
  1747. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Resolve.ts +1 -1
  1748. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Types.ts +1 -1
  1749. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Version.ts +1 -1
  1750. package/project/.sdk/tm/ts/src/feature/secrets/plugin/index.ts +1 -1
  1751. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/Sekreto.ts +1 -1
  1752. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/index.ts +1 -1
  1753. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/aws.ts +1 -1
  1754. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/azuresecrets.ts +1 -1
  1755. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/boru.ts +1 -1
  1756. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/doppler.ts +1 -1
  1757. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/gcpsecrets.ts +1 -1
  1758. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/hashicorp.ts +1 -1
  1759. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/httpjson.ts +1 -1
  1760. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/infisical.ts +1 -1
  1761. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/minivault.ts +1 -1
  1762. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/onepassword.ts +1 -1
  1763. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/secretspec.ts +1 -1
  1764. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/sigv4.ts +1 -1
  1765. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/addr.ts +1 -1
  1766. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/builtin.ts +1 -1
  1767. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/dotenv.ts +1 -1
  1768. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/env.ts +1 -1
  1769. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/file.ts +1 -1
  1770. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/memory.ts +1 -1
  1771. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/support.ts +1 -1
  1772. package/project/.sdk/tm/ts/src/utility/CleanUtility.ts +115 -10
  1773. package/project/.sdk/tm/ts/src/utility/FetcherUtility.ts +100 -1
  1774. package/project/.sdk/tm/ts/src/utility/MakeErrorUtility.ts +2 -1
  1775. package/project/.sdk/tm/ts/src/utility/MediaUtility.ts +32 -0
  1776. package/project/.sdk/tm/ts/src/utility/ResultBodyUtility.ts +5 -14
  1777. package/project/.sdk/tm/ts/src/utility/StructUtility.ts +708 -199
  1778. package/project/.sdk/tm/ts/src/utility/Utility.ts +2 -1
  1779. package/project/.sdk/tm/ts/test/feature/secrets/Secrets.test.ts +93 -2
  1780. package/project/.sdk/tm/ts/test/live-entity.ts +8 -8
  1781. package/project/.sdk/tm/ts/test/utility/PrimaryUtility.test.ts +9 -1
  1782. package/project/.sdk/tm/ts/test/utility/StructUtility.test.ts +32 -27
  1783. package/project/.sdk/tm/ts/test/utility/index.ts +1 -1
  1784. package/project/.sdk/tm/ts/test/vendor/omni/Runner.ts +1 -1
  1785. package/project/.sdk/tm/ts/test/vendor/omni/Util.ts +1 -1
  1786. package/project/.sdk/tm/ts/test/vendor/omni/index.ts +1 -1
  1787. package/project/.sdk/tm/zig/core/helpers.zig +2 -2
  1788. package/project/.sdk/tm/zig/core/result.zig +2 -2
  1789. package/project/.sdk/tm/zig/core/types.zig +2 -2
  1790. package/project/.sdk/tm/zig/core/utility.zig +96 -20
  1791. package/project/.sdk/tm/zig/feature/netsim.zig +1 -1
  1792. package/project/.sdk/tm/zig/feature/rbac.zig +1 -1
  1793. package/project/.sdk/tm/zig/feature/secrets/plugin/capability.zig +2 -2
  1794. package/project/.sdk/tm/zig/feature/secrets/plugin/catalog.zig +2 -2
  1795. package/project/.sdk/tm/zig/feature/secrets/plugin/config.zig +2 -2
  1796. package/project/.sdk/tm/zig/feature/secrets/plugin/depend.zig +2 -2
  1797. package/project/.sdk/tm/zig/feature/secrets/plugin/env.zig +2 -2
  1798. package/project/.sdk/tm/zig/feature/secrets/plugin/export.zig +2 -2
  1799. package/project/.sdk/tm/zig/feature/secrets/plugin/graph.zig +2 -2
  1800. package/project/.sdk/tm/zig/feature/secrets/plugin/host.zig +2 -2
  1801. package/project/.sdk/tm/zig/feature/secrets/plugin/inst.zig +2 -2
  1802. package/project/.sdk/tm/zig/feature/secrets/plugin/order.zig +2 -2
  1803. package/project/.sdk/tm/zig/feature/secrets/plugin/plugin.zig +2 -2
  1804. package/project/.sdk/tm/zig/feature/secrets/plugin/point.zig +2 -2
  1805. package/project/.sdk/tm/zig/feature/secrets/plugin/ref.zig +2 -2
  1806. package/project/.sdk/tm/zig/feature/secrets/plugin/resolve.zig +2 -2
  1807. package/project/.sdk/tm/zig/feature/secrets/plugin/types.zig +2 -2
  1808. package/project/.sdk/tm/zig/feature/secrets/plugin/value.zig +2 -2
  1809. package/project/.sdk/tm/zig/feature/secrets/plugin/version.zig +2 -2
  1810. package/project/.sdk/tm/zig/feature/secrets/plugins/aws.zig +2 -2
  1811. package/project/.sdk/tm/zig/feature/secrets/plugins/azuresecrets.zig +2 -2
  1812. package/project/.sdk/tm/zig/feature/secrets/plugins/boru.zig +2 -2
  1813. package/project/.sdk/tm/zig/feature/secrets/plugins/doppler.zig +2 -2
  1814. package/project/.sdk/tm/zig/feature/secrets/plugins/gcpsecrets.zig +2 -2
  1815. package/project/.sdk/tm/zig/feature/secrets/plugins/hashicorp.zig +2 -2
  1816. package/project/.sdk/tm/zig/feature/secrets/plugins/httpjson.zig +2 -2
  1817. package/project/.sdk/tm/zig/feature/secrets/plugins/infisical.zig +2 -2
  1818. package/project/.sdk/tm/zig/feature/secrets/plugins/minivault.zig +2 -2
  1819. package/project/.sdk/tm/zig/feature/secrets/plugins/onepassword.zig +2 -2
  1820. package/project/.sdk/tm/zig/feature/secrets/plugins/secretspec.zig +2 -2
  1821. package/project/.sdk/tm/zig/feature/secrets/plugins/sigv4.zig +2 -2
  1822. package/project/.sdk/tm/zig/feature/secrets/sekreto/addr.zig +2 -2
  1823. package/project/.sdk/tm/zig/feature/secrets/sekreto/builtins.zig +2 -2
  1824. package/project/.sdk/tm/zig/feature/secrets/sekreto/provider.zig +2 -2
  1825. package/project/.sdk/tm/zig/feature/secrets/sekreto/sekreto.zig +2 -2
  1826. package/project/.sdk/tm/zig/feature/secrets.zig +3 -1
  1827. package/project/.sdk/tm/zig/feature/validate.zig +4 -5
  1828. package/project/.sdk/tm/zig/test/feature/secrets/secrets_test.zig +199 -39
  1829. package/project/.sdk/tm/zig/test/fh.zig +11 -0
  1830. package/project/.sdk/tm/zig/test/gotcha_test.zig +11 -10
  1831. package/project/.sdk/tm/zig/test/omniresolver.zig +1 -1
  1832. package/project/.sdk/tm/zig/test/pipeline_test.zig +1 -1
  1833. package/project/.sdk/tm/zig/test/primary_utility_test.zig +17 -9
  1834. package/project/.sdk/tm/zig/test/server_variable_test.zig +46 -0
  1835. package/project/.sdk/tm/zig/test/struct_corpus.zig +54 -34
  1836. package/project/.sdk/tm/zig/test/vendor/omni/omni.zig +2 -2
  1837. package/project/.sdk/tm/zig/test/vendor/omni/regex.zig +2 -2
  1838. package/project/.sdk/tm/zig/utility/voxgigstruct/regex.zig +35 -16
  1839. package/project/.sdk/tm/zig/utility/voxgigstruct/struct.zig +1680 -563
  1840. package/project/sdkgen-package.json +1 -1
  1841. package/src/action/check.ts +82 -4
  1842. package/src/action/doctor.ts +70 -6
  1843. package/src/action/package.ts +1 -13
  1844. package/src/action/remove.ts +19 -5
  1845. package/src/action/resolve.ts +11 -4
  1846. package/src/action/target.ts +75 -32
  1847. package/src/admin/status.ts +25 -5
  1848. package/src/cmp/AgentGuide.ts +57 -32
  1849. package/src/cmp/AgentGuideContent.ts +26 -19
  1850. package/src/cmp/AgentGuideFeature.ts +15 -6
  1851. package/src/cmp/AgentGuideTop.ts +28 -16
  1852. package/src/cmp/Changelog.ts +46 -6
  1853. package/src/cmp/Deploy.ts +76 -25
  1854. package/src/cmp/Entity.ts +1 -1
  1855. package/src/cmp/ExternalTarget.ts +6 -0
  1856. package/src/cmp/Feature.ts +3 -3
  1857. package/src/cmp/FeatureDocs.ts +4 -2
  1858. package/src/cmp/License.ts +33 -10
  1859. package/src/cmp/Main.ts +1 -1
  1860. package/src/cmp/PublishWorkflow.ts +66 -58
  1861. package/src/cmp/Readme.ts +0 -2
  1862. package/src/cmp/ReadmeErrors.ts +82 -81
  1863. package/src/cmp/ReadmeExplanation.ts +7 -11
  1864. package/src/cmp/ReadmeFeatures.ts +16 -9
  1865. package/src/cmp/ReadmeIntro.ts +1 -1
  1866. package/src/cmp/ReadmeModel.ts +17 -11
  1867. package/src/cmp/ReadmeOptions.ts +3 -16
  1868. package/src/cmp/ReadmeQuick.ts +11 -2
  1869. package/src/cmp/ReadmeRefFeatures.ts +38 -33
  1870. package/src/cmp/ReadmeStation.ts +4 -5
  1871. package/src/cmp/ReadmeTop.ts +145 -102
  1872. package/src/cmp/Registered.ts +1 -1
  1873. package/src/cmp/Security.ts +32 -5
  1874. package/src/cmp/Test.ts +1 -1
  1875. package/src/helpers/alongside.ts +16 -19
  1876. package/src/helpers/applicability.ts +16 -1
  1877. package/src/helpers/canonSpec.ts +56 -10
  1878. package/src/helpers/clientOptions.ts +67 -0
  1879. package/src/helpers/component.ts +11 -1
  1880. package/src/helpers/consumer.ts +62 -0
  1881. package/src/helpers/definitionPlan.ts +0 -1
  1882. package/src/helpers/doctext.ts +12 -2
  1883. package/src/helpers/facts.ts +243 -5
  1884. package/src/helpers/flowGuard.ts +23 -8
  1885. package/src/helpers/generated.ts +3 -1
  1886. package/src/helpers/graphqlPoint.ts +20 -1
  1887. package/src/helpers/guardModel.ts +50 -0
  1888. package/src/helpers/manifest.ts +19 -0
  1889. package/src/helpers/mcpTools.ts +15 -3
  1890. package/src/helpers/naming.ts +3 -2
  1891. package/src/helpers/opShape.ts +56 -18
  1892. package/src/helpers/optional.ts +0 -1
  1893. package/src/helpers/optspec.ts +22 -5
  1894. package/src/helpers/packageMeta.ts +142 -45
  1895. package/src/helpers/placement.ts +114 -0
  1896. package/src/helpers/readerdir.ts +33 -0
  1897. package/src/helpers/semver.ts +26 -0
  1898. package/src/helpers/serverVars.ts +4 -2
  1899. package/src/helpers/shipped.ts +13 -0
  1900. package/src/helpers/sourcestring.ts +55 -0
  1901. package/src/helpers/stdrep.ts +9 -4
  1902. package/src/helpers/surface.ts +100 -0
  1903. package/src/helpers/targetguard.ts +91 -0
  1904. package/src/helpers/testPolicy.ts +3 -3
  1905. package/src/helpers/text.ts +22 -0
  1906. package/src/helpers/textguard.ts +208 -0
  1907. package/src/helpers/title.ts +59 -0
  1908. package/src/sdkgen.ts +89 -88
  1909. package/src/testkit.ts +12 -0
  1910. package/src/utility.ts +12 -5
  1911. package/project/.sdk/src/cmp/c/ReadmeOptions_c.ts +0 -65
  1912. package/project/.sdk/src/cmp/clojure/ReadmeOptions_clojure.ts +0 -61
  1913. package/project/.sdk/src/cmp/cpp/ReadmeOptions_cpp.ts +0 -62
  1914. package/project/.sdk/src/cmp/csharp/ReadmeOptions_csharp.ts +0 -60
  1915. package/project/.sdk/src/cmp/elixir/ReadmeOptions_elixir.ts +0 -62
  1916. package/project/.sdk/src/cmp/go/ReadmeOptions_go.ts +0 -59
  1917. package/project/.sdk/src/cmp/java/ReadmeOptions_java.ts +0 -61
  1918. package/project/.sdk/src/cmp/js/ReadmeOptions_js.ts +0 -59
  1919. package/project/.sdk/src/cmp/kotlin/ReadmeOptions_kotlin.ts +0 -61
  1920. package/project/.sdk/src/cmp/lua/ReadmeOptions_lua.ts +0 -59
  1921. package/project/.sdk/src/cmp/ocaml/ReadmeOptions_ocaml.ts +0 -59
  1922. package/project/.sdk/src/cmp/perl/ReadmeOptions_perl.ts +0 -59
  1923. package/project/.sdk/src/cmp/php/ReadmeOptions_php.ts +0 -59
  1924. package/project/.sdk/src/cmp/py/ReadmeOptions_py.ts +0 -59
  1925. package/project/.sdk/src/cmp/rb/ReadmeOptions_rb.ts +0 -59
  1926. package/project/.sdk/src/cmp/rust/ReadmeOptions_rust.ts +0 -60
  1927. package/project/.sdk/src/cmp/scala/ReadmeOptions_scala.ts +0 -61
  1928. package/project/.sdk/src/cmp/swift/ReadmeOptions_swift.ts +0 -62
  1929. package/project/.sdk/src/cmp/ts/ReadmeOptions_ts.ts +0 -59
  1930. package/project/.sdk/src/cmp/zig/ReadmeOptions_zig.ts +0 -60
  1931. package/project/.sdk/tm/c/LICENSE +0 -22
  1932. package/project/.sdk/tm/c/VERSION +0 -1
  1933. package/project/.sdk/tm/clojure/LICENSE +0 -22
  1934. package/project/.sdk/tm/clojure/VERSION +0 -1
  1935. package/project/.sdk/tm/cpp/LICENSE +0 -22
  1936. package/project/.sdk/tm/cpp/VERSION +0 -1
  1937. package/project/.sdk/tm/csharp/LICENSE +0 -22
  1938. package/project/.sdk/tm/csharp/VERSION +0 -1
  1939. package/project/.sdk/tm/elixir/LICENSE +0 -21
  1940. package/project/.sdk/tm/elixir/VERSION +0 -1
  1941. package/project/.sdk/tm/go/LICENSE +0 -22
  1942. package/project/.sdk/tm/go/VERSION +0 -1
  1943. package/project/.sdk/tm/java/LICENSE +0 -22
  1944. package/project/.sdk/tm/java/VERSION +0 -1
  1945. package/project/.sdk/tm/js/LICENSE +0 -22
  1946. package/project/.sdk/tm/kotlin/LICENSE +0 -22
  1947. package/project/.sdk/tm/kotlin/VERSION +0 -1
  1948. package/project/.sdk/tm/lua/LICENSE +0 -22
  1949. package/project/.sdk/tm/ocaml/LICENSE +0 -21
  1950. package/project/.sdk/tm/ocaml/VERSION +0 -1
  1951. package/project/.sdk/tm/perl/LICENSE +0 -22
  1952. package/project/.sdk/tm/php/LICENSE +0 -22
  1953. package/project/.sdk/tm/php/VERSION +0 -1
  1954. package/project/.sdk/tm/py/LICENSE +0 -22
  1955. package/project/.sdk/tm/py-data/LICENSE +0 -22
  1956. package/project/.sdk/tm/rb/LICENSE +0 -22
  1957. package/project/.sdk/tm/rust/LICENSE +0 -22
  1958. package/project/.sdk/tm/rust/VERSION +0 -1
  1959. package/project/.sdk/tm/scala/LICENSE +0 -22
  1960. package/project/.sdk/tm/scala/VERSION +0 -1
  1961. package/project/.sdk/tm/swift/LICENSE +0 -22
  1962. package/project/.sdk/tm/swift/VERSION +0 -1
  1963. package/project/.sdk/tm/ts/LICENSE +0 -22
  1964. package/project/.sdk/tm/zig/LICENSE +0 -21
  1965. package/project/.sdk/tm/zig/VERSION +0 -1
@@ -1,3 +1,6 @@
1
+ ;; VENDORED: @voxgig/struct 0.1.1 (clojure/src/voxgig/struct.clj)
2
+ ;; Source: https://github.com/voxgig/struct @ 358af9d51c90b589a295a70b2165dbe4629eaf8e [tag: sdk-20261125-1959-0]
3
+ ;; License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
1
4
  ;; Copyright (c) 2025-2026 Voxgig Ltd. MIT LICENSE.
2
5
  ;;
3
6
  ;; Voxgig Struct
@@ -18,7 +21,7 @@
18
21
  (:refer-clojure :exclude [merge filter flatten replace]))
19
22
 
20
23
  (import '(java.util LinkedHashMap ArrayList List Map)
21
- '(java.util.regex Pattern Matcher))
24
+ '(java.util.regex Pattern Matcher PatternSyntaxException))
22
25
 
23
26
  ;; ---------------------------------------------------------------------------
24
27
  ;; String / mode / type constants
@@ -98,6 +101,7 @@
98
101
  ;; Private markers (compared by identity).
99
102
  (def SKIP (doto (LinkedHashMap.) (.put "`$SKIP`" true)))
100
103
  (def DELETE (doto (LinkedHashMap.) (.put "`$DELETE`" true)))
104
+ (def ^:private HELDNULL (Object.))
101
105
 
102
106
  (def ^:const MAXDEPTH 32)
103
107
 
@@ -107,6 +111,22 @@
107
111
  (def ^:private R-INJECT-FULL (Pattern/compile "^`(\\$[A-Z]+|[^`]*)[0-9]*`$"))
108
112
  (def ^:private R-INJECT-PART (Pattern/compile "`([^`]*)`"))
109
113
  (def ^:private R-TRANSFORM-NAME (Pattern/compile "`\\$([A-Z]+)`"))
114
+ (def ^:private R-CHECKER-NAME (Pattern/compile "^\\$[A-Z]+$"))
115
+
116
+ (def ^:private CONDENSE_VERSION 1)
117
+ (def ^:private CONDENSE_MAP 0)
118
+ (def ^:private CONDENSE_LIST 1)
119
+ (def ^:private CONDENSE_STR 2)
120
+ (def ^:private CONDENSE_NUM 3)
121
+ (def ^:private CONDENSE_TRUE 4)
122
+ (def ^:private CONDENSE_FALSE 5)
123
+ (def ^:private CONDENSE_NULL 6)
124
+ (def ^:private S-condense "$condense")
125
+ (def ^:private S-condsym "sym")
126
+ (def ^:private S-condnode "node")
127
+ (def ^:private S-condroot "root")
128
+ (def ^:private CONDENSE-IMMUTABLE
129
+ "struct: condensed structures are immutable - expand() first, then modify the copy")
110
130
 
111
131
  ;; ---------------------------------------------------------------------------
112
132
  ;; Mutable-collection helpers
@@ -137,7 +157,8 @@
137
157
  _injecthandler _validatehandler _invalidTypeMsg
138
158
  inj-descend inj-child inj-setval
139
159
  checkPlacement injectorArgs injectChild
140
- validate transform select jsonify FORMATTER)
160
+ validate transform select jsonify FORMATTER
161
+ iscondensed expand condenseresolve condensematerialise condensekey)
141
162
 
142
163
  ;; ---------------------------------------------------------------------------
143
164
  ;; Low-level numeric / key helpers
@@ -147,16 +168,27 @@
147
168
  (defn- jdouble? [v] (or (instance? Double v) (instance? Float v)))
148
169
  (defn- jint? [v] (and (number? v) (not (jbool? v)) (not (jdouble? v))))
149
170
 
150
- (defn- parse-long-strict
151
- "Mirror Python int(key): coerce numbers (floor), parse integer strings."
152
- [k]
171
+ ;; A list key's index, possibly negative, or nil: an integral number, or the
172
+ ;; string String(n) prints for one ("01", " 1", "+1", "1.0" and "-0" are not).
173
+ (defn- listindex [key]
153
174
  (cond
154
- (jbool? k) nil
155
- (jint? k) (long k)
156
- (jdouble? k) (long (Math/floor (double k)))
157
- (string? k) (try (Long/parseLong (.trim ^String k)) (catch Exception _ nil))
175
+ (jdouble? key) (let [d (double key)]
176
+ (when (and (== d (Math/rint d)) (not (Double/isInfinite d))) (unchecked-long d)))
177
+ (or (string? key) (number? key))
178
+ (let [k (str key)]
179
+ (when (re-matches #"0|-?[1-9][0-9]*" k)
180
+ (try (Long/parseLong k)
181
+ (catch NumberFormatException _ (if (.startsWith k "-") Long/MIN_VALUE Long/MAX_VALUE)))))
158
182
  :else nil))
159
183
 
184
+ ;; The index a list read takes key to, or nil: a non-negative list key in range.
185
+ (defn- readindex [^List lst key]
186
+ (let [ki (listindex key)]
187
+ (when (and ki (<= 0 ki) (< ki (.size lst))) ki)))
188
+
189
+ ;; Only a string or a number names a property.
190
+ (defn- readkey? [key] (or (string? key) (number? key)))
191
+
160
192
  ;; ---------------------------------------------------------------------------
161
193
  ;; Minor utilities
162
194
  ;; ---------------------------------------------------------------------------
@@ -249,14 +281,12 @@
249
281
  (if (or (nil? val) (nil? key))
250
282
  alt
251
283
  (do
252
- (when (islist val)
253
- (let [ks (str key)]
254
- (when (re-matches #"-?[0-9]+" ks)
255
- (let [len (.size ^List val)
256
- nk0 (Long/parseLong ks)
257
- nk (if (neg? nk0) (+ len nk0) nk0)]
258
- (when (and (<= 0 nk) (< nk len))
259
- (reset! out (.get ^List val (int nk))))))))
284
+ (when-let [ki (when (islist val) (listindex key))]
285
+ (let [len (.size ^List val)
286
+ ;; A negative key counts from the end.
287
+ nk (if (neg? ki) (+ len ki) ki)]
288
+ (when (and (<= 0 nk) (< nk len))
289
+ (reset! out (.get ^List val (int nk))))))
260
290
  (if (nil? @out)
261
291
  (if (isfunc alt) (alt) alt)
262
292
  @out))))))
@@ -266,26 +296,24 @@
266
296
  ([val key alt]
267
297
  (if (or (nil? val) (nil? key))
268
298
  alt
269
- (let [out (cond
270
- (ismap val) (let [skey (str key)]
271
- (if (.containsKey ^Map val skey)
272
- (.get ^Map val skey) alt))
273
- (islist val) (let [ki (parse-long-strict key)]
274
- (if (and ki (<= 0 ki) (< ki (.size ^List val)))
275
- (.get ^List val (int ki)) alt))
276
- :else alt)]
277
- (if (nil? out) alt out)))))
299
+ (let [out (_lookup val key)]
300
+ (if (or (nil? out) (identical? out NOARG)) alt out)))))
278
301
 
279
302
  (defn- _lookup [val key]
280
303
  (cond
281
304
  (or (nil? val) (nil? key)) nil
282
- (ismap val) (let [skey (str key)]
283
- (if (.containsKey ^Map val skey) (.get ^Map val skey) nil))
284
- (islist val) (let [ki (parse-long-strict key)]
285
- (if (and ki (<= 0 ki) (< ki (.size ^List val)))
286
- (.get ^List val (int ki)) nil))
305
+ (ismap val) (when (readkey? key) (.get ^Map val (str key)))
306
+ (islist val) (when-let [ki (readindex val key)] (.get ^List val (int ki)))
287
307
  :else nil))
288
308
 
309
+ ;; Literal presence, beside _lookup: a nil the node holds is a null, not an absent key.
310
+ (defn- _holds [val key]
311
+ (cond
312
+ (nil? key) false
313
+ (ismap val) (and (readkey? key) (.containsKey ^Map val (str key)))
314
+ (islist val) (some? (readindex val key))
315
+ :else false))
316
+
289
317
  (defn haskey
290
318
  ([val] (haskey val nil))
291
319
  ([val key] (some? (getprop val key))))
@@ -324,10 +352,11 @@
324
352
 
325
353
  (defn setprop [parent key val]
326
354
  (when (iskey key)
355
+ (when (iscondensed parent) (throw (RuntimeException. ^String CONDENSE-IMMUTABLE)))
327
356
  (cond
328
357
  (ismap parent) (.put ^Map parent (str key) val)
329
358
  (islist parent)
330
- (let [ki (parse-long-strict key)]
359
+ (let [ki (listindex key)]
331
360
  (when ki
332
361
  (let [^List p parent len (.size p)]
333
362
  (if (>= ki 0)
@@ -338,10 +367,11 @@
338
367
 
339
368
  (defn delprop [parent key]
340
369
  (when (iskey key)
370
+ (when (iscondensed parent) (throw (RuntimeException. ^String CONDENSE-IMMUTABLE)))
341
371
  (cond
342
372
  (ismap parent) (.remove ^Map parent (str key))
343
373
  (islist parent)
344
- (let [ki (parse-long-strict key)]
374
+ (let [ki (listindex key)]
345
375
  (when ki
346
376
  (let [^List p parent]
347
377
  (when (and (<= 0 ki) (< ki (.size p)))
@@ -763,16 +793,34 @@
763
793
  ;; getpath / setpath
764
794
  ;; ---------------------------------------------------------------------------
765
795
 
796
+ ;; A number part reads as String(n) prints it; any part neither string nor
797
+ ;; number makes the whole path miss.
798
+ (defn- pathparts ^ArrayList [path]
799
+ (when (every? #(or (string? %) (number? %)) path)
800
+ (alist-of (map condensekey path))))
801
+
766
802
  (defn getpath
767
803
  ([store path] (getpath store path nil))
768
804
  ([store path injdef]
769
805
  (let [parts (cond
770
- (islist path) (alist-of path)
806
+ (islist path) (pathparts path)
771
807
  (string? path) (alist-of (.split ^String path "\\." -1))
772
- (and (number? path) (not (jbool? path))) (alist-of [(strkey path)])
773
- :else nil)]
774
- (if (nil? parts)
808
+ (number? path) (alist-of [(condensekey path)])
809
+ :else nil)
810
+ condensed (and (some? parts) (iscondensed store))
811
+ direct (and condensed
812
+ (nil? (if (inj? injdef) (ig injdef :base) (when injdef (getprop injdef S-base)))))
813
+ store (if (and condensed (not direct)) (expand store) store)]
814
+ (cond
815
+ (nil? parts)
775
816
  nil
817
+
818
+ ;; Reads only the nodes on the path. A base changes what the path
819
+ ;; resolves against, so that read walks the expanded copy instead.
820
+ direct
821
+ (condensematerialise store (condenseresolve store (_lookup store S-condroot) parts))
822
+
823
+ :else
776
824
  (let [is-inj (inj? injdef)
777
825
  base (if is-inj (ig injdef :base) (when injdef (getprop injdef S-base)))
778
826
  dparent (if is-inj (ig injdef :dparent) (when injdef (getprop injdef "dparent")))
@@ -835,6 +883,7 @@
835
883
  (defn setpath
836
884
  ([store path val] (setpath store path val nil))
837
885
  ([store path val injdef]
886
+ (when (iscondensed store) (throw (RuntimeException. ^String CONDENSE-IMMUTABLE)))
838
887
  (let [ptype (typify path)
839
888
  parts (cond
840
889
  (pos? (bit-and T_list ptype)) (alist-of path)
@@ -897,7 +946,7 @@
897
946
  :path (alist-of (concat (ig inj :path) [key]))
898
947
  :nodes (alist-of (concat (ig inj :nodes) [val]))
899
948
  :handler (ig inj :handler) :errs (ig inj :errs) :meta (ig inj :meta)
900
- :base (ig inj :base) :modify (ig inj :modify)})]
949
+ :base (ig inj :base) :modify (ig inj :modify) :named false})]
901
950
  (is! cinj :prior inj)
902
951
  (is! cinj :dpath (alist-of (ig inj :dpath)))
903
952
  (is! cinj :dparent (ig inj :dparent))
@@ -908,12 +957,16 @@
908
957
  (defn- inj-setval
909
958
  ([^Inj inj val] (inj-setval inj val nil))
910
959
  ([^Inj inj val ancestor]
911
- (let [[target key] (if (or (nil? ancestor) (< ancestor 2))
960
+ (let [near (or (nil? ancestor) (< ancestor 2))
961
+ [target key] (if near
912
962
  [(ig inj :parent) (ig inj :key)]
913
963
  [(getelem (ig inj :nodes) (- ancestor)) (getelem (ig inj :path) (- ancestor))])]
914
- (if (nil? val)
915
- (delprop target key)
916
- (setprop target key val)))))
964
+ (cond
965
+ ;; A list keeps the removed slot as a hole until inject's loop ends.
966
+ (and (nil? val) near (islist target)) (setprop target key SKIP)
967
+ (nil? val) (delprop target key)
968
+ (identical? val HELDNULL) (setprop target key nil)
969
+ :else (setprop target key val)))))
917
970
 
918
971
  ;; ---------------------------------------------------------------------------
919
972
  ;; inject
@@ -929,7 +982,7 @@
929
982
  inj (new-inj
930
983
  {:mode S-MVAL :full false :keyI 0 :keys (alist-of [S-DTOP]) :key S-DTOP
931
984
  :val val :parent parent :path (alist-of [S-DTOP]) :nodes (alist-of [parent])
932
- :handler _injecthandler :base S-DTOP
985
+ :handler _injecthandler :base S-DTOP :named false
933
986
  :modify (when injdef (getprop injdef "modify"))
934
987
  :meta (getprop injdef "meta" (lhm))
935
988
  :errs (getprop store S-DERRS (alist))})]
@@ -943,6 +996,7 @@
943
996
  (when (getprop injdef "dpath") (is! inj :dpath (getprop injdef "dpath"))))
944
997
  inj))]
945
998
  (inj-descend inj)
999
+ (is! inj :named false)
946
1000
 
947
1001
  (let [val
948
1002
  (cond
@@ -952,6 +1006,7 @@
952
1006
  (let [ks (vec (map str (map-keys val)))
953
1007
  normal (sort (clojure.core/filter #(not (.contains ^String % S-DS)) ks))
954
1008
  trans (sort (clojure.core/filter #(.contains ^String % S-DS) ks))]
1009
+ (is! inj :named (> (count normal) 0))
955
1010
  (alist-of (concat normal trans)))
956
1011
  (alist-of (map str (range (.size ^List val))))))]
957
1012
  (loop [nkI 0]
@@ -970,6 +1025,8 @@
970
1025
  (_injectstr nodekey store childinj)
971
1026
  (reset! nodekeys (ig childinj :keys)))
972
1027
  (recur (inc (ig childinj :keyI)))))))
1028
+ (when (islist val)
1029
+ (.removeIf ^List val (reify java.util.function.Predicate (test [_ x] (identical? x SKIP)))))
973
1030
  val)
974
1031
 
975
1032
  (string? val)
@@ -977,20 +1034,22 @@
977
1034
  (is! inj :mode S-MVAL)
978
1035
  (let [v (_injectstr val store inj)]
979
1036
  (when-not (identical? v SKIP) (inj-setval inj v))
980
- v))
1037
+ (if (identical? v HELDNULL) nil v)))
981
1038
 
982
1039
  :else val)]
983
1040
 
984
1041
  ;; Custom modification (runs after special commands).
985
1042
  (when (and (ig inj :modify) (not (identical? val SKIP)))
986
1043
  (let [mkey (ig inj :key) mparent (ig inj :parent) mval (getprop mparent mkey)]
987
- ((ig inj :modify) mval mkey mparent inj)))
1044
+ ((ig inj :modify) (when-not (identical? mval SKIP) mval) mkey mparent inj)))
988
1045
 
989
1046
  (is! inj :val val)
990
1047
 
991
1048
  (cond
992
- (and (nil? (ig inj :prior)) (some? (ig inj :root)) (haskey (ig inj :root) S-DTOP))
993
- (getprop (ig inj :root) S-DTOP)
1049
+ ;; Read literally: a null a list directive set at $TOP is the result,
1050
+ ;; and a $TOP a directive removed leaves no value.
1051
+ (and (nil? (ig inj :prior)) (some? (ig inj :root)))
1052
+ (_lookup (ig inj :root) S-DTOP)
994
1053
  (and (= (ig inj :key) S-DTOP) (some? (ig inj :parent)) (haskey (ig inj :parent) S-DTOP))
995
1054
  (getprop (ig inj :parent) S-DTOP)
996
1055
  :else val)))))
@@ -1037,19 +1096,13 @@
1037
1096
  ;; ---------------------------------------------------------------------------
1038
1097
 
1039
1098
  (defn- transform_DELETE [inj _val _ref _store]
1040
- (delprop (ig inj :parent) (ig inj :key)) nil)
1099
+ (inj-setval inj nil) nil)
1041
1100
 
1042
1101
  (defn- transform_COPY [inj _val _ref _store]
1043
1102
  (let [mode (ig inj :mode) key (ig inj :key)]
1044
1103
  (if (.startsWith ^String mode "key")
1045
1104
  key
1046
- (let [dparent (ig inj :dparent) path (ig inj :path)
1047
- out (if-not (isnode dparent)
1048
- (if (not= (size path) 2)
1049
- dparent
1050
- (if (parse-long-strict key) dparent nil))
1051
- (let [o (getprop dparent key)]
1052
- (if (and (nil? o) (some? key) (parse-long-strict key)) dparent o)))]
1105
+ (let [out (_lookup (ig inj :dparent) key)]
1053
1106
  (inj-setval inj out)
1054
1107
  out))))
1055
1108
 
@@ -1209,40 +1262,45 @@
1209
1262
  (setprop target tkey @rval)
1210
1263
  nil)))))))))
1211
1264
 
1212
- (defn- transform_REF [inj val _ref store]
1213
- (let [nodes (ig inj :nodes)]
1214
- (if (not= (ig inj :mode) S-MVAL)
1215
- nil
1216
- (let [refpath (getprop (ig inj :parent) 1)]
1217
- (is! inj :keyI (size (ig inj :keys)))
1218
- (let [spec-func (getprop store S-DSPEC)]
1219
- (if-not (isfunc spec-func)
1220
- nil
1221
- (let [spec (spec-func)
1222
- ref (getpath spec refpath)
1223
- hasSubRef (atom false)]
1224
- (when (isnode ref)
1225
- (walk ref (fn [_k v _p _path] (when (= v "`$REF`") (reset! hasSubRef true)) v)))
1226
- (let [tref (clone ref)
1227
- cpath (slice (ig inj :path) 0 (- (size (ig inj :path)) 3))
1228
- tpath (slice (ig inj :path) 0 (- (size (ig inj :path)) 1))
1229
- tcur (getpath store cpath)
1230
- tval (getpath store tpath)
1231
- rval (atom nil)]
1232
- (if (and (some? ref) (or (not @hasSubRef) (some? tval)))
1233
- (let [cs (inj-child inj 0 (alist-of [(getelem tpath -1)]))]
1234
- (is! cs :path tpath)
1235
- (is! cs :nodes (slice (ig inj :nodes) 0 (- (size (ig inj :nodes)) 1)))
1236
- (is! cs :parent (getelem nodes -2))
1237
- (is! cs :val tref)
1238
- (is! cs :dparent tcur)
1239
- (inject tref store cs)
1240
- (reset! rval (ig cs :val)))
1241
- (reset! rval nil))
1242
- (inj-setval inj @rval 2)
1243
- (when (and (islist (ig inj :parent)) (ig inj :prior))
1244
- (is! (ig inj :prior) :keyI (dec (ig (ig inj :prior) :keyI))))
1245
- val))))))))
1265
+ ;; A chain of references that comes back to a path it has named names nothing.
1266
+ (defn- _refchain [spec refinj ref refpath]
1267
+ (loop [nxt ref seen #{refpath}]
1268
+ (if (and (islist nxt) (= "`$REF`" (_lookup nxt 0)))
1269
+ (let [nextpath (_lookup nxt 1)]
1270
+ (if (contains? seen nextpath)
1271
+ nil
1272
+ (recur (getpath spec nextpath refinj) (conj seen nextpath))))
1273
+ ref)))
1274
+
1275
+ (defn- transform_REF [inj _val _ref store]
1276
+ (if (not= (ig inj :mode) S-MVAL)
1277
+ nil
1278
+ (let [refpath (getprop (ig inj :parent) 1)]
1279
+ (is! inj :keyI (size (ig inj :keys)))
1280
+ (let [spec-func (getprop store S-DSPEC)]
1281
+ (if-not (isfunc spec-func)
1282
+ nil
1283
+ (let [spec (spec-func)
1284
+ ;; A relative path starts where this slot is, so .x is a sibling.
1285
+ dpath (slice (ig inj :path) 1 -2)
1286
+ refinj (doto (lhm) (.put "dpath" dpath) (.put "dparent" (getpath spec dpath)))
1287
+ ref (_refchain spec refinj (getpath spec refpath refinj) refpath)
1288
+ hasSubRef (atom false)]
1289
+ (when (isnode ref)
1290
+ (walk ref (fn [_k v _p _path] (when (= v "`$REF`") (reset! hasSubRef true)) v)))
1291
+ ;; A recursive reference stops where the data does.
1292
+ (let [tpath (slice (ig inj :path) 0 (- (size (ig inj :path)) 1))
1293
+ tval (getpath store tpath)
1294
+ rval (when (or (not @hasSubRef) (some? tval)) (clone ref))
1295
+ ;; The enclosing loop injects the referenced spec in this list's place, so
1296
+ ;; neither this pass nor this element leaves a value for modify to check.
1297
+ grandparent (inj-setval inj rval 2)
1298
+ prior (ig inj :prior)]
1299
+ (when prior
1300
+ (is! prior :modify nil)
1301
+ (when (or (islist grandparent) (some? rval))
1302
+ (is! prior :keyI (dec (ig prior :keyI)))))
1303
+ SKIP)))))))
1246
1304
 
1247
1305
  ;; FORMATTER
1248
1306
  (defn- jsstr [v]
@@ -1407,11 +1465,18 @@
1407
1465
  ;; validate
1408
1466
  ;; ---------------------------------------------------------------------------
1409
1467
 
1468
+ ;; A null the data holds comes back as HELDNULL, which inj-setval writes:
1469
+ ;; it deletes the slot for nil, and a list would shift down.
1470
+ (defn- _keepnull [inj out]
1471
+ (if (and (nil? out) (= (ig inj :mode) S-MVAL) (true? (ig inj :full)) (_holds (ig inj :dparent) (ig inj :key)))
1472
+ HELDNULL
1473
+ out))
1474
+
1410
1475
  (defn- validate_STRING [inj _val _ref _store]
1411
- (let [out (getprop (ig inj :dparent) (ig inj :key)) t (typify out)]
1476
+ (let [out (_lookup (ig inj :dparent) (ig inj :key)) t (typify out)]
1412
1477
  (cond
1413
- (zero? (bit-and T_string t)) (do (.add ^List (ig inj :errs) (_invalidTypeMsg (ig inj :path) S-string t out "V1010")) nil)
1414
- (= out S-MT) (do (.add ^List (ig inj :errs) (str "Empty string at " (pathify (ig inj :path) 1))) nil)
1478
+ (zero? (bit-and T_string t)) (do (.add ^List (ig inj :errs) (_invalidTypeMsg (ig inj :path) S-string t out "V1010")) (_keepnull inj out))
1479
+ (= out S-MT) (do (.add ^List (ig inj :errs) (str "Empty string at " (pathify (ig inj :path) 1))) out)
1415
1480
  :else out)))
1416
1481
 
1417
1482
  (defn- validate_TYPE [inj _val ref _store]
@@ -1419,14 +1484,17 @@
1419
1484
  idx (.indexOf ^java.util.List (vec TYPENAME) tname)
1420
1485
  typev0 (if (>= idx 0) (bit-shift-left 1 (- 31 idx)) 0)
1421
1486
  typev (if (= tname S-nil) (bit-or typev0 T_null) typev0)
1422
- out (getprop (ig inj :dparent) (ig inj :key))
1423
- t (typify out)]
1424
- (if (zero? (bit-and t typev))
1425
- (do (.add ^List (ig inj :errs) (_invalidTypeMsg (ig inj :path) tname t out "V1001")) nil)
1426
- out)))
1487
+ dparent (ig inj :dparent)
1488
+ key (ig inj :key)
1489
+ out (_lookup dparent key)
1490
+ ;; One nil: only the slot tells a missing field (no value) from a held null.
1491
+ t (if (or (some? out) (_holds dparent key)) (typify out) T_noval)]
1492
+ (when (zero? (bit-and t typev))
1493
+ (.add ^List (ig inj :errs) (_invalidTypeMsg (ig inj :path) tname t out "V1001")))
1494
+ (_keepnull inj out)))
1427
1495
 
1428
1496
  (defn- validate_ANY [inj _val _ref _store]
1429
- (getprop (ig inj :dparent) (ig inj :key)))
1497
+ (_keepnull inj (_lookup (ig inj :dparent) (ig inj :key))))
1430
1498
 
1431
1499
  (defn- validate_CHILD [inj _val _ref _store]
1432
1500
  (let [mode (ig inj :mode) key (ig inj :key) parent (ig inj :parent)
@@ -1440,8 +1508,8 @@
1440
1508
  (nil? tval) (let [tval (lhm)]
1441
1509
  (doseq [ckey (keysof tval)] (setprop parent ckey (clone childtm)) (.add ^List keys ckey))
1442
1510
  (delprop parent key) nil)
1443
- (not (ismap tval))
1444
- (do (.add ^List (ig inj :errs) (_invalidTypeMsg (slice path 0 (dec (size path))) S-object (typify tval) tval "V0220")) nil)
1511
+ ;; _validation reports the mismatch, once.
1512
+ (not (ismap tval)) nil
1445
1513
  :else
1446
1514
  (do (doseq [ckey (keysof tval)] (setprop parent ckey (clone childtm)) (.add ^List keys ckey))
1447
1515
  (delprop parent key) nil)))
@@ -1452,74 +1520,332 @@
1452
1520
  (not (islist parent)) (do (.add ^List (ig inj :errs) "Invalid $CHILD as value") nil)
1453
1521
  (nil? (ig inj :dparent)) (do (.clear ^List parent) nil)
1454
1522
  (not (islist (ig inj :dparent)))
1455
- (do (.add ^List (ig inj :errs) (_invalidTypeMsg (slice path 0 (dec (size path))) S-list (typify (ig inj :dparent)) (ig inj :dparent) "V0230"))
1456
- (is! inj :keyI (size parent)) (ig inj :dparent))
1523
+ (do (is! inj :keyI (size parent)) (ig inj :dparent))
1457
1524
  :else
1458
1525
  (do (doseq [n (items (ig inj :dparent))] (setprop parent (nth n 0) (clone childtm)))
1459
1526
  (while (> (.size ^List parent) (.size ^List (ig inj :dparent))) (.remove ^List parent (int (dec (.size ^List parent)))))
1460
- (is! inj :keyI 0)
1461
- (getprop (ig inj :dparent) 0))))
1527
+ ;; NOTE: modifying inj! This extends the child value loop in inject
1528
+ ;; to cover every cloned child.
1529
+ (doseq [ckeyI (range (size keys) (size parent))] (.add ^List keys (strkey ckeyI)))
1530
+ ;; Restart the child value loop at the first element (the loop
1531
+ ;; increments keyI on resume) so that the first element is also
1532
+ ;; validated against the child template.
1533
+ (is! inj :keyI -1)
1534
+ ;; SKIP leaves the cloned child template in place at the first
1535
+ ;; element so the resumed loop can validate it.
1536
+ SKIP)))
1462
1537
  :else nil)))
1463
1538
 
1464
- (defn- validate_ONE [inj _val _ref store]
1539
+ (defn- _restmsg [path problem]
1540
+ (str "The $REST validator at field " (pathify path) problem))
1541
+
1542
+ ;; The members a spec does not name: the map form is a key, the list form a
1543
+ ;; tuple's last item. Each places clones of its spec for the loop to check.
1544
+ (defn- validate_REST [inj _val _ref _store]
1545
+ (let [mode (ig inj :mode) parent (ig inj :parent) keys (ig inj :keys)
1546
+ path (ig inj :path) prior (ig inj :prior)]
1547
+ (cond
1548
+ (= mode S-MKEYPRE)
1549
+ (let [resttm (_lookup parent (ig inj :key))
1550
+ tval (getprop (ig inj :dparent) (getelem path -2))]
1551
+ (when (ismap tval)
1552
+ (doseq [ckey (keysof tval)]
1553
+ (when-not (.contains ^List keys ckey)
1554
+ (setprop parent ckey (clone resttm))
1555
+ (.add ^List keys ckey))))
1556
+ (inj-setval inj nil)
1557
+ nil)
1558
+
1559
+ (or (not= mode S-MVAL) (nil? prior) (not (islist (ig prior :parent))) (not= 0 (ig inj :keyI)))
1560
+ (do (.add ^List (ig inj :errs) (_restmsg (slice path 1) " must be the last element of an array."))
1561
+ nil)
1562
+
1563
+ :else
1564
+ (let [tuple (ig prior :parent)
1565
+ slot (listindex (ig prior :key))
1566
+ dlist (ig prior :dparent)
1567
+ numitems (if (islist dlist) (size dlist) 0)]
1568
+ (is! inj :keyI (size keys))
1569
+ (is! prior :modify nil)
1570
+ (if (<= numitems slot)
1571
+ (inj-setval inj nil 2)
1572
+ (let [resttm (_lookup parent 1)
1573
+ ^List pkeys (ig prior :keys)]
1574
+ (doseq [i (range slot numitems)] (setprop tuple i (clone resttm)))
1575
+ (doseq [i (range (size pkeys) numitems)] (.add pkeys (strkey i)))
1576
+ (is! prior :keyI (dec (ig prior :keyI)))))
1577
+ SKIP))))
1578
+
1579
+ ;; The data value at a list directive's slot, and whether the slot holds one.
1580
+ ;; The directive's own dparent was read with getprop, which reports a stored
1581
+ ;; null as absent, and with one nil only the slot can tell them apart.
1582
+ (defn- _slotval [inj]
1583
+ (let [prior (ig inj :prior)
1584
+ [cval held] (if (nil? prior)
1585
+ [(ig inj :dparent) (some? (ig inj :dparent))]
1586
+ [(_lookup (ig prior :dparent) (ig prior :key)) (_holds (ig prior :dparent) (ig prior :key))])]
1587
+ ;; A trial hands an absent value down as NOARG: the slot holds no value.
1588
+ (if (identical? cval NOARG) [nil false] [cval held])))
1589
+
1590
+ ;; inj-setval deletes for nil, so a null the slot holds is set directly.
1591
+ (defn- _slotset [inj cval held]
1592
+ (if (and (nil? cval) held)
1593
+ (setprop (getelem (ig inj :nodes) -2) (getelem (ig inj :path) -2) nil)
1594
+ (inj-setval inj cval 2)))
1595
+
1596
+ ;; JSON equality: numbers by value, lists in order, maps by key in any order.
1597
+ (defn- _deepequal [a b]
1598
+ (let [atype (typify a)]
1599
+ (cond
1600
+ (and (number? a) (number? b)) (== a b)
1601
+ (= a b) true
1602
+ (or (not= atype (typify b)) (zero? (bit-and (bit-or T_list T_map) atype))) false
1603
+ :else
1604
+ (let [akeys (keysof a) bkeys (keysof b)]
1605
+ (and (= (count akeys) (count bkeys))
1606
+ (every? true? (map (fn [ak bk] (and (= ak bk) (_deepequal (_lookup a ak) (_lookup b bk))))
1607
+ akeys bkeys)))))))
1608
+
1609
+ ;; Every member val has is in out, unchanged. A member only out has is a
1610
+ ;; default the spec supplied, and is ignored.
1611
+ (defn- _keeps [val out]
1612
+ (if (or (zero? (bit-and (bit-or T_list T_map) (typify val)))
1613
+ (not= (islist val) (islist out))
1614
+ (not (isnode out)))
1615
+ (_deepequal val out)
1616
+ (every? (fn [k] (and (_holds out k) (_keeps (_lookup val k) (_lookup out k)))) (keysof val))))
1617
+
1618
+ ;; A spec admits a value when validating the value against it finds no error
1619
+ ;; and gives back the value as it is. Any output keeps an absent value, which
1620
+ ;; goes down as NOARG so that the nested validation reads it as no value.
1621
+ (defn- _admits [val held spec inj store]
1622
+ (let [tval (if held val NOARG)
1623
+ terrs (alist)
1624
+ vstore (merge (alist-of [(lhm) store]) 1)]
1625
+ (.put ^Map vstore S-DTOP tval)
1626
+ (let [out (validate tval spec (doto (lhm) (.put "extra" vstore) (.put "errs" terrs) (.put "meta" (ig inj :meta))))]
1627
+ (and (zero? (size terrs)) (or (not held) (_keeps val out))))))
1628
+
1629
+ ;; The bounds of a $NOF count, and the words for it, which are absent when
1630
+ ;; the count is invalid. Without a max, the bound is the number of specs.
1631
+ ;; An integral decimal counts as that integer, as 2.0 is 2 in JavaScript.
1632
+ (defn- _nofcount [cnt numtvals]
1633
+ (let [whole (fn [n] (if (and (jdouble? n) (== n (Math/rint (double n))) (< (Math/abs (double n)) 9.0E18))
1634
+ (long n)
1635
+ n))
1636
+ isnat (fn [n] (and (pos? (bit-and T_integer (typify n))) (>= n 0)))
1637
+ cnt (whole cnt)]
1638
+ (if (isnat cnt)
1639
+ [cnt cnt (if (zero? cnt) "none" (str "exactly " cnt))]
1640
+ (let [cmin (whole (_lookup cnt "min"))
1641
+ cmax (whole (_lookup cnt "max"))
1642
+ valid (and (ismap cnt)
1643
+ (pos? (size cnt))
1644
+ (= (size cnt) (+ (if (nil? cmin) 0 1) (if (nil? cmax) 0 1)))
1645
+ (or (nil? cmin) (isnat cmin))
1646
+ (or (nil? cmax) (isnat cmax))
1647
+ (or (nil? cmin) (nil? cmax) (<= cmin cmax)))]
1648
+ (if-not valid
1649
+ [0 0 nil]
1650
+ (let [lo (if (nil? cmin) 0 cmin)
1651
+ hi (if (nil? cmax) numtvals cmax)]
1652
+ [lo hi (cond
1653
+ (nil? cmax) (str "at least " lo)
1654
+ (zero? hi) "none"
1655
+ (nil? cmin) (str "at most " hi)
1656
+ (== lo hi) (str "exactly " lo)
1657
+ :else (str lo " to " hi))]))))))
1658
+
1659
+ ;; The counting list directives. Without a count, every spec has to admit.
1660
+ (defn- _validatecount [inj store name counted]
1465
1661
  (let [mode (ig inj :mode) parent (ig inj :parent) keyI (ig inj :keyI)]
1466
- (when (= mode S-MVAL)
1467
- (if (or (not (islist parent)) (not= keyI 0))
1468
- (do (.add ^List (ig inj :errs) (str "The $ONE validator at field " (pathify (ig inj :path) 1 1) " must be the first element of an array.")) nil)
1469
- (do
1470
- (is! inj :keyI (size (ig inj :keys)))
1471
- (inj-setval inj (ig inj :dparent) 2)
1472
- (is! inj :path (slice (ig inj :path) 0 (dec (size (ig inj :path)))))
1473
- (is! inj :key (getelem (ig inj :path) -1))
1474
- (let [tvals (alist-of (subvec (vec parent) 1))]
1475
- (if (= (size tvals) 0)
1476
- (do (.add ^List (ig inj :errs) (str "The $ONE validator at field " (pathify (ig inj :path) 1 1) " must have at least one argument.")) nil)
1477
- (let [matched (atom false)]
1478
- (doseq [tval tvals :while (not @matched)]
1479
- (let [terrs (alist)
1480
- vstore (merge (alist-of [(lhm) store]) 1)]
1481
- (.put ^Map vstore S-DTOP (ig inj :dparent))
1482
- (let [vcurrent (validate (ig inj :dparent) tval (doto (lhm) (.put "extra" vstore) (.put "errs" terrs) (.put "meta" (ig inj :meta))))]
1483
- (inj-setval inj vcurrent -2)
1484
- (when (= (size terrs) 0) (reset! matched true)))))
1485
- (when-not @matched
1486
- (let [valdesc (clojure.string/join ", " (map #(stringify (nth % 1)) (items tvals)))
1487
- valdesc (re_replace R-TRANSFORM-NAME valdesc (fn [g] (clojure.string/lower-case (nth g 1))))]
1488
- (.add ^List (ig inj :errs)
1489
- (_invalidTypeMsg (ig inj :path)
1490
- (str (if (> (size tvals) 1) "one of " "") valdesc)
1491
- (typify (ig inj :dparent)) (ig inj :dparent) "V0210"))))))))))))
1662
+ (cond
1663
+ (not= mode S-MVAL) nil
1664
+
1665
+ (or (not (islist parent)) (not= keyI 0))
1666
+ (do (.add ^List (ig inj :errs) (str "The " name " validator at field " (pathify (ig inj :path) 1 1) " must be the first element of an array.")) nil)
1667
+
1668
+ :else
1669
+ (let [[cval held] (_slotval inj)]
1670
+ (is! inj :keyI (size (ig inj :keys)))
1671
+ ;; Replace the directive's list with the data value. Each return is SKIP, so
1672
+ ;; that inject leaves the detached list alone and validates nothing in it.
1673
+ (_slotset inj cval held)
1674
+ (is! inj :path (slice (ig inj :path) -1))
1675
+ (let [cnt (when counted (_lookup parent 1))
1676
+ ^List tvals (alist-of (drop (if counted 2 1) parent))
1677
+ numtvals (size tvals)
1678
+ field (str "The " name " validator at field " (pathify (ig inj :path) 1))]
1679
+ (if (zero? numtvals)
1680
+ (.add ^List (ig inj :errs) (str field (if counted " must have a count and" " must have") " at least one argument."))
1681
+ (let [[lo hi countdesc] (if counted (_nofcount cnt numtvals) [numtvals numtvals "all"])]
1682
+ (if (nil? countdesc)
1683
+ (.add ^List (ig inj :errs) (str field " has an invalid count: " (stringify cnt) "."))
1684
+ (let [admitted (loop [tI 0 admitted 0]
1685
+ (let [left (- numtvals tI)]
1686
+ ;; Stop once the specs left cannot change the verdict.
1687
+ (if (or (>= tI numtvals) (< hi admitted) (< (+ admitted left) lo)
1688
+ (and (<= lo admitted) (<= (+ admitted left) hi)))
1689
+ admitted
1690
+ (recur (inc tI) (if (_admits cval held (.get tvals (int tI)) inj store)
1691
+ (inc admitted) admitted)))))]
1692
+ (when (or (< admitted lo) (< hi admitted))
1693
+ (let [valdesc (clojure.string/join ", " (map #(stringify (nth % 1)) (items tvals)))
1694
+ valdesc (re_replace R-TRANSFORM-NAME valdesc (fn [g] (clojure.string/lower-case (nth g 1))))]
1695
+ (.add ^List (ig inj :errs)
1696
+ (_invalidTypeMsg (ig inj :path) (str countdesc " of " valdesc) (typify cval) cval "V0310"))))))))
1697
+ SKIP)))))
1492
1698
 
1493
1699
  (defn- validate_EXACT [inj _val _ref _store]
1494
1700
  (let [mode (ig inj :mode) parent (ig inj :parent) key (ig inj :key) keyI (ig inj :keyI)]
1495
1701
  (if (= mode S-MVAL)
1496
1702
  (if (or (not (islist parent)) (not= keyI 0))
1497
1703
  (do (.add ^List (ig inj :errs) (str "The $EXACT validator at field " (pathify (ig inj :path) 1 1) " must be the first element of an array.")) nil)
1498
- (do
1704
+ (let [[cval held] (_slotval inj)]
1499
1705
  (is! inj :keyI (size (ig inj :keys)))
1500
- (inj-setval inj (ig inj :dparent) 2)
1706
+ ;; Replace [$EXACT, ...] with the data value; SKIP keeps inject off the detached list.
1707
+ (_slotset inj cval held)
1501
1708
  (is! inj :path (slice (ig inj :path) 0 (dec (size (ig inj :path)))))
1502
- (is! inj :key (getelem (ig inj :path) -1))
1503
1709
  (let [tvals (alist-of (subvec (vec parent) 1))]
1504
- (if (= (size tvals) 0)
1505
- (do (.add ^List (ig inj :errs) (str "The $EXACT validator at field " (pathify (ig inj :path) 1 1) " must have at least one argument.")) nil)
1506
- (let [currentstr (atom nil) matched (atom false)]
1507
- (doseq [tval tvals :while (not @matched)]
1508
- (let [em (= tval (ig inj :dparent))
1509
- em (if (and (not em) (isnode tval))
1510
- (do (when (nil? @currentstr) (reset! currentstr (stringify (ig inj :dparent))))
1511
- (= (stringify tval) @currentstr))
1512
- em)]
1513
- (when em (reset! matched true))))
1514
- (when-not @matched
1515
- (let [valdesc (clojure.string/join ", " (map #(stringify (nth % 1)) (items tvals)))
1516
- valdesc (re_replace R-TRANSFORM-NAME valdesc (fn [g] (clojure.string/lower-case (nth g 1))))]
1517
- (.add ^List (ig inj :errs)
1518
- (_invalidTypeMsg (ig inj :path)
1519
- (str (if (> (size (ig inj :path)) 1) "" "value ")
1520
- "exactly equal to " (if (= (size tvals) 1) "" "one of ") valdesc)
1521
- (typify (ig inj :dparent)) (ig inj :dparent) "V0110")))))))))
1522
- (delprop parent key))))
1710
+ (cond
1711
+ (= (size tvals) 0)
1712
+ (.add ^List (ig inj :errs) (str "The $EXACT validator at field " (pathify (ig inj :path) 1 1) " must have at least one argument."))
1713
+
1714
+ ;; An absent value equals no argument.
1715
+ (and held (some #(_deepequal % cval) tvals))
1716
+ nil
1717
+
1718
+ :else
1719
+ (let [valdesc (clojure.string/join ", " (map #(stringify (nth % 1)) (items tvals)))
1720
+ valdesc (re_replace R-TRANSFORM-NAME valdesc (fn [g] (clojure.string/lower-case (nth g 1))))]
1721
+ (.add ^List (ig inj :errs)
1722
+ (_invalidTypeMsg (ig inj :path)
1723
+ (str (if (> (size (ig inj :path)) 1) "" "value ")
1724
+ "exactly equal to " (if (= (size tvals) 1) "" "one of ") valdesc)
1725
+ (typify cval) cval "V0110")))))
1726
+ SKIP))
1727
+ (do (delprop parent key) nil))))
1728
+
1729
+ ;; Count the specs that admit the value: ['`$NOF`', count, spec, ...], where
1730
+ ;; count is an integer, or a map holding min, max or both.
1731
+ (defn- validate_NOF [inj _val _ref store] (_validatecount inj store "$NOF" true))
1732
+
1733
+ ;; Every spec admits the value: ['`$ALL`', spec, ...].
1734
+ (defn- validate_ALL [inj _val _ref store] (_validatecount inj store "$ALL" false))
1735
+
1736
+ ;; The bounds of a $LEN bound, with -1 for no maximum, and the words for it,
1737
+ ;; which are absent when the bound is invalid.
1738
+ (defn- _lenbound [bound]
1739
+ (let [[lo hi countdesc] (_nofcount bound -1)]
1740
+ (if (nil? countdesc)
1741
+ [0 0 nil]
1742
+ [lo hi (str "of length " (cond
1743
+ (== lo hi) lo
1744
+ (== -1 hi) (str "at least " lo)
1745
+ (zero? lo) (str "at most " hi)
1746
+ :else (str lo " to " hi)))])))
1747
+
1748
+ ;; A $LIKE pattern compiled by the port's own regex engine; absent unless it compiles.
1749
+ (defn- _likere [pattern]
1750
+ (when (string? pattern)
1751
+ (try (re_compile pattern)
1752
+ (catch PatternSyntaxException _ nil))))
1753
+
1754
+ ;; The words for a $RANGE bound, which are absent when the bound is invalid.
1755
+ (defn- _rangedesc [bound]
1756
+ (when (ismap bound)
1757
+ (let [bmin (_lookup bound "min")
1758
+ bmax (_lookup bound "max")
1759
+ bgt (_lookup bound "gt")
1760
+ blt (_lookup bound "lt")
1761
+ lower (if (nil? bmin) bgt bmin)
1762
+ upper (if (nil? bmax) blt bmax)
1763
+ isnum (fn [n] (or (nil? n) (pos? (bit-and T_number (typify n)))))
1764
+ valid (and (pos? (size bound))
1765
+ (= (size bound) (count (remove nil? [bmin bmax bgt blt])))
1766
+ (or (nil? bmin) (nil? bgt))
1767
+ (or (nil? bmax) (nil? blt))
1768
+ (isnum bmin) (isnum bmax) (isnum bgt) (isnum blt)
1769
+ (or (nil? lower) (nil? upper) (<= lower upper)))]
1770
+ (when valid
1771
+ (clojure.string/join " and "
1772
+ (remove nil? [(cond (some? bmin) (str "at least " (stringify bmin))
1773
+ (some? bgt) (str "greater than " (stringify bgt)))
1774
+ (cond (some? bmax) (str "at most " (stringify bmax))
1775
+ (some? blt) (str "less than " (stringify blt)))]))))))
1776
+
1777
+ ;; A number within a valid $RANGE bound.
1778
+ (defn- _inrange [bound val]
1779
+ (let [bmin (_lookup bound "min")
1780
+ bmax (_lookup bound "max")
1781
+ bgt (_lookup bound "gt")
1782
+ blt (_lookup bound "lt")]
1783
+ (and (or (nil? bmin) (<= bmin val))
1784
+ (or (nil? bmax) (<= val bmax))
1785
+ (or (nil? bgt) (< bgt val))
1786
+ (or (nil? blt) (< val blt)))))
1787
+
1788
+ ;; The bounding list directives: a bound or pattern, then at most one spec that also admits.
1789
+ (defn- _validatebound [inj store name]
1790
+ (let [mode (ig inj :mode) parent (ig inj :parent) keyI (ig inj :keyI)]
1791
+ (cond
1792
+ (not= mode S-MVAL) nil
1793
+
1794
+ (or (not (islist parent)) (not= keyI 0))
1795
+ (do (.add ^List (ig inj :errs) (str "The " name " validator at field " (pathify (ig inj :path) 1 1) " must be the first element of an array.")) nil)
1796
+
1797
+ :else
1798
+ (let [[cval held] (_slotval inj)]
1799
+ (is! inj :keyI (size (ig inj :keys)))
1800
+ ;; As for the counting directives: SKIP keeps inject off the detached list.
1801
+ (_slotset inj cval held)
1802
+ (is! inj :path (slice (ig inj :path) -1))
1803
+ (let [field (str "The " name " validator at field " (pathify (ig inj :path) 1))
1804
+ nargs (dec (size parent))
1805
+ islen (= "$LEN" name)
1806
+ islike (= "$LIKE" name)
1807
+ argname (if islike "pattern" "bound")]
1808
+ (if (or (< nargs 1) (< 2 nargs))
1809
+ (.add ^List (ig inj :errs) (str field " must have a " argname " and at most one spec."))
1810
+ (let [bound (_lookup parent 1)
1811
+ like (when islike (_likere bound))
1812
+ [lo hi desc] (if islen
1813
+ (_lenbound bound)
1814
+ [0 0 (if islike (when like (str "like /" bound "/")) (_rangedesc bound))])
1815
+ ctype (typify cval)]
1816
+ (cond
1817
+ (nil? desc)
1818
+ (.add ^List (ig inj :errs) (str field " has an invalid " argname ": " (stringify bound) "."))
1819
+
1820
+ (and (= 2 nargs) (not (_admits cval held (_lookup parent 2) inj store)))
1821
+ (let [specdesc (re_replace R-TRANSFORM-NAME (stringify (_lookup parent 2))
1822
+ (fn [g] (clojure.string/lower-case (nth g 1))))]
1823
+ (.add ^List (ig inj :errs) (_invalidTypeMsg (ig inj :path) specdesc ctype cval "V0410")))
1824
+
1825
+ (zero? (bit-and (cond islen (bit-or T_string T_list T_map) islike T_string :else T_number) ctype))
1826
+ (.add ^List (ig inj :errs)
1827
+ (_invalidTypeMsg (ig inj :path) (cond islen "string, list or map" islike S-string :else S-number)
1828
+ ctype cval "V0420"))
1829
+
1830
+ ;; size counts a string in UTF-16 units, not code points.
1831
+ (not (cond
1832
+ islen (let [len (if (string? cval) (.codePointCount ^String cval 0 (.length ^String cval)) (size cval))]
1833
+ (and (<= lo len) (or (== -1 hi) (<= len hi))))
1834
+ islike (re_test like cval)
1835
+ :else (_inrange bound cval)))
1836
+ (.add ^List (ig inj :errs)
1837
+ (_invalidTypeMsg (ig inj :path) (str (if (> (size (ig inj :path)) 1) "" "value ") desc) ctype cval "V0430"))))))
1838
+ SKIP))))
1839
+
1840
+ ;; The value's length is within a bound: ['`$LEN`', bound, spec?], where the
1841
+ ;; bound is as for a $NOF count. A string's length is in code points.
1842
+ (defn- validate_LEN [inj _val _ref store] (_validatebound inj store "$LEN"))
1843
+
1844
+ ;; The value is a number within a bound: ['`$RANGE`', bound, spec?], where the
1845
+ ;; bound holds min or gt, max or lt, or one of each.
1846
+ (defn- validate_RANGE [inj _val _ref store] (_validatebound inj store "$RANGE"))
1847
+
1848
+ (defn- validate_LIKE [inj _val _ref store] (_validatebound inj store "$LIKE"))
1523
1849
 
1524
1850
  (defn- _validation [pval key parent inj]
1525
1851
  (when (and (some? inj) (not (identical? pval SKIP)))
@@ -1537,8 +1863,16 @@
1537
1863
  (if-not (ismap pval)
1538
1864
  (.add ^List (ig inj :errs) (_invalidTypeMsg (ig inj :path) (typename ptype) ctype cval "V0020"))
1539
1865
  (let [ckeys (keysof cval) pkeys (keysof pval)]
1540
- (if (and (> (count pkeys) 0) (not (true? (getprop pval "`$OPEN`"))))
1541
- (let [badkeys (clojure.core/filter #(not (and (instance? Map pval) (.containsKey ^Map pval (str %)))) ckeys)]
1866
+ ;; Only a spec written as {} is open, even if named keys resolved away.
1867
+ (if (and (or (> (count pkeys) 0) (ig inj :named)) (not (true? (getprop pval "`$OPEN`"))))
1868
+ ;; Literal presence: the shape DECLARES the key even when
1869
+ ;; its value is nil. Canonical uses `NONE === _lookup`;
1870
+ ;; `haskey` is Group A (value-based) and would drop records
1871
+ ;; with a nil field from an open ($AND) select.
1872
+ (let [badkeys (clojure.core/filter
1873
+ #(not (and (instance? Map pval)
1874
+ (.containsKey ^Map pval (str %))))
1875
+ ckeys)]
1542
1876
  (when (> (size badkeys) 0)
1543
1877
  (.add ^List (ig inj :errs)
1544
1878
  (str "Unexpected keys at field " (pathify (ig inj :path) 1) S-VIZ (join (alist-of badkeys) ", ")))))
@@ -1546,8 +1880,19 @@
1546
1880
  (when (isnode pval) (delprop pval "`$OPEN`"))))))
1547
1881
 
1548
1882
  (islist cval)
1549
- (when-not (islist pval)
1550
- (.add ^List (ig inj :errs) (_invalidTypeMsg (ig inj :path) (typename ptype) ctype cval "V0030")))
1883
+ (cond
1884
+ (not (islist pval))
1885
+ (.add ^List (ig inj :errs) (_invalidTypeMsg (ig inj :path) (typename ptype) ctype cval "V0030"))
1886
+
1887
+ ;; Closed list, so reject items past the end of the shape.
1888
+ (> (size pval) 0)
1889
+ (let [badkeys (alist-of (map strkey (range (size pval) (size cval))))]
1890
+ (when (> (size badkeys) 0)
1891
+ (.add ^List (ig inj :errs)
1892
+ (str "Unexpected keys at field " (pathify (ig inj :path) 1) S-VIZ (join badkeys ", ")))))
1893
+
1894
+ ;; Empty spec list [] means list can be open (any items).
1895
+ :else (merge (alist-of [pval cval])))
1551
1896
 
1552
1897
  exact
1553
1898
  (when (not= cval pval)
@@ -1567,6 +1912,59 @@
1567
1912
  SKIP)
1568
1913
  (_injecthandler inj val ref store))))
1569
1914
 
1915
+ ;; Names a validate spec may use besides its checkers: transform's that it keeps, and $OPEN.
1916
+ (def ^:private VALIDATE-NAMES
1917
+ #{"$TOP" "$SPEC" "$BT" "$DS" "$WHEN" "$ANNO" "$REF" "$FORMAT" "$APPLY" "$OPEN"})
1918
+
1919
+ ;; The name a whole-string reference gives, when it is a checker name in any case.
1920
+ (defn- _refname [val]
1921
+ (let [m (when (string? val) (re_find R-INJECT-FULL val))]
1922
+ (when (and (some? m) (re_test R-CHECKER-NAME (.toUpperCase ^String (nth m 1) java.util.Locale/ROOT)))
1923
+ (nth m 1))))
1924
+
1925
+ ;; Unknown: undefined and upper case, or a defined name in another case. Null disables a name.
1926
+ (defn- _unknownname [name store]
1927
+ (let [known (fn [n] (or (contains? VALIDATE-NAMES n) (some? (_lookup store n))))
1928
+ upper (.toUpperCase ^String name java.util.Locale/ROOT)]
1929
+ (and (not (known name)) (or (= upper name) (known upper)))))
1930
+
1931
+ ;; Report each checker the spec names that validate lacks, and each misplaced
1932
+ ;; $REST; $EXACT's arguments are literals. islast: spec is a list's last item.
1933
+ (defn- _checknames
1934
+ ([spec store path errs] (_checknames spec store path errs false))
1935
+ ([spec store path errs islast]
1936
+ (let [name (_refname spec)
1937
+ head (when (islist spec) (_refname (_lookup spec 0)))
1938
+ restkey "`$REST`"]
1939
+ (cond
1940
+ (some? name)
1941
+ (cond
1942
+ (_unknownname name store)
1943
+ (.add ^List errs (str "Unknown validator " name " at field " (pathify (alist-of path)) "."))
1944
+ (= "$REST" name)
1945
+ (.add ^List errs (_restmsg (alist-of path) " must be the last element of an array.")))
1946
+
1947
+ (= "$EXACT" head)
1948
+ nil
1949
+
1950
+ (= "$REST" head)
1951
+ (do
1952
+ (cond
1953
+ (not (true? islast))
1954
+ (.add ^List errs (_restmsg (alist-of path) " must be the last element of an array."))
1955
+ (not= 2 (size spec))
1956
+ (.add ^List errs (_restmsg (alist-of path) " must have exactly one spec.")))
1957
+ (_checknames (_lookup spec 1) store (conj path 1) errs))
1958
+
1959
+ :else
1960
+ (do
1961
+ (when (and (ismap spec) (_holds spec restkey) (_holds spec "`$CHILD`"))
1962
+ (.add ^List errs (_restmsg (alist-of path) " cannot be used with $CHILD.")))
1963
+ (let [lastkey (when (islist spec) (strkey (dec (size spec))))]
1964
+ (doseq [key (keysof spec)]
1965
+ (when (and (ismap spec) (not= restkey key)) (_checknames key store path errs))
1966
+ (_checknames (_lookup spec key) store (conj path key) errs (= lastkey key)))))))))
1967
+
1570
1968
  (defn validate
1571
1969
  ([data spec] (validate data spec nil))
1572
1970
  ([data spec injdef]
@@ -1580,29 +1978,37 @@
1580
1978
  ["$DECIMAL" validate_TYPE] ["$BOOLEAN" validate_TYPE] ["$NULL" validate_TYPE]
1581
1979
  ["$NIL" validate_TYPE] ["$MAP" validate_TYPE] ["$LIST" validate_TYPE]
1582
1980
  ["$FUNCTION" validate_TYPE] ["$INSTANCE" validate_TYPE]
1583
- ["$ANY" validate_ANY] ["$CHILD" validate_CHILD] ["$ONE" validate_ONE]
1584
- ["$EXACT" validate_EXACT]]]
1981
+ ["$ANY" validate_ANY] ["$CHILD" validate_CHILD]
1982
+ ["$EXACT" validate_EXACT] ["$NOF" validate_NOF] ["$ALL" validate_ALL]
1983
+ ["$LEN" validate_LEN] ["$RANGE" validate_RANGE] ["$LIKE" validate_LIKE]
1984
+ ["$REST" validate_REST]]]
1585
1985
  (.put base k v))
1586
1986
  (let [store (merge (alist-of [base (if (nil? extra) (lhm) extra) (doto (lhm) (.put "$ERRS" errs))]) 1)
1587
- meta (getprop injdef "meta" (lhm))]
1987
+ meta (getprop injdef "meta" (lhm))
1988
+ numerrs (size errs)]
1588
1989
  (setprop meta S-BEXACT (getprop meta S-BEXACT false))
1589
- (let [out (transform data spec (doto (lhm)
1590
- (.put "meta" meta)
1591
- (.put "extra" store)
1592
- (.put "modify" _validation)
1593
- (.put "handler" _validatehandler)
1594
- (.put "errs" errs)))]
1990
+ ;; A spec that names an unknown checker validates nothing.
1991
+ (_checknames spec store [] errs)
1992
+ (let [out (if (< numerrs (size errs))
1993
+ (clone data)
1994
+ (transform data spec (doto (lhm)
1995
+ (.put "meta" meta)
1996
+ (.put "extra" store)
1997
+ (.put "modify" _validation)
1998
+ (.put "handler" _validatehandler)
1999
+ (.put "errs" errs))))]
1595
2000
  (when (and (> (size errs) 0) (not collect))
1596
2001
  (throw (RuntimeException. (clojure.string/join " | " (vec errs)))))
1597
2002
  out)))))
1598
2003
 
1599
2004
  (defn- _invalidTypeMsg [path needtype vt v _whence]
1600
- (let [vs (if (nil? v) "no value" (stringify v))]
2005
+ (let [novalue (or (nil? v) (identical? v NOARG))
2006
+ vs (if novalue "no value" (stringify v))]
1601
2007
  (str "Expected "
1602
2008
  (if (> (size path) 1) (str "field " (pathify path 1) " to be ") "")
1603
2009
  (str needtype)
1604
2010
  ", but found "
1605
- (if (some? v) (str (typename vt) S-VIZ) "")
2011
+ (if novalue "" (str (typename vt) S-VIZ))
1606
2012
  vs ".")))
1607
2013
 
1608
2014
  ;; ---------------------------------------------------------------------------
@@ -1665,22 +2071,43 @@
1665
2071
  (catch Exception _ false)))
1666
2072
 
1667
2073
  (defn- select_CMP [inj _val ref store]
1668
- (when (= (ig inj :mode) S-MKEYPRE)
1669
- (let [term (getprop (ig inj :parent) (ig inj :key))
1670
- gkey (getelem (ig inj :path) -2)
1671
- ppath (slice (ig inj :path) -1)
1672
- point (getpath store ppath)
1673
- pass (cond
1674
- (= ref "$GT") (num-cmp point term :gt)
1675
- (= ref "$LT") (num-cmp point term :lt)
1676
- (= ref "$GTE") (num-cmp point term :gte)
1677
- (= ref "$LTE") (num-cmp point term :lte)
1678
- (= ref "$LIKE") (boolean (re_test (re_compile term) (stringify point)))
1679
- :else false)]
1680
- (if pass
1681
- (let [gp (getelem (ig inj :nodes) -2)] (setprop gp gkey point))
1682
- (.add ^List (ig inj :errs) (str "CMP: " (pathify ppath) "⨯" (stringify point) " fail:" ref " " (stringify term))))))
1683
- nil)
2074
+ ;; The list form of $LIKE is validate's checker; the key form is this operator.
2075
+ (if (and (= (ig inj :mode) S-MVAL) (= ref "$LIKE"))
2076
+ (validate_LIKE inj _val ref store)
2077
+ (do
2078
+ (when (= (ig inj :mode) S-MKEYPRE)
2079
+ (let [term (getprop (ig inj :parent) (ig inj :key))
2080
+ gkey (getelem (ig inj :path) -2)
2081
+ ppath (slice (ig inj :path) -1)
2082
+ point (getpath store ppath)
2083
+ pass (cond
2084
+ (= ref "$GT") (num-cmp point term :gt)
2085
+ (= ref "$LT") (num-cmp point term :lt)
2086
+ (= ref "$GTE") (num-cmp point term :gte)
2087
+ (= ref "$LTE") (num-cmp point term :lte)
2088
+ (= ref "$LIKE") (boolean (re_test (re_compile term) (stringify point)))
2089
+ :else false)]
2090
+ (if pass
2091
+ (let [gp (getelem (ig inj :nodes) -2)] (setprop gp gkey point))
2092
+ (.add ^List (ig inj :errs) (str "CMP: " (pathify ppath) "⨯" (stringify point) " fail:" ref " " (stringify term))))))
2093
+ nil)))
2094
+
2095
+ ;; Open every map in a select query, so a child may hold keys the query does
2096
+ ;; not name, but leave a directive's literals as written: what $EXACT
2097
+ ;; compares, and the count or bound of $NOF, $LEN and $RANGE.
2098
+ (defn- _openquery [q]
2099
+ (cond
2100
+ (ismap q)
2101
+ (do (setprop q "`$OPEN`" (getprop q "`$OPEN`" true))
2102
+ (doseq [key (keysof q)] (_openquery (_lookup q key))))
2103
+
2104
+ (islist q)
2105
+ (let [head (_lookup q 0)
2106
+ exact (= "`$EXACT`" head)
2107
+ bounded (contains? #{"`$NOF`" "`$LEN`" "`$RANGE`"} head)]
2108
+ (dotimes [i (size q)]
2109
+ (when (or (= 0 i) (not (or exact (and bounded (= 1 i)))))
2110
+ (_openquery (_lookup q i)))))))
1684
2111
 
1685
2112
  (defn select [children query]
1686
2113
  (if-not (isnode children)
@@ -1694,7 +2121,7 @@
1694
2121
  (.put "$GT" select_CMP) (.put "$LT" select_CMP) (.put "$GTE" select_CMP)
1695
2122
  (.put "$LTE" select_CMP) (.put "$LIKE" select_CMP))
1696
2123
  q (clone query)]
1697
- (walk q (fn [_k v _p _path] (when (ismap v) (setprop v "`$OPEN`" (getprop v "`$OPEN`" true))) v))
2124
+ (_openquery q)
1698
2125
  (doseq [child children]
1699
2126
  (let [errs (alist)
1700
2127
  injdef (doto (lhm) (.put "errs" errs) (.put "meta" (doto (lhm) (.put S-BEXACT true))) (.put "extra" extra))]
@@ -1702,6 +2129,258 @@
1702
2129
  (when (= (size errs) 0) (.add results child))))
1703
2130
  results)))
1704
2131
 
2132
+ ;; ---------------------------------------------------------------------------
2133
+ ;; condense
2134
+ ;; ---------------------------------------------------------------------------
2135
+
2136
+ ;; Code-point order, the order the format sorts symbols in. String.compareTo
2137
+ ;; orders by code unit, which would put U+10000 before U+FFFF.
2138
+ (defn- condensecmp [^String a ^String b]
2139
+ (let [na (.length a) nb (.length b)]
2140
+ (loop [i 0 j 0]
2141
+ (if (and (< i na) (< j nb))
2142
+ (let [ca (.codePointAt a (int i)) cb (.codePointAt b (int j))]
2143
+ (if (== ca cb)
2144
+ (recur (+ i (Character/charCount ca)) (+ j (Character/charCount cb)))
2145
+ (if (< ca cb) -1 1)))
2146
+ (compare (- na i) (- nb j))))))
2147
+
2148
+ ;; The version has to match, not merely be a number: a later format read with
2149
+ ;; this one's schema would decode wrongly without failing.
2150
+ (defn iscondensed
2151
+ ([] false)
2152
+ ([val]
2153
+ (and (ismap val)
2154
+ (let [v (_lookup val S-condense)] (and (number? v) (== v CONDENSE_VERSION)))
2155
+ (islist (_lookup val S-condsym))
2156
+ (islist (_lookup val S-condnode))
2157
+ (number? (_lookup val S-condroot)))))
2158
+
2159
+ (defn- condensecollect [val ^java.util.Set acc]
2160
+ (cond
2161
+ (ismap val) (doseq [k (map-keys val)]
2162
+ (.add acc (str k))
2163
+ (condensecollect (.get ^Map val k) acc))
2164
+ (islist val) (doseq [x val] (condensecollect x acc))
2165
+ (string? val) (.add acc val))
2166
+ acc)
2167
+
2168
+ ;; An integral number keys as a long, so 1 and 1.0 share one node.
2169
+ (defn- condensenumkey [n]
2170
+ (cond
2171
+ (jdouble? n) (let [d (double n)]
2172
+ (if (and (== d (Math/rint d)) (< (Math/abs d) 9.0E18)) (long d) d))
2173
+ (instance? Integer n) (long n)
2174
+ :else n))
2175
+
2176
+ ;; Post-order, so a subtree is interned before its parent refers to it, and
2177
+ ;; map pairs in ascending symbol id, so that a lookup can bisect them.
2178
+ (defn- condensebuild [val ^Map symid intern]
2179
+ (cond
2180
+ (ismap val)
2181
+ (let [enc (alist-of [CONDENSE_MAP])]
2182
+ (doseq [k (sort condensecmp (map str (map-keys val)))]
2183
+ (.add enc (.get symid k))
2184
+ (.add enc (condensebuild (.get ^Map val k) symid intern)))
2185
+ (intern enc))
2186
+
2187
+ (islist val)
2188
+ (let [enc (alist-of [CONDENSE_LIST])]
2189
+ (doseq [x val] (.add enc (condensebuild x symid intern)))
2190
+ (intern enc))
2191
+
2192
+ (string? val) (intern (alist-of [CONDENSE_STR (.get symid val)]))
2193
+ (and (number? val) (not (jbool? val))) (intern (alist-of [CONDENSE_NUM val]))
2194
+ (true? val) (intern (alist-of [CONDENSE_TRUE]))
2195
+ (false? val) (intern (alist-of [CONDENSE_FALSE]))
2196
+ :else (intern (alist-of [CONDENSE_NULL]))))
2197
+
2198
+ (defn condense [val]
2199
+ (let [sym (vec (sort condensecmp (condensecollect val (java.util.HashSet.))))
2200
+ symid (java.util.HashMap.)
2201
+ nodes (alist)
2202
+ seen (java.util.HashMap.)
2203
+ intern (fn [^List enc]
2204
+ (let [k (mapv condensenumkey enc)
2205
+ hit (.get seen k)]
2206
+ (if (some? hit)
2207
+ hit
2208
+ (let [idx (long (.size nodes))]
2209
+ (.add nodes enc)
2210
+ (.put seen k idx)
2211
+ idx))))]
2212
+ (doseq [[i s] (map-indexed vector sym)] (.put symid s (long i)))
2213
+ (let [root (condensebuild val symid intern)]
2214
+ (doto (lhm)
2215
+ (.put S-condense CONDENSE_VERSION)
2216
+ (.put S-condsym (alist-of sym))
2217
+ (.put S-condnode nodes)
2218
+ (.put S-condroot root)))))
2219
+
2220
+ ;; The string form a key takes, as canonical's '' + key gives it.
2221
+ (defn- condensekey [key]
2222
+ (cond
2223
+ (string? key) key
2224
+ (jdouble? key) (let [d (double key)]
2225
+ (if (and (== d (Math/rint d)) (< (Math/abs d) 1.0E15)) (str (long d)) (str d)))
2226
+ :else (jsstr key)))
2227
+
2228
+ (defn- condenseindex [idx]
2229
+ (cond
2230
+ (integer? idx) idx
2231
+ (jdouble? idx) (let [d (double idx)]
2232
+ (when (and (== d (Math/rint d)) (< (Math/abs d) 2.0E9)) (long d)))
2233
+ :else nil))
2234
+
2235
+ (defn- condensefound [idx] (and (number? idx) (not (neg? idx))))
2236
+
2237
+ (defn- condensesym [cd id]
2238
+ (let [sym (_lookup cd S-condsym)
2239
+ i (condenseindex id)]
2240
+ (when (and (islist sym) (some? i) (<= 0 i) (< i (.size ^List sym)))
2241
+ (.get ^List sym (int i)))))
2242
+
2243
+ ;; Node idx as the list of its encoding, or nil when there is no such node.
2244
+ (defn- condenseenc [cd idx]
2245
+ (let [node (_lookup cd S-condnode)
2246
+ i (condenseindex idx)]
2247
+ (when (and (islist node) (some? i) (<= 0 i) (< i (.size ^List node)))
2248
+ (let [enc (.get ^List node (int i))]
2249
+ (cond
2250
+ (islist enc) enc
2251
+ (nil? enc) nil
2252
+ :else (alist))))))
2253
+
2254
+ (defn- condenseis [^List enc kind]
2255
+ (let [k (when (pos? (.size enc)) (.get enc 0))]
2256
+ (and (number? k) (== k kind))))
2257
+
2258
+ (defn- condensesymid [cd ^String key]
2259
+ (let [sym (_lookup cd S-condsym)]
2260
+ (if-not (islist sym)
2261
+ -1
2262
+ (loop [lo 0 hi (dec (.size ^List sym))]
2263
+ (if (<= lo hi)
2264
+ (let [mid (quot (+ lo hi) 2)
2265
+ s (.get ^List sym (int mid))]
2266
+ (cond
2267
+ (= s key) mid
2268
+ (and (string? s) (neg? (condensecmp s key))) (recur (inc mid) hi)
2269
+ :else (recur lo (dec mid))))
2270
+ -1)))))
2271
+
2272
+ (defn- condensechild [cd idx key]
2273
+ (let [^List enc (condenseenc cd idx)]
2274
+ (cond
2275
+ (or (nil? enc) (not (readkey? key))) -1
2276
+
2277
+ (condenseis enc CONDENSE_MAP)
2278
+ (let [symid (condensesymid cd (condensekey key))]
2279
+ (if (neg? symid)
2280
+ -1
2281
+ (loop [lo 0 hi (dec (quot (dec (.size enc)) 2))]
2282
+ (if (<= lo hi)
2283
+ (let [mid (quot (+ lo hi) 2)
2284
+ k (.get enc (int (inc (* 2 mid))))]
2285
+ (cond
2286
+ (and (number? k) (== k symid)) (.get enc (int (+ 2 (* 2 mid))))
2287
+ (and (number? k) (< k symid)) (recur (inc mid) hi)
2288
+ :else (recur lo (dec mid))))
2289
+ -1))))
2290
+
2291
+ (condenseis enc CONDENSE_LIST)
2292
+ (let [i (listindex key)]
2293
+ (if (and i (<= 0 i) (< i (dec (.size enc))))
2294
+ (.get enc (int (inc i)))
2295
+ -1))
2296
+
2297
+ :else -1)))
2298
+
2299
+ ;; Walk a path from node idx: the node index reached, or -1.
2300
+ (defn- condenseresolve [cd idx path]
2301
+ (let [parts (cond
2302
+ (islist path) (vec path)
2303
+ (string? path) (if (= path S-MT) [] (vec (.split ^String path "\\." -1)))
2304
+ (or (nil? path) (identical? path NOARG)) []
2305
+ :else [(condensekey path)])]
2306
+ (loop [at idx ps (seq parts)]
2307
+ (cond
2308
+ (nil? ps) at
2309
+ (and (number? at) (neg? at)) -1
2310
+ (= S-MT (first ps)) (recur at (next ps))
2311
+ :else (recur (condensechild cd at (first ps)) (next ps))))))
2312
+
2313
+ ;; A fresh tree each call: no materialisation shares a container with another,
2314
+ ;; even where the condensed form shares the node.
2315
+ (defn- condensematerialise [cd idx]
2316
+ (letfn [(rebuild [i]
2317
+ (when-let [^List enc (condenseenc cd i)]
2318
+ (let [n (.size enc)]
2319
+ (cond
2320
+ (condenseis enc CONDENSE_MAP)
2321
+ (let [out (lhm)]
2322
+ (doseq [j (range 1 n 2)]
2323
+ (.put out (condensekey (condensesym cd (.get enc (int j))))
2324
+ (rebuild (when (< (inc j) n) (.get enc (int (inc j)))))))
2325
+ out)
2326
+
2327
+ (condenseis enc CONDENSE_LIST)
2328
+ (let [out (alist)]
2329
+ (doseq [j (range 1 n)] (.add out (rebuild (.get enc (int j)))))
2330
+ out)
2331
+
2332
+ (condenseis enc CONDENSE_STR) (when (> n 1) (condensesym cd (.get enc 1)))
2333
+ (condenseis enc CONDENSE_NUM) (when (> n 1) (.get enc 1))
2334
+ (condenseis enc CONDENSE_TRUE) true
2335
+ (condenseis enc CONDENSE_FALSE) false
2336
+ :else nil))))]
2337
+ (when-not (and (number? idx) (neg? idx))
2338
+ (rebuild idx))))
2339
+
2340
+ (defn expand [cd]
2341
+ (if (iscondensed cd) (condensematerialise cd (_lookup cd S-condroot)) cd))
2342
+
2343
+ (defn- condensekeys [cd idx]
2344
+ (let [^List enc (condenseenc cd idx)]
2345
+ (cond
2346
+ (nil? enc) []
2347
+ (condenseis enc CONDENSE_MAP) (mapv #(condensesym cd (.get enc (int %))) (range 1 (.size enc) 2))
2348
+ (condenseis enc CONDENSE_LIST) (mapv str (range (dec (.size enc))))
2349
+ :else [])))
2350
+
2351
+ (defn- condensesize [cd idx]
2352
+ (let [^List enc (condenseenc cd idx)]
2353
+ (cond
2354
+ (nil? enc) 0
2355
+ (condenseis enc CONDENSE_MAP) (quot (dec (.size enc)) 2)
2356
+ (condenseis enc CONDENSE_LIST) (dec (.size enc))
2357
+ :else 0)))
2358
+
2359
+ ;; A cursor, as a map of closures: :get, :keys, :has and :at take an optional
2360
+ ;; path, the rest take nothing. :ref hands out ONE shared materialisation per
2361
+ ;; node, through a memo every view reached by :at shares; mutating it changes
2362
+ ;; what every other :ref of that node sees.
2363
+ (defn condenseview
2364
+ ([cd] (condenseview cd nil nil))
2365
+ ([cd idx] (condenseview cd idx nil))
2366
+ ([cd idx memo]
2367
+ (let [start (if (nil? idx) (if (iscondensed cd) (_lookup cd S-condroot) -1) idx)
2368
+ ^Map refmemo (if (nil? memo) (java.util.HashMap.) memo)
2369
+ walkto (fn [path] (condenseresolve cd start path))
2370
+ pathfn (fn [f] (fn ([] (f nil)) ([path] (f path))))]
2371
+ {:get (pathfn #(condensematerialise cd (walkto %)))
2372
+ :keys (pathfn #(condensekeys cd (walkto %)))
2373
+ :has (pathfn #(condensefound (walkto %)))
2374
+ :at (pathfn #(condenseview cd (walkto %) refmemo))
2375
+ :value (fn [] (condensematerialise cd start))
2376
+ :size (fn [] (condensesize cd start))
2377
+ :exists (fn [] (condensefound start))
2378
+ :ref (fn []
2379
+ (let [k (condensekey start)]
2380
+ (when-not (.containsKey refmemo k)
2381
+ (.put refmemo k (condensematerialise cd start)))
2382
+ (.get refmemo k)))})))
2383
+
1705
2384
  ;; ---------------------------------------------------------------------------
1706
2385
  ;; JSON builders
1707
2386
  ;; ---------------------------------------------------------------------------
@@ -1735,4 +2414,5 @@
1735
2414
  :re_compile re_compile :re_find re_find :re_find_all re_find_all
1736
2415
  :re_replace re_replace :re_test re_test :re_escape re_escape
1737
2416
  :SKIP SKIP :DELETE DELETE :tn tn
1738
- :checkPlacement checkPlacement :injectorArgs injectorArgs :injectChild injectChild})
2417
+ :checkPlacement checkPlacement :injectorArgs injectorArgs :injectChild injectChild
2418
+ :condense condense :condenseview condenseview :expand expand :iscondensed iscondensed})