@the-ai-company/cbio-node-runtime 1.50.0 → 1.52.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -3
- package/dist/clients/owner/client.d.ts +7 -3
- package/dist/clients/owner/client.js +122 -8
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/contracts.d.ts +35 -5
- package/dist/clients/owner/index.d.ts +2 -1
- package/dist/clients/owner/index.js +1 -0
- package/dist/clients/owner/index.js.map +1 -1
- package/dist/errors.d.ts +13 -0
- package/dist/errors.js +21 -0
- package/dist/errors.js.map +1 -1
- package/dist/protocol/identity.d.ts +3 -0
- package/dist/protocol/identity.js +2 -1
- package/dist/protocol/identity.js.map +1 -1
- package/dist/runtime/bootstrap.d.ts +3 -0
- package/dist/runtime/bootstrap.js +11 -0
- package/dist/runtime/bootstrap.js.map +1 -1
- package/dist/runtime/identity.js +4 -6
- package/dist/runtime/identity.js.map +1 -1
- package/dist/runtime/index.d.ts +4 -2
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/vault-core/contracts.d.ts +12 -0
- package/dist/vault-core/contracts.js +1 -0
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.d.ts +2 -1
- package/dist/vault-core/core.js +30 -0
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/index.d.ts +1 -1
- package/dist/vault-core/index.js.map +1 -1
- package/dist/vault-ingress/index.d.ts +1 -0
- package/dist/vault-ingress/index.js +3 -0
- package/dist/vault-ingress/index.js.map +1 -1
- package/docs/MIGRATION-1.51.md +80 -0
- package/docs/REFERENCE.md +73 -5
- package/docs/api/README.md +12 -2
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/OwnerClientError.md +62 -0
- package/docs/api/classes/VaultCore.md +17 -1
- package/docs/api/classes/VaultCoreError.md +1 -1
- package/docs/api/enumerations/IdentityErrorCode.md +1 -1
- package/docs/api/enumerations/OwnerClientErrorCode.md +44 -0
- package/docs/api/functions/createAgentClient.md +1 -1
- package/docs/api/functions/createIdentity.md +1 -1
- package/docs/api/functions/createOwnerHttpFlowBoundary.md +1 -1
- package/docs/api/functions/createPersistentVaultCoreDependencies.md +1 -1
- package/docs/api/functions/createStandardAcquireBoundary.md +1 -1
- package/docs/api/functions/createStandardDispatchBoundary.md +1 -1
- package/docs/api/functions/createVault.md +1 -1
- package/docs/api/functions/createVaultClient.md +1 -1
- package/docs/api/functions/createVaultCore.md +1 -1
- package/docs/api/functions/createVaultCoreDependencies.md +1 -1
- package/docs/api/functions/createVaultService.md +1 -1
- package/docs/api/functions/createWorkspaceStorage.md +1 -1
- package/docs/api/functions/deriveIdentityId.md +1 -1
- package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +1 -1
- package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
- package/docs/api/functions/handleVaultAgentControlHttp.md +1 -1
- package/docs/api/functions/handleVaultHttpDispatch.md +1 -1
- package/docs/api/functions/initializeVaultCustody.md +1 -1
- package/docs/api/functions/listVaults.md +1 -1
- package/docs/api/functions/readVaultProfile.md +1 -1
- package/docs/api/functions/recoverVault.md +1 -1
- package/docs/api/functions/recoverVaultWorkingKey.md +1 -1
- package/docs/api/functions/restoreIdentity.md +1 -1
- package/docs/api/functions/updateVaultMetadata.md +1 -1
- package/docs/api/functions/wrapVaultCoreAsVaultService.md +1 -1
- package/docs/api/functions/writeVaultProfile.md +1 -1
- package/docs/api/interfaces/AgentClient.md +1 -1
- package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
- package/docs/api/interfaces/AgentDispatchTransport.md +1 -1
- package/docs/api/interfaces/AgentIdentity.md +1 -1
- package/docs/api/interfaces/AgentSigner.md +1 -1
- package/docs/api/interfaces/AgentSubmitCapabilityRequestInput.md +1 -1
- package/docs/api/interfaces/CbioRuntime.md +13 -1
- package/docs/api/interfaces/CreateAgentClientOptions.md +1 -1
- package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +1 -1
- package/docs/api/interfaces/CreateVaultClientOptions.md +37 -1
- package/docs/api/interfaces/CreateVaultOptions.md +1 -1
- package/docs/api/interfaces/CreatedVault.md +19 -1
- package/docs/api/interfaces/DefaultPolicyEngineOptions.md +1 -1
- package/docs/api/interfaces/IStorageProvider.md +1 -1
- package/docs/api/interfaces/InitializeVaultCustodyOptions.md +1 -1
- package/docs/api/interfaces/InitializedVaultCustody.md +1 -1
- package/docs/api/interfaces/OwnerAgentProvisionResult.md +1 -1
- package/docs/api/interfaces/OwnerDefineSecretTargetsInput.md +1 -1
- package/docs/api/interfaces/OwnerSecretTargetBinding.md +1 -1
- package/docs/api/interfaces/OwnerSensitiveActionConfirmation.md +17 -0
- package/docs/api/interfaces/OwnerSensitiveActionContext.md +17 -0
- package/docs/api/interfaces/OwnerStoreSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerWriteSecretInput.md +1 -1
- package/docs/api/interfaces/RecoverVaultOptions.md +1 -1
- package/docs/api/interfaces/RecoveredVault.md +21 -1
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/Signer.md +1 -1
- package/docs/api/interfaces/VaultApproveCapabilityRequestInput.md +1 -7
- package/docs/api/interfaces/VaultApproveDispatchInput.md +29 -0
- package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
- package/docs/api/interfaces/VaultClient.md +37 -5
- package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -1
- package/docs/api/interfaces/VaultCreateAgentInput.md +1 -1
- package/docs/api/interfaces/VaultDeleteSecretInput.md +1 -1
- package/docs/api/interfaces/VaultExportSecretInput.md +13 -1
- package/docs/api/interfaces/VaultGrantCapabilityInput.md +1 -7
- package/docs/api/interfaces/VaultIdentity.md +1 -1
- package/docs/api/interfaces/VaultImportAgentInput.md +1 -1
- package/docs/api/interfaces/VaultIssueSessionTokenInput.md +17 -0
- package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
- package/docs/api/interfaces/VaultListCapabilitiesInput.md +1 -1
- package/docs/api/interfaces/VaultListSecretsInput.md +1 -1
- package/docs/api/interfaces/VaultMetadata.md +1 -1
- package/docs/api/interfaces/VaultObject.md +17 -1
- package/docs/api/interfaces/VaultProfile.md +1 -1
- package/docs/api/interfaces/VaultReadAgentPrivateKeyInput.md +29 -0
- package/docs/api/interfaces/VaultReadSecretPlaintextInput.md +29 -0
- package/docs/api/interfaces/VaultRegisterFlowInput.md +1 -7
- package/docs/api/interfaces/VaultRevokeCapabilityInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeSessionTokenInput.md +11 -0
- package/docs/api/interfaces/VaultSigner.md +1 -1
- package/docs/api/interfaces/VaultSubmitCapabilityRequestInput.md +1 -1
- package/docs/api/interfaces/VaultUpdateAgentInput.md +29 -0
- package/docs/api/type-aliases/AgentCapabilityEnvelope.md +1 -1
- package/docs/api/type-aliases/AgentVisibleSecretRecord.md +1 -1
- package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
- package/package.json +1 -1
package/docs/REFERENCE.md
CHANGED
|
@@ -12,7 +12,7 @@ The v1.48.4 runtime centers on a simplified, authority-centric model with manage
|
|
|
12
12
|
- `recoverVault(...)` - Reopen an existing vault using its master password.
|
|
13
13
|
- `listVaults(...)` - Scan the workspace for available vault IDs.
|
|
14
14
|
- `updateVaultMetadata(...)` - Update the nickname or other metadata of an unlocked vault.
|
|
15
|
-
- `createVaultClient(...)` - Create an administrative client for an unlocked vault.
|
|
15
|
+
- `createVaultClient(...)` - Create an administrative client for an unlocked vault. For plaintext secret reads, configure `passwordVerifier`.
|
|
16
16
|
- `createAgentClient(...)` - Create a delegated client for an agent.
|
|
17
17
|
- `createIdentity(...)` - Generate a standalone cryptographic identity keypair.
|
|
18
18
|
- `restoreIdentity(...)` - Restore an identity from a private key.
|
|
@@ -46,15 +46,47 @@ Identity material already managed elsewhere can be imported into vault custody v
|
|
|
46
46
|
|
|
47
47
|
The `VaultClient` provides the administrative interface for the vault.
|
|
48
48
|
|
|
49
|
+
### Stable Owner API Checklist
|
|
50
|
+
|
|
51
|
+
The following owner-side methods are part of the supported public surface and are intended for direct GUI usage:
|
|
52
|
+
|
|
53
|
+
- `ownerWriteSecret(...)`
|
|
54
|
+
- `ownerReadSecretPlaintext(...)`
|
|
55
|
+
- `ownerExportSecret(...)`
|
|
56
|
+
- `ownerCreateAgent(...)`
|
|
57
|
+
- `ownerImportAgent(...)`
|
|
58
|
+
- `ownerUpdateAgent(...)`
|
|
59
|
+
- `ownerReadAgentPrivateKey(...)`
|
|
60
|
+
- `ownerListAgents(...)`
|
|
61
|
+
- `ownerGrantCapability(...)`
|
|
62
|
+
- `ownerRevokeCapability(...)`
|
|
63
|
+
- `ownerListCapabilities(...)`
|
|
64
|
+
- `ownerListSecrets(...)`
|
|
65
|
+
- `ownerRegisterFlow(...)`
|
|
66
|
+
- `ownerSubmitCapabilityRequest(...)`
|
|
67
|
+
- `ownerListPendingCapabilityRequests()`
|
|
68
|
+
- `ownerApproveCapabilityRequest(...)`
|
|
69
|
+
- `ownerRejectCapabilityRequest(...)`
|
|
70
|
+
- `ownerOnPendingCapabilityRequest(...)`
|
|
71
|
+
- `ownerListPendingDispatches()`
|
|
72
|
+
- `ownerApproveDispatch(...)`
|
|
73
|
+
- `ownerRejectDispatch(...)`
|
|
74
|
+
- `ownerOnPendingDispatch(...)`
|
|
75
|
+
- `ownerIssueSessionToken(...)`
|
|
76
|
+
- `ownerIssueAllSessionTokens()`
|
|
77
|
+
- `ownerRevokeSessionToken(...)`
|
|
78
|
+
- `ownerReadAudit(...)`
|
|
79
|
+
|
|
49
80
|
### Core Operations
|
|
50
81
|
- `ownerWriteSecret(...)`: Store a secret and bind it to specific targets in one step.
|
|
51
82
|
- `ownerCreateAgent(...)`: Generate and host a new agent identity, then return its public record plus a session token.
|
|
52
83
|
- `ownerImportAgent(...)`: Import an existing private key into vault custody, then return its public record plus a session token.
|
|
53
|
-
- `
|
|
54
|
-
- `
|
|
84
|
+
- `ownerUpdateAgent(...)`: Update an agent's stored nickname and metadata.
|
|
85
|
+
- `ownerListAgents()`: Enumerate authorized agents. Private keys are redacted from the default list response.
|
|
86
|
+
- `ownerGrantCapability(...)`: Assign specific secret-use permissions to an agent. Capability IDs are generated internally.
|
|
55
87
|
- `ownerSubmitCapabilityRequest(...)`: Submit a broader pending capability request for later owner review.
|
|
56
88
|
- `ownerListPendingCapabilityRequests()`: List proactive capability requests that are waiting for approval.
|
|
57
|
-
- `ownerApproveCapabilityRequest({ requestId
|
|
89
|
+
- `ownerApproveCapabilityRequest({ requestId })`: Turn a pending capability request into a real stored capability. Capability IDs are generated internally.
|
|
58
90
|
- `ownerRejectCapabilityRequest(requestId)`: Deny a pending capability request.
|
|
59
91
|
- `ownerOnPendingCapabilityRequest(callback)`: Register a real-time observer to receive proactive capability requests.
|
|
60
92
|
- `ownerListPendingDispatches()`: List agent requests awaiting manual approval (HITL).
|
|
@@ -64,9 +96,45 @@ The `VaultClient` provides the administrative interface for the vault.
|
|
|
64
96
|
- `ownerIssueSessionToken(input)`: Issue a session token for a specific agent.
|
|
65
97
|
- `ownerIssueAllSessionTokens()`: Batch-issue session tokens for ALL registered agents (Automatic during `createVaultClient` warmup).
|
|
66
98
|
- `ownerRevokeSessionToken({ token })`: Invalidate a specific session token.
|
|
67
|
-
- `
|
|
99
|
+
- `ownerReadSecretPlaintext({ alias, password })`: Read one secret's plaintext after re-entering the vault password.
|
|
100
|
+
- `ownerExportSecret({ alias, password })`: Export a secret's full plaintext record after re-entering the vault password.
|
|
101
|
+
- `ownerReadAgentPrivateKey({ agentId, password })`: Read one managed agent private key after re-entering the vault password.
|
|
68
102
|
- `ownerReadAudit(...)`: Access the append-only record of all vault actions.
|
|
69
103
|
|
|
104
|
+
### Sensitive Action Contract
|
|
105
|
+
|
|
106
|
+
The following owner operations are sensitive actions:
|
|
107
|
+
|
|
108
|
+
- `ownerReadSecretPlaintext(...)`
|
|
109
|
+
- `ownerExportSecret(...)`
|
|
110
|
+
- `ownerReadAgentPrivateKey(...)`
|
|
111
|
+
|
|
112
|
+
All three require:
|
|
113
|
+
|
|
114
|
+
- `password`
|
|
115
|
+
- optional `verificationCode`
|
|
116
|
+
|
|
117
|
+
Client configuration:
|
|
118
|
+
|
|
119
|
+
- `createVaultClient(...)` may be configured with `sensitiveActionVerifier(confirmation, context)`
|
|
120
|
+
- if no `sensitiveActionVerifier` is provided, `passwordVerifier(password)` is required for these operations
|
|
121
|
+
|
|
122
|
+
Stable owner client error codes:
|
|
123
|
+
|
|
124
|
+
- `SENSITIVE_ACTION_PASSWORD_REQUIRED`
|
|
125
|
+
- `SENSITIVE_ACTION_VERIFIER_REQUIRED`
|
|
126
|
+
- `SENSITIVE_ACTION_REJECTED`
|
|
127
|
+
- `SENSITIVE_ACTION_INVALID_PASSWORD`
|
|
128
|
+
- `AGENT_PRIVATE_KEY_NOT_FOUND`
|
|
129
|
+
- `INVALID_CREATE_VAULT_CLIENT_OPTIONS`
|
|
130
|
+
|
|
131
|
+
Recommended GUI behavior:
|
|
132
|
+
|
|
133
|
+
- Show a single reusable confirmation dialog for sensitive actions
|
|
134
|
+
- Always collect the password
|
|
135
|
+
- Optionally collect a second factor such as a 6-digit verification code
|
|
136
|
+
- Branch UI behavior on `OwnerClientError.code` rather than parsing error strings
|
|
137
|
+
|
|
70
138
|
## Agent Client (Consumer)
|
|
71
139
|
|
|
72
140
|
The `AgentClient` is used by delegated processes (e.g., LLMs or background workers) to perform authorized actions.
|
package/docs/api/README.md
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
**CBIO Node Runtime Agent API v1.
|
|
1
|
+
**CBIO Node Runtime Agent API v1.52.1**
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
|
-
# CBIO Node Runtime Agent API v1.
|
|
5
|
+
# CBIO Node Runtime Agent API v1.52.1
|
|
6
6
|
|
|
7
7
|
## Enumerations
|
|
8
8
|
|
|
9
9
|
- [IdentityErrorCode](enumerations/IdentityErrorCode.md)
|
|
10
|
+
- [OwnerClientErrorCode](enumerations/OwnerClientErrorCode.md)
|
|
10
11
|
|
|
11
12
|
## Classes
|
|
12
13
|
|
|
13
14
|
- [IdentityError](classes/IdentityError.md)
|
|
15
|
+
- [OwnerClientError](classes/OwnerClientError.md)
|
|
14
16
|
- [VaultCore](classes/VaultCore.md)
|
|
15
17
|
- [VaultCoreError](classes/VaultCoreError.md)
|
|
16
18
|
|
|
@@ -36,6 +38,8 @@
|
|
|
36
38
|
- [OwnerAgentProvisionResult](interfaces/OwnerAgentProvisionResult.md)
|
|
37
39
|
- [OwnerDefineSecretTargetsInput](interfaces/OwnerDefineSecretTargetsInput.md)
|
|
38
40
|
- [OwnerSecretTargetBinding](interfaces/OwnerSecretTargetBinding.md)
|
|
41
|
+
- [OwnerSensitiveActionConfirmation](interfaces/OwnerSensitiveActionConfirmation.md)
|
|
42
|
+
- [OwnerSensitiveActionContext](interfaces/OwnerSensitiveActionContext.md)
|
|
39
43
|
- [OwnerStoreSecretInput](interfaces/OwnerStoreSecretInput.md)
|
|
40
44
|
- [OwnerWriteSecretInput](interfaces/OwnerWriteSecretInput.md)
|
|
41
45
|
- [RecoveredVault](interfaces/RecoveredVault.md)
|
|
@@ -43,6 +47,7 @@
|
|
|
43
47
|
- [RestoreIdentityOptions](interfaces/RestoreIdentityOptions.md)
|
|
44
48
|
- [Signer](interfaces/Signer.md)
|
|
45
49
|
- [VaultApproveCapabilityRequestInput](interfaces/VaultApproveCapabilityRequestInput.md)
|
|
50
|
+
- [VaultApproveDispatchInput](interfaces/VaultApproveDispatchInput.md)
|
|
46
51
|
- [VaultAuditQueryInput](interfaces/VaultAuditQueryInput.md)
|
|
47
52
|
- [VaultClient](interfaces/VaultClient.md)
|
|
48
53
|
- [VaultCoreDependenciesOptions](interfaces/VaultCoreDependenciesOptions.md)
|
|
@@ -52,16 +57,21 @@
|
|
|
52
57
|
- [VaultGrantCapabilityInput](interfaces/VaultGrantCapabilityInput.md)
|
|
53
58
|
- [VaultIdentity](interfaces/VaultIdentity.md)
|
|
54
59
|
- [VaultImportAgentInput](interfaces/VaultImportAgentInput.md)
|
|
60
|
+
- [VaultIssueSessionTokenInput](interfaces/VaultIssueSessionTokenInput.md)
|
|
55
61
|
- [VaultListAgentsInput](interfaces/VaultListAgentsInput.md)
|
|
56
62
|
- [VaultListCapabilitiesInput](interfaces/VaultListCapabilitiesInput.md)
|
|
57
63
|
- [VaultListSecretsInput](interfaces/VaultListSecretsInput.md)
|
|
58
64
|
- [VaultMetadata](interfaces/VaultMetadata.md)
|
|
59
65
|
- [VaultObject](interfaces/VaultObject.md)
|
|
60
66
|
- [VaultProfile](interfaces/VaultProfile.md)
|
|
67
|
+
- [VaultReadAgentPrivateKeyInput](interfaces/VaultReadAgentPrivateKeyInput.md)
|
|
68
|
+
- [VaultReadSecretPlaintextInput](interfaces/VaultReadSecretPlaintextInput.md)
|
|
61
69
|
- [VaultRegisterFlowInput](interfaces/VaultRegisterFlowInput.md)
|
|
62
70
|
- [VaultRevokeCapabilityInput](interfaces/VaultRevokeCapabilityInput.md)
|
|
71
|
+
- [VaultRevokeSessionTokenInput](interfaces/VaultRevokeSessionTokenInput.md)
|
|
63
72
|
- [VaultSigner](interfaces/VaultSigner.md)
|
|
64
73
|
- [VaultSubmitCapabilityRequestInput](interfaces/VaultSubmitCapabilityRequestInput.md)
|
|
74
|
+
- [VaultUpdateAgentInput](interfaces/VaultUpdateAgentInput.md)
|
|
65
75
|
|
|
66
76
|
## Type Aliases
|
|
67
77
|
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.52.1**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Class: OwnerClientError
|
|
6
|
+
|
|
7
|
+
Runtime export.
|
|
8
|
+
Main API: typed high-level runtime plus supported low-level building blocks.
|
|
9
|
+
|
|
10
|
+
## Extends
|
|
11
|
+
|
|
12
|
+
- `Error`
|
|
13
|
+
|
|
14
|
+
## Constructors
|
|
15
|
+
|
|
16
|
+
### Constructor
|
|
17
|
+
|
|
18
|
+
> **new OwnerClientError**(`code`, `message`, `options?`): `OwnerClientError`
|
|
19
|
+
|
|
20
|
+
#### Parameters
|
|
21
|
+
|
|
22
|
+
##### code
|
|
23
|
+
|
|
24
|
+
[`OwnerClientErrorCode`](../enumerations/OwnerClientErrorCode.md)
|
|
25
|
+
|
|
26
|
+
##### message
|
|
27
|
+
|
|
28
|
+
`string`
|
|
29
|
+
|
|
30
|
+
##### options?
|
|
31
|
+
|
|
32
|
+
`ErrorOptions`
|
|
33
|
+
|
|
34
|
+
#### Returns
|
|
35
|
+
|
|
36
|
+
`OwnerClientError`
|
|
37
|
+
|
|
38
|
+
#### Overrides
|
|
39
|
+
|
|
40
|
+
`Error.constructor`
|
|
41
|
+
|
|
42
|
+
## Properties
|
|
43
|
+
|
|
44
|
+
### code
|
|
45
|
+
|
|
46
|
+
> `readonly` **code**: [`OwnerClientErrorCode`](../enumerations/OwnerClientErrorCode.md)
|
|
47
|
+
|
|
48
|
+
## Methods
|
|
49
|
+
|
|
50
|
+
### isOwnerClientError()
|
|
51
|
+
|
|
52
|
+
> `static` **isOwnerClientError**(`e`): `e is OwnerClientError`
|
|
53
|
+
|
|
54
|
+
#### Parameters
|
|
55
|
+
|
|
56
|
+
##### e
|
|
57
|
+
|
|
58
|
+
`unknown`
|
|
59
|
+
|
|
60
|
+
#### Returns
|
|
61
|
+
|
|
62
|
+
`e is OwnerClientError`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.52.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -589,6 +589,22 @@ This is the primary implementation of the Vault logic.
|
|
|
589
589
|
|
|
590
590
|
***
|
|
591
591
|
|
|
592
|
+
### ownerUpdateAgentIdentity()
|
|
593
|
+
|
|
594
|
+
> **ownerUpdateAgentIdentity**(`command`): `Promise`\<`AgentIdentityRecord`\>
|
|
595
|
+
|
|
596
|
+
#### Parameters
|
|
597
|
+
|
|
598
|
+
##### command
|
|
599
|
+
|
|
600
|
+
`OwnerUpdateAgentIdentityCommand`
|
|
601
|
+
|
|
602
|
+
#### Returns
|
|
603
|
+
|
|
604
|
+
`Promise`\<`AgentIdentityRecord`\>
|
|
605
|
+
|
|
606
|
+
***
|
|
607
|
+
|
|
592
608
|
### ownerWriteSecret()
|
|
593
609
|
|
|
594
610
|
> **ownerWriteSecret**(`command`): `Promise`\<`SecretRecord`\>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.52.1**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Enumeration: OwnerClientErrorCode
|
|
6
|
+
|
|
7
|
+
Runtime export.
|
|
8
|
+
Main API: typed high-level runtime plus supported low-level building blocks.
|
|
9
|
+
|
|
10
|
+
## Enumeration Members
|
|
11
|
+
|
|
12
|
+
### AGENT\_PRIVATE\_KEY\_NOT\_FOUND
|
|
13
|
+
|
|
14
|
+
> **AGENT\_PRIVATE\_KEY\_NOT\_FOUND**: `"AGENT_PRIVATE_KEY_NOT_FOUND"`
|
|
15
|
+
|
|
16
|
+
***
|
|
17
|
+
|
|
18
|
+
### INVALID\_CREATE\_VAULT\_CLIENT\_OPTIONS
|
|
19
|
+
|
|
20
|
+
> **INVALID\_CREATE\_VAULT\_CLIENT\_OPTIONS**: `"INVALID_CREATE_VAULT_CLIENT_OPTIONS"`
|
|
21
|
+
|
|
22
|
+
***
|
|
23
|
+
|
|
24
|
+
### SENSITIVE\_ACTION\_INVALID\_PASSWORD
|
|
25
|
+
|
|
26
|
+
> **SENSITIVE\_ACTION\_INVALID\_PASSWORD**: `"SENSITIVE_ACTION_INVALID_PASSWORD"`
|
|
27
|
+
|
|
28
|
+
***
|
|
29
|
+
|
|
30
|
+
### SENSITIVE\_ACTION\_PASSWORD\_REQUIRED
|
|
31
|
+
|
|
32
|
+
> **SENSITIVE\_ACTION\_PASSWORD\_REQUIRED**: `"SENSITIVE_ACTION_PASSWORD_REQUIRED"`
|
|
33
|
+
|
|
34
|
+
***
|
|
35
|
+
|
|
36
|
+
### SENSITIVE\_ACTION\_REJECTED
|
|
37
|
+
|
|
38
|
+
> **SENSITIVE\_ACTION\_REJECTED**: `"SENSITIVE_ACTION_REJECTED"`
|
|
39
|
+
|
|
40
|
+
***
|
|
41
|
+
|
|
42
|
+
### SENSITIVE\_ACTION\_VERIFIER\_REQUIRED
|
|
43
|
+
|
|
44
|
+
> **SENSITIVE\_ACTION\_VERIFIER\_REQUIRED**: `"SENSITIVE_ACTION_VERIFIER_REQUIRED"`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.52.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -425,6 +425,18 @@ A list of vault IDs.
|
|
|
425
425
|
|
|
426
426
|
***
|
|
427
427
|
|
|
428
|
+
### OwnerClientError
|
|
429
|
+
|
|
430
|
+
> **OwnerClientError**: *typeof* [`OwnerClientError`](../classes/OwnerClientError.md)
|
|
431
|
+
|
|
432
|
+
***
|
|
433
|
+
|
|
434
|
+
### OwnerClientErrorCode
|
|
435
|
+
|
|
436
|
+
> **OwnerClientErrorCode**: *typeof* [`OwnerClientErrorCode`](../enumerations/OwnerClientErrorCode.md)
|
|
437
|
+
|
|
438
|
+
***
|
|
439
|
+
|
|
428
440
|
### PersistentVaultCapabilityRevocationRegistry
|
|
429
441
|
|
|
430
442
|
> **PersistentVaultCapabilityRevocationRegistry**: *typeof* `FileCapabilityRevocationRegistry`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.52.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -18,6 +18,42 @@
|
|
|
18
18
|
|
|
19
19
|
***
|
|
20
20
|
|
|
21
|
+
### passwordVerifier?
|
|
22
|
+
|
|
23
|
+
> `optional` **passwordVerifier?**: (`password`) => `boolean` \| `Promise`\<`boolean`\>
|
|
24
|
+
|
|
25
|
+
#### Parameters
|
|
26
|
+
|
|
27
|
+
##### password
|
|
28
|
+
|
|
29
|
+
`string`
|
|
30
|
+
|
|
31
|
+
#### Returns
|
|
32
|
+
|
|
33
|
+
`boolean` \| `Promise`\<`boolean`\>
|
|
34
|
+
|
|
35
|
+
***
|
|
36
|
+
|
|
37
|
+
### sensitiveActionVerifier?
|
|
38
|
+
|
|
39
|
+
> `optional` **sensitiveActionVerifier?**: (`confirmation`, `context`) => `boolean` \| `Promise`\<`boolean`\>
|
|
40
|
+
|
|
41
|
+
#### Parameters
|
|
42
|
+
|
|
43
|
+
##### confirmation
|
|
44
|
+
|
|
45
|
+
[`OwnerSensitiveActionConfirmation`](OwnerSensitiveActionConfirmation.md)
|
|
46
|
+
|
|
47
|
+
##### context
|
|
48
|
+
|
|
49
|
+
[`OwnerSensitiveActionContext`](OwnerSensitiveActionContext.md)
|
|
50
|
+
|
|
51
|
+
#### Returns
|
|
52
|
+
|
|
53
|
+
`boolean` \| `Promise`\<`boolean`\>
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
21
57
|
### signer?
|
|
22
58
|
|
|
23
59
|
> `optional` **signer?**: [`VaultSigner`](VaultSigner.md)
|