@tryvira/sdk 0.1.52 → 0.1.53

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/index.js CHANGED
@@ -360,6 +360,11 @@ var ViraClient = class {
360
360
  { idempotencyKey: await contentIdempotencyKey(`sdk:pack:install:${packId}`, body) }
361
361
  );
362
362
  }
363
+ async diagnosePack(packId, input = {}) {
364
+ required(packId, "SDK_PACK_ID_REQUIRED");
365
+ const body = { runtimeBindings: [...input.runtimeBindings ?? []], knownVerifiers: [...input.knownVerifiers ?? []] };
366
+ return this.request({ method: "POST", path: `/v1/packs/${encodeURIComponent(packId)}/doctor`, body }, { idempotencyKey: await contentIdempotencyKey(`sdk:pack:doctor:${packId}`, body) });
367
+ }
363
368
  async evaluatePack(packId, input) {
364
369
  required(packId, "SDK_PACK_ID_REQUIRED");
365
370
  required(input?.evaluationId, "SDK_EVALUATION_ID_REQUIRED");
@@ -321,6 +321,10 @@ export declare class ViraClient {
321
321
  idempotencyKey?: string;
322
322
  }): Promise<ViraResponse<ClientBody> | null>;
323
323
  installPack(packId: string, variables?: Record<string, unknown>): Promise<ViraResponse<ClientBody> | null>;
324
+ diagnosePack(packId: string, input?: {
325
+ runtimeBindings?: readonly string[];
326
+ knownVerifiers?: readonly string[];
327
+ }): Promise<ViraResponse<ClientBody> | null>;
324
328
  evaluatePack(packId: string, input: {
325
329
  evaluationId: string;
326
330
  }): Promise<ViraResponse<ClientBody> | null>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvira/sdk",
3
- "version": "0.1.52",
3
+ "version": "0.1.53",
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"},