@the-ai-company/cbio-node-runtime 1.67.0 → 1.68.0
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/owner/contracts.d.ts +1 -0
- package/dist/runtime/index.d.ts +2 -2
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/owner-session.d.ts +7 -7
- package/dist/runtime/owner-session.js +15 -10
- package/dist/runtime/owner-session.js.map +1 -1
- package/dist/vault-core/contracts.d.ts +1 -0
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.js +11 -0
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.js +2 -0
- package/dist/vault-core/defaults.js.map +1 -1
- package/dist/vault-core/persistence.js +8 -0
- package/dist/vault-core/persistence.js.map +1 -1
- package/docs/MIGRATION-1.51.md +1 -1
- package/docs/api/README.md +4 -4
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/OwnerClientError.md +1 -1
- package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +1 -1
- package/docs/api/classes/PersistentVaultAgentSecretGrantRegistry.md +1 -1
- package/docs/api/classes/PersistentVaultAuditLog.md +1 -1
- package/docs/api/classes/PersistentVaultSecretCustody.md +1 -1
- package/docs/api/classes/PersistentVaultSecretDestinationGrantRegistry.md +1 -1
- package/docs/api/classes/PersistentVaultSecretRepository.md +1 -1
- package/docs/api/classes/VaultCore.md +1 -1
- package/docs/api/classes/VaultCoreError.md +1 -1
- package/docs/api/enumerations/AuditOperation.md +1 -1
- package/docs/api/enumerations/DispatchStatus.md +1 -1
- package/docs/api/enumerations/IdentityErrorCode.md +1 -1
- package/docs/api/enumerations/OwnerClientErrorCode.md +1 -1
- package/docs/api/functions/createAgentClient.md +1 -1
- package/docs/api/functions/createIdentity.md +1 -1
- package/docs/api/functions/createOwnerClient.md +1 -1
- package/docs/api/functions/createPersistentVaultCoreDependencies.md +1 -1
- package/docs/api/functions/createVault.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/deriveRootAgentId.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/openOwnerSession.md +37 -0
- 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/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/AgentIdentityRecord.md +1 -1
- package/docs/api/interfaces/AgentRequestResult.md +1 -1
- package/docs/api/interfaces/AgentRuntimeManifest.md +1 -1
- package/docs/api/interfaces/AgentSecretGrant.md +1 -1
- package/docs/api/interfaces/AgentSigner.md +1 -1
- package/docs/api/interfaces/AgentVisibleRequestRecord.md +1 -1
- package/docs/api/interfaces/AgentVisibleSecretRecord.md +1 -1
- package/docs/api/interfaces/AuditEntry.md +1 -1
- package/docs/api/interfaces/CbioRuntime.md +39 -39
- package/docs/api/interfaces/CreateAgentClientOptions.md +1 -1
- package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
- package/docs/api/interfaces/CreateOwnerClientOptions.md +1 -1
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +1 -1
- package/docs/api/interfaces/CreateVaultOptions.md +1 -1
- package/docs/api/interfaces/CreatedVault.md +1 -1
- package/docs/api/interfaces/DefaultPolicyEngineOptions.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/InitializeVaultCustodyOptions.md +1 -1
- package/docs/api/interfaces/InitializedVaultCustody.md +1 -1
- package/docs/api/interfaces/{CreateOwnerSessionOptions.md → OpenOwnerSessionOptions.md} +2 -2
- package/docs/api/interfaces/OwnerAgentProvisionResult.md +1 -1
- package/docs/api/interfaces/OwnerClient.md +1 -1
- package/docs/api/interfaces/OwnerCreateSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerRemoveSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerRequestRecord.md +1 -1
- package/docs/api/interfaces/OwnerSensitiveActionConfirmation.md +1 -1
- package/docs/api/interfaces/OwnerSensitiveActionContext.md +1 -1
- package/docs/api/interfaces/OwnerSession.md +16 -16
- package/docs/api/interfaces/OwnerUpdateSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerVisibleRequestRecord.md +1 -1
- package/docs/api/interfaces/RecoverVaultOptions.md +2 -2
- package/docs/api/interfaces/RecoveredVault.md +1 -1
- package/docs/api/interfaces/RequestRecord.md +1 -1
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/SecretAlias.md +1 -1
- package/docs/api/interfaces/SecretDestinationGrant.md +1 -1
- package/docs/api/interfaces/SecretId.md +1 -1
- package/docs/api/interfaces/SecretRecord.md +1 -1
- package/docs/api/interfaces/Signer.md +1 -1
- package/docs/api/interfaces/VaultApproveDispatchInput.md +1 -1
- package/docs/api/interfaces/VaultAuditQueryInput.md +7 -1
- package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -1
- package/docs/api/interfaces/VaultCreateAgentInput.md +1 -1
- package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
- package/docs/api/interfaces/VaultGetRequestInput.md +1 -1
- package/docs/api/interfaces/VaultGrantAgentSecretInput.md +1 -1
- package/docs/api/interfaces/VaultGrantSecretDestinationInput.md +1 -1
- package/docs/api/interfaces/VaultId.md +1 -1
- package/docs/api/interfaces/VaultImportAgentInput.md +1 -1
- package/docs/api/interfaces/VaultIssueSessionTokenInput.md +1 -1
- package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
- package/docs/api/interfaces/VaultListGrantsInput.md +1 -1
- package/docs/api/interfaces/VaultListRequestsInput.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 +1 -1
- package/docs/api/interfaces/VaultPrincipal.md +1 -1
- package/docs/api/interfaces/VaultProfile.md +1 -1
- package/docs/api/interfaces/VaultReadAgentPrivateKeyInput.md +1 -1
- package/docs/api/interfaces/VaultReadSecretPlaintextInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeAgentSecretInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeSecretDestinationInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeSessionTokenInput.md +1 -1
- package/docs/api/interfaces/VaultService.md +1 -1
- package/docs/api/interfaces/VaultUpdateAgentInput.md +1 -1
- package/docs/api/type-aliases/AgentId.md +1 -1
- package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
- package/docs/api/type-aliases/DispatchApprovalDecision.md +1 -1
- package/docs/api/type-aliases/GrantStatus.md +1 -1
- package/docs/api/type-aliases/SecretLifecycleStatus.md +1 -1
- package/docs/api/type-aliases/VaultPrincipalKind.md +1 -1
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
- package/docs/es/README.md +2 -2
- package/docs/fr/README.md +2 -2
- package/docs/ja/README.md +2 -2
- package/docs/ko/README.md +2 -2
- package/docs/pt/README.md +2 -2
- package/docs/zh/README.md +5 -5
- package/package.json +2 -2
- package/docs/api/functions/createOwnerSession.md +0 -37
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.68.0**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
# Function: openOwnerSession()
|
|
6
|
+
|
|
7
|
+
## Call Signature
|
|
8
|
+
|
|
9
|
+
> **openOwnerSession**(`storage`, `options`): [`OwnerSession`](../interfaces/OwnerSession.md)
|
|
10
|
+
|
|
11
|
+
### Parameters
|
|
12
|
+
|
|
13
|
+
#### storage
|
|
14
|
+
|
|
15
|
+
`string` \| [`IStorageProvider`](../interfaces/IStorageProvider.md)
|
|
16
|
+
|
|
17
|
+
#### options
|
|
18
|
+
|
|
19
|
+
[`OpenOwnerSessionOptions`](../interfaces/OpenOwnerSessionOptions.md)
|
|
20
|
+
|
|
21
|
+
### Returns
|
|
22
|
+
|
|
23
|
+
[`OwnerSession`](../interfaces/OwnerSession.md)
|
|
24
|
+
|
|
25
|
+
## Call Signature
|
|
26
|
+
|
|
27
|
+
> **openOwnerSession**(`options`): [`OwnerSession`](../interfaces/OwnerSession.md)
|
|
28
|
+
|
|
29
|
+
### Parameters
|
|
30
|
+
|
|
31
|
+
#### options
|
|
32
|
+
|
|
33
|
+
[`OpenOwnerSessionOptions`](../interfaces/OpenOwnerSessionOptions.md)
|
|
34
|
+
|
|
35
|
+
### Returns
|
|
36
|
+
|
|
37
|
+
[`OwnerSession`](../interfaces/OwnerSession.md)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.68.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -77,44 +77,6 @@ console.log(identity.root_agent_id);
|
|
|
77
77
|
|
|
78
78
|
***
|
|
79
79
|
|
|
80
|
-
### createOwnerSession
|
|
81
|
-
|
|
82
|
-
> **createOwnerSession**: \{(`storage`, `options`): [`OwnerSession`](OwnerSession.md); (`options`): [`OwnerSession`](OwnerSession.md); \}
|
|
83
|
-
|
|
84
|
-
#### Call Signature
|
|
85
|
-
|
|
86
|
-
> (`storage`, `options`): [`OwnerSession`](OwnerSession.md)
|
|
87
|
-
|
|
88
|
-
##### Parameters
|
|
89
|
-
|
|
90
|
-
###### storage
|
|
91
|
-
|
|
92
|
-
`string` \| [`IStorageProvider`](IStorageProvider.md)
|
|
93
|
-
|
|
94
|
-
###### options
|
|
95
|
-
|
|
96
|
-
[`CreateOwnerSessionOptions`](CreateOwnerSessionOptions.md)
|
|
97
|
-
|
|
98
|
-
##### Returns
|
|
99
|
-
|
|
100
|
-
[`OwnerSession`](OwnerSession.md)
|
|
101
|
-
|
|
102
|
-
#### Call Signature
|
|
103
|
-
|
|
104
|
-
> (`options`): [`OwnerSession`](OwnerSession.md)
|
|
105
|
-
|
|
106
|
-
##### Parameters
|
|
107
|
-
|
|
108
|
-
###### options
|
|
109
|
-
|
|
110
|
-
[`CreateOwnerSessionOptions`](CreateOwnerSessionOptions.md)
|
|
111
|
-
|
|
112
|
-
##### Returns
|
|
113
|
-
|
|
114
|
-
[`OwnerSession`](OwnerSession.md)
|
|
115
|
-
|
|
116
|
-
***
|
|
117
|
-
|
|
118
80
|
### createVault
|
|
119
81
|
|
|
120
82
|
> **createVault**: \{(`storage`, `options`): `Promise`\<[`CreatedVault`](CreatedVault.md)\>; (`options`): `Promise`\<[`CreatedVault`](CreatedVault.md)\>; \}
|
|
@@ -358,6 +320,44 @@ A list of vault IDs.
|
|
|
358
320
|
|
|
359
321
|
***
|
|
360
322
|
|
|
323
|
+
### openOwnerSession
|
|
324
|
+
|
|
325
|
+
> **openOwnerSession**: \{(`storage`, `options`): [`OwnerSession`](OwnerSession.md); (`options`): [`OwnerSession`](OwnerSession.md); \}
|
|
326
|
+
|
|
327
|
+
#### Call Signature
|
|
328
|
+
|
|
329
|
+
> (`storage`, `options`): [`OwnerSession`](OwnerSession.md)
|
|
330
|
+
|
|
331
|
+
##### Parameters
|
|
332
|
+
|
|
333
|
+
###### storage
|
|
334
|
+
|
|
335
|
+
`string` \| [`IStorageProvider`](IStorageProvider.md)
|
|
336
|
+
|
|
337
|
+
###### options
|
|
338
|
+
|
|
339
|
+
[`OpenOwnerSessionOptions`](OpenOwnerSessionOptions.md)
|
|
340
|
+
|
|
341
|
+
##### Returns
|
|
342
|
+
|
|
343
|
+
[`OwnerSession`](OwnerSession.md)
|
|
344
|
+
|
|
345
|
+
#### Call Signature
|
|
346
|
+
|
|
347
|
+
> (`options`): [`OwnerSession`](OwnerSession.md)
|
|
348
|
+
|
|
349
|
+
##### Parameters
|
|
350
|
+
|
|
351
|
+
###### options
|
|
352
|
+
|
|
353
|
+
[`OpenOwnerSessionOptions`](OpenOwnerSessionOptions.md)
|
|
354
|
+
|
|
355
|
+
##### Returns
|
|
356
|
+
|
|
357
|
+
[`OwnerSession`](OwnerSession.md)
|
|
358
|
+
|
|
359
|
+
***
|
|
360
|
+
|
|
361
361
|
### OwnerClientError
|
|
362
362
|
|
|
363
363
|
> **OwnerClientError**: *typeof* [`OwnerClientError`](../classes/OwnerClientError.md)
|