@the-ai-company/cbio-node-runtime 1.43.0 → 1.45.2
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/clients/agent/client.d.ts +35 -0
- package/dist/clients/agent/client.js +15 -0
- package/dist/clients/agent/client.js.map +1 -1
- package/dist/clients/owner/client.d.ts +60 -0
- package/dist/clients/owner/client.js +14 -0
- package/dist/clients/owner/client.js.map +1 -1
- package/dist/clients/owner/index.d.ts +1 -1
- package/dist/runtime/bootstrap.d.ts +43 -7
- package/dist/runtime/bootstrap.js +12 -1
- package/dist/runtime/bootstrap.js.map +1 -1
- package/dist/runtime/identity.d.ts +47 -0
- package/dist/runtime/identity.js +25 -0
- package/dist/runtime/identity.js.map +1 -1
- package/dist/runtime/index.d.ts +5 -11
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/private-vault.d.ts +1 -2
- package/docs/api/README.md +211 -0
- package/docs/api/classes/AgentDispatchHttpTransport.md +52 -0
- package/docs/api/classes/DefaultPolicyEngine.md +117 -0
- package/docs/api/classes/DefaultVaultCore.md +405 -0
- package/docs/api/classes/FsStorageProvider.md +192 -0
- package/docs/api/classes/HttpDispatchExecutor.md +63 -0
- package/docs/api/classes/IdentityError.md +62 -0
- package/docs/api/classes/InMemoryAgentIdentityRegistry.md +83 -0
- package/docs/api/classes/InMemoryAuditLog.md +59 -0
- package/docs/api/classes/InMemoryCapabilityRegistry.md +91 -0
- package/docs/api/classes/InMemoryCapabilityRevocationRegistry.md +75 -0
- package/docs/api/classes/InMemoryCustomHttpFlowRegistry.md +63 -0
- package/docs/api/classes/InMemoryOwnerIdentityRegistry.md +83 -0
- package/docs/api/classes/InMemoryRateLimitStore.md +51 -0
- package/docs/api/classes/InMemoryReplayGuard.md +45 -0
- package/docs/api/classes/InMemorySecretCustody.md +83 -0
- package/docs/api/classes/InMemorySecretRepository.md +99 -0
- package/docs/api/classes/LocalSigner.md +59 -0
- package/docs/api/classes/LocalVaultTransport.md +45 -0
- package/docs/api/classes/MemoryStorageProvider.md +160 -0
- package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +101 -0
- package/docs/api/classes/PersistentVaultAuditLog.md +73 -0
- package/docs/api/classes/PersistentVaultCapabilityRegistry.md +109 -0
- package/docs/api/classes/PersistentVaultCapabilityRevocationRegistry.md +93 -0
- package/docs/api/classes/PersistentVaultCustomHttpFlowRegistry.md +81 -0
- package/docs/api/classes/PersistentVaultOwnerIdentityRegistry.md +101 -0
- package/docs/api/classes/PersistentVaultRateLimitStore.md +69 -0
- package/docs/api/classes/PersistentVaultReplayGuard.md +61 -0
- package/docs/api/classes/PersistentVaultSecretCustody.md +97 -0
- package/docs/api/classes/PersistentVaultSecretRepository.md +117 -0
- package/docs/api/classes/RandomIdGenerator.md +65 -0
- package/docs/api/classes/SignatureAgentProofVerifier.md +49 -0
- package/docs/api/classes/SignatureOwnerProofVerifier.md +249 -0
- package/docs/api/classes/SystemClock.md +33 -0
- package/docs/api/classes/VaultCoreError.md +39 -0
- package/docs/api/enumerations/AuditAction.md +95 -0
- package/docs/api/enumerations/AuditOutcome.md +29 -0
- package/docs/api/enumerations/DispatchStatus.md +23 -0
- package/docs/api/enumerations/IdentityErrorCode.md +121 -0
- package/docs/api/functions/createAgentClient.md +33 -0
- package/docs/api/functions/createChildIdentity.md +25 -0
- package/docs/api/functions/createDefaultVaultCoreDependencies.md +77 -0
- package/docs/api/functions/createIdentity.md +30 -0
- package/docs/api/functions/createOwnerHttpFlowBoundary.md +17 -0
- package/docs/api/functions/createPersistentVaultCoreDependencies.md +85 -0
- package/docs/api/functions/createStandardAcquireBoundary.md +31 -0
- package/docs/api/functions/createStandardDispatchBoundary.md +23 -0
- package/docs/api/functions/createVault.md +58 -0
- package/docs/api/functions/createVaultClient.md +32 -0
- package/docs/api/functions/createVaultCore.md +17 -0
- package/docs/api/functions/createVaultService.md +31 -0
- package/docs/api/functions/createWorkspaceStorage.md +17 -0
- package/docs/api/functions/deriveChildIdentity.md +41 -0
- package/docs/api/functions/deriveIdentityId.md +17 -0
- package/docs/api/functions/ensureIdentityPrivateVault.md +21 -0
- package/docs/api/functions/getDefaultWorkspaceDir.md +11 -0
- package/docs/api/functions/handleVaultHttpDispatch.md +30 -0
- package/docs/api/functions/identityPrivateVaultChildrenKey.md +17 -0
- package/docs/api/functions/identityPrivateVaultPrefix.md +17 -0
- package/docs/api/functions/identityPrivateVaultProfileKey.md +17 -0
- package/docs/api/functions/identityPrivateVaultPublicSealedKey.md +17 -0
- package/docs/api/functions/initializeVaultCustody.md +21 -0
- package/docs/api/functions/listIdentities.md +19 -0
- package/docs/api/functions/listVaults.md +23 -0
- package/docs/api/functions/readIdentityMetadata.md +29 -0
- package/docs/api/functions/readIdentityPrivateVaultChildrenState.md +21 -0
- package/docs/api/functions/readIdentityPrivateVaultProfile.md +21 -0
- package/docs/api/functions/readVaultProfile.md +25 -0
- package/docs/api/functions/readVaultPublicMetadata.md +23 -0
- package/docs/api/functions/recoverVault.md +58 -0
- package/docs/api/functions/recoverVaultWorkingKey.md +25 -0
- package/docs/api/functions/restoreIdentity.md +35 -0
- package/docs/api/functions/toOwnerHttpFlowBoundary.md +17 -0
- package/docs/api/functions/updateVaultMetadata.md +33 -0
- package/docs/api/functions/wrapVaultCoreAsVaultService.md +31 -0
- package/docs/api/functions/writeVaultProfile.md +29 -0
- package/docs/api/interfaces/AgentCapability.md +103 -0
- package/docs/api/interfaces/AgentClient.md +41 -0
- package/docs/api/interfaces/AgentDispatchIntent.md +41 -0
- package/docs/api/interfaces/AgentDispatchTransport.md +21 -0
- package/docs/api/interfaces/AgentIdentity.md +11 -0
- package/docs/api/interfaces/AgentIdentityRecord.md +23 -0
- package/docs/api/interfaces/AgentIdentityRegistry.md +57 -0
- package/docs/api/interfaces/AgentProof.md +29 -0
- package/docs/api/interfaces/AgentProofVerifier.md +21 -0
- package/docs/api/interfaces/AgentSigner.md +21 -0
- package/docs/api/interfaces/AuditEntry.md +89 -0
- package/docs/api/interfaces/AuditLog.md +37 -0
- package/docs/api/interfaces/AuditQuery.md +29 -0
- package/docs/api/interfaces/CapabilityRegistry.md +65 -0
- package/docs/api/interfaces/CapabilityRevocationRegistry.md +53 -0
- package/docs/api/interfaces/CbioRuntime.md +886 -0
- package/docs/api/interfaces/ChildIdentity.md +77 -0
- package/docs/api/interfaces/Clock.md +15 -0
- package/docs/api/interfaces/CreateAgentClientOptions.md +41 -0
- package/docs/api/interfaces/CreateChildIdentityOptions.md +19 -0
- package/docs/api/interfaces/CreateDefaultVaultCoreDependenciesOptions.md +85 -0
- package/docs/api/interfaces/CreateIdentityOptions.md +15 -0
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +115 -0
- package/docs/api/interfaces/CreateVaultClientOptions.md +29 -0
- package/docs/api/interfaces/CreateVaultOptions.md +177 -0
- package/docs/api/interfaces/CreatedVault.md +39 -0
- package/docs/api/interfaces/CustomHttpFlowDefinition.md +71 -0
- package/docs/api/interfaces/CustomHttpFlowRegistry.md +41 -0
- package/docs/api/interfaces/DefaultPolicyEngineOptions.md +49 -0
- package/docs/api/interfaces/DeriveIdentityOptions.md +11 -0
- package/docs/api/interfaces/DispatchAuthorization.md +35 -0
- package/docs/api/interfaces/DispatchInstruction.md +47 -0
- package/docs/api/interfaces/DispatchRequest.md +77 -0
- package/docs/api/interfaces/DispatchResult.md +53 -0
- package/docs/api/interfaces/IStorageProvider.md +144 -0
- package/docs/api/interfaces/IdGenerator.md +39 -0
- package/docs/api/interfaces/IdentityPrivateVaultChildRecord.md +35 -0
- package/docs/api/interfaces/IdentityPrivateVaultChildrenState.md +17 -0
- package/docs/api/interfaces/IdentityPrivateVaultProfile.md +35 -0
- package/docs/api/interfaces/InitializeVaultCustodyOptions.md +29 -0
- package/docs/api/interfaces/InitializedVaultCustody.md +23 -0
- package/docs/api/interfaces/IssuerWriteSecretCommand.md +59 -0
- package/docs/api/interfaces/OwnerAuditRequest.md +47 -0
- package/docs/api/interfaces/OwnerDefineSecretTargetsCommand.md +53 -0
- package/docs/api/interfaces/OwnerDefineSecretTargetsInput.md +23 -0
- package/docs/api/interfaces/OwnerDeleteSecretCommand.md +47 -0
- package/docs/api/interfaces/OwnerExportSecretRequest.md +47 -0
- package/docs/api/interfaces/OwnerHttpFlowBoundary.md +51 -0
- package/docs/api/interfaces/OwnerIdentityRecord.md +23 -0
- package/docs/api/interfaces/OwnerIdentityRegistry.md +57 -0
- package/docs/api/interfaces/OwnerListAgentsRequest.md +41 -0
- package/docs/api/interfaces/OwnerListCapabilitiesRequest.md +47 -0
- package/docs/api/interfaces/OwnerProof.md +29 -0
- package/docs/api/interfaces/OwnerProofVerifier.md +181 -0
- package/docs/api/interfaces/OwnerRegisterAgentIdentityCommand.md +47 -0
- package/docs/api/interfaces/OwnerRegisterCapabilityCommand.md +47 -0
- package/docs/api/interfaces/OwnerRegisterCustomHttpFlowCommand.md +83 -0
- package/docs/api/interfaces/OwnerRevokeCapabilityCommand.md +53 -0
- package/docs/api/interfaces/OwnerSecretExport.md +35 -0
- package/docs/api/interfaces/OwnerSecretTargetBinding.md +35 -0
- package/docs/api/interfaces/OwnerStoreSecretInput.md +23 -0
- package/docs/api/interfaces/OwnerWriteSecretCommand.md +65 -0
- package/docs/api/interfaces/OwnerWriteSecretInput.md +29 -0
- package/docs/api/interfaces/PolicyEngine.md +81 -0
- package/docs/api/interfaces/RateLimitStore.md +33 -0
- package/docs/api/interfaces/RecoverVaultOptions.md +165 -0
- package/docs/api/interfaces/RecoveredVault.md +49 -0
- package/docs/api/interfaces/ReplayGuard.md +21 -0
- package/docs/api/interfaces/RestoreIdentityOptions.md +11 -0
- package/docs/api/interfaces/SecretAlias.md +11 -0
- package/docs/api/interfaces/SecretCustody.md +57 -0
- package/docs/api/interfaces/SecretId.md +11 -0
- package/docs/api/interfaces/SecretRecord.md +53 -0
- package/docs/api/interfaces/SecretRepository.md +69 -0
- package/docs/api/interfaces/SecretVersion.md +11 -0
- package/docs/api/interfaces/SignatureAgentProofVerifierOptions.md +21 -0
- package/docs/api/interfaces/Signer.md +31 -0
- package/docs/api/interfaces/TrustedExecutor.md +31 -0
- package/docs/api/interfaces/VaultAcquireSecretInput.md +53 -0
- package/docs/api/interfaces/VaultAcquireSecretResult.md +41 -0
- package/docs/api/interfaces/VaultAgentDispatchErrorResponse.md +25 -0
- package/docs/api/interfaces/VaultAgentDispatchRequest.md +75 -0
- package/docs/api/interfaces/VaultAgentDispatchResponse.md +17 -0
- package/docs/api/interfaces/VaultAuditQueryInput.md +29 -0
- package/docs/api/interfaces/VaultClient.md +234 -0
- package/docs/api/interfaces/VaultCore.md +311 -0
- package/docs/api/interfaces/VaultCoreDependencies.md +95 -0
- package/docs/api/interfaces/VaultCustomFlowResolver.md +25 -0
- package/docs/api/interfaces/VaultDeleteSecretInput.md +17 -0
- package/docs/api/interfaces/VaultExportSecretInput.md +17 -0
- package/docs/api/interfaces/VaultGrantCapabilityInput.md +17 -0
- package/docs/api/interfaces/VaultId.md +11 -0
- package/docs/api/interfaces/VaultIdentity.md +11 -0
- package/docs/api/interfaces/VaultListAgentsInput.md +11 -0
- package/docs/api/interfaces/VaultListCapabilitiesInput.md +17 -0
- package/docs/api/interfaces/VaultObject.md +33 -0
- package/docs/api/interfaces/VaultPrincipal.md +17 -0
- package/docs/api/interfaces/VaultProfile.md +23 -0
- package/docs/api/interfaces/VaultPublicMetadata.md +25 -0
- package/docs/api/interfaces/VaultRegisterAgentInput.md +23 -0
- package/docs/api/interfaces/VaultRegisterFlowInput.md +83 -0
- package/docs/api/interfaces/VaultRevokeCapabilityInput.md +23 -0
- package/docs/api/interfaces/VaultService.md +251 -0
- package/docs/api/interfaces/VaultSigner.md +21 -0
- package/docs/api/interfaces/VaultTargetBinding.md +35 -0
- package/docs/api/type-aliases/AgentCapabilityEnvelope.md +7 -0
- package/docs/api/type-aliases/CbioRuntimeModule.md +9 -0
- package/docs/api/type-aliases/IdentityPrivateVaultAccess.md +7 -0
- package/docs/api/type-aliases/RedactedResponseShape.md +7 -0
- package/docs/api/type-aliases/VaultAcquireSecretFlow.md +7 -0
- package/docs/api/type-aliases/VaultPrincipalKind.md +7 -0
- package/docs/api/type-aliases/VaultWriteSecretCommand.md +7 -0
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +7 -0
- package/package.json +10 -2
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
**CBIO Node Runtime Agent API v1.45.2**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# CBIO Node Runtime Agent API v1.45.2
|
|
6
|
+
|
|
7
|
+
## Enumerations
|
|
8
|
+
|
|
9
|
+
- [AuditAction](enumerations/AuditAction.md)
|
|
10
|
+
- [AuditOutcome](enumerations/AuditOutcome.md)
|
|
11
|
+
- [DispatchStatus](enumerations/DispatchStatus.md)
|
|
12
|
+
- [IdentityErrorCode](enumerations/IdentityErrorCode.md)
|
|
13
|
+
|
|
14
|
+
## Classes
|
|
15
|
+
|
|
16
|
+
- [AgentDispatchHttpTransport](classes/AgentDispatchHttpTransport.md)
|
|
17
|
+
- [DefaultPolicyEngine](classes/DefaultPolicyEngine.md)
|
|
18
|
+
- [DefaultVaultCore](classes/DefaultVaultCore.md)
|
|
19
|
+
- [FsStorageProvider](classes/FsStorageProvider.md)
|
|
20
|
+
- [HttpDispatchExecutor](classes/HttpDispatchExecutor.md)
|
|
21
|
+
- [IdentityError](classes/IdentityError.md)
|
|
22
|
+
- [InMemoryAgentIdentityRegistry](classes/InMemoryAgentIdentityRegistry.md)
|
|
23
|
+
- [InMemoryAuditLog](classes/InMemoryAuditLog.md)
|
|
24
|
+
- [InMemoryCapabilityRegistry](classes/InMemoryCapabilityRegistry.md)
|
|
25
|
+
- [InMemoryCapabilityRevocationRegistry](classes/InMemoryCapabilityRevocationRegistry.md)
|
|
26
|
+
- [InMemoryCustomHttpFlowRegistry](classes/InMemoryCustomHttpFlowRegistry.md)
|
|
27
|
+
- [InMemoryOwnerIdentityRegistry](classes/InMemoryOwnerIdentityRegistry.md)
|
|
28
|
+
- [InMemoryRateLimitStore](classes/InMemoryRateLimitStore.md)
|
|
29
|
+
- [InMemoryReplayGuard](classes/InMemoryReplayGuard.md)
|
|
30
|
+
- [InMemorySecretCustody](classes/InMemorySecretCustody.md)
|
|
31
|
+
- [InMemorySecretRepository](classes/InMemorySecretRepository.md)
|
|
32
|
+
- [LocalSigner](classes/LocalSigner.md)
|
|
33
|
+
- [LocalVaultTransport](classes/LocalVaultTransport.md)
|
|
34
|
+
- [MemoryStorageProvider](classes/MemoryStorageProvider.md)
|
|
35
|
+
- [PersistentVaultAgentIdentityRegistry](classes/PersistentVaultAgentIdentityRegistry.md)
|
|
36
|
+
- [PersistentVaultAuditLog](classes/PersistentVaultAuditLog.md)
|
|
37
|
+
- [PersistentVaultCapabilityRegistry](classes/PersistentVaultCapabilityRegistry.md)
|
|
38
|
+
- [PersistentVaultCapabilityRevocationRegistry](classes/PersistentVaultCapabilityRevocationRegistry.md)
|
|
39
|
+
- [PersistentVaultCustomHttpFlowRegistry](classes/PersistentVaultCustomHttpFlowRegistry.md)
|
|
40
|
+
- [PersistentVaultOwnerIdentityRegistry](classes/PersistentVaultOwnerIdentityRegistry.md)
|
|
41
|
+
- [PersistentVaultRateLimitStore](classes/PersistentVaultRateLimitStore.md)
|
|
42
|
+
- [PersistentVaultReplayGuard](classes/PersistentVaultReplayGuard.md)
|
|
43
|
+
- [PersistentVaultSecretCustody](classes/PersistentVaultSecretCustody.md)
|
|
44
|
+
- [PersistentVaultSecretRepository](classes/PersistentVaultSecretRepository.md)
|
|
45
|
+
- [RandomIdGenerator](classes/RandomIdGenerator.md)
|
|
46
|
+
- [SignatureAgentProofVerifier](classes/SignatureAgentProofVerifier.md)
|
|
47
|
+
- [SignatureOwnerProofVerifier](classes/SignatureOwnerProofVerifier.md)
|
|
48
|
+
- [SystemClock](classes/SystemClock.md)
|
|
49
|
+
- [VaultCoreError](classes/VaultCoreError.md)
|
|
50
|
+
|
|
51
|
+
## Interfaces
|
|
52
|
+
|
|
53
|
+
- [AgentCapability](interfaces/AgentCapability.md)
|
|
54
|
+
- [AgentClient](interfaces/AgentClient.md)
|
|
55
|
+
- [AgentDispatchIntent](interfaces/AgentDispatchIntent.md)
|
|
56
|
+
- [AgentDispatchTransport](interfaces/AgentDispatchTransport.md)
|
|
57
|
+
- [AgentIdentity](interfaces/AgentIdentity.md)
|
|
58
|
+
- [AgentIdentityRecord](interfaces/AgentIdentityRecord.md)
|
|
59
|
+
- [AgentIdentityRegistry](interfaces/AgentIdentityRegistry.md)
|
|
60
|
+
- [AgentProof](interfaces/AgentProof.md)
|
|
61
|
+
- [AgentProofVerifier](interfaces/AgentProofVerifier.md)
|
|
62
|
+
- [AgentSigner](interfaces/AgentSigner.md)
|
|
63
|
+
- [AuditEntry](interfaces/AuditEntry.md)
|
|
64
|
+
- [AuditLog](interfaces/AuditLog.md)
|
|
65
|
+
- [AuditQuery](interfaces/AuditQuery.md)
|
|
66
|
+
- [CapabilityRegistry](interfaces/CapabilityRegistry.md)
|
|
67
|
+
- [CapabilityRevocationRegistry](interfaces/CapabilityRevocationRegistry.md)
|
|
68
|
+
- [CbioRuntime](interfaces/CbioRuntime.md)
|
|
69
|
+
- [ChildIdentity](interfaces/ChildIdentity.md)
|
|
70
|
+
- [Clock](interfaces/Clock.md)
|
|
71
|
+
- [CreateAgentClientOptions](interfaces/CreateAgentClientOptions.md)
|
|
72
|
+
- [CreateChildIdentityOptions](interfaces/CreateChildIdentityOptions.md)
|
|
73
|
+
- [CreateDefaultVaultCoreDependenciesOptions](interfaces/CreateDefaultVaultCoreDependenciesOptions.md)
|
|
74
|
+
- [CreatedVault](interfaces/CreatedVault.md)
|
|
75
|
+
- [CreateIdentityOptions](interfaces/CreateIdentityOptions.md)
|
|
76
|
+
- [CreatePersistentVaultCoreDependenciesOptions](interfaces/CreatePersistentVaultCoreDependenciesOptions.md)
|
|
77
|
+
- [CreateVaultClientOptions](interfaces/CreateVaultClientOptions.md)
|
|
78
|
+
- [CreateVaultOptions](interfaces/CreateVaultOptions.md)
|
|
79
|
+
- [CustomHttpFlowDefinition](interfaces/CustomHttpFlowDefinition.md)
|
|
80
|
+
- [CustomHttpFlowRegistry](interfaces/CustomHttpFlowRegistry.md)
|
|
81
|
+
- [DefaultPolicyEngineOptions](interfaces/DefaultPolicyEngineOptions.md)
|
|
82
|
+
- [DeriveIdentityOptions](interfaces/DeriveIdentityOptions.md)
|
|
83
|
+
- [DispatchAuthorization](interfaces/DispatchAuthorization.md)
|
|
84
|
+
- [DispatchInstruction](interfaces/DispatchInstruction.md)
|
|
85
|
+
- [DispatchRequest](interfaces/DispatchRequest.md)
|
|
86
|
+
- [DispatchResult](interfaces/DispatchResult.md)
|
|
87
|
+
- [IdentityPrivateVaultChildRecord](interfaces/IdentityPrivateVaultChildRecord.md)
|
|
88
|
+
- [IdentityPrivateVaultChildrenState](interfaces/IdentityPrivateVaultChildrenState.md)
|
|
89
|
+
- [IdentityPrivateVaultProfile](interfaces/IdentityPrivateVaultProfile.md)
|
|
90
|
+
- [IdGenerator](interfaces/IdGenerator.md)
|
|
91
|
+
- [InitializedVaultCustody](interfaces/InitializedVaultCustody.md)
|
|
92
|
+
- [InitializeVaultCustodyOptions](interfaces/InitializeVaultCustodyOptions.md)
|
|
93
|
+
- [IssuerWriteSecretCommand](interfaces/IssuerWriteSecretCommand.md)
|
|
94
|
+
- [IStorageProvider](interfaces/IStorageProvider.md)
|
|
95
|
+
- [OwnerAuditRequest](interfaces/OwnerAuditRequest.md)
|
|
96
|
+
- [OwnerDefineSecretTargetsCommand](interfaces/OwnerDefineSecretTargetsCommand.md)
|
|
97
|
+
- [OwnerDefineSecretTargetsInput](interfaces/OwnerDefineSecretTargetsInput.md)
|
|
98
|
+
- [OwnerDeleteSecretCommand](interfaces/OwnerDeleteSecretCommand.md)
|
|
99
|
+
- [OwnerExportSecretRequest](interfaces/OwnerExportSecretRequest.md)
|
|
100
|
+
- [OwnerHttpFlowBoundary](interfaces/OwnerHttpFlowBoundary.md)
|
|
101
|
+
- [OwnerIdentityRecord](interfaces/OwnerIdentityRecord.md)
|
|
102
|
+
- [OwnerIdentityRegistry](interfaces/OwnerIdentityRegistry.md)
|
|
103
|
+
- [OwnerListAgentsRequest](interfaces/OwnerListAgentsRequest.md)
|
|
104
|
+
- [OwnerListCapabilitiesRequest](interfaces/OwnerListCapabilitiesRequest.md)
|
|
105
|
+
- [OwnerProof](interfaces/OwnerProof.md)
|
|
106
|
+
- [OwnerProofVerifier](interfaces/OwnerProofVerifier.md)
|
|
107
|
+
- [OwnerRegisterAgentIdentityCommand](interfaces/OwnerRegisterAgentIdentityCommand.md)
|
|
108
|
+
- [OwnerRegisterCapabilityCommand](interfaces/OwnerRegisterCapabilityCommand.md)
|
|
109
|
+
- [OwnerRegisterCustomHttpFlowCommand](interfaces/OwnerRegisterCustomHttpFlowCommand.md)
|
|
110
|
+
- [OwnerRevokeCapabilityCommand](interfaces/OwnerRevokeCapabilityCommand.md)
|
|
111
|
+
- [OwnerSecretExport](interfaces/OwnerSecretExport.md)
|
|
112
|
+
- [OwnerSecretTargetBinding](interfaces/OwnerSecretTargetBinding.md)
|
|
113
|
+
- [OwnerStoreSecretInput](interfaces/OwnerStoreSecretInput.md)
|
|
114
|
+
- [OwnerWriteSecretCommand](interfaces/OwnerWriteSecretCommand.md)
|
|
115
|
+
- [OwnerWriteSecretInput](interfaces/OwnerWriteSecretInput.md)
|
|
116
|
+
- [PolicyEngine](interfaces/PolicyEngine.md)
|
|
117
|
+
- [RateLimitStore](interfaces/RateLimitStore.md)
|
|
118
|
+
- [RecoveredVault](interfaces/RecoveredVault.md)
|
|
119
|
+
- [RecoverVaultOptions](interfaces/RecoverVaultOptions.md)
|
|
120
|
+
- [ReplayGuard](interfaces/ReplayGuard.md)
|
|
121
|
+
- [RestoreIdentityOptions](interfaces/RestoreIdentityOptions.md)
|
|
122
|
+
- [SecretAlias](interfaces/SecretAlias.md)
|
|
123
|
+
- [SecretCustody](interfaces/SecretCustody.md)
|
|
124
|
+
- [SecretId](interfaces/SecretId.md)
|
|
125
|
+
- [SecretRecord](interfaces/SecretRecord.md)
|
|
126
|
+
- [SecretRepository](interfaces/SecretRepository.md)
|
|
127
|
+
- [SecretVersion](interfaces/SecretVersion.md)
|
|
128
|
+
- [SignatureAgentProofVerifierOptions](interfaces/SignatureAgentProofVerifierOptions.md)
|
|
129
|
+
- [Signer](interfaces/Signer.md)
|
|
130
|
+
- [TrustedExecutor](interfaces/TrustedExecutor.md)
|
|
131
|
+
- [VaultAcquireSecretInput](interfaces/VaultAcquireSecretInput.md)
|
|
132
|
+
- [VaultAcquireSecretResult](interfaces/VaultAcquireSecretResult.md)
|
|
133
|
+
- [VaultAgentDispatchErrorResponse](interfaces/VaultAgentDispatchErrorResponse.md)
|
|
134
|
+
- [VaultAgentDispatchRequest](interfaces/VaultAgentDispatchRequest.md)
|
|
135
|
+
- [VaultAgentDispatchResponse](interfaces/VaultAgentDispatchResponse.md)
|
|
136
|
+
- [VaultAuditQueryInput](interfaces/VaultAuditQueryInput.md)
|
|
137
|
+
- [VaultClient](interfaces/VaultClient.md)
|
|
138
|
+
- [VaultCore](interfaces/VaultCore.md)
|
|
139
|
+
- [VaultCoreDependencies](interfaces/VaultCoreDependencies.md)
|
|
140
|
+
- [VaultCustomFlowResolver](interfaces/VaultCustomFlowResolver.md)
|
|
141
|
+
- [VaultDeleteSecretInput](interfaces/VaultDeleteSecretInput.md)
|
|
142
|
+
- [VaultExportSecretInput](interfaces/VaultExportSecretInput.md)
|
|
143
|
+
- [VaultGrantCapabilityInput](interfaces/VaultGrantCapabilityInput.md)
|
|
144
|
+
- [VaultId](interfaces/VaultId.md)
|
|
145
|
+
- [VaultIdentity](interfaces/VaultIdentity.md)
|
|
146
|
+
- [VaultListAgentsInput](interfaces/VaultListAgentsInput.md)
|
|
147
|
+
- [VaultListCapabilitiesInput](interfaces/VaultListCapabilitiesInput.md)
|
|
148
|
+
- [VaultObject](interfaces/VaultObject.md)
|
|
149
|
+
- [VaultPrincipal](interfaces/VaultPrincipal.md)
|
|
150
|
+
- [VaultProfile](interfaces/VaultProfile.md)
|
|
151
|
+
- [VaultPublicMetadata](interfaces/VaultPublicMetadata.md)
|
|
152
|
+
- [VaultRegisterAgentInput](interfaces/VaultRegisterAgentInput.md)
|
|
153
|
+
- [VaultRegisterFlowInput](interfaces/VaultRegisterFlowInput.md)
|
|
154
|
+
- [VaultRevokeCapabilityInput](interfaces/VaultRevokeCapabilityInput.md)
|
|
155
|
+
- [VaultService](interfaces/VaultService.md)
|
|
156
|
+
- [VaultSigner](interfaces/VaultSigner.md)
|
|
157
|
+
- [VaultTargetBinding](interfaces/VaultTargetBinding.md)
|
|
158
|
+
|
|
159
|
+
## Type Aliases
|
|
160
|
+
|
|
161
|
+
- [AgentCapabilityEnvelope](type-aliases/AgentCapabilityEnvelope.md)
|
|
162
|
+
- [CbioRuntimeModule](type-aliases/CbioRuntimeModule.md)
|
|
163
|
+
- [IdentityPrivateVaultAccess](type-aliases/IdentityPrivateVaultAccess.md)
|
|
164
|
+
- [RedactedResponseShape](type-aliases/RedactedResponseShape.md)
|
|
165
|
+
- [VaultAcquireSecretFlow](type-aliases/VaultAcquireSecretFlow.md)
|
|
166
|
+
- [VaultPrincipalKind](type-aliases/VaultPrincipalKind.md)
|
|
167
|
+
- [VaultWriteSecretCommand](type-aliases/VaultWriteSecretCommand.md)
|
|
168
|
+
|
|
169
|
+
## Variables
|
|
170
|
+
|
|
171
|
+
- [DEFAULT\_VAULT\_KEY\_CUSTODY\_BLOB\_KEY](variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md)
|
|
172
|
+
|
|
173
|
+
## Functions
|
|
174
|
+
|
|
175
|
+
- [createAgentClient](functions/createAgentClient.md)
|
|
176
|
+
- [createChildIdentity](functions/createChildIdentity.md)
|
|
177
|
+
- [createDefaultVaultCoreDependencies](functions/createDefaultVaultCoreDependencies.md)
|
|
178
|
+
- [createIdentity](functions/createIdentity.md)
|
|
179
|
+
- [createOwnerHttpFlowBoundary](functions/createOwnerHttpFlowBoundary.md)
|
|
180
|
+
- [createPersistentVaultCoreDependencies](functions/createPersistentVaultCoreDependencies.md)
|
|
181
|
+
- [createStandardAcquireBoundary](functions/createStandardAcquireBoundary.md)
|
|
182
|
+
- [createStandardDispatchBoundary](functions/createStandardDispatchBoundary.md)
|
|
183
|
+
- [createVault](functions/createVault.md)
|
|
184
|
+
- [createVaultClient](functions/createVaultClient.md)
|
|
185
|
+
- [createVaultCore](functions/createVaultCore.md)
|
|
186
|
+
- [createVaultService](functions/createVaultService.md)
|
|
187
|
+
- [createWorkspaceStorage](functions/createWorkspaceStorage.md)
|
|
188
|
+
- [deriveChildIdentity](functions/deriveChildIdentity.md)
|
|
189
|
+
- [deriveIdentityId](functions/deriveIdentityId.md)
|
|
190
|
+
- [ensureIdentityPrivateVault](functions/ensureIdentityPrivateVault.md)
|
|
191
|
+
- [getDefaultWorkspaceDir](functions/getDefaultWorkspaceDir.md)
|
|
192
|
+
- [handleVaultHttpDispatch](functions/handleVaultHttpDispatch.md)
|
|
193
|
+
- [identityPrivateVaultChildrenKey](functions/identityPrivateVaultChildrenKey.md)
|
|
194
|
+
- [identityPrivateVaultPrefix](functions/identityPrivateVaultPrefix.md)
|
|
195
|
+
- [identityPrivateVaultProfileKey](functions/identityPrivateVaultProfileKey.md)
|
|
196
|
+
- [identityPrivateVaultPublicSealedKey](functions/identityPrivateVaultPublicSealedKey.md)
|
|
197
|
+
- [initializeVaultCustody](functions/initializeVaultCustody.md)
|
|
198
|
+
- [listIdentities](functions/listIdentities.md)
|
|
199
|
+
- [listVaults](functions/listVaults.md)
|
|
200
|
+
- [readIdentityMetadata](functions/readIdentityMetadata.md)
|
|
201
|
+
- [readIdentityPrivateVaultChildrenState](functions/readIdentityPrivateVaultChildrenState.md)
|
|
202
|
+
- [readIdentityPrivateVaultProfile](functions/readIdentityPrivateVaultProfile.md)
|
|
203
|
+
- [readVaultProfile](functions/readVaultProfile.md)
|
|
204
|
+
- [readVaultPublicMetadata](functions/readVaultPublicMetadata.md)
|
|
205
|
+
- [recoverVault](functions/recoverVault.md)
|
|
206
|
+
- [recoverVaultWorkingKey](functions/recoverVaultWorkingKey.md)
|
|
207
|
+
- [restoreIdentity](functions/restoreIdentity.md)
|
|
208
|
+
- [toOwnerHttpFlowBoundary](functions/toOwnerHttpFlowBoundary.md)
|
|
209
|
+
- [updateVaultMetadata](functions/updateVaultMetadata.md)
|
|
210
|
+
- [wrapVaultCoreAsVaultService](functions/wrapVaultCoreAsVaultService.md)
|
|
211
|
+
- [writeVaultProfile](functions/writeVaultProfile.md)
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Class: AgentDispatchHttpTransport
|
|
6
|
+
|
|
7
|
+
Remote transport for AgentClient that communicates over HTTP.
|
|
8
|
+
This allows the Agent (LLM) to reside in a separate process from the Vault Core.
|
|
9
|
+
|
|
10
|
+
## Implements
|
|
11
|
+
|
|
12
|
+
- [`AgentDispatchTransport`](../interfaces/AgentDispatchTransport.md)
|
|
13
|
+
|
|
14
|
+
## Constructors
|
|
15
|
+
|
|
16
|
+
### Constructor
|
|
17
|
+
|
|
18
|
+
> **new AgentDispatchHttpTransport**(`_url`, `_fetchImpl?`): `AgentDispatchHttpTransport`
|
|
19
|
+
|
|
20
|
+
#### Parameters
|
|
21
|
+
|
|
22
|
+
##### \_url
|
|
23
|
+
|
|
24
|
+
`string`
|
|
25
|
+
|
|
26
|
+
##### \_fetchImpl?
|
|
27
|
+
|
|
28
|
+
\{(`input`, `init?`): `Promise`\<`Response`\>; (`input`, `init?`): `Promise`\<`Response`\>; \}
|
|
29
|
+
|
|
30
|
+
#### Returns
|
|
31
|
+
|
|
32
|
+
`AgentDispatchHttpTransport`
|
|
33
|
+
|
|
34
|
+
## Methods
|
|
35
|
+
|
|
36
|
+
### dispatch()
|
|
37
|
+
|
|
38
|
+
> **dispatch**(`request`): `Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md)\>
|
|
39
|
+
|
|
40
|
+
#### Parameters
|
|
41
|
+
|
|
42
|
+
##### request
|
|
43
|
+
|
|
44
|
+
[`DispatchRequest`](../interfaces/DispatchRequest.md)
|
|
45
|
+
|
|
46
|
+
#### Returns
|
|
47
|
+
|
|
48
|
+
`Promise`\<[`DispatchResult`](../interfaces/DispatchResult.md)\>
|
|
49
|
+
|
|
50
|
+
#### Implementation of
|
|
51
|
+
|
|
52
|
+
[`AgentDispatchTransport`](../interfaces/AgentDispatchTransport.md).[`dispatch`](../interfaces/AgentDispatchTransport.md#dispatch)
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.45.2**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Class: DefaultPolicyEngine
|
|
6
|
+
|
|
7
|
+
## Implements
|
|
8
|
+
|
|
9
|
+
- [`PolicyEngine`](../interfaces/PolicyEngine.md)
|
|
10
|
+
|
|
11
|
+
## Constructors
|
|
12
|
+
|
|
13
|
+
### Constructor
|
|
14
|
+
|
|
15
|
+
> **new DefaultPolicyEngine**(`_options?`): `DefaultPolicyEngine`
|
|
16
|
+
|
|
17
|
+
#### Parameters
|
|
18
|
+
|
|
19
|
+
##### \_options?
|
|
20
|
+
|
|
21
|
+
[`DefaultPolicyEngineOptions`](../interfaces/DefaultPolicyEngineOptions.md) = `{}`
|
|
22
|
+
|
|
23
|
+
#### Returns
|
|
24
|
+
|
|
25
|
+
`DefaultPolicyEngine`
|
|
26
|
+
|
|
27
|
+
## Methods
|
|
28
|
+
|
|
29
|
+
### authorizeDefineSecretTargets()
|
|
30
|
+
|
|
31
|
+
> **authorizeDefineSecretTargets**(`command`): `Promise`\<`void`\>
|
|
32
|
+
|
|
33
|
+
#### Parameters
|
|
34
|
+
|
|
35
|
+
##### command
|
|
36
|
+
|
|
37
|
+
[`OwnerDefineSecretTargetsCommand`](../interfaces/OwnerDefineSecretTargetsCommand.md)
|
|
38
|
+
|
|
39
|
+
#### Returns
|
|
40
|
+
|
|
41
|
+
`Promise`\<`void`\>
|
|
42
|
+
|
|
43
|
+
#### Implementation of
|
|
44
|
+
|
|
45
|
+
[`PolicyEngine`](../interfaces/PolicyEngine.md).[`authorizeDefineSecretTargets`](../interfaces/PolicyEngine.md#authorizedefinesecrettargets)
|
|
46
|
+
|
|
47
|
+
***
|
|
48
|
+
|
|
49
|
+
### authorizeDispatch()
|
|
50
|
+
|
|
51
|
+
> **authorizeDispatch**(`request`, `record?`): `Promise`\<`void`\>
|
|
52
|
+
|
|
53
|
+
#### Parameters
|
|
54
|
+
|
|
55
|
+
##### request
|
|
56
|
+
|
|
57
|
+
[`DispatchRequest`](../interfaces/DispatchRequest.md)
|
|
58
|
+
|
|
59
|
+
##### record?
|
|
60
|
+
|
|
61
|
+
[`SecretRecord`](../interfaces/SecretRecord.md) \| `null`
|
|
62
|
+
|
|
63
|
+
#### Returns
|
|
64
|
+
|
|
65
|
+
`Promise`\<`void`\>
|
|
66
|
+
|
|
67
|
+
#### Implementation of
|
|
68
|
+
|
|
69
|
+
[`PolicyEngine`](../interfaces/PolicyEngine.md).[`authorizeDispatch`](../interfaces/PolicyEngine.md#authorizedispatch)
|
|
70
|
+
|
|
71
|
+
***
|
|
72
|
+
|
|
73
|
+
### authorizeWrite()
|
|
74
|
+
|
|
75
|
+
> **authorizeWrite**(`command`): `Promise`\<`void`\>
|
|
76
|
+
|
|
77
|
+
#### Parameters
|
|
78
|
+
|
|
79
|
+
##### command
|
|
80
|
+
|
|
81
|
+
[`VaultWriteSecretCommand`](../type-aliases/VaultWriteSecretCommand.md)
|
|
82
|
+
|
|
83
|
+
#### Returns
|
|
84
|
+
|
|
85
|
+
`Promise`\<`void`\>
|
|
86
|
+
|
|
87
|
+
#### Implementation of
|
|
88
|
+
|
|
89
|
+
[`PolicyEngine`](../interfaces/PolicyEngine.md).[`authorizeWrite`](../interfaces/PolicyEngine.md#authorizewrite)
|
|
90
|
+
|
|
91
|
+
***
|
|
92
|
+
|
|
93
|
+
### revokeCapability()
|
|
94
|
+
|
|
95
|
+
> **revokeCapability**(`vaultId`, `agentId`, `capabilityId`): `Promise`\<`number`\>
|
|
96
|
+
|
|
97
|
+
#### Parameters
|
|
98
|
+
|
|
99
|
+
##### vaultId
|
|
100
|
+
|
|
101
|
+
[`VaultId`](../interfaces/VaultId.md)
|
|
102
|
+
|
|
103
|
+
##### agentId
|
|
104
|
+
|
|
105
|
+
`string`
|
|
106
|
+
|
|
107
|
+
##### capabilityId
|
|
108
|
+
|
|
109
|
+
`string`
|
|
110
|
+
|
|
111
|
+
#### Returns
|
|
112
|
+
|
|
113
|
+
`Promise`\<`number`\>
|
|
114
|
+
|
|
115
|
+
#### Implementation of
|
|
116
|
+
|
|
117
|
+
[`PolicyEngine`](../interfaces/PolicyEngine.md).[`revokeCapability`](../interfaces/PolicyEngine.md#revokecapability)
|