@opencode/plugin-browser 0.0.0-beta-19271 → 0.0.0-beta-19278

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,6 +1,6 @@
1
1
  export * as BrowserConnection from "./connection.js";
2
- import type { Context } from "@opencode-ai/plugin/effect/plugin";
3
- import { Tool } from "@opencode-ai/schema/tool";
2
+ import type { Context } from "@opencode/plugin/effect/plugin";
3
+ import { Tool } from "@opencode/schema/tool";
4
4
  import { Effect } from "effect";
5
5
  import { Browser } from "./rpc.js";
6
6
  export type Connection = Effect.Success<ReturnType<typeof make>>;
@@ -1,5 +1,5 @@
1
1
  export * as BrowserConnection from "./connection.js";
2
- import { Tool } from "@opencode-ai/schema/tool";
2
+ import { Tool } from "@opencode/schema/tool";
3
3
  import { Deferred, Effect, Schema, Stream } from "effect";
4
4
  import { Browser } from "./rpc.js";
5
5
  import { BrowserTunnel } from "./tunnel.js";
package/dist/files.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export * as BrowserFiles from "./files.js";
2
2
  import { Browser } from "./rpc.js";
3
- import { Tool } from "@opencode-ai/schema/tool";
3
+ import { Tool } from "@opencode/schema/tool";
4
4
  import { Effect } from "effect";
5
5
  export declare const read: (paths: readonly string[], directory: string) => Effect.Effect<{
6
6
  id: string & import("effect/Brand").Brand<"Browser.FileID">;
package/dist/files.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export * as BrowserFiles from "./files.js";
2
2
  import { Browser } from "./rpc.js";
3
- import { Tool } from "@opencode-ai/schema/tool";
3
+ import { Tool } from "@opencode/schema/tool";
4
4
  import { Effect } from "effect";
5
5
  // Files cross machines as bytes. Only this endpoint interprets its local paths.
6
6
  export const read = Effect.fn("BrowserFiles.read")((paths, directory) => Effect.tryPromise({
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { Plugin } from "@opencode-ai/plugin/effect";
1
+ import { Plugin } from "@opencode/plugin/effect";
2
2
  declare const _default: Plugin.Plugin<import("effect/Scope").Scope>;
3
3
  export default _default;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Plugin } from "@opencode-ai/plugin/effect";
1
+ import { Plugin } from "@opencode/plugin/effect";
2
2
  import { Effect } from "effect";
3
3
  import { BrowserConnection } from "./connection.js";
4
4
  import { BrowserTools } from "./tools.js";
package/dist/rpc.js CHANGED
@@ -1,8 +1,8 @@
1
1
  export * as Browser from "./rpc.js";
2
2
  import { Schema } from "effect";
3
- import { Rpc } from "@opencode-ai/schema/rpc";
4
- import { Session } from "@opencode-ai/schema/session";
5
- import { optional } from "@opencode-ai/schema/schema";
3
+ import { Rpc } from "@opencode/schema/rpc";
4
+ import { Session } from "@opencode/schema/session";
5
+ import { optional } from "@opencode/schema/schema";
6
6
  export const MAX_FILE_BYTES = 5 * 1024 * 1024;
7
7
  export const TUNNEL_CHUNK_BYTES = 64 * 1024;
8
8
  export const MAX_TEXT = 100_000;
package/dist/tools.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export * as BrowserTools from "./tools.js";
2
- import type { Context } from "@opencode-ai/plugin/effect/plugin";
3
- import { Tool } from "@opencode-ai/schema/tool";
2
+ import type { Context } from "@opencode/plugin/effect/plugin";
3
+ import { Tool } from "@opencode/schema/tool";
4
4
  import { Effect } from "effect";
5
5
  import { Browser } from "./rpc.js";
6
6
  export declare const register: (ctx: Pick<Context, "location" | "tool">, connection: {
package/dist/tools.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export * as BrowserTools from "./tools.js";
2
- import { Tool } from "@opencode-ai/schema/tool";
2
+ import { Tool } from "@opencode/schema/tool";
3
3
  import { Effect, Encoding, Result, Schema } from "effect";
4
4
  import { BrowserFiles } from "./files.js";
5
5
  import { Browser } from "./rpc.js";
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": "0.0.0-beta-19271",
4
+ "version": "0.0.0-beta-19278",
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-ai/plugin": "0.0.0-beta-19271",
40
- "@opencode-ai/schema": "0.0.0-beta-19271",
39
+ "@opencode/plugin": "0.0.0-beta-19278",
40
+ "@opencode/schema": "0.0.0-beta-19278",
41
41
  "effect": "4.0.0-rc.112"
42
42
  },
43
43
  "devDependencies": {