@vibesdotdev/secrets 0.0.2 → 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 +15 -12
- 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 +363 -65
- 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,121 @@
|
|
|
1
|
+
import { RuntimeSvelteStore } from '@vibesdotdev/surface-sveltekit/svelte/state';
|
|
2
|
+
import { peekSecretsSurfaceClient } from "./state-owner.js";
|
|
3
|
+
import { secretsStateScopeSchema } from "../../schemas/ui/svelte/state.schema.js";
|
|
4
|
+
import { CapabilityError } from '@vibesdotdev/kernel';
|
|
5
|
+
import { SecretsStateReader } from "./state-reader.svelte.js";
|
|
6
|
+
/** Reactive descriptors owned by an explicit surface scope and its runtime lifecycle. */
|
|
7
|
+
import { getLogger } from '@vibesdotdev/logging';
|
|
8
|
+
const logger = getLogger('secrets.state');
|
|
9
|
+
export class SecretsState extends SecretsStateReader {
|
|
10
|
+
surfaceScope;
|
|
11
|
+
constructor(surfaceScope) {
|
|
12
|
+
super();
|
|
13
|
+
this.surfaceScope = surfaceScope;
|
|
14
|
+
}
|
|
15
|
+
adoptOwner(owner) {
|
|
16
|
+
if (!(this.surfaceScope instanceof RuntimeSvelteStore) || this.surfaceScope.runtime !== owner.runtime)
|
|
17
|
+
return;
|
|
18
|
+
owner.stateFor(this.surfaceScope, () => this);
|
|
19
|
+
// SAFETY: this module alone writes stateKey on the validated surface scope.
|
|
20
|
+
const pending = this.surfaceScope;
|
|
21
|
+
delete pending[stateKey];
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Fetch the value for a single secret. The value is returned to the caller
|
|
25
|
+
* and IS NOT stored in $state. Callers must render it transiently and avoid
|
|
26
|
+
* persisting it. Every call is audited server-side.
|
|
27
|
+
*/
|
|
28
|
+
async reveal(id) {
|
|
29
|
+
const client = this.requireClient();
|
|
30
|
+
logger.info('Secret reveal requested', { operation: 'reveal' });
|
|
31
|
+
try {
|
|
32
|
+
const result = await client.reveal(id);
|
|
33
|
+
logger.info('Secret reveal succeeded', { operation: 'reveal' });
|
|
34
|
+
return result;
|
|
35
|
+
}
|
|
36
|
+
catch (err) {
|
|
37
|
+
logger.warn('Secret reveal failed', { reason: 'secrets-state-reveal-failed' });
|
|
38
|
+
throw err;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
/** Create a secret. Updates local descriptors on success. */
|
|
42
|
+
async create(input) {
|
|
43
|
+
const client = this.requireClient();
|
|
44
|
+
const generation = this.generation;
|
|
45
|
+
logger.info('Secret create requested', { operation: 'create' });
|
|
46
|
+
const created = await client.create(input);
|
|
47
|
+
if (this.isCurrent(generation))
|
|
48
|
+
this.secrets = [...this.secrets, created];
|
|
49
|
+
return created;
|
|
50
|
+
}
|
|
51
|
+
/** Update an existing secret (key/metadata or value). Refreshes locally. */
|
|
52
|
+
async update(id, patch) {
|
|
53
|
+
const client = this.requireClient();
|
|
54
|
+
const generation = this.generation;
|
|
55
|
+
logger.info('Secret update requested', {
|
|
56
|
+
changesName: patch.name !== undefined,
|
|
57
|
+
changesValue: patch.value !== undefined,
|
|
58
|
+
changesMetadata: patch.metadata !== undefined
|
|
59
|
+
});
|
|
60
|
+
const updated = await client.update(id, patch);
|
|
61
|
+
if (this.isCurrent(generation))
|
|
62
|
+
this.secrets = this.secrets.map((s) => (s.id === id ? updated : s));
|
|
63
|
+
return updated;
|
|
64
|
+
}
|
|
65
|
+
/** Rotate a secret. Updates local descriptors on success. */
|
|
66
|
+
async rotate(id, newValue) {
|
|
67
|
+
const client = this.requireClient();
|
|
68
|
+
const generation = this.generation;
|
|
69
|
+
logger.info('Secret rotate requested', { operation: 'rotate' });
|
|
70
|
+
const updated = await client.rotate(id, newValue);
|
|
71
|
+
if (this.isCurrent(generation))
|
|
72
|
+
this.secrets = this.secrets.map((s) => (s.id === id ? updated : s));
|
|
73
|
+
return updated;
|
|
74
|
+
}
|
|
75
|
+
/** Remove a secret. Updates local descriptors on success. */
|
|
76
|
+
async remove(id) {
|
|
77
|
+
const client = this.requireClient();
|
|
78
|
+
const generation = this.generation;
|
|
79
|
+
logger.info('Secret delete requested', { operation: 'delete' });
|
|
80
|
+
await client.delete(id);
|
|
81
|
+
if (this.isCurrent(generation))
|
|
82
|
+
this.secrets = this.secrets.filter((s) => s.id !== id);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
/** A fresh, independent state. */
|
|
86
|
+
export function createSecretsState() {
|
|
87
|
+
return new SecretsState();
|
|
88
|
+
}
|
|
89
|
+
// The explicit surface scope owns its adapter, including before runtime activation.
|
|
90
|
+
// No module owns a mutable state or a runtime-keyed cache.
|
|
91
|
+
const stateKey = Symbol('secrets.surface-state');
|
|
92
|
+
export function secretsStateFor(scope) {
|
|
93
|
+
const parsed = secretsStateScopeSchema.safeParse(scope);
|
|
94
|
+
if (!parsed.success)
|
|
95
|
+
throw new CapabilityError('A surface object scope is required.', 'UNAVAILABLE', {
|
|
96
|
+
reason: 'secrets-state-no-scope', retryable: false
|
|
97
|
+
});
|
|
98
|
+
scope = parsed.data;
|
|
99
|
+
// SAFETY: the boundary validates an object identity; this module alone writes stateKey.
|
|
100
|
+
const owned = parsed.data;
|
|
101
|
+
const runtime = scope instanceof RuntimeSvelteStore ? scope.runtime : undefined;
|
|
102
|
+
const owner = runtime ? peekSecretsSurfaceClient(runtime) : undefined;
|
|
103
|
+
if (owner) {
|
|
104
|
+
const state = owner.stateFor(scope, () => owned[stateKey] ?? new SecretsState(scope));
|
|
105
|
+
if (scope instanceof RuntimeSvelteStore)
|
|
106
|
+
state.setRuntimeScope(scope);
|
|
107
|
+
delete owned[stateKey];
|
|
108
|
+
return state;
|
|
109
|
+
}
|
|
110
|
+
if (!owned[stateKey]) {
|
|
111
|
+
const state = new SecretsState(scope);
|
|
112
|
+
if (scope instanceof RuntimeSvelteStore)
|
|
113
|
+
state.setRuntimeScope(scope);
|
|
114
|
+
Object.defineProperty(owned, stateKey, { value: state, configurable: true });
|
|
115
|
+
// The compatibility browser adapter follows the document lifetime.
|
|
116
|
+
if ('defaultView' in scope && scope.defaultView instanceof EventTarget) {
|
|
117
|
+
scope.defaultView.addEventListener('pagehide', () => { state.dispose(); }, { once: true });
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return owned[stateKey];
|
|
121
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Tailwind v4 source declaration for consumers — mirrors @vibesdotdev/kit's
|
|
3
|
+
* styles.css pattern. Apps that @import this file get this package's
|
|
4
|
+
* components scanned by their Tailwind build, so utility classes used only
|
|
5
|
+
* inside these components are emitted in the app's CSS bundle (Tailwind
|
|
6
|
+
* never scans node_modules). Paths resolve relative to this file.
|
|
7
|
+
*/
|
|
8
|
+
@source "./";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export declare function SecretsContentNotice({ error }: {
|
|
3
|
+
error: string | null;
|
|
4
|
+
}): ReactNode;
|
|
5
|
+
export declare function SecretsUnavailablePane({ error, onRefresh }: {
|
|
6
|
+
error: string;
|
|
7
|
+
onRefresh: () => void;
|
|
8
|
+
}): ReactNode;
|
|
9
|
+
export declare function SecretsOpening({ onRefresh }: {
|
|
10
|
+
onRefresh: () => void;
|
|
11
|
+
}): ReactNode;
|
|
12
|
+
//# sourceMappingURL=InspectorNotices.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InspectorNotices.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/tui/components/InspectorNotices.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,wBAAgB,oBAAoB,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GAAG,SAAS,CAanF;AAED,wBAAgB,sBAAsB,CAAC,EACtC,KAAK,EACL,SAAS,EACT,EAAE;IACF,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,IAAI,CAAC;CACtB,GAAG,SAAS,CAsBZ;AAED,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,EAAE,MAAM,IAAI,CAAA;CAAE,GAAG,SAAS,CAYlF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@opentui/react/jsx-runtime";
|
|
2
|
+
import { DSButton, DSText, Panel } from '@vibesdotdev/tui/components/content';
|
|
3
|
+
import { HStack, VStack } from '@vibesdotdev/tui/components/layout';
|
|
4
|
+
import { dsBase, dsColors } from '@vibesdotdev/tui/theme';
|
|
5
|
+
export function SecretsContentNotice({ error }) {
|
|
6
|
+
if (error) {
|
|
7
|
+
return (_jsx(VStack, { style: { paddingLeft: 1, paddingRight: 1, paddingTop: 1, paddingBottom: 1 }, children: _jsx("text", { style: { fg: dsColors.warning.solid }, children: `! ${error}` }) }));
|
|
8
|
+
}
|
|
9
|
+
return (_jsx(VStack, { style: { paddingLeft: 1, paddingRight: 1, paddingTop: 1, paddingBottom: 1 }, children: _jsx(DSText, { variant: "muted", children: "Values stay hidden until you confirm a reveal." }) }));
|
|
10
|
+
}
|
|
11
|
+
export function SecretsUnavailablePane({ error, onRefresh }) {
|
|
12
|
+
return (_jsx(Panel, { bordered: true, status: "warning", padding: "md", gap: "sm", children: _jsxs(VStack, { gap: 1, children: [_jsx("text", { style: { fg: dsColors.warning.solid }, children: "Secrets unavailable" }), _jsx("text", { style: { fg: dsBase.foreground }, children: error }), _jsx("text", { style: { fg: dsBase.mutedForeground }, children: "No secret keys or values were loaded. Register the secrets core/backend runtime plugins, or refresh after config storage is ready." }), _jsx(HStack, { gap: "xs", children: _jsx(DSButton, { label: "Refresh", variant: "ghost", color: "primary", size: "sm", onClick: onRefresh }) })] }) }));
|
|
13
|
+
}
|
|
14
|
+
export function SecretsOpening({ onRefresh }) {
|
|
15
|
+
return (_jsx(VStack, { padding: 2, justify: "start", style: { width: '100%', height: '100%' }, children: _jsxs(Panel, { padding: "sm", gap: "xs", status: "default", children: [_jsxs(HStack, { gap: 1, children: [_jsx(DSText, { color: dsColors.primary.solid, children: "Opening secret keys" }), _jsx(DSButton, { label: "Refresh", size: "sm", color: "neutral", variant: "ghost", onClick: onRefresh })] }), _jsx(DSText, { variant: "muted", children: "Reading the environment's key index." })] }) }));
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=InspectorNotices.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InspectorNotices.js","sourceRoot":"","sources":["../../../../src/surfaces/tui/components/InspectorNotices.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAC,MAAM,EAAC,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAC,MAAM,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,MAAM,EAAC,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAEzD,MAAM,UAAU,oBAAoB,CAAC,EAAE,KAAK,EAA4B;IACvE,IAAI,KAAK,EAAE,CAAC;QACX,OAAO,CACN,KAAC,MAAM,IAAC,KAAK,EAAE,EAAE,WAAW,EAAE,CAAC,EAAE,YAAY,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,YAClF,eAAM,KAAK,EAAE,EAAE,EAAE,EAAE,QAAQ,CAAC,OAAO,CAAC,KAAK,EAAE,YAAG,KAAK,KAAK,EAAE,GAAQ,GAC1D,CACT,CAAC;IACH,CAAC;IACD,OAAO,CACN,KAAC,MAAM,IAAC,KAAK,EAAE,EAAE,WAAW,EAAE,CAAC,EAAE,YAAY,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,YAClF,KAAC,MAAM,IAAC,OAAO,EAAC,OAAO,+DAAwD,GACvE,CACT,CAAC;AACH,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,EACtC,KAAK,EACL,SAAS,EAIT;IACA,OAAO,CACN,KAAC,KAAK,IAAC,QAAQ,QAAC,MAAM,EAAC,SAAS,EAAC,OAAO,EAAC,IAAI,EAAC,GAAG,EAAC,IAAI,YACrD,MAAC,MAAM,IAAC,GAAG,EAAE,CAAC,aACb,eAAM,KAAK,EAAE,EAAE,EAAE,EAAE,QAAQ,CAAC,OAAO,CAAC,KAAK,EAAE,oCAA4B,EACvE,eAAM,KAAK,EAAE,EAAE,EAAE,EAAE,MAAM,CAAC,UAAU,EAAE,YAAG,KAAK,GAAQ,EACtD,eAAM,KAAK,EAAE,EAAE,EAAE,EAAE,MAAM,CAAC,eAAe,EAAE,mJAGpC,EACP,KAAC,MAAM,IAAC,GAAG,EAAC,IAAI,YACf,KAAC,QAAQ,IACR,KAAK,EAAC,SAAS,EACf,OAAO,EAAC,OAAO,EACf,KAAK,EAAC,SAAS,EACf,IAAI,EAAC,IAAI,EACT,OAAO,EAAE,SAAS,GACjB,GACM,IACD,GACF,CACR,CAAC;AACH,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,EAAE,SAAS,EAA6B;IACtE,OAAO,CACN,KAAC,MAAM,IAAC,OAAO,EAAE,CAAC,EAAE,OAAO,EAAC,OAAO,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,YAC3E,MAAC,KAAK,IAAC,OAAO,EAAC,IAAI,EAAC,GAAG,EAAC,IAAI,EAAC,MAAM,EAAC,SAAS,aAC5C,MAAC,MAAM,IAAC,GAAG,EAAE,CAAC,aACb,KAAC,MAAM,IAAC,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,KAAK,oCAA8B,EACnE,KAAC,QAAQ,IAAC,KAAK,EAAC,SAAS,EAAC,IAAI,EAAC,IAAI,EAAC,KAAK,EAAC,SAAS,EAAC,OAAO,EAAC,OAAO,EAAC,OAAO,EAAE,SAAS,GAAI,IAClF,EACT,KAAC,MAAM,IAAC,OAAO,EAAC,OAAO,qDAA8C,IAC9D,GACA,CACT,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RevealPane - confirmation-gated, time-limited secret reveal surface.
|
|
3
|
+
*
|
|
4
|
+
* SECURITY MODEL (mirrors `secrets-cli/src/commands/reveal.command.impl.ts`):
|
|
5
|
+
*
|
|
6
|
+
* 1. The pane starts in IDLE: nothing rendered besides instructions.
|
|
7
|
+
* 2. Pressing [v] transitions to CONFIRM: a visible TTY confirmation
|
|
8
|
+
* prompt asks the user to press [y] to reveal or [n]/Esc to abort.
|
|
9
|
+
* 3. On [y], the pane calls `onReveal(entry.id)` - the app impl
|
|
10
|
+
* resolves the value out-of-band via the secrets/store kind. The
|
|
11
|
+
* promise resolves with the value AS LOCAL COMPONENT STATE ONLY.
|
|
12
|
+
* 4. RENDERED state shows the value in a single `<text>` for a
|
|
13
|
+
* bounded countdown window (default 10s) and a "[Esc] hide now"
|
|
14
|
+
* action. When the countdown reaches 0 OR the user hits Esc, the
|
|
15
|
+
* value is wiped from local state and the pane returns to IDLE.
|
|
16
|
+
*
|
|
17
|
+
* The lifecycle (state, countdown, wipe) lives in `useRevealLifecycle`;
|
|
18
|
+
* this file renders it. The phase and seconds shapes live in
|
|
19
|
+
* `src/schemas/reveal.schema.ts`.
|
|
20
|
+
*/
|
|
21
|
+
import type { RuntimeLifecycle } from '@vibesdotdev/kernel';
|
|
22
|
+
import type { ReactNode } from 'react';
|
|
23
|
+
import { type RevealPhase } from '../../../schemas/ui/reveal.schema.ts';
|
|
24
|
+
import type { SecretDescriptorEntry } from '../state/secrets.tui-state.descriptor.ts';
|
|
25
|
+
interface RevealPaneProps {
|
|
26
|
+
lifecycle: RuntimeLifecycle;
|
|
27
|
+
entry: SecretDescriptorEntry | null;
|
|
28
|
+
/** Triggered when the active flow should change. The app impl owns key handlers. */
|
|
29
|
+
phase: RevealPhase;
|
|
30
|
+
onPhaseChange: (next: RevealPhase) => void;
|
|
31
|
+
/**
|
|
32
|
+
* Out-of-band reveal: resolves the secret value via the
|
|
33
|
+
* secrets/store kind. The value MUST NOT be logged by the caller
|
|
34
|
+
* and is held only in this component's local state.
|
|
35
|
+
*/
|
|
36
|
+
onReveal: (entry: SecretDescriptorEntry) => Promise<string>;
|
|
37
|
+
revealSeconds?: number;
|
|
38
|
+
}
|
|
39
|
+
export declare function RevealPane({ lifecycle, entry, phase, onPhaseChange, onReveal, revealSeconds }: RevealPaneProps): ReactNode;
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=RevealPane.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RevealPane.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/tui/components/RevealPane.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAI5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAyB,KAAK,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAC/F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AAGtF,UAAU,eAAe;IACxB,SAAS,EAAE,gBAAgB,CAAC;IAC5B,KAAK,EAAE,qBAAqB,GAAG,IAAI,CAAC;IACpC,oFAAoF;IACpF,KAAK,EAAE,WAAW,CAAC;IACnB,aAAa,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IAC3C;;;;OAIG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IAC5D,aAAa,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,UAAU,CAAC,EAC1B,SAAS,EACT,KAAK,EACL,KAAK,EACL,aAAa,EACb,QAAQ,EACR,aAAsC,EACtC,EAAE,eAAe,GAAG,SAAS,CAyF7B"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@opentui/react/jsx-runtime";
|
|
2
|
+
import { DSBadge, DSText } from '@vibesdotdev/tui/components/content';
|
|
3
|
+
import { HStack, VStack } from '@vibesdotdev/tui/components/layout';
|
|
4
|
+
import { dsBase, dsColors } from '@vibesdotdev/tui/theme';
|
|
5
|
+
import { DEFAULT_REVEAL_SECONDS } from "../../../schemas/ui/reveal.schema.js";
|
|
6
|
+
import { useRevealLifecycle } from "./useRevealLifecycle.js";
|
|
7
|
+
export function RevealPane({ lifecycle, entry, phase, onPhaseChange, onReveal, revealSeconds = DEFAULT_REVEAL_SECONDS }) {
|
|
8
|
+
const { value, errorMessage, secondsLeft } = useRevealLifecycle({
|
|
9
|
+
lifecycle,
|
|
10
|
+
entry,
|
|
11
|
+
phase,
|
|
12
|
+
onPhaseChange,
|
|
13
|
+
onReveal,
|
|
14
|
+
revealSeconds
|
|
15
|
+
});
|
|
16
|
+
if (!entry) {
|
|
17
|
+
return (_jsxs(VStack, { padding: 1, gap: 0, children: [_jsx(DSText, { variant: "muted", children: "Select a secret to enable reveal." }), _jsx(DSText, { variant: "muted", children: `Confirmed first; auto-clears after ${revealSeconds}s.` })] }));
|
|
18
|
+
}
|
|
19
|
+
if (phase === 'idle') {
|
|
20
|
+
return (_jsxs(VStack, { padding: 1, gap: 1, children: [_jsx(DSText, { children: "Value protected" }), _jsx(DSText, { variant: "muted", children: `Press V to reveal ${entry.key}.` }), _jsx(DSText, { variant: "muted", children: `Confirm first; auto-clear: ${revealSeconds}s.` }), entry.hasValue ? null : (_jsx("text", { style: { fg: dsColors.warning.solid }, children: "! This entry has no stored value (empty)." }))] }));
|
|
21
|
+
}
|
|
22
|
+
if (phase === 'confirm') {
|
|
23
|
+
return (_jsxs(VStack, { padding: 1, gap: 1, children: [_jsxs("text", { style: { fg: dsColors.warning.solid }, children: ["! Reveal \"", entry.key, "\" to the terminal?"] }), _jsx(DSText, { variant: "muted", children: `Displayed for ${revealSeconds}s, then auto-cleared.` }), _jsx(DSText, { variant: "muted", children: "Visible to anyone watching this terminal." }), _jsxs(HStack, { gap: 1, children: [_jsx(DSBadge, { label: "Y reveal", color: "danger", variant: "subtle" }), _jsx(DSBadge, { label: "N cancel", color: "neutral", variant: "subtle" }), _jsx(DSBadge, { label: "Esc cancel", color: "neutral", variant: "subtle" })] })] }));
|
|
24
|
+
}
|
|
25
|
+
if (phase === 'loading') {
|
|
26
|
+
return (_jsx(VStack, { padding: 1, gap: 1, children: _jsx(DSText, { variant: "muted", children: "Fetching the value." }) }));
|
|
27
|
+
}
|
|
28
|
+
if (phase === 'error') {
|
|
29
|
+
return (_jsxs(VStack, { padding: 1, gap: 1, children: [_jsx("text", { style: { fg: dsColors.danger.solid }, children: `! Reveal failed: ${errorMessage ?? 'unknown error'}` }), _jsx(DSText, { variant: "muted", children: "Press V to try again." })] }));
|
|
30
|
+
}
|
|
31
|
+
// phase === 'revealed' - render the value briefly. This is the ONLY
|
|
32
|
+
// place in the package where a secret value appears in the React tree.
|
|
33
|
+
return (_jsxs(VStack, { padding: 1, gap: 1, children: [_jsxs(HStack, { gap: 1, children: [_jsx(DSBadge, { label: "REVEALED", color: "danger", variant: "subtle" }), _jsx(DSBadge, { label: `auto-clear in ${secondsLeft}s`, color: "warning", variant: "subtle" }), _jsx(DSBadge, { label: "Esc hide now", color: "neutral", variant: "subtle" })] }), _jsx(DSText, { variant: "muted", children: `${entry.key} =` }), _jsx("text", { style: { fg: dsBase.foreground }, children: value ?? '' })] }));
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=RevealPane.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RevealPane.js","sourceRoot":"","sources":["../../../../src/surfaces/tui/components/RevealPane.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type SecretMetadataPaneProps } from "../../../schemas/ui/tui/metadata.schema.ts";
|
|
2
|
+
export { type SecretMetadataPaneProps } from "../../../schemas/ui/tui/metadata.schema.ts";
|
|
3
|
+
import { type ReactNode } from 'react';
|
|
4
|
+
export declare function SecretMetadataPane({ entry, environment }: SecretMetadataPaneProps): ReactNode;
|
|
5
|
+
//# sourceMappingURL=SecretMetadataPane.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SecretMetadataPane.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/tui/components/SecretMetadataPane.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAC1F,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAgB1F,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAYvC,wBAAgB,kBAAkB,CAAC,EAClC,KAAK,EACL,WAAW,EACX,EAAE,uBAAuB,GAAG,SAAS,CAkCrC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@opentui/react/jsx-runtime";
|
|
2
|
+
import {} from "../../../schemas/ui/tui/metadata.schema.js";
|
|
3
|
+
export {} from "../../../schemas/ui/tui/metadata.schema.js";
|
|
4
|
+
/**
|
|
5
|
+
* SecretMetadataPane - read-only metadata for the selected secret.
|
|
6
|
+
*
|
|
7
|
+
* SECURITY: renders DESCRIPTOR FIELDS ONLY - `key`, `backend`,
|
|
8
|
+
* `backendId`, `source`, `hasValue`, `tier`. NEVER renders the secret
|
|
9
|
+
* value; that surface lives in `RevealPane` behind explicit
|
|
10
|
+
* confirmation.
|
|
11
|
+
*
|
|
12
|
+
* Stateless: receives the selected entry, environment context, and a
|
|
13
|
+
* status hint from the app impl.
|
|
14
|
+
*/
|
|
15
|
+
import { DSText } from '@vibesdotdev/tui/components/content';
|
|
16
|
+
import { HStack, VStack } from '@vibesdotdev/tui/components/layout';
|
|
17
|
+
import { dsBase, dsColors } from '@vibesdotdev/tui/theme';
|
|
18
|
+
import {} from 'react';
|
|
19
|
+
function row(label, value) {
|
|
20
|
+
if (!value)
|
|
21
|
+
return null;
|
|
22
|
+
return (_jsxs(HStack, { gap: 1, children: [_jsx("text", { style: { fg: dsBase.mutedForeground }, children: label.padEnd(12) }), _jsx("text", { children: value })] }));
|
|
23
|
+
}
|
|
24
|
+
export function SecretMetadataPane({ entry, environment }) {
|
|
25
|
+
if (!entry) {
|
|
26
|
+
return (_jsxs(VStack, { padding: 1, children: [_jsx(DSText, { variant: "muted", children: "Select a secret to view its entry details." }), _jsx(DSText, { variant: "muted", children: "Values are never shown here; use the reveal pane below." })] }));
|
|
27
|
+
}
|
|
28
|
+
return (_jsxs(VStack, { padding: 1, gap: 1, children: [_jsxs(HStack, { gap: 1, children: [_jsx("text", { style: { fg: dsColors.primary.solid }, children: entry.key }), _jsx("text", { style: { fg: entry.hasValue ? dsColors.success.solid : dsBase.mutedForeground }, children: entry.hasValue ? 'present' : 'empty' }), _jsx("text", { style: { fg: dsBase.mutedForeground }, children: `${entry.tier} tier` })] }), _jsxs(VStack, { gap: 0, children: [row('Key', entry.key), row('Environment', environment), row('Tier', entry.tier), row('Backend', entry.backend), row('Backend id', entry.backendId), row('Source', entry.source), row('Value', entry.hasValue ? '(present - hidden)' : '(empty)')] })] }));
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=SecretMetadataPane.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SecretMetadataPane.js","sourceRoot":"","sources":["../../../../src/surfaces/tui/components/SecretMetadataPane.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAgC,MAAM,4CAA4C,CAAC;AAC1F,OAAO,EAAgC,MAAM,4CAA4C,CAAC;AAC1F;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAC,MAAM,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,MAAM,EAAC,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAkB,MAAM,OAAO,CAAC;AAEvC,SAAS,GAAG,CAAC,KAAa,EAAE,KAAgC;IAC3D,IAAI,CAAC,KAAK;QAAE,OAAO,IAAI,CAAC;IACxB,OAAO,CACN,MAAC,MAAM,IAAC,GAAG,EAAE,CAAC,aACb,eAAM,KAAK,EAAE,EAAE,EAAE,EAAE,MAAM,CAAC,eAAe,EAAE,YAAG,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,GAAQ,EACtE,yBAAO,KAAK,GAAQ,IACZ,CACT,CAAC;AACH,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,EAClC,KAAK,EACL,WAAW,EACc;IACzB,IAAI,CAAC,KAAK,EAAE,CAAC;QACZ,OAAO,CACN,MAAC,MAAM,IAAC,OAAO,EAAE,CAAC,aACjB,KAAC,MAAM,IAAC,OAAO,EAAC,OAAO,2DAEd,EACT,KAAC,MAAM,IAAC,OAAO,EAAC,OAAO,wEAEd,IACD,CACT,CAAC;IACH,CAAC;IAED,OAAO,CACN,MAAC,MAAM,IAAC,OAAO,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,aACzB,MAAC,MAAM,IAAC,GAAG,EAAE,CAAC,aACb,eAAM,KAAK,EAAE,EAAE,EAAE,EAAE,QAAQ,CAAC,OAAO,CAAC,KAAK,EAAE,YAAG,KAAK,CAAC,GAAG,GAAQ,EAC/D,eAAM,KAAK,EAAE,EAAE,EAAE,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,eAAe,EAAE,YACnF,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,GAC/B,EACP,eAAM,KAAK,EAAE,EAAE,EAAE,EAAE,MAAM,CAAC,eAAe,EAAE,YAAG,GAAG,KAAK,CAAC,IAAI,OAAO,GAAQ,IAClE,EACT,MAAC,MAAM,IAAC,GAAG,EAAE,CAAC,aACZ,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,EACrB,GAAG,CAAC,aAAa,EAAE,WAAW,CAAC,EAC/B,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,EACvB,GAAG,CAAC,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,EAC7B,GAAG,CAAC,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,EAClC,GAAG,CAAC,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,EAC3B,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC,IACxD,IACD,CACT,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type SecretsListPaneProps } from "../../../schemas/ui/tui/pane.schema.ts";
|
|
2
|
+
export { type SecretsListPaneProps } from "../../../schemas/ui/tui/pane.schema.ts";
|
|
3
|
+
import { type ReactNode } from 'react';
|
|
4
|
+
export declare function SecretsListPane({ entries, totalCount, filter, onFilterChange, selectedId, onSelect }: SecretsListPaneProps): ReactNode;
|
|
5
|
+
//# sourceMappingURL=SecretsListPane.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SecretsListPane.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/tui/components/SecretsListPane.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAkBnF,OAAO,EAAU,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE/C,wBAAgB,eAAe,CAAC,EAC/B,OAAO,EACP,UAAU,EACV,MAAM,EACN,cAAc,EACd,UAAU,EACV,QAAQ,EACR,EAAE,oBAAoB,GAAG,SAAS,CAkElC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@opentui/react/jsx-runtime";
|
|
2
|
+
import {} from "../../../schemas/ui/tui/pane.schema.js";
|
|
3
|
+
export {} from "../../../schemas/ui/tui/pane.schema.js";
|
|
4
|
+
/**
|
|
5
|
+
* SecretsListPane - sidebar list of secret descriptors for the active
|
|
6
|
+
* environment.
|
|
7
|
+
*
|
|
8
|
+
* SECURITY: this pane renders DESCRIPTORS ONLY - `{ key, source,
|
|
9
|
+
* hasValue, backend }`. It MUST NEVER render a secret value. Selection
|
|
10
|
+
* exposes metadata (right pane); the reveal flow is a separate
|
|
11
|
+
* confirmation-gated control.
|
|
12
|
+
*
|
|
13
|
+
* Stateless: receives entries, selected id, and onSelect from the app
|
|
14
|
+
* impl.
|
|
15
|
+
*/
|
|
16
|
+
import { DSText } from '@vibesdotdev/tui/components/content';
|
|
17
|
+
import { List } from '@vibesdotdev/tui/components/data/List';
|
|
18
|
+
import { DSInput } from '@vibesdotdev/tui/components/form/controls/Input';
|
|
19
|
+
import { HStack, VStack } from '@vibesdotdev/tui/components/layout';
|
|
20
|
+
import { useMemo } from 'react';
|
|
21
|
+
export function SecretsListPane({ entries, totalCount, filter, onFilterChange, selectedId, onSelect }) {
|
|
22
|
+
const items = useMemo(() => entries.map((e) => ({
|
|
23
|
+
id: e.id,
|
|
24
|
+
primary: e.key,
|
|
25
|
+
// Secondary shows source + presence - NEVER value.
|
|
26
|
+
secondary: `${e.source} - ${e.hasValue ? 'set' : 'empty'}`
|
|
27
|
+
})), [entries]);
|
|
28
|
+
if (totalCount === 0) {
|
|
29
|
+
return (_jsx(VStack, { padding: 2, children: _jsx(DSText, { variant: "muted", children: "No secrets registered for this environment." }) }));
|
|
30
|
+
}
|
|
31
|
+
const filtering = filter.trim().length > 0;
|
|
32
|
+
return (_jsxs(VStack, { grow: true, gap: 1, paddingTop: 1, paddingBottom: 1, children: [_jsxs(HStack, { justify: "between", paddingLeft: 1, paddingRight: 1, children: [_jsx(DSText, { children: "Keys" }), _jsx(DSText, { variant: "muted", children: filtering ? `${entries.length}/${totalCount} keys` : `${totalCount} keys` })] }), _jsx(HStack, { paddingLeft: 1, paddingRight: 1, children: _jsx(DSInput, { id: "secrets-filter", zone: "sidebar", value: filter, onChange: onFilterChange, placeholder: "Filter keys", variant: "search", size: "sm" }) }), entries.length === 0 ? (_jsx(VStack, { paddingLeft: 1, paddingRight: 1, children: _jsx(DSText, { variant: "muted", children: `No keys match "${filter.trim()}".` }) })) : (_jsx(List, { id: "secrets-list", zone: "sidebar", items: items, selectedId: selectedId ?? undefined, onSelect: (item) => onSelect(item.id), keyboardEnabled: true, autoFocus: true, emptyMessage: "No secrets.", showFocusRing: false, showCursor: true }))] }));
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=SecretsListPane.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SecretsListPane.js","sourceRoot":"","sources":["../../../../src/surfaces/tui/components/SecretsListPane.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA6B,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAA6B,MAAM,wCAAwC,CAAC;AACnF;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAgB,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,iDAAiD,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAC,MAAM,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAiB,MAAM,OAAO,CAAC;AAE/C,MAAM,UAAU,eAAe,CAAC,EAC/B,OAAO,EACP,UAAU,EACV,MAAM,EACN,cAAc,EACd,UAAU,EACV,QAAQ,EACc;IACtB,MAAM,KAAK,GAAG,OAAO,CACpB,GAAG,EAAE,CACJ,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACnB,EAAE,EAAE,CAAC,CAAC,EAAE;QACR,OAAO,EAAE,CAAC,CAAC,GAAG;QACd,mDAAmD;QACnD,SAAS,EAAE,GAAG,CAAC,CAAC,MAAM,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,EAAE;KAC1D,CAAC,CAAC,EACJ,CAAC,OAAO,CAAC,CACT,CAAC;IAEF,IAAI,UAAU,KAAK,CAAC,EAAE,CAAC;QACtB,OAAO,CACN,KAAC,MAAM,IAAC,OAAO,EAAE,CAAC,YACjB,KAAC,MAAM,IAAC,OAAO,EAAC,OAAO,4DAEd,GACD,CACT,CAAC;IACH,CAAC;IAED,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;IAE3C,OAAO,CACN,MAAC,MAAM,IAAC,IAAI,QAAC,GAAG,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,aACnD,MAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,WAAW,EAAE,CAAC,EAAE,YAAY,EAAE,CAAC,aACxD,KAAC,MAAM,uBAAc,EACrB,KAAC,MAAM,IAAC,OAAO,EAAC,OAAO,YACrB,SAAS,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,MAAM,IAAI,UAAU,OAAO,CAAC,CAAC,CAAC,GAAG,UAAU,OAAO,GAClE,IACD,EAIT,KAAC,MAAM,IAAC,WAAW,EAAE,CAAC,EAAE,YAAY,EAAE,CAAC,YACtC,KAAC,OAAO,IACP,EAAE,EAAC,gBAAgB,EACnB,IAAI,EAAC,SAAS,EACd,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,cAAc,EACxB,WAAW,EAAC,aAAa,EACzB,OAAO,EAAC,QAAQ,EAChB,IAAI,EAAC,IAAI,GACR,GACM,EACR,OAAO,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,CACvB,KAAC,MAAM,IAAC,WAAW,EAAE,CAAC,EAAE,YAAY,EAAE,CAAC,YACtC,KAAC,MAAM,IAAC,OAAO,EAAC,OAAO,YAAE,kBAAkB,MAAM,CAAC,IAAI,EAAE,IAAI,GAAU,GAC9D,CACT,CAAC,CAAC,CAAC,CACH,KAAC,IAAI,IACJ,EAAE,EAAC,cAAc,EACjB,IAAI,EAAC,SAAS,EACd,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,UAAU,IAAI,SAAS,EACnC,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,EACrC,eAAe,QACf,SAAS,QACT,YAAY,EAAC,aAAa,EAC1B,aAAa,EAAE,KAAK,EACpB,UAAU,SACT,CACF,IACO,CACT,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { RevealPhase } from '../../../schemas/ui/reveal.schema.ts';
|
|
2
|
+
import type { SecretDescriptorEntry } from '../state/secrets.tui-state.descriptor.ts';
|
|
3
|
+
interface InspectorKeys {
|
|
4
|
+
filter: string;
|
|
5
|
+
setFilter(value: string): void;
|
|
6
|
+
selected: SecretDescriptorEntry | null;
|
|
7
|
+
selectedId: string | null;
|
|
8
|
+
setSelectedId(value: string | null): void;
|
|
9
|
+
revealPhase: RevealPhase;
|
|
10
|
+
setRevealPhase(value: RevealPhase): void;
|
|
11
|
+
triggerRefresh(): void;
|
|
12
|
+
navigate?: (path: string) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare function useInspectorKeys({ filter, setFilter, selected, selectedId, setSelectedId, revealPhase, setRevealPhase, triggerRefresh, navigate }: InspectorKeys): void;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=useInspectorKeys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInspectorKeys.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/tui/components/useInspectorKeys.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AACtF,UAAU,aAAa;IACtB,MAAM,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/C,QAAQ,EAAE,qBAAqB,GAAG,IAAI,CAAC;IAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IAC7G,WAAW,EAAE,WAAW,CAAC;IAAC,cAAc,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC;IACnE,cAAc,IAAI,IAAI,CAAC;IAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1D;AACD,wBAAgB,gBAAgB,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE,QAAQ,EAAE,EAAE,aAAa,GAAG,IAAI,CAoDvK"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { useInputModeStore, useOptionalKeybindDispatcherContext } from '@vibesdotdev/tui/input';
|
|
2
|
+
import { useEffect } from 'react';
|
|
3
|
+
export function useInspectorKeys({ filter, setFilter, selected, selectedId, setSelectedId, revealPhase, setRevealPhase, triggerRefresh, navigate }) {
|
|
4
|
+
// Handled through the shell's KeybindDispatcher (the app's single keyboard
|
|
5
|
+
// listener). The registry keeps r/v/y/n out of here while the filter input
|
|
6
|
+
// has focus (insert mode); only `secrets.back` (Esc, not typeable) is
|
|
7
|
+
// declared allowInInsertMode so it can clear the query.
|
|
8
|
+
const dispatcher = useOptionalKeybindDispatcherContext();
|
|
9
|
+
useEffect(() => {
|
|
10
|
+
if (!dispatcher)
|
|
11
|
+
return;
|
|
12
|
+
return dispatcher.onAll({
|
|
13
|
+
'secrets.refresh': () => {
|
|
14
|
+
if (revealPhase === 'confirm')
|
|
15
|
+
return false;
|
|
16
|
+
triggerRefresh();
|
|
17
|
+
return true;
|
|
18
|
+
},
|
|
19
|
+
'secrets.reveal': () => {
|
|
20
|
+
if (revealPhase === 'confirm')
|
|
21
|
+
return false;
|
|
22
|
+
if (!selected?.hasValue)
|
|
23
|
+
return false; // nothing to reveal
|
|
24
|
+
setRevealPhase('confirm');
|
|
25
|
+
return true;
|
|
26
|
+
},
|
|
27
|
+
'secrets.reveal.confirm': () => {
|
|
28
|
+
if (revealPhase !== 'confirm')
|
|
29
|
+
return false;
|
|
30
|
+
setRevealPhase('loading');
|
|
31
|
+
return true;
|
|
32
|
+
},
|
|
33
|
+
'secrets.reveal.cancel': () => {
|
|
34
|
+
if (revealPhase !== 'confirm')
|
|
35
|
+
return false;
|
|
36
|
+
setRevealPhase('idle');
|
|
37
|
+
return true;
|
|
38
|
+
},
|
|
39
|
+
'secrets.back': () => {
|
|
40
|
+
if (useInputModeStore.getState().mode === 'insert') {
|
|
41
|
+
if (!filter)
|
|
42
|
+
return false;
|
|
43
|
+
setFilter('');
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
// Confirmation prompt or an active reveal: Esc hides immediately.
|
|
47
|
+
if (revealPhase !== 'idle') {
|
|
48
|
+
setRevealPhase('idle');
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
if (selectedId) {
|
|
52
|
+
setSelectedId(null);
|
|
53
|
+
return true;
|
|
54
|
+
}
|
|
55
|
+
if (!navigate)
|
|
56
|
+
return false;
|
|
57
|
+
navigate('/');
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
}, [dispatcher, filter, navigate, revealPhase, selected, selectedId, triggerRefresh]);
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=useInspectorKeys.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useInspectorKeys.js","sourceRoot":"","sources":["../../../../src/surfaces/tui/components/useInspectorKeys.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAC,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAC/F,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AASlC,MAAM,UAAU,gBAAgB,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE,QAAQ,EAAiB;IAChK,2EAA2E;IAC3E,2EAA2E;IAC3E,sEAAsE;IACtE,wDAAwD;IACxD,MAAM,UAAU,GAAG,mCAAmC,EAAE,CAAC;IACzD,SAAS,CAAC,GAAG,EAAE;QACd,IAAI,CAAC,UAAU;YAAE,OAAO;QACxB,OAAO,UAAU,CAAC,KAAK,CAAC;YACvB,iBAAiB,EAAE,GAAG,EAAE;gBACvB,IAAI,WAAW,KAAK,SAAS;oBAAE,OAAO,KAAK,CAAC;gBAC5C,cAAc,EAAE,CAAC;gBACjB,OAAO,IAAI,CAAC;YACb,CAAC;YACD,gBAAgB,EAAE,GAAG,EAAE;gBACtB,IAAI,WAAW,KAAK,SAAS;oBAAE,OAAO,KAAK,CAAC;gBAC5C,IAAI,CAAC,QAAQ,EAAE,QAAQ;oBAAE,OAAO,KAAK,CAAC,CAAC,oBAAoB;gBAC3D,cAAc,CAAC,SAAS,CAAC,CAAC;gBAC1B,OAAO,IAAI,CAAC;YACb,CAAC;YACD,wBAAwB,EAAE,GAAG,EAAE;gBAC9B,IAAI,WAAW,KAAK,SAAS;oBAAE,OAAO,KAAK,CAAC;gBAC5C,cAAc,CAAC,SAAS,CAAC,CAAC;gBAC1B,OAAO,IAAI,CAAC;YACb,CAAC;YACD,uBAAuB,EAAE,GAAG,EAAE;gBAC7B,IAAI,WAAW,KAAK,SAAS;oBAAE,OAAO,KAAK,CAAC;gBAC5C,cAAc,CAAC,MAAM,CAAC,CAAC;gBACvB,OAAO,IAAI,CAAC;YACb,CAAC;YACD,cAAc,EAAE,GAAG,EAAE;gBACpB,IAAI,iBAAiB,CAAC,QAAQ,EAAE,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;oBACpD,IAAI,CAAC,MAAM;wBAAE,OAAO,KAAK,CAAC;oBAC1B,SAAS,CAAC,EAAE,CAAC,CAAC;oBACd,OAAO,IAAI,CAAC;gBACb,CAAC;gBACD,kEAAkE;gBAClE,IAAI,WAAW,KAAK,MAAM,EAAE,CAAC;oBAC5B,cAAc,CAAC,MAAM,CAAC,CAAC;oBACvB,OAAO,IAAI,CAAC;gBACb,CAAC;gBACD,IAAI,UAAU,EAAE,CAAC;oBAChB,aAAa,CAAC,IAAI,CAAC,CAAC;oBACpB,OAAO,IAAI,CAAC;gBACb,CAAC;gBACD,IAAI,CAAC,QAAQ;oBAAE,OAAO,KAAK,CAAC;gBAC5B,QAAQ,CAAC,GAAG,CAAC,CAAC;gBACd,OAAO,IAAI,CAAC;YACb,CAAC;SACD,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC,CAAC;AAEvF,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The reveal lifecycle behind `RevealPane`: transient value state, the
|
|
3
|
+
* auto-clear countdown, and the out-of-band reveal call.
|
|
4
|
+
*
|
|
5
|
+
* INVARIANTS (enforced here, rendered by `RevealPane`):
|
|
6
|
+
* - The revealed value lives ONLY in this hook's `value` cell. It is never
|
|
7
|
+
* persisted into shared state, never returned upward, never logged.
|
|
8
|
+
* - On unmount, on entry-change, on countdown-expiry, and on every exit
|
|
9
|
+
* from the revealed phase the value cell is set back to `null` so React
|
|
10
|
+
* garbage-collects the string reference.
|
|
11
|
+
* - Effects key on the entry id, not the entry object: a background list
|
|
12
|
+
* refresh rebuilds the object, which must not wipe or restart a reveal.
|
|
13
|
+
*/
|
|
14
|
+
import type { RuntimeLifecycle } from '@vibesdotdev/kernel';
|
|
15
|
+
import { type RevealPhase } from '../../../schemas/ui/reveal.schema.ts';
|
|
16
|
+
import type { SecretDescriptorEntry } from '../state/secrets.tui-state.descriptor.ts';
|
|
17
|
+
export declare function useRevealLifecycle(options: {
|
|
18
|
+
entry: SecretDescriptorEntry | null;
|
|
19
|
+
lifecycle: RuntimeLifecycle;
|
|
20
|
+
phase: RevealPhase;
|
|
21
|
+
onPhaseChange: (next: RevealPhase) => void;
|
|
22
|
+
onReveal: (entry: SecretDescriptorEntry) => Promise<string>;
|
|
23
|
+
revealSeconds?: number;
|
|
24
|
+
}): {
|
|
25
|
+
value: string | null;
|
|
26
|
+
errorMessage: string | null;
|
|
27
|
+
secondsLeft: number;
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=useRevealLifecycle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRevealLifecycle.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/tui/components/useRevealLifecycle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,OAAO,EAAyB,KAAK,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAC/F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AActF,wBAAgB,kBAAkB,CAAC,OAAO,EAAE;IAC3C,KAAK,EAAE,qBAAqB,GAAG,IAAI,CAAC;IACpC,SAAS,EAAE,gBAAgB,CAAC;IAC5B,KAAK,EAAE,WAAW,CAAC;IACnB,aAAa,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IAC3C,QAAQ,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IAC5D,aAAa,CAAC,EAAE,MAAM,CAAC;CACvB;;;;EA6EA"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The reveal lifecycle behind `RevealPane`: transient value state, the
|
|
3
|
+
* auto-clear countdown, and the out-of-band reveal call.
|
|
4
|
+
*
|
|
5
|
+
* INVARIANTS (enforced here, rendered by `RevealPane`):
|
|
6
|
+
* - The revealed value lives ONLY in this hook's `value` cell. It is never
|
|
7
|
+
* persisted into shared state, never returned upward, never logged.
|
|
8
|
+
* - On unmount, on entry-change, on countdown-expiry, and on every exit
|
|
9
|
+
* from the revealed phase the value cell is set back to `null` so React
|
|
10
|
+
* garbage-collects the string reference.
|
|
11
|
+
* - Effects key on the entry id, not the entry object: a background list
|
|
12
|
+
* refresh rebuilds the object, which must not wipe or restart a reveal.
|
|
13
|
+
*/
|
|
14
|
+
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
15
|
+
import { DEFAULT_REVEAL_SECONDS } from "../../../schemas/ui/reveal.schema.js";
|
|
16
|
+
async function safelyReveal(onReveal, entry) {
|
|
17
|
+
try {
|
|
18
|
+
const value = await onReveal(entry);
|
|
19
|
+
return { ok: true, value };
|
|
20
|
+
}
|
|
21
|
+
catch (error) {
|
|
22
|
+
return { ok: false, error };
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export function useRevealLifecycle(options) {
|
|
26
|
+
const { lifecycle, entry, phase, onPhaseChange, onReveal, revealSeconds = DEFAULT_REVEAL_SECONDS } = options;
|
|
27
|
+
// Local, transient holders. Never exported, never logged.
|
|
28
|
+
const [value, setValue] = useState(null);
|
|
29
|
+
const [errorMessage, setErrorMessage] = useState(null);
|
|
30
|
+
const [secondsLeft, setSecondsLeft] = useState(revealSeconds);
|
|
31
|
+
const wipeValue = useCallback(() => {
|
|
32
|
+
// Best-effort: drop the only live reference to the string. Node
|
|
33
|
+
// strings are immutable, but releasing the reference is the most
|
|
34
|
+
// we can do at the language layer. Never log it on the way out.
|
|
35
|
+
setValue(null);
|
|
36
|
+
setSecondsLeft(revealSeconds);
|
|
37
|
+
}, [revealSeconds]);
|
|
38
|
+
const entryId = entry?.id;
|
|
39
|
+
// Reset to IDLE whenever the selected entry changes - never carry a
|
|
40
|
+
// revealed value across selections.
|
|
41
|
+
useEffect(() => {
|
|
42
|
+
wipeValue();
|
|
43
|
+
setErrorMessage(null);
|
|
44
|
+
onPhaseChange('idle');
|
|
45
|
+
}, [entryId, onPhaseChange, wipeValue]);
|
|
46
|
+
// Unmount -> wipe.
|
|
47
|
+
useEffect(() => {
|
|
48
|
+
return () => {
|
|
49
|
+
wipeValue();
|
|
50
|
+
};
|
|
51
|
+
}, [wipeValue]);
|
|
52
|
+
useEffect(() => {
|
|
53
|
+
if (phase !== 'revealed') {
|
|
54
|
+
wipeValue();
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
const startedAt = lifecycle.now();
|
|
58
|
+
return lifecycle.interval(() => {
|
|
59
|
+
const remaining = Math.max(0, revealSeconds - Math.floor((lifecycle.now() - startedAt) / 1000));
|
|
60
|
+
setSecondsLeft(remaining);
|
|
61
|
+
if (remaining === 0) {
|
|
62
|
+
wipeValue();
|
|
63
|
+
onPhaseChange('idle');
|
|
64
|
+
}
|
|
65
|
+
}, 250);
|
|
66
|
+
}, [lifecycle, phase, revealSeconds, wipeValue, onPhaseChange]);
|
|
67
|
+
// The live entry for the reveal call: read through a ref so a
|
|
68
|
+
// background list refresh (same id, new object) does not restart
|
|
69
|
+
// the in-flight reveal.
|
|
70
|
+
const entryRef = useRef(entry);
|
|
71
|
+
entryRef.current = entry;
|
|
72
|
+
useEffect(() => {
|
|
73
|
+
if (phase !== 'loading')
|
|
74
|
+
return;
|
|
75
|
+
const current = entryRef.current;
|
|
76
|
+
if (!current)
|
|
77
|
+
return;
|
|
78
|
+
let cancelled = false;
|
|
79
|
+
(async () => {
|
|
80
|
+
const outcome = await safelyReveal(onReveal, current);
|
|
81
|
+
if (cancelled)
|
|
82
|
+
return;
|
|
83
|
+
if (outcome.ok) {
|
|
84
|
+
setValue(outcome.value);
|
|
85
|
+
setSecondsLeft(revealSeconds);
|
|
86
|
+
onPhaseChange('revealed');
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
// Backend failures may quote values. Render only this fixed diagnostic.
|
|
90
|
+
setErrorMessage('The secret could not be revealed.');
|
|
91
|
+
setValue(null);
|
|
92
|
+
onPhaseChange('error');
|
|
93
|
+
}
|
|
94
|
+
})();
|
|
95
|
+
return () => {
|
|
96
|
+
cancelled = true;
|
|
97
|
+
};
|
|
98
|
+
}, [entryId, onPhaseChange, onReveal, phase, revealSeconds]);
|
|
99
|
+
return { value, errorMessage, secondsLeft };
|
|
100
|
+
}
|
|
101
|
+
//# sourceMappingURL=useRevealLifecycle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRevealLifecycle.js","sourceRoot":"","sources":["../../../../src/surfaces/tui/components/useRevealLifecycle.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vibesdotdev/secrets/tui - barrel export.
|
|
3
|
+
*
|
|
4
|
+
* Re-exports the plugin (default + named) and the descriptors so
|
|
5
|
+
* consumers can register the plugin directly or reference individual
|
|
6
|
+
* descriptors for testing / documentation.
|
|
7
|
+
*/
|
|
8
|
+
export { secretsTuiPlugin as default, secretsTuiPlugin } from './secrets-tui.plugin.ts';
|
|
9
|
+
export { default as secretsTuiAppDescriptor } from './secrets.tui-app.descriptor.ts';
|
|
10
|
+
export { default as secretsTuiOpenDescriptor } from './secrets.tui-open.descriptor.ts';
|
|
11
|
+
export { default as secretsTuiStateDescriptor } from './state/secrets.tui-state.descriptor.ts';
|
|
12
|
+
export type { SecretDescriptorEntry, SecretsListState } from './state/secrets.tui-state.descriptor.ts';
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/surfaces/tui/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,IAAI,OAAO,EAAC,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAC/F,YAAY,EACZ,qBAAqB,EACrB,gBAAgB,EACf,MAAM,yCAAyC,CAAC"}
|