@voxgig/sdkgen 4.47.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 (1847) hide show
  1. package/bin/voxgig-sdkgen +1 -1
  2. package/dist/action/check.js +4 -1
  3. package/dist/action/check.js.map +1 -1
  4. package/dist/action/doctor.js +7 -2
  5. package/dist/action/doctor.js.map +1 -1
  6. package/dist/action/target.js +55 -29
  7. package/dist/action/target.js.map +1 -1
  8. package/dist/cmp/AgentGuide.js +26 -17
  9. package/dist/cmp/AgentGuide.js.map +1 -1
  10. package/dist/cmp/AgentGuideContent.js +4 -8
  11. package/dist/cmp/AgentGuideContent.js.map +1 -1
  12. package/dist/cmp/AgentGuideTop.js +14 -13
  13. package/dist/cmp/AgentGuideTop.js.map +1 -1
  14. package/dist/cmp/Deploy.js +18 -8
  15. package/dist/cmp/Deploy.js.map +1 -1
  16. package/dist/cmp/FeatureDocs.d.ts +1 -0
  17. package/dist/cmp/FeatureDocs.js +2 -1
  18. package/dist/cmp/FeatureDocs.js.map +1 -1
  19. package/dist/cmp/License.d.ts +3 -1
  20. package/dist/cmp/License.js +25 -7
  21. package/dist/cmp/License.js.map +1 -1
  22. package/dist/cmp/Readme.js +0 -2
  23. package/dist/cmp/Readme.js.map +1 -1
  24. package/dist/cmp/ReadmeErrors.js +77 -77
  25. package/dist/cmp/ReadmeErrors.js.map +1 -1
  26. package/dist/cmp/ReadmeExplanation.js +5 -10
  27. package/dist/cmp/ReadmeExplanation.js.map +1 -1
  28. package/dist/cmp/ReadmeFeatures.js +13 -9
  29. package/dist/cmp/ReadmeFeatures.js.map +1 -1
  30. package/dist/cmp/ReadmeModel.js +13 -9
  31. package/dist/cmp/ReadmeModel.js.map +1 -1
  32. package/dist/cmp/ReadmeOptions.js +3 -11
  33. package/dist/cmp/ReadmeOptions.js.map +1 -1
  34. package/dist/cmp/ReadmeQuick.js +10 -2
  35. package/dist/cmp/ReadmeQuick.js.map +1 -1
  36. package/dist/cmp/ReadmeRefFeatures.js +34 -30
  37. package/dist/cmp/ReadmeRefFeatures.js.map +1 -1
  38. package/dist/cmp/ReadmeTop.js +82 -47
  39. package/dist/cmp/ReadmeTop.js.map +1 -1
  40. package/dist/helpers/canonSpec.d.ts +5 -1
  41. package/dist/helpers/canonSpec.js +44 -10
  42. package/dist/helpers/canonSpec.js.map +1 -1
  43. package/dist/helpers/clientOptions.d.ts +9 -0
  44. package/dist/helpers/clientOptions.js +44 -0
  45. package/dist/helpers/clientOptions.js.map +1 -0
  46. package/dist/helpers/consumer.d.ts +10 -0
  47. package/dist/helpers/consumer.js +42 -0
  48. package/dist/helpers/consumer.js.map +1 -0
  49. package/dist/helpers/doctext.js +9 -1
  50. package/dist/helpers/doctext.js.map +1 -1
  51. package/dist/helpers/facts.js +25 -1
  52. package/dist/helpers/facts.js.map +1 -1
  53. package/dist/helpers/flowGuard.js +1 -1
  54. package/dist/helpers/flowGuard.js.map +1 -1
  55. package/dist/helpers/mcpTools.d.ts +1 -1
  56. package/dist/helpers/mcpTools.js +2 -3
  57. package/dist/helpers/mcpTools.js.map +1 -1
  58. package/dist/helpers/naming.js +3 -2
  59. package/dist/helpers/naming.js.map +1 -1
  60. package/dist/helpers/opShape.d.ts +8 -2
  61. package/dist/helpers/opShape.js +32 -2
  62. package/dist/helpers/opShape.js.map +1 -1
  63. package/dist/helpers/optional.d.ts +0 -1
  64. package/dist/helpers/optional.js +0 -1
  65. package/dist/helpers/optional.js.map +1 -1
  66. package/dist/helpers/optspec.js +16 -4
  67. package/dist/helpers/optspec.js.map +1 -1
  68. package/dist/helpers/packageMeta.d.ts +2 -1
  69. package/dist/helpers/packageMeta.js +62 -1
  70. package/dist/helpers/packageMeta.js.map +1 -1
  71. package/dist/helpers/readerdir.d.ts +4 -0
  72. package/dist/helpers/readerdir.js +26 -0
  73. package/dist/helpers/readerdir.js.map +1 -0
  74. package/dist/helpers/sourcestring.d.ts +2 -1
  75. package/dist/helpers/sourcestring.js +6 -0
  76. package/dist/helpers/sourcestring.js.map +1 -1
  77. package/dist/helpers/stdrep.js +3 -3
  78. package/dist/helpers/stdrep.js.map +1 -1
  79. package/dist/helpers/surface.d.ts +6 -1
  80. package/dist/helpers/surface.js +17 -5
  81. package/dist/helpers/surface.js.map +1 -1
  82. package/dist/helpers/testPolicy.js +3 -3
  83. package/dist/helpers/testPolicy.js.map +1 -1
  84. package/dist/helpers/title.js +1 -1
  85. package/dist/helpers/title.js.map +1 -1
  86. package/dist/sdkgen.d.ts +13 -7
  87. package/dist/sdkgen.js +22 -6
  88. package/dist/sdkgen.js.map +1 -1
  89. package/dist/tsconfig.tsbuildinfo +1 -1
  90. package/dist/utility.js +12 -4
  91. package/dist/utility.js.map +1 -1
  92. package/model/fact.aontu +1 -1
  93. package/model/sdkgen.aontu +2 -0
  94. package/package.json +1 -1
  95. package/project/.sdk/model/feature/netsim.aontu +1 -1
  96. package/project/.sdk/model/feature/secrets.aontu +1 -0
  97. package/project/.sdk/model/feature/test.aontu +1 -1
  98. package/project/.sdk/model/feature/validate.aontu +1 -1
  99. package/project/.sdk/model/target/c.aontu +1 -0
  100. package/project/.sdk/model/target/clojure.aontu +1 -0
  101. package/project/.sdk/model/target/cpp.aontu +1 -0
  102. package/project/.sdk/model/target/csharp.aontu +1 -0
  103. package/project/.sdk/model/target/elixir.aontu +1 -0
  104. package/project/.sdk/model/target/go-cli.aontu +5 -5
  105. package/project/.sdk/model/target/go-mcp.aontu +6 -8
  106. package/project/.sdk/model/target/go.aontu +1 -1
  107. package/project/.sdk/model/target/java.aontu +1 -0
  108. package/project/.sdk/model/target/kotlin.aontu +1 -0
  109. package/project/.sdk/model/target/ocaml.aontu +1 -0
  110. package/project/.sdk/model/target/perl.aontu +1 -0
  111. package/project/.sdk/model/target/py-data.aontu +2 -0
  112. package/project/.sdk/model/target/rust.aontu +1 -0
  113. package/project/.sdk/model/target/scala.aontu +1 -0
  114. package/project/.sdk/model/target/zig.aontu +1 -0
  115. package/project/.sdk/src/cmp/c/Config_c.ts +8 -33
  116. package/project/.sdk/src/cmp/c/EntityTypes_c.ts +6 -5
  117. package/project/.sdk/src/cmp/c/Main_c.ts +4 -0
  118. package/project/.sdk/src/cmp/c/PrepareAuth_c.ts +9 -19
  119. package/project/.sdk/src/cmp/c/ReadmeEntity_c.ts +8 -10
  120. package/project/.sdk/src/cmp/c/ReadmeExamplesTest_c.ts +12 -4
  121. package/project/.sdk/src/cmp/c/ReadmeExplanation_c.ts +4 -2
  122. package/project/.sdk/src/cmp/c/ReadmeHowto_c.ts +18 -22
  123. package/project/.sdk/src/cmp/c/ReadmeInstall_c.ts +19 -15
  124. package/project/.sdk/src/cmp/c/ReadmeIntro_c.ts +5 -7
  125. package/project/.sdk/src/cmp/c/ReadmeModel_c.ts +32 -33
  126. package/project/.sdk/src/cmp/c/ReadmeQuick_c.ts +28 -11
  127. package/project/.sdk/src/cmp/c/ReadmeRef_c.ts +35 -26
  128. package/project/.sdk/src/cmp/c/ReadmeTopHowto_c.ts +5 -4
  129. package/project/.sdk/src/cmp/c/ReadmeTopQuick_c.ts +19 -6
  130. package/project/.sdk/src/cmp/c/TestClean_c.ts +298 -22
  131. package/project/.sdk/src/cmp/c/TestDirect_c.ts +1 -1
  132. package/project/.sdk/src/cmp/c/fragment/Entity.fragment.c +9 -9
  133. package/project/.sdk/src/cmp/c/fragment/EntityCreateOp.fragment.c +0 -1
  134. package/project/.sdk/src/cmp/c/fragment/EntityLoadOp.fragment.c +0 -1
  135. package/project/.sdk/src/cmp/c/fragment/EntityPatchOp.fragment.c +0 -1
  136. package/project/.sdk/src/cmp/c/fragment/EntityRemoveOp.fragment.c +0 -1
  137. package/project/.sdk/src/cmp/c/fragment/EntityUpdateOp.fragment.c +0 -1
  138. package/project/.sdk/src/cmp/c/fragment/Main.fragment.c +19 -7
  139. package/project/.sdk/src/cmp/clojure/Config_clojure.ts +4 -25
  140. package/project/.sdk/src/cmp/clojure/Main_clojure.ts +4 -0
  141. package/project/.sdk/src/cmp/clojure/PrepareAuth_clojure.ts +10 -21
  142. package/project/.sdk/src/cmp/clojure/ReadmeEntity_clojure.ts +8 -10
  143. package/project/.sdk/src/cmp/clojure/ReadmeExamplesTest_clojure.ts +13 -5
  144. package/project/.sdk/src/cmp/clojure/ReadmeExplanation_clojure.ts +13 -3
  145. package/project/.sdk/src/cmp/clojure/ReadmeHowto_clojure.ts +9 -8
  146. package/project/.sdk/src/cmp/clojure/ReadmeInstall_clojure.ts +13 -11
  147. package/project/.sdk/src/cmp/clojure/ReadmeIntro_clojure.ts +5 -7
  148. package/project/.sdk/src/cmp/clojure/ReadmeModel_clojure.ts +24 -33
  149. package/project/.sdk/src/cmp/clojure/ReadmeQuick_clojure.ts +20 -9
  150. package/project/.sdk/src/cmp/clojure/ReadmeRef_clojure.ts +23 -23
  151. package/project/.sdk/src/cmp/clojure/ReadmeTopHowto_clojure.ts +5 -4
  152. package/project/.sdk/src/cmp/clojure/ReadmeTopQuick_clojure.ts +11 -4
  153. package/project/.sdk/src/cmp/clojure/Schema_clojure.ts +2 -1
  154. package/project/.sdk/src/cmp/clojure/TestClean_clojure.ts +177 -12
  155. package/project/.sdk/src/cmp/clojure/fragment/Entity.fragment.clj +11 -12
  156. package/project/.sdk/src/cmp/clojure/fragment/EntityLoadOp.fragment.clj +1 -1
  157. package/project/.sdk/src/cmp/clojure/fragment/EntityRemoveOp.fragment.clj +2 -2
  158. package/project/.sdk/src/cmp/cpp/Config_cpp.ts +2 -17
  159. package/project/.sdk/src/cmp/cpp/EntityTypes_cpp.ts +4 -9
  160. package/project/.sdk/src/cmp/cpp/Main_cpp.ts +4 -0
  161. package/project/.sdk/src/cmp/cpp/PrepareAuth_cpp.ts +10 -21
  162. package/project/.sdk/src/cmp/cpp/ReadmeEntity_cpp.ts +10 -12
  163. package/project/.sdk/src/cmp/cpp/ReadmeExamplesTest_cpp.ts +12 -4
  164. package/project/.sdk/src/cmp/cpp/ReadmeExplanation_cpp.ts +5 -2
  165. package/project/.sdk/src/cmp/cpp/ReadmeHowto_cpp.ts +28 -11
  166. package/project/.sdk/src/cmp/cpp/ReadmeInstall_cpp.ts +16 -11
  167. package/project/.sdk/src/cmp/cpp/ReadmeIntro_cpp.ts +5 -7
  168. package/project/.sdk/src/cmp/cpp/ReadmeModel_cpp.ts +26 -35
  169. package/project/.sdk/src/cmp/cpp/ReadmeQuick_cpp.ts +22 -12
  170. package/project/.sdk/src/cmp/cpp/ReadmeRef_cpp.ts +30 -29
  171. package/project/.sdk/src/cmp/cpp/ReadmeTopHowto_cpp.ts +5 -4
  172. package/project/.sdk/src/cmp/cpp/ReadmeTopQuick_cpp.ts +13 -7
  173. package/project/.sdk/src/cmp/cpp/TestClean_cpp.ts +285 -14
  174. package/project/.sdk/src/cmp/cpp/TestEntity_cpp.ts +44 -24
  175. package/project/.sdk/src/cmp/cpp/fragment/EntityCreateOp.fragment.cpp +0 -1
  176. package/project/.sdk/src/cmp/cpp/fragment/EntityLoadOp.fragment.cpp +0 -1
  177. package/project/.sdk/src/cmp/cpp/fragment/EntityPatchOp.fragment.cpp +0 -1
  178. package/project/.sdk/src/cmp/cpp/fragment/EntityRemoveOp.fragment.cpp +0 -1
  179. package/project/.sdk/src/cmp/cpp/fragment/EntityUpdateOp.fragment.cpp +0 -1
  180. package/project/.sdk/src/cmp/csharp/Config_csharp.ts +5 -27
  181. package/project/.sdk/src/cmp/csharp/EntityTypes_csharp.ts +4 -5
  182. package/project/.sdk/src/cmp/csharp/Main_csharp.ts +5 -1
  183. package/project/.sdk/src/cmp/csharp/Package_csharp.ts +2 -1
  184. package/project/.sdk/src/cmp/csharp/PrepareAuth_csharp.ts +9 -20
  185. package/project/.sdk/src/cmp/csharp/ReadmeEntity_csharp.ts +10 -12
  186. package/project/.sdk/src/cmp/csharp/ReadmeExamplesTest_csharp.ts +18 -10
  187. package/project/.sdk/src/cmp/csharp/ReadmeExplanation_csharp.ts +1 -1
  188. package/project/.sdk/src/cmp/csharp/ReadmeHowto_csharp.ts +24 -12
  189. package/project/.sdk/src/cmp/csharp/ReadmeInstall_csharp.ts +9 -6
  190. package/project/.sdk/src/cmp/csharp/ReadmeIntro_csharp.ts +4 -6
  191. package/project/.sdk/src/cmp/csharp/ReadmeModel_csharp.ts +25 -35
  192. package/project/.sdk/src/cmp/csharp/ReadmeQuick_csharp.ts +21 -10
  193. package/project/.sdk/src/cmp/csharp/ReadmeRef_csharp.ts +25 -25
  194. package/project/.sdk/src/cmp/csharp/ReadmeTopHowto_csharp.ts +5 -4
  195. package/project/.sdk/src/cmp/csharp/ReadmeTopQuick_csharp.ts +11 -4
  196. package/project/.sdk/src/cmp/csharp/TestClean_csharp.ts +420 -27
  197. package/project/.sdk/src/cmp/csharp/TestDirect_csharp.ts +13 -13
  198. package/project/.sdk/src/cmp/csharp/TestEntity_csharp.ts +34 -35
  199. package/project/.sdk/src/cmp/csharp/fragment/EntityBase.fragment.cs +8 -7
  200. package/project/.sdk/src/cmp/csharp/fragment/Main.fragment.cs +4 -4
  201. package/project/.sdk/src/cmp/elixir/Config_elixir.ts +5 -26
  202. package/project/.sdk/src/cmp/elixir/EntityTypes_elixir.ts +8 -6
  203. package/project/.sdk/src/cmp/elixir/Main_elixir.ts +8 -2
  204. package/project/.sdk/src/cmp/elixir/Package_elixir.ts +3 -3
  205. package/project/.sdk/src/cmp/elixir/PrepareAuth_elixir.ts +10 -18
  206. package/project/.sdk/src/cmp/elixir/ReadmeEntity_elixir.ts +10 -12
  207. package/project/.sdk/src/cmp/elixir/ReadmeExamplesTest_elixir.ts +12 -5
  208. package/project/.sdk/src/cmp/elixir/ReadmeExplanation_elixir.ts +4 -2
  209. package/project/.sdk/src/cmp/elixir/ReadmeHowto_elixir.ts +13 -21
  210. package/project/.sdk/src/cmp/elixir/ReadmeInstall_elixir.ts +12 -8
  211. package/project/.sdk/src/cmp/elixir/ReadmeIntro_elixir.ts +5 -7
  212. package/project/.sdk/src/cmp/elixir/ReadmeModel_elixir.ts +24 -35
  213. package/project/.sdk/src/cmp/elixir/ReadmeQuick_elixir.ts +21 -10
  214. package/project/.sdk/src/cmp/elixir/ReadmeRef_elixir.ts +24 -24
  215. package/project/.sdk/src/cmp/elixir/ReadmeTopHowto_elixir.ts +5 -4
  216. package/project/.sdk/src/cmp/elixir/ReadmeTopQuick_elixir.ts +11 -4
  217. package/project/.sdk/src/cmp/elixir/Schema_elixir.ts +2 -1
  218. package/project/.sdk/src/cmp/elixir/TestClean_elixir.ts +231 -12
  219. package/project/.sdk/src/cmp/elixir/TestEntity_elixir.ts +3 -3
  220. package/project/.sdk/src/cmp/elixir/app_elixir.ts +14 -0
  221. package/project/.sdk/src/cmp/elixir/fragment/Main.fragment.ex +4 -4
  222. package/project/.sdk/src/cmp/go/Config_go.ts +16 -31
  223. package/project/.sdk/src/cmp/go/EntityTypes_go.ts +13 -7
  224. package/project/.sdk/src/cmp/go/Main_go.ts +10 -12
  225. package/project/.sdk/src/cmp/go/PrepareAuth_go.ts +12 -21
  226. package/project/.sdk/src/cmp/go/ReadmeEntity_go.ts +5 -5
  227. package/project/.sdk/src/cmp/go/ReadmeExamplesTest_go.ts +20 -9
  228. package/project/.sdk/src/cmp/go/ReadmeExplanation_go.ts +4 -2
  229. package/project/.sdk/src/cmp/go/ReadmeHowto_go.ts +28 -13
  230. package/project/.sdk/src/cmp/go/ReadmeInstall_go.ts +11 -6
  231. package/project/.sdk/src/cmp/go/ReadmeIntro_go.ts +5 -4
  232. package/project/.sdk/src/cmp/go/ReadmeModel_go.ts +32 -34
  233. package/project/.sdk/src/cmp/go/ReadmeQuick_go.ts +15 -11
  234. package/project/.sdk/src/cmp/go/ReadmeRef_go.ts +32 -22
  235. package/project/.sdk/src/cmp/go/ReadmeTopHowto_go.ts +5 -4
  236. package/project/.sdk/src/cmp/go/ReadmeTopQuick_go.ts +7 -4
  237. package/project/.sdk/src/cmp/go/Schema_go.ts +2 -1
  238. package/project/.sdk/src/cmp/go/TestClean_go.ts +484 -45
  239. package/project/.sdk/src/cmp/go/TestDirect_go.ts +15 -13
  240. package/project/.sdk/src/cmp/go/TestEntity_go.ts +35 -35
  241. package/project/.sdk/src/cmp/go/fragment/Entity.fragment.go +1 -1
  242. package/project/.sdk/src/cmp/go/fragment/Main.fragment.go +14 -6
  243. package/project/.sdk/src/cmp/go-cli/Main_go-cli.ts +238 -96
  244. package/project/.sdk/src/cmp/go-cli/fragment/main.fragment.go +13 -12
  245. package/project/.sdk/src/cmp/go-cli/fragment/words.fragment.go +3 -8
  246. package/project/.sdk/src/cmp/go-mcp/Main_go-mcp.ts +183 -66
  247. package/project/.sdk/src/cmp/go-mcp/fragment/main.fragment.go +7 -7
  248. package/project/.sdk/src/cmp/java/Config_java.ts +8 -32
  249. package/project/.sdk/src/cmp/java/EntityTypes_java.ts +4 -5
  250. package/project/.sdk/src/cmp/java/Main_java.ts +5 -1
  251. package/project/.sdk/src/cmp/java/Package_java.ts +4 -7
  252. package/project/.sdk/src/cmp/java/PrepareAuth_java.ts +13 -11
  253. package/project/.sdk/src/cmp/java/ReadmeEntity_java.ts +10 -12
  254. package/project/.sdk/src/cmp/java/ReadmeExamplesTest_java.ts +17 -9
  255. package/project/.sdk/src/cmp/java/ReadmeExplanation_java.ts +1 -1
  256. package/project/.sdk/src/cmp/java/ReadmeHowto_java.ts +24 -12
  257. package/project/.sdk/src/cmp/java/ReadmeInstall_java.ts +8 -10
  258. package/project/.sdk/src/cmp/java/ReadmeIntro_java.ts +5 -7
  259. package/project/.sdk/src/cmp/java/ReadmeModel_java.ts +24 -35
  260. package/project/.sdk/src/cmp/java/ReadmeQuick_java.ts +11 -9
  261. package/project/.sdk/src/cmp/java/ReadmeRef_java.ts +25 -25
  262. package/project/.sdk/src/cmp/java/ReadmeTopHowto_java.ts +5 -4
  263. package/project/.sdk/src/cmp/java/ReadmeTopQuick_java.ts +3 -3
  264. package/project/.sdk/src/cmp/java/Schema_java.ts +2 -1
  265. package/project/.sdk/src/cmp/java/TestClean_java.ts +386 -19
  266. package/project/.sdk/src/cmp/java/TestDirect_java.ts +12 -11
  267. package/project/.sdk/src/cmp/java/TestEntity_java.ts +27 -27
  268. package/project/.sdk/src/cmp/java/fragment/EntityBase.fragment.java +8 -7
  269. package/project/.sdk/src/cmp/java/utility_java.ts +7 -23
  270. package/project/.sdk/src/cmp/js/Config_js.ts +13 -35
  271. package/project/.sdk/src/cmp/js/EntityBase_js.ts +1 -1
  272. package/project/.sdk/src/cmp/js/EntityTypes_js.ts +4 -5
  273. package/project/.sdk/src/cmp/js/Entity_js.ts +1 -1
  274. package/project/.sdk/src/cmp/js/Main_js.ts +6 -9
  275. package/project/.sdk/src/cmp/js/Package_js.ts +3 -2
  276. package/project/.sdk/src/cmp/js/PrepareAuth_js.ts +9 -17
  277. package/project/.sdk/src/cmp/js/ReadmeEntity_js.ts +12 -14
  278. package/project/.sdk/src/cmp/js/ReadmeExplanation_js.ts +1 -1
  279. package/project/.sdk/src/cmp/js/ReadmeHowto_js.ts +41 -16
  280. package/project/.sdk/src/cmp/js/ReadmeInstall_js.ts +9 -6
  281. package/project/.sdk/src/cmp/js/ReadmeIntro_js.ts +6 -3
  282. package/project/.sdk/src/cmp/js/ReadmeModel_js.ts +23 -37
  283. package/project/.sdk/src/cmp/js/ReadmeQuick_js.ts +14 -4
  284. package/project/.sdk/src/cmp/js/ReadmeRef_js.ts +31 -35
  285. package/project/.sdk/src/cmp/js/ReadmeTopHowto_js.ts +5 -4
  286. package/project/.sdk/src/cmp/js/ReadmeTopQuick_js.ts +12 -4
  287. package/project/.sdk/src/cmp/js/Schema_js.ts +2 -1
  288. package/project/.sdk/src/cmp/js/TestClean_js.ts +229 -13
  289. package/project/.sdk/src/cmp/js/TestDirect_js.ts +16 -14
  290. package/project/.sdk/src/cmp/js/TestEntity_js.ts +30 -28
  291. package/project/.sdk/src/cmp/js/TestLive_js.ts +7 -6
  292. package/project/.sdk/src/cmp/js/fragment/Direct.test.fragment.js +1 -1
  293. package/project/.sdk/src/cmp/js/fragment/Entity.test.fragment.js +1 -1
  294. package/project/.sdk/src/cmp/js/fragment/EntityBase.fragment.js +5 -4
  295. package/project/.sdk/src/cmp/js/fragment/EntityCreateOp.fragment.js +1 -2
  296. package/project/.sdk/src/cmp/js/fragment/EntityLoadOp.fragment.js +1 -2
  297. package/project/.sdk/src/cmp/js/fragment/EntityPatchOp.fragment.js +1 -2
  298. package/project/.sdk/src/cmp/js/fragment/EntityRemoveOp.fragment.js +1 -2
  299. package/project/.sdk/src/cmp/js/fragment/EntityUpdateOp.fragment.js +1 -2
  300. package/project/.sdk/src/cmp/js/fragment/Main.fragment.js +4 -4
  301. package/project/.sdk/src/cmp/kotlin/Config_kotlin.ts +3 -25
  302. package/project/.sdk/src/cmp/kotlin/EntityTypes_kotlin.ts +4 -5
  303. package/project/.sdk/src/cmp/kotlin/Main_kotlin.ts +5 -1
  304. package/project/.sdk/src/cmp/kotlin/Package_kotlin.ts +5 -5
  305. package/project/.sdk/src/cmp/kotlin/PrepareAuth_kotlin.ts +13 -12
  306. package/project/.sdk/src/cmp/kotlin/ReadmeEntity_kotlin.ts +10 -12
  307. package/project/.sdk/src/cmp/kotlin/ReadmeExamplesTest_kotlin.ts +17 -9
  308. package/project/.sdk/src/cmp/kotlin/ReadmeExplanation_kotlin.ts +1 -1
  309. package/project/.sdk/src/cmp/kotlin/ReadmeHowto_kotlin.ts +24 -12
  310. package/project/.sdk/src/cmp/kotlin/ReadmeInstall_kotlin.ts +8 -10
  311. package/project/.sdk/src/cmp/kotlin/ReadmeIntro_kotlin.ts +5 -7
  312. package/project/.sdk/src/cmp/kotlin/ReadmeModel_kotlin.ts +24 -35
  313. package/project/.sdk/src/cmp/kotlin/ReadmeQuick_kotlin.ts +22 -23
  314. package/project/.sdk/src/cmp/kotlin/ReadmeRef_kotlin.ts +25 -25
  315. package/project/.sdk/src/cmp/kotlin/ReadmeTopHowto_kotlin.ts +5 -4
  316. package/project/.sdk/src/cmp/kotlin/ReadmeTopQuick_kotlin.ts +12 -10
  317. package/project/.sdk/src/cmp/kotlin/Schema_kotlin.ts +2 -1
  318. package/project/.sdk/src/cmp/kotlin/TestClean_kotlin.ts +306 -18
  319. package/project/.sdk/src/cmp/kotlin/TestDirect_kotlin.ts +19 -8
  320. package/project/.sdk/src/cmp/kotlin/TestEntity_kotlin.ts +34 -24
  321. package/project/.sdk/src/cmp/kotlin/fragment/EntityBase.fragment.kt +8 -7
  322. package/project/.sdk/src/cmp/kotlin/utility_kotlin.ts +7 -23
  323. package/project/.sdk/src/cmp/lua/Config_lua.ts +16 -26
  324. package/project/.sdk/src/cmp/lua/EntityTypes_lua.ts +4 -5
  325. package/project/.sdk/src/cmp/lua/Main_lua.ts +5 -4
  326. package/project/.sdk/src/cmp/lua/Package_lua.ts +12 -6
  327. package/project/.sdk/src/cmp/lua/PrepareAuth_lua.ts +13 -12
  328. package/project/.sdk/src/cmp/lua/ReadmeEntity_lua.ts +10 -12
  329. package/project/.sdk/src/cmp/lua/ReadmeExamplesTest_lua.ts +12 -5
  330. package/project/.sdk/src/cmp/lua/ReadmeExplanation_lua.ts +5 -3
  331. package/project/.sdk/src/cmp/lua/ReadmeHowto_lua.ts +25 -13
  332. package/project/.sdk/src/cmp/lua/ReadmeInstall_lua.ts +5 -4
  333. package/project/.sdk/src/cmp/lua/ReadmeIntro_lua.ts +6 -5
  334. package/project/.sdk/src/cmp/lua/ReadmeModel_lua.ts +32 -43
  335. package/project/.sdk/src/cmp/lua/ReadmeQuick_lua.ts +21 -10
  336. package/project/.sdk/src/cmp/lua/ReadmeRef_lua.ts +22 -26
  337. package/project/.sdk/src/cmp/lua/ReadmeTopHowto_lua.ts +5 -4
  338. package/project/.sdk/src/cmp/lua/ReadmeTopQuick_lua.ts +11 -4
  339. package/project/.sdk/src/cmp/lua/Schema_lua.ts +2 -1
  340. package/project/.sdk/src/cmp/lua/TestClean_lua.ts +297 -13
  341. package/project/.sdk/src/cmp/lua/TestDirect_lua.ts +13 -12
  342. package/project/.sdk/src/cmp/lua/TestEntity_lua.ts +30 -30
  343. package/project/.sdk/src/cmp/lua/fragment/Entity.fragment.lua +10 -10
  344. package/project/.sdk/src/cmp/lua/fragment/Main.fragment.lua +4 -4
  345. package/project/.sdk/src/cmp/ocaml/Config_ocaml.ts +4 -20
  346. package/project/.sdk/src/cmp/ocaml/Main_ocaml.ts +4 -0
  347. package/project/.sdk/src/cmp/ocaml/Package_ocaml.ts +8 -5
  348. package/project/.sdk/src/cmp/ocaml/PrepareAuth_ocaml.ts +11 -24
  349. package/project/.sdk/src/cmp/ocaml/ReadmeEntity_ocaml.ts +8 -10
  350. package/project/.sdk/src/cmp/ocaml/ReadmeExamplesTest_ocaml.ts +11 -4
  351. package/project/.sdk/src/cmp/ocaml/ReadmeExplanation_ocaml.ts +1 -1
  352. package/project/.sdk/src/cmp/ocaml/ReadmeHowto_ocaml.ts +12 -20
  353. package/project/.sdk/src/cmp/ocaml/ReadmeInstall_ocaml.ts +12 -11
  354. package/project/.sdk/src/cmp/ocaml/ReadmeIntro_ocaml.ts +8 -10
  355. package/project/.sdk/src/cmp/ocaml/ReadmeModel_ocaml.ts +26 -35
  356. package/project/.sdk/src/cmp/ocaml/ReadmeQuick_ocaml.ts +21 -10
  357. package/project/.sdk/src/cmp/ocaml/ReadmeRef_ocaml.ts +24 -23
  358. package/project/.sdk/src/cmp/ocaml/ReadmeTopHowto_ocaml.ts +5 -4
  359. package/project/.sdk/src/cmp/ocaml/ReadmeTopQuick_ocaml.ts +11 -4
  360. package/project/.sdk/src/cmp/ocaml/TestClean_ocaml.ts +179 -14
  361. package/project/.sdk/src/cmp/ocaml/TestEntity_ocaml.ts +1 -1
  362. package/project/.sdk/src/cmp/ocaml/utility_ocaml.ts +0 -9
  363. package/project/.sdk/src/cmp/perl/Config_perl.ts +2 -16
  364. package/project/.sdk/src/cmp/perl/Main_perl.ts +3 -1
  365. package/project/.sdk/src/cmp/perl/PrepareAuth_perl.ts +12 -10
  366. package/project/.sdk/src/cmp/perl/ReadmeEntity_perl.ts +8 -10
  367. package/project/.sdk/src/cmp/perl/ReadmeExamplesTest_perl.ts +16 -10
  368. package/project/.sdk/src/cmp/perl/ReadmeExplanation_perl.ts +1 -1
  369. package/project/.sdk/src/cmp/perl/ReadmeHowto_perl.ts +25 -13
  370. package/project/.sdk/src/cmp/perl/ReadmeInstall_perl.ts +10 -9
  371. package/project/.sdk/src/cmp/perl/ReadmeIntro_perl.ts +4 -6
  372. package/project/.sdk/src/cmp/perl/ReadmeModel_perl.ts +24 -35
  373. package/project/.sdk/src/cmp/perl/ReadmeQuick_perl.ts +21 -10
  374. package/project/.sdk/src/cmp/perl/ReadmeRef_perl.ts +23 -23
  375. package/project/.sdk/src/cmp/perl/ReadmeTopHowto_perl.ts +5 -4
  376. package/project/.sdk/src/cmp/perl/ReadmeTopQuick_perl.ts +11 -4
  377. package/project/.sdk/src/cmp/perl/TestClean_perl.ts +407 -26
  378. package/project/.sdk/src/cmp/perl/TestDirect_perl.ts +13 -12
  379. package/project/.sdk/src/cmp/perl/TestEntity_perl.ts +29 -30
  380. package/project/.sdk/src/cmp/perl/fragment/Entity.fragment.pm +20 -11
  381. package/project/.sdk/src/cmp/perl/fragment/EntityLoadOp.fragment.pm +5 -5
  382. package/project/.sdk/src/cmp/perl/fragment/EntityRemoveOp.fragment.pm +3 -3
  383. package/project/.sdk/src/cmp/perl/fragment/Main.fragment.pm +10 -5
  384. package/project/.sdk/src/cmp/php/Config_php.ts +18 -33
  385. package/project/.sdk/src/cmp/php/EntityTypes_php.ts +4 -5
  386. package/project/.sdk/src/cmp/php/Main_php.ts +5 -9
  387. package/project/.sdk/src/cmp/php/PrepareAuth_php.ts +7 -17
  388. package/project/.sdk/src/cmp/php/ReadmeEntity_php.ts +10 -12
  389. package/project/.sdk/src/cmp/php/ReadmeExamplesTest_php.ts +15 -9
  390. package/project/.sdk/src/cmp/php/ReadmeExplanation_php.ts +5 -3
  391. package/project/.sdk/src/cmp/php/ReadmeHowto_php.ts +24 -12
  392. package/project/.sdk/src/cmp/php/ReadmeInstall_php.ts +8 -5
  393. package/project/.sdk/src/cmp/php/ReadmeIntro_php.ts +1 -1
  394. package/project/.sdk/src/cmp/php/ReadmeModel_php.ts +31 -37
  395. package/project/.sdk/src/cmp/php/ReadmeQuick_php.ts +21 -10
  396. package/project/.sdk/src/cmp/php/ReadmeRef_php.ts +32 -29
  397. package/project/.sdk/src/cmp/php/ReadmeTopHowto_php.ts +5 -4
  398. package/project/.sdk/src/cmp/php/ReadmeTopQuick_php.ts +11 -4
  399. package/project/.sdk/src/cmp/php/Schema_php.ts +2 -1
  400. package/project/.sdk/src/cmp/php/TestClean_php.ts +416 -39
  401. package/project/.sdk/src/cmp/php/TestDirect_php.ts +13 -12
  402. package/project/.sdk/src/cmp/php/TestEntity_php.ts +56 -31
  403. package/project/.sdk/src/cmp/php/fragment/Entity.fragment.php +8 -8
  404. package/project/.sdk/src/cmp/php/fragment/EntityCreateOp.fragment.php +1 -1
  405. package/project/.sdk/src/cmp/php/fragment/EntityListOp.fragment.php +1 -1
  406. package/project/.sdk/src/cmp/php/fragment/EntityLoadOp.fragment.php +3 -3
  407. package/project/.sdk/src/cmp/php/fragment/EntityPatchOp.fragment.php +1 -1
  408. package/project/.sdk/src/cmp/php/fragment/EntityRemoveOp.fragment.php +3 -3
  409. package/project/.sdk/src/cmp/php/fragment/EntityUpdateOp.fragment.php +1 -1
  410. package/project/.sdk/src/cmp/php/fragment/Main.fragment.php +4 -4
  411. package/project/.sdk/src/cmp/py/Config_py.ts +18 -33
  412. package/project/.sdk/src/cmp/py/EntityTypes_py.ts +4 -5
  413. package/project/.sdk/src/cmp/py/Main_py.ts +3 -9
  414. package/project/.sdk/src/cmp/py/PrepareAuth_py.ts +8 -19
  415. package/project/.sdk/src/cmp/py/ReadmeEntity_py.ts +10 -12
  416. package/project/.sdk/src/cmp/py/ReadmeExamplesTest_py.ts +21 -14
  417. package/project/.sdk/src/cmp/py/ReadmeExplanation_py.ts +25 -15
  418. package/project/.sdk/src/cmp/py/ReadmeHowto_py.ts +25 -13
  419. package/project/.sdk/src/cmp/py/ReadmeInstall_py.ts +5 -4
  420. package/project/.sdk/src/cmp/py/ReadmeIntro_py.ts +4 -6
  421. package/project/.sdk/src/cmp/py/ReadmeModel_py.ts +25 -36
  422. package/project/.sdk/src/cmp/py/ReadmeQuick_py.ts +10 -8
  423. package/project/.sdk/src/cmp/py/ReadmeRef_py.ts +28 -28
  424. package/project/.sdk/src/cmp/py/ReadmeTopHowto_py.ts +5 -4
  425. package/project/.sdk/src/cmp/py/ReadmeTopQuick_py.ts +3 -3
  426. package/project/.sdk/src/cmp/py/Schema_py.ts +2 -1
  427. package/project/.sdk/src/cmp/py/TestClean_py.ts +342 -28
  428. package/project/.sdk/src/cmp/py/TestDirect_py.ts +12 -11
  429. package/project/.sdk/src/cmp/py/TestEntity_py.ts +31 -31
  430. package/project/.sdk/src/cmp/py/fragment/Entity.fragment.py +10 -9
  431. package/project/.sdk/src/cmp/py/fragment/Main.fragment.py +4 -6
  432. package/project/.sdk/src/cmp/py-data/Main_py-data.ts +280 -145
  433. package/project/.sdk/src/cmp/rb/Config_rb.ts +16 -26
  434. package/project/.sdk/src/cmp/rb/Main_rb.ts +3 -9
  435. package/project/.sdk/src/cmp/rb/PrepareAuth_rb.ts +9 -18
  436. package/project/.sdk/src/cmp/rb/ReadmeEntity_rb.ts +10 -12
  437. package/project/.sdk/src/cmp/rb/ReadmeExamplesTest_rb.ts +15 -10
  438. package/project/.sdk/src/cmp/rb/ReadmeExplanation_rb.ts +5 -3
  439. package/project/.sdk/src/cmp/rb/ReadmeHowto_rb.ts +24 -12
  440. package/project/.sdk/src/cmp/rb/ReadmeInstall_rb.ts +8 -5
  441. package/project/.sdk/src/cmp/rb/ReadmeIntro_rb.ts +1 -1
  442. package/project/.sdk/src/cmp/rb/ReadmeModel_rb.ts +28 -37
  443. package/project/.sdk/src/cmp/rb/ReadmeQuick_rb.ts +21 -10
  444. package/project/.sdk/src/cmp/rb/ReadmeRef_rb.ts +27 -27
  445. package/project/.sdk/src/cmp/rb/ReadmeTopHowto_rb.ts +5 -4
  446. package/project/.sdk/src/cmp/rb/ReadmeTopQuick_rb.ts +11 -4
  447. package/project/.sdk/src/cmp/rb/Schema_rb.ts +2 -1
  448. package/project/.sdk/src/cmp/rb/TestClean_rb.ts +270 -23
  449. package/project/.sdk/src/cmp/rb/TestDirect_rb.ts +13 -12
  450. package/project/.sdk/src/cmp/rb/TestEntity_rb.ts +30 -30
  451. package/project/.sdk/src/cmp/rb/fragment/Entity.fragment.rb +9 -9
  452. package/project/.sdk/src/cmp/rb/fragment/EntityLoadOp.fragment.rb +1 -1
  453. package/project/.sdk/src/cmp/rb/fragment/EntityRemoveOp.fragment.rb +1 -1
  454. package/project/.sdk/src/cmp/rb/fragment/Main.fragment.rb +4 -4
  455. package/project/.sdk/src/cmp/rust/Config_rust.ts +4 -34
  456. package/project/.sdk/src/cmp/rust/EntityTypes_rust.ts +3 -4
  457. package/project/.sdk/src/cmp/rust/Main_rust.ts +6 -2
  458. package/project/.sdk/src/cmp/rust/Package_rust.ts +6 -3
  459. package/project/.sdk/src/cmp/rust/PrepareAuth_rust.ts +13 -12
  460. package/project/.sdk/src/cmp/rust/ReadmeEntity_rust.ts +10 -12
  461. package/project/.sdk/src/cmp/rust/ReadmeExamplesTest_rust.ts +13 -6
  462. package/project/.sdk/src/cmp/rust/ReadmeExplanation_rust.ts +4 -2
  463. package/project/.sdk/src/cmp/rust/ReadmeHowto_rust.ts +26 -13
  464. package/project/.sdk/src/cmp/rust/ReadmeInstall_rust.ts +11 -10
  465. package/project/.sdk/src/cmp/rust/ReadmeIntro_rust.ts +5 -7
  466. package/project/.sdk/src/cmp/rust/ReadmeModel_rust.ts +35 -37
  467. package/project/.sdk/src/cmp/rust/ReadmeQuick_rust.ts +21 -9
  468. package/project/.sdk/src/cmp/rust/ReadmeRef_rust.ts +41 -32
  469. package/project/.sdk/src/cmp/rust/ReadmeTopHowto_rust.ts +5 -4
  470. package/project/.sdk/src/cmp/rust/ReadmeTopQuick_rust.ts +12 -4
  471. package/project/.sdk/src/cmp/rust/TestClean_rust.ts +391 -18
  472. package/project/.sdk/src/cmp/rust/TestDirect_rust.ts +17 -14
  473. package/project/.sdk/src/cmp/rust/TestEntity_rust.ts +35 -34
  474. package/project/.sdk/src/cmp/rust/fragment/Entity.fragment.rs +2 -2
  475. package/project/.sdk/src/cmp/rust/fragment/EntityCreateOp.fragment.rs +0 -1
  476. package/project/.sdk/src/cmp/rust/fragment/EntityListOp.fragment.rs +1 -1
  477. package/project/.sdk/src/cmp/rust/fragment/EntityLoadOp.fragment.rs +0 -1
  478. package/project/.sdk/src/cmp/rust/fragment/EntityPatchOp.fragment.rs +0 -1
  479. package/project/.sdk/src/cmp/rust/fragment/EntityUpdateOp.fragment.rs +0 -1
  480. package/project/.sdk/src/cmp/rust/fragment/Main.fragment.rs +5 -4
  481. package/project/.sdk/src/cmp/rust/utility_rust.ts +0 -8
  482. package/project/.sdk/src/cmp/scala/Config_scala.ts +5 -26
  483. package/project/.sdk/src/cmp/scala/EntityTypes_scala.ts +4 -5
  484. package/project/.sdk/src/cmp/scala/Main_scala.ts +5 -1
  485. package/project/.sdk/src/cmp/scala/PrepareAuth_scala.ts +13 -13
  486. package/project/.sdk/src/cmp/scala/ReadmeEntity_scala.ts +10 -12
  487. package/project/.sdk/src/cmp/scala/ReadmeExamplesTest_scala.ts +11 -4
  488. package/project/.sdk/src/cmp/scala/ReadmeExplanation_scala.ts +3 -3
  489. package/project/.sdk/src/cmp/scala/ReadmeHowto_scala.ts +12 -20
  490. package/project/.sdk/src/cmp/scala/ReadmeInstall_scala.ts +11 -15
  491. package/project/.sdk/src/cmp/scala/ReadmeIntro_scala.ts +5 -7
  492. package/project/.sdk/src/cmp/scala/ReadmeModel_scala.ts +24 -35
  493. package/project/.sdk/src/cmp/scala/ReadmeQuick_scala.ts +23 -23
  494. package/project/.sdk/src/cmp/scala/ReadmeRef_scala.ts +25 -25
  495. package/project/.sdk/src/cmp/scala/ReadmeTopHowto_scala.ts +5 -4
  496. package/project/.sdk/src/cmp/scala/ReadmeTopQuick_scala.ts +13 -10
  497. package/project/.sdk/src/cmp/scala/Schema_scala.ts +2 -1
  498. package/project/.sdk/src/cmp/scala/TestClean_scala.ts +324 -20
  499. package/project/.sdk/src/cmp/scala/TestEntity_scala.ts +16 -16
  500. package/project/.sdk/src/cmp/scala/fragment/EntityBase.fragment.scala +8 -7
  501. package/project/.sdk/src/cmp/scala/utility_scala.ts +4 -19
  502. package/project/.sdk/src/cmp/swift/Config_swift.ts +3 -14
  503. package/project/.sdk/src/cmp/swift/EntityTypes_swift.ts +3 -4
  504. package/project/.sdk/src/cmp/swift/Main_swift.ts +4 -0
  505. package/project/.sdk/src/cmp/swift/PrepareAuth_swift.ts +14 -14
  506. package/project/.sdk/src/cmp/swift/ReadmeEntity_swift.ts +10 -12
  507. package/project/.sdk/src/cmp/swift/ReadmeExamplesTest_swift.ts +14 -7
  508. package/project/.sdk/src/cmp/swift/ReadmeExplanation_swift.ts +3 -3
  509. package/project/.sdk/src/cmp/swift/ReadmeHowto_swift.ts +12 -20
  510. package/project/.sdk/src/cmp/swift/ReadmeInstall_swift.ts +13 -13
  511. package/project/.sdk/src/cmp/swift/ReadmeIntro_swift.ts +4 -6
  512. package/project/.sdk/src/cmp/swift/ReadmeModel_swift.ts +24 -35
  513. package/project/.sdk/src/cmp/swift/ReadmeQuick_swift.ts +24 -25
  514. package/project/.sdk/src/cmp/swift/ReadmeRef_swift.ts +25 -25
  515. package/project/.sdk/src/cmp/swift/ReadmeTopHowto_swift.ts +5 -4
  516. package/project/.sdk/src/cmp/swift/ReadmeTopQuick_swift.ts +13 -11
  517. package/project/.sdk/src/cmp/swift/TestClean_swift.ts +352 -23
  518. package/project/.sdk/src/cmp/swift/fragment/EntityBase.fragment.swift +8 -7
  519. package/project/.sdk/src/cmp/swift/fragment/Main.fragment.swift +5 -5
  520. package/project/.sdk/src/cmp/ts/Config_ts.ts +13 -35
  521. package/project/.sdk/src/cmp/ts/EntityBase_ts.ts +1 -1
  522. package/project/.sdk/src/cmp/ts/EntityTypes_ts.ts +4 -5
  523. package/project/.sdk/src/cmp/ts/Entity_ts.ts +1 -1
  524. package/project/.sdk/src/cmp/ts/Main_ts.ts +6 -9
  525. package/project/.sdk/src/cmp/ts/Package_ts.ts +3 -2
  526. package/project/.sdk/src/cmp/ts/PrepareAuth_ts.ts +11 -10
  527. package/project/.sdk/src/cmp/ts/ReadmeEntity_ts.ts +9 -11
  528. package/project/.sdk/src/cmp/ts/ReadmeExampleTest_ts.ts +33 -9
  529. package/project/.sdk/src/cmp/ts/ReadmeExamplesTest_ts.ts +35 -7
  530. package/project/.sdk/src/cmp/ts/ReadmeExplanation_ts.ts +1 -1
  531. package/project/.sdk/src/cmp/ts/ReadmeHowto_ts.ts +38 -18
  532. package/project/.sdk/src/cmp/ts/ReadmeInstall_ts.ts +9 -5
  533. package/project/.sdk/src/cmp/ts/ReadmeIntro_ts.ts +6 -3
  534. package/project/.sdk/src/cmp/ts/ReadmeModel_ts.ts +32 -53
  535. package/project/.sdk/src/cmp/ts/ReadmeQuick_ts.ts +10 -8
  536. package/project/.sdk/src/cmp/ts/ReadmeRef_ts.ts +22 -26
  537. package/project/.sdk/src/cmp/ts/ReadmeTopHowto_ts.ts +5 -4
  538. package/project/.sdk/src/cmp/ts/ReadmeTopQuick_ts.ts +6 -6
  539. package/project/.sdk/src/cmp/ts/Schema_ts.ts +2 -1
  540. package/project/.sdk/src/cmp/ts/TestClean_ts.ts +229 -13
  541. package/project/.sdk/src/cmp/ts/TestDirect_ts.ts +17 -17
  542. package/project/.sdk/src/cmp/ts/TestEntity_ts.ts +30 -30
  543. package/project/.sdk/src/cmp/ts/TestLive_ts.ts +7 -6
  544. package/project/.sdk/src/cmp/ts/fragment/Direct.test.fragment.ts +1 -1
  545. package/project/.sdk/src/cmp/ts/fragment/Entity.test.fragment.ts +1 -1
  546. package/project/.sdk/src/cmp/ts/fragment/EntityBase.fragment.ts +3 -3
  547. package/project/.sdk/src/cmp/ts/fragment/Main.fragment.ts +2 -2
  548. package/project/.sdk/src/cmp/zig/Config_zig.ts +5 -21
  549. package/project/.sdk/src/cmp/zig/Main_zig.ts +4 -0
  550. package/project/.sdk/src/cmp/zig/Package_zig.ts +3 -2
  551. package/project/.sdk/src/cmp/zig/PrepareAuth_zig.ts +10 -21
  552. package/project/.sdk/src/cmp/zig/ReadmeEntity_zig.ts +9 -11
  553. package/project/.sdk/src/cmp/zig/ReadmeExamplesTest_zig.ts +8 -7
  554. package/project/.sdk/src/cmp/zig/ReadmeExplanation_zig.ts +1 -1
  555. package/project/.sdk/src/cmp/zig/ReadmeHowto_zig.ts +17 -22
  556. package/project/.sdk/src/cmp/zig/ReadmeInstall_zig.ts +12 -9
  557. package/project/.sdk/src/cmp/zig/ReadmeIntro_zig.ts +5 -7
  558. package/project/.sdk/src/cmp/zig/ReadmeModel_zig.ts +40 -37
  559. package/project/.sdk/src/cmp/zig/ReadmeQuick_zig.ts +24 -10
  560. package/project/.sdk/src/cmp/zig/ReadmeRef_zig.ts +46 -30
  561. package/project/.sdk/src/cmp/zig/ReadmeTopHowto_zig.ts +5 -4
  562. package/project/.sdk/src/cmp/zig/ReadmeTopQuick_zig.ts +15 -5
  563. package/project/.sdk/src/cmp/zig/TestClean_zig.ts +259 -26
  564. package/project/.sdk/src/cmp/zig/fragment/Build.fragment.zig +1 -0
  565. package/project/.sdk/src/cmp/zig/fragment/Entity.fragment.zig +16 -17
  566. package/project/.sdk/src/cmp/zig/fragment/Main.fragment.zig +23 -12
  567. package/project/.sdk/src/cmp/zig/fragment/Root.fragment.zig +2 -1
  568. package/project/.sdk/src/cmp/zig/utility_zig.ts +0 -13
  569. package/project/.sdk/tm/c/Makefile +2 -1
  570. package/project/.sdk/tm/c/core/response.c +27 -4
  571. package/project/.sdk/tm/c/core/sdk.h +14 -7
  572. package/project/.sdk/tm/c/feature/secrets/plugin/capability.c +2 -2
  573. package/project/.sdk/tm/c/feature/secrets/plugin/capability.h +2 -2
  574. package/project/.sdk/tm/c/feature/secrets/plugin/catalog.c +2 -2
  575. package/project/.sdk/tm/c/feature/secrets/plugin/catalog.h +2 -2
  576. package/project/.sdk/tm/c/feature/secrets/plugin/config.c +2 -2
  577. package/project/.sdk/tm/c/feature/secrets/plugin/config.h +2 -2
  578. package/project/.sdk/tm/c/feature/secrets/plugin/depend.c +2 -2
  579. package/project/.sdk/tm/c/feature/secrets/plugin/depend.h +2 -2
  580. package/project/.sdk/tm/c/feature/secrets/plugin/env.c +2 -2
  581. package/project/.sdk/tm/c/feature/secrets/plugin/env.h +2 -2
  582. package/project/.sdk/tm/c/feature/secrets/plugin/export.c +2 -2
  583. package/project/.sdk/tm/c/feature/secrets/plugin/export.h +2 -2
  584. package/project/.sdk/tm/c/feature/secrets/plugin/graph.c +2 -2
  585. package/project/.sdk/tm/c/feature/secrets/plugin/graph.h +2 -2
  586. package/project/.sdk/tm/c/feature/secrets/plugin/host.c +2 -2
  587. package/project/.sdk/tm/c/feature/secrets/plugin/host.h +2 -2
  588. package/project/.sdk/tm/c/feature/secrets/plugin/order.c +2 -2
  589. package/project/.sdk/tm/c/feature/secrets/plugin/order.h +2 -2
  590. package/project/.sdk/tm/c/feature/secrets/plugin/point.c +2 -2
  591. package/project/.sdk/tm/c/feature/secrets/plugin/point.h +2 -2
  592. package/project/.sdk/tm/c/feature/secrets/plugin/ref.c +2 -2
  593. package/project/.sdk/tm/c/feature/secrets/plugin/ref.h +2 -2
  594. package/project/.sdk/tm/c/feature/secrets/plugin/resolve.c +2 -2
  595. package/project/.sdk/tm/c/feature/secrets/plugin/resolve.h +2 -2
  596. package/project/.sdk/tm/c/feature/secrets/plugin/types.c +2 -2
  597. package/project/.sdk/tm/c/feature/secrets/plugin/types.h +2 -2
  598. package/project/.sdk/tm/c/feature/secrets/plugin/value.c +2 -2
  599. package/project/.sdk/tm/c/feature/secrets/plugin/value.h +2 -2
  600. package/project/.sdk/tm/c/feature/secrets/plugin/version.c +2 -2
  601. package/project/.sdk/tm/c/feature/secrets/plugin/version.h +2 -2
  602. package/project/.sdk/tm/c/feature/secrets/plugins/aws.c +2 -2
  603. package/project/.sdk/tm/c/feature/secrets/plugins/azuresecrets.c +2 -2
  604. package/project/.sdk/tm/c/feature/secrets/plugins/boru.c +2 -2
  605. package/project/.sdk/tm/c/feature/secrets/plugins/clock.c +2 -2
  606. package/project/.sdk/tm/c/feature/secrets/plugins/doppler.c +2 -2
  607. package/project/.sdk/tm/c/feature/secrets/plugins/encode.c +2 -2
  608. package/project/.sdk/tm/c/feature/secrets/plugins/gcpsecrets.c +2 -2
  609. package/project/.sdk/tm/c/feature/secrets/plugins/hashicorp.c +2 -2
  610. package/project/.sdk/tm/c/feature/secrets/plugins/httpjson.c +2 -2
  611. package/project/.sdk/tm/c/feature/secrets/plugins/infisical.c +2 -2
  612. package/project/.sdk/tm/c/feature/secrets/plugins/minivault.c +2 -2
  613. package/project/.sdk/tm/c/feature/secrets/plugins/onepassword.c +2 -2
  614. package/project/.sdk/tm/c/feature/secrets/plugins/proc.c +2 -2
  615. package/project/.sdk/tm/c/feature/secrets/plugins/secretspec.c +2 -2
  616. package/project/.sdk/tm/c/feature/secrets/plugins/sekretoplugins.h +2 -2
  617. package/project/.sdk/tm/c/feature/secrets/plugins/sha256.c +2 -2
  618. package/project/.sdk/tm/c/feature/secrets/plugins/sigv4.c +2 -2
  619. package/project/.sdk/tm/c/feature/secrets/plugins/support.h +2 -2
  620. package/project/.sdk/tm/c/feature/secrets/plugins/tls.c +2 -2
  621. package/project/.sdk/tm/c/feature/secrets/sekreto/internal.h +2 -2
  622. package/project/.sdk/tm/c/feature/secrets/sekreto/json.c +2 -2
  623. package/project/.sdk/tm/c/feature/secrets/sekreto/providers.c +2 -2
  624. package/project/.sdk/tm/c/feature/secrets/sekreto/sekreto.c +2 -2
  625. package/project/.sdk/tm/c/feature/secrets/sekreto/sekreto.h +2 -2
  626. package/project/.sdk/tm/c/feature/secrets/sekreto/util.c +2 -2
  627. package/project/.sdk/tm/c/feature/secrets.c +4 -2
  628. package/project/.sdk/tm/c/feature/validate.c +5 -5
  629. package/project/.sdk/tm/c/tests/feature/secrets/secrets_test.c +200 -1
  630. package/project/.sdk/tm/c/tests/pipeline_test.c +1 -1
  631. package/project/.sdk/tm/c/tests/primary_corpus_test.c +17 -4
  632. package/project/.sdk/tm/c/tests/primary_utility_test.c +7 -7
  633. package/project/.sdk/tm/c/tests/sdk_pipeline_test.c +2 -2
  634. package/project/.sdk/tm/c/tests/server_variable_test.c +10 -48
  635. package/project/.sdk/tm/c/tests/struct_corpus_test.c +68 -2
  636. package/project/.sdk/tm/c/tests/transport_test.c +161 -3
  637. package/project/.sdk/tm/c/tests/vendor/omni/json.c +65 -26
  638. package/project/.sdk/tm/c/tests/vendor/omni/omni.h +2 -2
  639. package/project/.sdk/tm/c/tests/vendor/omni/runner.c +2 -2
  640. package/project/.sdk/tm/c/tests/vendor/omni/util.c +2 -2
  641. package/project/.sdk/tm/c/utility/clean.c +94 -12
  642. package/project/.sdk/tm/c/utility/fetcher.c +22 -6
  643. package/project/.sdk/tm/c/utility/make_error.c +4 -4
  644. package/project/.sdk/tm/c/utility/make_options.c +22 -16
  645. package/project/.sdk/tm/c/utility/struct/inject.c +23 -2
  646. package/project/.sdk/tm/c/utility/struct/re_util.c +3 -0
  647. package/project/.sdk/tm/c/utility/struct/regex.c +43 -22
  648. package/project/.sdk/tm/c/utility/struct/regex.h +4 -1
  649. package/project/.sdk/tm/c/utility/struct/transform.c +982 -296
  650. package/project/.sdk/tm/c/utility/struct/utility.c +712 -136
  651. package/project/.sdk/tm/c/utility/struct/value.c +3 -0
  652. package/project/.sdk/tm/c/utility/struct/value.h +3 -0
  653. package/project/.sdk/tm/c/utility/struct/value_io.c +3 -0
  654. package/project/.sdk/tm/c/utility/struct/value_io.h +3 -0
  655. package/project/.sdk/tm/c/utility/struct/voxgig_struct.h +36 -1
  656. package/project/.sdk/tm/clojure/feature/secrets/sdk/feature/secrets.clj +3 -1
  657. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/capability.clj +2 -2
  658. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/catalog.clj +2 -2
  659. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/config.clj +2 -2
  660. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/depend.clj +2 -2
  661. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/env.clj +2 -2
  662. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/export.clj +2 -2
  663. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/graph.clj +2 -2
  664. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/host.clj +2 -2
  665. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/json.clj +2 -2
  666. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/order.clj +2 -2
  667. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/point.clj +2 -2
  668. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/ref.clj +2 -2
  669. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/resolve.clj +2 -2
  670. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/types.clj +2 -2
  671. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/version.clj +2 -2
  672. package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin.clj +2 -2
  673. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/addr.clj +2 -2
  674. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/chain.clj +2 -2
  675. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/core.clj +2 -2
  676. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/json.clj +2 -2
  677. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/aws.clj +2 -2
  678. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/azuresecrets.clj +2 -2
  679. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/boru.clj +2 -2
  680. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/doppler.clj +2 -2
  681. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/gcpsecrets.clj +2 -2
  682. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/hashicorp.clj +2 -2
  683. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/httpjson.clj +2 -2
  684. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/infisical.clj +2 -2
  685. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/minivault.clj +2 -2
  686. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/onepassword.clj +2 -2
  687. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/proc.clj +2 -2
  688. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/secretspec.clj +2 -2
  689. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/sigv4.clj +2 -2
  690. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/provider.clj +2 -2
  691. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/providers.clj +2 -2
  692. package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto.clj +2 -2
  693. package/project/.sdk/tm/clojure/src/sdk/client.clj +4 -4
  694. package/project/.sdk/tm/clojure/src/sdk/core.clj +175 -32
  695. package/project/.sdk/tm/clojure/src/sdk/features.clj +6 -7
  696. package/project/.sdk/tm/clojure/src/voxgig/struct.clj +866 -186
  697. package/project/.sdk/tm/clojure/test/sdk/test/feature/secrets.clj +85 -2
  698. package/project/.sdk/tm/clojure/test/sdk/test/feature.clj +1 -1
  699. package/project/.sdk/tm/clojure/test/sdk/test/omni_smoke.clj +1 -1
  700. package/project/.sdk/tm/clojure/test/sdk/test/pipeline.clj +98 -3
  701. package/project/.sdk/tm/clojure/test/sdk/test/primary.clj +7 -2
  702. package/project/.sdk/tm/clojure/test/sdk/test/struct_corpus.clj +22 -9
  703. package/project/.sdk/tm/clojure/test/sdk/test_runner.clj +15 -14
  704. package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/json.clj +2 -2
  705. package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/runner.clj +2 -2
  706. package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/util.clj +2 -2
  707. package/project/.sdk/tm/cpp/Makefile +3 -3
  708. package/project/.sdk/tm/cpp/core/types.hpp +49 -30
  709. package/project/.sdk/tm/cpp/feature/secrets/plugin/capability.cpp +2 -2
  710. package/project/.sdk/tm/cpp/feature/secrets/plugin/capability.hpp +2 -2
  711. package/project/.sdk/tm/cpp/feature/secrets/plugin/catalog.cpp +2 -2
  712. package/project/.sdk/tm/cpp/feature/secrets/plugin/catalog.hpp +2 -2
  713. package/project/.sdk/tm/cpp/feature/secrets/plugin/config.cpp +2 -2
  714. package/project/.sdk/tm/cpp/feature/secrets/plugin/config.hpp +2 -2
  715. package/project/.sdk/tm/cpp/feature/secrets/plugin/depend.cpp +2 -2
  716. package/project/.sdk/tm/cpp/feature/secrets/plugin/depend.hpp +2 -2
  717. package/project/.sdk/tm/cpp/feature/secrets/plugin/env.cpp +2 -2
  718. package/project/.sdk/tm/cpp/feature/secrets/plugin/env.hpp +2 -2
  719. package/project/.sdk/tm/cpp/feature/secrets/plugin/export.cpp +2 -2
  720. package/project/.sdk/tm/cpp/feature/secrets/plugin/export.hpp +2 -2
  721. package/project/.sdk/tm/cpp/feature/secrets/plugin/graph.cpp +2 -2
  722. package/project/.sdk/tm/cpp/feature/secrets/plugin/graph.hpp +2 -2
  723. package/project/.sdk/tm/cpp/feature/secrets/plugin/host.cpp +2 -2
  724. package/project/.sdk/tm/cpp/feature/secrets/plugin/host.hpp +2 -2
  725. package/project/.sdk/tm/cpp/feature/secrets/plugin/order.cpp +2 -2
  726. package/project/.sdk/tm/cpp/feature/secrets/plugin/order.hpp +2 -2
  727. package/project/.sdk/tm/cpp/feature/secrets/plugin/point.cpp +2 -2
  728. package/project/.sdk/tm/cpp/feature/secrets/plugin/point.hpp +2 -2
  729. package/project/.sdk/tm/cpp/feature/secrets/plugin/ref.cpp +2 -2
  730. package/project/.sdk/tm/cpp/feature/secrets/plugin/ref.hpp +2 -2
  731. package/project/.sdk/tm/cpp/feature/secrets/plugin/resolve.cpp +2 -2
  732. package/project/.sdk/tm/cpp/feature/secrets/plugin/resolve.hpp +2 -2
  733. package/project/.sdk/tm/cpp/feature/secrets/plugin/types.cpp +2 -2
  734. package/project/.sdk/tm/cpp/feature/secrets/plugin/types.hpp +2 -2
  735. package/project/.sdk/tm/cpp/feature/secrets/plugin/value.cpp +2 -2
  736. package/project/.sdk/tm/cpp/feature/secrets/plugin/value.hpp +2 -2
  737. package/project/.sdk/tm/cpp/feature/secrets/plugin/version.cpp +2 -2
  738. package/project/.sdk/tm/cpp/feature/secrets/plugin/version.hpp +2 -2
  739. package/project/.sdk/tm/cpp/feature/secrets/plugins/Aws.cpp +2 -2
  740. package/project/.sdk/tm/cpp/feature/secrets/plugins/Aws.hpp +2 -2
  741. package/project/.sdk/tm/cpp/feature/secrets/plugins/Azuresecrets.cpp +2 -2
  742. package/project/.sdk/tm/cpp/feature/secrets/plugins/Azuresecrets.hpp +2 -2
  743. package/project/.sdk/tm/cpp/feature/secrets/plugins/Boru.cpp +2 -2
  744. package/project/.sdk/tm/cpp/feature/secrets/plugins/Boru.hpp +2 -2
  745. package/project/.sdk/tm/cpp/feature/secrets/plugins/Crypto.cpp +2 -2
  746. package/project/.sdk/tm/cpp/feature/secrets/plugins/Crypto.hpp +2 -2
  747. package/project/.sdk/tm/cpp/feature/secrets/plugins/Doppler.cpp +2 -2
  748. package/project/.sdk/tm/cpp/feature/secrets/plugins/Doppler.hpp +2 -2
  749. package/project/.sdk/tm/cpp/feature/secrets/plugins/Gcpsecrets.cpp +2 -2
  750. package/project/.sdk/tm/cpp/feature/secrets/plugins/Gcpsecrets.hpp +2 -2
  751. package/project/.sdk/tm/cpp/feature/secrets/plugins/Hashicorp.cpp +2 -2
  752. package/project/.sdk/tm/cpp/feature/secrets/plugins/Hashicorp.hpp +2 -2
  753. package/project/.sdk/tm/cpp/feature/secrets/plugins/Httpjson.cpp +2 -2
  754. package/project/.sdk/tm/cpp/feature/secrets/plugins/Httpjson.hpp +2 -2
  755. package/project/.sdk/tm/cpp/feature/secrets/plugins/Infisical.cpp +2 -2
  756. package/project/.sdk/tm/cpp/feature/secrets/plugins/Infisical.hpp +2 -2
  757. package/project/.sdk/tm/cpp/feature/secrets/plugins/Minivault.cpp +2 -2
  758. package/project/.sdk/tm/cpp/feature/secrets/plugins/Minivault.hpp +2 -2
  759. package/project/.sdk/tm/cpp/feature/secrets/plugins/Onepassword.cpp +2 -2
  760. package/project/.sdk/tm/cpp/feature/secrets/plugins/Onepassword.hpp +2 -2
  761. package/project/.sdk/tm/cpp/feature/secrets/plugins/Proc.cpp +2 -2
  762. package/project/.sdk/tm/cpp/feature/secrets/plugins/Proc.hpp +2 -2
  763. package/project/.sdk/tm/cpp/feature/secrets/plugins/Secretspec.cpp +2 -2
  764. package/project/.sdk/tm/cpp/feature/secrets/plugins/Secretspec.hpp +2 -2
  765. package/project/.sdk/tm/cpp/feature/secrets/plugins/Sigv4.cpp +2 -2
  766. package/project/.sdk/tm/cpp/feature/secrets/plugins/Sigv4.hpp +2 -2
  767. package/project/.sdk/tm/cpp/feature/secrets/plugins/Tls.cpp +2 -2
  768. package/project/.sdk/tm/cpp/feature/secrets/plugins/Tls.hpp +2 -2
  769. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Json.cpp +2 -2
  770. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Json.hpp +2 -2
  771. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Provider.cpp +2 -2
  772. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Provider.hpp +2 -2
  773. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Providers.cpp +2 -2
  774. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Providers.hpp +2 -2
  775. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Sekreto.cpp +2 -2
  776. package/project/.sdk/tm/cpp/feature/secrets/sekreto/Sekreto.hpp +2 -2
  777. package/project/.sdk/tm/cpp/feature/secrets.hpp +3 -1
  778. package/project/.sdk/tm/cpp/feature/validate.hpp +5 -5
  779. package/project/.sdk/tm/cpp/test/custom_utility_test.cpp +1 -1
  780. package/project/.sdk/tm/cpp/test/feature/secrets/secrets_test.cpp +226 -0
  781. package/project/.sdk/tm/cpp/test/omni_resolver.hpp +1 -1
  782. package/project/.sdk/tm/cpp/test/primary_utility_test.cpp +9 -3
  783. package/project/.sdk/tm/cpp/test/runner_support.hpp +25 -4
  784. package/project/.sdk/tm/cpp/test/struct_corpus_test.cpp +32 -3
  785. package/project/.sdk/tm/cpp/test/vendor/omni/json.hpp +55 -17
  786. package/project/.sdk/tm/cpp/test/vendor/omni/omni.hpp +2 -2
  787. package/project/.sdk/tm/cpp/test/vendor/omni/util.hpp +2 -2
  788. package/project/.sdk/tm/cpp/utility/pipeline.hpp +96 -20
  789. package/project/.sdk/tm/cpp/utility/voxgigstruct/value.hpp +3 -0
  790. package/project/.sdk/tm/cpp/utility/voxgigstruct/value_io.hpp +3 -0
  791. package/project/.sdk/tm/cpp/utility/voxgigstruct/voxgig_struct.hpp +1374 -371
  792. package/project/.sdk/tm/csharp/Makefile +6 -6
  793. package/project/.sdk/tm/csharp/core/Response.cs +21 -2
  794. package/project/.sdk/tm/csharp/core/Result.cs +2 -2
  795. package/project/.sdk/tm/csharp/core/Utility.cs +2 -0
  796. package/project/.sdk/tm/csharp/feature/SecretsFeature.cs +7 -6
  797. package/project/.sdk/tm/csharp/feature/ValidateFeature.cs +4 -5
  798. package/project/.sdk/tm/csharp/feature/secrets/plugin/Capability.cs +2 -2
  799. package/project/.sdk/tm/csharp/feature/secrets/plugin/Catalog.cs +2 -2
  800. package/project/.sdk/tm/csharp/feature/secrets/plugin/Config.cs +2 -2
  801. package/project/.sdk/tm/csharp/feature/secrets/plugin/Definition.cs +2 -2
  802. package/project/.sdk/tm/csharp/feature/secrets/plugin/Depend.cs +2 -2
  803. package/project/.sdk/tm/csharp/feature/secrets/plugin/Entry.cs +2 -2
  804. package/project/.sdk/tm/csharp/feature/secrets/plugin/Env.cs +2 -2
  805. package/project/.sdk/tm/csharp/feature/secrets/plugin/Export.cs +2 -2
  806. package/project/.sdk/tm/csharp/feature/secrets/plugin/Graph.cs +2 -2
  807. package/project/.sdk/tm/csharp/feature/secrets/plugin/Host.cs +2 -2
  808. package/project/.sdk/tm/csharp/feature/secrets/plugin/Inst.cs +2 -2
  809. package/project/.sdk/tm/csharp/feature/secrets/plugin/Json.cs +2 -2
  810. package/project/.sdk/tm/csharp/feature/secrets/plugin/Order.cs +2 -2
  811. package/project/.sdk/tm/csharp/feature/secrets/plugin/Plugin.cs +2 -2
  812. package/project/.sdk/tm/csharp/feature/secrets/plugin/Point.cs +2 -2
  813. package/project/.sdk/tm/csharp/feature/secrets/plugin/Refs.cs +2 -2
  814. package/project/.sdk/tm/csharp/feature/secrets/plugin/Resolve.cs +2 -2
  815. package/project/.sdk/tm/csharp/feature/secrets/plugin/Types.cs +2 -2
  816. package/project/.sdk/tm/csharp/feature/secrets/plugin/Version.cs +2 -2
  817. package/project/.sdk/tm/csharp/feature/secrets/plugins/Aws.cs +2 -2
  818. package/project/.sdk/tm/csharp/feature/secrets/plugins/AzureSecrets.cs +2 -2
  819. package/project/.sdk/tm/csharp/feature/secrets/plugins/Boru.cs +2 -2
  820. package/project/.sdk/tm/csharp/feature/secrets/plugins/Child.cs +2 -2
  821. package/project/.sdk/tm/csharp/feature/secrets/plugins/Doppler.cs +2 -2
  822. package/project/.sdk/tm/csharp/feature/secrets/plugins/GcpSecrets.cs +2 -2
  823. package/project/.sdk/tm/csharp/feature/secrets/plugins/Hashicorp.cs +2 -2
  824. package/project/.sdk/tm/csharp/feature/secrets/plugins/HttpJson.cs +2 -2
  825. package/project/.sdk/tm/csharp/feature/secrets/plugins/Infisical.cs +2 -2
  826. package/project/.sdk/tm/csharp/feature/secrets/plugins/MiniVault.cs +2 -2
  827. package/project/.sdk/tm/csharp/feature/secrets/plugins/OnePassword.cs +2 -2
  828. package/project/.sdk/tm/csharp/feature/secrets/plugins/SecretSpec.cs +2 -2
  829. package/project/.sdk/tm/csharp/feature/secrets/plugins/Sigv4.cs +2 -2
  830. package/project/.sdk/tm/csharp/feature/secrets/sekreto/Json.cs +2 -2
  831. package/project/.sdk/tm/csharp/feature/secrets/sekreto/Providers.cs +2 -2
  832. package/project/.sdk/tm/csharp/feature/secrets/sekreto/Sekreto.cs +2 -2
  833. package/project/.sdk/tm/csharp/test/PipelineTest.cs +1 -1
  834. package/project/.sdk/tm/csharp/test/PrimaryUtilityTest.cs +242 -1
  835. package/project/.sdk/tm/csharp/test/Runner.cs +4 -4
  836. package/project/.sdk/tm/csharp/test/StructUtilityTest.cs +38 -38
  837. package/project/.sdk/tm/csharp/test/feature/secrets/SecretsFeatureTest.cs +267 -0
  838. package/project/.sdk/tm/csharp/test/vendor/omni/Runner.cs +2 -2
  839. package/project/.sdk/tm/csharp/test/vendor/omni/Util.cs +2 -2
  840. package/project/.sdk/tm/csharp/utility/Clean.cs +139 -12
  841. package/project/.sdk/tm/csharp/utility/Fetcher.cs +115 -35
  842. package/project/.sdk/tm/csharp/utility/MakeError.cs +4 -5
  843. package/project/.sdk/tm/csharp/utility/MakeOptions.cs +5 -5
  844. package/project/.sdk/tm/csharp/utility/Register.cs +1 -0
  845. package/project/.sdk/tm/csharp/utility/struct/Struct.cs +1587 -325
  846. package/project/.sdk/tm/elixir/lib/projectname/entity_base.ex +9 -11
  847. package/project/.sdk/tm/elixir/lib/projectname/error.ex +1 -1
  848. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/capability.ex +2 -2
  849. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/catalog.ex +2 -2
  850. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/config.ex +2 -2
  851. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/depend.ex +2 -2
  852. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/env.ex +2 -2
  853. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/error.ex +2 -2
  854. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/export.ex +2 -2
  855. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/graph.ex +2 -2
  856. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/host.ex +2 -2
  857. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/inst.ex +2 -2
  858. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/json.ex +2 -2
  859. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/order.ex +2 -2
  860. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/point.ex +2 -2
  861. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/ref.ex +2 -2
  862. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/resolve.ex +2 -2
  863. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/types.ex +2 -2
  864. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/version.ex +2 -2
  865. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/voxgig_plugin.ex +2 -2
  866. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/json.ex +2 -2
  867. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/aws.ex +2 -2
  868. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/azuresecrets.ex +2 -2
  869. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/boru.ex +2 -2
  870. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/doppler.ex +2 -2
  871. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/gcpsecrets.ex +2 -2
  872. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/hashicorp.ex +2 -2
  873. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/http.ex +2 -2
  874. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/httpjson.ex +2 -2
  875. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/infisical.ex +2 -2
  876. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/minivault.ex +2 -2
  877. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/onepassword.ex +2 -2
  878. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/proc.ex +2 -2
  879. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/secretspec.ex +2 -2
  880. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/sigv4.ex +2 -2
  881. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/provider.ex +2 -2
  882. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/providers.ex +2 -2
  883. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/sekreto.ex +2 -2
  884. package/project/.sdk/tm/elixir/lib/projectname/feature/secrets.ex +4 -2
  885. package/project/.sdk/tm/elixir/lib/projectname/feature/validate.ex +4 -5
  886. package/project/.sdk/tm/elixir/lib/projectname/utility.ex +219 -37
  887. package/project/.sdk/tm/elixir/lib/utility/struct/voxgig_struct.ex +1088 -253
  888. package/project/.sdk/tm/elixir/test/feature/secrets/secrets_test.exs +147 -1
  889. package/project/.sdk/tm/elixir/test/pipeline_test.exs +167 -1
  890. package/project/.sdk/tm/elixir/test/primary_utility_test.exs +12 -1
  891. package/project/.sdk/tm/elixir/test/struct_corpus_test.exs +43 -21
  892. package/project/.sdk/tm/elixir/test/support/omni.ex +2 -2
  893. package/project/.sdk/tm/elixir/test/vendor/omni/json.ex +33 -5
  894. package/project/.sdk/tm/elixir/test/vendor/omni/runner.ex +2 -2
  895. package/project/.sdk/tm/elixir/test/vendor/omni/util.ex +2 -2
  896. package/project/.sdk/tm/go/Makefile +4 -4
  897. package/project/.sdk/tm/go/core/response.go +17 -4
  898. package/project/.sdk/tm/go/core/result.go +2 -2
  899. package/project/.sdk/tm/go/core/utility_type.go +2 -1
  900. package/project/.sdk/tm/go/feature/secrets/plugin/capability.go +2 -2
  901. package/project/.sdk/tm/go/feature/secrets/plugin/catalog.go +2 -2
  902. package/project/.sdk/tm/go/feature/secrets/plugin/config.go +2 -2
  903. package/project/.sdk/tm/go/feature/secrets/plugin/depend.go +2 -2
  904. package/project/.sdk/tm/go/feature/secrets/plugin/env.go +2 -2
  905. package/project/.sdk/tm/go/feature/secrets/plugin/export.go +2 -2
  906. package/project/.sdk/tm/go/feature/secrets/plugin/graph.go +2 -2
  907. package/project/.sdk/tm/go/feature/secrets/plugin/host.go +2 -2
  908. package/project/.sdk/tm/go/feature/secrets/plugin/order.go +2 -2
  909. package/project/.sdk/tm/go/feature/secrets/plugin/point.go +2 -2
  910. package/project/.sdk/tm/go/feature/secrets/plugin/ref.go +2 -2
  911. package/project/.sdk/tm/go/feature/secrets/plugin/resolve.go +2 -2
  912. package/project/.sdk/tm/go/feature/secrets/plugin/types.go +2 -2
  913. package/project/.sdk/tm/go/feature/secrets/plugin/util.go +2 -2
  914. package/project/.sdk/tm/go/feature/secrets/plugin/version.go +2 -2
  915. package/project/.sdk/tm/go/feature/secrets/plugins/aws/aws.go +2 -2
  916. package/project/.sdk/tm/go/feature/secrets/plugins/aws/sigv4.go +2 -2
  917. package/project/.sdk/tm/go/feature/secrets/plugins/azuresecrets/azuresecrets.go +2 -2
  918. package/project/.sdk/tm/go/feature/secrets/plugins/boru/boru.go +2 -2
  919. package/project/.sdk/tm/go/feature/secrets/plugins/doppler/doppler.go +2 -2
  920. package/project/.sdk/tm/go/feature/secrets/plugins/gcpsecrets/gcpsecrets.go +2 -2
  921. package/project/.sdk/tm/go/feature/secrets/plugins/hashicorp/hashicorp.go +2 -2
  922. package/project/.sdk/tm/go/feature/secrets/plugins/httpjson/httpjson.go +2 -2
  923. package/project/.sdk/tm/go/feature/secrets/plugins/infisical/infisical.go +2 -2
  924. package/project/.sdk/tm/go/feature/secrets/plugins/minivault/format.go +2 -2
  925. package/project/.sdk/tm/go/feature/secrets/plugins/minivault/minivault.go +2 -2
  926. package/project/.sdk/tm/go/feature/secrets/plugins/onepassword/onepassword.go +2 -2
  927. package/project/.sdk/tm/go/feature/secrets/plugins/secretspec/secretspec.go +2 -2
  928. package/project/.sdk/tm/go/feature/secrets/sekreto/addr.go +2 -2
  929. package/project/.sdk/tm/go/feature/secrets/sekreto/providers.go +2 -2
  930. package/project/.sdk/tm/go/feature/secrets/sekreto/sekreto.go +2 -2
  931. package/project/.sdk/tm/go/feature/secrets_feature.go +8 -1
  932. package/project/.sdk/tm/go/test/concurrency_test.go +1 -1
  933. package/project/.sdk/tm/go/test/custom_utility_test.go +5 -5
  934. package/project/.sdk/tm/go/test/feature/secrets/secrets_feature_test.go +160 -7
  935. package/project/.sdk/tm/go/test/feature_corpus_test.go +1 -1
  936. package/project/.sdk/tm/go/test/feature_test.go +5 -1
  937. package/project/.sdk/tm/go/test/omni/omni.go +2 -2
  938. package/project/.sdk/tm/go/test/omni/util.go +12 -5
  939. package/project/.sdk/tm/go/test/omniresolver_test.go +1 -1
  940. package/project/.sdk/tm/go/test/pipeline_test.go +4 -1
  941. package/project/.sdk/tm/go/test/primary_utility_test.go +181 -5
  942. package/project/.sdk/tm/go/test/server_variable_test.go +50 -0
  943. package/project/.sdk/tm/go/test/struct_utility_test.go +59 -56
  944. package/project/.sdk/tm/go/test/testsupport_test.go +13 -3
  945. package/project/.sdk/tm/go/utility/clean.go +223 -6
  946. package/project/.sdk/tm/go/utility/fetcher.go +59 -10
  947. package/project/.sdk/tm/go/utility/make_error.go +4 -4
  948. package/project/.sdk/tm/go/utility/make_options.go +12 -5
  949. package/project/.sdk/tm/go/utility/register.go +12 -1
  950. package/project/.sdk/tm/go/utility/struct/voxgigstruct.go +1510 -430
  951. package/project/.sdk/tm/java/Makefile +7 -6
  952. package/project/.sdk/tm/java/core/Response.java +16 -2
  953. package/project/.sdk/tm/java/core/Result.java +2 -2
  954. package/project/.sdk/tm/java/core/SdkClient.java +4 -4
  955. package/project/.sdk/tm/java/core/Utility.java +7 -0
  956. package/project/.sdk/tm/java/feature/SecretsFeature.java +3 -0
  957. package/project/.sdk/tm/java/feature/ValidateFeature.java +4 -5
  958. package/project/.sdk/tm/java/feature/secrets/plugin/Capability.java +2 -2
  959. package/project/.sdk/tm/java/feature/secrets/plugin/Catalog.java +2 -2
  960. package/project/.sdk/tm/java/feature/secrets/plugin/Config.java +2 -2
  961. package/project/.sdk/tm/java/feature/secrets/plugin/Definition.java +2 -2
  962. package/project/.sdk/tm/java/feature/secrets/plugin/Depend.java +2 -2
  963. package/project/.sdk/tm/java/feature/secrets/plugin/Entry.java +2 -2
  964. package/project/.sdk/tm/java/feature/secrets/plugin/Env.java +2 -2
  965. package/project/.sdk/tm/java/feature/secrets/plugin/Export.java +2 -2
  966. package/project/.sdk/tm/java/feature/secrets/plugin/Graph.java +2 -2
  967. package/project/.sdk/tm/java/feature/secrets/plugin/Host.java +2 -2
  968. package/project/.sdk/tm/java/feature/secrets/plugin/Inst.java +2 -2
  969. package/project/.sdk/tm/java/feature/secrets/plugin/Json.java +2 -2
  970. package/project/.sdk/tm/java/feature/secrets/plugin/Order.java +2 -2
  971. package/project/.sdk/tm/java/feature/secrets/plugin/Plugin.java +2 -2
  972. package/project/.sdk/tm/java/feature/secrets/plugin/PluginException.java +2 -2
  973. package/project/.sdk/tm/java/feature/secrets/plugin/Point.java +2 -2
  974. package/project/.sdk/tm/java/feature/secrets/plugin/Refs.java +2 -2
  975. package/project/.sdk/tm/java/feature/secrets/plugin/Resolve.java +2 -2
  976. package/project/.sdk/tm/java/feature/secrets/plugin/Types.java +2 -2
  977. package/project/.sdk/tm/java/feature/secrets/plugin/Version.java +2 -2
  978. package/project/.sdk/tm/java/feature/secrets/sekreto/Addr.java +2 -2
  979. package/project/.sdk/tm/java/feature/secrets/sekreto/Builtins.java +2 -2
  980. package/project/.sdk/tm/java/feature/secrets/sekreto/Json.java +2 -2
  981. package/project/.sdk/tm/java/feature/secrets/sekreto/Provider.java +2 -2
  982. package/project/.sdk/tm/java/feature/secrets/sekreto/Sekreto.java +2 -2
  983. package/project/.sdk/tm/java/feature/secrets/sekreto/Support.java +2 -2
  984. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Aws.java +2 -2
  985. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Azuresecrets.java +2 -2
  986. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Boru.java +2 -2
  987. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Doppler.java +2 -2
  988. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Gcpsecrets.java +2 -2
  989. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Hashicorp.java +2 -2
  990. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Httpjson.java +2 -2
  991. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Infisical.java +2 -2
  992. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Minivault.java +2 -2
  993. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Onepassword.java +2 -2
  994. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Proc.java +2 -2
  995. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Secretspec.java +2 -2
  996. package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Sigv4.java +2 -2
  997. package/project/.sdk/tm/java/test/PipelineTest.java +1 -1
  998. package/project/.sdk/tm/java/test/PrimaryUtilityTest.java +199 -2
  999. package/project/.sdk/tm/java/test/RunnerSupport.java +4 -4
  1000. package/project/.sdk/tm/java/test/StructCorpusTest.java +32 -3
  1001. package/project/.sdk/tm/java/test/feature/secrets/SecretsFeatureTest.java +111 -2
  1002. package/project/.sdk/tm/java/test/vendor/omni/Json.java +2 -2
  1003. package/project/.sdk/tm/java/test/vendor/omni/Runner.java +2 -2
  1004. package/project/.sdk/tm/java/test/vendor/omni/Util.java +2 -2
  1005. package/project/.sdk/tm/java/utility/Clean.java +186 -19
  1006. package/project/.sdk/tm/java/utility/Fetcher.java +109 -14
  1007. package/project/.sdk/tm/java/utility/MakeError.java +4 -4
  1008. package/project/.sdk/tm/java/utility/MakeOptions.java +5 -5
  1009. package/project/.sdk/tm/java/utility/Register.java +4 -0
  1010. package/project/.sdk/tm/java/utility/TransformResponse.java +5 -0
  1011. package/project/.sdk/tm/java/utility/struct/Struct.java +1239 -229
  1012. package/project/.sdk/tm/js/Makefile +5 -4
  1013. package/project/.sdk/tm/js/src/feature/secrets/SecretsFeature.js +2 -0
  1014. package/project/.sdk/tm/js/src/feature/secrets/plugin/capability.js +1 -1
  1015. package/project/.sdk/tm/js/src/feature/secrets/plugin/catalog.js +1 -1
  1016. package/project/.sdk/tm/js/src/feature/secrets/plugin/config.js +1 -1
  1017. package/project/.sdk/tm/js/src/feature/secrets/plugin/depend.js +1 -1
  1018. package/project/.sdk/tm/js/src/feature/secrets/plugin/env.js +1 -1
  1019. package/project/.sdk/tm/js/src/feature/secrets/plugin/export.js +1 -1
  1020. package/project/.sdk/tm/js/src/feature/secrets/plugin/graph.js +1 -1
  1021. package/project/.sdk/tm/js/src/feature/secrets/plugin/host.js +1 -1
  1022. package/project/.sdk/tm/js/src/feature/secrets/plugin/index.js +1 -1
  1023. package/project/.sdk/tm/js/src/feature/secrets/plugin/order.js +1 -1
  1024. package/project/.sdk/tm/js/src/feature/secrets/plugin/point.js +1 -1
  1025. package/project/.sdk/tm/js/src/feature/secrets/plugin/ref.js +1 -1
  1026. package/project/.sdk/tm/js/src/feature/secrets/plugin/resolve.js +1 -1
  1027. package/project/.sdk/tm/js/src/feature/secrets/plugin/types.js +1 -1
  1028. package/project/.sdk/tm/js/src/feature/secrets/plugin/version.js +1 -1
  1029. package/project/.sdk/tm/js/src/feature/secrets/sekreto/Sekreto.js +1 -1
  1030. package/project/.sdk/tm/js/src/feature/secrets/sekreto/index.js +1 -1
  1031. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/aws.js +1 -1
  1032. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/azuresecrets.js +1 -1
  1033. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/boru.js +1 -1
  1034. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/doppler.js +1 -1
  1035. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/gcpsecrets.js +1 -1
  1036. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/hashicorp.js +1 -1
  1037. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/httpjson.js +1 -1
  1038. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/infisical.js +1 -1
  1039. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/minivault.js +1 -1
  1040. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/onepassword.js +1 -1
  1041. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/secretspec.js +1 -1
  1042. package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/sigv4.js +1 -1
  1043. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/addr.js +1 -1
  1044. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/builtin.js +1 -1
  1045. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/dotenv.js +1 -1
  1046. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/env.js +1 -1
  1047. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/file.js +1 -1
  1048. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/memory.js +1 -1
  1049. package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/support.js +1 -1
  1050. package/project/.sdk/tm/js/src/feature/validate/ValidateFeature.js +4 -5
  1051. package/project/.sdk/tm/js/src/utility/CleanUtility.js +104 -10
  1052. package/project/.sdk/tm/js/src/utility/FetcherUtility.js +99 -1
  1053. package/project/.sdk/tm/js/src/utility/MakeErrorUtility.js +4 -4
  1054. package/project/.sdk/tm/js/src/utility/MakeOptionsUtility.js +5 -5
  1055. package/project/.sdk/tm/js/src/utility/MediaUtility.js +32 -0
  1056. package/project/.sdk/tm/js/src/utility/ResultBodyUtility.js +6 -14
  1057. package/project/.sdk/tm/js/src/utility/StructUtility.js +972 -180
  1058. package/project/.sdk/tm/js/src/utility/Utility.js +2 -1
  1059. package/project/.sdk/tm/js/test/feature/harness.js +6 -7
  1060. package/project/.sdk/tm/js/test/feature/secrets/Secrets.test.js +92 -2
  1061. package/project/.sdk/tm/js/test/live-entity.js +8 -8
  1062. package/project/.sdk/tm/js/test/utility/PrimaryUtility.test.js +9 -1
  1063. package/project/.sdk/tm/js/test/utility/StructUtility.test.js +32 -27
  1064. package/project/.sdk/tm/js/test/utility/index.js +1 -1
  1065. package/project/.sdk/tm/js/test/vendor/omni/index.js +1 -1
  1066. package/project/.sdk/tm/js/test/vendor/omni/runner.js +1 -1
  1067. package/project/.sdk/tm/js/test/vendor/omni/util.js +1 -1
  1068. package/project/.sdk/tm/kotlin/Makefile +7 -6
  1069. package/project/.sdk/tm/kotlin/core/Response.kt +17 -2
  1070. package/project/.sdk/tm/kotlin/core/Result.kt +2 -2
  1071. package/project/.sdk/tm/kotlin/core/SdkClient.kt +4 -4
  1072. package/project/.sdk/tm/kotlin/core/Utility.kt +4 -2
  1073. package/project/.sdk/tm/kotlin/feature/SecretsFeature.kt +2 -0
  1074. package/project/.sdk/tm/kotlin/feature/ValidateFeature.kt +4 -5
  1075. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Capability.kt +2 -2
  1076. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Catalog.kt +2 -2
  1077. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Config.kt +2 -2
  1078. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Depend.kt +2 -2
  1079. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Env.kt +2 -2
  1080. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Export.kt +2 -2
  1081. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Graph.kt +2 -2
  1082. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Host.kt +2 -2
  1083. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Json.kt +2 -2
  1084. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Order.kt +2 -2
  1085. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Plugin.kt +2 -2
  1086. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Point.kt +2 -2
  1087. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Refs.kt +2 -2
  1088. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Resolve.kt +2 -2
  1089. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Types.kt +2 -2
  1090. package/project/.sdk/tm/kotlin/feature/secrets/plugin/Version.kt +2 -2
  1091. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Json.kt +2 -2
  1092. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Provider.kt +2 -2
  1093. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Providers.kt +2 -2
  1094. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Sekreto.kt +2 -2
  1095. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Spec.kt +2 -2
  1096. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Support.kt +2 -2
  1097. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Aws.kt +2 -2
  1098. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Azuresecrets.kt +2 -2
  1099. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Boru.kt +2 -2
  1100. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Doppler.kt +2 -2
  1101. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Gcpsecrets.kt +2 -2
  1102. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Hashicorp.kt +2 -2
  1103. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Httpjson.kt +2 -2
  1104. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Infisical.kt +2 -2
  1105. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Minivault.kt +2 -2
  1106. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Onepassword.kt +2 -2
  1107. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Secretspec.kt +2 -2
  1108. package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Sigv4.kt +2 -2
  1109. package/project/.sdk/tm/kotlin/test/PipelineTest.kt +1 -1
  1110. package/project/.sdk/tm/kotlin/test/PrimaryUtilityTest.kt +188 -2
  1111. package/project/.sdk/tm/kotlin/test/RunnerSupport.kt +23 -4
  1112. package/project/.sdk/tm/kotlin/test/StructCorpusTest.kt +23 -3
  1113. package/project/.sdk/tm/kotlin/test/feature/secrets/SecretsTest.kt +110 -1
  1114. package/project/.sdk/tm/kotlin/test/vendor/omni/Json.kt +2 -2
  1115. package/project/.sdk/tm/kotlin/test/vendor/omni/Runner.kt +2 -2
  1116. package/project/.sdk/tm/kotlin/test/vendor/omni/Util.kt +2 -2
  1117. package/project/.sdk/tm/kotlin/utility/CoreUtil.kt +142 -16
  1118. package/project/.sdk/tm/kotlin/utility/Fetcher.kt +113 -14
  1119. package/project/.sdk/tm/kotlin/utility/MakeOptions.kt +5 -5
  1120. package/project/.sdk/tm/kotlin/utility/Register.kt +1 -0
  1121. package/project/.sdk/tm/kotlin/utility/struct/Struct.kt +1074 -164
  1122. package/project/.sdk/tm/lua/Makefile +4 -3
  1123. package/project/.sdk/tm/lua/core/utility_type.lua +2 -0
  1124. package/project/.sdk/tm/lua/feature/secrets/native/sekretonet.c +2 -2
  1125. package/project/.sdk/tm/lua/feature/secrets/native/sekretovault.c +2 -2
  1126. package/project/.sdk/tm/lua/feature/secrets/plugin/capability.lua +2 -2
  1127. package/project/.sdk/tm/lua/feature/secrets/plugin/catalog.lua +2 -2
  1128. package/project/.sdk/tm/lua/feature/secrets/plugin/config.lua +2 -2
  1129. package/project/.sdk/tm/lua/feature/secrets/plugin/depend.lua +2 -2
  1130. package/project/.sdk/tm/lua/feature/secrets/plugin/env.lua +2 -2
  1131. package/project/.sdk/tm/lua/feature/secrets/plugin/export.lua +2 -2
  1132. package/project/.sdk/tm/lua/feature/secrets/plugin/graph.lua +2 -2
  1133. package/project/.sdk/tm/lua/feature/secrets/plugin/host.lua +2 -2
  1134. package/project/.sdk/tm/lua/feature/secrets/plugin/json.lua +2 -2
  1135. package/project/.sdk/tm/lua/feature/secrets/plugin/order.lua +2 -2
  1136. package/project/.sdk/tm/lua/feature/secrets/plugin/point.lua +2 -2
  1137. package/project/.sdk/tm/lua/feature/secrets/plugin/ref.lua +2 -2
  1138. package/project/.sdk/tm/lua/feature/secrets/plugin/resolve.lua +2 -2
  1139. package/project/.sdk/tm/lua/feature/secrets/plugin/types.lua +2 -2
  1140. package/project/.sdk/tm/lua/feature/secrets/plugin/version.lua +2 -2
  1141. package/project/.sdk/tm/lua/feature/secrets/plugin.lua +2 -2
  1142. package/project/.sdk/tm/lua/feature/secrets/sekreto/addr.lua +2 -2
  1143. package/project/.sdk/tm/lua/feature/secrets/sekreto/err.lua +2 -2
  1144. package/project/.sdk/tm/lua/feature/secrets/sekreto/name.lua +2 -2
  1145. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/aws.lua +2 -2
  1146. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/azuresecrets.lua +2 -2
  1147. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/boru.lua +2 -2
  1148. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/crypto.lua +2 -2
  1149. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/doppler.lua +2 -2
  1150. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/gcpsecrets.lua +2 -2
  1151. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/hashicorp.lua +2 -2
  1152. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/httpjson.lua +2 -2
  1153. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/infisical.lua +2 -2
  1154. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/json.lua +2 -2
  1155. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/minivault.lua +2 -2
  1156. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/net.lua +2 -2
  1157. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/onepassword.lua +2 -2
  1158. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/secretspec.lua +2 -2
  1159. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/sigv4.lua +2 -2
  1160. package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/support.lua +2 -2
  1161. package/project/.sdk/tm/lua/feature/secrets/sekreto/providers.lua +2 -2
  1162. package/project/.sdk/tm/lua/feature/secrets/sekreto.lua +2 -2
  1163. package/project/.sdk/tm/lua/feature/secrets_feature.lua +3 -0
  1164. package/project/.sdk/tm/lua/feature/validate_feature.lua +5 -6
  1165. package/project/.sdk/tm/lua/test/feature/secrets/secrets_feature_test.lua +115 -2
  1166. package/project/.sdk/tm/lua/test/omni.lua +1 -1
  1167. package/project/.sdk/tm/lua/test/pipeline_test.lua +1 -1
  1168. package/project/.sdk/tm/lua/test/primary_utility_test.lua +160 -1
  1169. package/project/.sdk/tm/lua/test/runner.lua +3 -1
  1170. package/project/.sdk/tm/lua/test/struct_utility_test.lua +152 -44
  1171. package/project/.sdk/tm/lua/test/vendor/omni/json.lua +26 -6
  1172. package/project/.sdk/tm/lua/test/vendor/omni/regex.lua +2 -2
  1173. package/project/.sdk/tm/lua/test/vendor/omni/runner.lua +2 -2
  1174. package/project/.sdk/tm/lua/test/vendor/omni/util.lua +2 -2
  1175. package/project/.sdk/tm/lua/utility/clean.lua +86 -6
  1176. package/project/.sdk/tm/lua/utility/fetcher.lua +19 -5
  1177. package/project/.sdk/tm/lua/utility/make_error.lua +4 -5
  1178. package/project/.sdk/tm/lua/utility/make_options.lua +5 -5
  1179. package/project/.sdk/tm/lua/utility/media.lua +36 -0
  1180. package/project/.sdk/tm/lua/utility/register.lua +1 -0
  1181. package/project/.sdk/tm/lua/utility/struct/regex.lua +26 -9
  1182. package/project/.sdk/tm/lua/utility/struct/struct.lua +1289 -245
  1183. package/project/.sdk/tm/lua/utility/unreadable_body.lua +6 -16
  1184. package/project/.sdk/tm/ocaml/Makefile +1 -1
  1185. package/project/.sdk/tm/ocaml/feature/secrets/plugin/capability.ml +2 -2
  1186. package/project/.sdk/tm/ocaml/feature/secrets/plugin/catalog.ml +2 -2
  1187. package/project/.sdk/tm/ocaml/feature/secrets/plugin/config.ml +2 -2
  1188. package/project/.sdk/tm/ocaml/feature/secrets/plugin/defs.ml +2 -2
  1189. package/project/.sdk/tm/ocaml/feature/secrets/plugin/depend.ml +2 -2
  1190. package/project/.sdk/tm/ocaml/feature/secrets/plugin/env.ml +2 -2
  1191. package/project/.sdk/tm/ocaml/feature/secrets/plugin/export.ml +2 -2
  1192. package/project/.sdk/tm/ocaml/feature/secrets/plugin/graph.ml +2 -2
  1193. package/project/.sdk/tm/ocaml/feature/secrets/plugin/host.ml +2 -2
  1194. package/project/.sdk/tm/ocaml/feature/secrets/plugin/order.ml +2 -2
  1195. package/project/.sdk/tm/ocaml/feature/secrets/plugin/point.ml +2 -2
  1196. package/project/.sdk/tm/ocaml/feature/secrets/plugin/ref.ml +2 -2
  1197. package/project/.sdk/tm/ocaml/feature/secrets/plugin/resolve.ml +2 -2
  1198. package/project/.sdk/tm/ocaml/feature/secrets/plugin/types.ml +2 -2
  1199. package/project/.sdk/tm/ocaml/feature/secrets/plugin/value.ml +2 -2
  1200. package/project/.sdk/tm/ocaml/feature/secrets/plugin/version.ml +2 -2
  1201. package/project/.sdk/tm/ocaml/feature/secrets/plugins/aws.ml +2 -2
  1202. package/project/.sdk/tm/ocaml/feature/secrets/plugins/azuresecrets.ml +2 -2
  1203. package/project/.sdk/tm/ocaml/feature/secrets/plugins/boru.ml +2 -2
  1204. package/project/.sdk/tm/ocaml/feature/secrets/plugins/crypto.ml +2 -2
  1205. package/project/.sdk/tm/ocaml/feature/secrets/plugins/doppler.ml +2 -2
  1206. package/project/.sdk/tm/ocaml/feature/secrets/plugins/gcpsecrets.ml +2 -2
  1207. package/project/.sdk/tm/ocaml/feature/secrets/plugins/hashicorp.ml +2 -2
  1208. package/project/.sdk/tm/ocaml/feature/secrets/plugins/http.ml +2 -2
  1209. package/project/.sdk/tm/ocaml/feature/secrets/plugins/httpjson.ml +2 -2
  1210. package/project/.sdk/tm/ocaml/feature/secrets/plugins/infisical.ml +2 -2
  1211. package/project/.sdk/tm/ocaml/feature/secrets/plugins/minivault.ml +2 -2
  1212. package/project/.sdk/tm/ocaml/feature/secrets/plugins/minivault_stubs.c +2 -2
  1213. package/project/.sdk/tm/ocaml/feature/secrets/plugins/onepassword.ml +2 -2
  1214. package/project/.sdk/tm/ocaml/feature/secrets/plugins/runcmd.ml +2 -2
  1215. package/project/.sdk/tm/ocaml/feature/secrets/plugins/secretspec.ml +2 -2
  1216. package/project/.sdk/tm/ocaml/feature/secrets/plugins/sigv4.ml +2 -2
  1217. package/project/.sdk/tm/ocaml/feature/secrets/plugins/tls.ml +2 -2
  1218. package/project/.sdk/tm/ocaml/feature/secrets/plugins/tls_stubs.c +2 -2
  1219. package/project/.sdk/tm/ocaml/feature/secrets/sekreto/json.ml +2 -2
  1220. package/project/.sdk/tm/ocaml/feature/secrets/sekreto/provider.ml +2 -2
  1221. package/project/.sdk/tm/ocaml/feature/secrets/sekreto/secret.ml +2 -2
  1222. package/project/.sdk/tm/ocaml/feature/secrets/sekreto/sekreto.ml +2 -2
  1223. package/project/.sdk/tm/ocaml/feature/secrets_feature.ml +3 -1
  1224. package/project/.sdk/tm/ocaml/sdk_features.ml +9 -10
  1225. package/project/.sdk/tm/ocaml/sdk_runtime.ml +78 -15
  1226. package/project/.sdk/tm/ocaml/sdk_types.ml +1 -1
  1227. package/project/.sdk/tm/ocaml/test/feature/secrets/t_secrets.ml +154 -3
  1228. package/project/.sdk/tm/ocaml/test/primary_utility_test.ml +14 -9
  1229. package/project/.sdk/tm/ocaml/test/struct_corpus.ml +24 -15
  1230. package/project/.sdk/tm/ocaml/test/vendor/omni/omni.ml +34 -28
  1231. package/project/.sdk/tm/ocaml/utility/voxgig_struct.ml +807 -157
  1232. package/project/.sdk/tm/ocaml/utility/vregex.ml +190 -60
  1233. package/project/.sdk/tm/perl/Makefile +8 -7
  1234. package/project/.sdk/tm/perl/core/control.pm +1 -1
  1235. package/project/.sdk/tm/perl/core/error.pm +14 -1
  1236. package/project/.sdk/tm/perl/core/helpers.pm +8 -7
  1237. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Capability.pm +2 -2
  1238. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Catalog.pm +2 -2
  1239. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Config.pm +2 -2
  1240. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Depend.pm +2 -2
  1241. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Env.pm +2 -2
  1242. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Export.pm +2 -2
  1243. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Graph.pm +2 -2
  1244. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Host.pm +2 -2
  1245. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Order.pm +2 -2
  1246. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Point.pm +2 -2
  1247. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Ref.pm +2 -2
  1248. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Resolve.pm +2 -2
  1249. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Types.pm +2 -2
  1250. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Version.pm +2 -2
  1251. package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin.pm +2 -2
  1252. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Aws.pm +1 -1
  1253. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Azuresecrets.pm +1 -1
  1254. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Boru.pm +1 -1
  1255. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Doppler.pm +1 -1
  1256. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Gcpsecrets.pm +1 -1
  1257. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Hashicorp.pm +1 -1
  1258. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Httpjson.pm +1 -1
  1259. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Infisical.pm +1 -1
  1260. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Minivault.pm +1 -1
  1261. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Onepassword.pm +1 -1
  1262. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Proc.pm +1 -1
  1263. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Secretspec.pm +1 -1
  1264. package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Sigv4.pm +1 -1
  1265. package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto/Addr.pm +1 -1
  1266. package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto/Providers.pm +1 -1
  1267. package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto.pm +1 -1
  1268. package/project/.sdk/tm/perl/feature/secrets_feature.pm +2 -0
  1269. package/project/.sdk/tm/perl/feature/validate_feature.pm +4 -5
  1270. package/project/.sdk/tm/perl/lib/Voxgig/Struct.pm +1082 -149
  1271. package/project/.sdk/tm/perl/t/feature/secrets/secrets.t +105 -0
  1272. package/project/.sdk/tm/perl/t/feature_corpus.t +1 -1
  1273. package/project/.sdk/tm/perl/t/omni.pm +16 -6
  1274. package/project/.sdk/tm/perl/t/primary_utility.t +151 -2
  1275. package/project/.sdk/tm/perl/t/runner.pm +1 -1
  1276. package/project/.sdk/tm/perl/t/struct_utility.t +19 -11
  1277. package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Runner.pm +1 -1
  1278. package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Util.pm +1 -1
  1279. package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni.pm +1 -1
  1280. package/project/.sdk/tm/perl/utility/clean.pm +130 -15
  1281. package/project/.sdk/tm/perl/utility/fetcher.pm +18 -5
  1282. package/project/.sdk/tm/perl/utility/make_error.pm +4 -4
  1283. package/project/.sdk/tm/perl/utility/make_options.pm +5 -5
  1284. package/project/.sdk/tm/perl/utility/media.pm +29 -0
  1285. package/project/.sdk/tm/perl/utility/result_body.pm +6 -13
  1286. package/project/.sdk/tm/perl/utility/transform_response.pm +3 -0
  1287. package/project/.sdk/tm/php/Makefile +4 -3
  1288. package/project/.sdk/tm/php/core/Control.php +3 -2
  1289. package/project/.sdk/tm/php/core/Helpers.php +49 -0
  1290. package/project/.sdk/tm/php/core/UtilityType.php +2 -0
  1291. package/project/.sdk/tm/php/feature/SecretsFeature.php +2 -0
  1292. package/project/.sdk/tm/php/feature/ValidateFeature.php +6 -5
  1293. package/project/.sdk/tm/php/feature/secrets/plugin/Capability.php +2 -2
  1294. package/project/.sdk/tm/php/feature/secrets/plugin/Catalog.php +2 -2
  1295. package/project/.sdk/tm/php/feature/secrets/plugin/Config.php +2 -2
  1296. package/project/.sdk/tm/php/feature/secrets/plugin/Depend.php +2 -2
  1297. package/project/.sdk/tm/php/feature/secrets/plugin/Env.php +2 -2
  1298. package/project/.sdk/tm/php/feature/secrets/plugin/Export.php +2 -2
  1299. package/project/.sdk/tm/php/feature/secrets/plugin/Graph.php +2 -2
  1300. package/project/.sdk/tm/php/feature/secrets/plugin/Host.php +2 -2
  1301. package/project/.sdk/tm/php/feature/secrets/plugin/Order.php +2 -2
  1302. package/project/.sdk/tm/php/feature/secrets/plugin/Point.php +2 -2
  1303. package/project/.sdk/tm/php/feature/secrets/plugin/Ref.php +2 -2
  1304. package/project/.sdk/tm/php/feature/secrets/plugin/Resolve.php +2 -2
  1305. package/project/.sdk/tm/php/feature/secrets/plugin/Types.php +2 -2
  1306. package/project/.sdk/tm/php/feature/secrets/plugin/Version.php +2 -2
  1307. package/project/.sdk/tm/php/feature/secrets/plugin/plugin.php +2 -2
  1308. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/aws.php +2 -2
  1309. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/azuresecrets.php +2 -2
  1310. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/boru.php +2 -2
  1311. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/doppler.php +2 -2
  1312. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/gcpsecrets.php +2 -2
  1313. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/hashicorp.php +2 -2
  1314. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/httpjson.php +2 -2
  1315. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/infisical.php +2 -2
  1316. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/minivault.php +2 -2
  1317. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/onepassword.php +2 -2
  1318. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/runcmd.php +2 -2
  1319. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/secretspec.php +2 -2
  1320. package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/sigv4.php +2 -2
  1321. package/project/.sdk/tm/php/feature/secrets/sekreto/src/Addr.php +2 -2
  1322. package/project/.sdk/tm/php/feature/secrets/sekreto/src/Providers.php +2 -2
  1323. package/project/.sdk/tm/php/feature/secrets/sekreto/src/Sekreto.php +2 -2
  1324. package/project/.sdk/tm/php/test/FeatureCorpusTest.php +1 -1
  1325. package/project/.sdk/tm/php/test/Omni.php +1 -1
  1326. package/project/.sdk/tm/php/test/PipelineTest.php +146 -1
  1327. package/project/.sdk/tm/php/test/PrimaryUtilityTest.php +23 -1
  1328. package/project/.sdk/tm/php/test/Runner.php +1 -1
  1329. package/project/.sdk/tm/php/test/StructUtilityTest.php +65 -116
  1330. package/project/.sdk/tm/php/test/feature/secrets/SecretsTest.php +117 -1
  1331. package/project/.sdk/tm/php/test/vendor/omni/Runner.php +2 -2
  1332. package/project/.sdk/tm/php/test/vendor/omni/Util.php +2 -2
  1333. package/project/.sdk/tm/php/utility/Clean.php +119 -19
  1334. package/project/.sdk/tm/php/utility/Fetcher.php +24 -7
  1335. package/project/.sdk/tm/php/utility/MakeError.php +4 -5
  1336. package/project/.sdk/tm/php/utility/MakeOptions.php +9 -5
  1337. package/project/.sdk/tm/php/utility/Media.php +29 -0
  1338. package/project/.sdk/tm/php/utility/PrepareBody.php +7 -5
  1339. package/project/.sdk/tm/php/utility/Register.php +1 -0
  1340. package/project/.sdk/tm/php/utility/ResultBody.php +6 -16
  1341. package/project/.sdk/tm/php/utility/TransformResponse.php +5 -0
  1342. package/project/.sdk/tm/php/utility/struct/Struct.php +1933 -530
  1343. package/project/.sdk/tm/py/Makefile +3 -2
  1344. package/project/.sdk/tm/py/pkg/core/utility_type.py +2 -0
  1345. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/__init__.py +1 -1
  1346. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/capability.py +1 -1
  1347. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/catalog.py +1 -1
  1348. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/config.py +1 -1
  1349. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/depend.py +1 -1
  1350. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/env.py +1 -1
  1351. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/export.py +1 -1
  1352. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/graph.py +1 -1
  1353. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/host.py +1 -1
  1354. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/order.py +1 -1
  1355. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/point.py +1 -1
  1356. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/ref.py +1 -1
  1357. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/resolve.py +1 -1
  1358. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/types.py +1 -1
  1359. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/version.py +1 -1
  1360. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/__init__.py +1 -1
  1361. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/addr.py +1 -1
  1362. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/aws.py +1 -1
  1363. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/azuresecrets.py +1 -1
  1364. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/boru.py +1 -1
  1365. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/doppler.py +1 -1
  1366. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/gcpsecrets.py +1 -1
  1367. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/hashicorp.py +1 -1
  1368. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/httpjson.py +1 -1
  1369. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/infisical.py +1 -1
  1370. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/minivault.py +1 -1
  1371. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/onepassword.py +1 -1
  1372. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/secretspec.py +1 -1
  1373. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/sigv4.py +1 -1
  1374. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/providers.py +1 -1
  1375. package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/sekreto.py +1 -1
  1376. package/project/.sdk/tm/py/pkg/feature/secrets_feature.py +12 -1
  1377. package/project/.sdk/tm/py/pkg/feature/validate_feature.py +4 -5
  1378. package/project/.sdk/tm/py/pkg/utility/clean.py +104 -16
  1379. package/project/.sdk/tm/py/pkg/utility/fetcher.py +64 -4
  1380. package/project/.sdk/tm/py/pkg/utility/make_error.py +4 -4
  1381. package/project/.sdk/tm/py/pkg/utility/make_options.py +5 -5
  1382. package/project/.sdk/tm/py/pkg/utility/media.py +24 -0
  1383. package/project/.sdk/tm/py/pkg/utility/register.py +2 -1
  1384. package/project/.sdk/tm/py/pkg/utility/result_body.py +7 -12
  1385. package/project/.sdk/tm/py/pkg/utility/voxgig_struct/voxgig_struct.py +1057 -198
  1386. package/project/.sdk/tm/py/test/feature/secrets/test_secrets.py +124 -0
  1387. package/project/.sdk/tm/py/test/feature_harness.py +6 -6
  1388. package/project/.sdk/tm/py/test/omni.py +1 -1
  1389. package/project/.sdk/tm/py/test/runner.py +6 -4
  1390. package/project/.sdk/tm/py/test/test_feature_corpus.py +2 -2
  1391. package/project/.sdk/tm/py/test/test_pipeline.py +1 -1
  1392. package/project/.sdk/tm/py/test/test_primary_utility.py +135 -1
  1393. package/project/.sdk/tm/py/test/test_struct_utility.py +29 -30
  1394. package/project/.sdk/tm/py/test/voxgig_omni/__init__.py +1 -1
  1395. package/project/.sdk/tm/py/test/voxgig_omni/runner.py +1 -1
  1396. package/project/.sdk/tm/py/test/voxgig_omni/util.py +1 -1
  1397. package/project/.sdk/tm/py-data/Makefile +5 -4
  1398. package/project/.sdk/tm/py-data/pkg/auth.py +8 -5
  1399. package/project/.sdk/tm/py-data/pkg/fetch.py +8 -8
  1400. package/project/.sdk/tm/py-data/test/conftest.py +6 -7
  1401. package/project/.sdk/tm/py-data/test/test_auth.py +5 -0
  1402. package/project/.sdk/tm/rb/Makefile +3 -2
  1403. package/project/.sdk/tm/rb/core/control.rb +1 -1
  1404. package/project/.sdk/tm/rb/core/utility_type.rb +2 -1
  1405. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/capability.rb +2 -2
  1406. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/catalog.rb +2 -2
  1407. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/config.rb +2 -2
  1408. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/depend.rb +2 -2
  1409. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/env.rb +2 -2
  1410. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/export.rb +2 -2
  1411. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/graph.rb +2 -2
  1412. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/host.rb +2 -2
  1413. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/order.rb +2 -2
  1414. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/point.rb +2 -2
  1415. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/ref.rb +2 -2
  1416. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/resolve.rb +2 -2
  1417. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/types.rb +2 -2
  1418. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/version.rb +2 -2
  1419. package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin.rb +2 -2
  1420. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/addr.rb +2 -2
  1421. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/aws.rb +2 -2
  1422. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/azuresecrets.rb +2 -2
  1423. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/boru.rb +2 -2
  1424. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/doppler.rb +2 -2
  1425. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/gcpsecrets.rb +2 -2
  1426. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/hashicorp.rb +2 -2
  1427. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/httpjson.rb +2 -2
  1428. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/infisical.rb +2 -2
  1429. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/minivault.rb +2 -2
  1430. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/onepassword.rb +2 -2
  1431. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/secretspec.rb +2 -2
  1432. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/sigv4.rb +2 -2
  1433. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/providers.rb +2 -2
  1434. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/sekreto.rb +2 -2
  1435. package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto.rb +2 -2
  1436. package/project/.sdk/tm/rb/feature/secrets_feature.rb +3 -0
  1437. package/project/.sdk/tm/rb/feature/validate_feature.rb +4 -5
  1438. package/project/.sdk/tm/rb/test/feature/secrets/secrets_feature_test.rb +117 -0
  1439. package/project/.sdk/tm/rb/test/feature_corpus_test.rb +1 -1
  1440. package/project/.sdk/tm/rb/test/omni.rb +1 -1
  1441. package/project/.sdk/tm/rb/test/pipeline_test.rb +1 -1
  1442. package/project/.sdk/tm/rb/test/primary_utility_test.rb +121 -1
  1443. package/project/.sdk/tm/rb/test/runner.rb +1 -1
  1444. package/project/.sdk/tm/rb/test/struct_utility_test.rb +30 -34
  1445. package/project/.sdk/tm/rb/test/vendor/omni/runner.rb +2 -2
  1446. package/project/.sdk/tm/rb/test/vendor/omni/util.rb +2 -2
  1447. package/project/.sdk/tm/rb/test/vendor/omni/voxgig_omni.rb +2 -2
  1448. package/project/.sdk/tm/rb/utility/clean.rb +94 -14
  1449. package/project/.sdk/tm/rb/utility/fetcher.rb +12 -3
  1450. package/project/.sdk/tm/rb/utility/make_error.rb +4 -4
  1451. package/project/.sdk/tm/rb/utility/make_options.rb +5 -5
  1452. package/project/.sdk/tm/rb/utility/media.rb +21 -0
  1453. package/project/.sdk/tm/rb/utility/register.rb +1 -0
  1454. package/project/.sdk/tm/rb/utility/result_body.rb +7 -9
  1455. package/project/.sdk/tm/rb/utility/struct/voxgig_struct.rb +1569 -678
  1456. package/project/.sdk/tm/rust/Makefile +5 -5
  1457. package/project/.sdk/tm/rust/core/helpers.rs +1 -1
  1458. package/project/.sdk/tm/rust/core/response.rs +18 -2
  1459. package/project/.sdk/tm/rust/core/result.rs +4 -4
  1460. package/project/.sdk/tm/rust/core/utility_type.rs +5 -1
  1461. package/project/.sdk/tm/rust/feature/secrets/plugin/capability.rs +1 -1
  1462. package/project/.sdk/tm/rust/feature/secrets/plugin/catalog.rs +1 -1
  1463. package/project/.sdk/tm/rust/feature/secrets/plugin/config.rs +1 -1
  1464. package/project/.sdk/tm/rust/feature/secrets/plugin/depend.rs +1 -1
  1465. package/project/.sdk/tm/rust/feature/secrets/plugin/env.rs +1 -1
  1466. package/project/.sdk/tm/rust/feature/secrets/plugin/export.rs +1 -1
  1467. package/project/.sdk/tm/rust/feature/secrets/plugin/graph.rs +1 -1
  1468. package/project/.sdk/tm/rust/feature/secrets/plugin/host.rs +1 -1
  1469. package/project/.sdk/tm/rust/feature/secrets/plugin/mod.rs +1 -1
  1470. package/project/.sdk/tm/rust/feature/secrets/plugin/order.rs +1 -1
  1471. package/project/.sdk/tm/rust/feature/secrets/plugin/point.rs +1 -1
  1472. package/project/.sdk/tm/rust/feature/secrets/plugin/refs.rs +1 -1
  1473. package/project/.sdk/tm/rust/feature/secrets/plugin/resolve.rs +1 -1
  1474. package/project/.sdk/tm/rust/feature/secrets/plugin/types.rs +1 -1
  1475. package/project/.sdk/tm/rust/feature/secrets/plugin/value.rs +1 -1
  1476. package/project/.sdk/tm/rust/feature/secrets/plugin/version.rs +1 -1
  1477. package/project/.sdk/tm/rust/feature/secrets/plugins/aws/crypto.rs +1 -1
  1478. package/project/.sdk/tm/rust/feature/secrets/plugins/aws/sigv4.rs +1 -1
  1479. package/project/.sdk/tm/rust/feature/secrets/plugins/aws.rs +1 -1
  1480. package/project/.sdk/tm/rust/feature/secrets/plugins/azuresecrets.rs +1 -1
  1481. package/project/.sdk/tm/rust/feature/secrets/plugins/boru.rs +1 -1
  1482. package/project/.sdk/tm/rust/feature/secrets/plugins/doppler.rs +1 -1
  1483. package/project/.sdk/tm/rust/feature/secrets/plugins/gcpsecrets.rs +1 -1
  1484. package/project/.sdk/tm/rust/feature/secrets/plugins/hashicorp.rs +1 -1
  1485. package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/http.rs +1 -1
  1486. package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/json.rs +1 -1
  1487. package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson.rs +1 -1
  1488. package/project/.sdk/tm/rust/feature/secrets/plugins/infisical.rs +1 -1
  1489. package/project/.sdk/tm/rust/feature/secrets/plugins/minivault/format.rs +1 -1
  1490. package/project/.sdk/tm/rust/feature/secrets/plugins/minivault.rs +1 -1
  1491. package/project/.sdk/tm/rust/feature/secrets/plugins/onepassword.rs +1 -1
  1492. package/project/.sdk/tm/rust/feature/secrets/plugins/secretspec.rs +1 -1
  1493. package/project/.sdk/tm/rust/feature/secrets/sekreto/addr.rs +1 -1
  1494. package/project/.sdk/tm/rust/feature/secrets/sekreto/mod.rs +1 -1
  1495. package/project/.sdk/tm/rust/feature/secrets/sekreto/providers.rs +1 -1
  1496. package/project/.sdk/tm/rust/feature/secrets/sekreto/sekreto.rs +1 -1
  1497. package/project/.sdk/tm/rust/feature/secrets.rs +10 -1
  1498. package/project/.sdk/tm/rust/tests/common/mod.rs +3 -3
  1499. package/project/.sdk/tm/rust/tests/feature/secrets/main.rs +309 -10
  1500. package/project/.sdk/tm/rust/tests/omni_resolver/mod.rs +1 -1
  1501. package/project/.sdk/tm/rust/tests/pipeline_test.rs +5 -2
  1502. package/project/.sdk/tm/rust/tests/primary_utility_test.rs +281 -13
  1503. package/project/.sdk/tm/rust/tests/server_variable_test.rs +48 -0
  1504. package/project/.sdk/tm/rust/tests/struct_utility_test.rs +9 -1
  1505. package/project/.sdk/tm/rust/tests/vendor/omni/json.rs +27 -11
  1506. package/project/.sdk/tm/rust/tests/vendor/omni/mod.rs +1 -1
  1507. package/project/.sdk/tm/rust/tests/vendor/omni/regex.rs +1 -1
  1508. package/project/.sdk/tm/rust/tests/vendor/omni/runner.rs +1 -1
  1509. package/project/.sdk/tm/rust/tests/vendor/omni/util.rs +1 -1
  1510. package/project/.sdk/tm/rust/utility/clean.rs +128 -9
  1511. package/project/.sdk/tm/rust/utility/fetcher.rs +107 -44
  1512. package/project/.sdk/tm/rust/utility/make_error.rs +4 -4
  1513. package/project/.sdk/tm/rust/utility/make_options.rs +12 -8
  1514. package/project/.sdk/tm/rust/utility/voxgigstruct/consts.rs +18 -20
  1515. package/project/.sdk/tm/rust/utility/voxgigstruct/major.rs +1328 -227
  1516. package/project/.sdk/tm/rust/utility/voxgigstruct/mini.rs +90 -95
  1517. package/project/.sdk/tm/rust/utility/voxgigstruct/mod.rs +12 -8
  1518. package/project/.sdk/tm/rust/utility/voxgigstruct/ordered_map.rs +3 -1
  1519. package/project/.sdk/tm/rust/utility/voxgigstruct/re.rs +49 -6
  1520. package/project/.sdk/tm/rust/utility/voxgigstruct/value.rs +5 -2
  1521. package/project/.sdk/tm/scala/Makefile +4 -4
  1522. package/project/.sdk/tm/scala/core/Response.scala +19 -2
  1523. package/project/.sdk/tm/scala/core/Result.scala +2 -2
  1524. package/project/.sdk/tm/scala/core/SdkClient.scala +4 -4
  1525. package/project/.sdk/tm/scala/core/Types.scala +3 -0
  1526. package/project/.sdk/tm/scala/core/Utility.scala +2 -0
  1527. package/project/.sdk/tm/scala/feature/SecretsFeature.scala +2 -0
  1528. package/project/.sdk/tm/scala/feature/ValidateFeature.scala +4 -5
  1529. package/project/.sdk/tm/scala/feature/secrets/plugin/Capability.scala +2 -2
  1530. package/project/.sdk/tm/scala/feature/secrets/plugin/Config.scala +2 -2
  1531. package/project/.sdk/tm/scala/feature/secrets/plugin/Depend.scala +2 -2
  1532. package/project/.sdk/tm/scala/feature/secrets/plugin/Env.scala +2 -2
  1533. package/project/.sdk/tm/scala/feature/secrets/plugin/Export.scala +2 -2
  1534. package/project/.sdk/tm/scala/feature/secrets/plugin/Graph.scala +2 -2
  1535. package/project/.sdk/tm/scala/feature/secrets/plugin/Host.scala +2 -2
  1536. package/project/.sdk/tm/scala/feature/secrets/plugin/Json.scala +2 -2
  1537. package/project/.sdk/tm/scala/feature/secrets/plugin/Order.scala +2 -2
  1538. package/project/.sdk/tm/scala/feature/secrets/plugin/Plugin.scala +2 -2
  1539. package/project/.sdk/tm/scala/feature/secrets/plugin/Point.scala +2 -2
  1540. package/project/.sdk/tm/scala/feature/secrets/plugin/Refs.scala +2 -2
  1541. package/project/.sdk/tm/scala/feature/secrets/plugin/Resolve.scala +2 -2
  1542. package/project/.sdk/tm/scala/feature/secrets/plugin/Types.scala +2 -2
  1543. package/project/.sdk/tm/scala/feature/secrets/plugin/Value.scala +2 -2
  1544. package/project/.sdk/tm/scala/feature/secrets/plugin/Version.scala +2 -2
  1545. package/project/.sdk/tm/scala/feature/secrets/sekreto/Json.scala +2 -2
  1546. package/project/.sdk/tm/scala/feature/secrets/sekreto/Provider.scala +2 -2
  1547. package/project/.sdk/tm/scala/feature/secrets/sekreto/Providers.scala +2 -2
  1548. package/project/.sdk/tm/scala/feature/secrets/sekreto/Sekreto.scala +2 -2
  1549. package/project/.sdk/tm/scala/feature/secrets/sekreto/Spec.scala +2 -2
  1550. package/project/.sdk/tm/scala/feature/secrets/sekreto/Support.scala +2 -2
  1551. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Aws.scala +2 -2
  1552. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Azuresecrets.scala +2 -2
  1553. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Boru.scala +2 -2
  1554. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Doppler.scala +2 -2
  1555. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Gcpsecrets.scala +2 -2
  1556. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Hashicorp.scala +2 -2
  1557. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Httpjson.scala +2 -2
  1558. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Infisical.scala +2 -2
  1559. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Minivault.scala +2 -2
  1560. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Onepassword.scala +2 -2
  1561. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Secretspec.scala +2 -2
  1562. package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Sigv4.scala +2 -2
  1563. package/project/.sdk/tm/scala/sdktest/PrimaryCorpus.scala +10 -4
  1564. package/project/.sdk/tm/scala/sdktest/SdkTestMain.scala +219 -3
  1565. package/project/.sdk/tm/scala/sdktest/StructCorpus.scala +20 -14
  1566. package/project/.sdk/tm/scala/sdktest/feature/secrets/SecretsTestMain.scala +108 -0
  1567. package/project/.sdk/tm/scala/sdktest/vendor/omni/Json.scala +2 -2
  1568. package/project/.sdk/tm/scala/sdktest/vendor/omni/Runner.scala +2 -2
  1569. package/project/.sdk/tm/scala/sdktest/vendor/omni/Util.scala +2 -2
  1570. package/project/.sdk/tm/scala/utility/Fetcher.scala +101 -14
  1571. package/project/.sdk/tm/scala/utility/Make.scala +4 -4
  1572. package/project/.sdk/tm/scala/utility/Misc.scala +133 -13
  1573. package/project/.sdk/tm/scala/utility/Register.scala +1 -0
  1574. package/project/.sdk/tm/scala/utility/Transform.scala +6 -1
  1575. package/project/.sdk/tm/scala/utility/struct/Struct.java +1267 -253
  1576. package/project/.sdk/tm/scala/utility/struct/voxgig_struct.scala +909 -202
  1577. package/project/.sdk/tm/swift/Makefile +5 -5
  1578. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Condense.swift +351 -0
  1579. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Constants.swift +7 -4
  1580. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Inject.swift +39 -24
  1581. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Injection.swift +51 -14
  1582. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/JSON.swift +4 -1
  1583. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Merge.swift +3 -0
  1584. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Minor.swift +190 -77
  1585. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/OrderedDictionary.swift +3 -0
  1586. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Path.swift +37 -8
  1587. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Select.swift +37 -20
  1588. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Transform.swift +67 -46
  1589. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Validate.swift +602 -110
  1590. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Value.swift +22 -16
  1591. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Walk.swift +9 -1
  1592. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/core/Response.swift +20 -2
  1593. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/core/Result.swift +2 -2
  1594. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/core/Support.swift +15 -0
  1595. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/core/Utility.swift +2 -0
  1596. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/SecretsFeature.swift +2 -0
  1597. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/TestFeature.swift +6 -6
  1598. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/ValidateFeature.swift +5 -6
  1599. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Capability.swift +2 -2
  1600. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Catalog.swift +2 -2
  1601. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Config.swift +2 -2
  1602. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Depend.swift +2 -2
  1603. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Env.swift +2 -2
  1604. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Export.swift +2 -2
  1605. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Graph.swift +2 -2
  1606. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Host.swift +2 -2
  1607. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Json.swift +2 -2
  1608. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Order.swift +2 -2
  1609. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Point.swift +2 -2
  1610. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Refs.swift +2 -2
  1611. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Resolve.swift +2 -2
  1612. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Types.swift +2 -2
  1613. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Value.swift +2 -2
  1614. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Version.swift +2 -2
  1615. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Aws.swift +2 -2
  1616. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Azuresecrets.swift +2 -2
  1617. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Boru.swift +2 -2
  1618. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Crypto.swift +2 -2
  1619. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Doppler.swift +2 -2
  1620. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Gcpsecrets.swift +2 -2
  1621. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Hashicorp.swift +2 -2
  1622. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Httpjson.swift +2 -2
  1623. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Infisical.swift +2 -2
  1624. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Onepassword.swift +2 -2
  1625. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Proc.swift +2 -2
  1626. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Secretspec.swift +2 -2
  1627. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Sigv4.swift +2 -2
  1628. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Addr.swift +2 -2
  1629. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Json.swift +2 -2
  1630. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Provider.swift +2 -2
  1631. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Providers.swift +2 -2
  1632. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Sekreto.swift +2 -2
  1633. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/utility/Fetcher.swift +24 -8
  1634. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/utility/MakeError.swift +4 -4
  1635. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/utility/MakeOptions.swift +7 -7
  1636. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/utility/Register.swift +1 -0
  1637. package/project/.sdk/tm/swift/Sources/ProjectNameSDK/utility/ResultUtil.swift +130 -30
  1638. package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/OmniResolver.swift +2 -2
  1639. package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/PipelineTest.swift +1 -1
  1640. package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/PrimaryUtilityTest.swift +191 -1
  1641. package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/Runner.swift +3 -3
  1642. package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/StructUtilityTest.swift +36 -14
  1643. package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/feature/secrets/SecretsFeatureTest.swift +167 -1
  1644. package/project/.sdk/tm/swift/Tests/vendor/omni/Json.swift +32 -8
  1645. package/project/.sdk/tm/swift/Tests/vendor/omni/Runner.swift +2 -2
  1646. package/project/.sdk/tm/swift/Tests/vendor/omni/Util.swift +2 -2
  1647. package/project/.sdk/tm/ts/Makefile +3 -2
  1648. package/project/.sdk/tm/ts/src/feature/secrets/SecretsFeature.ts +2 -0
  1649. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Capability.ts +1 -1
  1650. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Catalog.ts +1 -1
  1651. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Config.ts +1 -1
  1652. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Depend.ts +1 -1
  1653. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Env.ts +1 -1
  1654. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Export.ts +1 -1
  1655. package/project/.sdk/tm/ts/src/feature/secrets/plugin/FeatureHost.ts +1 -1
  1656. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Graph.ts +1 -1
  1657. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Host.ts +1 -1
  1658. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Order.ts +1 -1
  1659. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Point.ts +1 -1
  1660. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Ref.ts +1 -1
  1661. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Resolve.ts +1 -1
  1662. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Types.ts +1 -1
  1663. package/project/.sdk/tm/ts/src/feature/secrets/plugin/Version.ts +1 -1
  1664. package/project/.sdk/tm/ts/src/feature/secrets/plugin/index.ts +1 -1
  1665. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/Sekreto.ts +1 -1
  1666. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/index.ts +1 -1
  1667. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/aws.ts +1 -1
  1668. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/azuresecrets.ts +1 -1
  1669. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/boru.ts +1 -1
  1670. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/doppler.ts +1 -1
  1671. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/gcpsecrets.ts +1 -1
  1672. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/hashicorp.ts +1 -1
  1673. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/httpjson.ts +1 -1
  1674. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/infisical.ts +1 -1
  1675. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/minivault.ts +1 -1
  1676. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/onepassword.ts +1 -1
  1677. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/secretspec.ts +1 -1
  1678. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/sigv4.ts +1 -1
  1679. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/addr.ts +1 -1
  1680. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/builtin.ts +1 -1
  1681. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/dotenv.ts +1 -1
  1682. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/env.ts +1 -1
  1683. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/file.ts +1 -1
  1684. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/memory.ts +1 -1
  1685. package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/support.ts +1 -1
  1686. package/project/.sdk/tm/ts/src/utility/CleanUtility.ts +115 -10
  1687. package/project/.sdk/tm/ts/src/utility/FetcherUtility.ts +100 -1
  1688. package/project/.sdk/tm/ts/src/utility/MakeErrorUtility.ts +2 -1
  1689. package/project/.sdk/tm/ts/src/utility/MediaUtility.ts +32 -0
  1690. package/project/.sdk/tm/ts/src/utility/ResultBodyUtility.ts +5 -14
  1691. package/project/.sdk/tm/ts/src/utility/StructUtility.ts +708 -199
  1692. package/project/.sdk/tm/ts/src/utility/Utility.ts +2 -1
  1693. package/project/.sdk/tm/ts/test/feature/secrets/Secrets.test.ts +93 -2
  1694. package/project/.sdk/tm/ts/test/live-entity.ts +8 -8
  1695. package/project/.sdk/tm/ts/test/utility/PrimaryUtility.test.ts +9 -1
  1696. package/project/.sdk/tm/ts/test/utility/StructUtility.test.ts +32 -27
  1697. package/project/.sdk/tm/ts/test/utility/index.ts +1 -1
  1698. package/project/.sdk/tm/ts/test/vendor/omni/Runner.ts +1 -1
  1699. package/project/.sdk/tm/ts/test/vendor/omni/Util.ts +1 -1
  1700. package/project/.sdk/tm/ts/test/vendor/omni/index.ts +1 -1
  1701. package/project/.sdk/tm/zig/core/helpers.zig +2 -2
  1702. package/project/.sdk/tm/zig/core/result.zig +2 -2
  1703. package/project/.sdk/tm/zig/core/types.zig +2 -2
  1704. package/project/.sdk/tm/zig/core/utility.zig +96 -20
  1705. package/project/.sdk/tm/zig/feature/netsim.zig +1 -1
  1706. package/project/.sdk/tm/zig/feature/rbac.zig +1 -1
  1707. package/project/.sdk/tm/zig/feature/secrets/plugin/capability.zig +2 -2
  1708. package/project/.sdk/tm/zig/feature/secrets/plugin/catalog.zig +2 -2
  1709. package/project/.sdk/tm/zig/feature/secrets/plugin/config.zig +2 -2
  1710. package/project/.sdk/tm/zig/feature/secrets/plugin/depend.zig +2 -2
  1711. package/project/.sdk/tm/zig/feature/secrets/plugin/env.zig +2 -2
  1712. package/project/.sdk/tm/zig/feature/secrets/plugin/export.zig +2 -2
  1713. package/project/.sdk/tm/zig/feature/secrets/plugin/graph.zig +2 -2
  1714. package/project/.sdk/tm/zig/feature/secrets/plugin/host.zig +2 -2
  1715. package/project/.sdk/tm/zig/feature/secrets/plugin/inst.zig +2 -2
  1716. package/project/.sdk/tm/zig/feature/secrets/plugin/order.zig +2 -2
  1717. package/project/.sdk/tm/zig/feature/secrets/plugin/plugin.zig +2 -2
  1718. package/project/.sdk/tm/zig/feature/secrets/plugin/point.zig +2 -2
  1719. package/project/.sdk/tm/zig/feature/secrets/plugin/ref.zig +2 -2
  1720. package/project/.sdk/tm/zig/feature/secrets/plugin/resolve.zig +2 -2
  1721. package/project/.sdk/tm/zig/feature/secrets/plugin/types.zig +2 -2
  1722. package/project/.sdk/tm/zig/feature/secrets/plugin/value.zig +2 -2
  1723. package/project/.sdk/tm/zig/feature/secrets/plugin/version.zig +2 -2
  1724. package/project/.sdk/tm/zig/feature/secrets/plugins/aws.zig +2 -2
  1725. package/project/.sdk/tm/zig/feature/secrets/plugins/azuresecrets.zig +2 -2
  1726. package/project/.sdk/tm/zig/feature/secrets/plugins/boru.zig +2 -2
  1727. package/project/.sdk/tm/zig/feature/secrets/plugins/doppler.zig +2 -2
  1728. package/project/.sdk/tm/zig/feature/secrets/plugins/gcpsecrets.zig +2 -2
  1729. package/project/.sdk/tm/zig/feature/secrets/plugins/hashicorp.zig +2 -2
  1730. package/project/.sdk/tm/zig/feature/secrets/plugins/httpjson.zig +2 -2
  1731. package/project/.sdk/tm/zig/feature/secrets/plugins/infisical.zig +2 -2
  1732. package/project/.sdk/tm/zig/feature/secrets/plugins/minivault.zig +2 -2
  1733. package/project/.sdk/tm/zig/feature/secrets/plugins/onepassword.zig +2 -2
  1734. package/project/.sdk/tm/zig/feature/secrets/plugins/secretspec.zig +2 -2
  1735. package/project/.sdk/tm/zig/feature/secrets/plugins/sigv4.zig +2 -2
  1736. package/project/.sdk/tm/zig/feature/secrets/sekreto/addr.zig +2 -2
  1737. package/project/.sdk/tm/zig/feature/secrets/sekreto/builtins.zig +2 -2
  1738. package/project/.sdk/tm/zig/feature/secrets/sekreto/provider.zig +2 -2
  1739. package/project/.sdk/tm/zig/feature/secrets/sekreto/sekreto.zig +2 -2
  1740. package/project/.sdk/tm/zig/feature/secrets.zig +3 -1
  1741. package/project/.sdk/tm/zig/feature/validate.zig +4 -5
  1742. package/project/.sdk/tm/zig/test/feature/secrets/secrets_test.zig +188 -37
  1743. package/project/.sdk/tm/zig/test/fh.zig +11 -0
  1744. package/project/.sdk/tm/zig/test/gotcha_test.zig +11 -10
  1745. package/project/.sdk/tm/zig/test/omniresolver.zig +1 -1
  1746. package/project/.sdk/tm/zig/test/pipeline_test.zig +1 -1
  1747. package/project/.sdk/tm/zig/test/primary_utility_test.zig +17 -9
  1748. package/project/.sdk/tm/zig/test/server_variable_test.zig +46 -0
  1749. package/project/.sdk/tm/zig/test/struct_corpus.zig +54 -34
  1750. package/project/.sdk/tm/zig/test/vendor/omni/omni.zig +2 -2
  1751. package/project/.sdk/tm/zig/test/vendor/omni/regex.zig +2 -2
  1752. package/project/.sdk/tm/zig/utility/voxgigstruct/regex.zig +35 -16
  1753. package/project/.sdk/tm/zig/utility/voxgigstruct/struct.zig +1680 -563
  1754. package/project/sdkgen-package.json +1 -1
  1755. package/src/action/check.ts +5 -1
  1756. package/src/action/doctor.ts +8 -2
  1757. package/src/action/target.ts +75 -32
  1758. package/src/cmp/AgentGuide.ts +29 -17
  1759. package/src/cmp/AgentGuideContent.ts +4 -8
  1760. package/src/cmp/AgentGuideTop.ts +17 -14
  1761. package/src/cmp/Deploy.ts +20 -8
  1762. package/src/cmp/FeatureDocs.ts +4 -2
  1763. package/src/cmp/License.ts +33 -10
  1764. package/src/cmp/Readme.ts +0 -2
  1765. package/src/cmp/ReadmeErrors.ts +82 -81
  1766. package/src/cmp/ReadmeExplanation.ts +7 -11
  1767. package/src/cmp/ReadmeFeatures.ts +16 -9
  1768. package/src/cmp/ReadmeModel.ts +15 -9
  1769. package/src/cmp/ReadmeOptions.ts +3 -16
  1770. package/src/cmp/ReadmeQuick.ts +11 -2
  1771. package/src/cmp/ReadmeRefFeatures.ts +38 -33
  1772. package/src/cmp/ReadmeTop.ts +90 -47
  1773. package/src/helpers/canonSpec.ts +56 -10
  1774. package/src/helpers/clientOptions.ts +67 -0
  1775. package/src/helpers/consumer.ts +62 -0
  1776. package/src/helpers/doctext.ts +9 -1
  1777. package/src/helpers/facts.ts +31 -2
  1778. package/src/helpers/flowGuard.ts +1 -1
  1779. package/src/helpers/mcpTools.ts +5 -3
  1780. package/src/helpers/naming.ts +3 -2
  1781. package/src/helpers/opShape.ts +40 -2
  1782. package/src/helpers/optional.ts +0 -1
  1783. package/src/helpers/optspec.ts +22 -5
  1784. package/src/helpers/packageMeta.ts +75 -2
  1785. package/src/helpers/readerdir.ts +33 -0
  1786. package/src/helpers/sourcestring.ts +8 -0
  1787. package/src/helpers/stdrep.ts +3 -3
  1788. package/src/helpers/surface.ts +23 -5
  1789. package/src/helpers/testPolicy.ts +3 -3
  1790. package/src/helpers/title.ts +1 -1
  1791. package/src/sdkgen.ts +25 -4
  1792. package/src/utility.ts +12 -5
  1793. package/project/.sdk/src/cmp/c/ReadmeOptions_c.ts +0 -65
  1794. package/project/.sdk/src/cmp/clojure/ReadmeOptions_clojure.ts +0 -61
  1795. package/project/.sdk/src/cmp/cpp/ReadmeOptions_cpp.ts +0 -62
  1796. package/project/.sdk/src/cmp/csharp/ReadmeOptions_csharp.ts +0 -60
  1797. package/project/.sdk/src/cmp/elixir/ReadmeOptions_elixir.ts +0 -62
  1798. package/project/.sdk/src/cmp/go/ReadmeOptions_go.ts +0 -59
  1799. package/project/.sdk/src/cmp/java/ReadmeOptions_java.ts +0 -61
  1800. package/project/.sdk/src/cmp/js/ReadmeOptions_js.ts +0 -59
  1801. package/project/.sdk/src/cmp/kotlin/ReadmeOptions_kotlin.ts +0 -61
  1802. package/project/.sdk/src/cmp/lua/ReadmeOptions_lua.ts +0 -59
  1803. package/project/.sdk/src/cmp/ocaml/ReadmeOptions_ocaml.ts +0 -59
  1804. package/project/.sdk/src/cmp/perl/ReadmeOptions_perl.ts +0 -59
  1805. package/project/.sdk/src/cmp/php/ReadmeOptions_php.ts +0 -59
  1806. package/project/.sdk/src/cmp/py/ReadmeOptions_py.ts +0 -59
  1807. package/project/.sdk/src/cmp/rb/ReadmeOptions_rb.ts +0 -59
  1808. package/project/.sdk/src/cmp/rust/ReadmeOptions_rust.ts +0 -60
  1809. package/project/.sdk/src/cmp/scala/ReadmeOptions_scala.ts +0 -61
  1810. package/project/.sdk/src/cmp/swift/ReadmeOptions_swift.ts +0 -62
  1811. package/project/.sdk/src/cmp/ts/ReadmeOptions_ts.ts +0 -59
  1812. package/project/.sdk/src/cmp/zig/ReadmeOptions_zig.ts +0 -60
  1813. package/project/.sdk/tm/c/LICENSE +0 -22
  1814. package/project/.sdk/tm/c/VERSION +0 -1
  1815. package/project/.sdk/tm/clojure/LICENSE +0 -22
  1816. package/project/.sdk/tm/clojure/VERSION +0 -1
  1817. package/project/.sdk/tm/cpp/LICENSE +0 -22
  1818. package/project/.sdk/tm/cpp/VERSION +0 -1
  1819. package/project/.sdk/tm/csharp/LICENSE +0 -22
  1820. package/project/.sdk/tm/csharp/VERSION +0 -1
  1821. package/project/.sdk/tm/elixir/LICENSE +0 -21
  1822. package/project/.sdk/tm/elixir/VERSION +0 -1
  1823. package/project/.sdk/tm/go/LICENSE +0 -22
  1824. package/project/.sdk/tm/go/VERSION +0 -1
  1825. package/project/.sdk/tm/java/LICENSE +0 -22
  1826. package/project/.sdk/tm/java/VERSION +0 -1
  1827. package/project/.sdk/tm/js/LICENSE +0 -22
  1828. package/project/.sdk/tm/kotlin/LICENSE +0 -22
  1829. package/project/.sdk/tm/kotlin/VERSION +0 -1
  1830. package/project/.sdk/tm/lua/LICENSE +0 -22
  1831. package/project/.sdk/tm/ocaml/LICENSE +0 -21
  1832. package/project/.sdk/tm/ocaml/VERSION +0 -1
  1833. package/project/.sdk/tm/perl/LICENSE +0 -22
  1834. package/project/.sdk/tm/php/LICENSE +0 -22
  1835. package/project/.sdk/tm/php/VERSION +0 -1
  1836. package/project/.sdk/tm/py/LICENSE +0 -22
  1837. package/project/.sdk/tm/py-data/LICENSE +0 -22
  1838. package/project/.sdk/tm/rb/LICENSE +0 -22
  1839. package/project/.sdk/tm/rust/LICENSE +0 -22
  1840. package/project/.sdk/tm/rust/VERSION +0 -1
  1841. package/project/.sdk/tm/scala/LICENSE +0 -22
  1842. package/project/.sdk/tm/scala/VERSION +0 -1
  1843. package/project/.sdk/tm/swift/LICENSE +0 -22
  1844. package/project/.sdk/tm/swift/VERSION +0 -1
  1845. package/project/.sdk/tm/ts/LICENSE +0 -22
  1846. package/project/.sdk/tm/zig/LICENSE +0 -21
  1847. package/project/.sdk/tm/zig/VERSION +0 -1
@@ -1,5 +1,5 @@
1
1
  // VENDORED: @voxgig/struct 0.1.1 (csharp/Struct.cs)
2
- // Source: https://github.com/voxgig/struct @ 621057e24eb5f3e3da6fd3820ff24a36aaacb21b [tag: sdk-20261016-0845-0]
2
+ // Source: https://github.com/voxgig/struct @ 358af9d51c90b589a295a70b2165dbe4629eaf8e [tag: sdk-20261125-1959-0]
3
3
  // License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
4
4
  /* Copyright (c) 2025-2026 Voxgig Ltd. MIT LICENSE. */
5
5
 
@@ -110,6 +110,7 @@ namespace Voxgig.Struct
110
110
  public Dictionary<string, object?> Meta { get; set; } = [];
111
111
  public object? Extra { get; set; }
112
112
  public object? Root { get; set; }
113
+ public bool Named { get; set; } // Current map node names keys of its own (not $ commands).
113
114
 
114
115
  public object? Descend()
115
116
  {
@@ -183,7 +184,12 @@ namespace Voxgig.Struct
183
184
  bool del = val == null || ReferenceEquals(val, StructUtils.NONE);
184
185
  if (ancestor < 2)
185
186
  {
186
- if (del)
187
+ if (del && Parent is List<object?>)
188
+ {
189
+ // A list keeps the removed slot as a hole until Inject's loop ends.
190
+ StructUtils.SetProp(Parent, Key, StructUtils.SKIP);
191
+ }
192
+ else if (del)
187
193
  {
188
194
  StructUtils.DelProp(Parent, Key);
189
195
  }
@@ -312,7 +318,6 @@ namespace Voxgig.Struct
312
318
  ];
313
319
 
314
320
  // Regular expressions (compile-time generated; see partial methods at end of class).
315
- private static readonly Regex R_INTEGER_KEY = R_IntegerKeyGen();
316
321
  private static readonly Regex R_ESCAPE_REGEXP = R_EscapeRegexpGen();
317
322
  private static readonly Regex R_CLONE_REF = R_CloneRefGen();
318
323
  private static readonly Regex R_INJECTION_FULL = R_InjectionFullGen();
@@ -320,6 +325,7 @@ namespace Voxgig.Struct
320
325
  private static readonly Regex R_DOUBLE_DOLLAR = R_DoubleDollarGen();
321
326
  private static readonly Regex R_META_PATH = R_MetaPathGen();
322
327
  private static readonly Regex R_TRANSFORM_NAME = R_TransformNameGen();
328
+ private static readonly Regex R_CHECKER_NAME = R_CheckerNameGen();
323
329
  private static readonly Regex R_DOT = R_DotGen();
324
330
 
325
331
  public const int MAXDEPTH = 32;
@@ -524,6 +530,74 @@ namespace Voxgig.Struct
524
530
  return padding >= 0 ? s.PadRight(padding, pc[0]) : s.PadLeft(-padding, pc[0]);
525
531
  }
526
532
 
533
+ // A list key this far from zero is past any list: a write appends or prepends, a read misses.
534
+ private const long LISTKEY_HUGE = 1_000_000_000_000_000_000;
535
+
536
+ // ^(0|-?[1-9][0-9]*)$, the form String(n) gives an integer n, as that integer. So "01",
537
+ // "+1", " 1", "1.0" and "-0" are not list keys.
538
+ private static bool CanonListIndex(string key, out long index)
539
+ {
540
+ index = 0;
541
+ int j = key.StartsWith('-') ? 1 : 0;
542
+ if (j == key.Length || ('0' == key[j] && 1 < key.Length))
543
+ {
544
+ return false;
545
+ }
546
+
547
+ long i = 0;
548
+ for (; j < key.Length; j++)
549
+ {
550
+ if (key[j] is < '0' or > '9')
551
+ {
552
+ return false;
553
+ }
554
+
555
+ i = i < LISTKEY_HUGE / 10 ? (i * 10) + (key[j] - '0') : LISTKEY_HUGE;
556
+ }
557
+
558
+ index = key.StartsWith('-') ? -i : i;
559
+ return true;
560
+ }
561
+
562
+ // The canonical _listkey: an integral number, or a string CanonListIndex accepts.
563
+ private static bool ListKey(object? key, out long index)
564
+ {
565
+ if (key is string s)
566
+ {
567
+ return CanonListIndex(s, out index);
568
+ }
569
+
570
+ double d = ListKeyNumber(key);
571
+ if (!double.IsFinite(d) || d != Math.Floor(d))
572
+ {
573
+ index = 0;
574
+ return false;
575
+ }
576
+
577
+ index = Math.Abs(d) < LISTKEY_HUGE ? (long)d : d < 0 ? -LISTKEY_HUGE : LISTKEY_HUGE;
578
+ return true;
579
+ }
580
+
581
+ // The element a list read selects, else -1. Only GetElem counts a negative key from the end.
582
+ private static long ListIndex(object? key)
583
+ {
584
+ return ListKey(key, out long i) && 0 <= i ? i : -1;
585
+ }
586
+
587
+ // A map reads a string or number key; any other key names no member.
588
+ private static bool MapReadKey(object? key)
589
+ {
590
+ return key is string or int or long or double or float;
591
+ }
592
+
593
+ // A numeric key's value; NaN for any other key.
594
+ private static double ListKeyNumber(object? key)
595
+ {
596
+ return key is IConvertible c && c.GetTypeCode() is >= TypeCode.SByte and <= TypeCode.Decimal
597
+ ? c.ToDouble(CultureInfo.InvariantCulture)
598
+ : double.NaN;
599
+ }
600
+
527
601
  // Get a list element by integer index (negative counts from end).
528
602
  public static object? GetElem(object? val, object? key, object? alt = null)
529
603
  {
@@ -533,26 +607,16 @@ namespace Voxgig.Struct
533
607
  }
534
608
 
535
609
  object? out2 = alt;
536
- if (val is List<object?> list)
610
+ if (val is List<object?> list && ListKey(key, out long nkey))
537
611
  {
538
- if (!int.TryParse(key?.ToString(), out int nkey))
539
- {
540
- return alt;
541
- }
542
-
543
- if (!R_INTEGER_KEY.IsMatch(key!.ToString()!))
544
- {
545
- return alt;
546
- }
547
-
548
612
  if (nkey < 0)
549
613
  {
550
- nkey = list.Count + nkey;
614
+ nkey += list.Count;
551
615
  }
552
616
 
553
617
  if (nkey >= 0 && nkey < list.Count)
554
618
  {
555
- out2 = list[nkey];
619
+ out2 = list[(int)nkey];
556
620
  }
557
621
  }
558
622
 
@@ -577,25 +641,17 @@ namespace Voxgig.Struct
577
641
  if (val is Dictionary<string, object?> map)
578
642
  {
579
643
  string k = StrKey(key) ?? S_MT;
580
- if (map.TryGetValue(k, out object? v))
644
+ if (MapReadKey(key) && map.TryGetValue(k, out object? v))
581
645
  {
582
646
  out2 = v;
583
647
  }
584
648
  }
585
649
  else if (val is List<object?> list)
586
650
  {
587
- string? ks = key?.ToString();
588
- if (ks != null && int.TryParse(ks, out int i))
651
+ long i = ListIndex(key);
652
+ if (i >= 0 && i < list.Count)
589
653
  {
590
- if (i < 0)
591
- {
592
- i = list.Count + i;
593
- }
594
-
595
- if (i >= 0 && i < list.Count)
596
- {
597
- out2 = list[i];
598
- }
654
+ out2 = list[(int)i];
599
655
  }
600
656
  }
601
657
 
@@ -624,23 +680,12 @@ namespace Voxgig.Struct
624
680
  if (val is Dictionary<string, object?> map)
625
681
  {
626
682
  string k = StrKey(key) ?? S_MT;
627
- return map.TryGetValue(k, out object? v) ? v : NONE;
683
+ return MapReadKey(key) && map.TryGetValue(k, out object? v) ? v : NONE;
628
684
  }
629
685
  if (val is List<object?> list)
630
686
  {
631
- string? ks = key.ToString();
632
- if (ks != null && int.TryParse(ks, out int i))
633
- {
634
- if (i < 0)
635
- {
636
- i = list.Count + i;
637
- }
638
- if (i >= 0 && i < list.Count)
639
- {
640
- return list[i];
641
- }
642
- }
643
- return NONE;
687
+ long i = ListIndex(key);
688
+ return i >= 0 && i < list.Count ? list[(int)i] : NONE;
644
689
  }
645
690
  return NONE;
646
691
  }
@@ -1165,6 +1210,11 @@ namespace Voxgig.Struct
1165
1210
  return parent;
1166
1211
  }
1167
1212
 
1213
+ if (IsCondensed(parent))
1214
+ {
1215
+ throw new InvalidOperationException(S_IMMUTABLE);
1216
+ }
1217
+
1168
1218
  if (parent is Dictionary<string, object?> map)
1169
1219
  {
1170
1220
  string k = StrKey(key) ?? S_MT;
@@ -1172,13 +1222,11 @@ namespace Voxgig.Struct
1172
1222
  }
1173
1223
  else if (parent is List<object?> list)
1174
1224
  {
1175
- string? ks = key?.ToString();
1176
- if (ks == null || !long.TryParse(ks, out long keyL))
1225
+ if (!ListKey(key, out long keyI))
1177
1226
  {
1178
1227
  return parent;
1179
1228
  }
1180
1229
 
1181
- int keyI = (int)Math.Floor((double)keyL);
1182
1230
  if (keyI >= 0)
1183
1231
  {
1184
1232
  int clamped = Convert.ToInt32(Slice(keyI, 0, list.Count + 1), CultureInfo.InvariantCulture);
@@ -1206,23 +1254,19 @@ namespace Voxgig.Struct
1206
1254
  return parent;
1207
1255
  }
1208
1256
 
1257
+ if (IsCondensed(parent))
1258
+ {
1259
+ throw new InvalidOperationException(S_IMMUTABLE);
1260
+ }
1261
+
1209
1262
  if (parent is Dictionary<string, object?> map)
1210
1263
  {
1211
1264
  string k = StrKey(key) ?? S_MT;
1212
1265
  map.Remove(k);
1213
1266
  }
1214
- else if (parent is List<object?> list)
1267
+ else if (parent is List<object?> list && ListKey(key, out long keyI) && keyI >= 0 && keyI < list.Count)
1215
1268
  {
1216
- if (!int.TryParse(key?.ToString(), out int keyI))
1217
- {
1218
- return parent;
1219
- }
1220
-
1221
- keyI = (int)Math.Floor((double)keyI);
1222
- if (keyI >= 0 && keyI < list.Count)
1223
- {
1224
- list.RemoveAt(keyI);
1225
- }
1269
+ list.RemoveAt((int)keyI);
1226
1270
  }
1227
1271
 
1228
1272
  return parent;
@@ -1237,6 +1281,11 @@ namespace Voxgig.Struct
1237
1281
  // last key was set (matches TypeScript behavior).
1238
1282
  public static object? SetPath(object? store, object? path, object? val)
1239
1283
  {
1284
+ if (IsCondensed(store))
1285
+ {
1286
+ throw new InvalidOperationException(S_IMMUTABLE);
1287
+ }
1288
+
1240
1289
  if (store == null)
1241
1290
  {
1242
1291
  return null;
@@ -1315,7 +1364,23 @@ namespace Voxgig.Struct
1315
1364
  List<string> parts;
1316
1365
  if (path is List<object?> lp)
1317
1366
  {
1318
- parts = lp.Select(p => StrKey(p) ?? S_MT).ToList();
1367
+ // A number part reads as its string form; any other part makes the whole path miss.
1368
+ parts = new List<string>(lp.Count);
1369
+ foreach (object? part in lp)
1370
+ {
1371
+ if (part is string ps)
1372
+ {
1373
+ parts.Add(ps);
1374
+ }
1375
+ else if (part is int or long or double or float)
1376
+ {
1377
+ parts.Add(CondenseStr(part));
1378
+ }
1379
+ else
1380
+ {
1381
+ return null;
1382
+ }
1383
+ }
1319
1384
  }
1320
1385
  else if (path is List<string> ls)
1321
1386
  {
@@ -1327,13 +1392,26 @@ namespace Voxgig.Struct
1327
1392
  }
1328
1393
  else if (0 < (T.Number & Typify(path)))
1329
1394
  {
1330
- parts = [StrKey(path) ?? S_MT];
1395
+ parts = [CondenseStr(path)];
1331
1396
  }
1332
1397
  else
1333
1398
  {
1334
1399
  return null;
1335
1400
  }
1336
1401
 
1402
+ // A base changes what the path resolves against, so honour it on the expansion.
1403
+ if (IsCondensed(store))
1404
+ {
1405
+ if (state?.Base == null)
1406
+ {
1407
+ object? found = CondenseRebuild(store, CondenseResolve(store, CondenseRoot(store), path));
1408
+ // Group A, as a plain getpath reads it: a stored null is absent.
1409
+ return ReferenceEquals(found, NONE) ? null : found;
1410
+ }
1411
+
1412
+ store = Expand(store);
1413
+ }
1414
+
1337
1415
  string? baseKey = state?.Base;
1338
1416
  object? src = GetProp(store, baseKey, store) ?? store;
1339
1417
  object? dparent = state?.DParent;
@@ -1848,6 +1926,8 @@ namespace Voxgig.Struct
1848
1926
 
1849
1927
  state.Descend();
1850
1928
 
1929
+ state.Named = false;
1930
+
1851
1931
  // ── Node: recurse into children ──────────────────────────────────────
1852
1932
  if (IsNode(val))
1853
1933
  {
@@ -1859,6 +1939,7 @@ namespace Voxgig.Struct
1859
1939
  var normal = allKeys.Where(k => !k.Contains(S_DS)).ToList();
1860
1940
  var transform = allKeys.Where(k => k.Contains(S_DS)).ToList();
1861
1941
  keys = [.. normal.Cast<object?>(), .. transform.Cast<object?>()];
1942
+ state.Named = 0 < normal.Count;
1862
1943
  }
1863
1944
  else
1864
1945
  {
@@ -1902,6 +1983,11 @@ namespace Voxgig.Struct
1902
1983
 
1903
1984
  nkI++;
1904
1985
  }
1986
+
1987
+ if (val is List<object?> nodelist)
1988
+ {
1989
+ nodelist.RemoveAll(item => ReferenceEquals(item, SKIP));
1990
+ }
1905
1991
  }
1906
1992
 
1907
1993
  // ── String scalar: resolve backtick references ──────────────────────
@@ -1926,7 +2012,7 @@ namespace Voxgig.Struct
1926
2012
  {
1927
2013
  object? mparent = state.Parent;
1928
2014
  object? mval = GetProp(mparent, state.Key);
1929
- state.ModifyFn(mval, state.Key, mparent, state, store);
2015
+ state.ModifyFn(ReferenceEquals(SKIP, mval) ? NONE : mval, state.Key, mparent, state, store);
1930
2016
  }
1931
2017
  }
1932
2018
 
@@ -2419,7 +2505,7 @@ namespace Voxgig.Struct
2419
2505
  return null;
2420
2506
  }
2421
2507
 
2422
- // Get refpath from parent list element 1.
2508
+ // ['`$REF`', 'ref-path']: a relative path starts where this slot is, so .x is a sibling.
2423
2509
  object? refpath = GetProp(inj.Parent, 1);
2424
2510
  inj.KeyI = inj.Keys.Count; // skip remaining keys
2425
2511
 
@@ -2436,10 +2522,8 @@ namespace Voxgig.Struct
2436
2522
  return null;
2437
2523
  }
2438
2524
 
2439
- // Build dpath from current path (skip first element "$TOP").
2440
- var dpath = inj.Path.Count > 1
2441
- ? inj.Path.GetRange(1, inj.Path.Count - 1).Select(p => (object?)(StrKey(p) ?? S_MT)).ToList()
2442
- : [];
2525
+ var dpath = ((Slice(inj.Path, 1, -2) as List<object?>) ?? [])
2526
+ .Select(p => (object?)(StrKey(p) ?? S_MT)).ToList();
2443
2527
  var dpathInj = new InjectState
2444
2528
  {
2445
2529
  DPath = dpath,
@@ -2448,6 +2532,22 @@ namespace Voxgig.Struct
2448
2532
 
2449
2533
  object? refResult = GetPath(spec, refpath, null, dpathInj);
2450
2534
 
2535
+ // A chain of references that comes back to a path it has named names nothing.
2536
+ var seen = new List<object?> { refpath };
2537
+ object? next = refResult;
2538
+ while (IsList(next) && Lookup(next, 0) is string head && head == "`$REF`")
2539
+ {
2540
+ object? nextpath = GetProp(next, 1);
2541
+ if (seen.Contains(nextpath))
2542
+ {
2543
+ refResult = null;
2544
+ break;
2545
+ }
2546
+
2547
+ seen.Add(nextpath);
2548
+ next = GetPath(spec, nextpath, null, dpathInj);
2549
+ }
2550
+
2451
2551
  // Check if refResult contains sub-references.
2452
2552
  bool hasSubRef = false;
2453
2553
  if (IsNode(refResult))
@@ -2463,58 +2563,29 @@ namespace Voxgig.Struct
2463
2563
  });
2464
2564
  }
2465
2565
 
2466
- object? tref = Clone(refResult);
2566
+ // A recursive reference stops where the data does.
2467
2567
  int pathLen = inj.Path.Count;
2468
-
2469
- var cpath = pathLen > 3
2470
- ? inj.Path.GetRange(0, pathLen - 3).Cast<object?>().ToList()
2471
- : [];
2472
2568
  var tpath = pathLen >= 1
2473
2569
  ? inj.Path.GetRange(0, pathLen - 1).Cast<object?>().ToList()
2474
2570
  : [];
2475
-
2476
- object? tcur = GetPath(store, cpath, null, null);
2477
2571
  object? tvalRef = GetPath(store, tpath, null, null);
2572
+ object? rval = !hasSubRef || tvalRef != null ? Clone(refResult) : NONE;
2478
2573
 
2479
- if (!hasSubRef || tvalRef != null)
2480
- {
2481
- string lastPath = tpath.Count > 0
2482
- ? (StrKey(tpath[^1]) ?? S_DTOP)
2483
- : S_DTOP;
2484
-
2485
- var tinj = inj.Child(0, [(object?)lastPath]);
2486
- tinj.Path = tpath;
2487
-
2488
- int nodesLen = inj.Nodes.Count;
2489
- tinj.Nodes = nodesLen > 1
2490
- ? inj.Nodes.GetRange(0, nodesLen - 1).Cast<object?>().ToList()
2491
- : [];
2492
- tinj.Parent = nodesLen >= 2 ? inj.Nodes[nodesLen - 2] : null;
2493
- tinj.Val = tref;
2494
- tinj.DPath = cpath;
2495
- tinj.DParent = tcur;
2574
+ // The enclosing loop injects the referenced spec in this list's place, so
2575
+ // neither this pass nor this element leaves a value for modify to check.
2576
+ object? grandparent = inj.SetVal(rval, 2);
2496
2577
 
2497
- Inject(tref, store, tinj);
2498
- object? rval = tinj.Val;
2499
-
2500
- inj.SetVal(rval, 2);
2501
-
2502
- if (IsList(GetElem(inj.Nodes, -2)) && inj.Prior != null)
2503
- {
2504
- inj.Prior.KeyI--;
2505
- }
2506
- }
2507
- else
2578
+ InjectState? prior = inj.Prior;
2579
+ if (prior != null)
2508
2580
  {
2509
- // Circular self-reference with no data: delete the key from the grandparent.
2510
- inj.SetVal(null, 2);
2511
- if (IsList(GetElem(inj.Nodes, -2)) && inj.Prior != null)
2581
+ prior.ModifyFn = null;
2582
+ if (IsList(grandparent) || (rval != null && !ReferenceEquals(rval, NONE)))
2512
2583
  {
2513
- inj.Prior.KeyI--;
2584
+ prior.KeyI--;
2514
2585
  }
2515
2586
  }
2516
2587
 
2517
- return val;
2588
+ return SKIP;
2518
2589
  };
2519
2590
 
2520
2591
  // Apply a named format function to a child value.
@@ -2801,13 +2872,12 @@ namespace Voxgig.Struct
2801
2872
  if (0 == (T.Str & t))
2802
2873
  {
2803
2874
  inj.Errs.Add(_InvalidTypeMsg(inj.Path, S_string, t, keyExists ? out_ : NONE));
2804
- return NONE;
2875
+ return keyExists && null == out_ ? _KeepNull(inj) : out_;
2805
2876
  }
2806
2877
 
2807
2878
  if (S_MT == (out_ as string))
2808
2879
  {
2809
2880
  inj.Errs.Add("Empty string at " + Pathify(inj.Path, 1));
2810
- return NONE;
2811
2881
  }
2812
2882
 
2813
2883
  return out_;
@@ -2818,7 +2888,9 @@ namespace Voxgig.Struct
2818
2888
  {
2819
2889
  string tname = refStr != null && refStr.Length > 1 ? refStr[1..].ToLowerInvariant() : "";
2820
2890
  int idx = Array.IndexOf(TYPENAME, tname);
2821
- int typev = idx >= 0 ? (1 << (31 - idx)) : 0;
2891
+
2892
+ // $NIL is absent or null.
2893
+ int typev = (idx >= 0 ? (1 << (31 - idx)) : 0) | (S_nil == tname ? T.Null : 0);
2822
2894
 
2823
2895
  bool keyExists = TryGetDataValue(inj.DParent, inj.Key, out object? out_);
2824
2896
  int t = keyExists ? Typify(out_) : T.NoVal;
@@ -2826,15 +2898,22 @@ namespace Voxgig.Struct
2826
2898
  if (0 == (t & typev))
2827
2899
  {
2828
2900
  inj.Errs.Add(_InvalidTypeMsg(inj.Path, tname, t, keyExists ? out_ : NONE));
2829
- return NONE;
2830
2901
  }
2831
2902
 
2832
- return out_;
2903
+ return keyExists && null == out_ ? _KeepNull(inj) : out_;
2833
2904
  };
2834
2905
 
2835
2906
  // Allow any value without type check.
2836
2907
  private static readonly Injector _ValidateAny = (inj, val, refStr, store) =>
2837
- GetProp(inj.DParent, inj.Key);
2908
+ TryGetDataValue(inj.DParent, inj.Key, out object? out_) && null == out_ ? _KeepNull(inj) : out_;
2909
+
2910
+ // Keep an accepted null in place: SetVal deletes on null, which in a list
2911
+ // shifts the elements after it. Validation has nothing to check for a null.
2912
+ private static Dictionary<string, object?> _KeepNull(InjectState inj)
2913
+ {
2914
+ SetProp(inj.Parent, inj.Key, null);
2915
+ return SKIP;
2916
+ }
2838
2917
 
2839
2918
  // Validate every child of a map or list against a template.
2840
2919
  private static readonly Injector _ValidateChild = (inj, val, refStr, store) =>
@@ -2855,8 +2934,7 @@ namespace Voxgig.Struct
2855
2934
  }
2856
2935
  else if (!IsMap(tval))
2857
2936
  {
2858
- inj.Errs.Add(_InvalidTypeMsg(Slice(inj.Path, -1), S_object, Typify(tval), tval));
2859
- inj.SetVal(NONE);
2937
+ // _Validation reports the mismatch, once.
2860
2938
  return NONE;
2861
2939
  }
2862
2940
 
@@ -2889,9 +2967,6 @@ namespace Voxgig.Struct
2889
2967
 
2890
2968
  if (!IsList(inj.DParent))
2891
2969
  {
2892
- string msg = _InvalidTypeMsg(
2893
- Slice(inj.Path, -1), S_list, Typify(inj.DParent), inj.DParent);
2894
- inj.Errs.Add(msg);
2895
2970
  inj.KeyI = Size(inj.Parent);
2896
2971
  return inj.DParent;
2897
2972
  }
@@ -2927,76 +3002,72 @@ namespace Voxgig.Struct
2927
3002
  return NONE;
2928
3003
  };
2929
3004
 
2930
- // Match at least one of the provided alternatives.
2931
- private static readonly Injector _ValidateOne = (inj, val, refStr, store) =>
3005
+ // The members a spec does not name: the map form is a key, the list form a
3006
+ // tuple's last item. Each places clones of its spec for the loop to check.
3007
+ private static readonly Injector _ValidateRest = (inj, val, refStr, store) =>
2932
3008
  {
2933
- if (M_VAL != inj.Mode)
3009
+ if (M_KEYPRE == inj.Mode)
2934
3010
  {
2935
- return null;
3011
+ object? resttm = Lookup(inj.Parent, inj.Key);
3012
+ object? tval = GetProp(inj.DParent, GetElem(inj.Path, -2));
3013
+
3014
+ if (IsMap(tval))
3015
+ {
3016
+ foreach (string ckey in KeysOf(tval))
3017
+ {
3018
+ if (!inj.Keys.Contains(ckey))
3019
+ {
3020
+ SetProp(inj.Parent, ckey, Clone(resttm));
3021
+ inj.Keys.Add(ckey);
3022
+ }
3023
+ }
3024
+ }
3025
+
3026
+ inj.SetVal(NONE);
3027
+ return NONE;
2936
3028
  }
2937
3029
 
2938
- if (!IsList(inj.Parent) || 0 != inj.KeyI)
3030
+ InjectState? prior = inj.Prior;
3031
+ if (M_VAL != inj.Mode || null == prior || !IsList(prior.Parent) || 0 != inj.KeyI)
2939
3032
  {
2940
- inj.Errs.Add("The $ONE validator at field " +
2941
- Pathify(inj.Path, 1, 1) +
2942
- " must be the first element of an array.");
2943
- return null;
3033
+ inj.Errs.Add(_RestMsg(Slice(inj.Path, 1), " must be the last element of an array."));
3034
+ return NONE;
2944
3035
  }
2945
3036
 
2946
3037
  inj.KeyI = Size(inj.Keys);
3038
+ prior.ModifyFn = null;
2947
3039
 
2948
- inj.SetVal(inj.DParent, 2);
2949
- inj.Path = (List<object?>)Slice(inj.Path, -1)!;
3040
+ object? tuple = prior.Parent;
3041
+ long slot = ListIndex(prior.Key);
3042
+ object? dlist = prior.DParent;
3043
+ int numitems = IsList(dlist) ? Size(dlist) : 0;
2950
3044
 
2951
- var tvals = (List<object?>)Slice(inj.Parent, 1)!;
2952
- if (0 == Size(tvals))
3045
+ if (numitems <= slot)
2953
3046
  {
2954
- inj.Errs.Add("The $ONE validator at field " +
2955
- Pathify(inj.Path, 1, 1) +
2956
- " must have at least one argument.");
2957
- return null;
3047
+ inj.SetVal(NONE, 2);
3048
+ return SKIP;
2958
3049
  }
2959
3050
 
2960
- // GetProp answers null for a missing key where ts hands the nested
2961
- // call `undefined`, so `$NIL` rejected every optional entry the
2962
- // caller omitted and no default client could be constructed.
2963
- object? dval = inj.DParent ?? NONE;
2964
-
2965
- foreach (object? tval in tvals)
3051
+ object? itemtm = Lookup(inj.Parent, 1);
3052
+ for (long i = slot; i < numitems; i++)
2966
3053
  {
2967
- var terrs = new List<object?>();
2968
- var vstore = (Dictionary<string, object?>)Merge(
2969
- new List<object?> { new Dictionary<string, object?>(), store }, 1)!;
2970
- vstore[S_DTOP] = dval;
2971
-
2972
- object? vcurrent = Validate(dval, tval, new InjectState
2973
- {
2974
- Extra = vstore,
2975
- Errs = terrs,
2976
- Meta = inj.Meta,
2977
- });
2978
-
2979
- inj.SetVal(vcurrent, -2);
2980
-
2981
- if (0 == Size(terrs))
2982
- {
2983
- return null;
2984
- }
3054
+ SetProp(tuple, i, Clone(itemtm));
2985
3055
  }
2986
3056
 
2987
- // No match found.
2988
- string valdesc = R_TRANSFORM_NAME.Replace(
2989
- Join(Items(tvals, n => (object?)Stringify(n[1])), ", "),
2990
- m => m.Groups[1].Value.ToLowerInvariant());
2991
-
2992
- inj.Errs.Add(_InvalidTypeMsg(
2993
- inj.Path,
2994
- (1 < Size(tvals) ? "one of " : "") + valdesc,
2995
- Typify(inj.DParent), inj.DParent));
3057
+ for (int i = Size(prior.Keys); i < numitems; i++)
3058
+ {
3059
+ prior.Keys.Add(StrKey(i));
3060
+ }
2996
3061
 
2997
- return null;
3062
+ prior.KeyI--;
3063
+ return SKIP;
2998
3064
  };
2999
3065
 
3066
+ private static string _RestMsg(object? path, string problem)
3067
+ {
3068
+ return "The $REST validator at field " + Pathify(path) + problem;
3069
+ }
3070
+
3000
3071
  // Match one of the provided exact values.
3001
3072
  private static readonly Injector _ValidateExact = (inj, val, refStr, store) =>
3002
3073
  {
@@ -3010,11 +3081,14 @@ namespace Voxgig.Struct
3010
3081
  return null;
3011
3082
  }
3012
3083
 
3084
+ object? cval = _SlotVal(inj);
3085
+
3013
3086
  inj.KeyI = Size(inj.Keys);
3014
3087
 
3015
- inj.SetVal(inj.DParent, 2);
3088
+ // Replace [$EXACT, ...] with the data value; SKIP keeps inject off the detached list.
3089
+ _SetSlot(inj, cval);
3090
+
3016
3091
  inj.Path = (List<object?>)Slice(inj.Path, 0, -1)!;
3017
- inj.Key = StrKey(GetElem(inj.Path, -1)) ?? S_MT;
3018
3092
 
3019
3093
  var tvals = (List<object?>)Slice(inj.Parent, 1)!;
3020
3094
  if (0 == Size(tvals))
@@ -3022,23 +3096,14 @@ namespace Voxgig.Struct
3022
3096
  inj.Errs.Add("The $EXACT validator at field " +
3023
3097
  Pathify(inj.Path, 1, 1) +
3024
3098
  " must have at least one argument.");
3025
- return null;
3099
+ return SKIP;
3026
3100
  }
3027
3101
 
3028
- // TS descends through getprop, so a null data value is NONE here.
3029
- object? current = inj.DParent ?? NONE;
3030
- string? currentStr = null;
3031
3102
  foreach (object? tval in tvals)
3032
3103
  {
3033
- bool exactMatch = Equals(tval, current);
3034
- if (!exactMatch && IsNode(tval))
3035
- {
3036
- currentStr ??= Stringify(current);
3037
- exactMatch = Stringify(tval) == currentStr;
3038
- }
3039
- if (exactMatch)
3104
+ if (_DeepEqual(tval, cval))
3040
3105
  {
3041
- return null;
3106
+ return SKIP;
3042
3107
  }
3043
3108
  }
3044
3109
 
@@ -3050,118 +3115,405 @@ namespace Voxgig.Struct
3050
3115
  inj.Path,
3051
3116
  (1 < Size(inj.Path) ? "" : "value ") +
3052
3117
  "exactly equal to " + (1 == Size(tvals) ? "" : "one of ") + valdesc,
3053
- Typify(current), current));
3054
- }
3055
- else
3056
- {
3057
- DelProp(inj.Parent, inj.Key);
3118
+ Typify(cval), cval));
3119
+
3120
+ return SKIP;
3058
3121
  }
3059
3122
 
3123
+ DelProp(inj.Parent, inj.Key);
3060
3124
  return null;
3061
3125
  };
3062
3126
 
3063
- // True if key exists on node (JSON null counts as present); sets value when present.
3064
- private static bool TryGetDataValue(object? node, object? key, out object? value)
3065
- {
3066
- value = null;
3067
- if (node == null || key == null)
3068
- {
3069
- return false;
3070
- }
3071
-
3072
- if (node is Dictionary<string, object?> map)
3073
- {
3074
- string k = StrKey(key) ?? S_MT;
3075
- return map.TryGetValue(k, out value);
3076
- }
3077
- if (node is List<object?> list)
3078
- {
3079
- string? ks = key?.ToString();
3080
- if (ks != null && int.TryParse(ks, out int i))
3081
- {
3082
- if (i < 0)
3083
- {
3084
- i = list.Count + i;
3085
- }
3127
+ // Count the specs that admit the value: ['`$NOF`', count, spec, ...], where
3128
+ // count is an integer, or a map holding min, max or both.
3129
+ private static readonly Injector _ValidateNof = (inj, val, refStr, store) =>
3130
+ _ValidateCount(inj, store, "$NOF", true);
3086
3131
 
3087
- if (i >= 0 && i < list.Count)
3088
- {
3089
- value = list[i];
3090
- return true;
3091
- }
3092
- }
3093
- return false;
3094
- }
3095
- return false;
3096
- }
3132
+ // Every spec admits the value: ['`$ALL`', spec, ...].
3133
+ private static readonly Injector _ValidateAll = (inj, val, refStr, store) =>
3134
+ _ValidateCount(inj, store, "$ALL", false);
3097
3135
 
3098
- // Modify callback: runs after each inject step to perform type/structure validation.
3099
- private static object? _Validation(
3100
- object? pval, object? key, object? parent, object? injObj, object? store)
3136
+ // The counting list directives. Without a count, every spec has to admit.
3137
+ private static object? _ValidateCount(InjectState inj, object? store, string name, bool counted)
3101
3138
  {
3102
- if (injObj is not InjectState inj)
3139
+ if (M_VAL != inj.Mode)
3103
3140
  {
3104
- return null;
3141
+ return NONE;
3105
3142
  }
3106
3143
 
3107
- bool isSkipVal = pval is Dictionary<string, object?> sd && sd.ContainsKey("`$SKIP`");
3108
- if (isSkipVal)
3144
+ if (!IsList(inj.Parent) || 0 != inj.KeyI)
3109
3145
  {
3110
- return null;
3146
+ inj.Errs.Add("The " + name + " validator at field " +
3147
+ Pathify(inj.Path, 1, 1) +
3148
+ " must be the first element of an array.");
3149
+ return NONE;
3111
3150
  }
3112
3151
 
3113
- // TS reads the spec value through getprop, so a null spec value is NONE.
3114
- pval ??= NONE;
3152
+ object? cval = _SlotVal(inj);
3115
3153
 
3116
- bool exact = GetProp(inj.Meta, S_BEXACT) is bool b && b;
3154
+ inj.KeyI = Size(inj.Keys);
3117
3155
 
3118
- bool cKeyExists = TryGetDataValue(inj.DParent, key, out object? cval);
3156
+ // Replace the directive's list with the data value. Each return is SKIP, so
3157
+ // that inject leaves the detached list alone and validates nothing in it.
3158
+ _SetSlot(inj, cval);
3119
3159
 
3120
- // TS's getprop answers NONE for a null value too, so a null keeps
3121
- // the spec default exactly as an absent key does, and so does a
3122
- // NONE that a $ONE alternative passes down.
3123
- if (!exact && (!cKeyExists || cval == null || ReferenceEquals(cval, NONE)))
3124
- {
3125
- return null;
3126
- }
3160
+ inj.Path = (List<object?>)Slice(inj.Path, -1)!;
3127
3161
 
3128
- int ptype = Typify(pval);
3162
+ object? count = counted ? Lookup(inj.Parent, 1) : NONE;
3163
+ var tvals = (List<object?>)Slice(inj.Parent, counted ? 2 : 1)!;
3164
+ int numtvals = Size(tvals);
3165
+ string field = "The " + name + " validator at field " + Pathify(inj.Path, 1);
3129
3166
 
3130
- // Skip if spec value still contains a $ command name.
3131
- if (0 < (T.Str & ptype) && pval is string ps && ps.Contains(S_DS))
3167
+ if (0 == numtvals)
3132
3168
  {
3133
- return null;
3169
+ inj.Errs.Add(field + (counted ? " must have a count and" : " must have") +
3170
+ " at least one argument.");
3171
+ return SKIP;
3134
3172
  }
3135
3173
 
3136
- int ctype = Typify(cval);
3137
-
3138
- // TS: ptype !== ctype && NONE !== pval — deleted spec keys read as undefined; C# GetProp gives null.
3139
- // Distinguish absent key (skip) vs JSON null present (Typify null) via TryGetDataValue on parent.
3140
- bool specKeyPresent = TryGetDataValue(parent, key, out _);
3174
+ var (lo, hi, countdesc) = counted
3175
+ ? _NofCount(count, numtvals)
3176
+ : (numtvals, numtvals, "all");
3141
3177
 
3142
- // Type mismatch.
3143
- if (ptype != ctype && !ReferenceEquals(pval, NONE) && specKeyPresent)
3178
+ if (null == countdesc)
3144
3179
  {
3145
- inj.Errs.Add(_InvalidTypeMsg(inj.Path, TypeName(ptype), ctype, cval));
3146
- return null;
3180
+ inj.Errs.Add(field + " has an invalid count: " + Stringify(count) + ".");
3181
+ return SKIP;
3147
3182
  }
3148
3183
 
3149
- if (IsMap(cval))
3184
+ int admitted = 0;
3185
+ for (int tI = 0; tI < numtvals; tI++)
3150
3186
  {
3151
- if (!IsMap(pval))
3187
+ int left = numtvals - tI;
3188
+
3189
+ // Stop once the specs left cannot change the verdict.
3190
+ if (hi < admitted || admitted + left < lo || (lo <= admitted && admitted + left <= hi))
3152
3191
  {
3153
- inj.Errs.Add(_InvalidTypeMsg(inj.Path, TypeName(ptype), ctype, cval));
3154
- return null;
3192
+ break;
3155
3193
  }
3156
3194
 
3157
- var ckeys = KeysOf(cval);
3158
- var pkeys = KeysOf(pval);
3195
+ if (_Admits(cval, tvals[tI], inj, store))
3196
+ {
3197
+ admitted++;
3198
+ }
3199
+ }
3159
3200
 
3160
- object? openFlag = GetProp(pval, "`$OPEN`");
3161
- bool isOpen = true == (openFlag as bool?);
3201
+ if (admitted < lo || hi < admitted)
3202
+ {
3203
+ string valdesc = R_TRANSFORM_NAME.Replace(
3204
+ Join(Items(tvals, n => (object?)Stringify(n[1])), ", "),
3205
+ m => m.Groups[1].Value.ToLowerInvariant());
3162
3206
 
3163
- // Empty spec map means open (accepts any keys).
3164
- if (0 < Size(pkeys) && !isOpen)
3207
+ inj.Errs.Add(_InvalidTypeMsg(inj.Path, countdesc + " of " + valdesc, Typify(cval), cval));
3208
+ }
3209
+
3210
+ return SKIP;
3211
+ }
3212
+
3213
+ // The value's length is within a bound: ['`$LEN`', bound, spec?], where the
3214
+ // bound is as for a $NOF count. A string's length is in code points.
3215
+ private static readonly Injector _ValidateLen = (inj, val, refStr, store) =>
3216
+ _ValidateBound(inj, store, "$LEN");
3217
+
3218
+ // The value is a number within a bound: ['`$RANGE`', bound, spec?], where the
3219
+ // bound holds min or gt, max or lt, or one of each.
3220
+ private static readonly Injector _ValidateRange = (inj, val, refStr, store) =>
3221
+ _ValidateBound(inj, store, "$RANGE");
3222
+
3223
+ private static readonly Injector _ValidateLike = (inj, val, refStr, store) =>
3224
+ _ValidateBound(inj, store, "$LIKE");
3225
+
3226
+ // The bounding list directives: a bound or pattern, then at most one spec that also admits.
3227
+ private static object? _ValidateBound(InjectState inj, object? store, string name)
3228
+ {
3229
+ if (M_VAL != inj.Mode)
3230
+ {
3231
+ return NONE;
3232
+ }
3233
+
3234
+ if (!IsList(inj.Parent) || 0 != inj.KeyI)
3235
+ {
3236
+ inj.Errs.Add("The " + name + " validator at field " +
3237
+ Pathify(inj.Path, 1, 1) +
3238
+ " must be the first element of an array.");
3239
+ return NONE;
3240
+ }
3241
+
3242
+ object? cval = _SlotVal(inj);
3243
+
3244
+ inj.KeyI = Size(inj.Keys);
3245
+
3246
+ // As for the counting directives: SKIP keeps inject off the detached list.
3247
+ _SetSlot(inj, cval);
3248
+
3249
+ inj.Path = (List<object?>)Slice(inj.Path, -1)!;
3250
+
3251
+ string field = "The " + name + " validator at field " + Pathify(inj.Path, 1);
3252
+ int nargs = Size(inj.Parent) - 1;
3253
+ bool islen = "$LEN" == name;
3254
+ bool islike = "$LIKE" == name;
3255
+ string argname = islike ? "pattern" : "bound";
3256
+
3257
+ if (nargs is < 1 or > 2)
3258
+ {
3259
+ inj.Errs.Add(field + " must have a " + argname + " and at most one spec.");
3260
+ return SKIP;
3261
+ }
3262
+
3263
+ object? bound = Lookup(inj.Parent, 1);
3264
+ Regex? like = islike ? _LikeRe(bound) : null;
3265
+ var (lo, hi, desc) = islen
3266
+ ? _LenBound(bound)
3267
+ : (0d, 0d, islike ? (null == like ? null : "like /" + bound + "/") : _RangeDesc(bound));
3268
+
3269
+ if (null == desc)
3270
+ {
3271
+ inj.Errs.Add(field + " has an invalid " + argname + ": " + Stringify(bound) + ".");
3272
+ return SKIP;
3273
+ }
3274
+
3275
+ int ctype = Typify(cval);
3276
+
3277
+ if (2 == nargs && !_Admits(cval, Lookup(inj.Parent, 2), inj, store))
3278
+ {
3279
+ string specdesc = R_TRANSFORM_NAME.Replace(
3280
+ Stringify(Lookup(inj.Parent, 2)),
3281
+ m => m.Groups[1].Value.ToLowerInvariant());
3282
+
3283
+ inj.Errs.Add(_InvalidTypeMsg(inj.Path, specdesc, ctype, cval));
3284
+ return SKIP;
3285
+ }
3286
+
3287
+ if (0 == ((islen ? T.Str | T.List | T.Map : islike ? T.Str : T.Number) & ctype))
3288
+ {
3289
+ string needtype = islen ? "string, list or map" : islike ? S_string : S_number;
3290
+ inj.Errs.Add(_InvalidTypeMsg(inj.Path, needtype, ctype, cval));
3291
+ return SKIP;
3292
+ }
3293
+
3294
+ int len = !islen ? 0 : cval is string s ? s.EnumerateRunes().Count() : Size(cval);
3295
+ bool inbound = islen
3296
+ ? lo <= len && (-1 == hi || len <= hi)
3297
+ : islike
3298
+ ? cval is string text && ReTest((string)bound!, text)
3299
+ : _InRange(bound, cval);
3300
+
3301
+ if (!inbound)
3302
+ {
3303
+ string needtype = (1 < Size(inj.Path) ? "" : "value ") + desc;
3304
+ inj.Errs.Add(_InvalidTypeMsg(inj.Path, needtype, ctype, cval));
3305
+ }
3306
+
3307
+ return SKIP;
3308
+ }
3309
+
3310
+ // The bounds of a $LEN bound, with -1 for no maximum, and the words for it,
3311
+ // which are null when the bound is invalid.
3312
+ private static (double lo, double hi, string? desc) _LenBound(object? bound)
3313
+ {
3314
+ var (lo, hi, countdesc) = _NofCount(bound, -1);
3315
+
3316
+ if (null == countdesc)
3317
+ {
3318
+ return (0, 0, null);
3319
+ }
3320
+
3321
+ string desc = "of length " +
3322
+ (lo == hi
3323
+ ? Stringify(lo)
3324
+ : -1 == hi
3325
+ ? "at least " + Stringify(lo)
3326
+ : 0 == lo
3327
+ ? "at most " + Stringify(hi)
3328
+ : Stringify(lo) + " to " + Stringify(hi));
3329
+
3330
+ return (lo, hi, desc);
3331
+ }
3332
+
3333
+ // A $LIKE pattern compiled by the port's own regex engine; null unless it compiles.
3334
+ private static Regex? _LikeRe(object? pattern)
3335
+ {
3336
+ if (pattern is not string source)
3337
+ {
3338
+ return null;
3339
+ }
3340
+
3341
+ try
3342
+ {
3343
+ return ReCompile(source);
3344
+ }
3345
+ catch (ArgumentException)
3346
+ {
3347
+ return null;
3348
+ }
3349
+ }
3350
+
3351
+ // The words for a $RANGE bound, which are null when the bound is invalid.
3352
+ private static string? _RangeDesc(object? bound)
3353
+ {
3354
+ if (!IsMap(bound))
3355
+ {
3356
+ return null;
3357
+ }
3358
+
3359
+ object? min = Lookup(bound, "min");
3360
+ object? max = Lookup(bound, "max");
3361
+ object? gt = Lookup(bound, "gt");
3362
+ object? lt = Lookup(bound, "lt");
3363
+ object? lower = Has(min) ? min : gt;
3364
+ object? upper = Has(max) ? max : lt;
3365
+
3366
+ static bool Has(object? n)
3367
+ {
3368
+ return !ReferenceEquals(n, NONE);
3369
+ }
3370
+
3371
+ static bool IsNum(object? n)
3372
+ {
3373
+ return !Has(n) || (n is int or long or double or float && 0 < (T.Number & Typify(n)));
3374
+ }
3375
+
3376
+ bool valid =
3377
+ 0 < Size(bound) &&
3378
+ Size(bound) == new[] { min, max, gt, lt }.Count(Has) &&
3379
+ (!Has(min) || !Has(gt)) &&
3380
+ (!Has(max) || !Has(lt)) &&
3381
+ IsNum(min) &&
3382
+ IsNum(max) &&
3383
+ IsNum(gt) &&
3384
+ IsNum(lt) &&
3385
+ (!Has(lower) || !Has(upper) || _BoundNum(lower) <= _BoundNum(upper));
3386
+
3387
+ if (!valid)
3388
+ {
3389
+ return null;
3390
+ }
3391
+
3392
+ return Join(
3393
+ [
3394
+ Has(min) ? "at least " + Stringify(min) : Has(gt) ? "greater than " + Stringify(gt) : NONE,
3395
+ Has(max) ? "at most " + Stringify(max) : Has(lt) ? "less than " + Stringify(lt) : NONE,
3396
+ ],
3397
+ " and ");
3398
+ }
3399
+
3400
+ // A number within a valid $RANGE bound.
3401
+ private static bool _InRange(object? bound, object? val)
3402
+ {
3403
+ object? min = Lookup(bound, "min");
3404
+ object? max = Lookup(bound, "max");
3405
+ object? gt = Lookup(bound, "gt");
3406
+ object? lt = Lookup(bound, "lt");
3407
+ double v = _BoundNum(val);
3408
+
3409
+ return (ReferenceEquals(min, NONE) || _BoundNum(min) <= v) &&
3410
+ (ReferenceEquals(max, NONE) || v <= _BoundNum(max)) &&
3411
+ (ReferenceEquals(gt, NONE) || _BoundNum(gt) < v) &&
3412
+ (ReferenceEquals(lt, NONE) || v < _BoundNum(lt));
3413
+ }
3414
+
3415
+ // Typify flags a type it does not know as any, number included: NaN puts it out of range.
3416
+ private static double _BoundNum(object? n)
3417
+ {
3418
+ return n is int or long or double or float
3419
+ ? Convert.ToDouble(n, CultureInfo.InvariantCulture)
3420
+ : double.NaN;
3421
+ }
3422
+
3423
+ // True if key exists on node (JSON null counts as present); sets value when present.
3424
+ private static bool TryGetDataValue(object? node, object? key, out object? value)
3425
+ {
3426
+ value = null;
3427
+ if (node == null || key == null)
3428
+ {
3429
+ return false;
3430
+ }
3431
+
3432
+ if (node is Dictionary<string, object?> map)
3433
+ {
3434
+ string k = StrKey(key) ?? S_MT;
3435
+ return map.TryGetValue(k, out value);
3436
+ }
3437
+ if (node is List<object?> list)
3438
+ {
3439
+ long i = ListIndex(key);
3440
+ if (i >= 0 && i < list.Count)
3441
+ {
3442
+ value = list[(int)i];
3443
+ return true;
3444
+ }
3445
+ return false;
3446
+ }
3447
+ return false;
3448
+ }
3449
+
3450
+ // Modify callback: runs after each inject step to perform type/structure validation.
3451
+ private static object? _Validation(
3452
+ object? pval, object? key, object? parent, object? injObj, object? store)
3453
+ {
3454
+ if (injObj is not InjectState inj)
3455
+ {
3456
+ return null;
3457
+ }
3458
+
3459
+ bool isSkipVal = pval is Dictionary<string, object?> sd && sd.ContainsKey("`$SKIP`");
3460
+ if (isSkipVal)
3461
+ {
3462
+ return null;
3463
+ }
3464
+
3465
+ // TS reads the spec value through getprop, so a null spec value is NONE.
3466
+ pval ??= NONE;
3467
+
3468
+ bool exact = GetProp(inj.Meta, S_BEXACT) is bool b && b;
3469
+
3470
+ bool cKeyExists = TryGetDataValue(inj.DParent, key, out object? cval);
3471
+
3472
+ // TS's getprop answers NONE for a null value too, so a null keeps
3473
+ // the spec default exactly as an absent key does, and so does a
3474
+ // NONE that a $NOF or $ALL trial passes down.
3475
+ if (!exact && (!cKeyExists || cval == null || ReferenceEquals(cval, NONE)))
3476
+ {
3477
+ return null;
3478
+ }
3479
+
3480
+ int ptype = Typify(pval);
3481
+
3482
+ // Skip if spec value still contains a $ command name.
3483
+ if (0 < (T.Str & ptype) && pval is string ps && ps.Contains(S_DS))
3484
+ {
3485
+ return null;
3486
+ }
3487
+
3488
+ int ctype = Typify(cval);
3489
+
3490
+ // TS: ptype !== ctype && NONE !== pval — deleted spec keys read as undefined; C# GetProp gives null.
3491
+ // Distinguish absent key (skip) vs JSON null present (Typify null) via TryGetDataValue on parent.
3492
+ bool specKeyPresent = TryGetDataValue(parent, key, out _);
3493
+
3494
+ // Type mismatch.
3495
+ if (ptype != ctype && !ReferenceEquals(pval, NONE) && specKeyPresent)
3496
+ {
3497
+ inj.Errs.Add(_InvalidTypeMsg(inj.Path, TypeName(ptype), ctype, cval));
3498
+ return null;
3499
+ }
3500
+
3501
+ if (IsMap(cval))
3502
+ {
3503
+ if (!IsMap(pval))
3504
+ {
3505
+ inj.Errs.Add(_InvalidTypeMsg(inj.Path, TypeName(ptype), ctype, cval));
3506
+ return null;
3507
+ }
3508
+
3509
+ var ckeys = KeysOf(cval);
3510
+ var pkeys = KeysOf(pval);
3511
+
3512
+ object? openFlag = GetProp(pval, "`$OPEN`");
3513
+ bool isOpen = true == (openFlag as bool?);
3514
+
3515
+ // Only a spec written as {} is open, even if named keys resolved away.
3516
+ if ((0 < Size(pkeys) || inj.Named) && !isOpen)
3165
3517
  {
3166
3518
  var badkeys = new List<string>();
3167
3519
  foreach (string ck in ckeys)
@@ -3179,7 +3531,7 @@ namespace Voxgig.Struct
3179
3531
  if (0 < badkeys.Count)
3180
3532
  {
3181
3533
  string msg = "Unexpected keys at field " + Pathify(inj.Path, 1) +
3182
- S_VIZ + Join(badkeys.Cast<object?>().ToList());
3534
+ S_VIZ + Join(badkeys.Cast<object?>().ToList(), ", ");
3183
3535
  inj.Errs.Add(msg);
3184
3536
  return null;
3185
3537
  }
@@ -3199,6 +3551,27 @@ namespace Voxgig.Struct
3199
3551
  {
3200
3552
  inj.Errs.Add(_InvalidTypeMsg(inj.Path, TypeName(ptype), ctype, cval));
3201
3553
  }
3554
+ else if (0 < Size(pval))
3555
+ {
3556
+ // Closed list, so reject items past the end of the shape.
3557
+ var badkeys = new List<object?>();
3558
+ for (int i = Size(pval); i < Size(cval); i++)
3559
+ {
3560
+ badkeys.Add(StrKey(i));
3561
+ }
3562
+
3563
+ if (0 < badkeys.Count)
3564
+ {
3565
+ string msg = "Unexpected keys at field " + Pathify(inj.Path, 1) +
3566
+ S_VIZ + Join(badkeys, ", ");
3567
+ inj.Errs.Add(msg);
3568
+ }
3569
+ }
3570
+ else
3571
+ {
3572
+ // Empty spec list [] means list can be open (any items).
3573
+ Merge(new List<object?> { pval, cval });
3574
+ }
3202
3575
  }
3203
3576
  else if (exact)
3204
3577
  {
@@ -3295,8 +3668,13 @@ namespace Voxgig.Struct
3295
3668
  ["$INSTANCE"] = _ValidateType,
3296
3669
  ["$ANY"] = _ValidateAny,
3297
3670
  ["$CHILD"] = _ValidateChild,
3298
- ["$ONE"] = _ValidateOne,
3299
3671
  ["$EXACT"] = _ValidateExact,
3672
+ ["$NOF"] = _ValidateNof,
3673
+ ["$ALL"] = _ValidateAll,
3674
+ ["$LEN"] = _ValidateLen,
3675
+ ["$RANGE"] = _ValidateRange,
3676
+ ["$LIKE"] = _ValidateLike,
3677
+ ["$REST"] = _ValidateRest,
3300
3678
 
3301
3679
  [S_DERRS] = errs,
3302
3680
  },
@@ -3309,15 +3687,21 @@ namespace Voxgig.Struct
3309
3687
  var meta = injdef?.Meta ?? [];
3310
3688
  SetProp(meta, S_BEXACT, GetProp(meta, S_BEXACT) ?? false);
3311
3689
 
3690
+ // A spec that names an unknown checker validates nothing.
3691
+ int numerrs = errs.Count;
3692
+ _CheckNames(spec, store, [], errs);
3693
+
3312
3694
  // Pass errs explicitly so Transform collects (doesn't throw) internally.
3313
- object? out_ = Transform(data, spec, new InjectState
3314
- {
3315
- Extra = store,
3316
- ModifyFn = _Validation,
3317
- Handler = _ValidateHandler,
3318
- Meta = meta,
3319
- Errs = errs,
3320
- });
3695
+ object? out_ = numerrs < errs.Count
3696
+ ? Clone(data)
3697
+ : Transform(data, spec, new InjectState
3698
+ {
3699
+ Extra = store,
3700
+ ModifyFn = _Validation,
3701
+ Handler = _ValidateHandler,
3702
+ Meta = meta,
3703
+ Errs = errs,
3704
+ });
3321
3705
 
3322
3706
  return errs.Count > 0 && !collect
3323
3707
  ? throw new InvalidOperationException(
@@ -3325,49 +3709,312 @@ namespace Voxgig.Struct
3325
3709
  : out_;
3326
3710
  }
3327
3711
 
3712
+ // Names a validate spec may use besides its checkers: transform's that it keeps, and $OPEN.
3713
+ private static readonly string[] VALIDATE_NAMES =
3714
+ [
3715
+ "$TOP",
3716
+ "$SPEC",
3717
+ "$BT",
3718
+ "$DS",
3719
+ "$WHEN",
3720
+ "$ANNO",
3721
+ "$REF",
3722
+ "$FORMAT",
3723
+ "$APPLY",
3724
+ "$OPEN",
3725
+ ];
3328
3726
 
3329
- // ========================================================================
3330
- // SELECT
3331
- // ========================================================================
3332
-
3333
- private static double _SelectToDouble(object? v)
3727
+ // Report each checker the spec names that validate lacks, and each misplaced
3728
+ // $REST; $EXACT's arguments are literals. Last: spec is a list's last item.
3729
+ private static void _CheckNames(
3730
+ object? spec, object? store, List<object?> path, List<object?> errs, bool last = false)
3334
3731
  {
3335
- return v switch
3732
+ string? name = _RefName(spec);
3733
+ if (null != name)
3336
3734
  {
3337
- int i => i,
3338
- long l => l,
3339
- double d => d,
3340
- float f => f,
3341
- _ => double.TryParse(v?.ToString(), NumberStyles.Any,
3342
- CultureInfo.InvariantCulture, out double x)
3343
- ? x : double.NaN,
3344
- };
3345
- }
3735
+ if (_UnknownName(name, store))
3736
+ {
3737
+ errs.Add("Unknown validator " + name + " at field " + Pathify(path) + ".");
3738
+ }
3739
+ else if ("$REST" == name)
3740
+ {
3741
+ errs.Add(_RestMsg(path, " must be the last element of an array."));
3742
+ }
3743
+ return;
3744
+ }
3346
3745
 
3347
- // $AND: all terms must match.
3348
- private static readonly Injector _SelectAnd = (inj, val, refStr, store) =>
3349
- {
3350
- if (M_KEYPRE != inj.Mode)
3746
+ string? head = IsList(spec) ? _RefName(Lookup(spec, 0)) : null;
3747
+ if ("$EXACT" == head)
3351
3748
  {
3352
- return null;
3749
+ return;
3353
3750
  }
3354
3751
 
3355
- var terms = GetProp(inj.Parent, inj.Key) as List<object?> ?? [];
3356
- var ppath = (List<object?>)Slice(inj.Path, -1)!;
3357
- object? point = GetPath(store, ppath);
3752
+ if ("$REST" == head)
3753
+ {
3754
+ if (!last)
3755
+ {
3756
+ errs.Add(_RestMsg(path, " must be the last element of an array."));
3757
+ }
3758
+ else if (2 != Size(spec))
3759
+ {
3760
+ errs.Add(_RestMsg(path, " must have exactly one spec."));
3761
+ }
3762
+ _CheckNames(Lookup(spec, 1), store, [.. path, 1], errs);
3763
+ return;
3764
+ }
3358
3765
 
3359
- var vstore = (Dictionary<string, object?>)Merge(
3360
- new List<object?> { new Dictionary<string, object?>(), store }, 1)!;
3361
- vstore[S_DTOP] = point;
3766
+ const string restkey = "`$REST`";
3767
+ if (IsMap(spec) && !ReferenceEquals(NONE, Lookup(spec, restkey)) &&
3768
+ !ReferenceEquals(NONE, Lookup(spec, "`$CHILD`")))
3769
+ {
3770
+ errs.Add(_RestMsg(path, " cannot be used with $CHILD."));
3771
+ }
3362
3772
 
3363
- foreach (object? term in terms)
3773
+ string? lastkey = IsList(spec) ? StrKey(Size(spec) - 1) : null;
3774
+ foreach (string key in KeysOf(spec))
3364
3775
  {
3365
- var terrs = new List<object?>();
3366
- Validate(point, term, new InjectState { Extra = vstore, Errs = terrs, Meta = inj.Meta });
3367
- if (0 != Size(terrs))
3776
+ if (IsMap(spec) && restkey != key)
3368
3777
  {
3369
- inj.Errs.Add("AND:" + Pathify(ppath) + S_VIZ + Stringify(point) +
3370
- " fail:" + Stringify(terms));
3778
+ _CheckNames(key, store, path, errs);
3779
+ }
3780
+ _CheckNames(Lookup(spec, key), store, [.. path, key], errs, lastkey == key);
3781
+ }
3782
+ }
3783
+
3784
+ // The name a whole-string reference gives, when it is a checker name in any case.
3785
+ private static string? _RefName(object? val)
3786
+ {
3787
+ Match? m = val is string s ? R_INJECTION_FULL.Match(s) : null;
3788
+ return null != m && m.Success && R_CHECKER_NAME.IsMatch(m.Groups[1].Value.ToUpperInvariant())
3789
+ ? m.Groups[1].Value
3790
+ : null;
3791
+ }
3792
+
3793
+ // Unknown: undefined and upper case, or a defined name in another case. Null disables a name.
3794
+ private static bool _UnknownName(string name, object? store)
3795
+ {
3796
+ bool Known(string n)
3797
+ {
3798
+ object? v = Lookup(store, n);
3799
+ return 0 <= Array.IndexOf(VALIDATE_NAMES, n) || (null != v && !ReferenceEquals(v, NONE));
3800
+ }
3801
+
3802
+ string upper = name.ToUpperInvariant();
3803
+ return !Known(name) && (upper == name || Known(upper));
3804
+ }
3805
+
3806
+ // The data value at a list directive's slot. The directive's own DParent was
3807
+ // read with GetProp, which reports a stored null as absent.
3808
+ private static object? _SlotVal(InjectState inj)
3809
+ {
3810
+ InjectState? prior = inj.Prior;
3811
+ return null == prior ? inj.DParent : Lookup(prior.DParent, prior.Key);
3812
+ }
3813
+
3814
+ // Set the slot that holds a list directive, as setval(val, 2) does. SetVal
3815
+ // deletes on null, and a null at the slot is a value.
3816
+ private static void _SetSlot(InjectState inj, object? val)
3817
+ {
3818
+ if (null == val)
3819
+ {
3820
+ SetProp(GetElem(inj.Nodes, -2), GetElem(inj.Path, -2), null);
3821
+ }
3822
+ else
3823
+ {
3824
+ inj.SetVal(val, 2);
3825
+ }
3826
+ }
3827
+
3828
+ // JSON equality: numbers by value, lists in order, maps by key in any order.
3829
+ // A boolean is never a number, and a function or instance equals only itself.
3830
+ private static bool _DeepEqual(object? a, object? b)
3831
+ {
3832
+ if (ReferenceEquals(a, b))
3833
+ {
3834
+ return true;
3835
+ }
3836
+
3837
+ if (a is int or long or double or float && b is int or long or double or float)
3838
+ {
3839
+ return Convert.ToDouble(a, CultureInfo.InvariantCulture) ==
3840
+ Convert.ToDouble(b, CultureInfo.InvariantCulture);
3841
+ }
3842
+
3843
+ if (a is string or bool)
3844
+ {
3845
+ return a.Equals(b);
3846
+ }
3847
+
3848
+ if (!(IsList(a) && IsList(b)) && !(IsMap(a) && IsMap(b)))
3849
+ {
3850
+ return false;
3851
+ }
3852
+
3853
+ var akeys = KeysOf(a);
3854
+ var bkeys = KeysOf(b);
3855
+ if (akeys.Count != bkeys.Count)
3856
+ {
3857
+ return false;
3858
+ }
3859
+
3860
+ for (int kI = 0; kI < akeys.Count; kI++)
3861
+ {
3862
+ string k = akeys[kI];
3863
+ if (k != bkeys[kI] || !_DeepEqual(Lookup(a, k), Lookup(b, k)))
3864
+ {
3865
+ return false;
3866
+ }
3867
+ }
3868
+
3869
+ return true;
3870
+ }
3871
+
3872
+ // Every member val has is in out, unchanged. A member only out has is a
3873
+ // default the spec supplied, and is ignored.
3874
+ private static bool _Keeps(object? val, object? out_)
3875
+ {
3876
+ if (ReferenceEquals(val, NONE))
3877
+ {
3878
+ return true;
3879
+ }
3880
+
3881
+ if (!IsNode(val) || IsList(val) != IsList(out_) || !IsNode(out_))
3882
+ {
3883
+ return _DeepEqual(val, out_);
3884
+ }
3885
+
3886
+ foreach (string k in KeysOf(val))
3887
+ {
3888
+ if (!_Keeps(Lookup(val, k), Lookup(out_, k)))
3889
+ {
3890
+ return false;
3891
+ }
3892
+ }
3893
+
3894
+ return true;
3895
+ }
3896
+
3897
+ // A spec admits a value when validating the value against it finds no error
3898
+ // and gives back the value as it is.
3899
+ private static bool _Admits(object? val, object? spec, InjectState inj, object? store)
3900
+ {
3901
+ var terrs = new List<object?>();
3902
+
3903
+ var vstore = (Dictionary<string, object?>)Merge(
3904
+ new List<object?> { new Dictionary<string, object?>(), store }, 1)!;
3905
+ vstore[S_DTOP] = val;
3906
+
3907
+ object? out_ = Validate(val, spec, new InjectState
3908
+ {
3909
+ Extra = vstore,
3910
+ Errs = terrs,
3911
+ Meta = inj.Meta,
3912
+ });
3913
+
3914
+ return 0 == Size(terrs) && _Keeps(val, out_);
3915
+ }
3916
+
3917
+ // The bounds of a $NOF count, and the words for it, which are null when
3918
+ // the count is invalid. Without a max, the bound is the number of specs.
3919
+ private static (double lo, double hi, string? desc) _NofCount(object? count, int numtvals)
3920
+ {
3921
+ static bool IsNat(object? n)
3922
+ {
3923
+ return n is int or long or double or float && 0 < (T.Integer & Typify(n)) &&
3924
+ 0 <= Convert.ToDouble(n, CultureInfo.InvariantCulture);
3925
+ }
3926
+
3927
+ static string Num(double n)
3928
+ {
3929
+ return Stringify(n);
3930
+ }
3931
+
3932
+ if (IsNat(count))
3933
+ {
3934
+ double c = Convert.ToDouble(count, CultureInfo.InvariantCulture);
3935
+ return (c, c, 0 == c ? "none" : "exactly " + Num(c));
3936
+ }
3937
+
3938
+ object? min = Lookup(count, "min");
3939
+ object? max = Lookup(count, "max");
3940
+ bool hasmin = !ReferenceEquals(min, NONE);
3941
+ bool hasmax = !ReferenceEquals(max, NONE);
3942
+
3943
+ bool valid =
3944
+ IsMap(count) &&
3945
+ 0 < Size(count) &&
3946
+ Size(count) == (hasmin ? 1 : 0) + (hasmax ? 1 : 0) &&
3947
+ (!hasmin || IsNat(min)) &&
3948
+ (!hasmax || IsNat(max)) &&
3949
+ (!hasmin || !hasmax ||
3950
+ Convert.ToDouble(min, CultureInfo.InvariantCulture) <=
3951
+ Convert.ToDouble(max, CultureInfo.InvariantCulture));
3952
+
3953
+ if (!valid)
3954
+ {
3955
+ return (0, 0, null);
3956
+ }
3957
+
3958
+ double lo = hasmin ? Convert.ToDouble(min, CultureInfo.InvariantCulture) : 0;
3959
+ double hi = hasmax ? Convert.ToDouble(max, CultureInfo.InvariantCulture) : numtvals;
3960
+
3961
+ string desc =
3962
+ !hasmax
3963
+ ? "at least " + Num(lo)
3964
+ : 0 == hi
3965
+ ? "none"
3966
+ : !hasmin
3967
+ ? "at most " + Num(hi)
3968
+ : lo == hi
3969
+ ? "exactly " + Num(lo)
3970
+ : Num(lo) + " to " + Num(hi);
3971
+
3972
+ return (lo, hi, desc);
3973
+ }
3974
+
3975
+
3976
+ // ========================================================================
3977
+ // SELECT
3978
+ // ========================================================================
3979
+
3980
+ private static double _SelectToDouble(object? v)
3981
+ {
3982
+ return v switch
3983
+ {
3984
+ int i => i,
3985
+ long l => l,
3986
+ double d => d,
3987
+ float f => f,
3988
+ _ => double.TryParse(v?.ToString(), NumberStyles.Any,
3989
+ CultureInfo.InvariantCulture, out double x)
3990
+ ? x : double.NaN,
3991
+ };
3992
+ }
3993
+
3994
+ // $AND: all terms must match.
3995
+ private static readonly Injector _SelectAnd = (inj, val, refStr, store) =>
3996
+ {
3997
+ if (M_KEYPRE != inj.Mode)
3998
+ {
3999
+ return null;
4000
+ }
4001
+
4002
+ var terms = GetProp(inj.Parent, inj.Key) as List<object?> ?? [];
4003
+ var ppath = (List<object?>)Slice(inj.Path, -1)!;
4004
+ object? point = GetPath(store, ppath);
4005
+
4006
+ var vstore = (Dictionary<string, object?>)Merge(
4007
+ new List<object?> { new Dictionary<string, object?>(), store }, 1)!;
4008
+ vstore[S_DTOP] = point;
4009
+
4010
+ foreach (object? term in terms)
4011
+ {
4012
+ var terrs = new List<object?>();
4013
+ Validate(point, term, new InjectState { Extra = vstore, Errs = terrs, Meta = inj.Meta });
4014
+ if (0 != Size(terrs))
4015
+ {
4016
+ inj.Errs.Add("AND:" + Pathify(ppath) + S_VIZ + Stringify(point) +
4017
+ " fail:" + Stringify(terms));
3371
4018
  }
3372
4019
  }
3373
4020
 
@@ -3445,6 +4092,12 @@ namespace Voxgig.Struct
3445
4092
  // $GT, $LT, $GTE, $LTE, $LIKE: comparison operators.
3446
4093
  private static readonly Injector _SelectCmp = (inj, val, refStr, store) =>
3447
4094
  {
4095
+ // The list form of $LIKE is validate's checker; the key form is this operator.
4096
+ if (M_VAL == inj.Mode && "$LIKE" == refStr)
4097
+ {
4098
+ return _ValidateLike(inj, val, refStr, store);
4099
+ }
4100
+
3448
4101
  if (M_KEYPRE != inj.Mode)
3449
4102
  {
3450
4103
  return NONE;
@@ -3537,20 +4190,12 @@ namespace Voxgig.Struct
3537
4190
  });
3538
4191
  var results = new List<object?>();
3539
4192
 
4193
+ // Bare names only: Transform reads a key without a leading $ as data.
3540
4194
  var selectExtra = new Dictionary<string, object?>
3541
4195
  {
3542
- ["`$AND`"] = _SelectAnd,
3543
- ["`$OR`"] = _SelectOr,
3544
- ["`$NOT`"] = _SelectNot,
3545
4196
  ["$AND"] = _SelectAnd,
3546
4197
  ["$OR"] = _SelectOr,
3547
4198
  ["$NOT"] = _SelectNot,
3548
- // JSON/test fixtures use backtick-wrapped keys (`$GT`, etc.); GetPath resolves bare $NAME.
3549
- ["`$GT`"] = _SelectCmp,
3550
- ["`$LT`"] = _SelectCmp,
3551
- ["`$GTE`"] = _SelectCmp,
3552
- ["`$LTE`"] = _SelectCmp,
3553
- ["`$LIKE`"] = _SelectCmp,
3554
4199
  ["$GT"] = _SelectCmp,
3555
4200
  ["$LT"] = _SelectCmp,
3556
4201
  ["$GTE"] = _SelectCmp,
@@ -3561,18 +4206,7 @@ namespace Voxgig.Struct
3561
4206
  var meta = new Dictionary<string, object?> { [S_BEXACT] = true };
3562
4207
  var q = Clone(query);
3563
4208
 
3564
- Walk(q, (k, v, p, path) =>
3565
- {
3566
- if (IsMap(v))
3567
- {
3568
- object? existing = GetProp(v, "`$OPEN`");
3569
- if (existing == null)
3570
- {
3571
- SetProp(v, "`$OPEN`", true);
3572
- }
3573
- }
3574
- return v;
3575
- });
4209
+ _OpenQuery(q);
3576
4210
 
3577
4211
  foreach (object? child in childList)
3578
4212
  {
@@ -3593,8 +4227,557 @@ namespace Voxgig.Struct
3593
4227
  return results;
3594
4228
  }
3595
4229
 
3596
- [GeneratedRegex(@"^[-0-9]+$")]
3597
- private static partial Regex R_IntegerKeyGen();
4230
+ // Open every map in a select query, so a child may hold keys the query does
4231
+ // not name, but leave a directive's literals as written: what $EXACT
4232
+ // compares, and the count or bound of $NOF, $LEN and $RANGE.
4233
+ private static void _OpenQuery(object? q)
4234
+ {
4235
+ if (q is Dictionary<string, object?> map)
4236
+ {
4237
+ SetProp(map, "`$OPEN`", GetProp(map, "`$OPEN`", true));
4238
+ foreach (string key in KeysOf(map))
4239
+ {
4240
+ _OpenQuery(map[key]);
4241
+ }
4242
+ }
4243
+ else if (q is List<object?> list)
4244
+ {
4245
+ object? head = 0 < list.Count ? list[0] : null;
4246
+ bool exact = head is "`$EXACT`";
4247
+ bool bounded = head is "`$NOF`" or "`$LEN`" or "`$RANGE`";
4248
+ for (int i = 0; i < list.Count; i++)
4249
+ {
4250
+ if (0 == i || !(exact || (bounded && 1 == i)))
4251
+ {
4252
+ _OpenQuery(list[i]);
4253
+ }
4254
+ }
4255
+ }
4256
+ }
4257
+
4258
+
4259
+ // ========================================================================
4260
+ // Condense
4261
+ // ========================================================================
4262
+
4263
+ private const long CONDENSE_VERSION = 1;
4264
+
4265
+ private const long CONDENSE_MAP = 0;
4266
+ private const long CONDENSE_LIST = 1;
4267
+ private const long CONDENSE_STR = 2;
4268
+ private const long CONDENSE_NUM = 3;
4269
+ private const long CONDENSE_TRUE = 4;
4270
+ private const long CONDENSE_FALSE = 5;
4271
+ private const long CONDENSE_NULL = 6;
4272
+
4273
+ private const string S_condense = "$condense";
4274
+ private const string S_condsym = "sym";
4275
+ private const string S_condnode = "node";
4276
+ private const string S_condroot = "root";
4277
+
4278
+ private const string S_IMMUTABLE =
4279
+ "struct: condensed structures are immutable - expand() first, then modify the copy";
4280
+
4281
+ private const double TWO_POW_63 = 9223372036854775808.0;
4282
+
4283
+ public static bool IsCondensed(object? val = null)
4284
+ {
4285
+ return val is Dictionary<string, object?> map
4286
+ && map.TryGetValue(S_condense, out object? version)
4287
+ && CondenseInt(version, out long v)
4288
+ && CONDENSE_VERSION == v
4289
+ && map.TryGetValue(S_condsym, out object? sym) && sym is List<object?>
4290
+ && map.TryGetValue(S_condnode, out object? node) && node is List<object?>
4291
+ && map.TryGetValue(S_condroot, out object? root) && root is int or long or double or float;
4292
+ }
4293
+
4294
+ // Pure: the same input gives the same bytes, on every port.
4295
+ public static object? Condense(object? val)
4296
+ {
4297
+ var symset = new HashSet<string>(StringComparer.Ordinal);
4298
+ CondenseCollect(val, symset);
4299
+ List<string> sym = [.. symset];
4300
+ sym.Sort(CondenseCmp);
4301
+ var symid = new Dictionary<string, long>(StringComparer.Ordinal);
4302
+ for (int i = 0; i < sym.Count; i++)
4303
+ {
4304
+ symid[sym[i]] = i;
4305
+ }
4306
+
4307
+ List<object?> node = [];
4308
+ var seen = new Dictionary<string, long>(StringComparer.Ordinal);
4309
+ long root = CondenseBuild(val, symid, node, seen);
4310
+
4311
+ return new Dictionary<string, object?>
4312
+ {
4313
+ [S_condense] = CONDENSE_VERSION,
4314
+ [S_condsym] = sym.Cast<object?>().ToList(),
4315
+ [S_condnode] = node,
4316
+ [S_condroot] = root,
4317
+ };
4318
+ }
4319
+
4320
+ // A value that is not condensed comes back as itself.
4321
+ public static object? Expand(object? cond)
4322
+ {
4323
+ if (!IsCondensed(cond))
4324
+ {
4325
+ return cond;
4326
+ }
4327
+
4328
+ object? out2 = CondenseRebuild(cond, CondenseRoot(cond));
4329
+ return ReferenceEquals(out2, NONE) ? null : out2;
4330
+ }
4331
+
4332
+ public static CondenseView CondenseView(object? cond, long? idx = null,
4333
+ Dictionary<string, object?>? memo = null)
4334
+ {
4335
+ long start = idx ?? (IsCondensed(cond) ? CondenseRoot(cond) : -1);
4336
+ return new CondenseView(cond, start, memo ?? []);
4337
+ }
4338
+
4339
+ private static void CondenseCollect(object? n, HashSet<string> symset)
4340
+ {
4341
+ if (n is Dictionary<string, object?> map)
4342
+ {
4343
+ foreach (KeyValuePair<string, object?> entry in map)
4344
+ {
4345
+ symset.Add(entry.Key);
4346
+ CondenseCollect(entry.Value, symset);
4347
+ }
4348
+ }
4349
+ else if (n is List<object?> list)
4350
+ {
4351
+ foreach (object? item in list)
4352
+ {
4353
+ CondenseCollect(item, symset);
4354
+ }
4355
+ }
4356
+ else if (n is string s)
4357
+ {
4358
+ symset.Add(s);
4359
+ }
4360
+ }
4361
+
4362
+ // Post-order, so identical subtrees are already interned when a parent names them.
4363
+ private static long CondenseBuild(object? n, Dictionary<string, long> symid,
4364
+ List<object?> node, Dictionary<string, long> seen)
4365
+ {
4366
+ List<object?> enc;
4367
+ if (n is Dictionary<string, object?> map)
4368
+ {
4369
+ enc = [CONDENSE_MAP];
4370
+ foreach (KeyValuePair<string, object?> entry in map.OrderBy(e => symid[e.Key]))
4371
+ {
4372
+ enc.Add(symid[entry.Key]);
4373
+ enc.Add(CondenseBuild(entry.Value, symid, node, seen));
4374
+ }
4375
+ }
4376
+ else if (n is List<object?> list)
4377
+ {
4378
+ enc = [CONDENSE_LIST];
4379
+ foreach (object? item in list)
4380
+ {
4381
+ enc.Add(CondenseBuild(item, symid, node, seen));
4382
+ }
4383
+ }
4384
+ else if (n is string s)
4385
+ {
4386
+ enc = [CONDENSE_STR, symid[s]];
4387
+ }
4388
+ else if (n is int or long or double or float)
4389
+ {
4390
+ enc = [CONDENSE_NUM, n];
4391
+ }
4392
+ else if (n is bool b)
4393
+ {
4394
+ enc = [b ? CONDENSE_TRUE : CONDENSE_FALSE];
4395
+ }
4396
+ else
4397
+ {
4398
+ enc = [CONDENSE_NULL];
4399
+ }
4400
+
4401
+ string key = string.Join(S_CM, enc.Select(CondenseNumKey));
4402
+ if (seen.TryGetValue(key, out long hit))
4403
+ {
4404
+ return hit;
4405
+ }
4406
+
4407
+ long idx = node.Count;
4408
+ node.Add(enc);
4409
+ seen[key] = idx;
4410
+ return idx;
4411
+ }
4412
+
4413
+ // Equal numbers spell the same, so an integer and a decimal of one value share a node.
4414
+ private static string CondenseNumKey(object? v)
4415
+ {
4416
+ return CondenseInt(v, out long n)
4417
+ ? n.ToString(CultureInfo.InvariantCulture)
4418
+ : Convert.ToDouble(v, CultureInfo.InvariantCulture).ToString("R", CultureInfo.InvariantCulture);
4419
+ }
4420
+
4421
+ // The integer a number holds: false for anything else, a fraction included.
4422
+ private static bool CondenseInt(object? v, out long n)
4423
+ {
4424
+ if (v is int i)
4425
+ {
4426
+ n = i;
4427
+ return true;
4428
+ }
4429
+
4430
+ if (v is long l)
4431
+ {
4432
+ n = l;
4433
+ return true;
4434
+ }
4435
+
4436
+ double d = v is double dv ? dv : v is float fv ? fv : double.NaN;
4437
+ if (Math.Floor(d) == d && -TWO_POW_63 <= d && d < TWO_POW_63)
4438
+ {
4439
+ n = (long)d;
4440
+ return true;
4441
+ }
4442
+
4443
+ n = -1;
4444
+ return false;
4445
+ }
4446
+
4447
+ // An index read from the format, or -1 when the value cannot be one.
4448
+ private static long CondenseIdx(object? v)
4449
+ {
4450
+ return CondenseInt(v, out long n) ? n : -1;
4451
+ }
4452
+
4453
+ private static List<object?>? CondenseField(object? cond, string name)
4454
+ {
4455
+ return cond is Dictionary<string, object?> map && map.TryGetValue(name, out object? v)
4456
+ ? v as List<object?>
4457
+ : null;
4458
+ }
4459
+
4460
+ internal static long CondenseRoot(object? cond)
4461
+ {
4462
+ return cond is Dictionary<string, object?> map && map.TryGetValue(S_condroot, out object? root)
4463
+ ? CondenseIdx(root)
4464
+ : -1;
4465
+ }
4466
+
4467
+ // Node idx's encoding; NONE when it is absent or null.
4468
+ private static object? CondenseEnc(object? cond, long idx)
4469
+ {
4470
+ List<object?>? node = CondenseField(cond, S_condnode);
4471
+ object? enc = node != null && 0 <= idx && idx < node.Count ? node[(int)idx] : null;
4472
+ return enc ?? NONE;
4473
+ }
4474
+
4475
+ private static long CondenseKind(List<object?>? el)
4476
+ {
4477
+ return el != null && 0 < el.Count ? CondenseIdx(el[0]) : -1;
4478
+ }
4479
+
4480
+ // sym[id]; NONE when id does not index sym.
4481
+ private static object? CondenseSym(object? cond, object? id)
4482
+ {
4483
+ List<object?>? sym = CondenseField(cond, S_condsym);
4484
+ long i = CondenseIdx(id);
4485
+ return sym != null && 0 <= i && i < sym.Count ? sym[(int)i] : NONE;
4486
+ }
4487
+
4488
+ // sym[id] as a map key: its string form when it is not a string.
4489
+ private static string CondenseKeyName(object? cond, object? id)
4490
+ {
4491
+ object? s = CondenseSym(cond, id);
4492
+ return s as string ?? CondenseStr(s);
4493
+ }
4494
+
4495
+ // Code-point order, unlike string.CompareOrdinal: a surrogate pair sorts as the
4496
+ // character it encodes, after every other character up to U+FFFF.
4497
+ private static int CondenseCmp(string a, string b)
4498
+ {
4499
+ int i = 0;
4500
+ int j = 0;
4501
+ while (i < a.Length && j < b.Length)
4502
+ {
4503
+ int ca = CondenseCodePoint(a, i);
4504
+ int cb = CondenseCodePoint(b, j);
4505
+ if (ca != cb)
4506
+ {
4507
+ return ca < cb ? -1 : 1;
4508
+ }
4509
+
4510
+ i += 0xffff < ca ? 2 : 1;
4511
+ j += 0xffff < cb ? 2 : 1;
4512
+ }
4513
+
4514
+ return a.Length - i - (b.Length - j);
4515
+ }
4516
+
4517
+ private static int CondenseCodePoint(string s, int i)
4518
+ {
4519
+ return char.IsHighSurrogate(s[i]) && i + 1 < s.Length && char.IsLowSurrogate(s[i + 1])
4520
+ ? char.ConvertToUtf32(s[i], s[i + 1])
4521
+ : s[i];
4522
+ }
4523
+
4524
+ // JS `'' + v`.
4525
+ private static string CondenseStr(object? v)
4526
+ {
4527
+ return v switch
4528
+ {
4529
+ null => S_null,
4530
+ string s => s,
4531
+ bool b => b ? "true" : "false",
4532
+ int or long => Convert.ToString(v, CultureInfo.InvariantCulture) ?? S_MT,
4533
+ double or float => CondenseNumStr(Convert.ToDouble(v, CultureInfo.InvariantCulture)),
4534
+ List<object?> l => string.Join(S_CM, l.Select(e => e == null || ReferenceEquals(e, NONE)
4535
+ ? S_MT
4536
+ : CondenseStr(e))),
4537
+ _ => ReferenceEquals(v, NONE) ? "undefined" : "[object Object]",
4538
+ };
4539
+ }
4540
+
4541
+ private static string CondenseNumStr(double d)
4542
+ {
4543
+ if (double.IsNaN(d))
4544
+ {
4545
+ return "NaN";
4546
+ }
4547
+
4548
+ if (double.IsInfinity(d))
4549
+ {
4550
+ return d < 0 ? "-Infinity" : "Infinity";
4551
+ }
4552
+
4553
+ return Math.Floor(d) == d && Math.Abs(d) < 1e21
4554
+ ? (0 == d ? 0.0 : d).ToString("F0", CultureInfo.InvariantCulture)
4555
+ : d.ToString("R", CultureInfo.InvariantCulture);
4556
+ }
4557
+
4558
+ private static long CondenseSymId(object? cond, string key)
4559
+ {
4560
+ List<object?>? sym = CondenseField(cond, S_condsym);
4561
+ if (sym == null)
4562
+ {
4563
+ return -1;
4564
+ }
4565
+
4566
+ long lo = 0;
4567
+ long hi = sym.Count - 1;
4568
+ while (lo <= hi)
4569
+ {
4570
+ long mid = (lo + hi) / 2;
4571
+ int c = CondenseCmp(sym[(int)mid] as string ?? S_MT, key);
4572
+ if (0 == c)
4573
+ {
4574
+ return mid;
4575
+ }
4576
+
4577
+ if (0 > c)
4578
+ {
4579
+ lo = mid + 1;
4580
+ }
4581
+ else
4582
+ {
4583
+ hi = mid - 1;
4584
+ }
4585
+ }
4586
+
4587
+ return -1;
4588
+ }
4589
+
4590
+ // The node index of key inside node idx, or -1. Touches only this node.
4591
+ private static long CondenseChild(object? cond, long idx, string key)
4592
+ {
4593
+ List<object?>? el = CondenseEnc(cond, idx) as List<object?>;
4594
+ long kind = CondenseKind(el);
4595
+
4596
+ if (CONDENSE_MAP == kind)
4597
+ {
4598
+ long symid = CondenseSymId(cond, key);
4599
+ long lo = 0;
4600
+ long hi = ((el!.Count - 1) / 2) - 1;
4601
+ while (0 <= symid && lo <= hi)
4602
+ {
4603
+ long mid = (lo + hi) / 2;
4604
+ long k = CondenseIdx(el[(int)(1 + (mid * 2))]);
4605
+ if (k == symid)
4606
+ {
4607
+ return CondenseIdx(el[(int)(2 + (mid * 2))]);
4608
+ }
4609
+
4610
+ if (k < symid)
4611
+ {
4612
+ lo = mid + 1;
4613
+ }
4614
+ else
4615
+ {
4616
+ hi = mid - 1;
4617
+ }
4618
+ }
4619
+
4620
+ return -1;
4621
+ }
4622
+
4623
+ if (CONDENSE_LIST == kind)
4624
+ {
4625
+ return CanonListIndex(key, out long i) && 0 <= i && i < el!.Count - 1
4626
+ ? CondenseIdx(el[(int)(1 + i)])
4627
+ : -1;
4628
+ }
4629
+
4630
+ return -1;
4631
+ }
4632
+
4633
+ // Walk a path from node idx: the node index reached, or -1.
4634
+ internal static long CondenseResolve(object? cond, long idx, object? path)
4635
+ {
4636
+ long at = idx;
4637
+
4638
+ if (path is System.Collections.IList parts)
4639
+ {
4640
+ foreach (object? part in parts)
4641
+ {
4642
+ if (0 > at || part is not (string or int or long or double or float))
4643
+ {
4644
+ return -1;
4645
+ }
4646
+
4647
+ if (part is not string { Length: 0 })
4648
+ {
4649
+ at = CondenseChild(cond, at, CondenseStr(part));
4650
+ }
4651
+ }
4652
+ }
4653
+ else if (path is string s)
4654
+ {
4655
+ foreach (string part in 0 < s.Length ? s.Split('.') : [])
4656
+ {
4657
+ if (0 > at)
4658
+ {
4659
+ return -1;
4660
+ }
4661
+
4662
+ if (0 < part.Length)
4663
+ {
4664
+ at = CondenseChild(cond, at, part);
4665
+ }
4666
+ }
4667
+ }
4668
+ else if (path != null && !ReferenceEquals(path, NONE))
4669
+ {
4670
+ if (0 > at)
4671
+ {
4672
+ return -1;
4673
+ }
4674
+
4675
+ at = CondenseChild(cond, at, CondenseStr(path));
4676
+ }
4677
+
4678
+ return at;
4679
+ }
4680
+
4681
+ // A fresh, independent tree for node idx; NONE when there is no such node.
4682
+ internal static object? CondenseRebuild(object? cond, long idx)
4683
+ {
4684
+ object? enc = CondenseEnc(cond, idx);
4685
+ if (ReferenceEquals(enc, NONE))
4686
+ {
4687
+ return NONE;
4688
+ }
4689
+
4690
+ List<object?>? el = enc as List<object?>;
4691
+ long kind = CondenseKind(el);
4692
+
4693
+ if (CONDENSE_MAP == kind)
4694
+ {
4695
+ Dictionary<string, object?> out2 = [];
4696
+ for (int j = 1; j < el!.Count; j += 2)
4697
+ {
4698
+ object? child = CondenseRebuild(cond, j + 1 < el.Count ? CondenseIdx(el[j + 1]) : -1);
4699
+ string key = CondenseKeyName(cond, el[j]);
4700
+ // As setprop does for an absent value, the key goes.
4701
+ if (ReferenceEquals(child, NONE))
4702
+ {
4703
+ out2.Remove(key);
4704
+ }
4705
+ else
4706
+ {
4707
+ out2[key] = child;
4708
+ }
4709
+ }
4710
+
4711
+ return out2;
4712
+ }
4713
+
4714
+ if (CONDENSE_LIST == kind)
4715
+ {
4716
+ List<object?> out2 = new(el!.Count - 1);
4717
+ for (int j = 1; j < el.Count; j++)
4718
+ {
4719
+ object? child = CondenseRebuild(cond, CondenseIdx(el[j]));
4720
+ out2.Add(ReferenceEquals(child, NONE) ? null : child);
4721
+ }
4722
+
4723
+ return out2;
4724
+ }
4725
+
4726
+ if (CONDENSE_STR == kind)
4727
+ {
4728
+ object? s = 1 < el!.Count ? CondenseSym(cond, el[1]) : NONE;
4729
+ return ReferenceEquals(s, NONE) ? NONE : Clone(s);
4730
+ }
4731
+
4732
+ if (CONDENSE_NUM == kind)
4733
+ {
4734
+ return 1 < el!.Count ? Clone(el[1]) : NONE;
4735
+ }
4736
+
4737
+ if (kind is CONDENSE_TRUE or CONDENSE_FALSE)
4738
+ {
4739
+ return CONDENSE_TRUE == kind;
4740
+ }
4741
+
4742
+ return null;
4743
+ }
4744
+
4745
+ internal static List<string> CondenseKeys(object? cond, long idx)
4746
+ {
4747
+ List<string> out2 = [];
4748
+ List<object?>? el = CondenseEnc(cond, idx) as List<object?>;
4749
+ long kind = CondenseKind(el);
4750
+
4751
+ if (CONDENSE_MAP == kind)
4752
+ {
4753
+ for (int j = 1; j < el!.Count; j += 2)
4754
+ {
4755
+ out2.Add(CondenseKeyName(cond, el[j]));
4756
+ }
4757
+ }
4758
+ else if (CONDENSE_LIST == kind)
4759
+ {
4760
+ for (int j = 1; j < el!.Count; j++)
4761
+ {
4762
+ out2.Add((j - 1).ToString(CultureInfo.InvariantCulture));
4763
+ }
4764
+ }
4765
+
4766
+ return out2;
4767
+ }
4768
+
4769
+ internal static int CondenseSize(object? cond, long idx)
4770
+ {
4771
+ List<object?>? el = CondenseEnc(cond, idx) as List<object?>;
4772
+ long kind = CondenseKind(el);
4773
+ if (CONDENSE_MAP == kind)
4774
+ {
4775
+ return (el!.Count - 1) / 2;
4776
+ }
4777
+
4778
+ return CONDENSE_LIST == kind ? el!.Count - 1 : 0;
4779
+ }
4780
+
3598
4781
  [GeneratedRegex(@"[.*+?^${}()|[\]\\]")]
3599
4782
  private static partial Regex R_EscapeRegexpGen();
3600
4783
  [GeneratedRegex(@"^`\$REF:([0-9]+)`$")]
@@ -3609,7 +4792,86 @@ namespace Voxgig.Struct
3609
4792
  private static partial Regex R_MetaPathGen();
3610
4793
  [GeneratedRegex(@"`\$([A-Z]+)`")]
3611
4794
  private static partial Regex R_TransformNameGen();
4795
+ // \z, since .NET's $ also matches before a final newline.
4796
+ [GeneratedRegex(@"^\$[A-Z]+\z")]
4797
+ private static partial Regex R_CheckerNameGen();
3612
4798
  [GeneratedRegex(@"\.")]
3613
4799
  private static partial Regex R_DotGen();
3614
4800
  }
4801
+
4802
+
4803
+ // A cursor into a condensed structure. Views made by At share the memo, so Ref hands
4804
+ // every one of them the same node.
4805
+ public sealed class CondenseView
4806
+ {
4807
+ private readonly object? _cond;
4808
+ private readonly long _start;
4809
+ private readonly Dictionary<string, object?> _memo;
4810
+
4811
+ internal CondenseView(object? cond, long start, Dictionary<string, object?> memo)
4812
+ {
4813
+ _cond = cond;
4814
+ _start = start;
4815
+ _memo = memo;
4816
+ }
4817
+
4818
+ public object? Get(object? path = null)
4819
+ {
4820
+ return Present(StructUtils.CondenseRebuild(_cond, StructUtils.CondenseResolve(_cond, _start, path)));
4821
+ }
4822
+
4823
+ public List<string> Keys(object? path = null)
4824
+ {
4825
+ return StructUtils.CondenseKeys(_cond, StructUtils.CondenseResolve(_cond, _start, path));
4826
+ }
4827
+
4828
+ public bool Has(object? path = null)
4829
+ {
4830
+ return 0 <= StructUtils.CondenseResolve(_cond, _start, path);
4831
+ }
4832
+
4833
+ public CondenseView At(object? path = null)
4834
+ {
4835
+ return new CondenseView(_cond, StructUtils.CondenseResolve(_cond, _start, path), _memo);
4836
+ }
4837
+
4838
+ public object? Value()
4839
+ {
4840
+ return Present(StructUtils.CondenseRebuild(_cond, _start));
4841
+ }
4842
+
4843
+ public int Size()
4844
+ {
4845
+ return StructUtils.CondenseSize(_cond, _start);
4846
+ }
4847
+
4848
+ public bool Exists()
4849
+ {
4850
+ return 0 <= _start;
4851
+ }
4852
+
4853
+ // Shared, unlike Get and Value: mutating the result changes every reader of the node.
4854
+ public object? Ref()
4855
+ {
4856
+ string k = _start.ToString(CultureInfo.InvariantCulture);
4857
+ if (_memo.TryGetValue(k, out object? hit))
4858
+ {
4859
+ return hit;
4860
+ }
4861
+
4862
+ object? out2 = StructUtils.CondenseRebuild(_cond, _start);
4863
+ if (ReferenceEquals(out2, StructUtils.NONE))
4864
+ {
4865
+ return null;
4866
+ }
4867
+
4868
+ _memo[k] = out2;
4869
+ return out2;
4870
+ }
4871
+
4872
+ private static object? Present(object? val)
4873
+ {
4874
+ return ReferenceEquals(val, StructUtils.NONE) ? null : val;
4875
+ }
4876
+ }
3615
4877
  }