@voxgig/sdkgen 4.29.0 → 4.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/voxgig-sdkgen +1 -1
- package/dist/admin/npm-trust.d.ts +39 -0
- package/dist/admin/npm-trust.js +308 -0
- package/dist/admin/npm-trust.js.map +1 -0
- package/dist/cmp/PublishWorkflow.js +47 -26
- package/dist/cmp/PublishWorkflow.js.map +1 -1
- package/dist/sdkgen.d.ts +2 -1
- package/dist/sdkgen.js +6 -4
- package/dist/sdkgen.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -2
- package/project/.sdk/model/target/rb.aontu +1 -2
- package/project/.sdk/src/cmp/go/PrepareAuth_go.ts +45 -11
- package/project/.sdk/src/cmp/js/Package_js.ts +2 -2
- package/project/.sdk/src/cmp/js/PrepareAuth_js.ts +52 -6
- package/project/.sdk/src/cmp/php/PrepareAuth_php.ts +46 -14
- package/project/.sdk/src/cmp/rb/Package_rb.ts +15 -21
- package/project/.sdk/src/cmp/ts/Package_ts.ts +1 -1
- package/project/.sdk/src/cmp/ts/PrepareAuth_ts.ts +51 -6
- package/project/.sdk/src/cmp/ts/ReadmeQuick_ts.ts +10 -3
- 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 +2 -2
- 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/tests/vendor/omni/json.c +2 -2
- package/project/.sdk/tm/c/tests/vendor/omni/omni.h +2 -2
- package/project/.sdk/tm/c/tests/vendor/omni/runner.c +2 -2
- package/project/.sdk/tm/c/tests/vendor/omni/util.c +2 -2
- 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/test/vendor/omni/voxgig/omni/json.clj +2 -2
- package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/runner.clj +2 -2
- package/project/.sdk/tm/clojure/test/vendor/omni/voxgig/omni/util.clj +2 -2
- 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/test/vendor/omni/json.hpp +2 -2
- package/project/.sdk/tm/cpp/test/vendor/omni/omni.hpp +2 -2
- package/project/.sdk/tm/cpp/test/vendor/omni/util.hpp +2 -2
- 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/vendor/omni/Runner.cs +2 -2
- package/project/.sdk/tm/csharp/test/vendor/omni/Util.cs +2 -2
- package/project/.sdk/tm/csharp/utility/struct/Struct.cs +4 -21
- 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/test/vendor/omni/json.ex +2 -2
- package/project/.sdk/tm/elixir/test/vendor/omni/runner.ex +2 -2
- package/project/.sdk/tm/elixir/test/vendor/omni/util.ex +2 -2
- package/project/.sdk/tm/go/feature/secrets/plugin/capability.go +2 -62
- package/project/.sdk/tm/go/feature/secrets/plugin/catalog.go +1 -20
- package/project/.sdk/tm/go/feature/secrets/plugin/config.go +18 -94
- package/project/.sdk/tm/go/feature/secrets/plugin/depend.go +1 -97
- package/project/.sdk/tm/go/feature/secrets/plugin/env.go +4 -44
- package/project/.sdk/tm/go/feature/secrets/plugin/export.go +1 -13
- package/project/.sdk/tm/go/feature/secrets/plugin/graph.go +1 -40
- package/project/.sdk/tm/go/feature/secrets/plugin/host.go +11 -301
- package/project/.sdk/tm/go/feature/secrets/plugin/order.go +1 -41
- package/project/.sdk/tm/go/feature/secrets/plugin/point.go +7 -56
- package/project/.sdk/tm/go/feature/secrets/plugin/ref.go +1 -24
- package/project/.sdk/tm/go/feature/secrets/plugin/resolve.go +1 -24
- package/project/.sdk/tm/go/feature/secrets/plugin/types.go +6 -116
- package/project/.sdk/tm/go/feature/secrets/plugin/util.go +1 -11
- package/project/.sdk/tm/go/feature/secrets/plugin/version.go +1 -30
- package/project/.sdk/tm/go/feature/secrets/plugins/aws/aws.go +2 -17
- package/project/.sdk/tm/go/feature/secrets/plugins/aws/sigv4.go +4 -29
- package/project/.sdk/tm/go/feature/secrets/plugins/azuresecrets/azuresecrets.go +2 -13
- package/project/.sdk/tm/go/feature/secrets/plugins/boru/boru.go +2 -26
- package/project/.sdk/tm/go/feature/secrets/plugins/doppler/doppler.go +2 -8
- package/project/.sdk/tm/go/feature/secrets/plugins/gcpsecrets/gcpsecrets.go +2 -13
- package/project/.sdk/tm/go/feature/secrets/plugins/hashicorp/hashicorp.go +2 -16
- package/project/.sdk/tm/go/feature/secrets/plugins/httpjson/httpjson.go +2 -60
- package/project/.sdk/tm/go/feature/secrets/plugins/infisical/infisical.go +2 -8
- package/project/.sdk/tm/go/feature/secrets/plugins/minivault/format.go +2 -62
- package/project/.sdk/tm/go/feature/secrets/plugins/minivault/minivault.go +7 -184
- package/project/.sdk/tm/go/feature/secrets/plugins/onepassword/onepassword.go +2 -8
- package/project/.sdk/tm/go/feature/secrets/plugins/secretspec/secretspec.go +2 -36
- package/project/.sdk/tm/go/feature/secrets/sekreto/addr.go +2 -47
- package/project/.sdk/tm/go/feature/secrets/sekreto/providers.go +43 -170
- package/project/.sdk/tm/go/feature/secrets/sekreto/sekreto.go +4 -123
- package/project/.sdk/tm/go/test/omni/omni.go +2 -36
- package/project/.sdk/tm/go/test/omni/util.go +2 -17
- package/project/.sdk/tm/go/test/pipeline_test.go +4 -1
- package/project/.sdk/tm/go/utility/struct/voxgigstruct.go +11 -201
- 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/vendor/omni/Json.java +2 -2
- package/project/.sdk/tm/java/test/vendor/omni/Runner.java +2 -2
- package/project/.sdk/tm/java/test/vendor/omni/Util.java +2 -2
- package/project/.sdk/tm/java/utility/struct/Struct.java +1 -2
- 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/StructUtility.js +1 -2
- package/project/.sdk/tm/js/test/pipeline.test.js +9 -1
- package/project/.sdk/tm/js/test/vendor/omni/index.js +1 -1
- package/project/.sdk/tm/js/test/vendor/omni/runner.js +1 -1
- package/project/.sdk/tm/js/test/vendor/omni/util.js +1 -1
- 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/vendor/omni/Json.kt +2 -2
- package/project/.sdk/tm/kotlin/test/vendor/omni/Runner.kt +2 -2
- package/project/.sdk/tm/kotlin/test/vendor/omni/Util.kt +2 -2
- package/project/.sdk/tm/kotlin/utility/struct/Struct.kt +1 -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/test/pipeline_test.lua +3 -1
- 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 +2 -2
- package/project/.sdk/tm/lua/test/vendor/omni/util.lua +2 -2
- package/project/.sdk/tm/lua/utility/struct/regex.lua +1 -1
- package/project/.sdk/tm/lua/utility/struct/struct.lua +1 -2
- 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/test/vendor/omni/omni.ml +2 -2
- 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/lib/Voxgig/Struct.pm +8 -3
- package/project/.sdk/tm/perl/t/pipeline.t +3 -1
- package/project/.sdk/tm/perl/t/vendor/omni/Voxgig/Omni/Runner.pm +1 -1
- 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/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 +7 -2
- package/project/.sdk/tm/php/test/vendor/omni/Runner.php +2 -2
- package/project/.sdk/tm/php/test/vendor/omni/Util.php +2 -2
- package/project/.sdk/tm/php/utility/struct/Struct.php +0 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/__init__.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/capability.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/catalog.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/config.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/depend.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/env.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/export.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/graph.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/host.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/order.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/point.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/ref.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/resolve.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/types.py +1 -1
- package/project/.sdk/tm/py/pkg/feature/secrets/voxgig_plugin/version.py +1 -1
- 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/utility/voxgig_struct/voxgig_struct.py +1 -2
- package/project/.sdk/tm/py/test/test_pipeline.py +3 -1
- package/project/.sdk/tm/py/test/voxgig_omni/__init__.py +1 -1
- package/project/.sdk/tm/py/test/voxgig_omni/runner.py +1 -1
- package/project/.sdk/tm/py/test/voxgig_omni/util.py +1 -1
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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/test/pipeline_test.rb +3 -1
- package/project/.sdk/tm/rb/test/vendor/omni/runner.rb +2 -2
- 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/struct/voxgig_struct.rb +0 -1
- package/project/.sdk/tm/rust/feature/secrets/plugin/capability.rs +2 -43
- package/project/.sdk/tm/rust/feature/secrets/plugin/catalog.rs +2 -10
- package/project/.sdk/tm/rust/feature/secrets/plugin/config.rs +12 -57
- package/project/.sdk/tm/rust/feature/secrets/plugin/depend.rs +2 -83
- package/project/.sdk/tm/rust/feature/secrets/plugin/env.rs +2 -35
- package/project/.sdk/tm/rust/feature/secrets/plugin/export.rs +2 -13
- package/project/.sdk/tm/rust/feature/secrets/plugin/graph.rs +2 -27
- package/project/.sdk/tm/rust/feature/secrets/plugin/host.rs +2 -173
- package/project/.sdk/tm/rust/feature/secrets/plugin/mod.rs +2 -2
- package/project/.sdk/tm/rust/feature/secrets/plugin/order.rs +2 -40
- package/project/.sdk/tm/rust/feature/secrets/plugin/point.rs +2 -31
- package/project/.sdk/tm/rust/feature/secrets/plugin/refs.rs +2 -28
- package/project/.sdk/tm/rust/feature/secrets/plugin/resolve.rs +2 -14
- package/project/.sdk/tm/rust/feature/secrets/plugin/types.rs +2 -28
- package/project/.sdk/tm/rust/feature/secrets/plugin/value.rs +2 -29
- package/project/.sdk/tm/rust/feature/secrets/plugin/version.rs +2 -21
- package/project/.sdk/tm/rust/feature/secrets/plugins/aws/crypto.rs +3 -18
- package/project/.sdk/tm/rust/feature/secrets/plugins/aws/sigv4.rs +2 -24
- package/project/.sdk/tm/rust/feature/secrets/plugins/aws.rs +2 -21
- package/project/.sdk/tm/rust/feature/secrets/plugins/azuresecrets.rs +2 -13
- package/project/.sdk/tm/rust/feature/secrets/plugins/boru.rs +2 -28
- package/project/.sdk/tm/rust/feature/secrets/plugins/doppler.rs +2 -8
- package/project/.sdk/tm/rust/feature/secrets/plugins/gcpsecrets.rs +2 -13
- package/project/.sdk/tm/rust/feature/secrets/plugins/hashicorp.rs +2 -16
- package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/http.rs +2 -92
- package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson/json.rs +2 -8
- package/project/.sdk/tm/rust/feature/secrets/plugins/httpjson.rs +2 -31
- package/project/.sdk/tm/rust/feature/secrets/plugins/infisical.rs +2 -8
- package/project/.sdk/tm/rust/feature/secrets/plugins/minivault/format.rs +2 -58
- package/project/.sdk/tm/rust/feature/secrets/plugins/minivault.rs +3 -139
- package/project/.sdk/tm/rust/feature/secrets/plugins/onepassword.rs +2 -8
- package/project/.sdk/tm/rust/feature/secrets/plugins/secretspec.rs +2 -39
- package/project/.sdk/tm/rust/feature/secrets/sekreto/addr.rs +2 -54
- package/project/.sdk/tm/rust/feature/secrets/sekreto/mod.rs +2 -31
- package/project/.sdk/tm/rust/feature/secrets/sekreto/providers.rs +2 -129
- package/project/.sdk/tm/rust/feature/secrets/sekreto/sekreto.rs +2 -101
- package/project/.sdk/tm/rust/tests/vendor/omni/json.rs +2 -8
- package/project/.sdk/tm/rust/tests/vendor/omni/mod.rs +3 -19
- package/project/.sdk/tm/rust/tests/vendor/omni/regex.rs +2 -12
- package/project/.sdk/tm/rust/tests/vendor/omni/runner.rs +2 -64
- package/project/.sdk/tm/rust/tests/vendor/omni/util.rs +2 -7
- 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/vendor/omni/Json.scala +2 -2
- package/project/.sdk/tm/scala/sdktest/vendor/omni/Runner.scala +2 -2
- package/project/.sdk/tm/scala/sdktest/vendor/omni/Util.scala +2 -2
- 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/Tests/vendor/omni/Json.swift +2 -2
- package/project/.sdk/tm/swift/Tests/vendor/omni/Runner.swift +2 -2
- package/project/.sdk/tm/swift/Tests/vendor/omni/Util.swift +2 -2
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Capability.ts +1 -48
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Catalog.ts +1 -7
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Config.ts +17 -77
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Depend.ts +1 -89
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Env.ts +1 -37
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Export.ts +1 -23
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/FeatureHost.ts +1 -178
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Graph.ts +1 -44
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Host.ts +4 -351
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Order.ts +1 -53
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Point.ts +2 -40
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Ref.ts +1 -31
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Resolve.ts +1 -20
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Types.ts +1 -44
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/Version.ts +1 -34
- package/project/.sdk/tm/ts/src/feature/secrets/plugin/index.ts +1 -5
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/Sekreto.ts +2 -131
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/index.ts +1 -21
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/aws.ts +1 -16
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/azuresecrets.ts +1 -12
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/boru.ts +1 -27
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/doppler.ts +1 -7
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/gcpsecrets.ts +1 -12
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/hashicorp.ts +1 -15
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/httpjson.ts +1 -35
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/infisical.ts +1 -7
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/minivault.ts +1 -212
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/onepassword.ts +1 -7
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/secretspec.ts +1 -23
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/plugins/sigv4.ts +2 -32
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/addr.ts +1 -45
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/builtin.ts +1 -10
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/dotenv.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/env.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/file.ts +1 -9
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/memory.ts +1 -1
- package/project/.sdk/tm/ts/src/feature/secrets/sekreto/provider/support.ts +1 -108
- package/project/.sdk/tm/ts/src/utility/StructUtility.ts +35 -393
- package/project/.sdk/tm/ts/test/pipeline.test.ts +3 -1
- package/project/.sdk/tm/ts/test/vendor/omni/Runner.ts +1 -59
- package/project/.sdk/tm/ts/test/vendor/omni/Util.ts +1 -19
- package/project/.sdk/tm/ts/test/vendor/omni/index.ts +1 -1
- 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/test/vendor/omni/omni.zig +2 -2
- 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 +2 -2
- package/project/sdkgen-package.json +1 -1
- package/src/admin/npm-trust.ts +408 -0
- package/src/cmp/PublishWorkflow.ts +56 -26
- package/src/sdkgen.ts +2 -0
|
@@ -1,22 +1,6 @@
|
|
|
1
1
|
// VENDORED: @voxgig/plugin 0.1.6 (go/plugin/host.go)
|
|
2
|
-
// Source: https://github.com/voxgig/plugin @
|
|
2
|
+
// Source: https://github.com/voxgig/plugin @ 43acbf266b0dbcf52e5ab5463d85c822da9cd234 [tag: sdk-20260925-1316-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
|
-
/* The host: the lifecycle state machine (§5), extension points (§6), and
|
|
5
|
-
* resource capture (§8).
|
|
6
|
-
*
|
|
7
|
-
* TWO RULES SHAPE EVERY METHOD BELOW.
|
|
8
|
-
*
|
|
9
|
-
* Transitions are SEQUENTIAL (§5.2). One at a time, in call order, never
|
|
10
|
-
* interleaved; a transition triggered from inside a lifecycle callback
|
|
11
|
-
* is `plugin_reentrant`. A hard rule, because it is the only way the
|
|
12
|
-
* semantics can be identical in Go, in Ruby and in single-threaded
|
|
13
|
-
* JavaScript.
|
|
14
|
-
*
|
|
15
|
-
* Reconciliation is EAGER (§18's portability budget). A transition
|
|
16
|
-
* settles by running the state machine to a fixed point, not by
|
|
17
|
-
* suspending on a promise. Every port must be able to do the same, and
|
|
18
|
-
* fourteen of them will not have JavaScript's event loop. */
|
|
19
|
-
|
|
20
4
|
package plugin
|
|
21
5
|
|
|
22
6
|
import (
|
|
@@ -28,21 +12,12 @@ import (
|
|
|
28
12
|
type PointSpec = Spec
|
|
29
13
|
|
|
30
14
|
type HostOptions struct {
|
|
31
|
-
Catalog
|
|
32
|
-
Reserved
|
|
33
|
-
Keys
|
|
34
|
-
Defaults
|
|
35
|
-
Profile
|
|
36
|
-
Points
|
|
37
|
-
// Dependency is §11.3. `restart` (the default) treats provider
|
|
38
|
-
// replacement as an ordinary runtime operation: deactivate the old
|
|
39
|
-
// store, activate the new one, and everything that depended on it
|
|
40
|
-
// rides through, having released the old one's resources in between.
|
|
41
|
-
//
|
|
42
|
-
// `hold` is the strict reading — deactivating a required instance is
|
|
43
|
-
// `plugin_dependency_held`, naming the holders. NOT the default,
|
|
44
|
-
// because a station that cannot swap a provider without a restart
|
|
45
|
-
// has lost the argument for having a plugin system.
|
|
15
|
+
Catalog *Catalog
|
|
16
|
+
Reserved []string
|
|
17
|
+
Keys Keys
|
|
18
|
+
Defaults map[string]any
|
|
19
|
+
Profile string
|
|
20
|
+
Points map[string]Spec
|
|
46
21
|
Dependency string
|
|
47
22
|
}
|
|
48
23
|
|
|
@@ -58,15 +33,8 @@ type Live struct {
|
|
|
58
33
|
// Inner is set when this instance is itself a host (§6.5).
|
|
59
34
|
Inner *Host
|
|
60
35
|
|
|
61
|
-
def
|
|
62
|
-
order
|
|
63
|
-
// selected is §11.4's ALWAYS-RELUCTANT rebinding made concrete: the
|
|
64
|
-
// provider ref this instance's activation actually chose, per
|
|
65
|
-
// requirement name. "A satisfied requirement is not re-bound while
|
|
66
|
-
// it stays satisfied" is a statement about a REMEMBERED choice —
|
|
67
|
-
// re-ranking on every question silently re-points a live consumer at
|
|
68
|
-
// any better newcomer, and then losing the provider it was really
|
|
69
|
-
// using does not restart it. Captured at activate, cleared on exit.
|
|
36
|
+
def Definition
|
|
37
|
+
order *OrderBlock
|
|
70
38
|
selected map[string]string
|
|
71
39
|
// barred is §9.6's `active: false` — "declares it and bars it: it
|
|
72
40
|
// appears in `host.list()`, and `activate` and `ready` on it fail
|
|
@@ -74,9 +42,7 @@ type Live struct {
|
|
|
74
42
|
// THAT SET IT: a flag consulted only while `apply` ran let a later
|
|
75
43
|
// direct `Ready` bring the instance live.
|
|
76
44
|
barred bool
|
|
77
|
-
|
|
78
|
-
// given.
|
|
79
|
-
unmet []string
|
|
45
|
+
unmet []string
|
|
80
46
|
// scope holds the resources the instance scope holds, newest last —
|
|
81
47
|
// unwound in REVERSE, because that is the only order in which
|
|
82
48
|
// teardown mirrors setup (§8.3).
|
|
@@ -118,19 +84,6 @@ type Host struct {
|
|
|
118
84
|
// deactivation.
|
|
119
85
|
coordinated bool
|
|
120
86
|
|
|
121
|
-
// §18: "a port uses its idiom (a mutex in Go/Rust/Java, the GIL
|
|
122
|
-
// where that is enough)". §5.2 makes transitions SEQUENTIAL — one at
|
|
123
|
-
// a time, in call order, never interleaved — and `intransition`
|
|
124
|
-
// cannot deliver that: it is set inside `run`, so two goroutines
|
|
125
|
-
// both pass `guard` and both run a callback. This holds for the
|
|
126
|
-
// WHOLE public transition, reconciliation included, which is the
|
|
127
|
-
// unit §5.2 names.
|
|
128
|
-
//
|
|
129
|
-
// It is NOT reentrant, and must not be: a transition attempted from
|
|
130
|
-
// inside a lifecycle callback is `plugin_reentrant`, and `enter`
|
|
131
|
-
// answers that without ever blocking. Below the door the unlocked
|
|
132
|
-
// bodies (`declare`, `load`, `activate`, …) call each other, so the
|
|
133
|
-
// lock is taken exactly once per public call.
|
|
134
87
|
mu sync.Mutex
|
|
135
88
|
|
|
136
89
|
inst map[string]*Live
|
|
@@ -142,12 +95,7 @@ type Host struct {
|
|
|
142
95
|
seqn int
|
|
143
96
|
open int
|
|
144
97
|
intransition bool
|
|
145
|
-
|
|
146
|
-
// puts resource capture in `activate` and §8.3 says `Release`
|
|
147
|
-
// outside `activate` is `plugin_release_scope` — and `intransition`
|
|
148
|
-
// alone cannot tell `activate` from `define`, so it admitted an
|
|
149
|
-
// Acquire in `define` whose scope `Unload` would never unwind.
|
|
150
|
-
phase string
|
|
98
|
+
phase string
|
|
151
99
|
}
|
|
152
100
|
|
|
153
101
|
func MakeHost(options HostOptions) *Host {
|
|
@@ -174,9 +122,6 @@ func (h *Host) Catalog() *Catalog { return h.catalog }
|
|
|
174
122
|
|
|
175
123
|
// --- observation -----------------------------------------------------
|
|
176
124
|
|
|
177
|
-
// List is introspection, and introspection NEVER advances the state
|
|
178
|
-
// (§5.2). A status page must not be a way to accidentally import twenty
|
|
179
|
-
// packages.
|
|
180
125
|
func (h *Host) List() map[string]Status {
|
|
181
126
|
out := map[string]Status{}
|
|
182
127
|
for _, r := range sortedkeys(h.inst) {
|
|
@@ -219,29 +164,6 @@ func (h *Host) guard() error {
|
|
|
219
164
|
return nil
|
|
220
165
|
}
|
|
221
166
|
|
|
222
|
-
// enter is the door every PUBLIC transition goes through, and the only
|
|
223
|
-
// place `h.mu` is taken. It returns the matching release.
|
|
224
|
-
//
|
|
225
|
-
// The two rules it has to serve pull in opposite directions. §5.2 wants
|
|
226
|
-
// transitions SEQUENTIAL, which is a lock; and §5.2 also wants a
|
|
227
|
-
// transition attempted from INSIDE a lifecycle callback to answer
|
|
228
|
-
// `plugin_reentrant`, which is the one caller that must not block —
|
|
229
|
-
// it is the goroutine already holding the lock, so blocking is a
|
|
230
|
-
// deadlock.
|
|
231
|
-
//
|
|
232
|
-
// TryLock separates them as far as Go allows. Taking the lock proves
|
|
233
|
-
// nothing else is in flight, so the call cannot be reentrant. Failing to
|
|
234
|
-
// take it means SOMEONE holds it, and `intransition` says whether that
|
|
235
|
-
// someone is running a callback — the only state from which a reentrant
|
|
236
|
-
// call can arise.
|
|
237
|
-
//
|
|
238
|
-
// THE RESIDUAL WINDOW IS REAL AND IS NOT PAPERED OVER: a genuinely
|
|
239
|
-
// concurrent caller that arrives while a callback is running gets
|
|
240
|
-
// `plugin_reentrant` instead of waiting, because Go exposes no goroutine
|
|
241
|
-
// identity to tell the two apart. It is a refusal with a code, not a
|
|
242
|
-
// corruption, and it is strictly better than the interleaving an
|
|
243
|
-
// unlocked host allowed; a host that needs the other answer should
|
|
244
|
-
// serialise its own calls. See AGENTS.md.
|
|
245
167
|
func (h *Host) enter() (func(), error) {
|
|
246
168
|
if h.mu.TryLock() {
|
|
247
169
|
return h.mu.Unlock, nil
|
|
@@ -283,12 +205,6 @@ func (h *Host) run(e *Live, fn func(*Inst) error, at string) error {
|
|
|
283
205
|
if nil == err {
|
|
284
206
|
return nil
|
|
285
207
|
}
|
|
286
|
-
// §12: `plugin_define_failed` and its three siblings are "a callback
|
|
287
|
-
// raised; wraps the cause". AN ERROR THAT ALREADY CARRIES A CODE
|
|
288
|
-
// KEEPS IT — the code is the error's identity, and a plugin
|
|
289
|
-
// returning `store_unreachable` must not have it rewritten. Only a
|
|
290
|
-
// code-less error is wrapped, which is the ordinary case for a
|
|
291
|
-
// callback that let a library error through.
|
|
292
208
|
if "" != CodeOf(err) {
|
|
293
209
|
return err
|
|
294
210
|
}
|
|
@@ -297,9 +213,6 @@ func (h *Host) run(e *Live, fn func(*Inst) error, at string) error {
|
|
|
297
213
|
map[string]any{"ref": e.Ref, "cause": err.Error()})
|
|
298
214
|
}
|
|
299
215
|
|
|
300
|
-
// Inst is what a definition's callbacks see. Deliberately not the
|
|
301
|
-
// internal record: a plugin that could reach `Status` could also write
|
|
302
|
-
// it.
|
|
303
216
|
type Inst struct {
|
|
304
217
|
h *Host
|
|
305
218
|
e *Live
|
|
@@ -339,12 +252,6 @@ func (i *Inst) Release(fn func()) error {
|
|
|
339
252
|
return nil
|
|
340
253
|
}
|
|
341
254
|
|
|
342
|
-
// Acquire is the synthetic counter the driver owns, so "what is open" is
|
|
343
|
-
// data rather than an assertion each port words differently.
|
|
344
|
-
//
|
|
345
|
-
// Returns its own release, so a plugin can hand one back early. The
|
|
346
|
-
// scope still holds the entry and unwinding it twice is a no-op —
|
|
347
|
-
// releasing early must not make teardown wrong.
|
|
348
255
|
func (i *Inst) Acquire() (func(), error) {
|
|
349
256
|
// §8.1: resources are "acquired during `activate` — the scope's
|
|
350
257
|
// actual job". Same reason as `Release` above.
|
|
@@ -364,16 +271,7 @@ func (i *Inst) Acquire() (func(), error) {
|
|
|
364
271
|
return rel, nil
|
|
365
272
|
}
|
|
366
273
|
|
|
367
|
-
// Bind attaches a function to a host point. Declared in `define`; the
|
|
368
|
-
// host inserts it only after `activate` returns successfully (§8.1),
|
|
369
|
-
// which is why a failing activate leaves no live binding behind.
|
|
370
274
|
func (i *Inst) Bind(point string, fn BindFn, band int) error {
|
|
371
|
-
// §12's `plugin_bind_scope`: "binding declared outside `define`".
|
|
372
|
-
// §8.1 puts binding DECLARATION in `define` and INSERTION at a
|
|
373
|
-
// successful activate, and the guard was the half nobody wrote — so
|
|
374
|
-
// a binding added from `activate` went live without being part of
|
|
375
|
-
// the loaded definition, and a deactivate/activate cycle appended
|
|
376
|
-
// it again. The code was in the table before anything raised it.
|
|
377
275
|
if "define" != i.h.phase {
|
|
378
276
|
return Fail("plugin_bind_scope", "bind called outside define: "+point,
|
|
379
277
|
map[string]any{"ref": i.e.Ref, "point": point})
|
|
@@ -393,21 +291,6 @@ func (i *Inst) Export(key string, value any) { i.e.exports[key] = value }
|
|
|
393
291
|
// Provides declares what this instance can do for others (§11.1).
|
|
394
292
|
func (i *Inst) Provides(p Provided) { i.e.provides = append(i.e.provides, p) }
|
|
395
293
|
|
|
396
|
-
// Capability is WHICH provider this instance is bound to for name
|
|
397
|
-
// (§11.1), as a ref, or "" when nothing provides it.
|
|
398
|
-
//
|
|
399
|
-
// §11.1 says "the first is bound, and inst.capability(name) returns it",
|
|
400
|
-
// and §11.3 gives the case that needs it: a plugin that works without
|
|
401
|
-
// metrics and uses metrics when it is there has to be able to ask.
|
|
402
|
-
// Host.Capability answers with the live providers RANKED -- not with the
|
|
403
|
-
// one THIS instance took, and §11.4's reluctant rebinding makes those
|
|
404
|
-
// differ: a better-ranked newcomer tops the ranking while the consumer
|
|
405
|
-
// keeps what it had.
|
|
406
|
-
//
|
|
407
|
-
// A REF, not the instance: every port can return a string and a corpus
|
|
408
|
-
// entry can assert on one. The selection is REMEMBERED, because this is
|
|
409
|
-
// the instance asking; `remember` is false only for questions asked
|
|
410
|
-
// ABOUT an instance, where answering must not create a binding.
|
|
411
294
|
func (i *Inst) Capability(name string) string {
|
|
412
295
|
for _, req := range Requirements(i.e.Options) {
|
|
413
296
|
if req.Name == name {
|
|
@@ -424,17 +307,6 @@ type Position struct {
|
|
|
424
307
|
Innermost bool `json:"innermost"`
|
|
425
308
|
}
|
|
426
309
|
|
|
427
|
-
/* Position reports where this binding landed (§6.6) — the plugin-side
|
|
428
|
-
* counterpart to a host pin. Station found that a plugin can need to
|
|
429
|
-
* KNOW it is in the right place: its middleware must sit immediately
|
|
430
|
-
* outside the base transport or its "wire truth" events are fiction.
|
|
431
|
-
*
|
|
432
|
-
* THE HOST DOES NOT POLICE THIS; it just makes the fact available. A
|
|
433
|
-
* plugin that requires a position it did not get fails loudly rather
|
|
434
|
-
* than reporting nonsense — and that is the plugin's call, because only
|
|
435
|
-
* it knows what its position means. Verification tells a plugin it was
|
|
436
|
-
* misplaced; a pin (§7) stops the misplacement from being expressible at
|
|
437
|
-
* all. The two are not substitutes. */
|
|
438
310
|
func (i *Inst) Position(point string) (Position, error) {
|
|
439
311
|
return i.h.PositionOf(i.e.Ref, point)
|
|
440
312
|
}
|
|
@@ -454,13 +326,6 @@ func (i *Inst) Nest(nestopts HostOptions) (*Host, error) {
|
|
|
454
326
|
return inner, nil
|
|
455
327
|
}
|
|
456
328
|
|
|
457
|
-
// AutoTag is EXPLICIT (§4 rule 3). `Declare("stripe", {Tag: "?"})`
|
|
458
|
-
// assigns the LOWEST UNUSED POSITIVE INTEGER tag and returns the
|
|
459
|
-
// assigned pair. Without `"?"`, a collision is an error.
|
|
460
|
-
//
|
|
461
|
-
// It needs a host because it must know what is already declared, which
|
|
462
|
-
// is why it cannot live in the pure `ref` section — the correction P1.7
|
|
463
|
-
// made to §15.3.
|
|
464
329
|
func (h *Host) AutoTag(name string) (string, error) {
|
|
465
330
|
for n := 1; ; n++ {
|
|
466
331
|
cand, err := FormatRef(name, itoa(n))
|
|
@@ -558,14 +423,6 @@ func (h *Host) declare(ref string, spec DeclareSpec) (*Live, error) {
|
|
|
558
423
|
return e, nil
|
|
559
424
|
}
|
|
560
425
|
|
|
561
|
-
// HostDeclare is §9.1's host-owned path: a host that reserves a name
|
|
562
|
-
// MUST still be able to declare the instance it reserved.
|
|
563
|
-
//
|
|
564
|
-
// THE BOUNDARY IS BY METHOD, NOT BY CALLER, and that is a real limit: no
|
|
565
|
-
// language here can tell the embedding host from a plugin holding the
|
|
566
|
-
// same host object. What reservation protects is CONFIGURATION —
|
|
567
|
-
// documents, overlays, `VOXGIG_PLUGIN_*`, construction options and
|
|
568
|
-
// ordinary Declare/Load/Options — and all of that still checks.
|
|
569
426
|
func (h *Host) HostDeclare(ref string, spec DeclareSpec) (*Live, error) {
|
|
570
427
|
leave, err := h.enter()
|
|
571
428
|
if nil != err {
|
|
@@ -602,11 +459,6 @@ func (h *Host) load(ref string, spec DeclareSpec) (*Live, error) {
|
|
|
602
459
|
}
|
|
603
460
|
e.Status = StatusLoaded
|
|
604
461
|
|
|
605
|
-
// AT LOAD, and before anything runs: a cycle through
|
|
606
|
-
// restart-causing requirements does not settle, and the only safe
|
|
607
|
-
// time to report a non-terminating reconcile is before it starts
|
|
608
|
-
// (§11.3). `provides` is populated by `define`, which has just run,
|
|
609
|
-
// so this is the first moment the graph is complete.
|
|
610
462
|
if err := CheckCycle(h.graphnodes()); nil != err {
|
|
611
463
|
e.Status = StatusFailed
|
|
612
464
|
return nil, err
|
|
@@ -614,8 +466,6 @@ func (h *Host) load(ref string, spec DeclareSpec) (*Live, error) {
|
|
|
614
466
|
return e, nil
|
|
615
467
|
}
|
|
616
468
|
|
|
617
|
-
// graphnodes is the requirement graph as plain data, for the pure
|
|
618
|
-
// detector.
|
|
619
469
|
func (h *Host) graphnodes() []DependNode {
|
|
620
470
|
out := []DependNode{}
|
|
621
471
|
for _, r := range sortedkeys(h.inst) {
|
|
@@ -665,8 +515,6 @@ func (h *Host) activate(ref string) (*Live, error) {
|
|
|
665
515
|
}
|
|
666
516
|
}
|
|
667
517
|
|
|
668
|
-
// A declared requirement that is not live means `pending`:
|
|
669
|
-
// activation is a STANDING REQUEST, not a one-shot event.
|
|
670
518
|
if unmet := h.unmetof(e); 0 < len(unmet) {
|
|
671
519
|
e.unmet = unmet
|
|
672
520
|
e.Status = StatusPending
|
|
@@ -715,12 +563,6 @@ func (h *Host) deactivate(ref string) (*Live, error) {
|
|
|
715
563
|
}
|
|
716
564
|
|
|
717
565
|
if StatusPending == e.Status {
|
|
718
|
-
// DEACTIVATING A PENDING INSTANCE RUNS NO CALLBACK (§5.2). It
|
|
719
|
-
// never reached activate, so it holds no scope and no live
|
|
720
|
-
// bindings; running the definition's deactivate there would be
|
|
721
|
-
// teardown without matching setup, which plugins are not written
|
|
722
|
-
// to survive and which could fail an instance that had done
|
|
723
|
-
// nothing wrong. It cannot fail.
|
|
724
566
|
e.Status = StatusLoaded
|
|
725
567
|
e.unmet = []string{}
|
|
726
568
|
return e, nil
|
|
@@ -788,10 +630,6 @@ func (h *Host) unload(ref string) error {
|
|
|
788
630
|
return nil
|
|
789
631
|
}
|
|
790
632
|
|
|
791
|
-
// Ready runs the whole forward path in one call (§5.1). §15.2's verb
|
|
792
|
-
// list omits this; §5.1 defines it and §15.3's `declare` row requires
|
|
793
|
-
// the corpus to pin it, so the list was incomplete rather than excluding
|
|
794
|
-
// it (DOCS.md §4.2).
|
|
795
633
|
func (h *Host) Ready(ref string) (*Live, error) {
|
|
796
634
|
leave, err := h.enter()
|
|
797
635
|
if nil != err {
|
|
@@ -819,20 +657,6 @@ func (h *Host) ready(ref string) (*Live, error) {
|
|
|
819
657
|
return h.activate(r)
|
|
820
658
|
}
|
|
821
659
|
|
|
822
|
-
// unwind: bindings go live only when activation succeeds (§8.1), so the
|
|
823
|
-
// teardown is the exact inverse: reverse order, always.
|
|
824
|
-
// unwind runs the scope in reverse and returns the errors it raised.
|
|
825
|
-
// §8.3: "A failing release does not stop the rest. Every entry runs, in
|
|
826
|
-
// reverse order, whatever any of them does; the errors are collected and
|
|
827
|
-
// raised as one `plugin_release_failed`."
|
|
828
|
-
//
|
|
829
|
-
// A Go release is `func()` and cannot return an error, so it signals
|
|
830
|
-
// failure by PANICKING — which is what a Go author's `defer f.Close()`
|
|
831
|
-
// wrapper does when it has nowhere to put the error, and which is
|
|
832
|
-
// recovered here rather than taking the host down.
|
|
833
|
-
// A selection belongs to ONE activation (§11.4). Leaving `live` by any
|
|
834
|
-
// door drops it, so the next activation ranks afresh — keeping it would
|
|
835
|
-
// make a consumer prefer a provider it never actually ran against.
|
|
836
660
|
func (h *Host) unwind(e *Live) []string {
|
|
837
661
|
e.selected = map[string]string{}
|
|
838
662
|
errors := []string{}
|
|
@@ -867,13 +691,6 @@ func (h *Host) releasecheck(e *Live, errors []string) error {
|
|
|
867
691
|
map[string]any{"ref": e.Ref, "cause": errors})
|
|
868
692
|
}
|
|
869
693
|
|
|
870
|
-
/* unmetof: A REQUIREMENT IS ON A CAPABILITY, not on a ref (§11.1) — it
|
|
871
|
-
* is a dependency on something that can do the job, and which instance
|
|
872
|
-
* is doing it is exactly the configuration detail a plugin must not care
|
|
873
|
-
* about. A bare string is shorthand for `{name}`.
|
|
874
|
-
*
|
|
875
|
-
* A ref satisfies too, because a host that genuinely needs a specific
|
|
876
|
-
* instance should not have to invent a capability for it. */
|
|
877
694
|
func (h *Host) unmetof(e *Live) []string {
|
|
878
695
|
out := []string{}
|
|
879
696
|
for _, r := range Requirements(e.Options) {
|
|
@@ -887,20 +704,6 @@ func (h *Host) unmetof(e *Live) []string {
|
|
|
887
704
|
return out
|
|
888
705
|
}
|
|
889
706
|
|
|
890
|
-
/* boundproviders: the instance currently SELECTED for each of this one's
|
|
891
|
-
* restart-causing requirements. A BINDING IS TO AN INSTANCE, not to a
|
|
892
|
-
* capability (§11.1), and that is what decides behaviour when the bound
|
|
893
|
-
* provider leaves while another match remains: the selected one going
|
|
894
|
-
* away restarts a `static` consumer even though a survivor is available.
|
|
895
|
-
* It is not silently re-pointed — `static` is the plugin saying in
|
|
896
|
-
* writing that it cannot survive a provider swap, and a survivor being
|
|
897
|
-
* available does not make the swap survivable. */
|
|
898
|
-
// chosen is §11.4's always-reluctant selection, and the ONE place a
|
|
899
|
-
// provider is picked for a live instance. If this instance already
|
|
900
|
-
// selected a provider for `req` and that provider is STILL a candidate,
|
|
901
|
-
// it keeps it — a better-ranked newcomer does not take it. `remember`
|
|
902
|
-
// is false for the questions asked ABOUT an instance rather than BY it:
|
|
903
|
-
// introspection must not create a binding.
|
|
904
707
|
func (h *Host) chosen(e *Live, req Required, remember bool) string {
|
|
905
708
|
cands := h.providersof(req)
|
|
906
709
|
if 0 == len(cands) {
|
|
@@ -945,24 +748,6 @@ func (h *Host) consumersof(ref string) []string {
|
|
|
945
748
|
return out
|
|
946
749
|
}
|
|
947
750
|
|
|
948
|
-
// holdersof answers §11.3's `hold` question, which is a DIFFERENT
|
|
949
|
-
// question from the cascade's — and reading it off `consumersof`
|
|
950
|
-
// answered the cascade's.
|
|
951
|
-
//
|
|
952
|
-
// The cascade wants the edges that RESTART (mandatory-static and
|
|
953
|
-
// optional-static), because a restart is what it performs. `hold` says
|
|
954
|
-
// "deactivating a REQUIRED instance is `plugin_dependency_held`", and
|
|
955
|
-
// required is cardinality: GatesActivation, not RestartsOnLoss. The two
|
|
956
|
-
// sets differ in both directions and each difference was a real bug.
|
|
957
|
-
//
|
|
958
|
-
// A MANDATORY-DYNAMIC consumer was excluded, so the strictest policy
|
|
959
|
-
// let a provider go that a live consumer could not do without —
|
|
960
|
-
// `dynamic` promises survival of a SWAP, and under `hold` there is no
|
|
961
|
-
// swap, so the consumer falls back to `pending`.
|
|
962
|
-
//
|
|
963
|
-
// An OPTIONAL-STATIC consumer was included, so `hold` refused a
|
|
964
|
-
// deactivation on behalf of an instance that had said in writing it
|
|
965
|
-
// does not need the thing.
|
|
966
751
|
func (h *Host) holdersof(ref string) []string {
|
|
967
752
|
out := []string{}
|
|
968
753
|
for _, r := range sortedkeys(h.inst) {
|
|
@@ -1005,19 +790,6 @@ func (h *Host) providersof(req Required) []Candidate {
|
|
|
1005
790
|
return ResolveCapability(req, cands)
|
|
1006
791
|
}
|
|
1007
792
|
|
|
1008
|
-
/* CONSUMERS GO DOWN FIRST, NOT AFTERWARDS (§11.3).
|
|
1009
|
-
*
|
|
1010
|
-
* The cascade is part of the provider's own deactivation and runs BEFORE
|
|
1011
|
-
* the provider's `deactivate` callback and scope unwind, so a consumer's
|
|
1012
|
-
* teardown can still call the thing it depends on — flushing a buffer to
|
|
1013
|
-
* the store it is about to lose is exactly what a `deactivate` callback
|
|
1014
|
-
* is for, and a cascade that fired after the provider was already gone
|
|
1015
|
-
* would make that impossible.
|
|
1016
|
-
*
|
|
1017
|
-
* Order: consumers deepest-first, then the provider. `Unload` and
|
|
1018
|
-
* `Close` inherit it, UNDER EITHER DEPENDENCY POLICY, which is what
|
|
1019
|
-
* makes apply's reverse-load-order teardown safe even when a document
|
|
1020
|
-
* happens to list a consumer before its provider. */
|
|
1021
793
|
func (h *Host) cascade(provider *Live, seen map[string]bool) {
|
|
1022
794
|
if seen[provider.Ref] {
|
|
1023
795
|
return
|
|
@@ -1045,16 +817,6 @@ func (h *Host) cascade(provider *Live, seen map[string]bool) {
|
|
|
1045
817
|
}
|
|
1046
818
|
}
|
|
1047
819
|
|
|
1048
|
-
/* held is A GUARD ON AD-HOC DEACTIVATION, NOT ON COORDINATED TEARDOWN.
|
|
1049
|
-
* In a bulk operation that is removing the holders too — `Close()`, or
|
|
1050
|
-
* an `Apply` plan whose own steps deactivate them — it is suspended for
|
|
1051
|
-
* exactly those holders, and the teardown still runs consumers before
|
|
1052
|
-
* providers.
|
|
1053
|
-
*
|
|
1054
|
-
* Otherwise `Close()` under `hold` would raise on the first provider it
|
|
1055
|
-
* reached whenever a document happened to list a consumer after it,
|
|
1056
|
-
* which is the policy refusing to allow the one teardown it has no
|
|
1057
|
-
* reason to object to. */
|
|
1058
820
|
func (h *Host) held(e *Live) error {
|
|
1059
821
|
if "hold" != h.dependency {
|
|
1060
822
|
return nil
|
|
@@ -1071,13 +833,6 @@ func (h *Host) held(e *Live) error {
|
|
|
1071
833
|
map[string]any{"ref": e.Ref, "holders": holders})
|
|
1072
834
|
}
|
|
1073
835
|
|
|
1074
|
-
/* reconcile is EAGER: run to a fixed point rather than scheduling.
|
|
1075
|
-
*
|
|
1076
|
-
* Two directions, and both are the reason `pending` exists. Activation
|
|
1077
|
-
* is a STANDING REQUEST, not a one-shot event: a pending instance whose
|
|
1078
|
-
* requirement arrives activates without being asked again, and a LIVE
|
|
1079
|
-
* instance whose requirement is lost goes back to pending —
|
|
1080
|
-
* recursively, through its own consumers. */
|
|
1081
836
|
func (h *Host) reconcile() {
|
|
1082
837
|
rounds := 0
|
|
1083
838
|
for moved := true; moved; {
|
|
@@ -1103,13 +858,6 @@ func (h *Host) reconcile() {
|
|
|
1103
858
|
if 0 == len(lost) {
|
|
1104
859
|
continue
|
|
1105
860
|
}
|
|
1106
|
-
// POLICY IS PER REQUIREMENT, not per instance (§11.3): only
|
|
1107
|
-
// the definition that has the requirement knows what it can
|
|
1108
|
-
// cope with, and one instance may hold both a `static` and a
|
|
1109
|
-
// `dynamic` one. A `dynamic` requirement whose provider is
|
|
1110
|
-
// gone leaves the consumer LIVE and notified; it is a
|
|
1111
|
-
// statement about surviving a swap, so it does not restart
|
|
1112
|
-
// here.
|
|
1113
861
|
restarts := false
|
|
1114
862
|
for _, q := range lost {
|
|
1115
863
|
if RestartsOnLoss(q) {
|
|
@@ -1155,13 +903,6 @@ func (h *Host) reconcile() {
|
|
|
1155
903
|
// --- ordering --------------------------------------------------------
|
|
1156
904
|
|
|
1157
905
|
func (h *Host) Order(point string) ([]string, error) {
|
|
1158
|
-
// Sorted by declaration SEQUENCE, which is what makes §7's sort
|
|
1159
|
-
// deterministic here. §7 breaks ties by `pos`, and two instances CAN
|
|
1160
|
-
// share one — `Declare` defaults `Pos` to the registry size, so an
|
|
1161
|
-
// unload followed by a fresh declare reuses a surviving instance's.
|
|
1162
|
-
// Past that the canonical fell through to its map's insertion order;
|
|
1163
|
-
// a Go map has none, and sorting by REF gave the opposite answer.
|
|
1164
|
-
// `Seq` IS that order, made explicit — in the canonical too.
|
|
1165
906
|
refs := sortedkeys(h.inst)
|
|
1166
907
|
sort.SliceStable(refs, func(i, j int) bool {
|
|
1167
908
|
return h.inst[refs[i]].Seq < h.inst[refs[j]].Seq
|
|
@@ -1348,15 +1089,6 @@ func (h *Host) Capability(name string) []string {
|
|
|
1348
1089
|
|
|
1349
1090
|
// --- documents -------------------------------------------------------
|
|
1350
1091
|
|
|
1351
|
-
// Apply is §9.6: "load what is missing, UNLOAD WHAT IS GONE, patch what
|
|
1352
|
-
// changed, and move activation state to match", with the stated
|
|
1353
|
-
// ordering — "deactivations and unloads first (reverse load order), then
|
|
1354
|
-
// loads, then activations in load order".
|
|
1355
|
-
//
|
|
1356
|
-
// FOUR PHASES, NOT ONE INTERLEAVED LOOP. An earlier draft walked the
|
|
1357
|
-
// document once, which never looked at instances the new document had
|
|
1358
|
-
// DROPPED — so an integration removed from a config reload stayed live
|
|
1359
|
-
// with its bindings and resources.
|
|
1360
1092
|
func (h *Host) Apply(doc any, profile string) error {
|
|
1361
1093
|
leave, err := h.enter()
|
|
1362
1094
|
if nil != err {
|
|
@@ -1426,13 +1158,6 @@ func (h *Host) apply(doc any, profile string) error {
|
|
|
1426
1158
|
for _, ref := range want {
|
|
1427
1159
|
ent := norm.Instance[ref]
|
|
1428
1160
|
pos := ent.Pos
|
|
1429
|
-
// NO OPTIONS HERE, and the omission is the fix rather than an
|
|
1430
|
-
// oversight. `declare` ADOPTS the options map it is handed as
|
|
1431
|
-
// the instance's own, so passing the resolved map made target
|
|
1432
|
-
// and source THE SAME MAP in the refill below — which cleared
|
|
1433
|
-
// its own source and left a first-time instance with no options
|
|
1434
|
-
// at all. `declare` makes its own empty map and the refill fills
|
|
1435
|
-
// it, so both paths are now one path.
|
|
1436
1161
|
if _, err := h.declare(ref, DeclareSpec{
|
|
1437
1162
|
Order: ent.Order, Pos: &pos}); nil != err {
|
|
1438
1163
|
return err
|
|
@@ -1450,9 +1175,6 @@ func (h *Host) apply(doc any, profile string) error {
|
|
|
1450
1175
|
h.inst[ref].Pos = ent.Pos
|
|
1451
1176
|
}
|
|
1452
1177
|
|
|
1453
|
-
// --- phase 3: loads, in load order -------------------------------
|
|
1454
|
-
// ONLY THE EAGER, ACTIVE ONES: "a document of twenty lazy instances
|
|
1455
|
-
// is twenty map entries and no executed code" (§9.6).
|
|
1456
1178
|
for _, ref := range want {
|
|
1457
1179
|
if wantlive(ref) {
|
|
1458
1180
|
if _, err := h.load(ref, DeclareSpec{}); nil != err {
|
|
@@ -1524,8 +1246,6 @@ func (h *Host) setoptions(ref string, patch map[string]any) error {
|
|
|
1524
1246
|
return nil
|
|
1525
1247
|
}
|
|
1526
1248
|
|
|
1527
|
-
// refill empties the target and refills it, so callers holding the
|
|
1528
|
-
// reference see the new values.
|
|
1529
1249
|
func refill(target map[string]any, source map[string]any) {
|
|
1530
1250
|
for k := range target {
|
|
1531
1251
|
delete(target, k)
|
|
@@ -1556,9 +1276,6 @@ func (h *Host) Close() error {
|
|
|
1556
1276
|
}
|
|
1557
1277
|
|
|
1558
1278
|
func (h *Host) closeall() error {
|
|
1559
|
-
// A bulk teardown removing the holders too, so `hold` is suspended
|
|
1560
|
-
// for exactly those holders (§11.3) - while the consumers-first
|
|
1561
|
-
// cascade still runs, which is the half that matters.
|
|
1562
1279
|
h.coordinated = true
|
|
1563
1280
|
defer func() { h.coordinated = false }()
|
|
1564
1281
|
refs := sortedkeys(h.inst)
|
|
@@ -1570,9 +1287,6 @@ func (h *Host) closeall() error {
|
|
|
1570
1287
|
return nil
|
|
1571
1288
|
}
|
|
1572
1289
|
|
|
1573
|
-
// PositionOf is the same record §6.6 gives a plugin about itself,
|
|
1574
|
-
// reachable from outside for the corpus. A plugin asks via
|
|
1575
|
-
// `inst.Position(point)`.
|
|
1576
1290
|
func (h *Host) PositionOf(ref string, point string) (Position, error) {
|
|
1577
1291
|
e := h.inst[canon(ref)]
|
|
1578
1292
|
if nil == e {
|
|
@@ -1586,10 +1300,6 @@ func (h *Host) PositionOf(ref string, point string) (Position, error) {
|
|
|
1586
1300
|
index := indexof(ranked, e.Ref)
|
|
1587
1301
|
return Position{
|
|
1588
1302
|
Index: index, Count: len(ranked),
|
|
1589
|
-
// §6.2 composes b1(b2(b3(base))) with the FIRST binding
|
|
1590
|
-
// OUTERMOST, so these are not index 0 and index count-1 the
|
|
1591
|
-
// other way round. Getting this backwards is the exact error the
|
|
1592
|
-
// positional pin vocabulary exists to prevent.
|
|
1593
1303
|
Outermost: 0 == index,
|
|
1594
1304
|
Innermost: index == len(ranked)-1,
|
|
1595
1305
|
}, nil
|
|
@@ -1,22 +1,6 @@
|
|
|
1
1
|
// VENDORED: @voxgig/plugin 0.1.6 (go/plugin/order.go)
|
|
2
|
-
// Source: https://github.com/voxgig/plugin @
|
|
2
|
+
// Source: https://github.com/voxgig/plugin @ 43acbf266b0dbcf52e5ab5463d85c822da9cd234 [tag: sdk-20260925-1316-0]
|
|
3
3
|
// License: MIT (c) voxgig - see repository LICENSE. Do not edit: resync from upstream.
|
|
4
|
-
/* Ordering (§7) — one rule, one place.
|
|
5
|
-
*
|
|
6
|
-
* sdkgen grew two special cases in `makeOptions` (`test`, then
|
|
7
|
-
* `station`) and the third was not far off. This sort is the whole
|
|
8
|
-
* replacement, and the tiers are in this order for a reason:
|
|
9
|
-
*
|
|
10
|
-
* 1 constraints before/after edges, by ref or by name
|
|
11
|
-
* 2 bands integer, lower first, default 0
|
|
12
|
-
* 3 declaration ties break by `pos`
|
|
13
|
-
*
|
|
14
|
-
* CONSTRAINTS BEAT BANDS precisely so the correct tool wins when both
|
|
15
|
-
* are present. A band expresses a genuine cross-cutting layer; a
|
|
16
|
-
* constraint expresses a relationship between two specific things; and a
|
|
17
|
-
* band chosen by trial and error to fix an ordering bug is a bug wearing
|
|
18
|
-
* a number. */
|
|
19
|
-
|
|
20
4
|
package plugin
|
|
21
5
|
|
|
22
6
|
import (
|
|
@@ -30,10 +14,6 @@ type Binding struct {
|
|
|
30
14
|
Order *OrderBlock `json:"order,omitempty"`
|
|
31
15
|
}
|
|
32
16
|
|
|
33
|
-
// Pin is where a host has pinned a binding. Positional, not ordinal:
|
|
34
|
-
// §6.2 composes b1(b2(b3(base))) with the FIRST binding OUTERMOST, so
|
|
35
|
-
// `first` and `innermost` are opposites, and a pin spelled in sort terms
|
|
36
|
-
// would be read backwards by exactly the people it protects.
|
|
37
17
|
type Pin map[string]string
|
|
38
18
|
|
|
39
19
|
func ResolveOrder(bindings []Binding, pin Pin) ([]string, error) {
|
|
@@ -135,9 +115,6 @@ func band(b Binding) int {
|
|
|
135
115
|
return *b.Order.Band
|
|
136
116
|
}
|
|
137
117
|
|
|
138
|
-
// targets: matching is by REF, or by NAME across all of that
|
|
139
|
-
// definition's instances (§7) — which is the whole reason the two
|
|
140
|
-
// spellings exist.
|
|
141
118
|
func targets(spec OrderRef, nodes []Binding) []string {
|
|
142
119
|
hit := []string{}
|
|
143
120
|
// A list fans out to the UNION of what each spelling names, so
|
|
@@ -179,19 +156,6 @@ func seen(hit []string, ref string) bool {
|
|
|
179
156
|
return false
|
|
180
157
|
}
|
|
181
158
|
|
|
182
|
-
/* A PIN IS NOT A CONSTRAINT (§7).
|
|
183
|
-
*
|
|
184
|
-
* Constraints and bands are negotiable by definition — they are what
|
|
185
|
-
* plugins and documents say they want, and the sort's job is to satisfy
|
|
186
|
-
* them all. A pin is the host stating a structural invariant of its own
|
|
187
|
-
* architecture, which is a different kind of claim and must not lose a
|
|
188
|
-
* tie to a document.
|
|
189
|
-
*
|
|
190
|
-
* So a pin PLACES the binding at the named end, and an ordering that
|
|
191
|
-
* would move it away is `plugin_order_pinned` — rejected, not honoured
|
|
192
|
-
* into a broken wrap. Station's transport adapter must sit immediately
|
|
193
|
-
* outside the base transport; an `order` list that moves it has to be an
|
|
194
|
-
* error rather than a preference. */
|
|
195
159
|
func applypin(order []string, edges map[string][]string, pin Pin) ([]string, error) {
|
|
196
160
|
if nil == pin {
|
|
197
161
|
return order, nil
|
|
@@ -211,10 +175,6 @@ func applypin(order []string, edges map[string][]string, pin Pin) ([]string, err
|
|
|
211
175
|
continue
|
|
212
176
|
}
|
|
213
177
|
|
|
214
|
-
// `first`/`outermost` is index 0; `last`/`innermost` is the end.
|
|
215
|
-
// §6.2 makes the first chain binding outermost, which is why the
|
|
216
|
-
// vocabulary is positional and why the two spellings pair this
|
|
217
|
-
// way.
|
|
218
178
|
wantfirst := "first" == want || "outermost" == want
|
|
219
179
|
ref := out[idx]
|
|
220
180
|
out = append(out[:idx], out[idx+1:]...)
|