@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
package/package.json
CHANGED
|
@@ -1,52 +0,0 @@
|
|
|
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)
|
|
@@ -1,117 +0,0 @@
|
|
|
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)
|