@opencode/plugin-browser 2.0.2 → 2.0.4
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/dist/connection.js +1 -2
- package/package.json +3 -3
package/dist/connection.js
CHANGED
|
@@ -30,8 +30,7 @@ export const make = Effect.fn("BrowserConnection.make")(function* (ctx) {
|
|
|
30
30
|
const session = yield* ctx.session
|
|
31
31
|
.get({ sessionID: input.sessionID })
|
|
32
32
|
.pipe(Effect.mapError(() => call.error("unavailable", "Session not found.", {})));
|
|
33
|
-
if (session.location.directory !== ctx.location.directory
|
|
34
|
-
session.location.workspaceID !== ctx.location.workspaceID)
|
|
33
|
+
if (session.location.directory !== ctx.location.directory)
|
|
35
34
|
return yield* Effect.fail(call.error("unavailable", "Session belongs to another location.", {}));
|
|
36
35
|
const browser = yield* Effect.acquireRelease(Effect.gen(function* () {
|
|
37
36
|
if (!active)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode/plugin-browser",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.4",
|
|
5
5
|
"description": "OpenCode's desktop browser plugin",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"test": "bun test"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@opencode/plugin": "2.0.
|
|
40
|
-
"@opencode/schema": "2.0.
|
|
39
|
+
"@opencode/plugin": "2.0.4",
|
|
40
|
+
"@opencode/schema": "2.0.4",
|
|
41
41
|
"effect": "4.0.0-rc.112"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|