@tryvira/opencode 0.1.49 → 0.1.50

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 +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2065,9 +2065,10 @@ Assistant: ${completed}`, consent: true, privacy: "CONSENTED_TENANT" }, { idempo
2065
2065
  }
2066
2066
  };
2067
2067
  } };
2068
- Object.assign(v2Plugin, v1Fallback);
2068
+ var legacyDefault = async (rawContext = {}, options = {}) => v1Fallback.server({ ...asRecord(rawContext), ...options });
2069
+ Object.assign(legacyDefault, v2Plugin, v1Fallback);
2069
2070
  var server = v1Fallback.server;
2070
- var index_default = v2Plugin;
2071
+ var index_default = legacyDefault;
2071
2072
 
2072
2073
  // src/runtime-entry.ts
2073
2074
  var runtime = Object.assign(index_default, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvira/opencode",
3
- "version": "0.1.49",
3
+ "version": "0.1.50",
4
4
  "description": "OpenCode host lifecycle integration for Vira",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",