@tryvira/sdk 0.1.28 → 0.1.30

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 CHANGED
@@ -7,7 +7,7 @@ approved behavior, and resolve it at runtime.
7
7
  ## Install
8
8
 
9
9
  ```bash
10
- npm install @tryvira/sdk@0.1.28
10
+ npm install @tryvira/sdk@0.1.29
11
11
  ```
12
12
 
13
13
  Configure the organization, project, and environment for every request. Keep the API
package/dist/index.js CHANGED
@@ -257,6 +257,20 @@ var ViraClient = class {
257
257
  path: `/v1/connections/${encodeURIComponent(connectionId)}/health`
258
258
  });
259
259
  }
260
+ getConnection(connectionId) {
261
+ required(connectionId, "SDK_CONNECTION_ID_REQUIRED");
262
+ return this.request({
263
+ method: "GET",
264
+ path: `/v1/connections/${encodeURIComponent(connectionId)}`
265
+ });
266
+ }
267
+ listSystemConnections(systemId) {
268
+ required(systemId, "SDK_SYSTEM_ID_REQUIRED");
269
+ return this.request({
270
+ method: "GET",
271
+ path: `/v1/ai-systems/${encodeURIComponent(systemId)}/connections`
272
+ });
273
+ }
260
274
  inventory(systemId) {
261
275
  required(systemId, "SDK_SYSTEM_ID_REQUIRED");
262
276
  return this.request({
@@ -224,6 +224,8 @@ export declare class ViraClient {
224
224
  idempotencyKey?: string;
225
225
  }): Promise<ViraResponse<ClientBody> | null>;
226
226
  connectionHealth(connectionId: string): Promise<ViraResponse<ClientBody> | null>;
227
+ getConnection(connectionId: string): Promise<ViraResponse<ClientBody> | null>;
228
+ listSystemConnections(systemId: string): Promise<ViraResponse<ClientBody> | null>;
227
229
  inventory(systemId: string): Promise<ViraResponse<ClientBody> | null>;
228
230
  listPacks(): Promise<ViraResponse<{
229
231
  packs: readonly ClientBody[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvira/sdk",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
4
4
  "description": "Typed Vira SDK for connect-once, observation and governed runtime execution.",
5
5
  "keywords": ["vira", "ai-governance", "ai-runtime", "semantic-routing"],
6
6
  "engines": {"node": ">=20"},