@opencode/simulation 2.0.3 → 2.0.5

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.
@@ -1,7 +1,4 @@
1
1
  const key = Symbol.for("opencode.simulation.semantics"), bind = (definition) => (renderable) => {
2
2
  Object.defineProperty(renderable, key, { value: definition, configurable: !0 });
3
3
  };
4
- export const read = (renderable) => {
5
- const definition = Reflect.get(renderable, key);
6
- return typeof definition === "function" ? definition : void 0;
7
- }, SimulationSemantics = { bind, read };
4
+ export const read = (renderable) => renderable[key], SimulationSemantics = { bind, read };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/simulation",
4
- "version": "2.0.3",
4
+ "version": "2.0.5",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -47,11 +47,11 @@
47
47
  "typecheck": "tsgo -b"
48
48
  },
49
49
  "dependencies": {
50
- "@opencode/core": "2.0.3",
51
- "@opencode/ai": "2.0.3",
52
- "@opencode/plugin": "2.0.3",
53
- "@opencode/protocol": "2.0.3",
54
- "@opencode/util": "2.0.3",
50
+ "@opencode/core": "2.0.5",
51
+ "@opencode/ai": "2.0.5",
52
+ "@opencode/plugin": "2.0.5",
53
+ "@opencode/protocol": "2.0.5",
54
+ "@opencode/util": "2.0.5",
55
55
  "@opentui/core": "0.5.10",
56
56
  "effect": "4.0.0-rc.112",
57
57
  "ws": "8.21.0"