@vibesdotdev/secrets 0.0.1 → 1.0.0-rc.3
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/LICENSE +18 -0
- package/README.md +12 -46
- package/dist/backends/encrypted-local/encrypted-local.descriptor.d.ts +10 -0
- package/dist/backends/encrypted-local/encrypted-local.descriptor.d.ts.map +1 -0
- package/dist/backends/encrypted-local/encrypted-local.descriptor.js +24 -0
- package/dist/backends/encrypted-local/encrypted-local.descriptor.js.map +1 -0
- package/dist/backends/encrypted-local/encrypted-local.impl.local.d.ts +49 -0
- package/dist/backends/encrypted-local/encrypted-local.impl.local.d.ts.map +1 -0
- package/dist/backends/encrypted-local/encrypted-local.impl.local.js +139 -0
- package/dist/backends/encrypted-local/encrypted-local.impl.local.js.map +1 -0
- package/dist/backends/encrypted-local/encrypted-local.plugin.d.ts +9 -0
- package/dist/backends/encrypted-local/encrypted-local.plugin.d.ts.map +1 -0
- package/dist/backends/encrypted-local/encrypted-local.plugin.js +23 -0
- package/dist/backends/encrypted-local/encrypted-local.plugin.js.map +1 -0
- package/dist/backends/encrypted-local/index.d.ts +10 -0
- package/dist/backends/encrypted-local/index.d.ts.map +1 -0
- package/dist/backends/encrypted-local/index.js +13 -0
- package/dist/backends/encrypted-local/index.js.map +1 -0
- package/dist/backends/encrypted-local/schemas/internal.d.ts +24 -0
- package/dist/backends/encrypted-local/schemas/internal.d.ts.map +1 -0
- package/dist/backends/encrypted-local/schemas/internal.js +12 -0
- package/dist/backends/encrypted-local/schemas/internal.js.map +1 -0
- package/dist/backends/encrypted-local/vault-document.d.ts +19 -0
- package/dist/backends/encrypted-local/vault-document.d.ts.map +1 -0
- package/dist/backends/encrypted-local/vault-document.js +122 -0
- package/dist/backends/encrypted-local/vault-document.js.map +1 -0
- package/dist/backends/env-file/env-file.descriptor.d.ts +11 -0
- package/dist/backends/env-file/env-file.descriptor.d.ts.map +1 -0
- package/dist/backends/env-file/env-file.descriptor.js +24 -0
- package/dist/backends/env-file/env-file.descriptor.js.map +1 -0
- package/dist/backends/env-file/env-file.impl.local.d.ts +47 -0
- package/dist/backends/env-file/env-file.impl.local.d.ts.map +1 -0
- package/dist/backends/env-file/env-file.impl.local.js +170 -0
- package/dist/backends/env-file/env-file.impl.local.js.map +1 -0
- package/dist/backends/env-file/env-file.plugin.d.ts +9 -0
- package/dist/backends/env-file/env-file.plugin.d.ts.map +1 -0
- package/dist/backends/env-file/env-file.plugin.js +23 -0
- package/dist/backends/env-file/env-file.plugin.js.map +1 -0
- package/dist/backends/env-file/index.d.ts +10 -0
- package/dist/backends/env-file/index.d.ts.map +1 -0
- package/dist/backends/env-file/index.js +13 -0
- package/dist/backends/env-file/index.js.map +1 -0
- package/dist/backends/host-credentials/host-credentials.descriptor.d.ts +13 -0
- package/dist/backends/host-credentials/host-credentials.descriptor.d.ts.map +1 -0
- package/dist/backends/host-credentials/host-credentials.descriptor.js +23 -0
- package/dist/backends/host-credentials/host-credentials.descriptor.js.map +1 -0
- package/dist/backends/host-credentials/host-credentials.impl.d.ts +25 -0
- package/dist/backends/host-credentials/host-credentials.impl.d.ts.map +1 -0
- package/dist/backends/host-credentials/host-credentials.impl.js +111 -0
- package/dist/backends/host-credentials/host-credentials.impl.js.map +1 -0
- package/dist/backends/host-credentials/host-credentials.plugin.d.ts +17 -0
- package/dist/backends/host-credentials/host-credentials.plugin.d.ts.map +1 -0
- package/dist/backends/host-credentials/host-credentials.plugin.js +52 -0
- package/dist/backends/host-credentials/host-credentials.plugin.js.map +1 -0
- package/dist/backends/host-credentials/index.d.ts +4 -0
- package/dist/backends/host-credentials/index.d.ts.map +1 -0
- package/dist/backends/host-credentials/index.js +7 -0
- package/dist/backends/host-credentials/index.js.map +1 -0
- package/dist/backends/mounted-files/index.d.ts +3 -0
- package/dist/backends/mounted-files/index.d.ts.map +1 -0
- package/dist/backends/mounted-files/index.js +4 -0
- package/dist/backends/mounted-files/index.js.map +1 -0
- package/dist/backends/mounted-files/mounted-files.descriptor.d.ts +14 -0
- package/dist/backends/mounted-files/mounted-files.descriptor.d.ts.map +1 -0
- package/dist/backends/mounted-files/mounted-files.descriptor.js +24 -0
- package/dist/backends/mounted-files/mounted-files.descriptor.js.map +1 -0
- package/dist/backends/mounted-files/mounted-files.impl.local.d.ts +27 -0
- package/dist/backends/mounted-files/mounted-files.impl.local.d.ts.map +1 -0
- package/dist/backends/mounted-files/mounted-files.impl.local.js +146 -0
- package/dist/backends/mounted-files/mounted-files.impl.local.js.map +1 -0
- package/dist/backends/mounted-files/mounted-files.plugin.d.ts +10 -0
- package/dist/backends/mounted-files/mounted-files.plugin.d.ts.map +1 -0
- package/dist/backends/mounted-files/mounted-files.plugin.js +28 -0
- package/dist/backends/mounted-files/mounted-files.plugin.js.map +1 -0
- package/dist/backends/mounted-files/node.d.ts +9 -0
- package/dist/backends/mounted-files/node.d.ts.map +1 -0
- package/dist/backends/mounted-files/node.js +9 -0
- package/dist/backends/mounted-files/node.js.map +1 -0
- package/dist/backends/vault/index.d.ts +11 -0
- package/dist/backends/vault/index.d.ts.map +1 -0
- package/dist/backends/vault/index.js +11 -0
- package/dist/backends/vault/index.js.map +1 -0
- package/dist/backends/vault/secrets-vault.client.d.ts +15 -0
- package/dist/backends/vault/secrets-vault.client.d.ts.map +1 -0
- package/dist/backends/vault/secrets-vault.client.js +120 -0
- package/dist/backends/vault/secrets-vault.client.js.map +1 -0
- package/dist/backends/vault/secrets-vault.impl.d.ts +29 -0
- package/dist/backends/vault/secrets-vault.impl.d.ts.map +1 -0
- package/dist/backends/vault/secrets-vault.impl.js +141 -0
- package/dist/backends/vault/secrets-vault.impl.js.map +1 -0
- package/dist/backends/vault/vault-bootstrap.d.ts +24 -0
- package/dist/backends/vault/vault-bootstrap.d.ts.map +1 -0
- package/dist/backends/vault/vault-bootstrap.js +147 -0
- package/dist/backends/vault/vault-bootstrap.js.map +1 -0
- package/dist/backends/vault/vault-config.d.ts +26 -0
- package/dist/backends/vault/vault-config.d.ts.map +1 -0
- package/dist/backends/vault/vault-config.js +93 -0
- package/dist/backends/vault/vault-config.js.map +1 -0
- package/dist/backends/vault/vault-failures.d.ts +15 -0
- package/dist/backends/vault/vault-failures.d.ts.map +1 -0
- package/dist/backends/vault/vault-failures.js +36 -0
- package/dist/backends/vault/vault-failures.js.map +1 -0
- package/dist/backends/vault/vault-kv.d.ts +22 -0
- package/dist/backends/vault/vault-kv.d.ts.map +1 -0
- package/dist/backends/vault/vault-kv.js +108 -0
- package/dist/backends/vault/vault-kv.js.map +1 -0
- package/dist/backends/vault/vault-transport.d.ts +22 -0
- package/dist/backends/vault/vault-transport.d.ts.map +1 -0
- package/dist/backends/vault/vault-transport.js +104 -0
- package/dist/backends/vault/vault-transport.js.map +1 -0
- package/dist/backends/vault/vault-unseal.sources.d.ts +12 -0
- package/dist/backends/vault/vault-unseal.sources.d.ts.map +1 -0
- package/dist/backends/vault/vault-unseal.sources.js +87 -0
- package/dist/backends/vault/vault-unseal.sources.js.map +1 -0
- package/dist/docs/backends.docs.descriptor.d.ts +1 -1
- package/dist/docs/backends.docs.descriptor.d.ts.map +1 -1
- package/dist/docs/backends.docs.descriptor.js +58 -121
- package/dist/docs/backends.docs.descriptor.js.map +1 -1
- package/dist/docs/encryption.docs.descriptor.d.ts +1 -1
- package/dist/docs/encryption.docs.descriptor.d.ts.map +1 -1
- package/dist/docs/encryption.docs.descriptor.js +90 -96
- package/dist/docs/encryption.docs.descriptor.js.map +1 -1
- package/dist/docs/env-file.docs.descriptor.d.ts +1 -1
- package/dist/docs/env-file.docs.descriptor.d.ts.map +1 -1
- package/dist/docs/env-file.docs.descriptor.js +81 -127
- package/dist/docs/env-file.docs.descriptor.js.map +1 -1
- package/dist/docs/secrets.docs.descriptor.d.ts +4 -0
- package/dist/docs/secrets.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/secrets.docs.descriptor.js +43 -0
- package/dist/docs/secrets.docs.descriptor.js.map +1 -0
- package/dist/domain/attestation/attestation.d.ts +19 -0
- package/dist/domain/attestation/attestation.d.ts.map +1 -0
- package/dist/domain/attestation/attestation.js +104 -0
- package/dist/domain/attestation/attestation.js.map +1 -0
- package/dist/domain/attestation/attestation.kind.d.ts +27 -0
- package/dist/domain/attestation/attestation.kind.d.ts.map +1 -0
- package/dist/domain/attestation/attestation.kind.js +20 -0
- package/dist/domain/attestation/attestation.kind.js.map +1 -0
- package/dist/domain/attestation/attestation.plugin.d.ts +8 -0
- package/dist/domain/attestation/attestation.plugin.d.ts.map +1 -0
- package/dist/domain/attestation/attestation.plugin.js +26 -0
- package/dist/domain/attestation/attestation.plugin.js.map +1 -0
- package/dist/domain/attestation/attestation.provider.d.ts +23 -0
- package/dist/domain/attestation/attestation.provider.d.ts.map +1 -0
- package/dist/domain/attestation/attestation.provider.js +46 -0
- package/dist/domain/attestation/attestation.provider.js.map +1 -0
- package/dist/domain/attestation/claim-files.d.ts +34 -0
- package/dist/domain/attestation/claim-files.d.ts.map +1 -0
- package/dist/domain/attestation/claim-files.js +149 -0
- package/dist/domain/attestation/claim-files.js.map +1 -0
- package/dist/domain/attestation/index.d.ts +8 -0
- package/dist/domain/attestation/index.d.ts.map +1 -0
- package/dist/domain/attestation/index.js +7 -0
- package/dist/domain/attestation/index.js.map +1 -0
- package/dist/domain/attestation/provider.interface.d.ts +2 -0
- package/dist/domain/attestation/provider.interface.d.ts.map +1 -0
- package/dist/domain/attestation/provider.interface.js +2 -0
- package/dist/domain/attestation/provider.interface.js.map +1 -0
- package/dist/domain/attestation/schemas.d.ts +2 -0
- package/dist/domain/attestation/schemas.d.ts.map +1 -0
- package/dist/domain/attestation/schemas.js +2 -0
- package/dist/domain/attestation/schemas.js.map +1 -0
- package/dist/domain/attestation/token.d.ts +14 -0
- package/dist/domain/attestation/token.d.ts.map +1 -0
- package/dist/domain/attestation/token.js +14 -0
- package/dist/domain/attestation/token.js.map +1 -0
- package/dist/domain/client/authenticated-request.d.ts +4 -0
- package/dist/domain/client/authenticated-request.d.ts.map +1 -0
- package/dist/domain/client/authenticated-request.js +440 -0
- package/dist/domain/client/authenticated-request.js.map +1 -0
- package/dist/domain/client/credential-use.d.ts +27 -0
- package/dist/domain/client/credential-use.d.ts.map +1 -0
- package/dist/domain/client/credential-use.js +224 -0
- package/dist/domain/client/credential-use.js.map +1 -0
- package/dist/domain/client/env-handle.d.ts +33 -0
- package/dist/domain/client/env-handle.d.ts.map +1 -0
- package/dist/domain/client/env-handle.js +55 -0
- package/dist/domain/client/env-handle.js.map +1 -0
- package/dist/domain/client/helper.d.ts +10 -0
- package/dist/domain/client/helper.d.ts.map +1 -0
- package/dist/domain/client/helper.js +11 -0
- package/dist/domain/client/helper.js.map +1 -0
- package/dist/domain/client/index.d.ts +11 -0
- package/dist/domain/client/index.d.ts.map +1 -0
- package/dist/domain/client/index.js +10 -0
- package/dist/domain/client/index.js.map +1 -0
- package/dist/domain/client/managed-handle.d.ts +24 -0
- package/dist/domain/client/managed-handle.d.ts.map +1 -0
- package/dist/domain/client/managed-handle.js +93 -0
- package/dist/domain/client/managed-handle.js.map +1 -0
- package/dist/domain/client/secrets-client.d.ts +60 -0
- package/dist/domain/client/secrets-client.d.ts.map +1 -0
- package/dist/domain/client/secrets-client.js +108 -0
- package/dist/domain/client/secrets-client.js.map +1 -0
- package/dist/domain/config/load.d.ts +6 -0
- package/dist/domain/config/load.d.ts.map +1 -0
- package/dist/domain/config/load.js +15 -0
- package/dist/domain/config/load.js.map +1 -0
- package/dist/domain/config/secrets.config.descriptor.d.ts +35 -0
- package/dist/domain/config/secrets.config.descriptor.d.ts.map +1 -0
- package/dist/domain/config/secrets.config.descriptor.js +29 -0
- package/dist/domain/config/secrets.config.descriptor.js.map +1 -0
- package/dist/domain/kinds/index.d.ts +5 -0
- package/dist/domain/kinds/index.d.ts.map +1 -0
- package/dist/domain/kinds/index.js +4 -0
- package/dist/domain/kinds/index.js.map +1 -0
- package/dist/domain/kinds/schemas/store.schema.d.ts +2 -0
- package/dist/domain/kinds/schemas/store.schema.d.ts.map +1 -0
- package/dist/domain/kinds/schemas/store.schema.js +2 -0
- package/dist/domain/kinds/schemas/store.schema.js.map +1 -0
- package/dist/domain/kinds/schemas/store.types.d.ts +2 -0
- package/dist/domain/kinds/schemas/store.types.d.ts.map +1 -0
- package/dist/domain/kinds/schemas/store.types.js.map +1 -0
- package/dist/domain/kinds/secret-key.d.ts +13 -0
- package/dist/domain/kinds/secret-key.d.ts.map +1 -0
- package/dist/domain/kinds/secret-key.js +47 -0
- package/dist/domain/kinds/secret-key.js.map +1 -0
- package/dist/domain/kinds/store-operation.d.ts +3 -0
- package/dist/domain/kinds/store-operation.d.ts.map +1 -0
- package/dist/domain/kinds/store-operation.js +43 -0
- package/dist/domain/kinds/store-operation.js.map +1 -0
- package/dist/domain/kinds/store-selection.d.ts +21 -0
- package/dist/domain/kinds/store-selection.d.ts.map +1 -0
- package/dist/domain/kinds/store-selection.js +57 -0
- package/dist/domain/kinds/store-selection.js.map +1 -0
- package/dist/domain/kinds/store.interface.d.ts +2 -0
- package/dist/domain/kinds/store.interface.d.ts.map +1 -0
- package/dist/domain/kinds/store.interface.js.map +1 -0
- package/dist/domain/kinds/store.kind.d.ts +20 -0
- package/dist/domain/kinds/store.kind.d.ts.map +1 -0
- package/dist/domain/kinds/store.kind.js +33 -0
- package/dist/domain/kinds/store.kind.js.map +1 -0
- package/dist/domain/kinds/store.schema.d.ts +2 -0
- package/dist/domain/kinds/store.schema.d.ts.map +1 -0
- package/dist/domain/kinds/store.schema.js +2 -0
- package/dist/domain/kinds/store.schema.js.map +1 -0
- package/dist/domain/manifest/authentication.d.ts +17 -0
- package/dist/domain/manifest/authentication.d.ts.map +1 -0
- package/dist/domain/manifest/authentication.js +119 -0
- package/dist/domain/manifest/authentication.js.map +1 -0
- package/dist/domain/manifest/canonical.d.ts +6 -0
- package/dist/domain/manifest/canonical.d.ts.map +1 -0
- package/dist/domain/manifest/canonical.js +86 -0
- package/dist/domain/manifest/canonical.js.map +1 -0
- package/dist/domain/manifest/dotenv.d.ts +13 -0
- package/dist/domain/manifest/dotenv.d.ts.map +1 -0
- package/dist/domain/manifest/dotenv.js +132 -0
- package/dist/domain/manifest/dotenv.js.map +1 -0
- package/dist/domain/manifest/import-manifest.schema.d.ts +2 -0
- package/dist/domain/manifest/import-manifest.schema.d.ts.map +1 -0
- package/dist/domain/manifest/import-manifest.schema.js +2 -0
- package/dist/domain/manifest/import-manifest.schema.js.map +1 -0
- package/dist/domain/manifest/index.d.ts +4 -0
- package/dist/domain/manifest/index.d.ts.map +1 -0
- package/dist/domain/manifest/index.js +4 -0
- package/dist/domain/manifest/index.js.map +1 -0
- package/dist/domain/manifest/providers.d.ts +31 -0
- package/dist/domain/manifest/providers.d.ts.map +1 -0
- package/dist/domain/manifest/providers.js +123 -0
- package/dist/domain/manifest/providers.js.map +1 -0
- package/dist/domain/requirements/config-requirements.d.ts +18 -0
- package/dist/domain/requirements/config-requirements.d.ts.map +1 -0
- package/dist/domain/requirements/config-requirements.js +115 -0
- package/dist/domain/requirements/config-requirements.js.map +1 -0
- package/dist/domain/requirements/config-walk.d.ts +29 -0
- package/dist/domain/requirements/config-walk.d.ts.map +1 -0
- package/dist/domain/requirements/config-walk.js +138 -0
- package/dist/domain/requirements/config-walk.js.map +1 -0
- package/dist/domain/requirements/index.d.ts +2 -0
- package/dist/domain/requirements/index.d.ts.map +1 -0
- package/dist/domain/requirements/index.js +2 -0
- package/dist/domain/requirements/index.js.map +1 -0
- package/dist/domain/requirements/resolver.d.ts +27 -0
- package/dist/domain/requirements/resolver.d.ts.map +1 -0
- package/dist/domain/requirements/resolver.js +131 -0
- package/dist/domain/requirements/resolver.js.map +1 -0
- package/dist/domain/requirements/schemas/requirements.d.ts +2 -0
- package/dist/domain/requirements/schemas/requirements.d.ts.map +1 -0
- package/dist/domain/requirements/schemas/requirements.js.map +1 -0
- package/dist/domain/secrets.plugin.d.ts +8 -0
- package/dist/domain/secrets.plugin.d.ts.map +1 -0
- package/dist/domain/secrets.plugin.js +62 -0
- package/dist/domain/secrets.plugin.js.map +1 -0
- package/dist/domain/vault/index.d.ts +9 -0
- package/dist/domain/vault/index.d.ts.map +1 -0
- package/dist/domain/vault/index.js +8 -0
- package/dist/domain/vault/index.js.map +1 -0
- package/dist/domain/vault/secret-record.d.ts +14 -0
- package/dist/domain/vault/secret-record.d.ts.map +1 -0
- package/dist/domain/vault/secret-record.js +52 -0
- package/dist/domain/vault/secret-record.js.map +1 -0
- package/dist/domain/vault/secret.transform.d.ts +46 -0
- package/dist/domain/vault/secret.transform.d.ts.map +1 -0
- package/dist/domain/vault/secret.transform.js +54 -0
- package/dist/domain/vault/secret.transform.js.map +1 -0
- package/dist/exec/attempt-audit.d.ts +15 -0
- package/dist/exec/attempt-audit.d.ts.map +1 -0
- package/dist/exec/attempt-audit.js +35 -0
- package/dist/exec/attempt-audit.js.map +1 -0
- package/dist/exec/audit.d.ts +17 -0
- package/dist/exec/audit.d.ts.map +1 -0
- package/dist/exec/audit.js +29 -0
- package/dist/exec/audit.js.map +1 -0
- package/dist/exec/bootstrap.d.ts +14 -0
- package/dist/exec/bootstrap.d.ts.map +1 -0
- package/dist/exec/bootstrap.js +178 -0
- package/dist/exec/bootstrap.js.map +1 -0
- package/dist/exec/credential-leases.d.ts +56 -0
- package/dist/exec/credential-leases.d.ts.map +1 -0
- package/dist/exec/credential-leases.js +170 -0
- package/dist/exec/credential-leases.js.map +1 -0
- package/dist/exec/credential-process.d.ts +12 -0
- package/dist/exec/credential-process.d.ts.map +1 -0
- package/dist/exec/credential-process.js +108 -0
- package/dist/exec/credential-process.js.map +1 -0
- package/dist/exec/index.d.ts +7 -0
- package/dist/exec/index.d.ts.map +1 -0
- package/dist/exec/index.js +7 -0
- package/dist/exec/index.js.map +1 -0
- package/dist/exec/redactor.core.d.ts +7 -0
- package/dist/exec/redactor.core.d.ts.map +1 -0
- package/dist/exec/redactor.core.js +81 -0
- package/dist/exec/redactor.core.js.map +1 -0
- package/dist/exec/redactor.d.ts +3 -0
- package/dist/exec/redactor.d.ts.map +1 -0
- package/dist/exec/redactor.js +11 -0
- package/dist/exec/redactor.js.map +1 -0
- package/dist/exec/spawn-with-credentials.d.ts +62 -0
- package/dist/exec/spawn-with-credentials.d.ts.map +1 -0
- package/dist/exec/spawn-with-credentials.js +145 -0
- package/dist/exec/spawn-with-credentials.js.map +1 -0
- package/dist/index.d.ts +9 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/schemas/backends/bootstrap.schema.d.ts +16 -0
- package/dist/schemas/backends/bootstrap.schema.d.ts.map +1 -0
- package/dist/schemas/backends/bootstrap.schema.js +14 -0
- package/dist/schemas/backends/bootstrap.schema.js.map +1 -0
- package/dist/schemas/backends/host.schema.d.ts +4 -0
- package/dist/schemas/backends/host.schema.d.ts.map +1 -0
- package/dist/schemas/backends/host.schema.js +2 -0
- package/dist/schemas/backends/host.schema.js.map +1 -0
- package/dist/schemas/backends/unseal.schema.d.ts +30 -0
- package/dist/schemas/backends/unseal.schema.d.ts.map +1 -0
- package/dist/schemas/backends/unseal.schema.js +17 -0
- package/dist/schemas/backends/unseal.schema.js.map +1 -0
- package/dist/schemas/backends/vault.schema.d.ts +61 -0
- package/dist/schemas/backends/vault.schema.d.ts.map +1 -0
- package/dist/schemas/backends/vault.schema.js +36 -0
- package/dist/schemas/backends/vault.schema.js.map +1 -0
- package/dist/schemas/cli/commands/check.schema.d.ts +15 -0
- package/dist/schemas/cli/commands/check.schema.d.ts.map +1 -0
- package/dist/schemas/cli/commands/check.schema.js +11 -0
- package/dist/schemas/cli/commands/check.schema.js.map +1 -0
- package/dist/schemas/cli/commands/exec.schema.d.ts +25 -0
- package/dist/schemas/cli/commands/exec.schema.d.ts.map +1 -0
- package/dist/schemas/cli/commands/exec.schema.js +15 -0
- package/dist/schemas/cli/commands/exec.schema.js.map +1 -0
- package/dist/schemas/cli/commands/export.schema.d.ts +12 -0
- package/dist/schemas/cli/commands/export.schema.d.ts.map +1 -0
- package/dist/schemas/cli/commands/export.schema.js +10 -0
- package/dist/schemas/cli/commands/export.schema.js.map +1 -0
- package/dist/schemas/cli/commands/import.schema.d.ts +11 -0
- package/dist/schemas/cli/commands/import.schema.d.ts.map +1 -0
- package/dist/schemas/cli/commands/import.schema.js +9 -0
- package/dist/schemas/cli/commands/import.schema.js.map +1 -0
- package/dist/schemas/cli/commands/mint.schema.d.ts +30 -0
- package/dist/schemas/cli/commands/mint.schema.d.ts.map +1 -0
- package/dist/schemas/cli/commands/mint.schema.js +32 -0
- package/dist/schemas/cli/commands/mint.schema.js.map +1 -0
- package/dist/schemas/cli/commands/precommit.schema.d.ts +8 -0
- package/dist/schemas/cli/commands/precommit.schema.d.ts.map +1 -0
- package/dist/schemas/cli/commands/precommit.schema.js +6 -0
- package/dist/schemas/cli/commands/precommit.schema.js.map +1 -0
- package/dist/schemas/cli/commands/pull.schema.d.ts +14 -0
- package/dist/schemas/cli/commands/pull.schema.d.ts.map +1 -0
- package/dist/schemas/cli/commands/pull.schema.js +11 -0
- package/dist/schemas/cli/commands/pull.schema.js.map +1 -0
- package/dist/schemas/cli/commands/push.schema.d.ts +16 -0
- package/dist/schemas/cli/commands/push.schema.d.ts.map +1 -0
- package/dist/schemas/cli/commands/push.schema.js +13 -0
- package/dist/schemas/cli/commands/push.schema.js.map +1 -0
- package/dist/schemas/cli/commands/store/list.schema.d.ts +13 -0
- package/dist/schemas/cli/commands/store/list.schema.d.ts.map +1 -0
- package/dist/schemas/cli/commands/store/list.schema.js +9 -0
- package/dist/schemas/cli/commands/store/list.schema.js.map +1 -0
- package/dist/schemas/cli/commands/store/reveal.schema.d.ts +13 -0
- package/dist/schemas/cli/commands/store/reveal.schema.d.ts.map +1 -0
- package/dist/schemas/cli/commands/store/reveal.schema.js +11 -0
- package/dist/schemas/cli/commands/store/reveal.schema.js.map +1 -0
- package/dist/schemas/cli/commands/store/set.schema.d.ts +14 -0
- package/dist/schemas/cli/commands/store/set.schema.d.ts.map +1 -0
- package/dist/schemas/cli/commands/store/set.schema.js +4 -0
- package/dist/schemas/cli/commands/store/set.schema.js.map +1 -0
- package/dist/schemas/cli/commands/store/unset.schema.d.ts +11 -0
- package/dist/schemas/cli/commands/store/unset.schema.d.ts.map +1 -0
- package/dist/schemas/cli/commands/store/unset.schema.js +9 -0
- package/dist/schemas/cli/commands/store/unset.schema.js.map +1 -0
- package/dist/schemas/cli/exec-request.schema.d.ts +18 -0
- package/dist/schemas/cli/exec-request.schema.d.ts.map +1 -0
- package/dist/schemas/cli/exec-request.schema.js +11 -0
- package/dist/schemas/cli/exec-request.schema.js.map +1 -0
- package/dist/schemas/cli/mint-wire.schema.d.ts +18 -0
- package/dist/schemas/cli/mint-wire.schema.d.ts.map +1 -0
- package/dist/schemas/cli/mint-wire.schema.js +16 -0
- package/dist/schemas/cli/mint-wire.schema.js.map +1 -0
- package/dist/schemas/cli/output.schema.d.ts +8 -0
- package/dist/schemas/cli/output.schema.d.ts.map +1 -0
- package/dist/schemas/cli/output.schema.js +7 -0
- package/dist/schemas/cli/output.schema.js.map +1 -0
- package/dist/schemas/cli/redaction.schema.d.ts +10 -0
- package/dist/schemas/cli/redaction.schema.d.ts.map +1 -0
- package/dist/schemas/cli/redaction.schema.js +9 -0
- package/dist/schemas/cli/redaction.schema.js.map +1 -0
- package/dist/schemas/cli/request.schema.d.ts +26 -0
- package/dist/schemas/cli/request.schema.d.ts.map +1 -0
- package/dist/schemas/cli/request.schema.js +27 -0
- package/dist/schemas/cli/request.schema.js.map +1 -0
- package/dist/schemas/cli/selection.schema.d.ts +4 -0
- package/dist/schemas/cli/selection.schema.d.ts.map +1 -0
- package/dist/schemas/cli/selection.schema.js +2 -0
- package/dist/schemas/cli/selection.schema.js.map +1 -0
- package/dist/schemas/cli/terminal.schema.d.ts +8 -0
- package/dist/schemas/cli/terminal.schema.d.ts.map +1 -0
- package/dist/schemas/cli/terminal.schema.js +7 -0
- package/dist/schemas/cli/terminal.schema.js.map +1 -0
- package/dist/schemas/cli/transfer.schema.d.ts +11 -0
- package/dist/schemas/cli/transfer.schema.d.ts.map +1 -0
- package/dist/schemas/cli/transfer.schema.js +5 -0
- package/dist/schemas/cli/transfer.schema.js.map +1 -0
- package/dist/schemas/discovery/backfill.schema.d.ts +30 -0
- package/dist/schemas/discovery/backfill.schema.d.ts.map +1 -0
- package/dist/schemas/discovery/backfill.schema.js +23 -0
- package/dist/schemas/discovery/backfill.schema.js.map +1 -0
- package/dist/schemas/discovery/check-report.schema.d.ts +19 -0
- package/dist/schemas/discovery/check-report.schema.d.ts.map +1 -0
- package/dist/schemas/discovery/check-report.schema.js +17 -0
- package/dist/schemas/discovery/check-report.schema.js.map +1 -0
- package/dist/schemas/discovery/diagnostics.schema.d.ts +29 -0
- package/dist/schemas/discovery/diagnostics.schema.d.ts.map +1 -0
- package/dist/schemas/discovery/diagnostics.schema.js +21 -0
- package/dist/schemas/discovery/diagnostics.schema.js.map +1 -0
- package/dist/schemas/discovery/dotenv.schema.d.ts +12 -0
- package/dist/schemas/discovery/dotenv.schema.d.ts.map +1 -0
- package/dist/schemas/discovery/dotenv.schema.js +11 -0
- package/dist/schemas/discovery/dotenv.schema.js.map +1 -0
- package/dist/schemas/discovery/drift.schema.d.ts +262 -0
- package/dist/schemas/discovery/drift.schema.d.ts.map +1 -0
- package/dist/schemas/discovery/drift.schema.js +31 -0
- package/dist/schemas/discovery/drift.schema.js.map +1 -0
- package/dist/schemas/discovery/import.schema.d.ts +77 -0
- package/dist/schemas/discovery/import.schema.d.ts.map +1 -0
- package/dist/schemas/discovery/import.schema.js +55 -0
- package/dist/schemas/discovery/import.schema.js.map +1 -0
- package/dist/schemas/discovery/requirements.schema.d.ts +235 -0
- package/dist/schemas/discovery/requirements.schema.d.ts.map +1 -0
- package/dist/schemas/discovery/requirements.schema.js +54 -0
- package/dist/schemas/discovery/requirements.schema.js.map +1 -0
- package/dist/schemas/discovery/runtime.schema.d.ts +83 -0
- package/dist/schemas/discovery/runtime.schema.d.ts.map +1 -0
- package/dist/schemas/discovery/runtime.schema.js +20 -0
- package/dist/schemas/discovery/runtime.schema.js.map +1 -0
- package/dist/schemas/discovery/scan.schema.d.ts +13 -0
- package/dist/schemas/discovery/scan.schema.d.ts.map +1 -0
- package/dist/schemas/discovery/scan.schema.js +8 -0
- package/dist/schemas/discovery/scan.schema.js.map +1 -0
- package/dist/schemas/discovery/signatures.schema.d.ts +14 -0
- package/dist/schemas/discovery/signatures.schema.d.ts.map +1 -0
- package/dist/schemas/discovery/signatures.schema.js +12 -0
- package/dist/schemas/discovery/signatures.schema.js.map +1 -0
- package/dist/schemas/domain/attestation/attestation.schema.d.ts +30 -0
- package/dist/schemas/domain/attestation/attestation.schema.d.ts.map +1 -0
- package/dist/schemas/domain/attestation/attestation.schema.js +14 -0
- package/dist/schemas/domain/attestation/attestation.schema.js.map +1 -0
- package/dist/schemas/domain/attestation/provider.schema.d.ts +29 -0
- package/dist/schemas/domain/attestation/provider.schema.d.ts.map +1 -0
- package/dist/schemas/domain/attestation/provider.schema.js +18 -0
- package/dist/schemas/domain/attestation/provider.schema.js.map +1 -0
- package/dist/schemas/domain/config.schema.d.ts +6 -0
- package/dist/schemas/domain/config.schema.d.ts.map +1 -0
- package/dist/schemas/domain/config.schema.js +5 -0
- package/dist/schemas/domain/config.schema.js.map +1 -0
- package/dist/schemas/domain/store/store.schema.d.ts +82 -0
- package/dist/schemas/domain/store/store.schema.d.ts.map +1 -0
- package/dist/schemas/domain/store/store.schema.js +68 -0
- package/dist/schemas/domain/store/store.schema.js.map +1 -0
- package/dist/schemas/domain/store/store.types.d.ts +63 -0
- package/dist/schemas/domain/store/store.types.d.ts.map +1 -0
- package/dist/schemas/domain/store/store.types.js +25 -0
- package/dist/schemas/domain/store/store.types.js.map +1 -0
- package/dist/schemas/domain/testing/filesystem.schema.d.ts +39 -0
- package/dist/schemas/domain/testing/filesystem.schema.d.ts.map +1 -0
- package/dist/schemas/domain/testing/filesystem.schema.js +2 -0
- package/dist/schemas/domain/testing/filesystem.schema.js.map +1 -0
- package/dist/schemas/execution/audit.schema.d.ts +44 -0
- package/dist/schemas/execution/audit.schema.d.ts.map +1 -0
- package/dist/schemas/execution/audit.schema.js +29 -0
- package/dist/schemas/execution/audit.schema.js.map +1 -0
- package/dist/schemas/execution/bootstrap.schema.d.ts +79 -0
- package/dist/schemas/execution/bootstrap.schema.d.ts.map +1 -0
- package/dist/schemas/execution/bootstrap.schema.js +45 -0
- package/dist/schemas/execution/bootstrap.schema.js.map +1 -0
- package/dist/schemas/execution/environment.schema.d.ts +17 -0
- package/dist/schemas/execution/environment.schema.d.ts.map +1 -0
- package/dist/schemas/execution/environment.schema.js +10 -0
- package/dist/schemas/execution/environment.schema.js.map +1 -0
- package/dist/schemas/execution/leverage.schema.d.ts +17 -0
- package/dist/schemas/execution/leverage.schema.d.ts.map +1 -0
- package/dist/schemas/execution/leverage.schema.js +11 -0
- package/dist/schemas/execution/leverage.schema.js.map +1 -0
- package/dist/schemas/execution/prepared.schema.d.ts +28 -0
- package/dist/schemas/execution/prepared.schema.d.ts.map +1 -0
- package/dist/schemas/execution/prepared.schema.js +8 -0
- package/dist/schemas/execution/prepared.schema.js.map +1 -0
- package/dist/schemas/execution/redactor.schema.d.ts +7 -0
- package/dist/schemas/execution/redactor.schema.d.ts.map +1 -0
- package/dist/schemas/execution/redactor.schema.js +6 -0
- package/dist/schemas/execution/redactor.schema.js.map +1 -0
- package/dist/schemas/execution/result.schema.d.ts +55 -0
- package/dist/schemas/execution/result.schema.d.ts.map +1 -0
- package/dist/schemas/execution/result.schema.js +21 -0
- package/dist/schemas/execution/result.schema.js.map +1 -0
- package/dist/schemas/execution/spawn.schema.d.ts +218 -0
- package/dist/schemas/execution/spawn.schema.d.ts.map +1 -0
- package/dist/schemas/execution/spawn.schema.js +52 -0
- package/dist/schemas/execution/spawn.schema.js.map +1 -0
- package/dist/schemas/index.d.ts +11 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +11 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/managed/account-client.schema.d.ts +218 -0
- package/dist/schemas/managed/account-client.schema.d.ts.map +1 -0
- package/dist/schemas/managed/account-client.schema.js +31 -0
- package/dist/schemas/managed/account-client.schema.js.map +1 -0
- package/dist/schemas/managed/managed-handle.schema.d.ts +16 -0
- package/dist/schemas/managed/managed-handle.schema.d.ts.map +1 -0
- package/dist/schemas/managed/managed-handle.schema.js +5 -0
- package/dist/schemas/managed/managed-handle.schema.js.map +1 -0
- package/dist/schemas/managed/managed-record.schema.d.ts +148 -0
- package/dist/schemas/managed/managed-record.schema.d.ts.map +1 -0
- package/dist/schemas/managed/managed-record.schema.js +53 -0
- package/dist/schemas/managed/managed-record.schema.js.map +1 -0
- package/dist/schemas/managed/secret.schema.d.ts +261 -0
- package/dist/schemas/managed/secret.schema.d.ts.map +1 -0
- package/dist/schemas/managed/secret.schema.js +114 -0
- package/dist/schemas/managed/secret.schema.js.map +1 -0
- package/dist/schemas/transport/authenticated-request.schema.d.ts +528 -0
- package/dist/schemas/transport/authenticated-request.schema.d.ts.map +1 -0
- package/dist/schemas/transport/authenticated-request.schema.js +78 -0
- package/dist/schemas/transport/authenticated-request.schema.js.map +1 -0
- package/dist/schemas/transport/body.schema.d.ts +7 -0
- package/dist/schemas/transport/body.schema.d.ts.map +1 -0
- package/dist/schemas/transport/body.schema.js +6 -0
- package/dist/schemas/transport/body.schema.js.map +1 -0
- package/dist/schemas/transport/credential-use.schema.d.ts +200 -0
- package/dist/schemas/transport/credential-use.schema.d.ts.map +1 -0
- package/dist/schemas/transport/credential-use.schema.js +64 -0
- package/dist/schemas/transport/credential-use.schema.js.map +1 -0
- package/dist/schemas/transport/file.schema.d.ts +6 -0
- package/dist/schemas/transport/file.schema.d.ts.map +1 -0
- package/dist/schemas/transport/file.schema.js +5 -0
- package/dist/schemas/transport/file.schema.js.map +1 -0
- package/dist/schemas/transport/header.schema.d.ts +17 -0
- package/dist/schemas/transport/header.schema.d.ts.map +1 -0
- package/dist/schemas/transport/header.schema.js +13 -0
- package/dist/schemas/transport/header.schema.js.map +1 -0
- package/dist/schemas/transport/json.schema.d.ts +10 -0
- package/dist/schemas/transport/json.schema.d.ts.map +1 -0
- package/dist/schemas/transport/json.schema.js +2 -0
- package/dist/schemas/transport/json.schema.js.map +1 -0
- package/dist/schemas/transport/outcome.schema.d.ts +10 -0
- package/dist/schemas/transport/outcome.schema.d.ts.map +1 -0
- package/dist/schemas/transport/outcome.schema.js +2 -0
- package/dist/schemas/transport/outcome.schema.js.map +1 -0
- package/dist/schemas/transport/url.schema.d.ts +24 -0
- package/dist/schemas/transport/url.schema.d.ts.map +1 -0
- package/dist/schemas/transport/url.schema.js +20 -0
- package/dist/schemas/transport/url.schema.js.map +1 -0
- package/dist/schemas/ui/reveal.schema.d.ts +25 -0
- package/dist/schemas/ui/reveal.schema.d.ts.map +1 -0
- package/dist/schemas/ui/reveal.schema.js +17 -0
- package/dist/schemas/ui/reveal.schema.js.map +1 -0
- package/dist/schemas/ui/svelte/form.schema.d.ts +70 -0
- package/dist/schemas/ui/svelte/form.schema.d.ts.map +1 -0
- package/dist/schemas/ui/svelte/form.schema.js +15 -0
- package/dist/schemas/ui/svelte/form.schema.js.map +1 -0
- package/dist/schemas/ui/svelte/layout.schema.d.ts +128 -0
- package/dist/schemas/ui/svelte/layout.schema.d.ts.map +1 -0
- package/dist/schemas/ui/svelte/layout.schema.js +29 -0
- package/dist/schemas/ui/svelte/layout.schema.js.map +1 -0
- package/dist/schemas/ui/svelte/state.schema.d.ts +59 -0
- package/dist/schemas/ui/svelte/state.schema.d.ts.map +1 -0
- package/dist/schemas/ui/svelte/state.schema.js +13 -0
- package/dist/schemas/ui/svelte/state.schema.js.map +1 -0
- package/dist/schemas/ui/tui/list.schema.d.ts +45 -0
- package/dist/schemas/ui/tui/list.schema.d.ts.map +1 -0
- package/dist/schemas/ui/tui/list.schema.js +23 -0
- package/dist/schemas/ui/tui/list.schema.js.map +1 -0
- package/dist/schemas/ui/tui/metadata.schema.d.ts +20 -0
- package/dist/schemas/ui/tui/metadata.schema.d.ts.map +1 -0
- package/dist/schemas/ui/tui/metadata.schema.js +7 -0
- package/dist/schemas/ui/tui/metadata.schema.js.map +1 -0
- package/dist/schemas/ui/tui/pane.schema.d.ts +24 -0
- package/dist/schemas/ui/tui/pane.schema.d.ts.map +1 -0
- package/dist/schemas/ui/tui/pane.schema.js +11 -0
- package/dist/schemas/ui/tui/pane.schema.js.map +1 -0
- package/dist/support/credential-signatures.d.ts +17 -0
- package/dist/support/credential-signatures.d.ts.map +1 -0
- package/dist/support/credential-signatures.js +58 -0
- package/dist/support/credential-signatures.js.map +1 -0
- package/dist/support/environment.d.ts +19 -0
- package/dist/support/environment.d.ts.map +1 -0
- package/dist/support/environment.js +28 -0
- package/dist/support/environment.js.map +1 -0
- package/dist/support/file-failure.d.ts +16 -0
- package/dist/support/file-failure.d.ts.map +1 -0
- package/dist/support/file-failure.js +38 -0
- package/dist/support/file-failure.js.map +1 -0
- package/dist/support/path-queue.d.ts +11 -0
- package/dist/support/path-queue.d.ts.map +1 -0
- package/dist/support/path-queue.js +31 -0
- package/dist/support/path-queue.js.map +1 -0
- package/dist/support/runtime-resolver.d.ts +25 -0
- package/dist/support/runtime-resolver.d.ts.map +1 -0
- package/dist/support/runtime-resolver.js +33 -0
- package/dist/support/runtime-resolver.js.map +1 -0
- package/dist/support/secret-value.d.ts +20 -0
- package/dist/support/secret-value.d.ts.map +1 -0
- package/dist/support/secret-value.js +49 -0
- package/dist/support/secret-value.js.map +1 -0
- package/dist/support/store-environment.d.ts +10 -0
- package/dist/support/store-environment.d.ts.map +1 -0
- package/dist/support/store-environment.js +20 -0
- package/dist/support/store-environment.js.map +1 -0
- package/dist/support/test-support/adapter-runtime.d.ts +4 -0
- package/dist/support/test-support/adapter-runtime.d.ts.map +1 -0
- package/dist/support/test-support/adapter-runtime.js +19 -0
- package/dist/support/test-support/adapter-runtime.js.map +1 -0
- package/dist/support/test-support/filesystem-descriptor.d.ts +19 -0
- package/dist/support/test-support/filesystem-descriptor.d.ts.map +1 -0
- package/dist/support/test-support/filesystem-descriptor.js +46 -0
- package/dist/support/test-support/filesystem-descriptor.js.map +1 -0
- package/dist/support/test-support/filesystem-double.d.ts +41 -0
- package/dist/support/test-support/filesystem-double.d.ts.map +1 -0
- package/dist/support/test-support/filesystem-double.js +196 -0
- package/dist/support/test-support/filesystem-double.js.map +1 -0
- package/dist/support/test-support/filesystem-paths.d.ts +3 -0
- package/dist/support/test-support/filesystem-paths.d.ts.map +1 -0
- package/dist/support/test-support/filesystem-paths.js +44 -0
- package/dist/support/test-support/filesystem-paths.js.map +1 -0
- package/dist/support/test-support/path-mechanics.d.ts +6 -0
- package/dist/support/test-support/path-mechanics.d.ts.map +1 -0
- package/dist/support/test-support/path-mechanics.js +31 -0
- package/dist/support/test-support/path-mechanics.js.map +1 -0
- package/dist/support/test-support/private-files.d.ts +3 -0
- package/dist/support/test-support/private-files.d.ts.map +1 -0
- package/dist/support/test-support/private-files.js +52 -0
- package/dist/support/test-support/private-files.js.map +1 -0
- package/dist/support/test-support/register-adapter.d.ts +5 -0
- package/dist/support/test-support/register-adapter.d.ts.map +1 -0
- package/dist/support/test-support/register-adapter.js +20 -0
- package/dist/support/test-support/register-adapter.js.map +1 -0
- package/dist/support/test-support/stub-fetch.d.ts +13 -0
- package/dist/support/test-support/stub-fetch.d.ts.map +1 -0
- package/dist/support/test-support/stub-fetch.js +17 -0
- package/dist/support/test-support/stub-fetch.js.map +1 -0
- package/dist/surfaces/cli/commands/exec/exec-input.d.ts +39 -0
- package/dist/surfaces/cli/commands/exec/exec-input.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/exec/exec-input.js +116 -0
- package/dist/surfaces/cli/commands/exec/exec-input.js.map +1 -0
- package/dist/surfaces/cli/commands/exec/exec.command.descriptor.d.ts +57 -0
- package/dist/surfaces/cli/commands/exec/exec.command.descriptor.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/exec/exec.command.descriptor.js +66 -0
- package/dist/surfaces/cli/commands/exec/exec.command.descriptor.js.map +1 -0
- package/dist/surfaces/cli/commands/exec/exec.command.impl.d.ts +33 -0
- package/dist/surfaces/cli/commands/exec/exec.command.impl.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/exec/exec.command.impl.js +110 -0
- package/dist/surfaces/cli/commands/exec/exec.command.impl.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/check/check-diagnostics.d.ts +47 -0
- package/dist/surfaces/cli/commands/maintenance/check/check-diagnostics.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/check/check-diagnostics.js +82 -0
- package/dist/surfaces/cli/commands/maintenance/check/check-diagnostics.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/check/check-drift.d.ts +16 -0
- package/dist/surfaces/cli/commands/maintenance/check/check-drift.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/check/check-drift.js +57 -0
- package/dist/surfaces/cli/commands/maintenance/check/check-drift.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/check/check-json.d.ts +11 -0
- package/dist/surfaces/cli/commands/maintenance/check/check-json.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/check/check-json.js +54 -0
- package/dist/surfaces/cli/commands/maintenance/check/check-json.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/check/check-report.d.ts +12 -0
- package/dist/surfaces/cli/commands/maintenance/check/check-report.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/check/check-report.js +100 -0
- package/dist/surfaces/cli/commands/maintenance/check/check-report.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/check/schemas/check-result.d.ts +10 -0
- package/dist/surfaces/cli/commands/maintenance/check/schemas/check-result.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/check/schemas/check-result.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/check/secrets.check.cli-command.descriptor.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/check/secrets.check.cli-command.descriptor.js +27 -0
- package/dist/surfaces/cli/commands/maintenance/check/secrets.check.cli-command.descriptor.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/check/secrets.check.cli-command.impl.d.ts +11 -0
- package/dist/surfaces/cli/commands/maintenance/check/secrets.check.cli-command.impl.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/check/secrets.check.cli-command.impl.js +132 -0
- package/dist/surfaces/cli/commands/maintenance/check/secrets.check.cli-command.impl.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/check/store-availability.d.ts +30 -0
- package/dist/surfaces/cli/commands/maintenance/check/store-availability.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/check/store-availability.js +57 -0
- package/dist/surfaces/cli/commands/maintenance/check/store-availability.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/export/secrets.export.cli-command.descriptor.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/export/secrets.export.cli-command.descriptor.js +23 -0
- package/dist/surfaces/cli/commands/maintenance/export/secrets.export.cli-command.descriptor.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/export/secrets.export.cli-command.impl.consumer.d.ts +8 -0
- package/dist/surfaces/cli/commands/maintenance/export/secrets.export.cli-command.impl.consumer.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/export/secrets.export.cli-command.impl.consumer.js +113 -0
- package/dist/surfaces/cli/commands/maintenance/export/secrets.export.cli-command.impl.consumer.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/import/secrets.import.cli-command.descriptor.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/import/secrets.import.cli-command.descriptor.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/import/secrets.import.cli-command.impl.consumer.d.ts +8 -0
- package/dist/surfaces/cli/commands/maintenance/import/secrets.import.cli-command.impl.consumer.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/import/secrets.import.cli-command.impl.consumer.js +171 -0
- package/dist/surfaces/cli/commands/maintenance/import/secrets.import.cli-command.impl.consumer.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/pre-commit/secrets.precommit.cli-command.descriptor.d.ts +4 -0
- package/dist/surfaces/cli/commands/maintenance/pre-commit/secrets.precommit.cli-command.descriptor.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/pre-commit/secrets.precommit.cli-command.descriptor.js +16 -0
- package/dist/surfaces/cli/commands/maintenance/pre-commit/secrets.precommit.cli-command.descriptor.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/pre-commit/secrets.precommit.cli-command.impl.consumer.d.ts +16 -0
- package/dist/surfaces/cli/commands/maintenance/pre-commit/secrets.precommit.cli-command.impl.consumer.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/pre-commit/secrets.precommit.cli-command.impl.consumer.js +32 -0
- package/dist/surfaces/cli/commands/maintenance/pre-commit/secrets.precommit.cli-command.impl.consumer.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/pull/secrets.pull.cli-command.descriptor.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/pull/secrets.pull.cli-command.descriptor.js +20 -0
- package/dist/surfaces/cli/commands/maintenance/pull/secrets.pull.cli-command.descriptor.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/pull/secrets.pull.cli-command.impl.d.ts +17 -0
- package/dist/surfaces/cli/commands/maintenance/pull/secrets.pull.cli-command.impl.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/pull/secrets.pull.cli-command.impl.js +41 -0
- package/dist/surfaces/cli/commands/maintenance/pull/secrets.pull.cli-command.impl.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/push/secrets.push.cli-command.descriptor.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/push/secrets.push.cli-command.descriptor.js +22 -0
- package/dist/surfaces/cli/commands/maintenance/push/secrets.push.cli-command.descriptor.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/push/secrets.push.cli-command.impl.d.ts +20 -0
- package/dist/surfaces/cli/commands/maintenance/push/secrets.push.cli-command.impl.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/push/secrets.push.cli-command.impl.js +93 -0
- package/dist/surfaces/cli/commands/maintenance/push/secrets.push.cli-command.impl.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/unset/secrets.unset.cli-command.descriptor.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/unset/secrets.unset.cli-command.descriptor.js.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/unset/secrets.unset.cli-command.impl.d.ts +8 -0
- package/dist/surfaces/cli/commands/maintenance/unset/secrets.unset.cli-command.impl.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/maintenance/unset/secrets.unset.cli-command.impl.js +47 -0
- package/dist/surfaces/cli/commands/maintenance/unset/secrets.unset.cli-command.impl.js.map +1 -0
- package/dist/surfaces/cli/commands/oauth-client/mint-input.d.ts +23 -0
- package/dist/surfaces/cli/commands/oauth-client/mint-input.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/oauth-client/mint-input.js +60 -0
- package/dist/surfaces/cli/commands/oauth-client/mint-input.js.map +1 -0
- package/dist/surfaces/cli/commands/oauth-client/mint-response.d.ts +14 -0
- package/dist/surfaces/cli/commands/oauth-client/mint-response.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/oauth-client/mint-response.js +30 -0
- package/dist/surfaces/cli/commands/oauth-client/mint-response.js.map +1 -0
- package/dist/surfaces/cli/commands/oauth-client/mint-storage.d.ts +28 -0
- package/dist/surfaces/cli/commands/oauth-client/mint-storage.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/oauth-client/mint-storage.js +76 -0
- package/dist/surfaces/cli/commands/oauth-client/mint-storage.js.map +1 -0
- package/dist/surfaces/cli/commands/oauth-client/mint-transport.d.ts +20 -0
- package/dist/surfaces/cli/commands/oauth-client/mint-transport.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/oauth-client/mint-transport.js +57 -0
- package/dist/surfaces/cli/commands/oauth-client/mint-transport.js.map +1 -0
- package/dist/surfaces/cli/commands/oauth-client/mint.command.descriptor.d.ts +59 -0
- package/dist/surfaces/cli/commands/oauth-client/mint.command.descriptor.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/oauth-client/mint.command.descriptor.js +66 -0
- package/dist/surfaces/cli/commands/oauth-client/mint.command.descriptor.js.map +1 -0
- package/dist/surfaces/cli/commands/oauth-client/mint.command.impl.d.ts +27 -0
- package/dist/surfaces/cli/commands/oauth-client/mint.command.impl.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/oauth-client/mint.command.impl.js +136 -0
- package/dist/surfaces/cli/commands/oauth-client/mint.command.impl.js.map +1 -0
- package/dist/surfaces/cli/commands/oauth-client/oauth-client.cli-group.descriptor.d.ts +8 -0
- package/dist/surfaces/cli/commands/oauth-client/oauth-client.cli-group.descriptor.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/oauth-client/oauth-client.cli-group.descriptor.js +17 -0
- package/dist/surfaces/cli/commands/oauth-client/oauth-client.cli-group.descriptor.js.map +1 -0
- package/dist/surfaces/cli/commands/request/request-http.d.ts +31 -0
- package/dist/surfaces/cli/commands/request/request-http.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/request/request-http.js +78 -0
- package/dist/surfaces/cli/commands/request/request-http.js.map +1 -0
- package/dist/surfaces/cli/commands/request/request-input.d.ts +12 -0
- package/dist/surfaces/cli/commands/request/request-input.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/request/request-input.js +93 -0
- package/dist/surfaces/cli/commands/request/request-input.js.map +1 -0
- package/dist/surfaces/cli/commands/request/request.command.descriptor.d.ts +71 -0
- package/dist/surfaces/cli/commands/request/request.command.descriptor.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/request/request.command.descriptor.js +61 -0
- package/dist/surfaces/cli/commands/request/request.command.descriptor.js.map +1 -0
- package/dist/surfaces/cli/commands/request/request.command.impl.d.ts +11 -0
- package/dist/surfaces/cli/commands/request/request.command.impl.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/request/request.command.impl.js +135 -0
- package/dist/surfaces/cli/commands/request/request.command.impl.js.map +1 -0
- package/dist/surfaces/cli/commands/store/reveal-audit.d.ts +18 -0
- package/dist/surfaces/cli/commands/store/reveal-audit.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/store/reveal-audit.js +24 -0
- package/dist/surfaces/cli/commands/store/reveal-audit.js.map +1 -0
- package/dist/surfaces/cli/commands/store/reveal.command.descriptor.d.ts +42 -0
- package/dist/surfaces/cli/commands/store/reveal.command.descriptor.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/store/reveal.command.descriptor.js +38 -0
- package/dist/surfaces/cli/commands/store/reveal.command.descriptor.js.map +1 -0
- package/dist/surfaces/cli/commands/store/reveal.command.impl.d.ts +10 -0
- package/dist/surfaces/cli/commands/store/reveal.command.impl.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/store/reveal.command.impl.js +147 -0
- package/dist/surfaces/cli/commands/store/reveal.command.impl.js.map +1 -0
- package/dist/surfaces/cli/commands/store/secrets.list.command.descriptor.d.ts +45 -0
- package/dist/surfaces/cli/commands/store/secrets.list.command.descriptor.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/store/secrets.list.command.descriptor.js +46 -0
- package/dist/surfaces/cli/commands/store/secrets.list.command.descriptor.js.map +1 -0
- package/dist/surfaces/cli/commands/store/secrets.list.command.impl.d.ts +9 -0
- package/dist/surfaces/cli/commands/store/secrets.list.command.impl.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/store/secrets.list.command.impl.js +128 -0
- package/dist/surfaces/cli/commands/store/secrets.list.command.impl.js.map +1 -0
- package/dist/surfaces/cli/commands/store/set-input.d.ts +13 -0
- package/dist/surfaces/cli/commands/store/set-input.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/store/set-input.js +66 -0
- package/dist/surfaces/cli/commands/store/set-input.js.map +1 -0
- package/dist/surfaces/cli/commands/store/set.command.descriptor.d.ts +48 -0
- package/dist/surfaces/cli/commands/store/set.command.descriptor.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/store/set.command.descriptor.js +51 -0
- package/dist/surfaces/cli/commands/store/set.command.descriptor.js.map +1 -0
- package/dist/surfaces/cli/commands/store/set.command.impl.d.ts +10 -0
- package/dist/surfaces/cli/commands/store/set.command.impl.d.ts.map +1 -0
- package/dist/surfaces/cli/commands/store/set.command.impl.js +100 -0
- package/dist/surfaces/cli/commands/store/set.command.impl.js.map +1 -0
- package/dist/surfaces/cli/environment.d.ts +7 -0
- package/dist/surfaces/cli/environment.d.ts.map +1 -0
- package/dist/surfaces/cli/environment.js +7 -0
- package/dist/surfaces/cli/environment.js.map +1 -0
- package/dist/surfaces/cli/hooks/pre-commit-secrets.d.ts +40 -0
- package/dist/surfaces/cli/hooks/pre-commit-secrets.d.ts.map +1 -0
- package/dist/surfaces/cli/hooks/pre-commit-secrets.js +99 -0
- package/dist/surfaces/cli/hooks/pre-commit-secrets.js.map +1 -0
- package/dist/surfaces/cli/index.d.ts +17 -0
- package/dist/surfaces/cli/index.d.ts.map +1 -0
- package/dist/surfaces/cli/index.js +17 -0
- package/dist/surfaces/cli/index.js.map +1 -0
- package/dist/surfaces/cli/plugin.d.ts +27 -0
- package/dist/surfaces/cli/plugin.d.ts.map +1 -0
- package/dist/surfaces/cli/plugin.js +88 -0
- package/dist/surfaces/cli/plugin.js.map +1 -0
- package/dist/surfaces/cli/secrets-group.descriptor.d.ts +17 -0
- package/dist/surfaces/cli/secrets-group.descriptor.d.ts.map +1 -0
- package/dist/surfaces/cli/secrets-group.descriptor.js +25 -0
- package/dist/surfaces/cli/secrets-group.descriptor.js.map +1 -0
- package/dist/surfaces/cli/shared/app-target.d.ts +14 -0
- package/dist/surfaces/cli/shared/app-target.d.ts.map +1 -0
- package/dist/surfaces/cli/shared/app-target.js +28 -0
- package/dist/surfaces/cli/shared/app-target.js.map +1 -0
- package/dist/surfaces/cli/shared/output/command-output.d.ts +14 -0
- package/dist/surfaces/cli/shared/output/command-output.d.ts.map +1 -0
- package/dist/surfaces/cli/shared/output/command-output.js +21 -0
- package/dist/surfaces/cli/shared/output/command-output.js.map +1 -0
- package/dist/surfaces/cli/shared/output/payload-redaction.d.ts +29 -0
- package/dist/surfaces/cli/shared/output/payload-redaction.d.ts.map +1 -0
- package/dist/surfaces/cli/shared/output/payload-redaction.js +116 -0
- package/dist/surfaces/cli/shared/output/payload-redaction.js.map +1 -0
- package/dist/surfaces/cli/shared/output/terminal-facts.d.ts +17 -0
- package/dist/surfaces/cli/shared/output/terminal-facts.d.ts.map +1 -0
- package/dist/surfaces/cli/shared/output/terminal-facts.js +12 -0
- package/dist/surfaces/cli/shared/output/terminal-facts.js.map +1 -0
- package/dist/surfaces/cli/shared/output/ui-context.d.ts +10 -0
- package/dist/surfaces/cli/shared/output/ui-context.d.ts.map +1 -0
- package/dist/surfaces/cli/shared/output/ui-context.js +28 -0
- package/dist/surfaces/cli/shared/output/ui-context.js.map +1 -0
- package/dist/surfaces/cli/shared/parse-options.d.ts +9 -0
- package/dist/surfaces/cli/shared/parse-options.d.ts.map +1 -0
- package/dist/surfaces/cli/shared/parse-options.js +20 -0
- package/dist/surfaces/cli/shared/parse-options.js.map +1 -0
- package/dist/surfaces/cli/shared/stores/drift-backfill.d.ts +23 -0
- package/dist/surfaces/cli/shared/stores/drift-backfill.d.ts.map +1 -0
- package/dist/surfaces/cli/shared/stores/drift-backfill.js +116 -0
- package/dist/surfaces/cli/shared/stores/drift-backfill.js.map +1 -0
- package/dist/surfaces/cli/shared/stores/drift-fingerprints.impl.consumer.d.ts +27 -0
- package/dist/surfaces/cli/shared/stores/drift-fingerprints.impl.consumer.d.ts.map +1 -0
- package/dist/surfaces/cli/shared/stores/drift-fingerprints.impl.consumer.js +157 -0
- package/dist/surfaces/cli/shared/stores/drift-fingerprints.impl.consumer.js.map +1 -0
- package/dist/surfaces/cli/shared/stores/drift-forget.d.ts +16 -0
- package/dist/surfaces/cli/shared/stores/drift-forget.d.ts.map +1 -0
- package/dist/surfaces/cli/shared/stores/drift-forget.js +24 -0
- package/dist/surfaces/cli/shared/stores/drift-forget.js.map +1 -0
- package/dist/surfaces/cli/shared/stores/leverage-shared.d.ts +56 -0
- package/dist/surfaces/cli/shared/stores/leverage-shared.d.ts.map +1 -0
- package/dist/surfaces/cli/shared/stores/leverage-shared.js +132 -0
- package/dist/surfaces/cli/shared/stores/leverage-shared.js.map +1 -0
- package/dist/surfaces/cli/shared/stores/store-selection.d.ts +39 -0
- package/dist/surfaces/cli/shared/stores/store-selection.d.ts.map +1 -0
- package/dist/surfaces/cli/shared/stores/store-selection.js +79 -0
- package/dist/surfaces/cli/shared/stores/store-selection.js.map +1 -0
- package/dist/surfaces/cli/shared/stores/store-transfer.d.ts +42 -0
- package/dist/surfaces/cli/shared/stores/store-transfer.d.ts.map +1 -0
- package/dist/surfaces/cli/shared/stores/store-transfer.js +96 -0
- package/dist/surfaces/cli/shared/stores/store-transfer.js.map +1 -0
- package/dist/surfaces/svelte/account/account-errors.d.ts +10 -0
- package/dist/surfaces/svelte/account/account-errors.d.ts.map +1 -0
- package/dist/surfaces/svelte/account/account-errors.js +45 -0
- package/dist/surfaces/svelte/account/account-transport.d.ts +10 -0
- package/dist/surfaces/svelte/account/account-transport.d.ts.map +1 -0
- package/dist/surfaces/svelte/account/account-transport.js +112 -0
- package/dist/surfaces/svelte/client/runtime.d.ts +12 -0
- package/dist/surfaces/svelte/client/runtime.d.ts.map +1 -0
- package/dist/surfaces/svelte/client/runtime.js +107 -0
- package/dist/surfaces/svelte/components/RevealSecretDialog.svelte +181 -0
- package/dist/surfaces/svelte/components/RevealSecretDialog.svelte.d.ts +13 -0
- package/dist/surfaces/svelte/components/RevealSecretDialog.svelte.d.ts.map +1 -0
- package/dist/surfaces/svelte/components/RotateSecretButton.svelte +117 -0
- package/dist/surfaces/svelte/components/RotateSecretButton.svelte.d.ts +16 -0
- package/dist/surfaces/svelte/components/RotateSecretButton.svelte.d.ts.map +1 -0
- package/dist/surfaces/svelte/components/SecretEditor.svelte +177 -0
- package/dist/surfaces/svelte/components/SecretEditor.svelte.d.ts +13 -0
- package/dist/surfaces/svelte/components/SecretEditor.svelte.d.ts.map +1 -0
- package/dist/surfaces/svelte/components/SecretForm.svelte +190 -0
- package/dist/surfaces/svelte/components/SecretForm.svelte.d.ts +48 -0
- package/dist/surfaces/svelte/components/SecretForm.svelte.d.ts.map +1 -0
- package/dist/surfaces/svelte/components/SecretRevealButton.svelte +141 -0
- package/dist/surfaces/svelte/components/SecretRevealButton.svelte.d.ts +28 -0
- package/dist/surfaces/svelte/components/SecretRevealButton.svelte.d.ts.map +1 -0
- package/dist/surfaces/svelte/components/SecretRotateDialog.svelte +59 -0
- package/dist/surfaces/svelte/components/SecretRotateDialog.svelte.d.ts +10 -0
- package/dist/surfaces/svelte/components/SecretRotateDialog.svelte.d.ts.map +1 -0
- package/dist/surfaces/svelte/components/SecretsList.svelte +122 -0
- package/dist/surfaces/svelte/components/SecretsList.svelte.d.ts +24 -0
- package/dist/surfaces/svelte/components/SecretsList.svelte.d.ts.map +1 -0
- package/dist/surfaces/svelte/components/SecretsLoader.svelte +72 -0
- package/dist/surfaces/svelte/components/SecretsLoader.svelte.d.ts +36 -0
- package/dist/surfaces/svelte/components/SecretsLoader.svelte.d.ts.map +1 -0
- package/dist/surfaces/svelte/index.d.ts +32 -0
- package/dist/surfaces/svelte/index.d.ts.map +1 -0
- package/dist/surfaces/svelte/index.js +30 -0
- package/dist/surfaces/svelte/loaders.d.ts +47 -0
- package/dist/surfaces/svelte/loaders.d.ts.map +1 -0
- package/dist/surfaces/svelte/loaders.js +64 -0
- package/dist/surfaces/svelte/state-context.d.ts +6 -0
- package/dist/surfaces/svelte/state-context.d.ts.map +1 -0
- package/dist/surfaces/svelte/state-context.js +19 -0
- package/dist/surfaces/svelte/state-owner.d.ts +173 -0
- package/dist/surfaces/svelte/state-owner.d.ts.map +1 -0
- package/dist/surfaces/svelte/state-owner.js +49 -0
- package/dist/surfaces/svelte/state-reader.svelte.d.ts +59 -0
- package/dist/surfaces/svelte/state-reader.svelte.d.ts.map +1 -0
- package/dist/surfaces/svelte/state-reader.svelte.js +176 -0
- package/dist/surfaces/svelte/state.svelte.d.ts +30 -0
- package/dist/surfaces/svelte/state.svelte.d.ts.map +1 -0
- package/dist/surfaces/svelte/state.svelte.js +121 -0
- package/dist/surfaces/svelte/styles.css +8 -0
- package/dist/surfaces/tui/components/InspectorNotices.d.ts +12 -0
- package/dist/surfaces/tui/components/InspectorNotices.d.ts.map +1 -0
- package/dist/surfaces/tui/components/InspectorNotices.js +17 -0
- package/dist/surfaces/tui/components/InspectorNotices.js.map +1 -0
- package/dist/surfaces/tui/components/RevealPane.d.ts +41 -0
- package/dist/surfaces/tui/components/RevealPane.d.ts.map +1 -0
- package/dist/surfaces/tui/components/RevealPane.js +35 -0
- package/dist/surfaces/tui/components/RevealPane.js.map +1 -0
- package/dist/surfaces/tui/components/SecretMetadataPane.d.ts +5 -0
- package/dist/surfaces/tui/components/SecretMetadataPane.d.ts.map +1 -0
- package/dist/surfaces/tui/components/SecretMetadataPane.js +30 -0
- package/dist/surfaces/tui/components/SecretMetadataPane.js.map +1 -0
- package/dist/surfaces/tui/components/SecretsListPane.d.ts +5 -0
- package/dist/surfaces/tui/components/SecretsListPane.d.ts.map +1 -0
- package/dist/surfaces/tui/components/SecretsListPane.js +34 -0
- package/dist/surfaces/tui/components/SecretsListPane.js.map +1 -0
- package/dist/surfaces/tui/components/useInspectorKeys.d.ts +16 -0
- package/dist/surfaces/tui/components/useInspectorKeys.d.ts.map +1 -0
- package/dist/surfaces/tui/components/useInspectorKeys.js +63 -0
- package/dist/surfaces/tui/components/useInspectorKeys.js.map +1 -0
- package/dist/surfaces/tui/components/useRevealLifecycle.d.ts +29 -0
- package/dist/surfaces/tui/components/useRevealLifecycle.d.ts.map +1 -0
- package/dist/surfaces/tui/components/useRevealLifecycle.js +101 -0
- package/dist/surfaces/tui/components/useRevealLifecycle.js.map +1 -0
- package/dist/surfaces/tui/index.d.ts +13 -0
- package/dist/surfaces/tui/index.d.ts.map +1 -0
- package/dist/surfaces/tui/index.js +12 -0
- package/dist/surfaces/tui/index.js.map +1 -0
- package/dist/surfaces/tui/secrets-tui.plugin.d.ts +18 -0
- package/dist/surfaces/tui/secrets-tui.plugin.d.ts.map +1 -0
- package/dist/surfaces/tui/secrets-tui.plugin.js +42 -0
- package/dist/surfaces/tui/secrets-tui.plugin.js.map +1 -0
- package/dist/surfaces/tui/secrets.tui-app.descriptor.d.ts +16 -0
- package/dist/surfaces/tui/secrets.tui-app.descriptor.d.ts.map +1 -0
- package/dist/surfaces/tui/secrets.tui-app.descriptor.js +31 -0
- package/dist/surfaces/tui/secrets.tui-app.descriptor.js.map +1 -0
- package/dist/surfaces/tui/secrets.tui-app.impl.consumer.d.ts +4 -0
- package/dist/surfaces/tui/secrets.tui-app.impl.consumer.d.ts.map +1 -0
- package/dist/surfaces/tui/secrets.tui-app.impl.consumer.js +115 -0
- package/dist/surfaces/tui/secrets.tui-app.impl.consumer.js.map +1 -0
- package/dist/surfaces/tui/secrets.tui-open.descriptor.d.ts +20 -0
- package/dist/surfaces/tui/secrets.tui-open.descriptor.d.ts.map +1 -0
- package/dist/surfaces/tui/secrets.tui-open.descriptor.js +29 -0
- package/dist/surfaces/tui/secrets.tui-open.descriptor.js.map +1 -0
- package/dist/surfaces/tui/secrets.tui-open.impl.consumer.d.ts +9 -0
- package/dist/surfaces/tui/secrets.tui-open.impl.consumer.d.ts.map +1 -0
- package/dist/surfaces/tui/secrets.tui-open.impl.consumer.js +13 -0
- package/dist/surfaces/tui/secrets.tui-open.impl.consumer.js.map +1 -0
- package/dist/surfaces/tui/state/list-loading.d.ts +4 -0
- package/dist/surfaces/tui/state/list-loading.d.ts.map +1 -0
- package/dist/surfaces/tui/state/list-loading.js +79 -0
- package/dist/surfaces/tui/state/list-loading.js.map +1 -0
- package/dist/surfaces/tui/state/secrets.tui-state.descriptor.d.ts +21 -0
- package/dist/surfaces/tui/state/secrets.tui-state.descriptor.d.ts.map +1 -0
- package/dist/surfaces/tui/state/secrets.tui-state.descriptor.js +42 -0
- package/dist/surfaces/tui/state/secrets.tui-state.descriptor.js.map +1 -0
- package/dist/surfaces/tui/state/secrets.tui-state.impl.consumer.d.ts +5 -0
- package/dist/surfaces/tui/state/secrets.tui-state.impl.consumer.d.ts.map +1 -0
- package/dist/surfaces/tui/state/secrets.tui-state.impl.consumer.js +62 -0
- package/dist/surfaces/tui/state/secrets.tui-state.impl.consumer.js.map +1 -0
- package/dist/surfaces/tui/state/secrets.tui-state.key.d.ts +19 -0
- package/dist/surfaces/tui/state/secrets.tui-state.key.d.ts.map +1 -0
- package/dist/surfaces/tui/state/secrets.tui-state.key.js +10 -0
- package/dist/surfaces/tui/state/secrets.tui-state.key.js.map +1 -0
- package/dist/transport/bounded-body.d.ts +17 -0
- package/dist/transport/bounded-body.d.ts.map +1 -0
- package/dist/transport/bounded-body.js +56 -0
- package/dist/transport/bounded-body.js.map +1 -0
- package/dist/transport/header-value.d.ts +12 -0
- package/dist/transport/header-value.d.ts.map +1 -0
- package/dist/transport/header-value.js +43 -0
- package/dist/transport/header-value.js.map +1 -0
- package/dist/transport/host-file.d.ts +14 -0
- package/dist/transport/host-file.d.ts.map +1 -0
- package/dist/transport/host-file.js +93 -0
- package/dist/transport/host-file.js.map +1 -0
- package/dist/transport/index.d.ts +14 -0
- package/dist/transport/index.d.ts.map +1 -0
- package/dist/transport/index.js +14 -0
- package/dist/transport/index.js.map +1 -0
- package/dist/transport/json-body.d.ts +5 -0
- package/dist/transport/json-body.d.ts.map +1 -0
- package/dist/transport/json-body.js +23 -0
- package/dist/transport/json-body.js.map +1 -0
- package/dist/transport/secure-url.d.ts +24 -0
- package/dist/transport/secure-url.d.ts.map +1 -0
- package/dist/transport/secure-url.js +67 -0
- package/dist/transport/secure-url.js.map +1 -0
- package/dist/transport/text.d.ts +10 -0
- package/dist/transport/text.d.ts.map +1 -0
- package/dist/transport/text.js +28 -0
- package/dist/transport/text.js.map +1 -0
- package/docs/contracts.md +94 -0
- package/package.json +366 -69
- package/SPEC.md +0 -47
- package/dist/cli/check/schemas/check-result.d.ts +0 -9
- package/dist/cli/check/schemas/check-result.d.ts.map +0 -1
- package/dist/cli/check/schemas/check-result.js.map +0 -1
- package/dist/cli/check/secrets.check.cli-command.descriptor.d.ts.map +0 -1
- package/dist/cli/check/secrets.check.cli-command.descriptor.js +0 -19
- package/dist/cli/check/secrets.check.cli-command.descriptor.js.map +0 -1
- package/dist/cli/check/secrets.check.cli-command.impl.d.ts +0 -5
- package/dist/cli/check/secrets.check.cli-command.impl.d.ts.map +0 -1
- package/dist/cli/check/secrets.check.cli-command.impl.js +0 -135
- package/dist/cli/check/secrets.check.cli-command.impl.js.map +0 -1
- package/dist/cli/export/secrets.export.cli-command.descriptor.d.ts.map +0 -1
- package/dist/cli/export/secrets.export.cli-command.descriptor.js +0 -20
- package/dist/cli/export/secrets.export.cli-command.descriptor.js.map +0 -1
- package/dist/cli/export/secrets.export.cli-command.impl.d.ts +0 -5
- package/dist/cli/export/secrets.export.cli-command.impl.d.ts.map +0 -1
- package/dist/cli/export/secrets.export.cli-command.impl.js +0 -104
- package/dist/cli/export/secrets.export.cli-command.impl.js.map +0 -1
- package/dist/cli/hooks/pre-commit-secrets.d.ts +0 -2
- package/dist/cli/hooks/pre-commit-secrets.d.ts.map +0 -1
- package/dist/cli/hooks/pre-commit-secrets.js +0 -68
- package/dist/cli/hooks/pre-commit-secrets.js.map +0 -1
- package/dist/cli/import/secrets.import.cli-command.descriptor.d.ts.map +0 -1
- package/dist/cli/import/secrets.import.cli-command.descriptor.js.map +0 -1
- package/dist/cli/import/secrets.import.cli-command.impl.d.ts +0 -5
- package/dist/cli/import/secrets.import.cli-command.impl.d.ts.map +0 -1
- package/dist/cli/import/secrets.import.cli-command.impl.js +0 -155
- package/dist/cli/import/secrets.import.cli-command.impl.js.map +0 -1
- package/dist/cli/list/secrets.list.cli-command.descriptor.d.ts +0 -4
- package/dist/cli/list/secrets.list.cli-command.descriptor.d.ts.map +0 -1
- package/dist/cli/list/secrets.list.cli-command.descriptor.js +0 -18
- package/dist/cli/list/secrets.list.cli-command.descriptor.js.map +0 -1
- package/dist/cli/list/secrets.list.cli-command.impl.d.ts +0 -5
- package/dist/cli/list/secrets.list.cli-command.impl.d.ts.map +0 -1
- package/dist/cli/list/secrets.list.cli-command.impl.js +0 -61
- package/dist/cli/list/secrets.list.cli-command.impl.js.map +0 -1
- package/dist/cli/pre-commit/secrets.pre-commit-check.cli-command.descriptor.d.ts +0 -4
- package/dist/cli/pre-commit/secrets.pre-commit-check.cli-command.descriptor.d.ts.map +0 -1
- package/dist/cli/pre-commit/secrets.pre-commit-check.cli-command.descriptor.js +0 -16
- package/dist/cli/pre-commit/secrets.pre-commit-check.cli-command.descriptor.js.map +0 -1
- package/dist/cli/pre-commit/secrets.pre-commit-check.cli-command.impl.d.ts +0 -5
- package/dist/cli/pre-commit/secrets.pre-commit-check.cli-command.impl.d.ts.map +0 -1
- package/dist/cli/pre-commit/secrets.pre-commit-check.cli-command.impl.js +0 -10
- package/dist/cli/pre-commit/secrets.pre-commit-check.cli-command.impl.js.map +0 -1
- package/dist/cli/pull/secrets.pull.cli-command.descriptor.d.ts.map +0 -1
- package/dist/cli/pull/secrets.pull.cli-command.descriptor.js +0 -20
- package/dist/cli/pull/secrets.pull.cli-command.descriptor.js.map +0 -1
- package/dist/cli/pull/secrets.pull.cli-command.impl.d.ts +0 -5
- package/dist/cli/pull/secrets.pull.cli-command.impl.d.ts.map +0 -1
- package/dist/cli/pull/secrets.pull.cli-command.impl.js +0 -76
- package/dist/cli/pull/secrets.pull.cli-command.impl.js.map +0 -1
- package/dist/cli/push/secrets.push.cli-command.descriptor.d.ts.map +0 -1
- package/dist/cli/push/secrets.push.cli-command.descriptor.js +0 -22
- package/dist/cli/push/secrets.push.cli-command.descriptor.js.map +0 -1
- package/dist/cli/push/secrets.push.cli-command.impl.d.ts +0 -5
- package/dist/cli/push/secrets.push.cli-command.impl.d.ts.map +0 -1
- package/dist/cli/push/secrets.push.cli-command.impl.js +0 -109
- package/dist/cli/push/secrets.push.cli-command.impl.js.map +0 -1
- package/dist/cli/reveal/secrets.reveal.cli-command.descriptor.d.ts +0 -4
- package/dist/cli/reveal/secrets.reveal.cli-command.descriptor.d.ts.map +0 -1
- package/dist/cli/reveal/secrets.reveal.cli-command.descriptor.js +0 -19
- package/dist/cli/reveal/secrets.reveal.cli-command.descriptor.js.map +0 -1
- package/dist/cli/reveal/secrets.reveal.cli-command.impl.d.ts +0 -5
- package/dist/cli/reveal/secrets.reveal.cli-command.impl.d.ts.map +0 -1
- package/dist/cli/reveal/secrets.reveal.cli-command.impl.js +0 -85
- package/dist/cli/reveal/secrets.reveal.cli-command.impl.js.map +0 -1
- package/dist/cli/secrets.cli-group.descriptor.d.ts +0 -4
- package/dist/cli/secrets.cli-group.descriptor.d.ts.map +0 -1
- package/dist/cli/secrets.cli-group.descriptor.js +0 -11
- package/dist/cli/secrets.cli-group.descriptor.js.map +0 -1
- package/dist/cli/set/secrets.set.cli-command.descriptor.d.ts +0 -4
- package/dist/cli/set/secrets.set.cli-command.descriptor.d.ts.map +0 -1
- package/dist/cli/set/secrets.set.cli-command.descriptor.js +0 -21
- package/dist/cli/set/secrets.set.cli-command.descriptor.js.map +0 -1
- package/dist/cli/set/secrets.set.cli-command.impl.d.ts +0 -5
- package/dist/cli/set/secrets.set.cli-command.impl.d.ts.map +0 -1
- package/dist/cli/set/secrets.set.cli-command.impl.js +0 -59
- package/dist/cli/set/secrets.set.cli-command.impl.js.map +0 -1
- package/dist/cli/shared/resolve-environment.d.ts +0 -14
- package/dist/cli/shared/resolve-environment.d.ts.map +0 -1
- package/dist/cli/shared/resolve-environment.js +0 -45
- package/dist/cli/shared/resolve-environment.js.map +0 -1
- package/dist/cli/unset/secrets.unset.cli-command.descriptor.d.ts.map +0 -1
- package/dist/cli/unset/secrets.unset.cli-command.descriptor.js.map +0 -1
- package/dist/cli/unset/secrets.unset.cli-command.impl.d.ts +0 -5
- package/dist/cli/unset/secrets.unset.cli-command.impl.d.ts.map +0 -1
- package/dist/cli/unset/secrets.unset.cli-command.impl.js +0 -31
- package/dist/cli/unset/secrets.unset.cli-command.impl.js.map +0 -1
- package/dist/kinds/index.d.ts +0 -4
- package/dist/kinds/index.d.ts.map +0 -1
- package/dist/kinds/index.js +0 -3
- package/dist/kinds/index.js.map +0 -1
- package/dist/kinds/schemas/store.schema.d.ts +0 -49
- package/dist/kinds/schemas/store.schema.d.ts.map +0 -1
- package/dist/kinds/schemas/store.schema.js +0 -34
- package/dist/kinds/schemas/store.schema.js.map +0 -1
- package/dist/kinds/schemas/store.types.d.ts +0 -28
- package/dist/kinds/schemas/store.types.d.ts.map +0 -1
- package/dist/kinds/schemas/store.types.js.map +0 -1
- package/dist/kinds/store.interface.d.ts +0 -2
- package/dist/kinds/store.interface.d.ts.map +0 -1
- package/dist/kinds/store.interface.js.map +0 -1
- package/dist/kinds/store.kind.d.ts +0 -10
- package/dist/kinds/store.kind.d.ts.map +0 -1
- package/dist/kinds/store.kind.js +0 -36
- package/dist/kinds/store.kind.js.map +0 -1
- package/dist/kinds/store.schema.d.ts +0 -2
- package/dist/kinds/store.schema.d.ts.map +0 -1
- package/dist/kinds/store.schema.js +0 -2
- package/dist/kinds/store.schema.js.map +0 -1
- package/dist/manifest/canonical.d.ts +0 -30
- package/dist/manifest/canonical.d.ts.map +0 -1
- package/dist/manifest/canonical.js +0 -313
- package/dist/manifest/canonical.js.map +0 -1
- package/dist/manifest/import-manifest.schema.d.ts +0 -77
- package/dist/manifest/import-manifest.schema.d.ts.map +0 -1
- package/dist/manifest/import-manifest.schema.js +0 -55
- package/dist/manifest/import-manifest.schema.js.map +0 -1
- package/dist/manifest/index.d.ts +0 -3
- package/dist/manifest/index.d.ts.map +0 -1
- package/dist/manifest/index.js +0 -3
- package/dist/manifest/index.js.map +0 -1
- package/dist/requirements/index.d.ts +0 -2
- package/dist/requirements/index.d.ts.map +0 -1
- package/dist/requirements/index.js +0 -2
- package/dist/requirements/index.js.map +0 -1
- package/dist/requirements/resolver.d.ts +0 -52
- package/dist/requirements/resolver.d.ts.map +0 -1
- package/dist/requirements/resolver.js +0 -196
- package/dist/requirements/resolver.js.map +0 -1
- package/dist/requirements/schemas/requirements.d.ts +0 -27
- package/dist/requirements/schemas/requirements.d.ts.map +0 -1
- package/dist/requirements/schemas/requirements.js.map +0 -1
- package/dist/secrets.plugin.d.ts +0 -8
- package/dist/secrets.plugin.d.ts.map +0 -1
- package/dist/secrets.plugin.js +0 -59
- package/dist/secrets.plugin.js.map +0 -1
- package/src/cli/check/schemas/check-result.ts +0 -8
- package/src/cli/check/secrets.check.cli-command.descriptor.ts +0 -21
- package/src/cli/check/secrets.check.cli-command.impl.ts +0 -163
- package/src/cli/export/secrets.export.cli-command.descriptor.ts +0 -22
- package/src/cli/export/secrets.export.cli-command.impl.ts +0 -139
- package/src/cli/hooks/pre-commit-secrets.ts +0 -73
- package/src/cli/import/secrets.import.cli-command.descriptor.ts +0 -21
- package/src/cli/import/secrets.import.cli-command.impl.ts +0 -178
- package/src/cli/list/secrets.list.cli-command.descriptor.ts +0 -21
- package/src/cli/list/secrets.list.cli-command.impl.ts +0 -79
- package/src/cli/pre-commit/secrets.pre-commit-check.cli-command.descriptor.ts +0 -18
- package/src/cli/pre-commit/secrets.pre-commit-check.cli-command.impl.ts +0 -11
- package/src/cli/pull/secrets.pull.cli-command.descriptor.ts +0 -22
- package/src/cli/pull/secrets.pull.cli-command.impl.ts +0 -103
- package/src/cli/push/secrets.push.cli-command.descriptor.ts +0 -24
- package/src/cli/push/secrets.push.cli-command.impl.ts +0 -149
- package/src/cli/reveal/secrets.reveal.cli-command.descriptor.ts +0 -21
- package/src/cli/reveal/secrets.reveal.cli-command.impl.ts +0 -108
- package/src/cli/secrets.cli-group.descriptor.ts +0 -13
- package/src/cli/set/secrets.set.cli-command.descriptor.ts +0 -23
- package/src/cli/set/secrets.set.cli-command.impl.ts +0 -77
- package/src/cli/shared/resolve-environment.ts +0 -57
- package/src/cli/unset/secrets.unset.cli-command.descriptor.ts +0 -22
- package/src/cli/unset/secrets.unset.cli-command.impl.ts +0 -41
- package/src/docs/backends.docs.descriptor.ts +0 -151
- package/src/docs/encryption.docs.descriptor.ts +0 -165
- package/src/docs/env-file.docs.descriptor.ts +0 -209
- package/src/index.ts +0 -35
- package/src/kinds/index.ts +0 -12
- package/src/kinds/schemas/store.schema.ts +0 -47
- package/src/kinds/schemas/store.types.ts +0 -35
- package/src/kinds/store.interface.ts +0 -1
- package/src/kinds/store.kind.ts +0 -52
- package/src/kinds/store.schema.ts +0 -8
- package/src/manifest/canonical.ts +0 -324
- package/src/manifest/import-manifest.schema.ts +0 -63
- package/src/manifest/index.ts +0 -12
- package/src/requirements/index.ts +0 -6
- package/src/requirements/resolver.ts +0 -216
- package/src/requirements/schemas/requirements.ts +0 -29
- package/src/secrets.plugin.ts +0 -65
- /package/dist/{kinds → domain/kinds}/schemas/store.types.js +0 -0
- /package/dist/{kinds → domain/kinds}/store.interface.js +0 -0
- /package/dist/{requirements → domain/requirements}/schemas/requirements.js +0 -0
- /package/dist/{cli → surfaces/cli/commands/maintenance}/check/schemas/check-result.js +0 -0
- /package/dist/{cli → surfaces/cli/commands/maintenance}/check/secrets.check.cli-command.descriptor.d.ts +0 -0
- /package/dist/{cli → surfaces/cli/commands/maintenance}/export/secrets.export.cli-command.descriptor.d.ts +0 -0
- /package/dist/{cli → surfaces/cli/commands/maintenance}/import/secrets.import.cli-command.descriptor.d.ts +0 -0
- /package/dist/{cli → surfaces/cli/commands/maintenance}/import/secrets.import.cli-command.descriptor.js +0 -0
- /package/dist/{cli → surfaces/cli/commands/maintenance}/pull/secrets.pull.cli-command.descriptor.d.ts +0 -0
- /package/dist/{cli → surfaces/cli/commands/maintenance}/push/secrets.push.cli-command.descriptor.d.ts +0 -0
- /package/dist/{cli → surfaces/cli/commands/maintenance}/unset/secrets.unset.cli-command.descriptor.d.ts +0 -0
- /package/dist/{cli → surfaces/cli/commands/maintenance}/unset/secrets.unset.cli-command.descriptor.js +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Run `task` after every task already queued for `path` in this process has
|
|
3
|
+
* settled, so a read-modify-write of one file never interleaves with another
|
|
4
|
+
* (no lost update). A failed task does not block the queue: its failure goes
|
|
5
|
+
* to its own caller. Different paths never wait on each other.
|
|
6
|
+
*
|
|
7
|
+
* This orders writers inside one process. It does not coordinate separate
|
|
8
|
+
* processes writing the same file.
|
|
9
|
+
*/
|
|
10
|
+
export declare function serializeByPath<T>(path: string, task: () => Promise<T>): Promise<T>;
|
|
11
|
+
//# sourceMappingURL=path-queue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"path-queue.d.ts","sourceRoot":"","sources":["../../src/support/path-queue.ts"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AACH,wBAAsB,eAAe,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAezF"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/** The tail of each path's queue: resolves when the last queued task for that path has settled. */
|
|
2
|
+
const tails = new Map();
|
|
3
|
+
/**
|
|
4
|
+
* Run `task` after every task already queued for `path` in this process has
|
|
5
|
+
* settled, so a read-modify-write of one file never interleaves with another
|
|
6
|
+
* (no lost update). A failed task does not block the queue: its failure goes
|
|
7
|
+
* to its own caller. Different paths never wait on each other.
|
|
8
|
+
*
|
|
9
|
+
* This orders writers inside one process. It does not coordinate separate
|
|
10
|
+
* processes writing the same file.
|
|
11
|
+
*/
|
|
12
|
+
export async function serializeByPath(path, task) {
|
|
13
|
+
const previous = tails.get(path);
|
|
14
|
+
let release = () => undefined;
|
|
15
|
+
// The gate only ever resolves, so waiting on a predecessor's gate cannot throw.
|
|
16
|
+
const gate = new Promise((resolve) => {
|
|
17
|
+
release = resolve;
|
|
18
|
+
});
|
|
19
|
+
tails.set(path, gate);
|
|
20
|
+
try {
|
|
21
|
+
if (previous)
|
|
22
|
+
await previous;
|
|
23
|
+
return await task();
|
|
24
|
+
}
|
|
25
|
+
finally {
|
|
26
|
+
release();
|
|
27
|
+
if (tails.get(path) === gate)
|
|
28
|
+
tails.delete(path);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=path-queue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"path-queue.js","sourceRoot":"","sources":["../../src/support/path-queue.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,MAAM,KAAK,GAAG,IAAI,GAAG,EAAyB,CAAC;AAE/C;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,eAAe,CAAI,IAAY,EAAE,IAAsB;IAC5E,MAAM,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACjC,IAAI,OAAO,GAAe,GAAG,EAAE,CAAC,SAAS,CAAC;IAC1C,gFAAgF;IAChF,MAAM,IAAI,GAAG,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE;QAC1C,OAAO,GAAG,OAAO,CAAC;IACnB,CAAC,CAAC,CAAC;IACH,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACtB,IAAI,CAAC;QACJ,IAAI,QAAQ;YAAE,MAAM,QAAQ,CAAC;QAC7B,OAAO,MAAM,IAAI,EAAE,CAAC;IACrB,CAAC;YAAS,CAAC;QACV,OAAO,EAAE,CAAC;QACV,IAAI,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,IAAI;YAAE,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;AACF,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resolve the active secrets store from a runtime.
|
|
3
|
+
*
|
|
4
|
+
* Generation executors, agents, and other runtime consumers that need
|
|
5
|
+
* to materialize `{ source: 'secret', key: ... }` credential references
|
|
6
|
+
* should call this once per operation and pass the returned implementation
|
|
7
|
+
* along with the active environment scope.
|
|
8
|
+
*
|
|
9
|
+
* Selection rules:
|
|
10
|
+
* - Filter descriptors by tier (`local` / `dev` / `staging` / `production`)
|
|
11
|
+
* - Highest `priority` wins; a tie is `INVALID_INPUT` `store-ambiguous`
|
|
12
|
+
* (`pickTierSecretsStore`, the same pick the kind and every CLI command use)
|
|
13
|
+
* - Descriptors are parsed (`parseSecretsStoreDescriptors`), never cast
|
|
14
|
+
* - Returns `null` when the `secrets/store` kind is not registered, no
|
|
15
|
+
* descriptors exist, **or no descriptor lists the requested tier**
|
|
16
|
+
* (callers fall back to env / worker bindings — never force-load a
|
|
17
|
+
* consumer-only backend like encrypted-local on production cloud)
|
|
18
|
+
* - Throws if a tier-eligible backend IS selected but its impl cannot be
|
|
19
|
+
* resolved (corrupt-state failure, never silent)
|
|
20
|
+
*/
|
|
21
|
+
import type { RuntimeRef } from '@vibesdotdev/kernel';
|
|
22
|
+
import type { SecretsStoreImplementation } from '../domain/kinds/store.interface.ts';
|
|
23
|
+
import type { EnvironmentTier } from '../domain/kinds/store.schema.ts';
|
|
24
|
+
export declare function resolveSecretsStore(runtime: Pick<RuntimeRef, 'hasKind' | 'query'>, tier?: EnvironmentTier): Promise<SecretsStoreImplementation | null>;
|
|
25
|
+
//# sourceMappingURL=runtime-resolver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime-resolver.d.ts","sourceRoot":"","sources":["../../src/support/runtime-resolver.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AACrF,OAAO,KAAK,EAAE,eAAe,EAAyB,MAAM,iCAAiC,CAAC;AAE9F,wBAAsB,mBAAmB,CACxC,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,SAAS,GAAG,OAAO,CAAC,EAC9C,IAAI,GAAE,eAAyB,GAC7B,OAAO,CAAC,0BAA0B,GAAG,IAAI,CAAC,CAU5C"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resolve the active secrets store from a runtime.
|
|
3
|
+
*
|
|
4
|
+
* Generation executors, agents, and other runtime consumers that need
|
|
5
|
+
* to materialize `{ source: 'secret', key: ... }` credential references
|
|
6
|
+
* should call this once per operation and pass the returned implementation
|
|
7
|
+
* along with the active environment scope.
|
|
8
|
+
*
|
|
9
|
+
* Selection rules:
|
|
10
|
+
* - Filter descriptors by tier (`local` / `dev` / `staging` / `production`)
|
|
11
|
+
* - Highest `priority` wins; a tie is `INVALID_INPUT` `store-ambiguous`
|
|
12
|
+
* (`pickTierSecretsStore`, the same pick the kind and every CLI command use)
|
|
13
|
+
* - Descriptors are parsed (`parseSecretsStoreDescriptors`), never cast
|
|
14
|
+
* - Returns `null` when the `secrets/store` kind is not registered, no
|
|
15
|
+
* descriptors exist, **or no descriptor lists the requested tier**
|
|
16
|
+
* (callers fall back to env / worker bindings — never force-load a
|
|
17
|
+
* consumer-only backend like encrypted-local on production cloud)
|
|
18
|
+
* - Throws if a tier-eligible backend IS selected but its impl cannot be
|
|
19
|
+
* resolved (corrupt-state failure, never silent)
|
|
20
|
+
*/
|
|
21
|
+
import { parseSecretsStoreDescriptors, pickTierSecretsStore } from "../domain/kinds/store-selection.js";
|
|
22
|
+
export async function resolveSecretsStore(runtime, tier = 'local') {
|
|
23
|
+
if (!runtime.hasKind('secrets/store'))
|
|
24
|
+
return null;
|
|
25
|
+
const query = runtime.query('secrets/store');
|
|
26
|
+
// Fail closed on tier: never fall back to an ineligible consumer backend
|
|
27
|
+
// (e.g. encrypted-local on production workerd → getPathRoots → paths/roots 500).
|
|
28
|
+
const target = pickTierSecretsStore(parseSecretsStoreDescriptors(query.descriptors()), tier);
|
|
29
|
+
if (!target)
|
|
30
|
+
return null;
|
|
31
|
+
return query.withId(target.id).resolve();
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=runtime-resolver.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime-resolver.js","sourceRoot":"","sources":["../../src/support/runtime-resolver.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,EAAE,4BAA4B,EAAC,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAIvG,MAAM,CAAC,KAAK,UAAU,mBAAmB,CACxC,OAA8C,EAC9C,OAAwB,OAAO;IAE/B,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,eAAe,CAAC;QAAE,OAAO,IAAI,CAAC;IAEnD,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAqD,eAAe,CAAC,CAAC;IACjG,yEAAyE;IACzE,iFAAiF;IACjF,MAAM,MAAM,GAAG,oBAAoB,CAAC,4BAA4B,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,EAAE,IAAI,CAAC,CAAC;IAC7F,IAAI,CAAC,MAAM;QAAE,OAAO,IAAI,CAAC;IAEzB,OAAO,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC;AAC1C,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether `key` is a credential name a store answers (what `assertSecretKey`
|
|
3
|
+
* accepts), for code that filters names it reads from a source it does not
|
|
4
|
+
* control (a mounted directory, a host manifest) instead of refusing a caller.
|
|
5
|
+
*/
|
|
6
|
+
export declare function isSecretKey(key: string): boolean;
|
|
7
|
+
/** The longest secret value a store accepts, in UTF-16 code units (1 MiB of ASCII). */
|
|
8
|
+
export declare const SECRET_VALUE_MAX_LENGTH = 1048576;
|
|
9
|
+
/**
|
|
10
|
+
* Refuse a value no store may hold: not a string (a JS caller can hand any
|
|
11
|
+
* value through the typed interface), or longer than the cap. The value itself
|
|
12
|
+
* is never put in the error.
|
|
13
|
+
*/
|
|
14
|
+
export declare function assertSecretValue(value: string): void;
|
|
15
|
+
/**
|
|
16
|
+
* `assertSecretValue`, plus no line break and no NUL: a value a line-oriented
|
|
17
|
+
* file (a dotenv file) can hold without one value becoming two lines.
|
|
18
|
+
*/
|
|
19
|
+
export declare function assertSingleLineSecretValue(value: string): void;
|
|
20
|
+
//# sourceMappingURL=secret-value.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secret-value.d.ts","sourceRoot":"","sources":["../../src/support/secret-value.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAKhD;AAED,uFAAuF;AACvF,eAAO,MAAM,uBAAuB,UAAY,CAAC;AAajD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAIrD;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAG/D"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { CapabilityError, isCapabilityError } from '@vibesdotdev/kernel';
|
|
2
|
+
import * as z from 'zod/v4';
|
|
3
|
+
import { assertSecretKey } from "../domain/kinds/secret-key.js";
|
|
4
|
+
import { attemptOf } from "./file-failure.js";
|
|
5
|
+
/**
|
|
6
|
+
* Whether `key` is a credential name a store answers (what `assertSecretKey`
|
|
7
|
+
* accepts), for code that filters names it reads from a source it does not
|
|
8
|
+
* control (a mounted directory, a host manifest) instead of refusing a caller.
|
|
9
|
+
*/
|
|
10
|
+
export function isSecretKey(key) {
|
|
11
|
+
const checked = attemptOf(() => assertSecretKey(key));
|
|
12
|
+
if (checked.ok)
|
|
13
|
+
return true;
|
|
14
|
+
if (isCapabilityError(checked.failure) && checked.failure.reason === 'secret-key-invalid')
|
|
15
|
+
return false;
|
|
16
|
+
throw checked.failure;
|
|
17
|
+
}
|
|
18
|
+
/** The longest secret value a store accepts, in UTF-16 code units (1 MiB of ASCII). */
|
|
19
|
+
export const SECRET_VALUE_MAX_LENGTH = 1_048_576;
|
|
20
|
+
const SecretValueSchema = z.string().max(SECRET_VALUE_MAX_LENGTH);
|
|
21
|
+
const SingleLineSecretValueSchema = SecretValueSchema.regex(/^[^\n\r\0]*$/);
|
|
22
|
+
function invalid(problem) {
|
|
23
|
+
return new CapabilityError('The secret value is not acceptable.', 'INVALID_INPUT', {
|
|
24
|
+
reason: 'secret-value-invalid',
|
|
25
|
+
retryable: false,
|
|
26
|
+
details: { problem }
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Refuse a value no store may hold: not a string (a JS caller can hand any
|
|
31
|
+
* value through the typed interface), or longer than the cap. The value itself
|
|
32
|
+
* is never put in the error.
|
|
33
|
+
*/
|
|
34
|
+
export function assertSecretValue(value) {
|
|
35
|
+
const parsed = SecretValueSchema.safeParse(value);
|
|
36
|
+
if (parsed.success)
|
|
37
|
+
return;
|
|
38
|
+
throw invalid(parsed.error.issues.some((issue) => issue.code === 'too_big') ? 'too-long' : 'not-a-string');
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* `assertSecretValue`, plus no line break and no NUL: a value a line-oriented
|
|
42
|
+
* file (a dotenv file) can hold without one value becoming two lines.
|
|
43
|
+
*/
|
|
44
|
+
export function assertSingleLineSecretValue(value) {
|
|
45
|
+
assertSecretValue(value);
|
|
46
|
+
if (!SingleLineSecretValueSchema.safeParse(value).success)
|
|
47
|
+
throw invalid('line-break-or-nul');
|
|
48
|
+
}
|
|
49
|
+
//# sourceMappingURL=secret-value.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secret-value.js","sourceRoot":"","sources":["../../src/support/secret-value.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAC,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C;;;;GAIG;AACH,MAAM,UAAU,WAAW,CAAC,GAAW;IACtC,MAAM,OAAO,GAAG,SAAS,CAAC,GAAG,EAAE,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC;IACtD,IAAI,OAAO,CAAC,EAAE;QAAE,OAAO,IAAI,CAAC;IAC5B,IAAI,iBAAiB,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,OAAO,CAAC,OAAO,CAAC,MAAM,KAAK,oBAAoB;QAAE,OAAO,KAAK,CAAC;IACxG,MAAM,OAAO,CAAC,OAAO,CAAC;AACvB,CAAC;AAED,uFAAuF;AACvF,MAAM,CAAC,MAAM,uBAAuB,GAAG,SAAS,CAAC;AAEjD,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC;AAClE,MAAM,2BAA2B,GAAG,iBAAiB,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;AAE5E,SAAS,OAAO,CAAC,OAAe;IAC/B,OAAO,IAAI,eAAe,CAAC,qCAAqC,EAAE,eAAe,EAAE;QAClF,MAAM,EAAE,sBAAsB;QAC9B,SAAS,EAAE,KAAK;QAChB,OAAO,EAAE,EAAE,OAAO,EAAE;KACpB,CAAC,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,iBAAiB,CAAC,KAAa;IAC9C,MAAM,MAAM,GAAG,iBAAiB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAClD,IAAI,MAAM,CAAC,OAAO;QAAE,OAAO;IAC3B,MAAM,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC;AAC5G,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,2BAA2B,CAAC,KAAa;IACxD,iBAAiB,CAAC,KAAK,CAAC,CAAC;IACzB,IAAI,CAAC,2BAA2B,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO;QAAE,MAAM,OAAO,CAAC,mBAAmB,CAAC,CAAC;AAC/F,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type EnvironmentTier } from '../domain/kinds/schemas/store.schema.ts';
|
|
2
|
+
/**
|
|
3
|
+
* The environment a file-backed store is asked about is one of the tier names
|
|
4
|
+
* (`local`, `dev`, `staging`, `production`), never free text: it becomes part of
|
|
5
|
+
* a file name or a vault section, so a path or an object-internal name is
|
|
6
|
+
* refused before anything is read or written. (A JS caller can hand any value
|
|
7
|
+
* through the typed interface; the schema parse is the check.)
|
|
8
|
+
*/
|
|
9
|
+
export declare function parseStoreEnvironment(environment: string): EnvironmentTier;
|
|
10
|
+
//# sourceMappingURL=store-environment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store-environment.d.ts","sourceRoot":"","sources":["../../src/support/store-environment.ts"],"names":[],"mappings":"AACA,OAAO,EAAwB,KAAK,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAErG;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,MAAM,GAAG,eAAe,CAQ1E"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CapabilityError } from '@vibesdotdev/kernel';
|
|
2
|
+
import { EnvironmentTierSchema } from "../domain/kinds/schemas/store.schema.js";
|
|
3
|
+
/**
|
|
4
|
+
* The environment a file-backed store is asked about is one of the tier names
|
|
5
|
+
* (`local`, `dev`, `staging`, `production`), never free text: it becomes part of
|
|
6
|
+
* a file name or a vault section, so a path or an object-internal name is
|
|
7
|
+
* refused before anything is read or written. (A JS caller can hand any value
|
|
8
|
+
* through the typed interface; the schema parse is the check.)
|
|
9
|
+
*/
|
|
10
|
+
export function parseStoreEnvironment(environment) {
|
|
11
|
+
const parsed = EnvironmentTierSchema.safeParse(environment);
|
|
12
|
+
if (parsed.success)
|
|
13
|
+
return parsed.data;
|
|
14
|
+
throw new CapabilityError('The environment is not an environment tier.', 'INVALID_INPUT', {
|
|
15
|
+
reason: 'scope-invalid',
|
|
16
|
+
retryable: false,
|
|
17
|
+
details: { allowed: EnvironmentTierSchema.options.join(',') }
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=store-environment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store-environment.js","sourceRoot":"","sources":["../../src/support/store-environment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAuB,MAAM,yCAAyC,CAAC;AAErG;;;;;;GAMG;AACH,MAAM,UAAU,qBAAqB,CAAC,WAAmB;IACxD,MAAM,MAAM,GAAG,qBAAqB,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC5D,IAAI,MAAM,CAAC,OAAO;QAAE,OAAO,MAAM,CAAC,IAAI,CAAC;IACvC,MAAM,IAAI,eAAe,CAAC,6CAA6C,EAAE,eAAe,EAAE;QACzF,MAAM,EAAE,eAAe;QACvB,SAAS,EAAE,KAAK;QAChB,OAAO,EAAE,EAAE,OAAO,EAAE,qBAAqB,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;KAC7D,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type FileSystemAdapterInterface } from '@vibesdotdev/filesystem';
|
|
2
|
+
/** Compose a host with exactly the far-boundary filesystem supplied by the test. */
|
|
3
|
+
export declare function runtimeOverAdapter(adapter?: FileSystemAdapterInterface, platform?: string): Promise<import("@vibesdotdev/kernel").VibesRuntime>;
|
|
4
|
+
//# sourceMappingURL=adapter-runtime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adapter-runtime.d.ts","sourceRoot":"","sources":["../../../src/support/test-support/adapter-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAI3F,oFAAoF;AACpF,wBAAsB,kBAAkB,CAAC,OAAO,CAAC,EAAE,0BAA0B,EAAE,QAAQ,SAAU,uDAahG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { filesystemPlugin } from '@vibesdotdev/filesystem';
|
|
2
|
+
import { createRuntimePlugin } from '@vibesdotdev/kernel';
|
|
3
|
+
import { createTestRuntime } from '@vibesdotdev/testing/node/runtime';
|
|
4
|
+
/** Compose a host with exactly the far-boundary filesystem supplied by the test. */
|
|
5
|
+
export async function runtimeOverAdapter(adapter, platform = 'linux') {
|
|
6
|
+
const plugins = adapter ? [
|
|
7
|
+
filesystemPlugin,
|
|
8
|
+
createRuntimePlugin({
|
|
9
|
+
id: 'secrets.test-filesystem', name: 'Secrets test filesystem',
|
|
10
|
+
dependencies: ['filesystem'],
|
|
11
|
+
descriptors: [adapter.descriptor],
|
|
12
|
+
onRegister(runtime) {
|
|
13
|
+
runtime.registerLoader('filesystem/adapter', adapter.descriptor.id, async () => ({ impl: adapter }));
|
|
14
|
+
}
|
|
15
|
+
})
|
|
16
|
+
] : [];
|
|
17
|
+
return (await createTestRuntime({ binding: 'owned', platform, hostFileSystem() { }, plugins })).runtime;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=adapter-runtime.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adapter-runtime.js","sourceRoot":"","sources":["../../../src/support/test-support/adapter-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAkC,MAAM,yBAAyB,CAAC;AAC3F,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,oFAAoF;AACpF,MAAM,CAAC,KAAK,UAAU,kBAAkB,CAAC,OAAoC,EAAE,QAAQ,GAAG,OAAO;IAChG,MAAM,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC;QACzB,gBAAgB;QAChB,mBAAmB,CAAC;YACnB,EAAE,EAAE,yBAAyB,EAAE,IAAI,EAAE,yBAAyB;YAC9D,YAAY,EAAE,CAAC,YAAY,CAAC;YAC5B,WAAW,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC;YACjC,UAAU,CAAC,OAAO;gBACjB,OAAO,CAAC,cAAc,CAAC,oBAAoB,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC;YACtG,CAAC;SACD,CAAC;KACF,CAAC,CAAC,CAAC,EAAE,CAAC;IACP,OAAO,CAAC,MAAM,iBAAiB,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,cAAc,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC;AACzG,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type FileSystemAdapterDescriptor } from '@vibesdotdev/filesystem/schemas/adapter-descriptor';
|
|
2
|
+
/** The adapter id every in-package double registers under. */
|
|
3
|
+
export declare const FILESYSTEM_DOUBLE_ID = "secrets-test-filesystem";
|
|
4
|
+
/**
|
|
5
|
+
* The double's default capabilities. `versioned-file` is what the transport and
|
|
6
|
+
* mounted-files paths read through, and the schema requires its metadata beside
|
|
7
|
+
* it; `owner-private` is what the attestation claims are written with. A test
|
|
8
|
+
* that needs an adapter that cannot bound a read empties `capabilities` (see
|
|
9
|
+
* the filesystem double) rather than editing a descriptor.
|
|
10
|
+
*/
|
|
11
|
+
export declare const DEFAULT_CAPABILITIES: readonly ["list", "read", "write", "stat", "owner-private", "versioned-file"];
|
|
12
|
+
/**
|
|
13
|
+
* The double's descriptor, parsed by its owning schema. The `versioned-file`
|
|
14
|
+
* metadata is present exactly when the capability list declares that capability,
|
|
15
|
+
* because the schema holds the two to each other; deriving it here is what lets a
|
|
16
|
+
* caller narrow the capability list without hand-editing the metadata.
|
|
17
|
+
*/
|
|
18
|
+
export declare function filesystemDoubleDescriptor(capabilities?: FileSystemAdapterDescriptor['capabilities']): FileSystemAdapterDescriptor;
|
|
19
|
+
//# sourceMappingURL=filesystem-descriptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filesystem-descriptor.d.ts","sourceRoot":"","sources":["../../../src/support/test-support/filesystem-descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAEP,KAAK,2BAA2B,EAC/B,MAAM,oDAAoD,CAAC;AAE5D,8DAA8D;AAC9D,eAAO,MAAM,oBAAoB,4BAA4B,CAAC;AAE9D;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,+EAOvB,CAAC;AAEX;;;;;GAKG;AACH,wBAAgB,0BAA0B,CACzC,YAAY,GAAE,2BAA2B,CAAC,cAAc,CAA6B,GACnF,2BAA2B,CAoB7B"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { FileSystemAdapterDescriptorSchema } from '@vibesdotdev/filesystem/schemas/adapter-descriptor';
|
|
2
|
+
/** The adapter id every in-package double registers under. */
|
|
3
|
+
export const FILESYSTEM_DOUBLE_ID = 'secrets-test-filesystem';
|
|
4
|
+
/**
|
|
5
|
+
* The double's default capabilities. `versioned-file` is what the transport and
|
|
6
|
+
* mounted-files paths read through, and the schema requires its metadata beside
|
|
7
|
+
* it; `owner-private` is what the attestation claims are written with. A test
|
|
8
|
+
* that needs an adapter that cannot bound a read empties `capabilities` (see
|
|
9
|
+
* the filesystem double) rather than editing a descriptor.
|
|
10
|
+
*/
|
|
11
|
+
export const DEFAULT_CAPABILITIES = [
|
|
12
|
+
'list',
|
|
13
|
+
'read',
|
|
14
|
+
'write',
|
|
15
|
+
'stat',
|
|
16
|
+
'owner-private',
|
|
17
|
+
'versioned-file'
|
|
18
|
+
];
|
|
19
|
+
/**
|
|
20
|
+
* The double's descriptor, parsed by its owning schema. The `versioned-file`
|
|
21
|
+
* metadata is present exactly when the capability list declares that capability,
|
|
22
|
+
* because the schema holds the two to each other; deriving it here is what lets a
|
|
23
|
+
* caller narrow the capability list without hand-editing the metadata.
|
|
24
|
+
*/
|
|
25
|
+
export function filesystemDoubleDescriptor(capabilities = [...DEFAULT_CAPABILITIES]) {
|
|
26
|
+
const declared = {
|
|
27
|
+
id: FILESYSTEM_DOUBLE_ID,
|
|
28
|
+
kind: 'filesystem/adapter',
|
|
29
|
+
name: 'Secrets Test FileSystem',
|
|
30
|
+
protocols: ['file', 'directory'],
|
|
31
|
+
capabilities,
|
|
32
|
+
// The host's Node-API adapter carries no `priority`; declaring one states
|
|
33
|
+
// this double's precedence without a test reaching past the kind's resolver.
|
|
34
|
+
priority: 100
|
|
35
|
+
};
|
|
36
|
+
// The schema holds the `versioned-file` capability and its metadata to each
|
|
37
|
+
// other, so the metadata is declared exactly when the capability is.
|
|
38
|
+
if (capabilities.includes('versioned-file')) {
|
|
39
|
+
return FileSystemAdapterDescriptorSchema.parse({
|
|
40
|
+
...declared,
|
|
41
|
+
versionedFile: { revisionScheme: 'secrets-test-v1', revisionScope: 'file-content' }
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
return FileSystemAdapterDescriptorSchema.parse(declared);
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=filesystem-descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filesystem-descriptor.js","sourceRoot":"","sources":["../../../src/support/test-support/filesystem-descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EACP,iCAAiC,EAEhC,MAAM,oDAAoD,CAAC;AAE5D,8DAA8D;AAC9D,MAAM,CAAC,MAAM,oBAAoB,GAAG,yBAAyB,CAAC;AAE9D;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IACnC,MAAM;IACN,MAAM;IACN,OAAO;IACP,MAAM;IACN,eAAe;IACf,gBAAgB;CACP,CAAC;AAEX;;;;;GAKG;AACH,MAAM,UAAU,0BAA0B,CACzC,eAA4D,CAAC,GAAG,oBAAoB,CAAC;IAErF,MAAM,QAAQ,GAAG;QAChB,EAAE,EAAE,oBAAoB;QACxB,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,yBAAyB;QAC/B,SAAS,EAAE,CAAC,MAAM,EAAE,WAAW,CAAC;QAChC,YAAY;QACZ,0EAA0E;QAC1E,6EAA6E;QAC7E,QAAQ,EAAE,GAAG;KACb,CAAC;IACF,4EAA4E;IAC5E,qEAAqE;IACrE,IAAI,YAAY,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC;QAC7C,OAAO,iCAAiC,CAAC,KAAK,CAAC;YAC9C,GAAG,QAAQ;YACX,aAAa,EAAE,EAAE,cAAc,EAAE,iBAAiB,EAAE,aAAa,EAAE,cAAc,EAAE;SACnF,CAAC,CAAC;IACJ,CAAC;IACD,OAAO,iCAAiC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;AAC1D,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type FilesystemDouble, type FilesystemDoubleOptions } from "../../schemas/domain/testing/filesystem.schema.ts";
|
|
2
|
+
export { type FilesystemDouble, type FilesystemDoubleAdapter, type FilesystemDoubleOptions } from "../../schemas/domain/testing/filesystem.schema.ts";
|
|
3
|
+
export { DEFAULT_CAPABILITIES, FILESYSTEM_DOUBLE_ID, filesystemDoubleDescriptor } from "./filesystem-descriptor.ts";
|
|
4
|
+
export { escapeRegExp, joinPath, normalizePath, stripPrefix } from "./path-mechanics.ts";
|
|
5
|
+
/**
|
|
6
|
+
* The one in-memory `filesystem/adapter` this package's tests register.
|
|
7
|
+
*
|
|
8
|
+
* The Node declared test environment already registers the kind and the Node-API
|
|
9
|
+
* adapter on every `createTestRuntime` host, so a per-file double could not
|
|
10
|
+
* re-register either: a hand-written descriptor literal was parsed by the real
|
|
11
|
+
* `FileSystemAdapterDescriptorSchema` and refused (`descriptor-invalid`, no
|
|
12
|
+
* `protocols`), a second `registerKind` threw, and a double that only won
|
|
13
|
+
* selection by being the sole candidate stopped winning. This module owns the
|
|
14
|
+
* three answers instead, once:
|
|
15
|
+
*
|
|
16
|
+
* 1. the kind is registered only when the host has none;
|
|
17
|
+
* 2. the descriptor is the owning schema's own parse of a literal, never a
|
|
18
|
+
* hand-written duplicate type, so a required field that appears later refuses
|
|
19
|
+
* here rather than silently registering an under-described adapter;
|
|
20
|
+
* 3. a host that must answer through a double composes the host filesystem out
|
|
21
|
+
* (`hostFileSystem: () => {}`, through `bootSecretsTestRuntime`), leaving the
|
|
22
|
+
* double as its only adapter; a test whose premise is "this host owns no
|
|
23
|
+
* filesystem adapter at all" gets that same host, and the typed
|
|
24
|
+
* `filesystem-adapter-not-registered` rows keep a real host to refuse on.
|
|
25
|
+
*/
|
|
26
|
+
import { CapabilityError, type VibesRuntime } from '@vibesdotdev/kernel';
|
|
27
|
+
/**
|
|
28
|
+
* Register the in-memory adapter as `runtime`'s `filesystem/adapter`, and return
|
|
29
|
+
* the recorded view of it. The kind is registered only when the host has none
|
|
30
|
+
* (a bare `VibesRuntime` with no environment); on a `createTestRuntime` host the
|
|
31
|
+
* declared test environment registered it first and this registers the
|
|
32
|
+
* descriptor and loader against that kind.
|
|
33
|
+
*
|
|
34
|
+
* The host's own Node-API adapter wins selection by registration order, so a
|
|
35
|
+
* host that must answer through this double is booted with `hostFileSystem:
|
|
36
|
+
* false` (`bootSecretsTestRuntime`), which leaves this as its only adapter.
|
|
37
|
+
*/
|
|
38
|
+
export declare function registerFilesystemDouble(runtime?: VibesRuntime, options?: FilesystemDoubleOptions): FilesystemDouble;
|
|
39
|
+
/** A typed adapter refusal, for a test that needs one this module does not produce. */
|
|
40
|
+
export declare function notFound(): CapabilityError;
|
|
41
|
+
//# sourceMappingURL=filesystem-double.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filesystem-double.d.ts","sourceRoot":"","sources":["../../../src/support/test-support/filesystem-double.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAA8B,KAAK,uBAAuB,EAAE,MAAM,mDAAmD,CAAC;AAKpJ,OAAO,EAAE,KAAK,gBAAgB,EAAC,KAAK,uBAAuB,EAAC,KAAK,uBAAuB,EAAE,MAAM,mDAAmD,CAAC;AACpJ,OAAO,EAAE,oBAAoB,EAAC,oBAAoB,EAAC,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAClH,OAAO,EAAE,YAAY,EAAC,QAAQ,EAAC,aAAa,EAAC,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACtF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EACP,eAAe,EACf,KAAK,YAAY,EAChB,MAAM,qBAAqB,CAAC;AAe7B;;;;;;;;;;GAUG;AACH,wBAAgB,wBAAwB,CACvC,OAAO,CAAC,EAAE,YAAY,EACtB,OAAO,CAAC,EAAE,uBAAuB,GAC/B,gBAAgB,CAgIlB;AAED,uFAAuF;AACvF,wBAAgB,QAAQ,IAAI,eAAe,CAE1C"}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import {} from "../../schemas/domain/testing/filesystem.schema.js";
|
|
2
|
+
import { filesystemDoubleDescriptor } from "./filesystem-descriptor.js";
|
|
3
|
+
import { pathOperations } from "./filesystem-paths.js";
|
|
4
|
+
import { privateFileOperations } from "./private-files.js";
|
|
5
|
+
import { registerAdapter } from "./register-adapter.js";
|
|
6
|
+
export {} from "../../schemas/domain/testing/filesystem.schema.js";
|
|
7
|
+
export { DEFAULT_CAPABILITIES, FILESYSTEM_DOUBLE_ID, filesystemDoubleDescriptor } from "./filesystem-descriptor.js";
|
|
8
|
+
export { escapeRegExp, joinPath, normalizePath, stripPrefix } from "./path-mechanics.js";
|
|
9
|
+
/**
|
|
10
|
+
* The one in-memory `filesystem/adapter` this package's tests register.
|
|
11
|
+
*
|
|
12
|
+
* The Node declared test environment already registers the kind and the Node-API
|
|
13
|
+
* adapter on every `createTestRuntime` host, so a per-file double could not
|
|
14
|
+
* re-register either: a hand-written descriptor literal was parsed by the real
|
|
15
|
+
* `FileSystemAdapterDescriptorSchema` and refused (`descriptor-invalid`, no
|
|
16
|
+
* `protocols`), a second `registerKind` threw, and a double that only won
|
|
17
|
+
* selection by being the sole candidate stopped winning. This module owns the
|
|
18
|
+
* three answers instead, once:
|
|
19
|
+
*
|
|
20
|
+
* 1. the kind is registered only when the host has none;
|
|
21
|
+
* 2. the descriptor is the owning schema's own parse of a literal, never a
|
|
22
|
+
* hand-written duplicate type, so a required field that appears later refuses
|
|
23
|
+
* here rather than silently registering an under-described adapter;
|
|
24
|
+
* 3. a host that must answer through a double composes the host filesystem out
|
|
25
|
+
* (`hostFileSystem: () => {}`, through `bootSecretsTestRuntime`), leaving the
|
|
26
|
+
* double as its only adapter; a test whose premise is "this host owns no
|
|
27
|
+
* filesystem adapter at all" gets that same host, and the typed
|
|
28
|
+
* `filesystem-adapter-not-registered` rows keep a real host to refuse on.
|
|
29
|
+
*/
|
|
30
|
+
import { CapabilityError } from '@vibesdotdev/kernel';
|
|
31
|
+
/**
|
|
32
|
+
* The host's errno, as the canonical taxonomy carries one: a `CapabilityError`
|
|
33
|
+
* whose `details.code` is the host's own code, so a double and the host's own
|
|
34
|
+
* adapter refuse through the same value a caller reads.
|
|
35
|
+
*/
|
|
36
|
+
function nativeError(message, code) {
|
|
37
|
+
return new CapabilityError(message, 'UNAVAILABLE', {
|
|
38
|
+
reason: 'filesystem-host-error',
|
|
39
|
+
retryable: false,
|
|
40
|
+
details: { code }
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Register the in-memory adapter as `runtime`'s `filesystem/adapter`, and return
|
|
45
|
+
* the recorded view of it. The kind is registered only when the host has none
|
|
46
|
+
* (a bare `VibesRuntime` with no environment); on a `createTestRuntime` host the
|
|
47
|
+
* declared test environment registered it first and this registers the
|
|
48
|
+
* descriptor and loader against that kind.
|
|
49
|
+
*
|
|
50
|
+
* The host's own Node-API adapter wins selection by registration order, so a
|
|
51
|
+
* host that must answer through this double is booted with `hostFileSystem:
|
|
52
|
+
* false` (`bootSecretsTestRuntime`), which leaves this as its only adapter.
|
|
53
|
+
*/
|
|
54
|
+
export function registerFilesystemDouble(runtime, options) {
|
|
55
|
+
const files = new Map();
|
|
56
|
+
if (options?.files) {
|
|
57
|
+
if (options.files instanceof Map) {
|
|
58
|
+
for (const [path, content] of options.files) {
|
|
59
|
+
files.set(path, content);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
for (const [path, content] of Object.entries(options.files)) {
|
|
64
|
+
files.set(path, content);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
const reads = [];
|
|
69
|
+
const unreadable = new Map();
|
|
70
|
+
const statSizes = new Map();
|
|
71
|
+
const descriptor = filesystemDoubleDescriptor(options?.capabilities);
|
|
72
|
+
// The parsed descriptor's own array, not a second one: a test that empties
|
|
73
|
+
// `capabilities` must be editing what the implementation reads, which is how
|
|
74
|
+
// the "an adapter that cannot bound a read" rows reach their refusal.
|
|
75
|
+
const capabilities = descriptor.capabilities;
|
|
76
|
+
const adapter = {
|
|
77
|
+
...privateFileOperations(files, () => double.sharedParent),
|
|
78
|
+
...pathOperations(files),
|
|
79
|
+
descriptor,
|
|
80
|
+
async exists(path) {
|
|
81
|
+
return files.has(path);
|
|
82
|
+
},
|
|
83
|
+
async stat(path) {
|
|
84
|
+
const errno = unreadable.get(path);
|
|
85
|
+
if (errno)
|
|
86
|
+
throw nativeError(`${errno}: ${path}`, errno);
|
|
87
|
+
const data = files.get(path);
|
|
88
|
+
if (data === undefined)
|
|
89
|
+
throw nativeError(`ENOENT: ${path}`, 'ENOENT');
|
|
90
|
+
return {
|
|
91
|
+
kind: 'file',
|
|
92
|
+
size: statSizes.get(path) ?? new TextEncoder().encode(data).byteLength,
|
|
93
|
+
mtime: new Date(0).toISOString(),
|
|
94
|
+
readable: true,
|
|
95
|
+
writable: true,
|
|
96
|
+
isSymlink: false
|
|
97
|
+
};
|
|
98
|
+
},
|
|
99
|
+
async readFile(path) {
|
|
100
|
+
reads.push(path);
|
|
101
|
+
const errno = unreadable.get(path);
|
|
102
|
+
if (errno)
|
|
103
|
+
throw nativeError(`${errno}: ${path}`, errno);
|
|
104
|
+
const data = files.get(path);
|
|
105
|
+
if (data === undefined)
|
|
106
|
+
throw nativeError(`ENOENT: ${path}`, 'ENOENT');
|
|
107
|
+
return data;
|
|
108
|
+
},
|
|
109
|
+
/** The adapter's bounded read: recorded only when the file is within `maxBytes`. */
|
|
110
|
+
async readFileVersioned(path, options) {
|
|
111
|
+
const errno = unreadable.get(path);
|
|
112
|
+
if (errno) {
|
|
113
|
+
return {
|
|
114
|
+
status: 'unavailable',
|
|
115
|
+
reason: `${errno}: read failed`,
|
|
116
|
+
cause: nativeError(`${errno}: ${path}`, errno)
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
const data = files.get(path);
|
|
120
|
+
if (data === undefined)
|
|
121
|
+
return { status: 'not-found', reason: 'File does not exist' };
|
|
122
|
+
const bytes = new TextEncoder().encode(data);
|
|
123
|
+
if (bytes.byteLength > options.maxBytes) {
|
|
124
|
+
return {
|
|
125
|
+
status: 'too-large',
|
|
126
|
+
reason: 'too large',
|
|
127
|
+
sizeBytes: bytes.byteLength,
|
|
128
|
+
maxBytes: options.maxBytes
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
reads.push(path);
|
|
132
|
+
return {
|
|
133
|
+
status: 'ok',
|
|
134
|
+
bytes,
|
|
135
|
+
revision: { scheme: 'secrets-test-v1', value: String(bytes.byteLength) }
|
|
136
|
+
};
|
|
137
|
+
},
|
|
138
|
+
async writeFile(path, data) {
|
|
139
|
+
files.set(path, data instanceof Uint8Array ? new TextDecoder().decode(data) : data);
|
|
140
|
+
},
|
|
141
|
+
async list(path) {
|
|
142
|
+
const prefix = path.endsWith('/') ? path : `${path}/`;
|
|
143
|
+
return [...files.keys()]
|
|
144
|
+
.filter((candidate) => candidate.startsWith(prefix))
|
|
145
|
+
.map((candidate) => ({
|
|
146
|
+
id: candidate,
|
|
147
|
+
name: candidate.slice(prefix.length),
|
|
148
|
+
path: candidate,
|
|
149
|
+
kind: 'file',
|
|
150
|
+
sizeBytes: new TextEncoder().encode(files.get(candidate) ?? '').byteLength,
|
|
151
|
+
readable: true,
|
|
152
|
+
writable: true
|
|
153
|
+
}));
|
|
154
|
+
},
|
|
155
|
+
async mkdir() { },
|
|
156
|
+
async remove(path) {
|
|
157
|
+
files.delete(path);
|
|
158
|
+
},
|
|
159
|
+
async rename(oldPath, newPath) {
|
|
160
|
+
const data = files.get(oldPath);
|
|
161
|
+
if (data === undefined)
|
|
162
|
+
throw nativeError(`ENOENT: ${oldPath}`, 'ENOENT');
|
|
163
|
+
files.set(newPath, data);
|
|
164
|
+
files.delete(oldPath);
|
|
165
|
+
},
|
|
166
|
+
async copy(source, destination) {
|
|
167
|
+
const data = files.get(source);
|
|
168
|
+
if (data === undefined)
|
|
169
|
+
throw nativeError(`ENOENT: ${source}`, 'ENOENT');
|
|
170
|
+
files.set(destination, data);
|
|
171
|
+
},
|
|
172
|
+
async watch() {
|
|
173
|
+
// An in-memory table has no host to watch; the disposer is what the
|
|
174
|
+
// contract owes a caller.
|
|
175
|
+
return () => { };
|
|
176
|
+
},
|
|
177
|
+
};
|
|
178
|
+
const double = {
|
|
179
|
+
adapter,
|
|
180
|
+
files,
|
|
181
|
+
reads,
|
|
182
|
+
unreadable,
|
|
183
|
+
statSizes,
|
|
184
|
+
capabilities,
|
|
185
|
+
descriptor,
|
|
186
|
+
sharedParent: options?.sharedParent
|
|
187
|
+
};
|
|
188
|
+
if (runtime)
|
|
189
|
+
registerAdapter(runtime, descriptor, adapter);
|
|
190
|
+
return double;
|
|
191
|
+
}
|
|
192
|
+
/** A typed adapter refusal, for a test that needs one this module does not produce. */
|
|
193
|
+
export function notFound() {
|
|
194
|
+
return new CapabilityError('absent', 'NOT_FOUND', { reason: 'filesystem-missing' });
|
|
195
|
+
}
|
|
196
|
+
//# sourceMappingURL=filesystem-double.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filesystem-double.js","sourceRoot":"","sources":["../../../src/support/test-support/filesystem-double.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { FilesystemDoubleAdapter } from '../../schemas/domain/testing/filesystem.schema.ts';
|
|
2
|
+
export declare function pathOperations(files: Map<string, string>): Pick<FilesystemDoubleAdapter, "resolve" | "dirname" | "basename" | "join" | "relative" | "isAbsolute" | "normalize" | "extname" | "glob">;
|
|
3
|
+
//# sourceMappingURL=filesystem-paths.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filesystem-paths.d.ts","sourceRoot":"","sources":["../../../src/support/test-support/filesystem-paths.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mDAAmD,CAAC;AAGjG,wBAAgB,cAAc,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC,uBAAuB,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,YAAY,GAAG,WAAW,GAAG,SAAS,GAAG,MAAM,CAAC,CAoDpM"}
|