@tryvira/sdk 0.1.47 → 0.1.48

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -472,11 +472,13 @@ var ViraClient = class {
472
472
  semanticContext: {
473
473
  taskKey: receipt.taskKey,
474
474
  behaviorPoint,
475
- capsule: firstCapsule
475
+ capsule: firstCapsule,
476
+ ...input.requestId ? { requestId: input.requestId } : {},
477
+ ...input.sessionId ? { conversationId: input.sessionId } : {}
476
478
  },
477
479
  idempotencyKey: input.idempotencyKey ? `sdk:runtime:${input.idempotencyKey}` : void 0
478
480
  }) : await this.resolveRuntime({
479
- semanticContext: { taskKey: receipt.taskKey, behaviorPoint, capsule: firstCapsule },
481
+ semanticContext: { taskKey: receipt.taskKey, behaviorPoint, capsule: firstCapsule, ...input.requestId ? { requestId: input.requestId } : {}, ...input.sessionId ? { conversationId: input.sessionId } : {} },
480
482
  idempotencyKey: input.idempotencyKey ? `sdk:runtime:${input.idempotencyKey}` : void 0
481
483
  });
482
484
  return { semantic, runtime };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvira/sdk",
3
- "version": "0.1.47",
3
+ "version": "0.1.48",
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"},