@tryvira/sdk 0.1.18 → 0.1.19

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
@@ -650,6 +650,14 @@ var ViraClient = class {
650
650
  createTeachProposal(input, options = {}) {
651
651
  return this.request({ method: "POST", path: "/v1/teach/proposals", body: input }, { idempotencyKey: options.idempotencyKey });
652
652
  }
653
+ getTeachRunBehaviorSet(teachRunId) {
654
+ required(teachRunId, "SDK_TEACH_RUN_ID_REQUIRED");
655
+ return this.request({ method: "GET", path: `/v1/teach/runs/${encodeURIComponent(teachRunId)}/behavior-set` });
656
+ }
657
+ getTeachRunRecommendation(teachRunId) {
658
+ required(teachRunId, "SDK_TEACH_RUN_ID_REQUIRED");
659
+ return this.request({ method: "GET", path: `/v1/teach/runs/${encodeURIComponent(teachRunId)}/recommendation` });
660
+ }
653
661
  transitionTeachProposal(proposalId, transition, input = {}, options = {}) {
654
662
  required(proposalId, "SDK_TEACH_PROPOSAL_ID_REQUIRED");
655
663
  return this.request({ method: "POST", path: `/v1/teach/proposals/${encodeURIComponent(proposalId)}/${transition}`, body: input }, { idempotencyKey: options.idempotencyKey ?? `sdk:teach:${transition}:${proposalId}` });
@@ -385,6 +385,8 @@ export declare class ViraClient {
385
385
  createTeachProposal(input: ClientBody, options?: {
386
386
  idempotencyKey?: string;
387
387
  }): Promise<ViraResponse<ClientBody> | null>;
388
+ getTeachRunBehaviorSet(teachRunId: string): Promise<ViraResponse<ClientBody> | null>;
389
+ getTeachRunRecommendation(teachRunId: string): Promise<ViraResponse<ClientBody> | null>;
388
390
  transitionTeachProposal(proposalId: string, transition: 'review' | 'evaluate' | 'promote', input?: ClientBody, options?: {
389
391
  idempotencyKey?: string;
390
392
  }): Promise<ViraResponse<ClientBody> | null>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvira/sdk",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
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"},