GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — patch solid to try fix memo undefined under transition bug (#18338) · AndyS77/opencode@4989632

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • bun.lock
  • package.json
  • packages/opencode
    • package.json
  • patches
    • [email protected]
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎bun.lock‎

Copy file name to clipboardExpand all lines: bun.lock
+1Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎package.json‎

Copy file name to clipboardExpand all lines: package.json
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
"patchedDependencies": {
114114
"@standard-community/[email protected]": "patches/@standard-community%[email protected]",
115115
"@openrouter/[email protected]": "patches/@openrouter%[email protected]",
116-
"@ai-sdk/[email protected]": "patches/@ai-sdk%[email protected]"
116+
"@ai-sdk/[email protected]": "patches/@ai-sdk%[email protected]",
117+
"[email protected]": "patches/[email protected]"
117118
}
118119
}
Collapse file

‎packages/opencode/package.json‎

Copy file name to clipboardExpand all lines: packages/opencode/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
"@ai-sdk/xai": "2.0.51",
9090
"@aws-sdk/credential-providers": "3.993.0",
9191
"@clack/prompts": "1.0.0-alpha.1",
92+
"@effect/platform-node": "catalog:",
9293
"@gitlab/gitlab-ai-provider": "3.6.0",
9394
"@gitlab/opencode-gitlab-auth": "1.3.3",
9495
"@hono/standard-validator": "0.1.5",
@@ -104,7 +105,6 @@
104105
"@openrouter/ai-sdk-provider": "1.5.4",
105106
"@opentui/core": "0.1.87",
106107
"@opentui/solid": "0.1.87",
107-
"@effect/platform-node": "catalog:",
108108
"@parcel/watcher": "2.5.1",
109109
"@pierre/diffs": "catalog:",
110110
"@solid-primitives/event-bus": "1.1.2",
Collapse file

‎patches/[email protected]‎

Copy file name to clipboard
+58Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
diff --git a/Users/brendonovich/github.com/anomalyco/opencode/node_modules/solid-js/.bun-tag-6fcb6b48d6947d2c b/.bun-tag-6fcb6b48d6947d2c
2+
new file mode 100644
3+
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
4+
diff --git a/Users/brendonovich/github.com/anomalyco/opencode/node_modules/solid-js/.bun-tag-b272f631c12927b0 b/.bun-tag-b272f631c12927b0
5+
new file mode 100644
6+
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
7+
diff --git a/dist/dev.cjs b/dist/dev.cjs
8+
index 7104749486e4361e8c4ee7836a8046582cec7aa1..0501eb1ec5d13b81ecb13a5ac1a82db42502b976 100644
9+
--- a/dist/dev.cjs
10+
+++ b/dist/dev.cjs
11+
@@ -764,6 +764,8 @@ function runComputation(node, value, time) {
12+
if (node.updatedAt != null && "observers" in node) {
13+
writeSignal(node, nextValue, true);
14+
} else if (Transition && Transition.running && node.pure) {
15+
+ // On first computation during transition, also set committed value #2046
16+
+ if (!Transition.sources.has(node)) node.value = nextValue;
17+
Transition.sources.add(node);
18+
node.tValue = nextValue;
19+
} else node.value = nextValue;
20+
diff --git a/dist/dev.js b/dist/dev.js
21+
index ea5e4bc2fd4f0b3922a73d9134439529dc81339f..4b3ec07e624d20fdd23d6941a4fdde6d3a78cca3 100644
22+
--- a/dist/dev.js
23+
+++ b/dist/dev.js
24+
@@ -762,6 +762,8 @@ function runComputation(node, value, time) {
25+
if (node.updatedAt != null && "observers" in node) {
26+
writeSignal(node, nextValue, true);
27+
} else if (Transition && Transition.running && node.pure) {
28+
+ // On first computation during transition, also set committed value #2046
29+
+ if (!Transition.sources.has(node)) node.value = nextValue;
30+
Transition.sources.add(node);
31+
node.tValue = nextValue;
32+
} else node.value = nextValue;
33+
diff --git a/dist/solid.cjs b/dist/solid.cjs
34+
index 7c133a2b254678a84fd61d719fbeffad766e1331..2f68c99f2698210cc0bac62f074cc8cd3beb2881 100644
35+
--- a/dist/solid.cjs
36+
+++ b/dist/solid.cjs
37+
@@ -717,6 +717,8 @@ function runComputation(node, value, time) {
38+
if (node.updatedAt != null && "observers" in node) {
39+
writeSignal(node, nextValue, true);
40+
} else if (Transition && Transition.running && node.pure) {
41+
+ // On first computation during transition, also set committed value #2046
42+
+ if (!Transition.sources.has(node)) node.value = nextValue;
43+
Transition.sources.add(node);
44+
node.tValue = nextValue;
45+
} else node.value = nextValue;
46+
diff --git a/dist/solid.js b/dist/solid.js
47+
index 656fd26e7e5c794aa22df19c2377ff5c0591fc29..f08e9f5a7157c3506e5b6922fe2ef991335a80be 100644
48+
--- a/dist/solid.js
49+
+++ b/dist/solid.js
50+
@@ -715,6 +715,8 @@ function runComputation(node, value, time) {
51+
if (node.updatedAt != null && "observers" in node) {
52+
writeSignal(node, nextValue, true);
53+
} else if (Transition && Transition.running && node.pure) {
54+
+ // On first computation during transition, also set committed value #2046
55+
+ if (!Transition.sources.has(node)) node.value = nextValue;
56+
Transition.sources.add(node);
57+
node.tValue = nextValue;
58+
} else node.value = nextValue;

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.