Skip to content

Commit 6f2e3fe

Browse files
committed
Merge remote-tracking branch 'upstream/dev' into fix-env-caching-12698
2 parents 8bb6513 + 59c0fc2 commit 6f2e3fe

138 files changed

Lines changed: 9538 additions & 4941 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/VOUCHED.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ kommander
2525
-opencodeengineer bot that spams issues
2626
r44vc0rp
2727
rekram1-node
28+
-ricardo-m-l
2829
-robinmordasiewicz
2930
simonklee
3031
-spider-yamet clawdbot/llm psychosis, spam pinging the team

packages/app/src/context/global-sdk.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,12 @@ export const { use: useGlobalSDK, provider: GlobalSDKProvider } = createSimpleCo
155155
resetHeartbeat()
156156
streamErrorLogged = false
157157
const directory = event.directory ?? "global"
158-
const payload = event.payload
158+
if (event.payload.type === "sync") {
159+
continue
160+
}
161+
162+
const payload = event.payload as Event
163+
159164
const k = key(directory, payload)
160165
if (k) {
161166
const i = coalesced.get(k)

packages/opencode/AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
Use these rules when writing or migrating Effect code.
1515

16-
See `specs/effect-migration.md` for the compact pattern reference and examples.
16+
See `specs/effect/migration.md` for the compact pattern reference and examples.
1717

1818
## Core
1919

@@ -51,7 +51,7 @@ See `specs/effect-migration.md` for the compact pattern reference and examples.
5151

5252
## Effect.cached for deduplication
5353

54-
Use `Effect.cached` when multiple concurrent callers should share a single in-flight computation rather than storing `Fiber | undefined` or `Promise | undefined` manually. See `specs/effect-migration.md` for the full pattern.
54+
Use `Effect.cached` when multiple concurrent callers should share a single in-flight computation rather than storing `Fiber | undefined` or `Promise | undefined` manually. See `specs/effect/migration.md` for the full pattern.
5555

5656
## Instance.bind — ALS for native callbacks
5757

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
PRAGMA foreign_keys=OFF;--> statement-breakpoint
2+
CREATE TABLE `__new_workspace` (
3+
`id` text PRIMARY KEY,
4+
`type` text NOT NULL,
5+
`name` text DEFAULT '' NOT NULL,
6+
`branch` text,
7+
`directory` text,
8+
`extra` text,
9+
`project_id` text NOT NULL,
10+
CONSTRAINT `fk_workspace_project_id_project_id_fk` FOREIGN KEY (`project_id`) REFERENCES `project`(`id`) ON DELETE CASCADE
11+
);
12+
--> statement-breakpoint
13+
INSERT INTO `__new_workspace`(`id`, `type`, `branch`, `name`, `directory`, `extra`, `project_id`) SELECT `id`, `type`, `branch`, `name`, `directory`, `extra`, `project_id` FROM `workspace`;--> statement-breakpoint
14+
DROP TABLE `workspace`;--> statement-breakpoint
15+
ALTER TABLE `__new_workspace` RENAME TO `workspace`;--> statement-breakpoint
16+
PRAGMA foreign_keys=ON;

0 commit comments

Comments
 (0)