@voxgig/sdkgen 4.34.7 → 4.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/voxgig-sdkgen +1 -1
- package/dist/action/doctor.d.ts +2 -0
- package/dist/action/doctor.js +60 -12
- package/dist/action/doctor.js.map +1 -1
- package/dist/action/target.d.ts +4 -1
- package/dist/action/target.js +39 -3
- package/dist/action/target.js.map +1 -1
- package/dist/cmp/ReadmeTop.js +56 -20
- package/dist/cmp/ReadmeTop.js.map +1 -1
- package/dist/helpers/canonSpec.d.ts +7 -1
- package/dist/helpers/canonSpec.js +44 -0
- package/dist/helpers/canonSpec.js.map +1 -1
- package/dist/helpers/graphqlPoint.d.ts +6 -0
- package/dist/helpers/graphqlPoint.js +73 -0
- package/dist/helpers/graphqlPoint.js.map +1 -0
- package/dist/helpers/naming.d.ts +2 -1
- package/dist/helpers/naming.js +5 -3
- package/dist/helpers/naming.js.map +1 -1
- package/dist/helpers/opExample.d.ts +4 -1
- package/dist/helpers/opExample.js +31 -6
- package/dist/helpers/opExample.js.map +1 -1
- package/dist/helpers/opShape.d.ts +2 -1
- package/dist/helpers/opShape.js +31 -8
- package/dist/helpers/opShape.js.map +1 -1
- package/dist/helpers/packageMeta.d.ts +2 -1
- package/dist/helpers/packageMeta.js +5 -0
- package/dist/helpers/packageMeta.js.map +1 -1
- package/dist/sdkgen.d.ts +6 -5
- package/dist/sdkgen.js +15 -4
- package/dist/sdkgen.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utility.js +7 -17
- package/dist/utility.js.map +1 -1
- package/package.json +1 -1
- package/project/.sdk/src/cmp/c/Config_c.ts +8 -14
- package/project/.sdk/src/cmp/c/Gitignore_c.ts +3 -0
- package/project/.sdk/src/cmp/c/ReadmeEntity_c.ts +6 -7
- package/project/.sdk/src/cmp/c/ReadmeHowto_c.ts +47 -4
- package/project/.sdk/src/cmp/c/ReadmeInstall_c.ts +24 -4
- package/project/.sdk/src/cmp/c/ReadmeQuick_c.ts +14 -17
- package/project/.sdk/src/cmp/c/ReadmeRef_c.ts +7 -8
- package/project/.sdk/src/cmp/c/ReadmeTopQuick_c.ts +5 -6
- package/project/.sdk/src/cmp/c/ReadmeTopTest_c.ts +2 -3
- package/project/.sdk/src/cmp/c/TestDirect_c.ts +23 -2
- package/project/.sdk/src/cmp/c/fragment/Entity.fragment.c +1 -2
- package/project/.sdk/src/cmp/c/fragment/EntityListOp.fragment.c +1 -1
- package/project/.sdk/src/cmp/clojure/ReadmeEntity_clojure.ts +6 -7
- package/project/.sdk/src/cmp/clojure/ReadmeHowto_clojure.ts +6 -2
- package/project/.sdk/src/cmp/clojure/ReadmeQuick_clojure.ts +14 -17
- package/project/.sdk/src/cmp/clojure/ReadmeRef_clojure.ts +7 -8
- package/project/.sdk/src/cmp/clojure/ReadmeTopQuick_clojure.ts +5 -6
- package/project/.sdk/src/cmp/clojure/ReadmeTopTest_clojure.ts +2 -3
- package/project/.sdk/src/cmp/clojure/fragment/Entity.fragment.clj +6 -3
- package/project/.sdk/src/cmp/cpp/ReadmeEntity_cpp.ts +6 -7
- package/project/.sdk/src/cmp/cpp/ReadmeHowto_cpp.ts +6 -2
- package/project/.sdk/src/cmp/cpp/ReadmeQuick_cpp.ts +14 -17
- package/project/.sdk/src/cmp/cpp/ReadmeRef_cpp.ts +7 -8
- package/project/.sdk/src/cmp/cpp/ReadmeTopQuick_cpp.ts +5 -6
- package/project/.sdk/src/cmp/cpp/ReadmeTopTest_cpp.ts +2 -3
- package/project/.sdk/src/cmp/cpp/TestDirect_cpp.ts +25 -2
- package/project/.sdk/src/cmp/cpp/fragment/EntityListOp.fragment.cpp +1 -3
- package/project/.sdk/src/cmp/csharp/Package_csharp.ts +1 -1
- package/project/.sdk/src/cmp/csharp/ReadmeEntity_csharp.ts +6 -7
- package/project/.sdk/src/cmp/csharp/ReadmeHowto_csharp.ts +7 -2
- package/project/.sdk/src/cmp/csharp/ReadmeQuick_csharp.ts +13 -16
- package/project/.sdk/src/cmp/csharp/ReadmeRef_csharp.ts +7 -8
- package/project/.sdk/src/cmp/csharp/ReadmeTopQuick_csharp.ts +5 -6
- package/project/.sdk/src/cmp/csharp/ReadmeTopTest_csharp.ts +2 -3
- package/project/.sdk/src/cmp/csharp/TestDirect_csharp.ts +20 -2
- package/project/.sdk/src/cmp/csharp/fragment/EntityBase.fragment.cs +3 -3
- package/project/.sdk/src/cmp/elixir/Package_elixir.ts +3 -1
- package/project/.sdk/src/cmp/elixir/ReadmeEntity_elixir.ts +5 -6
- package/project/.sdk/src/cmp/elixir/ReadmeHowto_elixir.ts +5 -2
- package/project/.sdk/src/cmp/elixir/ReadmeQuick_elixir.ts +13 -16
- package/project/.sdk/src/cmp/elixir/ReadmeRef_elixir.ts +6 -7
- package/project/.sdk/src/cmp/elixir/ReadmeTopQuick_elixir.ts +4 -5
- package/project/.sdk/src/cmp/elixir/ReadmeTopTest_elixir.ts +2 -3
- package/project/.sdk/src/cmp/elixir/fragment/Pipeline.fragment.ex +4 -1
- package/project/.sdk/src/cmp/elixir/utility_elixir.ts +1 -1
- package/project/.sdk/src/cmp/go/ReadmeEntity_go.ts +4 -5
- package/project/.sdk/src/cmp/go/ReadmeHowto_go.ts +2 -3
- package/project/.sdk/src/cmp/go/ReadmeModel_go.ts +7 -2
- package/project/.sdk/src/cmp/go/ReadmeQuick_go.ts +6 -7
- package/project/.sdk/src/cmp/go/ReadmeRef_go.ts +5 -6
- package/project/.sdk/src/cmp/go/ReadmeTopQuick_go.ts +5 -7
- package/project/.sdk/src/cmp/go/ReadmeTopTest_go.ts +6 -2
- package/project/.sdk/src/cmp/go/TestDirect_go.ts +25 -9
- package/project/.sdk/src/cmp/go/fragment/Entity.fragment.go +7 -6
- package/project/.sdk/src/cmp/go/fragment/EntityCreateOp.fragment.go +3 -3
- package/project/.sdk/src/cmp/go/fragment/EntityLoadOp.fragment.go +3 -3
- package/project/.sdk/src/cmp/go/fragment/EntityPatchOp.fragment.go +3 -3
- package/project/.sdk/src/cmp/go/fragment/EntityRemoveOp.fragment.go +3 -3
- package/project/.sdk/src/cmp/go/fragment/EntityUpdateOp.fragment.go +3 -3
- package/project/.sdk/src/cmp/java/ReadmeEntity_java.ts +5 -6
- package/project/.sdk/src/cmp/java/ReadmeHowto_java.ts +9 -4
- package/project/.sdk/src/cmp/java/ReadmeQuick_java.ts +13 -16
- package/project/.sdk/src/cmp/java/ReadmeRef_java.ts +7 -8
- package/project/.sdk/src/cmp/java/ReadmeTopQuick_java.ts +3 -4
- package/project/.sdk/src/cmp/java/ReadmeTopTest_java.ts +3 -4
- package/project/.sdk/src/cmp/java/TestDirect_java.ts +20 -2
- package/project/.sdk/src/cmp/java/fragment/EntityBase.fragment.java +4 -3
- package/project/.sdk/src/cmp/java/utility_java.ts +5 -3
- package/project/.sdk/src/cmp/js/ReadmeEntity_js.ts +2 -3
- package/project/.sdk/src/cmp/js/ReadmeHowto_js.ts +3 -4
- package/project/.sdk/src/cmp/js/ReadmeQuick_js.ts +4 -5
- package/project/.sdk/src/cmp/js/ReadmeRef_js.ts +2 -3
- package/project/.sdk/src/cmp/js/ReadmeTopQuick_js.ts +3 -5
- package/project/.sdk/src/cmp/js/ReadmeTopTest_js.ts +2 -3
- package/project/.sdk/src/cmp/js/TestDirect_js.ts +18 -9
- package/project/.sdk/src/cmp/js/fragment/EntityBase.fragment.js +4 -2
- package/project/.sdk/src/cmp/js/fragment/EntityCreateOp.fragment.js +4 -1
- package/project/.sdk/src/cmp/js/fragment/EntityListOp.fragment.js +4 -1
- package/project/.sdk/src/cmp/js/fragment/EntityLoadOp.fragment.js +4 -1
- package/project/.sdk/src/cmp/js/fragment/EntityPatchOp.fragment.js +4 -1
- package/project/.sdk/src/cmp/js/fragment/EntityRemoveOp.fragment.js +4 -1
- package/project/.sdk/src/cmp/js/fragment/EntityUpdateOp.fragment.js +4 -1
- package/project/.sdk/src/cmp/kotlin/ReadmeEntity_kotlin.ts +6 -7
- package/project/.sdk/src/cmp/kotlin/ReadmeHowto_kotlin.ts +7 -2
- package/project/.sdk/src/cmp/kotlin/ReadmeQuick_kotlin.ts +13 -16
- package/project/.sdk/src/cmp/kotlin/ReadmeRef_kotlin.ts +7 -8
- package/project/.sdk/src/cmp/kotlin/ReadmeTopQuick_kotlin.ts +5 -6
- package/project/.sdk/src/cmp/kotlin/ReadmeTopTest_kotlin.ts +2 -3
- package/project/.sdk/src/cmp/kotlin/TestDirect_kotlin.ts +20 -2
- package/project/.sdk/src/cmp/kotlin/fragment/EntityBase.fragment.kt +3 -3
- package/project/.sdk/src/cmp/kotlin/fragment/EntityCreateOp.fragment.kt +1 -1
- package/project/.sdk/src/cmp/kotlin/fragment/EntityLoadOp.fragment.kt +1 -1
- package/project/.sdk/src/cmp/kotlin/fragment/EntityPatchOp.fragment.kt +1 -1
- package/project/.sdk/src/cmp/kotlin/fragment/EntityRemoveOp.fragment.kt +1 -1
- package/project/.sdk/src/cmp/kotlin/fragment/EntityUpdateOp.fragment.kt +1 -1
- package/project/.sdk/src/cmp/lua/Package_lua.ts +2 -1
- package/project/.sdk/src/cmp/lua/ReadmeEntity_lua.ts +3 -4
- package/project/.sdk/src/cmp/lua/ReadmeHowto_lua.ts +2 -3
- package/project/.sdk/src/cmp/lua/ReadmeModel_lua.ts +6 -2
- package/project/.sdk/src/cmp/lua/ReadmeQuick_lua.ts +11 -14
- package/project/.sdk/src/cmp/lua/ReadmeRef_lua.ts +3 -4
- package/project/.sdk/src/cmp/lua/ReadmeTopQuick_lua.ts +3 -4
- package/project/.sdk/src/cmp/lua/ReadmeTopTest_lua.ts +2 -3
- package/project/.sdk/src/cmp/lua/TestDirect_lua.ts +18 -2
- package/project/.sdk/src/cmp/lua/fragment/Entity.fragment.lua +15 -5
- package/project/.sdk/src/cmp/ocaml/EntityOperation_ocaml.ts +1 -1
- package/project/.sdk/src/cmp/ocaml/Entity_ocaml.ts +1 -1
- package/project/.sdk/src/cmp/ocaml/ReadmeEntity_ocaml.ts +6 -7
- package/project/.sdk/src/cmp/ocaml/ReadmeHowto_ocaml.ts +8 -4
- package/project/.sdk/src/cmp/ocaml/ReadmeQuick_ocaml.ts +14 -17
- package/project/.sdk/src/cmp/ocaml/ReadmeRef_ocaml.ts +7 -8
- package/project/.sdk/src/cmp/ocaml/ReadmeTopQuick_ocaml.ts +5 -6
- package/project/.sdk/src/cmp/ocaml/ReadmeTopTest_ocaml.ts +5 -6
- package/project/.sdk/src/cmp/ocaml/SdkError_ocaml.ts +8 -0
- package/project/.sdk/src/cmp/ocaml/fragment/RunOp.fragment.ml +5 -1
- package/project/.sdk/src/cmp/perl/Package_perl.ts +1 -1
- package/project/.sdk/src/cmp/perl/ReadmeEntity_perl.ts +6 -7
- package/project/.sdk/src/cmp/perl/ReadmeHowto_perl.ts +6 -2
- package/project/.sdk/src/cmp/perl/ReadmeQuick_perl.ts +14 -17
- package/project/.sdk/src/cmp/perl/ReadmeRef_perl.ts +7 -8
- package/project/.sdk/src/cmp/perl/ReadmeTopQuick_perl.ts +5 -6
- package/project/.sdk/src/cmp/perl/ReadmeTopTest_perl.ts +2 -3
- package/project/.sdk/src/cmp/perl/TestDirect_perl.ts +18 -2
- package/project/.sdk/src/cmp/perl/TestEntity_perl.ts +33 -2
- package/project/.sdk/src/cmp/perl/fragment/Entity.fragment.pm +8 -4
- package/project/.sdk/src/cmp/php/Package_php.ts +1 -1
- package/project/.sdk/src/cmp/php/ReadmeEntity_php.ts +5 -6
- package/project/.sdk/src/cmp/php/ReadmeHowto_php.ts +2 -3
- package/project/.sdk/src/cmp/php/ReadmeQuick_php.ts +14 -17
- package/project/.sdk/src/cmp/php/ReadmeRef_php.ts +6 -7
- package/project/.sdk/src/cmp/php/ReadmeTopQuick_php.ts +4 -5
- package/project/.sdk/src/cmp/php/ReadmeTopTest_php.ts +2 -3
- package/project/.sdk/src/cmp/php/TestDirect_php.ts +20 -2
- package/project/.sdk/src/cmp/php/TestEntity_php.ts +35 -2
- package/project/.sdk/src/cmp/php/fragment/Entity.fragment.php +11 -5
- package/project/.sdk/src/cmp/py/Package_py.ts +2 -1
- package/project/.sdk/src/cmp/py/ReadmeEntity_py.ts +5 -6
- package/project/.sdk/src/cmp/py/ReadmeHowto_py.ts +2 -3
- package/project/.sdk/src/cmp/py/ReadmeQuick_py.ts +13 -16
- package/project/.sdk/src/cmp/py/ReadmeRef_py.ts +6 -7
- package/project/.sdk/src/cmp/py/ReadmeTopQuick_py.ts +4 -5
- package/project/.sdk/src/cmp/py/ReadmeTopTest_py.ts +2 -3
- package/project/.sdk/src/cmp/py/TestDirect_py.ts +16 -2
- package/project/.sdk/src/cmp/py/TestEntity_py.ts +26 -2
- package/project/.sdk/src/cmp/py/fragment/Entity.fragment.py +6 -3
- package/project/.sdk/src/cmp/py-data/Main_py-data.ts +2 -2
- package/project/.sdk/src/cmp/rb/Package_rb.ts +2 -2
- package/project/.sdk/src/cmp/rb/ReadmeEntity_rb.ts +5 -6
- package/project/.sdk/src/cmp/rb/ReadmeHowto_rb.ts +2 -3
- package/project/.sdk/src/cmp/rb/ReadmeQuick_rb.ts +14 -17
- package/project/.sdk/src/cmp/rb/ReadmeRef_rb.ts +6 -7
- package/project/.sdk/src/cmp/rb/ReadmeTopQuick_rb.ts +4 -5
- package/project/.sdk/src/cmp/rb/ReadmeTopTest_rb.ts +2 -3
- package/project/.sdk/src/cmp/rb/TestDirect_rb.ts +18 -2
- package/project/.sdk/src/cmp/rb/TestEntity_rb.ts +31 -2
- package/project/.sdk/src/cmp/rb/fragment/Entity.fragment.rb +7 -4
- package/project/.sdk/src/cmp/rust/ReadmeEntity_rust.ts +5 -6
- package/project/.sdk/src/cmp/rust/ReadmeHowto_rust.ts +6 -2
- package/project/.sdk/src/cmp/rust/ReadmeQuick_rust.ts +13 -16
- package/project/.sdk/src/cmp/rust/ReadmeRef_rust.ts +6 -7
- package/project/.sdk/src/cmp/rust/ReadmeTopQuick_rust.ts +4 -5
- package/project/.sdk/src/cmp/rust/ReadmeTopTest_rust.ts +2 -3
- package/project/.sdk/src/cmp/rust/TestDirect_rust.ts +18 -2
- package/project/.sdk/src/cmp/rust/fragment/Entity.fragment.rs +1 -5
- package/project/.sdk/src/cmp/rust/fragment/EntityListOp.fragment.rs +1 -3
- package/project/.sdk/src/cmp/scala/ReadmeEntity_scala.ts +5 -6
- package/project/.sdk/src/cmp/scala/ReadmeHowto_scala.ts +9 -4
- package/project/.sdk/src/cmp/scala/ReadmeQuick_scala.ts +13 -16
- package/project/.sdk/src/cmp/scala/ReadmeRef_scala.ts +7 -8
- package/project/.sdk/src/cmp/scala/ReadmeTopQuick_scala.ts +3 -4
- package/project/.sdk/src/cmp/scala/ReadmeTopTest_scala.ts +3 -4
- package/project/.sdk/src/cmp/scala/TestDirect_scala.ts +14 -2
- package/project/.sdk/src/cmp/scala/fragment/EntityBase.fragment.scala +4 -3
- package/project/.sdk/src/cmp/scala/utility_scala.ts +5 -3
- package/project/.sdk/src/cmp/swift/ReadmeEntity_swift.ts +6 -7
- package/project/.sdk/src/cmp/swift/ReadmeHowto_swift.ts +7 -2
- package/project/.sdk/src/cmp/swift/ReadmeQuick_swift.ts +13 -16
- package/project/.sdk/src/cmp/swift/ReadmeRef_swift.ts +7 -8
- package/project/.sdk/src/cmp/swift/ReadmeTopQuick_swift.ts +5 -6
- package/project/.sdk/src/cmp/swift/ReadmeTopTest_swift.ts +2 -3
- package/project/.sdk/src/cmp/swift/fragment/EntityBase.fragment.swift +6 -6
- package/project/.sdk/src/cmp/swift/fragment/EntityCreateOp.fragment.swift +2 -2
- package/project/.sdk/src/cmp/swift/fragment/EntityListOp.fragment.swift +1 -1
- package/project/.sdk/src/cmp/swift/fragment/EntityLoadOp.fragment.swift +2 -2
- package/project/.sdk/src/cmp/swift/fragment/EntityPatchOp.fragment.swift +2 -2
- package/project/.sdk/src/cmp/swift/fragment/EntityRemoveOp.fragment.swift +2 -2
- package/project/.sdk/src/cmp/swift/fragment/EntityUpdateOp.fragment.swift +2 -2
- package/project/.sdk/src/cmp/ts/ReadmeEntity_ts.ts +2 -3
- package/project/.sdk/src/cmp/ts/ReadmeHowto_ts.ts +3 -4
- package/project/.sdk/src/cmp/ts/ReadmeQuick_ts.ts +7 -10
- package/project/.sdk/src/cmp/ts/ReadmeRef_ts.ts +2 -3
- package/project/.sdk/src/cmp/ts/ReadmeTopQuick_ts.ts +3 -5
- package/project/.sdk/src/cmp/ts/ReadmeTopTest_ts.ts +2 -3
- package/project/.sdk/src/cmp/ts/TestDirect_ts.ts +19 -9
- package/project/.sdk/src/cmp/ts/fragment/EntityBase.fragment.ts +4 -2
- package/project/.sdk/src/cmp/ts/fragment/EntityCreateOp.fragment.ts +4 -1
- package/project/.sdk/src/cmp/ts/fragment/EntityListOp.fragment.ts +4 -1
- package/project/.sdk/src/cmp/ts/fragment/EntityLoadOp.fragment.ts +4 -1
- package/project/.sdk/src/cmp/ts/fragment/EntityPatchOp.fragment.ts +4 -1
- package/project/.sdk/src/cmp/ts/fragment/EntityRemoveOp.fragment.ts +4 -1
- package/project/.sdk/src/cmp/ts/fragment/EntityUpdateOp.fragment.ts +4 -1
- package/project/.sdk/src/cmp/zig/ReadmeEntity_zig.ts +5 -6
- package/project/.sdk/src/cmp/zig/ReadmeHowto_zig.ts +6 -2
- package/project/.sdk/src/cmp/zig/ReadmeQuick_zig.ts +12 -15
- package/project/.sdk/src/cmp/zig/ReadmeRef_zig.ts +6 -7
- package/project/.sdk/src/cmp/zig/ReadmeTopQuick_zig.ts +4 -5
- package/project/.sdk/src/cmp/zig/ReadmeTopTest_zig.ts +2 -3
- package/project/.sdk/src/cmp/zig/fragment/Build.fragment.zig +3 -1
- package/project/.sdk/src/cmp/zig/fragment/Entity.fragment.zig +1 -5
- package/project/.sdk/src/cmp/zig/fragment/EntityListOp.fragment.zig +1 -3
- package/project/.sdk/tm/c/Makefile +140 -10
- package/project/.sdk/tm/c/core/error.c +7 -1
- package/project/.sdk/tm/c/core/sdk.h +15 -0
- package/project/.sdk/tm/c/feature/cache.c +4 -1
- package/project/.sdk/tm/c/feature/secrets/plugin/capability.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/capability.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/catalog.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/catalog.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/config.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/config.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/depend.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/depend.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/env.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/env.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/export.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/export.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/graph.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/graph.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/host.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/host.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/order.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/order.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/point.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/point.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/ref.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/ref.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/resolve.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/resolve.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/types.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/types.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/value.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/value.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/version.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugin/version.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/aws.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/azuresecrets.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/boru.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/clock.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/doppler.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/encode.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/gcpsecrets.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/hashicorp.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/httpjson.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/infisical.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/minivault.c +4 -3
- package/project/.sdk/tm/c/feature/secrets/plugins/onepassword.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/proc.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/secretspec.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/sekretoplugins.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/sha256.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/sigv4.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/support.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/plugins/tls.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/internal.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/json.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/providers.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/sekreto.c +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/sekreto.h +2 -2
- package/project/.sdk/tm/c/feature/secrets/sekreto/util.c +2 -2
- package/project/.sdk/tm/c/feature/secrets.c +28 -15
- package/project/.sdk/tm/c/tests/feature/secrets/secrets_test.c +24 -9
- package/project/.sdk/tm/c/tests/pipeline_test.c +139 -41
- package/project/.sdk/tm/c/tests/primary_corpus_test.c +135 -6
- package/project/.sdk/tm/c/tests/transport_test.c +398 -0
- package/project/.sdk/tm/c/tests/vendor/omni/json.c +2 -2
- package/project/.sdk/tm/c/tests/vendor/omni/omni.h +6 -6
- package/project/.sdk/tm/c/tests/vendor/omni/runner.c +316 -97
- package/project/.sdk/tm/c/tests/vendor/omni/util.c +2 -2
- package/project/.sdk/tm/c/utility/fetcher.c +4 -17
- package/project/.sdk/tm/c/utility/http.c +1031 -0
- package/project/.sdk/tm/c/utility/make_error.c +1 -0
- package/project/.sdk/tm/c/utility/make_result.c +1 -6
- package/project/.sdk/tm/c/utility/make_url.c +9 -0
- package/project/.sdk/tm/c/utility/struct/utility.c +14 -15
- package/project/.sdk/tm/c/utility/struct/value_io.c +56 -32
- package/project/.sdk/tm/c/utility/struct/value_io.h +2 -1
- package/project/.sdk/tm/c/utility/tls/none.c +32 -0
- package/project/.sdk/tm/c/utility/tls/openssl.c +242 -0
- package/project/.sdk/tm/c/utility/tls/tls.h +36 -0
- package/project/.sdk/tm/clojure/feature/secrets/sdk/feature/secrets.clj +16 -10
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/capability.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/catalog.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/config.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/depend.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/env.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/export.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/graph.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/host.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/json.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/order.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/point.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/ref.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/resolve.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/types.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin/version.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/plugin.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/addr.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/chain.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/core.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/json.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/aws.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/azuresecrets.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/boru.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/doppler.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/gcpsecrets.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/hashicorp.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/httpjson.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/infisical.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/minivault.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/onepassword.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/proc.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/secretspec.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/plugins/sigv4.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/provider.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto/providers.clj +2 -2
- package/project/.sdk/tm/clojure/feature/secrets/voxgig/sekreto.clj +2 -2
- package/project/.sdk/tm/clojure/src/sdk/core.clj +36 -20
- package/project/.sdk/tm/clojure/src/sdk/features.clj +2 -0
- package/project/.sdk/tm/clojure/src/voxgig/struct.clj +10 -6
- package/project/.sdk/tm/clojure/test/sdk/test/feature/secrets.clj +16 -7
- package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/json.clj +2 -2
- package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/runner.clj +163 -53
- package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/util.clj +2 -2
- package/project/.sdk/tm/cpp/core/types.hpp +1 -2
- package/project/.sdk/tm/cpp/feature/cache.hpp +3 -1
- package/project/.sdk/tm/cpp/feature/secrets/plugin/capability.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/capability.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/catalog.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/catalog.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/config.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/config.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/depend.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/depend.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/env.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/env.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/export.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/export.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/graph.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/graph.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/host.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/host.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/order.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/order.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/point.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/point.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/ref.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/ref.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/resolve.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/resolve.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/types.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/types.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/value.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/value.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/version.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugin/version.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Aws.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Aws.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Azuresecrets.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Azuresecrets.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Boru.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Boru.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Crypto.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Crypto.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Doppler.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Doppler.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Gcpsecrets.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Gcpsecrets.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Hashicorp.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Hashicorp.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Httpjson.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Httpjson.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Infisical.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Infisical.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Minivault.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Minivault.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Onepassword.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Onepassword.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Proc.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Proc.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Secretspec.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Secretspec.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Sigv4.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Sigv4.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Tls.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/plugins/Tls.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Json.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Json.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Provider.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Provider.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Providers.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Providers.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Sekreto.cpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets/sekreto/Sekreto.hpp +2 -2
- package/project/.sdk/tm/cpp/feature/secrets.hpp +9 -4
- package/project/.sdk/tm/cpp/test/auth_credential.hpp +121 -0
- package/project/.sdk/tm/cpp/test/feature/secrets/secrets_test.cpp +20 -7
- package/project/.sdk/tm/cpp/test/pipeline_test.cpp +15 -9
- package/project/.sdk/tm/cpp/test/primary_utility_test.cpp +14 -1
- package/project/.sdk/tm/cpp/test/vendor/omni/json.hpp +2 -2
- package/project/.sdk/tm/cpp/test/vendor/omni/omni.hpp +242 -56
- package/project/.sdk/tm/cpp/test/vendor/omni/util.hpp +2 -2
- package/project/.sdk/tm/cpp/utility/pipeline.hpp +25 -2
- package/project/.sdk/tm/cpp/utility/voxgigstruct/value_io.hpp +60 -32
- package/project/.sdk/tm/cpp/utility/voxgigstruct/voxgig_struct.hpp +15 -8
- package/project/.sdk/tm/csharp/feature/CacheFeature.cs +3 -1
- package/project/.sdk/tm/csharp/feature/SecretsFeature.cs +10 -6
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Capability.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Catalog.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Config.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Definition.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Depend.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Entry.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Env.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Export.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Graph.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Host.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Inst.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Json.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Order.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Plugin.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Point.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Refs.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Resolve.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Types.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugin/Version.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Aws.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/AzureSecrets.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Boru.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Child.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Doppler.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/GcpSecrets.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Hashicorp.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/HttpJson.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Infisical.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/MiniVault.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/OnePassword.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/SecretSpec.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/plugins/Sigv4.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/sekreto/Json.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/sekreto/Providers.cs +2 -2
- package/project/.sdk/tm/csharp/feature/secrets/sekreto/Sekreto.cs +2 -2
- package/project/.sdk/tm/csharp/test/AuthCredential.cs +105 -0
- package/project/.sdk/tm/csharp/test/PipelineTest.cs +22 -27
- package/project/.sdk/tm/csharp/test/PrimaryUtilityTest.cs +6 -0
- package/project/.sdk/tm/csharp/test/feature/secrets/SecretsFeatureTest.cs +21 -9
- package/project/.sdk/tm/csharp/test/vendor/omni/Runner.cs +250 -53
- package/project/.sdk/tm/csharp/test/vendor/omni/Util.cs +2 -2
- package/project/.sdk/tm/csharp/utility/MakeResult.cs +1 -4
- package/project/.sdk/tm/csharp/utility/MakeUrl.cs +8 -1
- package/project/.sdk/tm/csharp/utility/struct/Struct.cs +35 -23
- package/project/.sdk/tm/elixir/lib/projectname/entity_base.ex +1 -1
- package/project/.sdk/tm/elixir/lib/projectname/feature/cache.ex +2 -1
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/capability.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/catalog.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/config.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/depend.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/env.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/error.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/export.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/graph.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/host.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/inst.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/json.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/order.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/point.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/ref.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/resolve.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/types.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/version.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/plugin/voxgig_plugin.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/json.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/aws.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/azuresecrets.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/boru.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/doppler.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/gcpsecrets.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/hashicorp.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/http.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/httpjson.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/infisical.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/minivault.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/onepassword.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/proc.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/secretspec.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/plugins/sigv4.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/provider.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/providers.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets/sekreto/sekreto.ex +2 -2
- package/project/.sdk/tm/elixir/lib/projectname/feature/secrets.ex +7 -3
- package/project/.sdk/tm/elixir/lib/projectname/utility.ex +30 -8
- package/project/.sdk/tm/elixir/lib/utility/struct/voxgig_struct.ex +13 -14
- package/project/.sdk/tm/elixir/test/feature/secrets/secrets_test.exs +15 -5
- package/project/.sdk/tm/elixir/test/pipeline_test.exs +84 -24
- package/project/.sdk/tm/elixir/test/primary_utility_test.exs +96 -18
- package/project/.sdk/tm/elixir/test/vendor/omni/json.ex +2 -2
- package/project/.sdk/tm/elixir/test/vendor/omni/runner.ex +229 -65
- package/project/.sdk/tm/elixir/test/vendor/omni/util.ex +2 -2
- package/project/.sdk/tm/go/core/error.go +8 -0
- package/project/.sdk/tm/go/feature/cache_feature.go +4 -1
- package/project/.sdk/tm/go/feature/secrets/plugin/capability.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/catalog.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/config.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/depend.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/env.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/export.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/graph.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/host.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/order.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/point.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/ref.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/resolve.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/types.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/util.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/version.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/aws/aws.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/aws/sigv4.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/azuresecrets/azuresecrets.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/boru/boru.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/doppler/doppler.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/gcpsecrets/gcpsecrets.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/hashicorp/hashicorp.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/httpjson/httpjson.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/infisical/infisical.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/minivault/format.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/minivault/minivault.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/onepassword/onepassword.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugins/secretspec/secretspec.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/sekreto/addr.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/sekreto/providers.go +2 -2
- package/project/.sdk/tm/go/feature/secrets/sekreto/sekreto.go +2 -2
- package/project/.sdk/tm/go/feature/secrets_feature.go +9 -2
- package/project/.sdk/tm/go/test/feature/secrets/secrets_feature_test.go +21 -10
- package/project/.sdk/tm/go/test/omni/omni.go +202 -50
- package/project/.sdk/tm/go/test/omni/util.go +2 -2
- package/project/.sdk/tm/go/test/pipeline_test.go +3 -3
- package/project/.sdk/tm/go/utility/make_error.go +1 -0
- package/project/.sdk/tm/go/utility/make_result.go +1 -3
- package/project/.sdk/tm/go/utility/make_url.go +7 -1
- package/project/.sdk/tm/go/utility/struct/voxgigstruct.go +86 -78
- package/project/.sdk/tm/java/feature/CacheFeature.java +3 -1
- package/project/.sdk/tm/java/feature/SecretsFeature.java +10 -5
- package/project/.sdk/tm/java/feature/TestFeature.java +3 -3
- package/project/.sdk/tm/java/feature/secrets/plugin/Capability.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Catalog.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Config.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Definition.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Depend.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Entry.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Env.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Export.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Graph.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Host.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Inst.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Json.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Order.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Plugin.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/PluginException.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Point.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Refs.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Resolve.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Types.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/plugin/Version.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Addr.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Builtins.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Json.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Provider.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Sekreto.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/Support.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Aws.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Azuresecrets.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Boru.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Doppler.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Gcpsecrets.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Hashicorp.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Httpjson.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Infisical.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Minivault.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Onepassword.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Proc.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Secretspec.java +2 -2
- package/project/.sdk/tm/java/feature/secrets/sekreto/plugins/Sigv4.java +2 -2
- package/project/.sdk/tm/java/test/feature/secrets/SecretsFeatureTest.java +21 -9
- package/project/.sdk/tm/java/test/vendor/omni/Json.java +2 -2
- package/project/.sdk/tm/java/test/vendor/omni/Runner.java +272 -53
- package/project/.sdk/tm/java/test/vendor/omni/Util.java +2 -2
- package/project/.sdk/tm/java/utility/MakeResult.java +1 -3
- package/project/.sdk/tm/java/utility/MakeUrl.java +7 -2
- package/project/.sdk/tm/java/utility/struct/Struct.java +38 -42
- package/project/.sdk/tm/js/src/Context.js +3 -0
- package/project/.sdk/tm/js/src/feature/cache/CacheFeature.js +32 -2
- package/project/.sdk/tm/js/src/feature/secrets/SecretsFeature.js +8 -4
- package/project/.sdk/tm/js/src/feature/secrets/plugin/capability.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/catalog.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/config.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/depend.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/env.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/export.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/graph.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/host.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/index.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/order.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/point.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/ref.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/resolve.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/types.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/plugin/version.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/Sekreto.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/index.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/aws.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/azuresecrets.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/boru.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/doppler.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/gcpsecrets.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/hashicorp.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/httpjson.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/infisical.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/minivault.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/onepassword.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/secretspec.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/plugins/sigv4.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/addr.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/builtin.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/dotenv.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/env.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/file.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/memory.js +2 -2
- package/project/.sdk/tm/js/src/feature/secrets/sekreto/provider/support.js +2 -2
- package/project/.sdk/tm/js/src/utility/MakeErrorUtility.js +1 -0
- package/project/.sdk/tm/js/src/utility/MakeOptionsUtility.js +4 -5
- package/project/.sdk/tm/js/src/utility/MakeUrlUtility.js +5 -0
- package/project/.sdk/tm/js/src/utility/StructUtility.js +16 -18
- package/project/.sdk/tm/js/test/feature/secrets/Secrets.test.js +35 -24
- package/project/.sdk/tm/js/test/pipeline.test.js +28 -0
- package/project/.sdk/tm/js/test/vendor/omni/index.js +2 -2
- package/project/.sdk/tm/js/test/vendor/omni/runner.js +158 -31
- package/project/.sdk/tm/js/test/vendor/omni/util.js +2 -2
- package/project/.sdk/tm/kotlin/feature/CacheFeature.kt +2 -1
- package/project/.sdk/tm/kotlin/feature/SecretsFeature.kt +11 -6
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Capability.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Catalog.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Config.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Depend.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Env.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Export.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Graph.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Host.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Json.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Order.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Plugin.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Point.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Refs.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Resolve.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Types.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/plugin/Version.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Json.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Provider.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Providers.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Sekreto.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Spec.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/Support.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Aws.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Azuresecrets.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Boru.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Doppler.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Gcpsecrets.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Hashicorp.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Httpjson.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Infisical.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Minivault.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Onepassword.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Secretspec.kt +2 -2
- package/project/.sdk/tm/kotlin/feature/secrets/sekreto/plugins/Sigv4.kt +2 -2
- package/project/.sdk/tm/kotlin/test/AuthCredential.kt +106 -0
- package/project/.sdk/tm/kotlin/test/PipelineTest.kt +14 -10
- package/project/.sdk/tm/kotlin/test/PrimaryUtilityTest.kt +6 -0
- package/project/.sdk/tm/kotlin/test/feature/secrets/SecretsTest.kt +17 -8
- package/project/.sdk/tm/kotlin/test/vendor/omni/Json.kt +2 -2
- package/project/.sdk/tm/kotlin/test/vendor/omni/Runner.kt +189 -51
- package/project/.sdk/tm/kotlin/test/vendor/omni/Util.kt +2 -2
- package/project/.sdk/tm/kotlin/utility/MakeReqRes.kt +1 -3
- package/project/.sdk/tm/kotlin/utility/MakeSpecUrl.kt +6 -1
- package/project/.sdk/tm/kotlin/utility/struct/Struct.kt +41 -44
- package/project/.sdk/tm/lua/core/context.lua +3 -0
- package/project/.sdk/tm/lua/core/error.lua +6 -0
- package/project/.sdk/tm/lua/feature/cache_feature.lua +2 -1
- package/project/.sdk/tm/lua/feature/secrets/native/sekretonet.c +2 -2
- package/project/.sdk/tm/lua/feature/secrets/native/sekretovault.c +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/capability.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/catalog.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/config.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/depend.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/env.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/export.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/graph.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/host.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/json.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/order.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/point.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/ref.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/resolve.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/types.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin/version.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/plugin.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/addr.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/err.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/name.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/aws.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/azuresecrets.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/boru.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/crypto.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/doppler.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/gcpsecrets.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/hashicorp.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/httpjson.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/infisical.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/json.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/minivault.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/net.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/onepassword.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/secretspec.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/sigv4.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/plugins/support.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto/providers.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets/sekreto.lua +2 -2
- package/project/.sdk/tm/lua/feature/secrets_feature.lua +11 -4
- package/project/.sdk/tm/lua/test/feature/secrets/secrets_feature_test.lua +22 -9
- package/project/.sdk/tm/lua/test/vendor/omni/json.lua +2 -2
- package/project/.sdk/tm/lua/test/vendor/omni/regex.lua +2 -2
- package/project/.sdk/tm/lua/test/vendor/omni/runner.lua +234 -53
- package/project/.sdk/tm/lua/test/vendor/omni/util.lua +2 -2
- package/project/.sdk/tm/lua/utility/make_error.lua +2 -1
- package/project/.sdk/tm/lua/utility/make_result.lua +1 -3
- package/project/.sdk/tm/lua/utility/make_url.lua +5 -0
- package/project/.sdk/tm/lua/utility/struct/regex.lua +1 -1
- package/project/.sdk/tm/lua/utility/struct/struct.lua +33 -23
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/capability.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/catalog.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/config.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/defs.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/depend.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/env.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/export.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/graph.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/host.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/order.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/point.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/ref.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/resolve.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/types.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/value.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugin/version.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/aws.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/azuresecrets.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/boru.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/crypto.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/doppler.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/gcpsecrets.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/hashicorp.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/http.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/httpjson.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/infisical.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/minivault.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/minivault_stubs.c +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/onepassword.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/runcmd.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/secretspec.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/sigv4.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/tls.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/plugins/tls_stubs.c +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/sekreto/json.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/sekreto/provider.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/sekreto/secret.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets/sekreto/sekreto.ml +2 -2
- package/project/.sdk/tm/ocaml/feature/secrets_feature.ml +8 -4
- package/project/.sdk/tm/ocaml/sdk_features.ml +2 -0
- package/project/.sdk/tm/ocaml/sdk_runtime.ml +12 -1
- package/project/.sdk/tm/ocaml/sdk_types.ml +3 -0
- package/project/.sdk/tm/ocaml/test/feature/secrets/t_secrets.ml +19 -10
- package/project/.sdk/tm/ocaml/test/primary_utility_test.ml +62 -5
- package/project/.sdk/tm/ocaml/test/t_pipeline.ml +72 -85
- package/project/.sdk/tm/ocaml/test/vendor/omni/omni.ml +203 -93
- package/project/.sdk/tm/ocaml/utility/voxgig_struct.ml +13 -5
- package/project/.sdk/tm/perl/core/context.pm +3 -0
- package/project/.sdk/tm/perl/core/error.pm +2 -0
- package/project/.sdk/tm/perl/feature/cache_feature.pm +2 -0
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Capability.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Catalog.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Config.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Depend.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Env.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Export.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Graph.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Host.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Order.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Point.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Ref.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Resolve.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Types.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin/Version.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugin/Voxgig/Plugin.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Aws.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Azuresecrets.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Boru.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Doppler.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Gcpsecrets.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Hashicorp.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Httpjson.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Infisical.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Minivault.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Onepassword.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Proc.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Secretspec.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/plugins/Voxgig/Sekreto/Plugins/Sigv4.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto/Addr.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto/Providers.pm +2 -2
- package/project/.sdk/tm/perl/feature/secrets/sekreto/Voxgig/Sekreto.pm +2 -2
- package/project/.sdk/tm/perl/feature/validate_feature.pm +2 -2
- package/project/.sdk/tm/perl/lib/Voxgig/Struct.pm +39 -20
- package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Runner.pm +179 -28
- package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Util.pm +1 -1
- package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni.pm +1 -1
- package/project/.sdk/tm/perl/utility/make_error.pm +1 -0
- package/project/.sdk/tm/perl/utility/make_result.pm +1 -1
- package/project/.sdk/tm/perl/utility/make_url.pm +4 -0
- package/project/.sdk/tm/php/core/Context.php +3 -0
- package/project/.sdk/tm/php/core/Error.php +5 -0
- package/project/.sdk/tm/php/feature/CacheFeature.php +2 -1
- package/project/.sdk/tm/php/feature/SecretsFeature.php +10 -5
- package/project/.sdk/tm/php/feature/TestFeature.php +1 -1
- package/project/.sdk/tm/php/feature/ValidateFeature.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Capability.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Catalog.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Config.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Depend.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Env.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Export.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Graph.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Host.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Order.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Point.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Ref.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Resolve.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Types.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/Version.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/plugin/plugin.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/aws.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/azuresecrets.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/boru.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/doppler.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/gcpsecrets.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/hashicorp.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/httpjson.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/infisical.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/minivault.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/onepassword.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/runcmd.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/secretspec.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/plugins/sigv4.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/src/Addr.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/src/Providers.php +2 -2
- package/project/.sdk/tm/php/feature/secrets/sekreto/src/Sekreto.php +2 -2
- package/project/.sdk/tm/php/test/PipelineTest.php +30 -3
- package/project/.sdk/tm/php/test/StructUtilityTest.php +7 -0
- package/project/.sdk/tm/php/test/feature/secrets/SecretsTest.php +33 -11
- package/project/.sdk/tm/php/test/vendor/omni/Runner.php +213 -36
- package/project/.sdk/tm/php/test/vendor/omni/Util.php +2 -2
- package/project/.sdk/tm/php/utility/Fetcher.php +6 -2
- package/project/.sdk/tm/php/utility/MakeError.php +1 -0
- package/project/.sdk/tm/php/utility/MakeResult.php +1 -3
- package/project/.sdk/tm/php/utility/MakeUrl.php +5 -0
- package/project/.sdk/tm/php/utility/struct/Struct.php +22 -8
- package/project/.sdk/tm/py/pkg/core/context.py +3 -0
- package/project/.sdk/tm/py/pkg/feature/cache_feature.py +2 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/__init__.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/capability.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/catalog.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/config.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/depend.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/env.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/export.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/graph.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/host.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/order.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/point.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/ref.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/resolve.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/types.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/version.py +2 -2
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/__init__.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/addr.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/aws.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/azuresecrets.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/boru.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/doppler.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/gcpsecrets.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/hashicorp.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/httpjson.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/infisical.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/minivault.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/onepassword.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/secretspec.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/plugins/sigv4.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/providers.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_sekreto/sekreto.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets_feature.py +8 -3
- package/project/.sdk/tm/py/pkg/feature/validate_feature.py +1 -1
- package/project/.sdk/tm/py/pkg/utility/make_error.py +1 -0
- package/project/.sdk/tm/py/pkg/utility/make_result.py +1 -2
- package/project/.sdk/tm/py/pkg/utility/make_url.py +4 -0
- package/project/.sdk/tm/py/pkg/utility/voxgig_struct/voxgig_struct.py +14 -11
- package/project/.sdk/tm/py/test/feature/secrets/test_secrets.py +27 -13
- package/project/.sdk/tm/py/test/test_pipeline.py +2 -2
- package/project/.sdk/tm/py/test/voxgig_omni/__init__.py +1 -1
- package/project/.sdk/tm/py/test/voxgig_omni/runner.py +139 -33
- package/project/.sdk/tm/py/test/voxgig_omni/util.py +1 -1
- package/project/.sdk/tm/rb/core/context.rb +4 -1
- package/project/.sdk/tm/rb/core/error.rb +5 -0
- package/project/.sdk/tm/rb/feature/cache_feature.rb +2 -0
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/capability.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/catalog.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/config.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/depend.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/env.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/export.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/graph.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/host.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/order.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/point.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/ref.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/resolve.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/types.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin/version.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_plugin.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/addr.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/aws.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/azuresecrets.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/boru.rb +6 -5
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/doppler.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/gcpsecrets.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/hashicorp.rb +3 -3
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/httpjson.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/infisical.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/minivault.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/onepassword.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/secretspec.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/plugins/sigv4.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/providers.rb +4 -4
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto/sekreto.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets/voxgig_sekreto.rb +2 -2
- package/project/.sdk/tm/rb/feature/secrets_feature.rb +9 -5
- package/project/.sdk/tm/rb/feature/validate_feature.rb +2 -2
- package/project/.sdk/tm/rb/test/feature/secrets/secrets_feature_test.rb +20 -11
- package/project/.sdk/tm/rb/test/pipeline_test.rb +2 -2
- package/project/.sdk/tm/rb/test/vendor/omni/runner.rb +139 -27
- package/project/.sdk/tm/rb/test/vendor/omni/util.rb +2 -2
- package/project/.sdk/tm/rb/test/vendor/omni/voxgig_omni.rb +2 -2
- package/project/.sdk/tm/rb/utility/make_error.rb +1 -0
- package/project/.sdk/tm/rb/utility/make_result.rb +1 -1
- package/project/.sdk/tm/rb/utility/make_url.rb +4 -0
- package/project/.sdk/tm/rb/utility/struct/voxgig_struct.rb +12 -8
- package/project/.sdk/tm/rust/feature/cache.rs +2 -0
- package/project/.sdk/tm/rust/feature/secrets/plugin/capability.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/catalog.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/config.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/depend.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/env.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/export.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/graph.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/host.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/mod.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/order.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/point.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/refs.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/resolve.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/types.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/value.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/version.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/aws/crypto.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/aws/sigv4.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/aws.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/azuresecrets.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/boru.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/doppler.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/gcpsecrets.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/hashicorp.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/http.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/json.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/infisical.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/minivault/format.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/minivault.rs +4 -6
- package/project/.sdk/tm/rust/feature/secrets/plugins/onepassword.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugins/secretspec.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/sekreto/addr.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/sekreto/mod.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/sekreto/providers.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/sekreto/sekreto.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets.rs +8 -7
- package/project/.sdk/tm/rust/tests/feature/secrets/main.rs +17 -2
- package/project/.sdk/tm/rust/tests/omni_resolver/mod.rs +2 -0
- package/project/.sdk/tm/rust/tests/pipeline_test.rs +147 -66
- package/project/.sdk/tm/rust/tests/primary_utility_test.rs +88 -2
- package/project/.sdk/tm/rust/tests/vendor/omni/json.rs +2 -2
- package/project/.sdk/tm/rust/tests/vendor/omni/mod.rs +2 -4
- package/project/.sdk/tm/rust/tests/vendor/omni/regex.rs +2 -2
- package/project/.sdk/tm/rust/tests/vendor/omni/runner.rs +309 -75
- package/project/.sdk/tm/rust/tests/vendor/omni/util.rs +2 -2
- package/project/.sdk/tm/rust/utility/make_result.rs +1 -6
- package/project/.sdk/tm/rust/utility/make_url.rs +9 -1
- package/project/.sdk/tm/rust/utility/voxgigstruct/major.rs +15 -5
- package/project/.sdk/tm/scala/feature/CacheFeature.scala +3 -1
- package/project/.sdk/tm/scala/feature/SecretsFeature.scala +10 -5
- package/project/.sdk/tm/scala/feature/TestFeature.scala +3 -3
- package/project/.sdk/tm/scala/feature/secrets/plugin/Capability.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Config.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Depend.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Env.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Export.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Graph.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Host.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Json.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Order.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Plugin.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Point.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Refs.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Resolve.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Types.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Value.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/plugin/Version.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Json.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Provider.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Providers.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Sekreto.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Spec.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/Support.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Aws.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Azuresecrets.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Boru.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Doppler.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Gcpsecrets.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Hashicorp.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Httpjson.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Infisical.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Minivault.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Onepassword.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Secretspec.scala +2 -2
- package/project/.sdk/tm/scala/feature/secrets/sekreto/plugins/Sigv4.scala +2 -2
- package/project/.sdk/tm/scala/sdktest/feature/secrets/SecretsTestMain.scala +19 -7
- package/project/.sdk/tm/scala/sdktest/vendor/omni/Json.scala +2 -2
- package/project/.sdk/tm/scala/sdktest/vendor/omni/Runner.scala +191 -61
- package/project/.sdk/tm/scala/sdktest/vendor/omni/Util.scala +2 -2
- package/project/.sdk/tm/scala/utility/Make.scala +7 -2
- package/project/.sdk/tm/scala/utility/struct/Struct.java +19 -15
- package/project/.sdk/tm/scala/utility/struct/voxgig_struct.scala +13 -5
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Merge.swift +8 -10
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/Struct/Minor.swift +2 -1
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/CacheFeature.swift +2 -1
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/SecretsFeature.swift +9 -5
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Capability.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Catalog.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Config.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Depend.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Env.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Export.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Graph.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Host.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Json.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Order.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Point.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Refs.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Resolve.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Types.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Value.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugin/Version.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Aws.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Azuresecrets.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Boru.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Crypto.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Doppler.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Gcpsecrets.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Hashicorp.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Httpjson.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Infisical.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Onepassword.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Proc.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Secretspec.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/plugins/Sigv4.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Addr.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Json.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Provider.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Providers.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/feature/secrets/sekreto/Sekreto.swift +2 -2
- package/project/.sdk/tm/swift/Sources/ProjectNameSDK/utility/Make.swift +7 -4
- package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/OmniResolver.swift +41 -0
- package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/PipelineTest.swift +93 -39
- package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/PrimaryUtilityTest.swift +32 -1
- package/project/.sdk/tm/swift/Tests/ProjectNameSDKTests/feature/secrets/SecretsFeatureTest.swift +15 -7
- package/project/.sdk/tm/swift/Tests/vendor/omni/Json.swift +2 -2
- package/project/.sdk/tm/swift/Tests/vendor/omni/Runner.swift +202 -64
- package/project/.sdk/tm/swift/Tests/vendor/omni/Util.swift +2 -2
- package/project/.sdk/tm/ts/src/Context.ts +3 -0
- package/project/.sdk/tm/ts/src/feature/cache/CacheFeature.ts +32 -2
- package/project/.sdk/tm/ts/src/feature/secrets/SecretsFeature.ts +5 -1
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Capability.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Catalog.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Config.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Depend.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Env.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Export.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/FeatureHost.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Graph.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Host.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Order.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Point.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Ref.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Resolve.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Types.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Version.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/index.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/Sekreto.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/index.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/aws.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/azuresecrets.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/boru.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/doppler.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/gcpsecrets.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/hashicorp.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/httpjson.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/infisical.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/minivault.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/onepassword.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/secretspec.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/sigv4.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/addr.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/builtin.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/dotenv.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/env.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/file.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/memory.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/support.ts +2 -2
- package/project/.sdk/tm/ts/src/feature/test/TestFeature.ts +2 -1
- package/project/.sdk/tm/ts/src/utility/MakeErrorUtility.ts +1 -0
- package/project/.sdk/tm/ts/src/utility/MakeOptionsUtility.ts +4 -5
- package/project/.sdk/tm/ts/src/utility/MakeUrlUtility.ts +7 -3
- package/project/.sdk/tm/ts/src/utility/StructUtility.ts +17 -19
- package/project/.sdk/tm/ts/test/feature/secrets/Secrets.test.ts +31 -20
- package/project/.sdk/tm/ts/test/pipeline.test.ts +28 -0
- package/project/.sdk/tm/ts/test/vendor/omni/Runner.ts +173 -31
- package/project/.sdk/tm/ts/test/vendor/omni/Util.ts +2 -2
- package/project/.sdk/tm/ts/test/vendor/omni/index.ts +2 -2
- package/project/.sdk/tm/zig/core/error.zig +7 -0
- package/project/.sdk/tm/zig/core/utility.zig +8 -10
- package/project/.sdk/tm/zig/feature/cache.zig +2 -0
- package/project/.sdk/tm/zig/feature/secrets/plugin/capability.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/catalog.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/config.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/depend.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/env.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/export.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/graph.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/host.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/inst.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/order.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/plugin.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/point.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/ref.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/resolve.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/types.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/value.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugin/version.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/aws.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/azuresecrets.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/boru.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/doppler.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/gcpsecrets.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/hashicorp.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/httpjson.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/infisical.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/minivault.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/onepassword.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/secretspec.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/plugins/sigv4.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/sekreto/addr.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/sekreto/builtins.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/sekreto/provider.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets/sekreto/sekreto.zig +2 -2
- package/project/.sdk/tm/zig/feature/secrets.zig +12 -6
- package/project/.sdk/tm/zig/test/feature/secrets/secrets_test.zig +21 -5
- package/project/.sdk/tm/zig/test/pipeline_test.zig +131 -84
- package/project/.sdk/tm/zig/test/primary_utility_test.zig +120 -9
- package/project/.sdk/tm/zig/test/vendor/omni/omni.zig +312 -118
- package/project/.sdk/tm/zig/test/vendor/omni/regex.zig +2 -2
- package/project/.sdk/tm/zig/utility/voxgigstruct/regex.zig +2 -2
- package/project/.sdk/tm/zig/utility/voxgigstruct/struct.zig +97 -54
- package/project/sdkgen-package.json +1 -1
- package/src/action/doctor.ts +82 -13
- package/src/action/target.ts +46 -2
- package/src/cmp/ReadmeTop.ts +59 -20
- package/src/helpers/canonSpec.ts +64 -0
- package/src/helpers/graphqlPoint.ts +91 -0
- package/src/helpers/naming.ts +7 -3
- package/src/helpers/opExample.ts +38 -7
- package/src/helpers/opShape.ts +37 -8
- package/src/helpers/packageMeta.ts +7 -0
- package/src/sdkgen.ts +16 -4
- package/src/utility.ts +7 -18
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// VENDORED: @voxgig/struct
|
|
2
|
-
// Source: https://github.com/voxgig/struct @
|
|
1
|
+
// VENDORED: @voxgig/struct 0.0.3 (zig/src/struct.zig)
|
|
2
|
+
// Source: https://github.com/voxgig/struct @ 621057e24eb5f3e3da6fd3820ff24a36aaacb21b [tag: sdk-20261016-0845-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
|
|
|
@@ -2037,6 +2037,12 @@ fn getpropFromStore(store: JsonValue) JsonValue {
|
|
|
2037
2037
|
// ============================================================================
|
|
2038
2038
|
|
|
2039
2039
|
pub fn setpath(allocator: Allocator, store: JsonValue, path_val: JsonValue, val: JsonValue) !JsonValue {
|
|
2040
|
+
return setpathWith(allocator, store, path_val, val, .null);
|
|
2041
|
+
}
|
|
2042
|
+
|
|
2043
|
+
/// setpath with an injdef: its `base` names the store key the path starts
|
|
2044
|
+
/// from, falling back to the store itself when that key is absent or null.
|
|
2045
|
+
pub fn setpathWith(allocator: Allocator, store: JsonValue, path_val: JsonValue, val: JsonValue, injdef: JsonValue) !JsonValue {
|
|
2040
2046
|
var parts_buf: [64][]const u8 = undefined;
|
|
2041
2047
|
var is_numeric: [64]bool = undefined;
|
|
2042
2048
|
var numparts: usize = 0;
|
|
@@ -2079,7 +2085,8 @@ pub fn setpath(allocator: Allocator, store: JsonValue, path_val: JsonValue, val:
|
|
|
2079
2085
|
if (numparts == 0) return store;
|
|
2080
2086
|
|
|
2081
2087
|
const parts = parts_buf[0..numparts];
|
|
2082
|
-
|
|
2088
|
+
const base = try getprop(allocator, injdef, JsonValue{ .string = S_base }, .null);
|
|
2089
|
+
var parent = try getprop(allocator, store, base, store);
|
|
2083
2090
|
|
|
2084
2091
|
// Navigate to the parent of the final key, creating nodes as needed.
|
|
2085
2092
|
var i: usize = 0;
|
|
@@ -2510,9 +2517,13 @@ fn resolvePathOrCmd(allocator: Allocator, pathref: []const u8, store: JsonValue,
|
|
|
2510
2517
|
if (std.mem.eql(u8, pathref, "$BT")) return JsonValue{ .string = S_BT };
|
|
2511
2518
|
if (std.mem.eql(u8, pathref, "$DS")) return JsonValue{ .string = S_DS };
|
|
2512
2519
|
|
|
2513
|
-
// Command dispatch — mode-sensitive.
|
|
2520
|
+
// Command dispatch — mode-sensitive. A command is a single part: a
|
|
2521
|
+
// dotted reference such as `$KEY.name` is a path, as canonical getpath reads it.
|
|
2514
2522
|
if (pathref.len > 0 and pathref[0] == '$') {
|
|
2515
|
-
|
|
2523
|
+
if (std.mem.indexOfScalar(u8, pathref, '.') == null) {
|
|
2524
|
+
return try dispatchCmd(allocator, pathref, store, inj);
|
|
2525
|
+
}
|
|
2526
|
+
return try getpathInj(allocator, JsonValue{ .string = pathref }, store, inj);
|
|
2516
2527
|
}
|
|
2517
2528
|
|
|
2518
2529
|
// Relative path — use getpathInj so ancestor traversal uses dpath.
|
|
@@ -2865,7 +2876,8 @@ fn cmdValidateExactCmd(allocator: Allocator, inj: *Injection) anyerror!JsonValue
|
|
|
2865
2876
|
// Same parent-path rule as $ONE above.
|
|
2866
2877
|
const reportpath = if (0 < inj.path.len) inj.path[0 .. inj.path.len - 1] else inj.path;
|
|
2867
2878
|
const root_prefix = if (1 < reportpath.len) "" else "value ";
|
|
2868
|
-
|
|
2879
|
+
const named = try transformNames(allocator, desc.items);
|
|
2880
|
+
try inj.errs.append(try invalidTypeMsg(allocator, reportpath, try std.fmt.allocPrint(allocator, "{s}exactly equal to {s}{s}", .{ root_prefix, prefix, named }), data_val));
|
|
2869
2881
|
return .null;
|
|
2870
2882
|
}
|
|
2871
2883
|
|
|
@@ -3122,71 +3134,74 @@ fn cmdEach(allocator: Allocator, inj: *Injection, store: JsonValue) !JsonValue {
|
|
|
3122
3134
|
else
|
|
3123
3135
|
JsonValue{ .null = {} };
|
|
3124
3136
|
|
|
3125
|
-
//
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
var tval_items = std.array_list.Managed(JsonValue).init(allocator);
|
|
3137
|
+
// Parallel lists: the source values and a child template clone for each.
|
|
3138
|
+
const tcur_list = try JsonValue.makeList(allocator);
|
|
3139
|
+
const tval = try JsonValue.makeList(allocator);
|
|
3129
3140
|
|
|
3130
3141
|
if (islist(src)) {
|
|
3131
|
-
for (src.array.data.items
|
|
3132
|
-
try
|
|
3133
|
-
try
|
|
3134
|
-
try tval_items.append(try clone(allocator, child_tmpl));
|
|
3142
|
+
for (src.array.data.items) |src_item| {
|
|
3143
|
+
try tcur_list.array.append(src_item);
|
|
3144
|
+
try tval.array.append(try clone(allocator, child_tmpl));
|
|
3135
3145
|
}
|
|
3136
3146
|
} else if (ismap(src)) {
|
|
3137
3147
|
const src_items = try items(allocator, src);
|
|
3138
3148
|
if (src_items == .array) {
|
|
3139
3149
|
for (src_items.array.data.items) |pair| {
|
|
3140
3150
|
if (pair != .array or pair.array.data.items.len < 2) continue;
|
|
3141
|
-
|
|
3142
|
-
try src_vals.append(pair.array.data.items[1]);
|
|
3143
|
-
try src_keys.append(sk);
|
|
3151
|
+
try tcur_list.array.append(pair.array.data.items[1]);
|
|
3144
3152
|
const cclone = try clone(allocator, child_tmpl);
|
|
3145
|
-
//
|
|
3153
|
+
// Note the key for $KEY transforms.
|
|
3146
3154
|
if (cclone == .object) {
|
|
3147
|
-
const anno = try
|
|
3148
|
-
anno
|
|
3149
|
-
try
|
|
3150
|
-
_ = try setprop(allocator, cclone, JsonValue{ .string = S_BANNO }, JsonValue{ .object = anno });
|
|
3155
|
+
const anno = try JsonValue.makeMap(allocator);
|
|
3156
|
+
try anno.object.put(S_KEY, pair.array.data.items[0]);
|
|
3157
|
+
_ = try setprop(allocator, cclone, JsonValue{ .string = S_BANNO }, anno);
|
|
3151
3158
|
}
|
|
3152
|
-
try
|
|
3159
|
+
try tval.array.append(cclone);
|
|
3153
3160
|
}
|
|
3154
3161
|
}
|
|
3155
3162
|
}
|
|
3156
3163
|
|
|
3157
|
-
|
|
3158
|
-
const result_lr = try allocator.create(ListRef);
|
|
3159
|
-
result_lr.* = .{ .data = ListData.init(allocator) };
|
|
3164
|
+
var rval = try JsonValue.makeList(allocator);
|
|
3160
3165
|
|
|
3161
|
-
|
|
3162
|
-
|
|
3166
|
+
if (0 < tval.array.data.items.len) {
|
|
3167
|
+
// One child injection over the original store, as canonical does: the
|
|
3168
|
+
// clones are injected as a list, so $KEY is the index and $TOP the source.
|
|
3169
|
+
const ckey = tkey;
|
|
3170
|
+
const tpath = inj.path[0..inj.path.len -| 1];
|
|
3163
3171
|
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
if (
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
}
|
|
3172
|
+
var dpath = std.array_list.Managed([]const u8).init(allocator);
|
|
3173
|
+
try dpath.append(S_DTOP);
|
|
3174
|
+
var sit = std.mem.splitScalar(u8, srcpath, '.');
|
|
3175
|
+
while (sit.next()) |part| try dpath.append(part);
|
|
3176
|
+
try dpath.append(try std.fmt.allocPrint(allocator, "$:{s}", .{ckey}));
|
|
3177
|
+
|
|
3178
|
+
var tcur = try JsonValue.makeMap(allocator);
|
|
3179
|
+
try tcur.object.put(ckey, tcur_list);
|
|
3180
|
+
|
|
3181
|
+
if (1 < tpath.len) {
|
|
3182
|
+
const pkey = if (3 <= inj.path.len) inj.path[inj.path.len - 3] else S_DTOP;
|
|
3183
|
+
const outer = try JsonValue.makeMap(allocator);
|
|
3184
|
+
try outer.object.put(pkey, tcur);
|
|
3185
|
+
tcur = outer;
|
|
3186
|
+
try dpath.append(try std.fmt.allocPrint(allocator, "$:{s}", .{pkey}));
|
|
3179
3187
|
}
|
|
3180
|
-
try each_store.put(S_DTOP, src_item);
|
|
3181
3188
|
|
|
3182
|
-
const
|
|
3183
|
-
try
|
|
3189
|
+
const tinj = try inj.child(0, &.{ckey});
|
|
3190
|
+
tinj.path = try allocator.dupe([]const u8, tpath);
|
|
3191
|
+
tinj.nodes = try allocator.dupe(JsonValue, inj.nodes[0..inj.nodes.len -| 1]);
|
|
3192
|
+
tinj.parent = if (0 < tinj.nodes.len) tinj.nodes[tinj.nodes.len - 1] else .null;
|
|
3193
|
+
_ = try setprop(allocator, tinj.parent, JsonValue{ .string = ckey }, tval);
|
|
3194
|
+
tinj.val = tval;
|
|
3195
|
+
tinj.dpath = dpath.items;
|
|
3196
|
+
tinj.dparent = tcur;
|
|
3197
|
+
|
|
3198
|
+
_ = try inject(allocator, tval, store, tinj);
|
|
3199
|
+
rval = tinj.val;
|
|
3184
3200
|
}
|
|
3185
3201
|
|
|
3186
|
-
|
|
3187
|
-
if (target != .null) _ = setprop(allocator, target, JsonValue{ .string = tkey }, result) catch {};
|
|
3202
|
+
if (target != .null) _ = setprop(allocator, target, JsonValue{ .string = tkey }, rval) catch {};
|
|
3188
3203
|
|
|
3189
|
-
if (
|
|
3204
|
+
if (rval == .array and 0 < rval.array.data.items.len) return rval.array.data.items[0];
|
|
3190
3205
|
return .null;
|
|
3191
3206
|
}
|
|
3192
3207
|
|
|
@@ -3963,8 +3978,7 @@ fn validateWalk(
|
|
|
3963
3978
|
return try validateTypeCheck(allocator, cmd, data_val, errs, path);
|
|
3964
3979
|
}
|
|
3965
3980
|
}
|
|
3966
|
-
|
|
3967
|
-
return data_val;
|
|
3981
|
+
return try validateDefault(allocator, spec_val, data_val, errs, path);
|
|
3968
3982
|
}
|
|
3969
3983
|
|
|
3970
3984
|
if (spec_val == .array) {
|
|
@@ -4038,9 +4052,24 @@ fn validateWalk(
|
|
|
4038
4052
|
return result;
|
|
4039
4053
|
}
|
|
4040
4054
|
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4055
|
+
return try validateDefault(allocator, spec_val, data_val, errs, path);
|
|
4056
|
+
}
|
|
4057
|
+
|
|
4058
|
+
// A scalar spec is a default: absent data takes it, present data must share its type.
|
|
4059
|
+
fn validateDefault(
|
|
4060
|
+
allocator: Allocator,
|
|
4061
|
+
spec_val: JsonValue,
|
|
4062
|
+
data_val: JsonValue,
|
|
4063
|
+
errs: *std.array_list.Managed([]const u8),
|
|
4064
|
+
path: []const []const u8,
|
|
4065
|
+
) anyerror!JsonValue {
|
|
4066
|
+
if (data_val == .null) return spec_val;
|
|
4067
|
+
if (spec_val == .null) return data_val;
|
|
4068
|
+
const ptype = typify(spec_val);
|
|
4069
|
+
if (ptype != typify(data_val)) {
|
|
4070
|
+
try errs.append(try invalidTypeMsg(allocator, path, typename(ptype), data_val));
|
|
4071
|
+
}
|
|
4072
|
+
return data_val;
|
|
4044
4073
|
}
|
|
4045
4074
|
|
|
4046
4075
|
fn validateTypeCheck(
|
|
@@ -4078,6 +4107,13 @@ fn validateTypeCheck(
|
|
|
4078
4107
|
}
|
|
4079
4108
|
return data_val;
|
|
4080
4109
|
}
|
|
4110
|
+
if (std.mem.eql(u8, cmd, "$DECIMAL")) {
|
|
4111
|
+
if (0 == (@as(i64, T_decimal) & t)) {
|
|
4112
|
+
try errs.append(try invalidTypeMsg(allocator, path, S_decimal, data_val));
|
|
4113
|
+
return .null;
|
|
4114
|
+
}
|
|
4115
|
+
return data_val;
|
|
4116
|
+
}
|
|
4081
4117
|
if (std.mem.eql(u8, cmd, "$BOOLEAN")) {
|
|
4082
4118
|
if (0 == (@as(i64, T_boolean) & t)) {
|
|
4083
4119
|
try errs.append(try invalidTypeMsg(allocator, path, S_boolean, data_val));
|
|
@@ -4109,6 +4145,13 @@ fn validateTypeCheck(
|
|
|
4109
4145
|
}
|
|
4110
4146
|
return data_val;
|
|
4111
4147
|
}
|
|
4148
|
+
if (std.mem.eql(u8, cmd, "$NIL")) {
|
|
4149
|
+
if (data_val != .null) {
|
|
4150
|
+
try errs.append(try invalidTypeMsg(allocator, path, S_nil, data_val));
|
|
4151
|
+
return .null;
|
|
4152
|
+
}
|
|
4153
|
+
return data_val;
|
|
4154
|
+
}
|
|
4112
4155
|
// Unknown command: pass through.
|
|
4113
4156
|
return data_val;
|
|
4114
4157
|
}
|
package/src/action/doctor.ts
CHANGED
|
@@ -33,7 +33,7 @@ import type { Source } from './resolve'
|
|
|
33
33
|
|
|
34
34
|
import { definitionPath } from '../helpers/definition'
|
|
35
35
|
|
|
36
|
-
import { findFeatureSources } from '../helpers/featureSource'
|
|
36
|
+
import { findFeatureSources, featureExcludes } from '../helpers/featureSource'
|
|
37
37
|
|
|
38
38
|
import { isJunk } from '../helpers/junk'
|
|
39
39
|
|
|
@@ -110,6 +110,9 @@ type DoctorReport = {
|
|
|
110
110
|
// nothing shows whether the project changed them.
|
|
111
111
|
unrecorded: string[]
|
|
112
112
|
|
|
113
|
+
// Declared items whose source is not installed; their copies are kept.
|
|
114
|
+
unresolved: string[]
|
|
115
|
+
|
|
113
116
|
// Per item with findings, keyed `<kind>/<name>`.
|
|
114
117
|
byItem: Record<string, ItemDrift>
|
|
115
118
|
|
|
@@ -132,6 +135,8 @@ type ItemDrift = {
|
|
|
132
135
|
|
|
133
136
|
// Forked, edited, missing and stale files.
|
|
134
137
|
changed: number
|
|
138
|
+
|
|
139
|
+
unresolved?: string
|
|
135
140
|
}
|
|
136
141
|
|
|
137
142
|
|
|
@@ -283,7 +288,8 @@ async function doctor(
|
|
|
283
288
|
forked: [], edited: [], stale: [], missing: [], additive: [],
|
|
284
289
|
superseded: [], unwired: [], orphanModel: [],
|
|
285
290
|
resyncPending: [], aliasedDiff: [],
|
|
286
|
-
outdated: [], unrecorded: [],
|
|
291
|
+
outdated: [], unrecorded: [], unresolved: [], byItem: {},
|
|
292
|
+
ignoredLog: false, ok: true,
|
|
287
293
|
}
|
|
288
294
|
|
|
289
295
|
const copies = readCopies(fs, root)
|
|
@@ -306,11 +312,20 @@ async function doctor(
|
|
|
306
312
|
|
|
307
313
|
log.info({ point: 'doctor-start', targets: counts.target ?? 0, ...counts })
|
|
308
314
|
|
|
315
|
+
const resolved = new Map<string, Source | undefined>()
|
|
316
|
+
const resolve: Resolve = (kind: string, name: string) => {
|
|
317
|
+
const key = itemKey(kind, name)
|
|
318
|
+
if (!resolved.has(key)) {
|
|
319
|
+
resolved.set(key, resolveDeclared(kind, name, actx))
|
|
320
|
+
}
|
|
321
|
+
return resolved.get(key)
|
|
322
|
+
}
|
|
323
|
+
|
|
309
324
|
const targets = new Map<string, Source>()
|
|
310
325
|
|
|
311
326
|
for (const tname of
|
|
312
327
|
Object.keys((model as any)?.main?.[KIT]?.target ?? {}).sort()) {
|
|
313
|
-
const source =
|
|
328
|
+
const source = resolve('target', tname)
|
|
314
329
|
|
|
315
330
|
if (null != source) {
|
|
316
331
|
targets.set(tname, source)
|
|
@@ -325,17 +340,17 @@ async function doctor(
|
|
|
325
340
|
continue
|
|
326
341
|
}
|
|
327
342
|
|
|
328
|
-
const source =
|
|
329
|
-
targets.get(name) : resolveDeclared(kind, name, actx)
|
|
343
|
+
const source = resolve(kind, name)
|
|
330
344
|
|
|
331
345
|
if (null == source) {
|
|
346
|
+
noteUnresolved(actx, report, kind, name)
|
|
332
347
|
continue
|
|
333
348
|
}
|
|
334
349
|
|
|
335
350
|
const found = noteDrift(actx, report, copies, kind, source)
|
|
336
351
|
|
|
337
352
|
if ('target' === kind) {
|
|
338
|
-
checkTarget(actx, source, report, found, selected)
|
|
353
|
+
checkTarget(actx, source, report, found, resolve, selected)
|
|
339
354
|
}
|
|
340
355
|
|
|
341
356
|
if ('edition' === kind) {
|
|
@@ -365,7 +380,8 @@ async function doctor(
|
|
|
365
380
|
// authoritative either way.
|
|
366
381
|
report.ok = 0 === report.forked.length + report.edited.length +
|
|
367
382
|
report.stale.length + report.missing.length + report.superseded.length +
|
|
368
|
-
report.orphanModel.length + report.outdated.length
|
|
383
|
+
report.orphanModel.length + report.outdated.length +
|
|
384
|
+
report.unresolved.length
|
|
369
385
|
|
|
370
386
|
for (const [kind, note] of [
|
|
371
387
|
['forked', 'FORKED (will be reverted by `target add`)'],
|
|
@@ -379,6 +395,7 @@ async function doctor(
|
|
|
379
395
|
['resyncPending', 'RESYNC PENDING (predates provenance; `target add` updates it)'],
|
|
380
396
|
['aliasedDiff', 'aliased model differs from its origin (project-owned, not drift)'],
|
|
381
397
|
['outdated', 'OUTDATED (unchanged since it was copied, but its source has moved on)'],
|
|
398
|
+
['unresolved', 'UNRESOLVED (declared, but its source is not installed; install it)'],
|
|
382
399
|
] as [keyof DoctorReport, string][]) {
|
|
383
400
|
for (const file of (report[kind] as string[])) {
|
|
384
401
|
log.info({ point: 'doctor-finding', kind, file, note: note + ': ' + file })
|
|
@@ -410,12 +427,13 @@ async function doctor(
|
|
|
410
427
|
resyncPending: report.resyncPending.length,
|
|
411
428
|
aliasedDiff: report.aliasedDiff.length,
|
|
412
429
|
outdated: report.outdated.length,
|
|
430
|
+
unresolved: report.unresolved.length,
|
|
413
431
|
note: report.ok ?
|
|
414
432
|
('.sdk matches the scaffold (' + report.additive.length + ' additive)') :
|
|
415
433
|
('.sdk has drifted: ' + report.forked.length + ' forked, ' +
|
|
416
434
|
report.edited.length + ' edited, ' + report.stale.length + ' stale, ' +
|
|
417
435
|
report.missing.length + ' missing, ' + report.outdated.length +
|
|
418
|
-
' outdated')
|
|
436
|
+
' outdated, ' + report.unresolved.length + ' unresolved')
|
|
419
437
|
})
|
|
420
438
|
|
|
421
439
|
return { report }
|
|
@@ -474,9 +492,44 @@ function resolveDeclared(
|
|
|
474
492
|
}
|
|
475
493
|
|
|
476
494
|
|
|
495
|
+
// Not drift: nothing on disk says what its copies should be.
|
|
496
|
+
function noteUnresolved(
|
|
497
|
+
actx: ActionContext, report: DoctorReport, kind: string, name: string,
|
|
498
|
+
) {
|
|
499
|
+
const item = itemKey(kind, name)
|
|
500
|
+
const declared: any = kindCollection(actx.model, kind)?.[name] ?? {}
|
|
501
|
+
const from = declaredFrom(declared)
|
|
502
|
+
|
|
503
|
+
report.unresolved.push(item)
|
|
504
|
+
report.byItem[item] = {
|
|
505
|
+
...pkgOf(declared.package),
|
|
506
|
+
outdated: 0,
|
|
507
|
+
changed: 0,
|
|
508
|
+
unresolved: from,
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
actx.log.warn({
|
|
512
|
+
point: 'doctor-unresolved', kind, [kind]: name, from,
|
|
513
|
+
note: kind + ' ' + name + ': declared from ' + from + ', which is not ' +
|
|
514
|
+
'installed, so its files in .sdk cannot be checked or refreshed. ' +
|
|
515
|
+
'Install it and re-run doctor.'
|
|
516
|
+
})
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
function declaredFrom(declared: any): string {
|
|
521
|
+
return [declared.package, declared.base]
|
|
522
|
+
.filter((s: any) => 'string' === typeof s && '' !== s).join(' at ') ||
|
|
523
|
+
'a source the model does not record'
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
type Resolve = (kind: string, name: string) => Source | undefined
|
|
528
|
+
|
|
529
|
+
|
|
477
530
|
function checkTarget(
|
|
478
531
|
actx: ActionContext, resolved: Source, report: DoctorReport, found: Found,
|
|
479
|
-
selected?: string[],
|
|
532
|
+
resolve: Resolve, selected?: string[],
|
|
480
533
|
) {
|
|
481
534
|
const tname = resolved.name
|
|
482
535
|
const tfolder = resolved.folder
|
|
@@ -529,10 +582,17 @@ function checkTarget(
|
|
|
529
582
|
{ log: quietLog(actx.log), fs: () => fs, folder: root, model },
|
|
530
583
|
tfolder, torigname, tname, features)
|
|
531
584
|
|
|
585
|
+
// An active feature whose source is not installed still owns its copies
|
|
586
|
+
// here: `feature add` skips it and `target add` keeps them.
|
|
587
|
+
const keep = featureExcludes(findFeatureSources(fs, Path.join(root, 'tm', tname),
|
|
588
|
+
features.filter((f: string) => null != featuremodel[f] &&
|
|
589
|
+
!fs.existsSync(resolve('feature', f)?.model ?? ''))))
|
|
590
|
+
|
|
532
591
|
compareTrees(actx, report, found, trees, {
|
|
533
592
|
excludes,
|
|
593
|
+
keep: (kind: string) => 'edited' === kind ? keep : [],
|
|
534
594
|
foreign: (kind: string) => 'edited' === kind ?
|
|
535
|
-
foreignFeatureSource(actx, resolved) : [],
|
|
595
|
+
foreignFeatureSource(actx, resolved, resolve) : [],
|
|
536
596
|
})
|
|
537
597
|
}
|
|
538
598
|
|
|
@@ -544,6 +604,7 @@ function compareTrees(
|
|
|
544
604
|
trees: TreeCompare[],
|
|
545
605
|
opts?: {
|
|
546
606
|
excludes?: RegExp[],
|
|
607
|
+
keep?: (kind: string) => RegExp[],
|
|
547
608
|
foreign?: (kind: string) => Iterable<[string, string]>,
|
|
548
609
|
},
|
|
549
610
|
) {
|
|
@@ -579,6 +640,7 @@ function compareTrees(
|
|
|
579
640
|
|
|
580
641
|
const expectedSet = new Set(expected)
|
|
581
642
|
const actualSet = new Set(actual)
|
|
643
|
+
const keep = opts?.keep?.(tree.kind) ?? []
|
|
582
644
|
|
|
583
645
|
for (const rel of expected) {
|
|
584
646
|
if (!actualSet.has(rel)) {
|
|
@@ -604,7 +666,7 @@ function compareTrees(
|
|
|
604
666
|
}
|
|
605
667
|
|
|
606
668
|
for (const rel of actual) {
|
|
607
|
-
if (expectedSet.has(rel)) {
|
|
669
|
+
if (expectedSet.has(rel) || excluded(rel, keep)) {
|
|
608
670
|
continue
|
|
609
671
|
}
|
|
610
672
|
|
|
@@ -677,7 +739,7 @@ type TreeCompare = {
|
|
|
677
739
|
|
|
678
740
|
|
|
679
741
|
function foreignFeatureSource(
|
|
680
|
-
actx: ActionContext, target: Source,
|
|
742
|
+
actx: ActionContext, target: Source, resolve: Resolve,
|
|
681
743
|
): Map<string, string> {
|
|
682
744
|
const out = new Map<string, string>()
|
|
683
745
|
|
|
@@ -688,7 +750,7 @@ function foreignFeatureSource(
|
|
|
688
750
|
continue
|
|
689
751
|
}
|
|
690
752
|
|
|
691
|
-
const source =
|
|
753
|
+
const source = resolve('feature', fname)
|
|
692
754
|
|
|
693
755
|
if (null == source) {
|
|
694
756
|
continue
|
|
@@ -1086,6 +1148,13 @@ function copyWarnings(report: DoctorReport): string[] {
|
|
|
1086
1148
|
|
|
1087
1149
|
const lines: string[] = report.ignoredLog ? [IGNORED_LOG] : []
|
|
1088
1150
|
|
|
1151
|
+
for (const item of report.unresolved) {
|
|
1152
|
+
lines.push(item.replace('/', ' ') + ': declared from ' +
|
|
1153
|
+
report.byItem[item]?.unresolved + ', which is not installed, so this ' +
|
|
1154
|
+
'run generates from the copies already in .sdk. Install it before ' +
|
|
1155
|
+
'running `voxgig-sdkgen package update`, which cannot refresh them.')
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1089
1158
|
for (const [key, group] of groups) {
|
|
1090
1159
|
const [what, command] = key.split('\n')
|
|
1091
1160
|
const pkg = group.drift[0].package
|
package/src/action/target.ts
CHANGED
|
@@ -169,6 +169,10 @@ const TargetRoot = cmp(function TargetRoot(props: any) {
|
|
|
169
169
|
const dryrun = !!actx?.opts?.dryrun
|
|
170
170
|
|
|
171
171
|
|
|
172
|
+
// `feature add` skips a feature it cannot resolve and leaves its copies
|
|
173
|
+
// alone, so the prune must not delete them first.
|
|
174
|
+
const unresolved = unresolvedFeatures(features ?? [], ctx$)
|
|
175
|
+
|
|
172
176
|
Project({}, () => {
|
|
173
177
|
// Resolved names of every target in this run. The index File is
|
|
174
178
|
// re-rendered per target and the last render wins, so each render must
|
|
@@ -226,8 +230,15 @@ const TargetRoot = cmp(function TargetRoot(props: any) {
|
|
|
226
230
|
|
|
227
231
|
const trim = trimFeatures(ctx$, tfolder, torigname, tname, features)
|
|
228
232
|
|
|
233
|
+
const held = findFeatureSources(
|
|
234
|
+
fs, Path.join(ctx$.folder ?? '.', 'tm', tname), unresolved)
|
|
235
|
+
const keep = {
|
|
236
|
+
names: Array.from(new Set(held.map((s) => s.name))),
|
|
237
|
+
patterns: featureExcludes(held),
|
|
238
|
+
}
|
|
239
|
+
|
|
229
240
|
pruneStaleTemplates(
|
|
230
|
-
ctx$, tfolder + '/tm/' + torigname, 'tm/' + tname, trim, dryrun)
|
|
241
|
+
ctx$, tfolder + '/tm/' + torigname, 'tm/' + tname, trim, dryrun, keep)
|
|
231
242
|
|
|
232
243
|
Folder({ name: 'tm/' + tname }, () => {
|
|
233
244
|
Copy({
|
|
@@ -334,12 +345,26 @@ function aliasCmpTree(
|
|
|
334
345
|
|
|
335
346
|
|
|
336
347
|
|
|
348
|
+
function unresolvedFeatures(features: string[], ctx$: any): string[] {
|
|
349
|
+
return features.filter((fname: string) => {
|
|
350
|
+
try {
|
|
351
|
+
resolveKind(fname, 'feature', ctx$)
|
|
352
|
+
return false
|
|
353
|
+
}
|
|
354
|
+
catch (err: any) {
|
|
355
|
+
return true
|
|
356
|
+
}
|
|
357
|
+
})
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
|
|
337
361
|
function pruneStaleTemplates(
|
|
338
362
|
ctx$: any,
|
|
339
363
|
fromDir: string,
|
|
340
364
|
toRel: string,
|
|
341
365
|
trim: RegExp[],
|
|
342
366
|
dryrun?: boolean,
|
|
367
|
+
keep?: { names: string[], patterns: RegExp[] },
|
|
343
368
|
) {
|
|
344
369
|
const { log } = ctx$
|
|
345
370
|
const fs = ctx$.fs()
|
|
@@ -389,7 +414,21 @@ function pruneStaleTemplates(
|
|
|
389
414
|
const trimmed = (rel: string) => trim.some((re) => re.test(rel))
|
|
390
415
|
const want = new Set(sourceFiles.filter((rel) => !trimmed(rel)))
|
|
391
416
|
|
|
392
|
-
const
|
|
417
|
+
const kept = (rel: string) => true === keep?.patterns.some((re) => re.test(rel))
|
|
418
|
+
const unwanted = listRel(destDir).filter((rel) => !want.has(rel))
|
|
419
|
+
const held = unwanted.filter(kept)
|
|
420
|
+
const stale = unwanted.filter((rel) => !kept(rel))
|
|
421
|
+
|
|
422
|
+
if (0 < held.length) {
|
|
423
|
+
log.warn({
|
|
424
|
+
point: 'target-template-kept', target: toRel, count: held.length,
|
|
425
|
+
files: held, feature: keep?.names,
|
|
426
|
+
note: toRel + ': keeping ' + held.length + ' file(s) of ' +
|
|
427
|
+
keep?.names.join(', ') + ', whose source is not installed: ' +
|
|
428
|
+
held.join(', ')
|
|
429
|
+
})
|
|
430
|
+
}
|
|
431
|
+
|
|
393
432
|
if (0 === stale.length) {
|
|
394
433
|
return
|
|
395
434
|
}
|
|
@@ -416,6 +455,11 @@ function pruneStaleTemplates(
|
|
|
416
455
|
try {
|
|
417
456
|
fs.unlinkSync(Path.join(destDir, rel))
|
|
418
457
|
removed.push(rel)
|
|
458
|
+
log.info({
|
|
459
|
+
point: 'target-template-prune-file', target: toRel,
|
|
460
|
+
file: toRel + '/' + rel,
|
|
461
|
+
note: 'removed ' + toRel + '/' + rel
|
|
462
|
+
})
|
|
419
463
|
}
|
|
420
464
|
catch (e: any) {
|
|
421
465
|
log.warn({
|