@the-ai-company/cbio-node-runtime 1.45.2 → 1.45.5
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/dist/protocol/crypto.d.ts +3 -0
- package/dist/protocol/crypto.js +3 -0
- package/dist/protocol/crypto.js.map +1 -1
- package/dist/storage/fs.d.ts +3 -0
- package/dist/storage/fs.js +3 -0
- package/dist/storage/fs.js.map +1 -1
- package/dist/storage/memory.d.ts +3 -0
- package/dist/storage/memory.js +3 -0
- package/dist/storage/memory.js.map +1 -1
- package/dist/vault-core/core.d.ts +3 -0
- package/dist/vault-core/core.js +3 -0
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.d.ts +45 -0
- package/dist/vault-core/defaults.js +45 -0
- package/dist/vault-core/defaults.js.map +1 -1
- package/dist/vault-core/persistence.d.ts +30 -0
- package/dist/vault-core/persistence.js +30 -0
- package/dist/vault-core/persistence.js.map +1 -1
- package/dist/vault-ingress/defaults.d.ts +3 -0
- package/dist/vault-ingress/defaults.js +3 -0
- package/dist/vault-ingress/defaults.js.map +1 -1
- package/dist/vault-ingress/remote-transport.d.ts +3 -0
- package/dist/vault-ingress/remote-transport.js +3 -0
- package/dist/vault-ingress/remote-transport.js.map +1 -1
- package/docs/api/README.md +2 -33
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/InMemoryReplayGuard.md +1 -1
- package/docs/api/classes/VaultCoreError.md +1 -1
- package/docs/api/enumerations/AuditAction.md +1 -1
- package/docs/api/enumerations/AuditOutcome.md +1 -1
- package/docs/api/enumerations/DispatchStatus.md +1 -1
- package/docs/api/enumerations/IdentityErrorCode.md +1 -1
- package/docs/api/functions/createAgentClient.md +1 -1
- package/docs/api/functions/createChildIdentity.md +1 -1
- package/docs/api/functions/createDefaultVaultCoreDependencies.md +14 -14
- package/docs/api/functions/createIdentity.md +1 -1
- package/docs/api/functions/createOwnerHttpFlowBoundary.md +1 -1
- package/docs/api/functions/createPersistentVaultCoreDependencies.md +13 -13
- 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/createVaultService.md +1 -1
- package/docs/api/functions/createWorkspaceStorage.md +3 -3
- package/docs/api/functions/deriveChildIdentity.md +1 -1
- package/docs/api/functions/deriveIdentityId.md +1 -1
- package/docs/api/functions/ensureIdentityPrivateVault.md +1 -1
- package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
- package/docs/api/functions/handleVaultHttpDispatch.md +1 -1
- package/docs/api/functions/identityPrivateVaultChildrenKey.md +1 -1
- package/docs/api/functions/identityPrivateVaultPrefix.md +1 -1
- package/docs/api/functions/identityPrivateVaultProfileKey.md +1 -1
- package/docs/api/functions/identityPrivateVaultPublicSealedKey.md +1 -1
- package/docs/api/functions/initializeVaultCustody.md +1 -1
- package/docs/api/functions/listIdentities.md +1 -1
- package/docs/api/functions/listVaults.md +1 -1
- package/docs/api/functions/readIdentityMetadata.md +1 -1
- package/docs/api/functions/readIdentityPrivateVaultChildrenState.md +1 -1
- package/docs/api/functions/readIdentityPrivateVaultProfile.md +1 -1
- package/docs/api/functions/readVaultProfile.md +1 -1
- package/docs/api/functions/readVaultPublicMetadata.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/toOwnerHttpFlowBoundary.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/AgentCapability.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/AgentIdentityRecord.md +1 -1
- package/docs/api/interfaces/AgentIdentityRegistry.md +1 -1
- package/docs/api/interfaces/AgentProof.md +1 -1
- package/docs/api/interfaces/AgentProofVerifier.md +1 -1
- package/docs/api/interfaces/AgentSigner.md +1 -1
- package/docs/api/interfaces/AuditEntry.md +1 -1
- package/docs/api/interfaces/AuditLog.md +1 -1
- package/docs/api/interfaces/AuditQuery.md +1 -1
- package/docs/api/interfaces/CapabilityRegistry.md +1 -1
- package/docs/api/interfaces/CapabilityRevocationRegistry.md +1 -1
- package/docs/api/interfaces/CbioRuntime.md +33 -33
- package/docs/api/interfaces/ChildIdentity.md +1 -1
- package/docs/api/interfaces/Clock.md +1 -1
- package/docs/api/interfaces/CreateAgentClientOptions.md +1 -1
- package/docs/api/interfaces/CreateChildIdentityOptions.md +1 -1
- package/docs/api/interfaces/CreateDefaultVaultCoreDependenciesOptions.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 +1 -1
- package/docs/api/interfaces/CreateVaultOptions.md +1 -1
- package/docs/api/interfaces/CreatedVault.md +1 -1
- package/docs/api/interfaces/CustomHttpFlowDefinition.md +1 -1
- package/docs/api/interfaces/CustomHttpFlowRegistry.md +1 -1
- package/docs/api/interfaces/DefaultPolicyEngineOptions.md +1 -1
- package/docs/api/interfaces/DeriveIdentityOptions.md +1 -1
- package/docs/api/interfaces/DispatchAuthorization.md +1 -1
- package/docs/api/interfaces/DispatchInstruction.md +1 -1
- package/docs/api/interfaces/DispatchRequest.md +1 -1
- package/docs/api/interfaces/DispatchResult.md +1 -1
- package/docs/api/interfaces/IStorageProvider.md +1 -1
- package/docs/api/interfaces/IdGenerator.md +1 -1
- package/docs/api/interfaces/IdentityPrivateVaultChildRecord.md +1 -1
- package/docs/api/interfaces/IdentityPrivateVaultChildrenState.md +1 -1
- package/docs/api/interfaces/IdentityPrivateVaultProfile.md +1 -1
- package/docs/api/interfaces/InitializeVaultCustodyOptions.md +1 -1
- package/docs/api/interfaces/InitializedVaultCustody.md +1 -1
- package/docs/api/interfaces/IssuerWriteSecretCommand.md +1 -1
- package/docs/api/interfaces/OwnerAuditRequest.md +1 -1
- package/docs/api/interfaces/OwnerDefineSecretTargetsCommand.md +1 -1
- package/docs/api/interfaces/OwnerDefineSecretTargetsInput.md +1 -1
- package/docs/api/interfaces/OwnerDeleteSecretCommand.md +1 -1
- package/docs/api/interfaces/OwnerExportSecretRequest.md +1 -1
- package/docs/api/interfaces/OwnerHttpFlowBoundary.md +1 -1
- package/docs/api/interfaces/OwnerIdentityRecord.md +1 -1
- package/docs/api/interfaces/OwnerIdentityRegistry.md +1 -1
- package/docs/api/interfaces/OwnerListAgentsRequest.md +1 -1
- package/docs/api/interfaces/OwnerListCapabilitiesRequest.md +1 -1
- package/docs/api/interfaces/OwnerProof.md +1 -1
- package/docs/api/interfaces/OwnerProofVerifier.md +1 -1
- package/docs/api/interfaces/OwnerRegisterAgentIdentityCommand.md +1 -1
- package/docs/api/interfaces/OwnerRegisterCapabilityCommand.md +1 -1
- package/docs/api/interfaces/OwnerRegisterCustomHttpFlowCommand.md +1 -1
- package/docs/api/interfaces/OwnerRevokeCapabilityCommand.md +1 -1
- package/docs/api/interfaces/OwnerSecretExport.md +1 -1
- package/docs/api/interfaces/OwnerSecretTargetBinding.md +1 -1
- package/docs/api/interfaces/OwnerStoreSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerWriteSecretCommand.md +1 -1
- package/docs/api/interfaces/OwnerWriteSecretInput.md +1 -1
- package/docs/api/interfaces/PolicyEngine.md +1 -1
- package/docs/api/interfaces/RateLimitStore.md +1 -1
- package/docs/api/interfaces/RecoverVaultOptions.md +1 -1
- package/docs/api/interfaces/RecoveredVault.md +1 -1
- package/docs/api/interfaces/ReplayGuard.md +1 -1
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/SecretAlias.md +1 -1
- package/docs/api/interfaces/SecretCustody.md +1 -1
- package/docs/api/interfaces/SecretId.md +1 -1
- package/docs/api/interfaces/SecretRecord.md +1 -1
- package/docs/api/interfaces/SecretRepository.md +1 -1
- package/docs/api/interfaces/SecretVersion.md +1 -1
- package/docs/api/interfaces/SignatureAgentProofVerifierOptions.md +1 -1
- package/docs/api/interfaces/Signer.md +1 -1
- package/docs/api/interfaces/TrustedExecutor.md +1 -1
- package/docs/api/interfaces/VaultAcquireSecretInput.md +1 -1
- package/docs/api/interfaces/VaultAcquireSecretResult.md +1 -1
- package/docs/api/interfaces/VaultAgentDispatchErrorResponse.md +1 -1
- package/docs/api/interfaces/VaultAgentDispatchRequest.md +1 -1
- package/docs/api/interfaces/VaultAgentDispatchResponse.md +1 -1
- package/docs/api/interfaces/VaultAuditQueryInput.md +1 -1
- package/docs/api/interfaces/VaultClient.md +1 -1
- package/docs/api/interfaces/VaultCore.md +1 -1
- package/docs/api/interfaces/VaultCoreDependencies.md +1 -1
- package/docs/api/interfaces/VaultCustomFlowResolver.md +1 -1
- package/docs/api/interfaces/VaultDeleteSecretInput.md +1 -1
- package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
- package/docs/api/interfaces/VaultGrantCapabilityInput.md +1 -1
- package/docs/api/interfaces/VaultId.md +1 -1
- package/docs/api/interfaces/VaultIdentity.md +1 -1
- package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
- package/docs/api/interfaces/VaultListCapabilitiesInput.md +1 -1
- package/docs/api/interfaces/VaultObject.md +1 -1
- package/docs/api/interfaces/VaultPrincipal.md +1 -1
- package/docs/api/interfaces/VaultProfile.md +1 -1
- package/docs/api/interfaces/VaultPublicMetadata.md +1 -1
- package/docs/api/interfaces/VaultRegisterAgentInput.md +1 -1
- package/docs/api/interfaces/VaultRegisterFlowInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeCapabilityInput.md +1 -1
- package/docs/api/interfaces/VaultService.md +1 -1
- package/docs/api/interfaces/VaultSigner.md +1 -1
- package/docs/api/interfaces/VaultTargetBinding.md +1 -1
- package/docs/api/type-aliases/AgentCapabilityEnvelope.md +1 -1
- package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
- package/docs/api/type-aliases/IdentityPrivateVaultAccess.md +1 -1
- package/docs/api/type-aliases/RedactedResponseShape.md +1 -1
- package/docs/api/type-aliases/VaultAcquireSecretFlow.md +1 -1
- package/docs/api/type-aliases/VaultPrincipalKind.md +1 -1
- package/docs/api/type-aliases/VaultWriteSecretCommand.md +1 -1
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
- package/package.json +1 -1
- package/docs/api/classes/AgentDispatchHttpTransport.md +0 -52
- package/docs/api/classes/DefaultPolicyEngine.md +0 -117
- package/docs/api/classes/DefaultVaultCore.md +0 -405
- package/docs/api/classes/FsStorageProvider.md +0 -192
- package/docs/api/classes/HttpDispatchExecutor.md +0 -63
- package/docs/api/classes/InMemoryAgentIdentityRegistry.md +0 -83
- package/docs/api/classes/InMemoryAuditLog.md +0 -59
- package/docs/api/classes/InMemoryCapabilityRegistry.md +0 -91
- package/docs/api/classes/InMemoryCapabilityRevocationRegistry.md +0 -75
- package/docs/api/classes/InMemoryCustomHttpFlowRegistry.md +0 -63
- package/docs/api/classes/InMemoryOwnerIdentityRegistry.md +0 -83
- package/docs/api/classes/InMemoryRateLimitStore.md +0 -51
- package/docs/api/classes/InMemorySecretCustody.md +0 -83
- package/docs/api/classes/InMemorySecretRepository.md +0 -99
- package/docs/api/classes/LocalSigner.md +0 -59
- package/docs/api/classes/LocalVaultTransport.md +0 -45
- package/docs/api/classes/MemoryStorageProvider.md +0 -160
- package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +0 -101
- package/docs/api/classes/PersistentVaultAuditLog.md +0 -73
- package/docs/api/classes/PersistentVaultCapabilityRegistry.md +0 -109
- package/docs/api/classes/PersistentVaultCapabilityRevocationRegistry.md +0 -93
- package/docs/api/classes/PersistentVaultCustomHttpFlowRegistry.md +0 -81
- package/docs/api/classes/PersistentVaultOwnerIdentityRegistry.md +0 -101
- package/docs/api/classes/PersistentVaultRateLimitStore.md +0 -69
- package/docs/api/classes/PersistentVaultReplayGuard.md +0 -61
- package/docs/api/classes/PersistentVaultSecretCustody.md +0 -97
- package/docs/api/classes/PersistentVaultSecretRepository.md +0 -117
- package/docs/api/classes/RandomIdGenerator.md +0 -65
- package/docs/api/classes/SignatureAgentProofVerifier.md +0 -49
- package/docs/api/classes/SignatureOwnerProofVerifier.md +0 -249
- package/docs/api/classes/SystemClock.md +0 -33
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Class: InMemoryAgentIdentityRegistry
|
|
6
|
-
|
|
7
|
-
## Implements
|
|
8
|
-
|
|
9
|
-
- [`AgentIdentityRegistry`](../interfaces/AgentIdentityRegistry.md)
|
|
10
|
-
|
|
11
|
-
## Constructors
|
|
12
|
-
|
|
13
|
-
### Constructor
|
|
14
|
-
|
|
15
|
-
> **new InMemoryAgentIdentityRegistry**(): `InMemoryAgentIdentityRegistry`
|
|
16
|
-
|
|
17
|
-
#### Returns
|
|
18
|
-
|
|
19
|
-
`InMemoryAgentIdentityRegistry`
|
|
20
|
-
|
|
21
|
-
## Methods
|
|
22
|
-
|
|
23
|
-
### get()
|
|
24
|
-
|
|
25
|
-
> **get**(`vaultId`, `agentId`): `Promise`\<[`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md) \| `null`\>
|
|
26
|
-
|
|
27
|
-
#### Parameters
|
|
28
|
-
|
|
29
|
-
##### vaultId
|
|
30
|
-
|
|
31
|
-
[`VaultId`](../interfaces/VaultId.md)
|
|
32
|
-
|
|
33
|
-
##### agentId
|
|
34
|
-
|
|
35
|
-
`string`
|
|
36
|
-
|
|
37
|
-
#### Returns
|
|
38
|
-
|
|
39
|
-
`Promise`\<[`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md) \| `null`\>
|
|
40
|
-
|
|
41
|
-
#### Implementation of
|
|
42
|
-
|
|
43
|
-
[`AgentIdentityRegistry`](../interfaces/AgentIdentityRegistry.md).[`get`](../interfaces/AgentIdentityRegistry.md#get)
|
|
44
|
-
|
|
45
|
-
***
|
|
46
|
-
|
|
47
|
-
### list()
|
|
48
|
-
|
|
49
|
-
> **list**(`vaultId`): `Promise`\<readonly [`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)[]\>
|
|
50
|
-
|
|
51
|
-
#### Parameters
|
|
52
|
-
|
|
53
|
-
##### vaultId
|
|
54
|
-
|
|
55
|
-
[`VaultId`](../interfaces/VaultId.md)
|
|
56
|
-
|
|
57
|
-
#### Returns
|
|
58
|
-
|
|
59
|
-
`Promise`\<readonly [`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)[]\>
|
|
60
|
-
|
|
61
|
-
#### Implementation of
|
|
62
|
-
|
|
63
|
-
[`AgentIdentityRegistry`](../interfaces/AgentIdentityRegistry.md).[`list`](../interfaces/AgentIdentityRegistry.md#list)
|
|
64
|
-
|
|
65
|
-
***
|
|
66
|
-
|
|
67
|
-
### register()
|
|
68
|
-
|
|
69
|
-
> **register**(`identity`): `Promise`\<`void`\>
|
|
70
|
-
|
|
71
|
-
#### Parameters
|
|
72
|
-
|
|
73
|
-
##### identity
|
|
74
|
-
|
|
75
|
-
[`AgentIdentityRecord`](../interfaces/AgentIdentityRecord.md)
|
|
76
|
-
|
|
77
|
-
#### Returns
|
|
78
|
-
|
|
79
|
-
`Promise`\<`void`\>
|
|
80
|
-
|
|
81
|
-
#### Implementation of
|
|
82
|
-
|
|
83
|
-
[`AgentIdentityRegistry`](../interfaces/AgentIdentityRegistry.md).[`register`](../interfaces/AgentIdentityRegistry.md#register)
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Class: InMemoryAuditLog
|
|
6
|
-
|
|
7
|
-
## Implements
|
|
8
|
-
|
|
9
|
-
- [`AuditLog`](../interfaces/AuditLog.md)
|
|
10
|
-
|
|
11
|
-
## Constructors
|
|
12
|
-
|
|
13
|
-
### Constructor
|
|
14
|
-
|
|
15
|
-
> **new InMemoryAuditLog**(): `InMemoryAuditLog`
|
|
16
|
-
|
|
17
|
-
#### Returns
|
|
18
|
-
|
|
19
|
-
`InMemoryAuditLog`
|
|
20
|
-
|
|
21
|
-
## Methods
|
|
22
|
-
|
|
23
|
-
### append()
|
|
24
|
-
|
|
25
|
-
> **append**(`entry`): `Promise`\<`void`\>
|
|
26
|
-
|
|
27
|
-
#### Parameters
|
|
28
|
-
|
|
29
|
-
##### entry
|
|
30
|
-
|
|
31
|
-
[`AuditEntry`](../interfaces/AuditEntry.md)
|
|
32
|
-
|
|
33
|
-
#### Returns
|
|
34
|
-
|
|
35
|
-
`Promise`\<`void`\>
|
|
36
|
-
|
|
37
|
-
#### Implementation of
|
|
38
|
-
|
|
39
|
-
[`AuditLog`](../interfaces/AuditLog.md).[`append`](../interfaces/AuditLog.md#append)
|
|
40
|
-
|
|
41
|
-
***
|
|
42
|
-
|
|
43
|
-
### query()
|
|
44
|
-
|
|
45
|
-
> **query**(`query`): `Promise`\<readonly [`AuditEntry`](../interfaces/AuditEntry.md)[]\>
|
|
46
|
-
|
|
47
|
-
#### Parameters
|
|
48
|
-
|
|
49
|
-
##### query
|
|
50
|
-
|
|
51
|
-
[`AuditQuery`](../interfaces/AuditQuery.md)
|
|
52
|
-
|
|
53
|
-
#### Returns
|
|
54
|
-
|
|
55
|
-
`Promise`\<readonly [`AuditEntry`](../interfaces/AuditEntry.md)[]\>
|
|
56
|
-
|
|
57
|
-
#### Implementation of
|
|
58
|
-
|
|
59
|
-
[`AuditLog`](../interfaces/AuditLog.md).[`query`](../interfaces/AuditLog.md#query)
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Class: InMemoryCapabilityRegistry
|
|
6
|
-
|
|
7
|
-
## Implements
|
|
8
|
-
|
|
9
|
-
- [`CapabilityRegistry`](../interfaces/CapabilityRegistry.md)
|
|
10
|
-
|
|
11
|
-
## Constructors
|
|
12
|
-
|
|
13
|
-
### Constructor
|
|
14
|
-
|
|
15
|
-
> **new InMemoryCapabilityRegistry**(): `InMemoryCapabilityRegistry`
|
|
16
|
-
|
|
17
|
-
#### Returns
|
|
18
|
-
|
|
19
|
-
`InMemoryCapabilityRegistry`
|
|
20
|
-
|
|
21
|
-
## Methods
|
|
22
|
-
|
|
23
|
-
### get()
|
|
24
|
-
|
|
25
|
-
> **get**(`vaultId`, `agentId`, `capabilityId`): `Promise`\<[`AgentCapability`](../interfaces/AgentCapability.md) \| `null`\>
|
|
26
|
-
|
|
27
|
-
#### Parameters
|
|
28
|
-
|
|
29
|
-
##### vaultId
|
|
30
|
-
|
|
31
|
-
[`VaultId`](../interfaces/VaultId.md)
|
|
32
|
-
|
|
33
|
-
##### agentId
|
|
34
|
-
|
|
35
|
-
`string`
|
|
36
|
-
|
|
37
|
-
##### capabilityId
|
|
38
|
-
|
|
39
|
-
`string`
|
|
40
|
-
|
|
41
|
-
#### Returns
|
|
42
|
-
|
|
43
|
-
`Promise`\<[`AgentCapability`](../interfaces/AgentCapability.md) \| `null`\>
|
|
44
|
-
|
|
45
|
-
#### Implementation of
|
|
46
|
-
|
|
47
|
-
[`CapabilityRegistry`](../interfaces/CapabilityRegistry.md).[`get`](../interfaces/CapabilityRegistry.md#get)
|
|
48
|
-
|
|
49
|
-
***
|
|
50
|
-
|
|
51
|
-
### list()
|
|
52
|
-
|
|
53
|
-
> **list**(`vaultId`, `agentId?`): `Promise`\<readonly [`AgentCapability`](../interfaces/AgentCapability.md)[]\>
|
|
54
|
-
|
|
55
|
-
#### Parameters
|
|
56
|
-
|
|
57
|
-
##### vaultId
|
|
58
|
-
|
|
59
|
-
[`VaultId`](../interfaces/VaultId.md)
|
|
60
|
-
|
|
61
|
-
##### agentId?
|
|
62
|
-
|
|
63
|
-
`string`
|
|
64
|
-
|
|
65
|
-
#### Returns
|
|
66
|
-
|
|
67
|
-
`Promise`\<readonly [`AgentCapability`](../interfaces/AgentCapability.md)[]\>
|
|
68
|
-
|
|
69
|
-
#### Implementation of
|
|
70
|
-
|
|
71
|
-
[`CapabilityRegistry`](../interfaces/CapabilityRegistry.md).[`list`](../interfaces/CapabilityRegistry.md#list)
|
|
72
|
-
|
|
73
|
-
***
|
|
74
|
-
|
|
75
|
-
### register()
|
|
76
|
-
|
|
77
|
-
> **register**(`capability`): `Promise`\<`void`\>
|
|
78
|
-
|
|
79
|
-
#### Parameters
|
|
80
|
-
|
|
81
|
-
##### capability
|
|
82
|
-
|
|
83
|
-
[`AgentCapability`](../interfaces/AgentCapability.md)
|
|
84
|
-
|
|
85
|
-
#### Returns
|
|
86
|
-
|
|
87
|
-
`Promise`\<`void`\>
|
|
88
|
-
|
|
89
|
-
#### Implementation of
|
|
90
|
-
|
|
91
|
-
[`CapabilityRegistry`](../interfaces/CapabilityRegistry.md).[`register`](../interfaces/CapabilityRegistry.md#register)
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Class: InMemoryCapabilityRevocationRegistry
|
|
6
|
-
|
|
7
|
-
## Implements
|
|
8
|
-
|
|
9
|
-
- [`CapabilityRevocationRegistry`](../interfaces/CapabilityRevocationRegistry.md)
|
|
10
|
-
|
|
11
|
-
## Constructors
|
|
12
|
-
|
|
13
|
-
### Constructor
|
|
14
|
-
|
|
15
|
-
> **new InMemoryCapabilityRevocationRegistry**(): `InMemoryCapabilityRevocationRegistry`
|
|
16
|
-
|
|
17
|
-
#### Returns
|
|
18
|
-
|
|
19
|
-
`InMemoryCapabilityRevocationRegistry`
|
|
20
|
-
|
|
21
|
-
## Methods
|
|
22
|
-
|
|
23
|
-
### get()
|
|
24
|
-
|
|
25
|
-
> **get**(`vaultId`, `agentId`, `capabilityId`): `number`
|
|
26
|
-
|
|
27
|
-
#### Parameters
|
|
28
|
-
|
|
29
|
-
##### vaultId
|
|
30
|
-
|
|
31
|
-
[`VaultId`](../interfaces/VaultId.md)
|
|
32
|
-
|
|
33
|
-
##### agentId
|
|
34
|
-
|
|
35
|
-
`string`
|
|
36
|
-
|
|
37
|
-
##### capabilityId
|
|
38
|
-
|
|
39
|
-
`string`
|
|
40
|
-
|
|
41
|
-
#### Returns
|
|
42
|
-
|
|
43
|
-
`number`
|
|
44
|
-
|
|
45
|
-
#### Implementation of
|
|
46
|
-
|
|
47
|
-
[`CapabilityRevocationRegistry`](../interfaces/CapabilityRevocationRegistry.md).[`get`](../interfaces/CapabilityRevocationRegistry.md#get)
|
|
48
|
-
|
|
49
|
-
***
|
|
50
|
-
|
|
51
|
-
### revoke()
|
|
52
|
-
|
|
53
|
-
> **revoke**(`vaultId`, `agentId`, `capabilityId`): `number`
|
|
54
|
-
|
|
55
|
-
#### Parameters
|
|
56
|
-
|
|
57
|
-
##### vaultId
|
|
58
|
-
|
|
59
|
-
[`VaultId`](../interfaces/VaultId.md)
|
|
60
|
-
|
|
61
|
-
##### agentId
|
|
62
|
-
|
|
63
|
-
`string`
|
|
64
|
-
|
|
65
|
-
##### capabilityId
|
|
66
|
-
|
|
67
|
-
`string`
|
|
68
|
-
|
|
69
|
-
#### Returns
|
|
70
|
-
|
|
71
|
-
`number`
|
|
72
|
-
|
|
73
|
-
#### Implementation of
|
|
74
|
-
|
|
75
|
-
[`CapabilityRevocationRegistry`](../interfaces/CapabilityRevocationRegistry.md).[`revoke`](../interfaces/CapabilityRevocationRegistry.md#revoke)
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Class: InMemoryCustomHttpFlowRegistry
|
|
6
|
-
|
|
7
|
-
## Implements
|
|
8
|
-
|
|
9
|
-
- [`CustomHttpFlowRegistry`](../interfaces/CustomHttpFlowRegistry.md)
|
|
10
|
-
|
|
11
|
-
## Constructors
|
|
12
|
-
|
|
13
|
-
### Constructor
|
|
14
|
-
|
|
15
|
-
> **new InMemoryCustomHttpFlowRegistry**(): `InMemoryCustomHttpFlowRegistry`
|
|
16
|
-
|
|
17
|
-
#### Returns
|
|
18
|
-
|
|
19
|
-
`InMemoryCustomHttpFlowRegistry`
|
|
20
|
-
|
|
21
|
-
## Methods
|
|
22
|
-
|
|
23
|
-
### get()
|
|
24
|
-
|
|
25
|
-
> **get**(`vaultId`, `flowId`): `Promise`\<[`CustomHttpFlowDefinition`](../interfaces/CustomHttpFlowDefinition.md) \| `null`\>
|
|
26
|
-
|
|
27
|
-
#### Parameters
|
|
28
|
-
|
|
29
|
-
##### vaultId
|
|
30
|
-
|
|
31
|
-
[`VaultId`](../interfaces/VaultId.md)
|
|
32
|
-
|
|
33
|
-
##### flowId
|
|
34
|
-
|
|
35
|
-
`string`
|
|
36
|
-
|
|
37
|
-
#### Returns
|
|
38
|
-
|
|
39
|
-
`Promise`\<[`CustomHttpFlowDefinition`](../interfaces/CustomHttpFlowDefinition.md) \| `null`\>
|
|
40
|
-
|
|
41
|
-
#### Implementation of
|
|
42
|
-
|
|
43
|
-
[`CustomHttpFlowRegistry`](../interfaces/CustomHttpFlowRegistry.md).[`get`](../interfaces/CustomHttpFlowRegistry.md#get)
|
|
44
|
-
|
|
45
|
-
***
|
|
46
|
-
|
|
47
|
-
### register()
|
|
48
|
-
|
|
49
|
-
> **register**(`flow`): `Promise`\<`void`\>
|
|
50
|
-
|
|
51
|
-
#### Parameters
|
|
52
|
-
|
|
53
|
-
##### flow
|
|
54
|
-
|
|
55
|
-
[`CustomHttpFlowDefinition`](../interfaces/CustomHttpFlowDefinition.md)
|
|
56
|
-
|
|
57
|
-
#### Returns
|
|
58
|
-
|
|
59
|
-
`Promise`\<`void`\>
|
|
60
|
-
|
|
61
|
-
#### Implementation of
|
|
62
|
-
|
|
63
|
-
[`CustomHttpFlowRegistry`](../interfaces/CustomHttpFlowRegistry.md).[`register`](../interfaces/CustomHttpFlowRegistry.md#register)
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Class: InMemoryOwnerIdentityRegistry
|
|
6
|
-
|
|
7
|
-
## Implements
|
|
8
|
-
|
|
9
|
-
- [`OwnerIdentityRegistry`](../interfaces/OwnerIdentityRegistry.md)
|
|
10
|
-
|
|
11
|
-
## Constructors
|
|
12
|
-
|
|
13
|
-
### Constructor
|
|
14
|
-
|
|
15
|
-
> **new InMemoryOwnerIdentityRegistry**(): `InMemoryOwnerIdentityRegistry`
|
|
16
|
-
|
|
17
|
-
#### Returns
|
|
18
|
-
|
|
19
|
-
`InMemoryOwnerIdentityRegistry`
|
|
20
|
-
|
|
21
|
-
## Methods
|
|
22
|
-
|
|
23
|
-
### get()
|
|
24
|
-
|
|
25
|
-
> **get**(`vaultId`, `ownerId`): `Promise`\<[`OwnerIdentityRecord`](../interfaces/OwnerIdentityRecord.md) \| `null`\>
|
|
26
|
-
|
|
27
|
-
#### Parameters
|
|
28
|
-
|
|
29
|
-
##### vaultId
|
|
30
|
-
|
|
31
|
-
[`VaultId`](../interfaces/VaultId.md)
|
|
32
|
-
|
|
33
|
-
##### ownerId
|
|
34
|
-
|
|
35
|
-
`string`
|
|
36
|
-
|
|
37
|
-
#### Returns
|
|
38
|
-
|
|
39
|
-
`Promise`\<[`OwnerIdentityRecord`](../interfaces/OwnerIdentityRecord.md) \| `null`\>
|
|
40
|
-
|
|
41
|
-
#### Implementation of
|
|
42
|
-
|
|
43
|
-
[`OwnerIdentityRegistry`](../interfaces/OwnerIdentityRegistry.md).[`get`](../interfaces/OwnerIdentityRegistry.md#get)
|
|
44
|
-
|
|
45
|
-
***
|
|
46
|
-
|
|
47
|
-
### hasAny()
|
|
48
|
-
|
|
49
|
-
> **hasAny**(`vaultId`): `Promise`\<`boolean`\>
|
|
50
|
-
|
|
51
|
-
#### Parameters
|
|
52
|
-
|
|
53
|
-
##### vaultId
|
|
54
|
-
|
|
55
|
-
[`VaultId`](../interfaces/VaultId.md)
|
|
56
|
-
|
|
57
|
-
#### Returns
|
|
58
|
-
|
|
59
|
-
`Promise`\<`boolean`\>
|
|
60
|
-
|
|
61
|
-
#### Implementation of
|
|
62
|
-
|
|
63
|
-
[`OwnerIdentityRegistry`](../interfaces/OwnerIdentityRegistry.md).[`hasAny`](../interfaces/OwnerIdentityRegistry.md#hasany)
|
|
64
|
-
|
|
65
|
-
***
|
|
66
|
-
|
|
67
|
-
### register()
|
|
68
|
-
|
|
69
|
-
> **register**(`identity`): `Promise`\<`void`\>
|
|
70
|
-
|
|
71
|
-
#### Parameters
|
|
72
|
-
|
|
73
|
-
##### identity
|
|
74
|
-
|
|
75
|
-
[`OwnerIdentityRecord`](../interfaces/OwnerIdentityRecord.md)
|
|
76
|
-
|
|
77
|
-
#### Returns
|
|
78
|
-
|
|
79
|
-
`Promise`\<`void`\>
|
|
80
|
-
|
|
81
|
-
#### Implementation of
|
|
82
|
-
|
|
83
|
-
[`OwnerIdentityRegistry`](../interfaces/OwnerIdentityRegistry.md).[`register`](../interfaces/OwnerIdentityRegistry.md#register)
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Class: InMemoryRateLimitStore
|
|
6
|
-
|
|
7
|
-
## Implements
|
|
8
|
-
|
|
9
|
-
- [`RateLimitStore`](../interfaces/RateLimitStore.md)
|
|
10
|
-
|
|
11
|
-
## Constructors
|
|
12
|
-
|
|
13
|
-
### Constructor
|
|
14
|
-
|
|
15
|
-
> **new InMemoryRateLimitStore**(): `InMemoryRateLimitStore`
|
|
16
|
-
|
|
17
|
-
#### Returns
|
|
18
|
-
|
|
19
|
-
`InMemoryRateLimitStore`
|
|
20
|
-
|
|
21
|
-
## Methods
|
|
22
|
-
|
|
23
|
-
### consume()
|
|
24
|
-
|
|
25
|
-
> **consume**(`key`, `maxRequests`, `windowMs`, `nowMs`): `Promise`\<`void`\>
|
|
26
|
-
|
|
27
|
-
#### Parameters
|
|
28
|
-
|
|
29
|
-
##### key
|
|
30
|
-
|
|
31
|
-
`string`
|
|
32
|
-
|
|
33
|
-
##### maxRequests
|
|
34
|
-
|
|
35
|
-
`number`
|
|
36
|
-
|
|
37
|
-
##### windowMs
|
|
38
|
-
|
|
39
|
-
`number`
|
|
40
|
-
|
|
41
|
-
##### nowMs
|
|
42
|
-
|
|
43
|
-
`number`
|
|
44
|
-
|
|
45
|
-
#### Returns
|
|
46
|
-
|
|
47
|
-
`Promise`\<`void`\>
|
|
48
|
-
|
|
49
|
-
#### Implementation of
|
|
50
|
-
|
|
51
|
-
[`RateLimitStore`](../interfaces/RateLimitStore.md).[`consume`](../interfaces/RateLimitStore.md#consume)
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Class: InMemorySecretCustody
|
|
6
|
-
|
|
7
|
-
## Implements
|
|
8
|
-
|
|
9
|
-
- [`SecretCustody`](../interfaces/SecretCustody.md)
|
|
10
|
-
|
|
11
|
-
## Constructors
|
|
12
|
-
|
|
13
|
-
### Constructor
|
|
14
|
-
|
|
15
|
-
> **new InMemorySecretCustody**(): `InMemorySecretCustody`
|
|
16
|
-
|
|
17
|
-
#### Returns
|
|
18
|
-
|
|
19
|
-
`InMemorySecretCustody`
|
|
20
|
-
|
|
21
|
-
## Methods
|
|
22
|
-
|
|
23
|
-
### delete()
|
|
24
|
-
|
|
25
|
-
> **delete**(`secretId`): `Promise`\<`void`\>
|
|
26
|
-
|
|
27
|
-
#### Parameters
|
|
28
|
-
|
|
29
|
-
##### secretId
|
|
30
|
-
|
|
31
|
-
[`SecretId`](../interfaces/SecretId.md)
|
|
32
|
-
|
|
33
|
-
#### Returns
|
|
34
|
-
|
|
35
|
-
`Promise`\<`void`\>
|
|
36
|
-
|
|
37
|
-
#### Implementation of
|
|
38
|
-
|
|
39
|
-
[`SecretCustody`](../interfaces/SecretCustody.md).[`delete`](../interfaces/SecretCustody.md#delete)
|
|
40
|
-
|
|
41
|
-
***
|
|
42
|
-
|
|
43
|
-
### load()
|
|
44
|
-
|
|
45
|
-
> **load**(`secretId`): `Promise`\<`string` \| `null`\>
|
|
46
|
-
|
|
47
|
-
#### Parameters
|
|
48
|
-
|
|
49
|
-
##### secretId
|
|
50
|
-
|
|
51
|
-
[`SecretId`](../interfaces/SecretId.md)
|
|
52
|
-
|
|
53
|
-
#### Returns
|
|
54
|
-
|
|
55
|
-
`Promise`\<`string` \| `null`\>
|
|
56
|
-
|
|
57
|
-
#### Implementation of
|
|
58
|
-
|
|
59
|
-
[`SecretCustody`](../interfaces/SecretCustody.md).[`load`](../interfaces/SecretCustody.md#load)
|
|
60
|
-
|
|
61
|
-
***
|
|
62
|
-
|
|
63
|
-
### store()
|
|
64
|
-
|
|
65
|
-
> **store**(`secretId`, `plaintext`): `Promise`\<`void`\>
|
|
66
|
-
|
|
67
|
-
#### Parameters
|
|
68
|
-
|
|
69
|
-
##### secretId
|
|
70
|
-
|
|
71
|
-
[`SecretId`](../interfaces/SecretId.md)
|
|
72
|
-
|
|
73
|
-
##### plaintext
|
|
74
|
-
|
|
75
|
-
`string`
|
|
76
|
-
|
|
77
|
-
#### Returns
|
|
78
|
-
|
|
79
|
-
`Promise`\<`void`\>
|
|
80
|
-
|
|
81
|
-
#### Implementation of
|
|
82
|
-
|
|
83
|
-
[`SecretCustody`](../interfaces/SecretCustody.md).[`store`](../interfaces/SecretCustody.md#store)
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Class: InMemorySecretRepository
|
|
6
|
-
|
|
7
|
-
## Implements
|
|
8
|
-
|
|
9
|
-
- [`SecretRepository`](../interfaces/SecretRepository.md)
|
|
10
|
-
|
|
11
|
-
## Constructors
|
|
12
|
-
|
|
13
|
-
### Constructor
|
|
14
|
-
|
|
15
|
-
> **new InMemorySecretRepository**(): `InMemorySecretRepository`
|
|
16
|
-
|
|
17
|
-
#### Returns
|
|
18
|
-
|
|
19
|
-
`InMemorySecretRepository`
|
|
20
|
-
|
|
21
|
-
## Methods
|
|
22
|
-
|
|
23
|
-
### delete()
|
|
24
|
-
|
|
25
|
-
> **delete**(`secretId`): `Promise`\<`void`\>
|
|
26
|
-
|
|
27
|
-
#### Parameters
|
|
28
|
-
|
|
29
|
-
##### secretId
|
|
30
|
-
|
|
31
|
-
[`SecretId`](../interfaces/SecretId.md)
|
|
32
|
-
|
|
33
|
-
#### Returns
|
|
34
|
-
|
|
35
|
-
`Promise`\<`void`\>
|
|
36
|
-
|
|
37
|
-
#### Implementation of
|
|
38
|
-
|
|
39
|
-
[`SecretRepository`](../interfaces/SecretRepository.md).[`delete`](../interfaces/SecretRepository.md#delete)
|
|
40
|
-
|
|
41
|
-
***
|
|
42
|
-
|
|
43
|
-
### getByAlias()
|
|
44
|
-
|
|
45
|
-
> **getByAlias**(`alias`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md) \| `null`\>
|
|
46
|
-
|
|
47
|
-
#### Parameters
|
|
48
|
-
|
|
49
|
-
##### alias
|
|
50
|
-
|
|
51
|
-
[`SecretAlias`](../interfaces/SecretAlias.md)
|
|
52
|
-
|
|
53
|
-
#### Returns
|
|
54
|
-
|
|
55
|
-
`Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md) \| `null`\>
|
|
56
|
-
|
|
57
|
-
#### Implementation of
|
|
58
|
-
|
|
59
|
-
[`SecretRepository`](../interfaces/SecretRepository.md).[`getByAlias`](../interfaces/SecretRepository.md#getbyalias)
|
|
60
|
-
|
|
61
|
-
***
|
|
62
|
-
|
|
63
|
-
### getById()
|
|
64
|
-
|
|
65
|
-
> **getById**(`secretId`): `Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md) \| `null`\>
|
|
66
|
-
|
|
67
|
-
#### Parameters
|
|
68
|
-
|
|
69
|
-
##### secretId
|
|
70
|
-
|
|
71
|
-
[`SecretId`](../interfaces/SecretId.md)
|
|
72
|
-
|
|
73
|
-
#### Returns
|
|
74
|
-
|
|
75
|
-
`Promise`\<[`SecretRecord`](../interfaces/SecretRecord.md) \| `null`\>
|
|
76
|
-
|
|
77
|
-
#### Implementation of
|
|
78
|
-
|
|
79
|
-
[`SecretRepository`](../interfaces/SecretRepository.md).[`getById`](../interfaces/SecretRepository.md#getbyid)
|
|
80
|
-
|
|
81
|
-
***
|
|
82
|
-
|
|
83
|
-
### save()
|
|
84
|
-
|
|
85
|
-
> **save**(`record`): `Promise`\<`void`\>
|
|
86
|
-
|
|
87
|
-
#### Parameters
|
|
88
|
-
|
|
89
|
-
##### record
|
|
90
|
-
|
|
91
|
-
[`SecretRecord`](../interfaces/SecretRecord.md)
|
|
92
|
-
|
|
93
|
-
#### Returns
|
|
94
|
-
|
|
95
|
-
`Promise`\<`void`\>
|
|
96
|
-
|
|
97
|
-
#### Implementation of
|
|
98
|
-
|
|
99
|
-
[`SecretRepository`](../interfaces/SecretRepository.md).[`save`](../interfaces/SecretRepository.md#save)
|