@tryvira/opencode 0.1.31 → 0.1.32

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # `@tryvira/opencode` 0.1.31
1
+ # `@tryvira/opencode` 0.1.32
2
2
 
3
3
  OpenCode V2 server plugin for Vira host lifecycle governance. The package default
4
4
  exports the V2 setup surface plus a compatibility `server()` transport required
package/dist/index.js CHANGED
@@ -1977,7 +1977,9 @@ var v1Fallback = { async server(rawContext = {}) {
1977
1977
  }
1978
1978
  };
1979
1979
  } };
1980
- var index_default = { ...v2Plugin, ...v1Fallback };
1980
+ var legacyDefault = async (rawContext = {}, options = {}) => v1Fallback.server({ ...asRecord(rawContext), ...options });
1981
+ Object.assign(legacyDefault, v2Plugin, v1Fallback);
1982
+ var index_default = legacyDefault;
1981
1983
  export {
1982
1984
  ViraOpenCodeActionError,
1983
1985
  adapterVersionFor,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvira/opencode",
3
- "version": "0.1.31",
3
+ "version": "0.1.32",
4
4
  "description": "OpenCode V2 host lifecycle integration for Vira",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",