@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,21 +1,6 @@
|
|
|
1
1
|
// VENDORED: @voxgig/plugin 0.1.6 (typescript/src/Host.ts)
|
|
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),
|
|
5
|
-
* and 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,
|
|
10
|
-
* never interleaved; a transition triggered from inside a lifecycle
|
|
11
|
-
* callback is `plugin_reentrant`. A hard rule, because it is the only
|
|
12
|
-
* way the semantics can be identical in Go, in Ruby and in
|
|
13
|
-
* single-threaded 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
4
|
|
|
20
5
|
import { Status, Instance, OrderBlock, fail } from './Types'
|
|
21
6
|
import { canonref, tryref, parseref, formatref } from './Ref'
|
|
@@ -38,15 +23,6 @@ export type HostOptions = {
|
|
|
38
23
|
defaults?: { [name: string]: any }
|
|
39
24
|
profile?: string
|
|
40
25
|
points?: { [point: string]: PointSpec }
|
|
41
|
-
/** §11.3. `restart` (the default) treats provider replacement as an
|
|
42
|
-
* ordinary runtime operation: deactivate the old store, activate the
|
|
43
|
-
* new one, and everything that depended on it rides through, having
|
|
44
|
-
* released the old one's resources in between.
|
|
45
|
-
*
|
|
46
|
-
* `hold` is the strict reading — deactivating a required instance is
|
|
47
|
-
* `plugin_dependency_held`, naming the holders. NOT the default,
|
|
48
|
-
* because a station that cannot swap a provider without a restart
|
|
49
|
-
* has lost the argument for having a plugin system. */
|
|
50
26
|
dependency?: 'restart' | 'hold'
|
|
51
27
|
}
|
|
52
28
|
|
|
@@ -59,23 +35,8 @@ type Live = {
|
|
|
59
35
|
options: any
|
|
60
36
|
state: any
|
|
61
37
|
order?: OrderBlock
|
|
62
|
-
/** §11.4's ALWAYS-RELUCTANT rebinding, made concrete: the provider
|
|
63
|
-
* ref this instance's activation actually selected, per requirement
|
|
64
|
-
* name. "A satisfied requirement is not re-bound while it stays
|
|
65
|
-
* satisfied" is a statement about a REMEMBERED choice — recomputing
|
|
66
|
-
* `providersof(r)[0]` on every question silently re-points a live
|
|
67
|
-
* consumer at any better-ranked newcomer, and then losing the
|
|
68
|
-
* provider it was really using does not restart it. Captured at
|
|
69
|
-
* activate, cleared on the way out. */
|
|
70
38
|
selected: { [name: string]: string }
|
|
71
|
-
/** §9.6's `active: false` — "declares it and bars it: it appears in
|
|
72
|
-
* `host.list()`, and `activate` and `ready` on it fail rather than
|
|
73
|
-
* quietly doing nothing". THE BAR OUTLIVES THE APPLY THAT SET IT: a
|
|
74
|
-
* flag consulted only while `apply` ran let a later direct `ready`
|
|
75
|
-
* bring the instance live, which is the config-switch it exists to
|
|
76
|
-
* be silently ignored. */
|
|
77
39
|
barred?: boolean
|
|
78
|
-
/** Requirements this instance declared but has not been given. */
|
|
79
40
|
unmet: string[]
|
|
80
41
|
/** Resources the instance scope holds, newest last — unwound in
|
|
81
42
|
* REVERSE, because that is the only order in which teardown mirrors
|
|
@@ -85,7 +46,6 @@ type Live = {
|
|
|
85
46
|
* (§8.1). Holding them until then is what makes a failed activate
|
|
86
47
|
* leave nothing behind. */
|
|
87
48
|
bindings: Bound[]
|
|
88
|
-
/** Set when this instance is itself a host (§6.5). */
|
|
89
49
|
inner?: any
|
|
90
50
|
/** Declared in `define`, and VISIBLE while merely `loaded` (§11):
|
|
91
51
|
* they are data, and hiding them would make the loaded state useless
|
|
@@ -116,17 +76,10 @@ export function makehost(options?: HostOptions) {
|
|
|
116
76
|
let seqn = 0
|
|
117
77
|
let open = 0
|
|
118
78
|
let intransition = false
|
|
119
|
-
/** WHICH callback is running, not merely that one is. §8.1 puts
|
|
120
|
-
* resource capture in `activate` and §8.3 says `inst.release` outside
|
|
121
|
-
* `activate` is `plugin_release_scope` — and `intransition` alone
|
|
122
|
-
* cannot tell `activate` from `define`, so it admitted an acquire in
|
|
123
|
-
* `define` whose scope `unload` would never unwind. */
|
|
124
79
|
let phase: string | null = null
|
|
125
80
|
|
|
126
81
|
// --- observation -------------------------------------------------
|
|
127
82
|
|
|
128
|
-
/** Introspection NEVER advances the state (§5.2). A status page must
|
|
129
|
-
* not be a way to accidentally import twenty packages. */
|
|
130
83
|
const list = (): { [ref: string]: Status } => {
|
|
131
84
|
const out: { [ref: string]: Status } = {}
|
|
132
85
|
for (const r of Object.keys(inst).sort()) out[r] = inst[r].status
|
|
@@ -175,12 +128,6 @@ export function makehost(options?: HostOptions) {
|
|
|
175
128
|
fn(api(e))
|
|
176
129
|
}
|
|
177
130
|
catch (err: any) {
|
|
178
|
-
// §12: `plugin_define_failed` and its three siblings are "a
|
|
179
|
-
// callback raised; wraps the cause". AN ERROR THAT ALREADY
|
|
180
|
-
// CARRIES A CODE KEEPS IT — the code is the error's identity, and
|
|
181
|
-
// a plugin that raised `store_unreachable` must not have it
|
|
182
|
-
// rewritten. Only a code-less error is wrapped, which is the
|
|
183
|
-
// ordinary case for a callback that let a library error escape.
|
|
184
131
|
if (err && err.code) throw err
|
|
185
132
|
fail('plugin_' + at + '_failed',
|
|
186
133
|
e.ref + ' raised in ' + at + ': ' + (err && err.message),
|
|
@@ -192,8 +139,6 @@ export function makehost(options?: HostOptions) {
|
|
|
192
139
|
}
|
|
193
140
|
}
|
|
194
141
|
|
|
195
|
-
/** What a definition's callbacks see. Deliberately not the internal
|
|
196
|
-
* record: a plugin that could reach `status` could also write it. */
|
|
197
142
|
function api(e: Live) {
|
|
198
143
|
return {
|
|
199
144
|
ref: e.ref,
|
|
@@ -212,23 +157,10 @@ export function makehost(options?: HostOptions) {
|
|
|
212
157
|
if ('activate' !== phase) {
|
|
213
158
|
fail('plugin_release_scope', 'release called outside activate')
|
|
214
159
|
}
|
|
215
|
-
// SYMMETRIC WITH `acquire`, and it has to be: `open` counts the
|
|
216
|
-
// resources CURRENTLY HELD, so an entry that is registered and
|
|
217
|
-
// then unwound must leave the count where it found it.
|
|
218
|
-
// Incrementing on registration and never decrementing made
|
|
219
|
-
// every `release` a permanent leak in the counter — invisible
|
|
220
|
-
// only because no corpus entry used `release` at all, which is
|
|
221
|
-
// the gap `resource/scope#release-counts` now closes.
|
|
222
160
|
let done = false
|
|
223
161
|
e.scope.push(() => { if (!done) { done = true; open -= 1; fn() } })
|
|
224
162
|
open += 1
|
|
225
163
|
},
|
|
226
|
-
/** The synthetic counter the driver owns, so "what is open" is
|
|
227
|
-
* data rather than an assertion each port words differently.
|
|
228
|
-
*
|
|
229
|
-
* Returns its own release, so a plugin can hand one back early.
|
|
230
|
-
* The scope still holds the entry and unwinding it twice is a
|
|
231
|
-
* no-op — releasing early must not make teardown wrong. */
|
|
232
164
|
acquire: (): (() => void) => {
|
|
233
165
|
// §8.1: resources are "acquired during `activate` — the scope's
|
|
234
166
|
// actual job". Same reason as `release` above.
|
|
@@ -243,17 +175,7 @@ export function makehost(options?: HostOptions) {
|
|
|
243
175
|
},
|
|
244
176
|
host: () => self,
|
|
245
177
|
|
|
246
|
-
/** Bind into a host point. Declared in `define`; the host inserts
|
|
247
|
-
* it only after `activate` returns successfully (§8.1), which is
|
|
248
|
-
* why a failing activate leaves no live binding behind. */
|
|
249
178
|
bind: (point: string, fn: any, band?: number) => {
|
|
250
|
-
// §12's `plugin_bind_scope`: "binding declared outside
|
|
251
|
-
// `define`". §8.1 puts binding declaration in `define` and
|
|
252
|
-
// insertion at a SUCCESSFUL activate, and the guard was the
|
|
253
|
-
// half that never got written — so a binding added from
|
|
254
|
-
// `activate` went live without being part of the loaded
|
|
255
|
-
// definition, and a deactivate/activate cycle appended it
|
|
256
|
-
// again. The code was in the table before anything raised it.
|
|
257
179
|
if ('define' !== phase) {
|
|
258
180
|
fail('plugin_bind_scope', 'bind called outside define: ' + point,
|
|
259
181
|
{ ref: e.ref, point })
|
|
@@ -264,61 +186,22 @@ export function makehost(options?: HostOptions) {
|
|
|
264
186
|
e.bindings.push({ ref: e.ref, point, fn, band: band || 0 })
|
|
265
187
|
},
|
|
266
188
|
|
|
267
|
-
/** Published for other plugins and for the application (§11). */
|
|
268
189
|
export: (key: string, value: any) => { e.exports[key] = value },
|
|
269
190
|
|
|
270
|
-
/** WHICH provider this instance is bound to for `name` (§11.1),
|
|
271
|
-
* as a ref, or undefined when nothing provides it.
|
|
272
|
-
*
|
|
273
|
-
* §11.1 says "the first is bound, and `inst.capability(name)`
|
|
274
|
-
* returns it", and §11.3 gives the case that needs it: a plugin
|
|
275
|
-
* that works without metrics and uses metrics when it is there
|
|
276
|
-
* has to be able to ask. Every port had `host.capability(name)`,
|
|
277
|
-
* which answers with the live providers RANKED — not with the one
|
|
278
|
-
* THIS instance actually took. §11.4's reluctant rebinding makes
|
|
279
|
-
* those differ: a better-ranked newcomer tops the ranking while
|
|
280
|
-
* the consumer keeps what it had.
|
|
281
|
-
*
|
|
282
|
-
* A REF, not the instance. `host.capability` answers in refs,
|
|
283
|
-
* every port can return a string, and a corpus entry can assert
|
|
284
|
-
* on one — an instance api is shaped differently in each and
|
|
285
|
-
* cannot be asserted at all.
|
|
286
|
-
*
|
|
287
|
-
* The selection is REMEMBERED, because this is the instance
|
|
288
|
-
* asking. `chosen(..., false)` is for questions asked ABOUT an
|
|
289
|
-
* instance, where answering must not create a binding. */
|
|
290
191
|
capability: (name: string): string | undefined => {
|
|
291
192
|
const req = requirements(e.options).find((r) => r.name === name)
|
|
292
193
|
if (undefined === req) return undefined
|
|
293
194
|
return chosen(e, req, true)
|
|
294
195
|
},
|
|
295
196
|
|
|
296
|
-
/** What this instance can do for others (§11.1). */
|
|
297
197
|
provides: (p: Provided) => { e.provides.push(p) },
|
|
298
198
|
|
|
299
|
-
/** Where this binding landed (§6.6) — the plugin-side counterpart
|
|
300
|
-
* to a host pin. Station found that a plugin can need to KNOW it
|
|
301
|
-
* is in the right place: its middleware must sit immediately
|
|
302
|
-
* outside the base transport or its "wire truth" events are
|
|
303
|
-
* fiction.
|
|
304
|
-
*
|
|
305
|
-
* THE HOST DOES NOT POLICE THIS; it just makes the fact
|
|
306
|
-
* available. A plugin that requires a position it did not get
|
|
307
|
-
* fails loudly rather than reporting nonsense — and that is the
|
|
308
|
-
* plugin's call, because only it knows what its position means.
|
|
309
|
-
* Verification tells a plugin it was misplaced; a pin (§7) stops
|
|
310
|
-
* the misplacement from being expressible at all. The two are not
|
|
311
|
-
* substitutes. */
|
|
312
199
|
position: (point: string) => {
|
|
313
200
|
const ranked = order(point)
|
|
314
201
|
const index = ranked.indexOf(e.ref)
|
|
315
202
|
return {
|
|
316
203
|
index,
|
|
317
204
|
count: ranked.length,
|
|
318
|
-
// §6.2 composes b1(b2(b3(base))) with the FIRST binding
|
|
319
|
-
// OUTERMOST, so these are not index 0 and index count-1 the
|
|
320
|
-
// other way round. Getting this backwards is the exact error
|
|
321
|
-
// the positional pin vocabulary exists to prevent.
|
|
322
205
|
outermost: 0 === index,
|
|
323
206
|
innermost: index === ranked.length - 1,
|
|
324
207
|
}
|
|
@@ -341,13 +224,6 @@ export function makehost(options?: HostOptions) {
|
|
|
341
224
|
}
|
|
342
225
|
}
|
|
343
226
|
|
|
344
|
-
/** AUTO-TAGGING IS EXPLICIT (§4 rule 3). `declare('stripe', {tag:
|
|
345
|
-
* '?'})` assigns the LOWEST UNUSED POSITIVE INTEGER tag and returns
|
|
346
|
-
* the assigned pair. Without `'?'`, a collision is an error.
|
|
347
|
-
*
|
|
348
|
-
* It needs a host because it must know what is already declared,
|
|
349
|
-
* which is why it cannot live in the pure `ref` section — the
|
|
350
|
-
* correction P1.7 made to §15.3. */
|
|
351
227
|
function autotag(name: string): string {
|
|
352
228
|
for (let n = 1; ; n++) {
|
|
353
229
|
const cand = formatref(name, String(n))
|
|
@@ -403,7 +279,7 @@ export function makehost(options?: HostOptions) {
|
|
|
403
279
|
function load(ref: string, spec?: any): Live {
|
|
404
280
|
guard()
|
|
405
281
|
const e = declare(ref, spec)
|
|
406
|
-
if ('declared' !== e.status) return e
|
|
282
|
+
if ('declared' !== e.status) return e
|
|
407
283
|
if (spec && spec.options) e.options = spec.options
|
|
408
284
|
try {
|
|
409
285
|
run(e, 'define', 'define')
|
|
@@ -414,11 +290,6 @@ export function makehost(options?: HostOptions) {
|
|
|
414
290
|
}
|
|
415
291
|
e.status = 'loaded'
|
|
416
292
|
|
|
417
|
-
// AT LOAD, and before anything runs: a cycle through
|
|
418
|
-
// restart-causing requirements does not settle, and the only safe
|
|
419
|
-
// time to report a non-terminating reconcile is before it starts
|
|
420
|
-
// (§11.3). `provides` is populated by `define`, which has just run,
|
|
421
|
-
// so this is the first moment the graph is complete.
|
|
422
293
|
try { checkcycle(graphnodes()) }
|
|
423
294
|
catch (err: any) {
|
|
424
295
|
e.status = 'failed'
|
|
@@ -427,7 +298,6 @@ export function makehost(options?: HostOptions) {
|
|
|
427
298
|
return e
|
|
428
299
|
}
|
|
429
300
|
|
|
430
|
-
/** The requirement graph as plain data, for the pure detector. */
|
|
431
301
|
function graphnodes(): Node[] {
|
|
432
302
|
return Object.keys(inst).sort().map((r) => ({
|
|
433
303
|
ref: r,
|
|
@@ -439,22 +309,16 @@ export function makehost(options?: HostOptions) {
|
|
|
439
309
|
function activate(ref: string): Live {
|
|
440
310
|
guard()
|
|
441
311
|
const e = need(ref)
|
|
442
|
-
if ('live' === e.status) return e
|
|
312
|
+
if ('live' === e.status) return e
|
|
443
313
|
if ('failed' === e.status) {
|
|
444
314
|
fail('plugin_bad_state', 'instance has failed: ' + e.ref, { ref: e.ref })
|
|
445
315
|
}
|
|
446
|
-
// §9.6: `active: false` bars the instance from running, and the bar
|
|
447
|
-
// is on the INSTANCE rather than on the apply that set it. `ready`
|
|
448
|
-
// reaches this through `activate`, which is why one guard covers
|
|
449
|
-
// both verbs the design names.
|
|
450
316
|
if (e.barred) {
|
|
451
317
|
fail('plugin_inactive', 'instance is barred by active: false: ' + e.ref,
|
|
452
318
|
{ ref: e.ref })
|
|
453
319
|
}
|
|
454
320
|
if ('declared' === e.status) load(e.ref)
|
|
455
321
|
|
|
456
|
-
// A declared requirement that is not live means `pending`:
|
|
457
|
-
// activation is a STANDING REQUEST, not a one-shot event.
|
|
458
322
|
if (0 < unmetof(e).length) {
|
|
459
323
|
e.unmet = unmetof(e)
|
|
460
324
|
e.status = 'pending'
|
|
@@ -465,7 +329,6 @@ export function makehost(options?: HostOptions) {
|
|
|
465
329
|
run(e, 'activate', 'activate')
|
|
466
330
|
}
|
|
467
331
|
catch (err: any) {
|
|
468
|
-
// Unwind whatever the partial activation captured, in reverse.
|
|
469
332
|
unwind(e)
|
|
470
333
|
e.status = 'failed'
|
|
471
334
|
throw err
|
|
@@ -484,23 +347,11 @@ export function makehost(options?: HostOptions) {
|
|
|
484
347
|
const e = need(ref)
|
|
485
348
|
if ('loaded' === e.status || 'declared' === e.status) return e
|
|
486
349
|
|
|
487
|
-
// §5.2: `unload` is THE ONLY TRANSITION OUT OF `failed`. Falling
|
|
488
|
-
// through here ran the definition's `deactivate` on an instance that
|
|
489
|
-
// never completed activation and, if that callback happened to
|
|
490
|
-
// succeed, returned it to `loaded` — from where it could be
|
|
491
|
-
// activated again, which is precisely what `failed` exists to
|
|
492
|
-
// prevent.
|
|
493
350
|
if ('failed' === e.status) {
|
|
494
351
|
fail('plugin_bad_state', 'instance has failed: ' + e.ref, { ref: e.ref })
|
|
495
352
|
}
|
|
496
353
|
|
|
497
354
|
if ('pending' === e.status) {
|
|
498
|
-
// DEACTIVATING A PENDING INSTANCE RUNS NO CALLBACK (§5.2). It
|
|
499
|
-
// never reached activate, so it holds no scope and no live
|
|
500
|
-
// bindings; running the definition's deactivate there would be
|
|
501
|
-
// teardown without matching setup, which plugins are not written
|
|
502
|
-
// to survive and which could fail an instance that had done
|
|
503
|
-
// nothing wrong. It cannot fail.
|
|
504
355
|
e.status = 'loaded'
|
|
505
356
|
e.unmet = []
|
|
506
357
|
return e
|
|
@@ -534,13 +385,6 @@ export function makehost(options?: HostOptions) {
|
|
|
534
385
|
run(e, 'deactivate', 'deactivate')
|
|
535
386
|
}
|
|
536
387
|
catch (err: any) {
|
|
537
|
-
// §5.2: ANY failure during a transition lands the instance in
|
|
538
|
-
// `failed`, with the scope STILL FULLY UNWOUND. An earlier
|
|
539
|
-
// draft let the raise propagate straight out of `unload`,
|
|
540
|
-
// which left the instance `live` and its scope untouched —
|
|
541
|
-
// reporting a failure while leaking exactly the resources the
|
|
542
|
-
// failure was about, and leaving an instance whose bindings
|
|
543
|
-
// were never removed still participating in every point.
|
|
544
388
|
unwind(e)
|
|
545
389
|
e.status = 'failed'
|
|
546
390
|
throw err
|
|
@@ -558,10 +402,6 @@ export function makehost(options?: HostOptions) {
|
|
|
558
402
|
}
|
|
559
403
|
|
|
560
404
|
function ready(ref: string): Live {
|
|
561
|
-
// Runs the whole forward path in one call (§5.1). §15.2's verb list
|
|
562
|
-
// omits this; §5.1 defines it and §15.3's `declare` row requires the
|
|
563
|
-
// corpus to pin it, so the list was incomplete rather than
|
|
564
|
-
// excluding it (DOCS.md §4.2).
|
|
565
405
|
guard()
|
|
566
406
|
const r = canonref(ref)
|
|
567
407
|
if (!inst[r]) declare(r)
|
|
@@ -569,15 +409,6 @@ export function makehost(options?: HostOptions) {
|
|
|
569
409
|
return activate(r)
|
|
570
410
|
}
|
|
571
411
|
|
|
572
|
-
/** Bindings go live only when activation succeeds (§8.1), so the
|
|
573
|
-
* teardown is the exact inverse: reverse order, always.
|
|
574
|
-
*
|
|
575
|
-
* Returns the errors the scope raised. §8.3: "A failing release does
|
|
576
|
-
* not stop the rest. Every entry runs, in reverse order, whatever any
|
|
577
|
-
* of them does; the errors are collected and raised as one
|
|
578
|
-
* `plugin_release_failed`." An earlier draft swallowed them, which
|
|
579
|
-
* left the host reporting a clean `loaded` for an instance that may
|
|
580
|
-
* still be holding what it failed to give back. */
|
|
581
412
|
/** A selection belongs to ONE activation (§11.4). Leaving `live` by
|
|
582
413
|
* any door drops it, so the next activation ranks afresh — keeping it
|
|
583
414
|
* would make a consumer prefer a provider it never actually ran
|
|
@@ -605,13 +436,6 @@ export function makehost(options?: HostOptions) {
|
|
|
605
436
|
{ ref: e.ref, cause: causes })
|
|
606
437
|
}
|
|
607
438
|
|
|
608
|
-
/** A REQUIREMENT IS ON A CAPABILITY, not on a ref (§11.1) — it is a
|
|
609
|
-
* dependency on something that can do the job, and which instance is
|
|
610
|
-
* doing it is exactly the configuration detail a plugin must not care
|
|
611
|
-
* about. A bare string is shorthand for `{name}`.
|
|
612
|
-
*
|
|
613
|
-
* A ref satisfies too, because a host that genuinely needs a specific
|
|
614
|
-
* instance should not have to invent a capability for it. */
|
|
615
439
|
function unmetof(e: Live): string[] {
|
|
616
440
|
return requirements(e.options)
|
|
617
441
|
.filter(gatesactivation)
|
|
@@ -619,17 +443,6 @@ export function makehost(options?: HostOptions) {
|
|
|
619
443
|
.map((r) => r.name)
|
|
620
444
|
}
|
|
621
445
|
|
|
622
|
-
/** §11.4's always-reluctant selection, and the ONE place a provider
|
|
623
|
-
* is chosen for a live instance.
|
|
624
|
-
*
|
|
625
|
-
* "A satisfied requirement is not re-bound while it stays satisfied."
|
|
626
|
-
* So: if this instance already selected a provider for `req` and that
|
|
627
|
-
* provider is STILL among the candidates, it keeps it — a
|
|
628
|
-
* better-ranked newcomer does not take it. Otherwise the rank
|
|
629
|
-
* decides, and the choice is remembered.
|
|
630
|
-
*
|
|
631
|
-
* `remember` is false for the questions asked ABOUT an instance
|
|
632
|
-
* rather than BY it — introspection must not create a binding. */
|
|
633
446
|
function chosen(e: Live, req: Required, remember: boolean): string | undefined {
|
|
634
447
|
const cands = providersof(req)
|
|
635
448
|
if (0 === cands.length) return undefined
|
|
@@ -639,14 +452,6 @@ export function makehost(options?: HostOptions) {
|
|
|
639
452
|
return cands[0].ref
|
|
640
453
|
}
|
|
641
454
|
|
|
642
|
-
/** The instance currently SELECTED for each of this one's
|
|
643
|
-
* restart-causing requirements. A BINDING IS TO AN INSTANCE, not to a
|
|
644
|
-
* capability (§11.1), and that is what decides behaviour when the
|
|
645
|
-
* bound provider leaves while another match remains: the selected one
|
|
646
|
-
* going away restarts a `static` consumer even though a survivor is
|
|
647
|
-
* available. It is not silently re-pointed — `static` is the plugin
|
|
648
|
-
* saying in writing that it cannot survive a provider swap, and a
|
|
649
|
-
* survivor being available does not make the swap survivable. */
|
|
650
455
|
function boundproviders(e: Live): string[] {
|
|
651
456
|
const out: string[] = []
|
|
652
457
|
for (const r of requirements(e.options)) {
|
|
@@ -667,27 +472,6 @@ export function makehost(options?: HostOptions) {
|
|
|
667
472
|
})
|
|
668
473
|
}
|
|
669
474
|
|
|
670
|
-
/** §11.3's `hold` asks a DIFFERENT question from the cascade, and
|
|
671
|
-
* reading it off `consumersof` answered the cascade's.
|
|
672
|
-
*
|
|
673
|
-
* The cascade wants the edges that RESTART — mandatory-static and
|
|
674
|
-
* optional-static — because that is what it has to walk. `hold` says
|
|
675
|
-
* "deactivating a REQUIRED instance is `plugin_dependency_held`", and
|
|
676
|
-
* `required` is cardinality: `gatesactivation`, not
|
|
677
|
-
* `restartsonloss`. The two sets differ in both directions and each
|
|
678
|
-
* difference was a real bug.
|
|
679
|
-
*
|
|
680
|
-
* A MANDATORY-DYNAMIC consumer was excluded, so the strictest policy
|
|
681
|
-
* let a provider go that a live consumer could not do without —
|
|
682
|
-
* `dynamic` promises the consumer survives a SWAP, and under `hold`
|
|
683
|
-
* there is no swap, so it goes back to `pending`, which is precisely
|
|
684
|
-
* what `hold` exists to prevent.
|
|
685
|
-
*
|
|
686
|
-
* An OPTIONAL-STATIC consumer was included, so `hold` refused a
|
|
687
|
-
* deactivation on behalf of an instance that had said in writing it
|
|
688
|
-
* does not need the thing. Disruptive, yes — it restarts — but the
|
|
689
|
-
* policy's word is `required`, and an optional requirement is the
|
|
690
|
-
* plugin declaring the provider is not. */
|
|
691
475
|
function holdersof(ref: string): string[] {
|
|
692
476
|
return Object.keys(inst).sort().filter((r) => {
|
|
693
477
|
const c = inst[r]
|
|
@@ -702,18 +486,10 @@ export function makehost(options?: HostOptions) {
|
|
|
702
486
|
|
|
703
487
|
function providersof(req: Required): Candidate[] {
|
|
704
488
|
const cands: Candidate[] = []
|
|
705
|
-
// ASK WHETHER THE NAME IS A REF, do not assume it. A requirement
|
|
706
|
-
// name is a CAPABILITY name first (§11.1) and capability names are
|
|
707
|
-
// free-form, so `2fa` and `my cap` are legal ones that no ref could
|
|
708
|
-
// be called — and `canonref` RAISES on those, which made a perfectly
|
|
709
|
-
// legal document kill the host right here. `tryref` answers
|
|
710
|
-
// `undefined` instead, and still canonicalizes when it is a ref
|
|
711
|
-
// (§4 rule 5), which is what lets `dep$` find `dep`.
|
|
712
489
|
const asref = tryref(req.name)
|
|
713
490
|
for (const ref of Object.keys(inst).sort()) {
|
|
714
491
|
const t = inst[ref]
|
|
715
492
|
if ('live' !== t.status) continue
|
|
716
|
-
// A ref satisfies directly.
|
|
717
493
|
if (ref === asref) {
|
|
718
494
|
cands.push({ ref, pos: t.pos, provides: { name: req.name } })
|
|
719
495
|
continue
|
|
@@ -725,19 +501,6 @@ export function makehost(options?: HostOptions) {
|
|
|
725
501
|
return resolvecapability(req, cands)
|
|
726
502
|
}
|
|
727
503
|
|
|
728
|
-
/** CONSUMERS GO DOWN FIRST, NOT AFTERWARDS (§11.3).
|
|
729
|
-
*
|
|
730
|
-
* The cascade is part of the provider's own deactivation and runs
|
|
731
|
-
* BEFORE the provider's `deactivate` callback and scope unwind, so a
|
|
732
|
-
* consumer's teardown can still call the thing it depends on —
|
|
733
|
-
* flushing a buffer to the store it is about to lose is exactly what
|
|
734
|
-
* a `deactivate` callback is for, and a cascade that fired after the
|
|
735
|
-
* provider was already gone would make that impossible.
|
|
736
|
-
*
|
|
737
|
-
* Order: consumers deepest-first, then the provider. `unload` and
|
|
738
|
-
* `close` inherit it, UNDER EITHER DEPENDENCY POLICY, which is what
|
|
739
|
-
* makes apply's reverse-load-order teardown safe even when a document
|
|
740
|
-
* happens to list a consumer before its provider. */
|
|
741
504
|
function cascade(provider: Live, seen?: { [ref: string]: true }): void {
|
|
742
505
|
const done = seen || {}
|
|
743
506
|
if (done[provider.ref]) return
|
|
@@ -746,7 +509,7 @@ export function makehost(options?: HostOptions) {
|
|
|
746
509
|
for (const r of consumersof(provider.ref)) {
|
|
747
510
|
const c = inst[r]
|
|
748
511
|
if ('live' !== c.status) continue
|
|
749
|
-
cascade(c, done)
|
|
512
|
+
cascade(c, done)
|
|
750
513
|
let bad = false
|
|
751
514
|
try { run(c, 'deactivate', 'deactivate') } catch (err) { bad = true }
|
|
752
515
|
const errors = unwind(c)
|
|
@@ -764,16 +527,6 @@ export function makehost(options?: HostOptions) {
|
|
|
764
527
|
}
|
|
765
528
|
}
|
|
766
529
|
|
|
767
|
-
/** The hold check is A GUARD ON AD-HOC DEACTIVATION, NOT ON
|
|
768
|
-
* COORDINATED TEARDOWN. In a bulk operation that is removing the
|
|
769
|
-
* holders too — `close()`, or an `apply` plan whose own steps
|
|
770
|
-
* deactivate them — it is suspended for exactly those holders, and
|
|
771
|
-
* the teardown still runs consumers before providers.
|
|
772
|
-
*
|
|
773
|
-
* Otherwise `close()` under `hold` would raise on the first provider
|
|
774
|
-
* it reached whenever a document happened to list a consumer after
|
|
775
|
-
* it, which is the policy refusing to allow the one teardown it has
|
|
776
|
-
* no reason to object to. */
|
|
777
530
|
function held(e: Live): void {
|
|
778
531
|
if ('hold' !== dependency) return
|
|
779
532
|
if (coordinated) return
|
|
@@ -784,13 +537,6 @@ export function makehost(options?: HostOptions) {
|
|
|
784
537
|
{ ref: e.ref, holders })
|
|
785
538
|
}
|
|
786
539
|
|
|
787
|
-
/** EAGER reconciliation: run to a fixed point rather than scheduling.
|
|
788
|
-
*
|
|
789
|
-
* Two directions, and both are the reason `pending` exists.
|
|
790
|
-
* Activation is a STANDING REQUEST, not a one-shot event: a pending
|
|
791
|
-
* instance whose requirement arrives activates without being asked
|
|
792
|
-
* again, and a LIVE instance whose requirement is lost goes back to
|
|
793
|
-
* pending — recursively, through its own consumers. */
|
|
794
540
|
function reconcile(): void {
|
|
795
541
|
let moved = true
|
|
796
542
|
let rounds = 0
|
|
@@ -807,12 +553,6 @@ export function makehost(options?: HostOptions) {
|
|
|
807
553
|
.filter(gatesactivation)
|
|
808
554
|
.filter((q) => 0 === providersof(q).length)
|
|
809
555
|
if (0 === lost.length) continue
|
|
810
|
-
// POLICY IS PER REQUIREMENT, not per instance (§11.3): only the
|
|
811
|
-
// definition that has the requirement knows what it can cope
|
|
812
|
-
// with, and one instance may hold both a `static` and a
|
|
813
|
-
// `dynamic` one. A `dynamic` requirement whose provider is gone
|
|
814
|
-
// leaves the consumer LIVE and notified; it is a statement
|
|
815
|
-
// about surviving a swap, so it does not restart here.
|
|
816
556
|
if (lost.every((q) => !restartsonloss(q))) continue
|
|
817
557
|
let bad = false
|
|
818
558
|
try { run(e, 'deactivate', 'deactivate') } catch (err) { bad = true }
|
|
@@ -849,14 +589,6 @@ export function makehost(options?: HostOptions) {
|
|
|
849
589
|
// --- ordering ----------------------------------------------------
|
|
850
590
|
|
|
851
591
|
function order(point?: string): string[] {
|
|
852
|
-
// Sorted by declaration SEQUENCE, which is what makes the §7 sort's
|
|
853
|
-
// fall-through deterministic in a language whose maps have no
|
|
854
|
-
// insertion order. §7 breaks ties by `pos`; two instances CAN share
|
|
855
|
-
// one — `declare` defaults `pos` to the registry size, so an unload
|
|
856
|
-
// followed by a fresh declare reuses a surviving instance's — and
|
|
857
|
-
// past that the canonical was falling through to `Object.keys`.
|
|
858
|
-
// `seq` is that order, made explicit. Found by review of the go
|
|
859
|
-
// port.
|
|
860
592
|
const bindings: Binding[] = Object.keys(inst)
|
|
861
593
|
.filter((r) => 'live' === inst[r].status)
|
|
862
594
|
.sort((a, b) => inst[a].seq - inst[b].seq)
|
|
@@ -916,7 +648,6 @@ export function makehost(options?: HostOptions) {
|
|
|
916
648
|
return pick.winner.fn(...args)
|
|
917
649
|
}
|
|
918
650
|
|
|
919
|
-
/** The losers are VISIBLE rather than silently ignored (§6.3). */
|
|
920
651
|
function shadowed(point: string): string[] {
|
|
921
652
|
const spec = points[point]
|
|
922
653
|
if (undefined === spec) return []
|
|
@@ -927,14 +658,12 @@ export function makehost(options?: HostOptions) {
|
|
|
927
658
|
const all: Exported[] = []
|
|
928
659
|
for (const ref of Object.keys(inst).sort()) {
|
|
929
660
|
const e = inst[ref]
|
|
930
|
-
// Exports of a `loaded` (not live) instance are VISIBLE (§11).
|
|
931
661
|
if ('declared' === e.status || 'failed' === e.status) continue
|
|
932
662
|
for (const k of Object.keys(e.exports)) all.push({ ref, key: k, value: e.exports[k] })
|
|
933
663
|
}
|
|
934
664
|
return resolveexport(spec, all)
|
|
935
665
|
}
|
|
936
666
|
|
|
937
|
-
/** The live providers of a capability, best-first (§11.1). */
|
|
938
667
|
function capability(name: string): string[] {
|
|
939
668
|
const cands: Candidate[] = []
|
|
940
669
|
for (const ref of Object.keys(inst).sort()) {
|
|
@@ -949,18 +678,6 @@ export function makehost(options?: HostOptions) {
|
|
|
949
678
|
|
|
950
679
|
// --- documents ---------------------------------------------------
|
|
951
680
|
|
|
952
|
-
/** §9.6: "load what is missing, UNLOAD WHAT IS GONE, patch what
|
|
953
|
-
* changed, and move activation state to match", with the stated
|
|
954
|
-
* ordering — "deactivations and unloads first (reverse load order),
|
|
955
|
-
* then loads, then activations in load order".
|
|
956
|
-
*
|
|
957
|
-
* THREE PHASES, NOT ONE INTERLEAVED LOOP, and both halves matter. An
|
|
958
|
-
* earlier draft walked the document once, unloading and activating per
|
|
959
|
-
* ref, which (a) never looked at instances the new document had
|
|
960
|
-
* DROPPED, so an integration removed from a config reload stayed live
|
|
961
|
-
* with its bindings and resources — the case this method exists for —
|
|
962
|
-
* and (b) activated the first instance before the second was declared,
|
|
963
|
-
* which is not the order §9.6 states. */
|
|
964
681
|
function apply(doc: any, profile?: string): void {
|
|
965
682
|
guard()
|
|
966
683
|
const norm = normalizeconfig({
|
|
@@ -987,15 +704,6 @@ export function makehost(options?: HostOptions) {
|
|
|
987
704
|
return undefined !== ent && ent.active && 'eager' === ent.start
|
|
988
705
|
}
|
|
989
706
|
|
|
990
|
-
// --- phase 1: deactivations and unloads, in REVERSE load order ---
|
|
991
|
-
//
|
|
992
|
-
// Two populations, and the second is the one that was missing: refs
|
|
993
|
-
// the document no longer names at all, and refs it now names as lazy
|
|
994
|
-
// or inactive. Toggling back to lazy or inactive returns an instance
|
|
995
|
-
// to `declared` BY UNLOADING IT (§9.6) — there is no loaded->declared
|
|
996
|
-
// transition and there should not be one, because an instance that
|
|
997
|
-
// has run `define` has state and bindings that only `close` can
|
|
998
|
-
// properly undo.
|
|
999
707
|
const drop: string[] = []
|
|
1000
708
|
for (const ref of Object.keys(inst)) {
|
|
1001
709
|
if ('declared' === inst[ref].status) continue
|
|
@@ -1009,51 +717,20 @@ export function makehost(options?: HostOptions) {
|
|
|
1009
717
|
// --- phase 2: declare and patch EVERYTHING, in load order --------
|
|
1010
718
|
for (const ref of want) {
|
|
1011
719
|
const ent: Instance = norm.instance[ref]
|
|
1012
|
-
// NO OPTIONS HERE, and the omission is the fix rather than an
|
|
1013
|
-
// oversight. `declare` ADOPTS the options map it is handed as the
|
|
1014
|
-
// instance's own, so passing the resolved map made target and
|
|
1015
|
-
// source THE SAME MAP in the refill three lines below — which
|
|
1016
|
-
// cleared its own source and left a first-time instance with no
|
|
1017
|
-
// options at all. A second apply of the same document filled them
|
|
1018
|
-
// in, because by then `declare` returned the existing entry and
|
|
1019
|
-
// the two maps were distinct. `declare` makes its own empty map
|
|
1020
|
-
// and the refill fills it, so both paths are now one path.
|
|
1021
720
|
declare(ref, { order: ent.order, pos: ent.pos })
|
|
1022
721
|
// The bar is REASSERTED ON EVERY APPLY, in both directions — a
|
|
1023
722
|
// document that turns the instance back on clears it, which is
|
|
1024
723
|
// the whole point of a config switch.
|
|
1025
724
|
inst[ref].barred = !ent.active
|
|
1026
|
-
// REFILL rather than REBIND. A definition's callbacks close over
|
|
1027
|
-
// the options map they were handed at `define`; replacing the
|
|
1028
|
-
// reference here would leave every binding reading the values the
|
|
1029
|
-
// first apply gave it, and a re-applied document would silently do
|
|
1030
|
-
// nothing. Clearing and refilling the same map is portable to every
|
|
1031
|
-
// language, unlike a getter or an interception hook — which the
|
|
1032
|
-
// §18 portability budget forbids anyway.
|
|
1033
725
|
refill(inst[ref].options, optionsof[ref])
|
|
1034
726
|
inst[ref].order = ent.order
|
|
1035
727
|
inst[ref].pos = ent.pos
|
|
1036
728
|
}
|
|
1037
729
|
|
|
1038
|
-
// --- phase 3: loads, in load order -------------------------------
|
|
1039
|
-
//
|
|
1040
|
-
// ONLY THE EAGER, ACTIVE ONES. §9.6: "`apply` declares everything
|
|
1041
|
-
// and activates only what asked for it… A document of twenty lazy
|
|
1042
|
-
// instances is therefore twenty map entries and no executed code."
|
|
1043
730
|
for (const ref of want) {
|
|
1044
731
|
if (wantlive(ref)) load(ref)
|
|
1045
732
|
}
|
|
1046
733
|
|
|
1047
|
-
// --- phase 4: activations, in load order -------------------------
|
|
1048
|
-
//
|
|
1049
|
-
// Separate from the loads because §9.6 names them separately, and
|
|
1050
|
-
// the difference is observable: every `define` runs before the first
|
|
1051
|
-
// `activate`, so a plugin cannot see a half-built registry.
|
|
1052
|
-
//
|
|
1053
|
-
// Activation order does not have to be dependency-sorted (§9.6):
|
|
1054
|
-
// under §11 activation is a standing request, so a consumer
|
|
1055
|
-
// activated before its provider sits in `pending` until the provider
|
|
1056
|
-
// arrives a few lines later in the same plan.
|
|
1057
734
|
for (const ref of want) {
|
|
1058
735
|
if (wantlive(ref)) activate(ref)
|
|
1059
736
|
}
|
|
@@ -1086,8 +763,6 @@ export function makehost(options?: HostOptions) {
|
|
|
1086
763
|
}
|
|
1087
764
|
}
|
|
1088
765
|
|
|
1089
|
-
/** Empty the target and refill it, so callers holding the reference
|
|
1090
|
-
* see the new values. */
|
|
1091
766
|
function refill(target: any, source: any): void {
|
|
1092
767
|
for (const k of Object.keys(target)) delete target[k]
|
|
1093
768
|
for (const k of Object.keys(source || {})) target[k] = source[k]
|
|
@@ -1101,16 +776,11 @@ export function makehost(options?: HostOptions) {
|
|
|
1101
776
|
}
|
|
1102
777
|
|
|
1103
778
|
function close(): void {
|
|
1104
|
-
// A bulk teardown removing the holders too, so `hold` is suspended
|
|
1105
|
-
// for exactly those holders (§11.3) - while the consumers-first
|
|
1106
|
-
// cascade still runs, which is the half that matters.
|
|
1107
779
|
coordinated = true
|
|
1108
780
|
try { for (const r of Object.keys(inst).sort().reverse()) unload(r) }
|
|
1109
781
|
finally { coordinated = false }
|
|
1110
782
|
}
|
|
1111
783
|
|
|
1112
|
-
/** The same record §6.6 gives a plugin about itself, reachable from
|
|
1113
|
-
* outside for the corpus. A plugin asks via `inst.position(point)`. */
|
|
1114
784
|
function positionof(ref: string, point: string): any {
|
|
1115
785
|
const e = inst[canonref(ref)]
|
|
1116
786
|
if (!e) fail('plugin_not_loaded', 'no such instance: ' + ref, { ref })
|
|
@@ -1123,23 +793,6 @@ export function makehost(options?: HostOptions) {
|
|
|
1123
793
|
}
|
|
1124
794
|
}
|
|
1125
795
|
|
|
1126
|
-
/** §9.1: a host that reserves a name MUST still be able to declare
|
|
1127
|
-
* the instance it reserved — "The host declares those instances
|
|
1128
|
-
* itself, after the user merge, and always wins."
|
|
1129
|
-
*
|
|
1130
|
-
* Without this, `reserved` was a feature that made its own purpose
|
|
1131
|
-
* impossible: every path to `declare` was barred, including the
|
|
1132
|
-
* embedding host's, so reserving `station` meant station could never
|
|
1133
|
-
* install the adapter it had reserved the name for.
|
|
1134
|
-
*
|
|
1135
|
-
* THE BOUNDARY IS BY METHOD, NOT BY CALLER, and that is a real limit
|
|
1136
|
-
* rather than an oversight. No language here can tell the embedding
|
|
1137
|
-
* host from a plugin holding the same host object — and a plugin that
|
|
1138
|
-
* holds it can already call `close()`. What reservation protects is
|
|
1139
|
-
* CONFIGURATION: documents, profile overlays, `VOXGIG_PLUGIN_*`,
|
|
1140
|
-
* construction options and ordinary `declare`/`load`/`options` calls.
|
|
1141
|
-
* That is what §9.1 lists, and all of it still goes through the
|
|
1142
|
-
* check. */
|
|
1143
796
|
function hostdeclare(ref: string, spec?: DeclareSpec): Live {
|
|
1144
797
|
guard()
|
|
1145
798
|
return declare(ref, { ...(spec || {}), hostowned: true })
|