@tryvira/opencode 0.1.1 → 0.1.2

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 +2 -2
package/dist/index.js CHANGED
@@ -475,11 +475,13 @@ var ViraClient = class {
475
475
  semanticContext: {
476
476
  taskKey: receipt.taskKey,
477
477
  behaviorPoint,
478
- capsule: firstCapsule
478
+ capsule: firstCapsule,
479
+ ...input.requestId ? { requestId: input.requestId } : {},
480
+ ...input.sessionId ? { conversationId: input.sessionId } : {}
479
481
  },
480
482
  idempotencyKey: input.idempotencyKey ? `sdk:runtime:${input.idempotencyKey}` : void 0
481
483
  }) : await this.resolveRuntime({
482
- semanticContext: { taskKey: receipt.taskKey, behaviorPoint, capsule: firstCapsule },
484
+ semanticContext: { taskKey: receipt.taskKey, behaviorPoint, capsule: firstCapsule, ...input.requestId ? { requestId: input.requestId } : {}, ...input.sessionId ? { conversationId: input.sessionId } : {} },
483
485
  idempotencyKey: input.idempotencyKey ? `sdk:runtime:${input.idempotencyKey}` : void 0
484
486
  });
485
487
  return { semantic, runtime };
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@tryvira/opencode",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "OpenCode V2 host lifecycle integration for Vira",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "exports": {".": "./dist/index.js"},
8
8
  "files": ["dist", "README.md"],
9
9
  "scripts": {"build": "node ../../scripts/build-opencode-plugin.mjs", "pack:check": "npm run build && npm pack --dry-run"},
10
- "dependencies": {"@tryvira/sdk": "0.1.47"},
10
+ "dependencies": {"@tryvira/sdk": "0.1.48"},
11
11
  "peerDependencies": {"effect": "^4.0.0"},
12
12
  "engines": {"node": ">=20"},
13
13
  "license": "MIT"