@covia/covia-sdk 1.20.0 → 1.21.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/README.md +8 -0
- package/dist/index.d.mts +22 -8
- package/dist/index.d.ts +22 -8
- package/dist/index.js +3 -0
- package/dist/index.mjs +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -76,6 +76,14 @@ const venue = await Grid.connect("your-venue.example.com"); // DNS name → http
|
|
|
76
76
|
const venue = await Venue.connect("https://your-venue.example.com");
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
+
For an address without a scheme, the SDK picks one from the host:
|
|
80
|
+
|
|
81
|
+
- **Public hosts** use `https://` only. There is no fallback to plain HTTP.
|
|
82
|
+
- **Local hosts** (`localhost`, `*.local`, loopback, and the private ranges `10/8`, `172.16/12`, `192.168/16`, `169.254/16`) try `http://` first, then `https://`, so a venue on your machine or LAN works without TLS.
|
|
83
|
+
- **Explicit `http://` or `https://`** addresses are used exactly as given.
|
|
84
|
+
|
|
85
|
+
Credentials sent over `http://` travel in cleartext, so use `https://` for any venue reached over a network you don't control. To report a security issue, see [SECURITY.md](SECURITY.md).
|
|
86
|
+
|
|
79
87
|
### Authentication
|
|
80
88
|
|
|
81
89
|
```typescript
|
package/dist/index.d.mts
CHANGED
|
@@ -613,11 +613,13 @@ declare class AssetManager {
|
|
|
613
613
|
* @param options - Pagination options (offset, limit). Pass
|
|
614
614
|
* `{ expand: 'metadata' }` to get each item's metadata inlined as
|
|
615
615
|
* `{id, metadata}` instead of a bare id string, sparing a per-id fetch.
|
|
616
|
+
* Pass `kind: 'data'` or `kind: 'operation'` to have the venue filter the
|
|
617
|
+
* catalog before paging (see {@link CatalogListOptions}).
|
|
616
618
|
*/
|
|
617
|
-
list(options:
|
|
619
|
+
list(options: CatalogListOptions & {
|
|
618
620
|
expand: 'metadata';
|
|
619
621
|
}): Promise<ExpandedAssetList>;
|
|
620
|
-
list(options?:
|
|
622
|
+
list(options?: CatalogListOptions): Promise<AssetList>;
|
|
621
623
|
/**
|
|
622
624
|
* List the authenticated caller's own assets — the per-user a/ namespace
|
|
623
625
|
* populated by `store`/`pin`, distinct from the venue-wide catalog `list()`
|
|
@@ -1318,14 +1320,15 @@ declare class Venue implements VenueInterface {
|
|
|
1318
1320
|
/**
|
|
1319
1321
|
* List assets with pagination support (convenience delegate to venue.assets.list)
|
|
1320
1322
|
* @param options - Pagination options (offset, limit). Pass
|
|
1321
|
-
* `{ expand: 'metadata' }` to get each item's metadata inlined
|
|
1323
|
+
* `{ expand: 'metadata' }` to get each item's metadata inlined, and
|
|
1324
|
+
* `kind` to filter the catalog on the venue.
|
|
1322
1325
|
* @returns {Promise<AssetList>} Paginated list of asset ids, or of
|
|
1323
1326
|
* `{id, metadata}` items when `expand: 'metadata'` is requested
|
|
1324
1327
|
*/
|
|
1325
|
-
listAssets(options:
|
|
1328
|
+
listAssets(options: CatalogListOptions & {
|
|
1326
1329
|
expand: 'metadata';
|
|
1327
1330
|
}): Promise<ExpandedAssetList>;
|
|
1328
|
-
listAssets(options?:
|
|
1331
|
+
listAssets(options?: CatalogListOptions): Promise<AssetList>;
|
|
1329
1332
|
/**
|
|
1330
1333
|
* List all jobs
|
|
1331
1334
|
* @returns {Promise<string[]>}
|
|
@@ -1439,10 +1442,10 @@ interface VenueInterface {
|
|
|
1439
1442
|
getJob(jobId: string): Promise<Job>;
|
|
1440
1443
|
listJobs(): Promise<string[]>;
|
|
1441
1444
|
getAsset(assetId: AssetID): Promise<Asset>;
|
|
1442
|
-
listAssets(options:
|
|
1445
|
+
listAssets(options: CatalogListOptions & {
|
|
1443
1446
|
expand: 'metadata';
|
|
1444
1447
|
}): Promise<ExpandedAssetList>;
|
|
1445
|
-
listAssets(options?:
|
|
1448
|
+
listAssets(options?: CatalogListOptions): Promise<AssetList>;
|
|
1446
1449
|
didDocument(): Promise<DIDDocument>;
|
|
1447
1450
|
mcpDiscovery(): Promise<MCPDiscovery>;
|
|
1448
1451
|
agentCard(): Promise<AgentCard>;
|
|
@@ -1587,6 +1590,17 @@ interface AssetListOptions {
|
|
|
1587
1590
|
limit?: number;
|
|
1588
1591
|
expand?: 'metadata';
|
|
1589
1592
|
}
|
|
1593
|
+
/**
|
|
1594
|
+
* Options for the venue-wide catalog listing (`GET /api/v1/assets`).
|
|
1595
|
+
* `kind` restricts it to assets that carry an operation (`'operation'`) or to
|
|
1596
|
+
* those that do not (`'data'`); the venue filters before paging, so `offset`
|
|
1597
|
+
* counts filtered entries and `total` is the filtered size. Venues older than
|
|
1598
|
+
* covia 0.9.9 ignore `kind` and return the whole catalog, so a caller that
|
|
1599
|
+
* depends on the split should still check each item.
|
|
1600
|
+
*/
|
|
1601
|
+
interface CatalogListOptions extends AssetListOptions {
|
|
1602
|
+
kind?: 'operation' | 'data';
|
|
1603
|
+
}
|
|
1590
1604
|
interface AssetList {
|
|
1591
1605
|
items: string[];
|
|
1592
1606
|
total: number;
|
|
@@ -2805,4 +2819,4 @@ declare function relayDelegation(privateKey: Uint8Array, venueDID: string, lifet
|
|
|
2805
2819
|
/** {@link relayDelegation} through an {@link Ed25519Signer}. */
|
|
2806
2820
|
declare function relayDelegationWith(signer: Ed25519Signer, venueDID: string, lifetimeSeconds: number, caps?: UCANCapability[]): Promise<string>;
|
|
2807
2821
|
|
|
2808
|
-
export { type A2AAuthRef, type A2AImportAgentInput, type A2AImportAgentResult, A2AManager, type A2AMessage, type A2APart, type A2ATask, type AdapterInfo, AdapterManager, type AdaptersResult, Agent, type AgentCancelTaskInput, type AgentCard, type AgentChatInput, type AgentChatResult, type AgentCompactedSegment, type AgentCompleteTaskResult, type AgentContextInput, type AgentCreateInput, type AgentCreateResult, type AgentCycleEndEvent, type AgentCycleStartEvent, type AgentDeleteInput, type AgentDeleteResult, type AgentEvent, type AgentEventEnvelope, type AgentFailTaskResult, type AgentForkInput, type AgentForkResult, type AgentInferenceEndEvent, type AgentInferenceStartEvent, type AgentInfoResult, type AgentListInput, type AgentListResult, AgentManager, type AgentMessageInput, type AgentMessageResult, type AgentRenameSessionResult, type AgentRequestInput, type AgentRequestResult, type AgentResumeInput, type AgentRunEndEvent, type AgentRunStartEvent, type AgentSession, type AgentSessionListOptions, type AgentSessionMessage, type AgentSessionMetadata, AgentSessionNotFoundError, type AgentSessionPage, type AgentSessionRole, AgentStatus, type AgentStatusEvent, type AgentSuspendResult, type AgentToolResultEvent, type AgentToolStartEvent, type AgentTriggerInput, type AgentTriggerResult, type AgentUpdateInput, Asset, type AssetID, type AssetList, type AssetListItem, type AssetListOptions, AssetManager, type AssetMetadata, type AssetMetadataStore, AssetNotFoundError, type AssetPinResult, type AssetSummary, Auth, type AuthenticationKeyEntry, type AuthenticationKeysMap, type AuthenticationKeysResult, type AuthenticatorRevokeResult, BasicAuth, BearerAuth, ChatSession, type ConnectionAttempt, type ContentDetails, type ContentHashResult, CoviaConnectionError, type CoviaConnectionErrorOptions, CoviaError, CoviaTimeoutError, type Credentials, CredentialsHTTP, type DIDDocument, type DIDURL, type DLFSDrivesResult, type DLFSEntry, type DLFSListResult, DLFSManager, DataAsset, Ed25519Auth, type Ed25519Signer, type ExecutionScope, type ExpandedAssetList, type FunctionInfo, type FunctionsResult, Grid, GridError, type GroupCount, type InvokeOptions, type InvokePayload, Job, JobFailedError, type JobHistoryOptions, type JobHistoryPage, JobManager, type JobMetadata, JobNotFoundError, JobStatus, KeyPairAuth, type MCPContent, type MCPDiscovery, MCPError, MCPManager, type MCPTool, type MCPToolPage, type MCPToolResult, type MemoryChange, type MemoryEntry, MemoryManager, type MyAssetList, Namespace, NoAuth, NotFoundError, Operation, type OperationDetails, type OperationInfo, OperationManager, type OperationPayload, type OperationRunner, RateLimitError, RunStatus, type SSEEvent, ScopedWorkspace, type SecretExtractInput, type SecretExtractResult, SecretManager, type SecretSetInput, type SecretSetResult, type Skill, type SkillFacet, SkillManager, type SkillMetadata, type StatsData, type StatusData, type UCANAttenuation, type UCANCapability, type UCANIssueInput, type UCANIssueResult, UCANManager, type UCANVerifyResult, UnsupportedVenueFeatureError, type UserInfo, type UserListResult, UserManager, type UserSummary, VENUE_RELAY, Venue, type VenueConstructor, type VenueData, VenueIdentityChangedError, type VenueInterface, type VenueOptions, type WorkspaceAggregateResult, type WorkspaceAppendInput, type WorkspaceAppendResult, type WorkspaceCopyResult, type WorkspaceCountResult, type WorkspaceDeleteInput, type WorkspaceDeleteResult, type WorkspaceFieldValue, type WorkspaceInspectInput, type WorkspaceInspectResult, type WorkspaceListInput, type WorkspaceListResult, WorkspaceManager, type WorkspaceProjectedList, type WorkspaceReadInput, type WorkspaceReadResult, type WorkspaceSliceInput, type WorkspaceSliceResult, type WorkspaceWriteInput, type WorkspaceWriteResult, assetHash, createSSEEvent, createUCANJWT, createUCANJWTWith, decodePublicKey, didFor, didFromPublicKey, didMethod, didUrl, encodePublicKey, fetchStreamWithError, fetchWithError, generateKeyPair, generateNonExtractableKeyPair, getAssetIdFromPath, getAssetIdFromVenueId, getAssetMetadataStore, getParsedAssetId, grant, grantWith, hexToPrivateKey, identityToken, importNonExtractableKey, isDid, isJobComplete, isJobFinished, isJobPaused, isWebCryptoEd25519Supported, logger, parseDidUrl, parseRetryAfterMs, parseSSEStream, privateKeyToHex, rawKeySigner, relayDelegation, relayDelegationWith, retryDelayMs, setAssetMetadataStore, venueBaseUrlCandidates, webCryptoSigner };
|
|
2822
|
+
export { type A2AAuthRef, type A2AImportAgentInput, type A2AImportAgentResult, A2AManager, type A2AMessage, type A2APart, type A2ATask, type AdapterInfo, AdapterManager, type AdaptersResult, Agent, type AgentCancelTaskInput, type AgentCard, type AgentChatInput, type AgentChatResult, type AgentCompactedSegment, type AgentCompleteTaskResult, type AgentContextInput, type AgentCreateInput, type AgentCreateResult, type AgentCycleEndEvent, type AgentCycleStartEvent, type AgentDeleteInput, type AgentDeleteResult, type AgentEvent, type AgentEventEnvelope, type AgentFailTaskResult, type AgentForkInput, type AgentForkResult, type AgentInferenceEndEvent, type AgentInferenceStartEvent, type AgentInfoResult, type AgentListInput, type AgentListResult, AgentManager, type AgentMessageInput, type AgentMessageResult, type AgentRenameSessionResult, type AgentRequestInput, type AgentRequestResult, type AgentResumeInput, type AgentRunEndEvent, type AgentRunStartEvent, type AgentSession, type AgentSessionListOptions, type AgentSessionMessage, type AgentSessionMetadata, AgentSessionNotFoundError, type AgentSessionPage, type AgentSessionRole, AgentStatus, type AgentStatusEvent, type AgentSuspendResult, type AgentToolResultEvent, type AgentToolStartEvent, type AgentTriggerInput, type AgentTriggerResult, type AgentUpdateInput, Asset, type AssetID, type AssetList, type AssetListItem, type AssetListOptions, AssetManager, type AssetMetadata, type AssetMetadataStore, AssetNotFoundError, type AssetPinResult, type AssetSummary, Auth, type AuthenticationKeyEntry, type AuthenticationKeysMap, type AuthenticationKeysResult, type AuthenticatorRevokeResult, BasicAuth, BearerAuth, type CatalogListOptions, ChatSession, type ConnectionAttempt, type ContentDetails, type ContentHashResult, CoviaConnectionError, type CoviaConnectionErrorOptions, CoviaError, CoviaTimeoutError, type Credentials, CredentialsHTTP, type DIDDocument, type DIDURL, type DLFSDrivesResult, type DLFSEntry, type DLFSListResult, DLFSManager, DataAsset, Ed25519Auth, type Ed25519Signer, type ExecutionScope, type ExpandedAssetList, type FunctionInfo, type FunctionsResult, Grid, GridError, type GroupCount, type InvokeOptions, type InvokePayload, Job, JobFailedError, type JobHistoryOptions, type JobHistoryPage, JobManager, type JobMetadata, JobNotFoundError, JobStatus, KeyPairAuth, type MCPContent, type MCPDiscovery, MCPError, MCPManager, type MCPTool, type MCPToolPage, type MCPToolResult, type MemoryChange, type MemoryEntry, MemoryManager, type MyAssetList, Namespace, NoAuth, NotFoundError, Operation, type OperationDetails, type OperationInfo, OperationManager, type OperationPayload, type OperationRunner, RateLimitError, RunStatus, type SSEEvent, ScopedWorkspace, type SecretExtractInput, type SecretExtractResult, SecretManager, type SecretSetInput, type SecretSetResult, type Skill, type SkillFacet, SkillManager, type SkillMetadata, type StatsData, type StatusData, type UCANAttenuation, type UCANCapability, type UCANIssueInput, type UCANIssueResult, UCANManager, type UCANVerifyResult, UnsupportedVenueFeatureError, type UserInfo, type UserListResult, UserManager, type UserSummary, VENUE_RELAY, Venue, type VenueConstructor, type VenueData, VenueIdentityChangedError, type VenueInterface, type VenueOptions, type WorkspaceAggregateResult, type WorkspaceAppendInput, type WorkspaceAppendResult, type WorkspaceCopyResult, type WorkspaceCountResult, type WorkspaceDeleteInput, type WorkspaceDeleteResult, type WorkspaceFieldValue, type WorkspaceInspectInput, type WorkspaceInspectResult, type WorkspaceListInput, type WorkspaceListResult, WorkspaceManager, type WorkspaceProjectedList, type WorkspaceReadInput, type WorkspaceReadResult, type WorkspaceSliceInput, type WorkspaceSliceResult, type WorkspaceWriteInput, type WorkspaceWriteResult, assetHash, createSSEEvent, createUCANJWT, createUCANJWTWith, decodePublicKey, didFor, didFromPublicKey, didMethod, didUrl, encodePublicKey, fetchStreamWithError, fetchWithError, generateKeyPair, generateNonExtractableKeyPair, getAssetIdFromPath, getAssetIdFromVenueId, getAssetMetadataStore, getParsedAssetId, grant, grantWith, hexToPrivateKey, identityToken, importNonExtractableKey, isDid, isJobComplete, isJobFinished, isJobPaused, isWebCryptoEd25519Supported, logger, parseDidUrl, parseRetryAfterMs, parseSSEStream, privateKeyToHex, rawKeySigner, relayDelegation, relayDelegationWith, retryDelayMs, setAssetMetadataStore, venueBaseUrlCandidates, webCryptoSigner };
|
package/dist/index.d.ts
CHANGED
|
@@ -613,11 +613,13 @@ declare class AssetManager {
|
|
|
613
613
|
* @param options - Pagination options (offset, limit). Pass
|
|
614
614
|
* `{ expand: 'metadata' }` to get each item's metadata inlined as
|
|
615
615
|
* `{id, metadata}` instead of a bare id string, sparing a per-id fetch.
|
|
616
|
+
* Pass `kind: 'data'` or `kind: 'operation'` to have the venue filter the
|
|
617
|
+
* catalog before paging (see {@link CatalogListOptions}).
|
|
616
618
|
*/
|
|
617
|
-
list(options:
|
|
619
|
+
list(options: CatalogListOptions & {
|
|
618
620
|
expand: 'metadata';
|
|
619
621
|
}): Promise<ExpandedAssetList>;
|
|
620
|
-
list(options?:
|
|
622
|
+
list(options?: CatalogListOptions): Promise<AssetList>;
|
|
621
623
|
/**
|
|
622
624
|
* List the authenticated caller's own assets — the per-user a/ namespace
|
|
623
625
|
* populated by `store`/`pin`, distinct from the venue-wide catalog `list()`
|
|
@@ -1318,14 +1320,15 @@ declare class Venue implements VenueInterface {
|
|
|
1318
1320
|
/**
|
|
1319
1321
|
* List assets with pagination support (convenience delegate to venue.assets.list)
|
|
1320
1322
|
* @param options - Pagination options (offset, limit). Pass
|
|
1321
|
-
* `{ expand: 'metadata' }` to get each item's metadata inlined
|
|
1323
|
+
* `{ expand: 'metadata' }` to get each item's metadata inlined, and
|
|
1324
|
+
* `kind` to filter the catalog on the venue.
|
|
1322
1325
|
* @returns {Promise<AssetList>} Paginated list of asset ids, or of
|
|
1323
1326
|
* `{id, metadata}` items when `expand: 'metadata'` is requested
|
|
1324
1327
|
*/
|
|
1325
|
-
listAssets(options:
|
|
1328
|
+
listAssets(options: CatalogListOptions & {
|
|
1326
1329
|
expand: 'metadata';
|
|
1327
1330
|
}): Promise<ExpandedAssetList>;
|
|
1328
|
-
listAssets(options?:
|
|
1331
|
+
listAssets(options?: CatalogListOptions): Promise<AssetList>;
|
|
1329
1332
|
/**
|
|
1330
1333
|
* List all jobs
|
|
1331
1334
|
* @returns {Promise<string[]>}
|
|
@@ -1439,10 +1442,10 @@ interface VenueInterface {
|
|
|
1439
1442
|
getJob(jobId: string): Promise<Job>;
|
|
1440
1443
|
listJobs(): Promise<string[]>;
|
|
1441
1444
|
getAsset(assetId: AssetID): Promise<Asset>;
|
|
1442
|
-
listAssets(options:
|
|
1445
|
+
listAssets(options: CatalogListOptions & {
|
|
1443
1446
|
expand: 'metadata';
|
|
1444
1447
|
}): Promise<ExpandedAssetList>;
|
|
1445
|
-
listAssets(options?:
|
|
1448
|
+
listAssets(options?: CatalogListOptions): Promise<AssetList>;
|
|
1446
1449
|
didDocument(): Promise<DIDDocument>;
|
|
1447
1450
|
mcpDiscovery(): Promise<MCPDiscovery>;
|
|
1448
1451
|
agentCard(): Promise<AgentCard>;
|
|
@@ -1587,6 +1590,17 @@ interface AssetListOptions {
|
|
|
1587
1590
|
limit?: number;
|
|
1588
1591
|
expand?: 'metadata';
|
|
1589
1592
|
}
|
|
1593
|
+
/**
|
|
1594
|
+
* Options for the venue-wide catalog listing (`GET /api/v1/assets`).
|
|
1595
|
+
* `kind` restricts it to assets that carry an operation (`'operation'`) or to
|
|
1596
|
+
* those that do not (`'data'`); the venue filters before paging, so `offset`
|
|
1597
|
+
* counts filtered entries and `total` is the filtered size. Venues older than
|
|
1598
|
+
* covia 0.9.9 ignore `kind` and return the whole catalog, so a caller that
|
|
1599
|
+
* depends on the split should still check each item.
|
|
1600
|
+
*/
|
|
1601
|
+
interface CatalogListOptions extends AssetListOptions {
|
|
1602
|
+
kind?: 'operation' | 'data';
|
|
1603
|
+
}
|
|
1590
1604
|
interface AssetList {
|
|
1591
1605
|
items: string[];
|
|
1592
1606
|
total: number;
|
|
@@ -2805,4 +2819,4 @@ declare function relayDelegation(privateKey: Uint8Array, venueDID: string, lifet
|
|
|
2805
2819
|
/** {@link relayDelegation} through an {@link Ed25519Signer}. */
|
|
2806
2820
|
declare function relayDelegationWith(signer: Ed25519Signer, venueDID: string, lifetimeSeconds: number, caps?: UCANCapability[]): Promise<string>;
|
|
2807
2821
|
|
|
2808
|
-
export { type A2AAuthRef, type A2AImportAgentInput, type A2AImportAgentResult, A2AManager, type A2AMessage, type A2APart, type A2ATask, type AdapterInfo, AdapterManager, type AdaptersResult, Agent, type AgentCancelTaskInput, type AgentCard, type AgentChatInput, type AgentChatResult, type AgentCompactedSegment, type AgentCompleteTaskResult, type AgentContextInput, type AgentCreateInput, type AgentCreateResult, type AgentCycleEndEvent, type AgentCycleStartEvent, type AgentDeleteInput, type AgentDeleteResult, type AgentEvent, type AgentEventEnvelope, type AgentFailTaskResult, type AgentForkInput, type AgentForkResult, type AgentInferenceEndEvent, type AgentInferenceStartEvent, type AgentInfoResult, type AgentListInput, type AgentListResult, AgentManager, type AgentMessageInput, type AgentMessageResult, type AgentRenameSessionResult, type AgentRequestInput, type AgentRequestResult, type AgentResumeInput, type AgentRunEndEvent, type AgentRunStartEvent, type AgentSession, type AgentSessionListOptions, type AgentSessionMessage, type AgentSessionMetadata, AgentSessionNotFoundError, type AgentSessionPage, type AgentSessionRole, AgentStatus, type AgentStatusEvent, type AgentSuspendResult, type AgentToolResultEvent, type AgentToolStartEvent, type AgentTriggerInput, type AgentTriggerResult, type AgentUpdateInput, Asset, type AssetID, type AssetList, type AssetListItem, type AssetListOptions, AssetManager, type AssetMetadata, type AssetMetadataStore, AssetNotFoundError, type AssetPinResult, type AssetSummary, Auth, type AuthenticationKeyEntry, type AuthenticationKeysMap, type AuthenticationKeysResult, type AuthenticatorRevokeResult, BasicAuth, BearerAuth, ChatSession, type ConnectionAttempt, type ContentDetails, type ContentHashResult, CoviaConnectionError, type CoviaConnectionErrorOptions, CoviaError, CoviaTimeoutError, type Credentials, CredentialsHTTP, type DIDDocument, type DIDURL, type DLFSDrivesResult, type DLFSEntry, type DLFSListResult, DLFSManager, DataAsset, Ed25519Auth, type Ed25519Signer, type ExecutionScope, type ExpandedAssetList, type FunctionInfo, type FunctionsResult, Grid, GridError, type GroupCount, type InvokeOptions, type InvokePayload, Job, JobFailedError, type JobHistoryOptions, type JobHistoryPage, JobManager, type JobMetadata, JobNotFoundError, JobStatus, KeyPairAuth, type MCPContent, type MCPDiscovery, MCPError, MCPManager, type MCPTool, type MCPToolPage, type MCPToolResult, type MemoryChange, type MemoryEntry, MemoryManager, type MyAssetList, Namespace, NoAuth, NotFoundError, Operation, type OperationDetails, type OperationInfo, OperationManager, type OperationPayload, type OperationRunner, RateLimitError, RunStatus, type SSEEvent, ScopedWorkspace, type SecretExtractInput, type SecretExtractResult, SecretManager, type SecretSetInput, type SecretSetResult, type Skill, type SkillFacet, SkillManager, type SkillMetadata, type StatsData, type StatusData, type UCANAttenuation, type UCANCapability, type UCANIssueInput, type UCANIssueResult, UCANManager, type UCANVerifyResult, UnsupportedVenueFeatureError, type UserInfo, type UserListResult, UserManager, type UserSummary, VENUE_RELAY, Venue, type VenueConstructor, type VenueData, VenueIdentityChangedError, type VenueInterface, type VenueOptions, type WorkspaceAggregateResult, type WorkspaceAppendInput, type WorkspaceAppendResult, type WorkspaceCopyResult, type WorkspaceCountResult, type WorkspaceDeleteInput, type WorkspaceDeleteResult, type WorkspaceFieldValue, type WorkspaceInspectInput, type WorkspaceInspectResult, type WorkspaceListInput, type WorkspaceListResult, WorkspaceManager, type WorkspaceProjectedList, type WorkspaceReadInput, type WorkspaceReadResult, type WorkspaceSliceInput, type WorkspaceSliceResult, type WorkspaceWriteInput, type WorkspaceWriteResult, assetHash, createSSEEvent, createUCANJWT, createUCANJWTWith, decodePublicKey, didFor, didFromPublicKey, didMethod, didUrl, encodePublicKey, fetchStreamWithError, fetchWithError, generateKeyPair, generateNonExtractableKeyPair, getAssetIdFromPath, getAssetIdFromVenueId, getAssetMetadataStore, getParsedAssetId, grant, grantWith, hexToPrivateKey, identityToken, importNonExtractableKey, isDid, isJobComplete, isJobFinished, isJobPaused, isWebCryptoEd25519Supported, logger, parseDidUrl, parseRetryAfterMs, parseSSEStream, privateKeyToHex, rawKeySigner, relayDelegation, relayDelegationWith, retryDelayMs, setAssetMetadataStore, venueBaseUrlCandidates, webCryptoSigner };
|
|
2822
|
+
export { type A2AAuthRef, type A2AImportAgentInput, type A2AImportAgentResult, A2AManager, type A2AMessage, type A2APart, type A2ATask, type AdapterInfo, AdapterManager, type AdaptersResult, Agent, type AgentCancelTaskInput, type AgentCard, type AgentChatInput, type AgentChatResult, type AgentCompactedSegment, type AgentCompleteTaskResult, type AgentContextInput, type AgentCreateInput, type AgentCreateResult, type AgentCycleEndEvent, type AgentCycleStartEvent, type AgentDeleteInput, type AgentDeleteResult, type AgentEvent, type AgentEventEnvelope, type AgentFailTaskResult, type AgentForkInput, type AgentForkResult, type AgentInferenceEndEvent, type AgentInferenceStartEvent, type AgentInfoResult, type AgentListInput, type AgentListResult, AgentManager, type AgentMessageInput, type AgentMessageResult, type AgentRenameSessionResult, type AgentRequestInput, type AgentRequestResult, type AgentResumeInput, type AgentRunEndEvent, type AgentRunStartEvent, type AgentSession, type AgentSessionListOptions, type AgentSessionMessage, type AgentSessionMetadata, AgentSessionNotFoundError, type AgentSessionPage, type AgentSessionRole, AgentStatus, type AgentStatusEvent, type AgentSuspendResult, type AgentToolResultEvent, type AgentToolStartEvent, type AgentTriggerInput, type AgentTriggerResult, type AgentUpdateInput, Asset, type AssetID, type AssetList, type AssetListItem, type AssetListOptions, AssetManager, type AssetMetadata, type AssetMetadataStore, AssetNotFoundError, type AssetPinResult, type AssetSummary, Auth, type AuthenticationKeyEntry, type AuthenticationKeysMap, type AuthenticationKeysResult, type AuthenticatorRevokeResult, BasicAuth, BearerAuth, type CatalogListOptions, ChatSession, type ConnectionAttempt, type ContentDetails, type ContentHashResult, CoviaConnectionError, type CoviaConnectionErrorOptions, CoviaError, CoviaTimeoutError, type Credentials, CredentialsHTTP, type DIDDocument, type DIDURL, type DLFSDrivesResult, type DLFSEntry, type DLFSListResult, DLFSManager, DataAsset, Ed25519Auth, type Ed25519Signer, type ExecutionScope, type ExpandedAssetList, type FunctionInfo, type FunctionsResult, Grid, GridError, type GroupCount, type InvokeOptions, type InvokePayload, Job, JobFailedError, type JobHistoryOptions, type JobHistoryPage, JobManager, type JobMetadata, JobNotFoundError, JobStatus, KeyPairAuth, type MCPContent, type MCPDiscovery, MCPError, MCPManager, type MCPTool, type MCPToolPage, type MCPToolResult, type MemoryChange, type MemoryEntry, MemoryManager, type MyAssetList, Namespace, NoAuth, NotFoundError, Operation, type OperationDetails, type OperationInfo, OperationManager, type OperationPayload, type OperationRunner, RateLimitError, RunStatus, type SSEEvent, ScopedWorkspace, type SecretExtractInput, type SecretExtractResult, SecretManager, type SecretSetInput, type SecretSetResult, type Skill, type SkillFacet, SkillManager, type SkillMetadata, type StatsData, type StatusData, type UCANAttenuation, type UCANCapability, type UCANIssueInput, type UCANIssueResult, UCANManager, type UCANVerifyResult, UnsupportedVenueFeatureError, type UserInfo, type UserListResult, UserManager, type UserSummary, VENUE_RELAY, Venue, type VenueConstructor, type VenueData, VenueIdentityChangedError, type VenueInterface, type VenueOptions, type WorkspaceAggregateResult, type WorkspaceAppendInput, type WorkspaceAppendResult, type WorkspaceCopyResult, type WorkspaceCountResult, type WorkspaceDeleteInput, type WorkspaceDeleteResult, type WorkspaceFieldValue, type WorkspaceInspectInput, type WorkspaceInspectResult, type WorkspaceListInput, type WorkspaceListResult, WorkspaceManager, type WorkspaceProjectedList, type WorkspaceReadInput, type WorkspaceReadResult, type WorkspaceSliceInput, type WorkspaceSliceResult, type WorkspaceWriteInput, type WorkspaceWriteResult, assetHash, createSSEEvent, createUCANJWT, createUCANJWTWith, decodePublicKey, didFor, didFromPublicKey, didMethod, didUrl, encodePublicKey, fetchStreamWithError, fetchWithError, generateKeyPair, generateNonExtractableKeyPair, getAssetIdFromPath, getAssetIdFromVenueId, getAssetMetadataStore, getParsedAssetId, grant, grantWith, hexToPrivateKey, identityToken, importNonExtractableKey, isDid, isJobComplete, isJobFinished, isJobPaused, isWebCryptoEd25519Supported, logger, parseDidUrl, parseRetryAfterMs, parseSSEStream, privateKeyToHex, rawKeySigner, relayDelegation, relayDelegationWith, retryDelayMs, setAssetMetadataStore, venueBaseUrlCandidates, webCryptoSigner };
|
package/dist/index.js
CHANGED
|
@@ -2658,6 +2658,9 @@ var AssetManager = class {
|
|
|
2658
2658
|
if (options.expand !== void 0) {
|
|
2659
2659
|
params.set("expand", options.expand);
|
|
2660
2660
|
}
|
|
2661
|
+
if (options.kind !== void 0) {
|
|
2662
|
+
params.set("kind", options.kind);
|
|
2663
|
+
}
|
|
2661
2664
|
return venueJson(
|
|
2662
2665
|
this.venue,
|
|
2663
2666
|
`/api/v1/assets?${params.toString()}`,
|
package/dist/index.mjs
CHANGED
|
@@ -2656,6 +2656,9 @@ var AssetManager = class {
|
|
|
2656
2656
|
if (options.expand !== void 0) {
|
|
2657
2657
|
params.set("expand", options.expand);
|
|
2658
2658
|
}
|
|
2659
|
+
if (options.kind !== void 0) {
|
|
2660
|
+
params.set("kind", options.kind);
|
|
2661
|
+
}
|
|
2659
2662
|
return venueJson(
|
|
2660
2663
|
this.venue,
|
|
2661
2664
|
`/api/v1/assets?${params.toString()}`,
|