@opencode/browse 0.0.8-dev.36 → 0.0.8-dev.38

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.
@@ -101,11 +101,11 @@ import {
101
101
  isQuitError,
102
102
  Terminal,
103
103
  layer2
104
- } from "./main-9z6jbwdp.mjs";
104
+ } from "./main-ta3yc4kx.mjs";
105
105
  import {
106
106
  opencodeBrowserVersion2,
107
107
  opencodeBrowserBuildId2
108
- } from "./main-g25csbpx.mjs";
108
+ } from "./main-7fjsxr93.mjs";
109
109
  import {
110
110
  dataRoot,
111
111
  fromCheckout,
@@ -115,7 +115,7 @@ import {
115
115
  devExtension,
116
116
  installCommand,
117
117
  autoUpdateStatus
118
- } from "./main-0jhjvcrn.mjs";
118
+ } from "./main-zc2xv4zh.mjs";
119
119
  import {
120
120
  extensionProtocolVersion,
121
121
  extensionProtocolAdvice
@@ -141,13 +141,13 @@ import {
141
141
  ensureExtensionConnected,
142
142
  stoppedRelayStatus,
143
143
  statusCollections
144
- } from "./main-131yag9b.mjs";
145
- import"./main-evpvxp5p.mjs";
144
+ } from "./main-t4vvf2np.mjs";
145
+ import"./main-7mhya2p5.mjs";
146
146
  import {
147
147
  updateJson2,
148
148
  formatUpdateNotice2,
149
149
  updateNotice2
150
- } from "./main-jqady4pw.mjs";
150
+ } from "./main-jfv7n10a.mjs";
151
151
  import {
152
152
  settingKeys,
153
153
  formatSettings,
@@ -155,12 +155,12 @@ import {
155
155
  addSecret,
156
156
  listSecrets,
157
157
  removeSecret
158
- } from "./main-jyebwaqp.mjs";
158
+ } from "./main-vtchyn7z.mjs";
159
159
  import {
160
160
  defaultJournalBaseDir,
161
161
  readJournalEntries,
162
162
  formatJournalEntry
163
- } from "./main-0qe3a59f.mjs";
163
+ } from "./main-kcfxnvrv.mjs";
164
164
  import {
165
165
  pipeArguments,
166
166
  dual,
@@ -5855,7 +5855,7 @@ var status = make("status", {
5855
5855
  }
5856
5856
  })).pipe(withDescription4("Show relay, extension, and target status"));
5857
5857
  var mcp = make("mcp", {}, fn("Cli.mcp")(function* () {
5858
- const { runMcpServer } = yield* promise(() => import("./mcp-skdz88j0.mjs"));
5858
+ const { runMcpServer } = yield* promise(() => import("./mcp-2mwgcwxj.mjs"));
5859
5859
  yield* runMcpServer;
5860
5860
  })).pipe(withDescription4("Run the browse MCP server over stdio"));
5861
5861
  registerCliCommand(400, () => tabs);
@@ -6303,7 +6303,7 @@ registerCliCommand(710, () => flightRecorder);
6303
6303
 
6304
6304
  // src/cli/relay.ts
6305
6305
  var serve = make("serve", {}, fn("Cli.serve")(function* () {
6306
- const [{ startRelay }, { parseAdditionalExtensionOrigins }] = yield* promise(() => Promise.all([import("./relay-cd0k9sty.mjs"), import("./helpers-6h6q8p9b.mjs")]));
6306
+ const [{ startRelay }, { parseAdditionalExtensionOrigins }] = yield* promise(() => Promise.all([import("./relay-gkhqehjr.mjs"), import("./helpers-b4d4sgps.mjs")]));
6307
6307
  const port = yield* portConfig;
6308
6308
  const additionalExtensionOrigins = parseAdditionalExtensionOrigins(yield* extensionOriginsConfig);
6309
6309
  yield* scoped(gen(function* () {
package/dist/cli.mjs CHANGED
@@ -2,29 +2,29 @@
2
2
 
3
3
  // src/main.ts
4
4
  import path from "node:path";
5
- var embeddedVersion = "0.0.8-dev.36";
5
+ var embeddedVersion = "0.0.8-dev.38";
6
6
  var setupCommands = new Set(["install", "uninstall", "extension", "pair", "rollback", "set"]);
7
7
  var command = process.argv[2];
8
8
  var invokedAs = path.basename(process.argv[1] ?? "");
9
9
  if (command === "--version" || command === "-v") {
10
- const opencodeBrowserVersion = embeddedVersion ?? (await import("./version-wc252mwz.mjs")).opencodeBrowserVersion;
10
+ const opencodeBrowserVersion = embeddedVersion ?? (await import("./version-hz07v1q8.mjs")).opencodeBrowserVersion;
11
11
  process.stdout.write(`${opencodeBrowserVersion}
12
12
  `);
13
13
  } else if (invokedAs === "opencode-browser-mcp" || command === "mcp" && process.argv.length === 3) {
14
- const { NodeRuntime } = await import("./index-yghakpfn.mjs");
15
- const { runMcpServer } = await import("./mcp-skdz88j0.mjs");
14
+ const { NodeRuntime } = await import("./index-8v65jg3n.mjs");
15
+ const { runMcpServer } = await import("./mcp-2mwgcwxj.mjs");
16
16
  runMcpServer.pipe(NodeRuntime.runMain);
17
17
  } else if (command === "mcp" && globalThis.__OPENCODE_BROWSER_COMPILED__ && process.env.OPENCODE_BROWSER_MCP_DIRECT !== "1") {
18
- const { runBinaryMcp } = await import("./supervisor-fmwtcxfy.mjs");
18
+ const { runBinaryMcp } = await import("./supervisor-nc3f21gp.mjs");
19
19
  await runBinaryMcp(process.argv.slice(3));
20
20
  } else if (command === "runtime-install" || command === "runtime-switch") {
21
- const { runRuntimeInstall, runRuntimeSwitch } = await import("./runtime-update-njmqcdep.mjs");
21
+ const { runRuntimeInstall, runRuntimeSwitch } = await import("./runtime-update-fy17bbgp.mjs");
22
22
  await (command === "runtime-install" ? runRuntimeInstall : runRuntimeSwitch)(process.argv.slice(3));
23
23
  } else if (command === "update") {
24
- const { runUpdateCommand } = await import("./update-y6xtyvjk.mjs");
24
+ const { runUpdateCommand } = await import("./update-gh353r7m.mjs");
25
25
  await runUpdateCommand(process.argv.slice(3));
26
26
  } else if (command && setupCommands.has(command)) {
27
- const { runSetup } = await import("./setup-yj15s35p.mjs");
27
+ const { runSetup } = await import("./setup-bxsscbsv.mjs");
28
28
  await runSetup(command, process.argv.slice(3));
29
29
  } else {
30
30
  if (!command || command === "--help" || command === "-h") {
@@ -59,9 +59,9 @@ if (command === "--version" || command === "-v") {
59
59
  `);
60
60
  }
61
61
  if (command === "status" && !process.argv.includes("--json")) {
62
- const { printSetupStatus } = await import("./setup-yj15s35p.mjs");
62
+ const { printSetupStatus } = await import("./setup-bxsscbsv.mjs");
63
63
  printSetupStatus();
64
64
  }
65
- const { runCli } = await import("./cli-t2hbftpz.mjs");
65
+ const { runCli } = await import("./cli-311zm8ab.mjs");
66
66
  runCli();
67
67
  }
@@ -31,8 +31,8 @@ import {
31
31
  isRestrictedTarget2,
32
32
  isRestrictedUrl2,
33
33
  dataUrlDocument2
34
- } from "./main-131yag9b.mjs";
35
- import"./main-evpvxp5p.mjs";
34
+ } from "./main-t4vvf2np.mjs";
35
+ import"./main-7mhya2p5.mjs";
36
36
  import"./main-3gthmkzw.mjs";
37
37
  export {
38
38
  HttpRouteError2 as HttpRouteError,
@@ -3,7 +3,7 @@ import {
3
3
  exports_NodeRuntime,
4
4
  exports_NodeStdio,
5
5
  exports_NodeServices
6
- } from "./main-9z6jbwdp.mjs";
6
+ } from "./main-ta3yc4kx.mjs";
7
7
  export {
8
8
  exports_NodeHttpClient as NodeHttpClient,
9
9
  exports_NodeRuntime as NodeRuntime,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  writePrivateJsonFileSync
3
- } from "./main-evpvxp5p.mjs";
3
+ } from "./main-7mhya2p5.mjs";
4
4
  import {
5
5
  dataRoot,
6
6
  devExtensionUrl,
7
7
  devExtensionFolder
8
- } from "./main-0jhjvcrn.mjs";
8
+ } from "./main-zc2xv4zh.mjs";
9
9
 
10
10
  // src/relay/browser-pairing.ts
11
11
  import crypto from "node:crypto";
@@ -0,0 +1,4 @@
1
+ // src/version.ts
2
+ var opencodeBrowserVersion2 = "0.0.8-dev.38";
3
+ var opencodeBrowserBuildId2 = "2026-11-04T22:54:59.655Z";
4
+ export { opencodeBrowserVersion2, opencodeBrowserBuildId2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  dataRoot
3
- } from "./main-0jhjvcrn.mjs";
3
+ } from "./main-zc2xv4zh.mjs";
4
4
  import {
5
5
  isString
6
6
  } from "./main-yf9xhpn4.mjs";
@@ -6,7 +6,7 @@ import {
6
6
  compareVersions,
7
7
  npmRuntime,
8
8
  autoUpdateStatus
9
- } from "./main-0jhjvcrn.mjs";
9
+ } from "./main-zc2xv4zh.mjs";
10
10
  import {
11
11
  unpackedReloadAdvice
12
12
  } from "./main-3gthmkzw.mjs";
@@ -315,7 +315,7 @@ function runUpdate(args, deps) {
315
315
  async function runUpdateCommand2(args) {
316
316
  const log = (line) => process.stdout.write(line + `
317
317
  `);
318
- const { runNpmUpdate } = await import("./runtime-update-njmqcdep.mjs");
318
+ const { runNpmUpdate } = await import("./runtime-update-fy17bbgp.mjs");
319
319
  if (await runNpmUpdate(args))
320
320
  return;
321
321
  if (compiledBinary()) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  isNodeError
3
- } from "./main-evpvxp5p.mjs";
3
+ } from "./main-7mhya2p5.mjs";
4
4
  import {
5
5
  isValidSessionId2
6
- } from "./main-131yag9b.mjs";
6
+ } from "./main-t4vvf2np.mjs";
7
7
  import {
8
8
  isSome,
9
9
  decodeUnknownOption,
@@ -14,10 +14,10 @@ import {
14
14
  Struct,
15
15
  ArraySchema,
16
16
  NullOr
17
- } from "./main-9z6jbwdp.mjs";
17
+ } from "./main-ta3yc4kx.mjs";
18
18
  import {
19
19
  dataRoot
20
- } from "./main-0jhjvcrn.mjs";
20
+ } from "./main-zc2xv4zh.mjs";
21
21
 
22
22
  // src/session-manager/journal.ts
23
23
  import fs from "node:fs";
@@ -5,10 +5,13 @@ import {
5
5
  isSuccess,
6
6
  ClockRef,
7
7
  currentTimeMillis
8
- } from "./main-9z6jbwdp.mjs";
8
+ } from "./main-ta3yc4kx.mjs";
9
9
  import {
10
10
  pipeArguments,
11
- identity
11
+ identity,
12
+ isString,
13
+ isNumber,
14
+ isBoolean
12
15
  } from "./main-yf9xhpn4.mjs";
13
16
 
14
17
  // node_modules/effect/dist/Clock.js
@@ -110,6 +113,7 @@ var makePredicate = (pattern) => {
110
113
  }
111
114
  return (u) => u === pattern;
112
115
  };
116
+ var type2 = () => makeTypeMatcher(identity, []);
113
117
  var value = (i) => makeValueMatcher(i, fail(i));
114
118
  var when = (pattern, f) => (self) => self.add(makeWhen(makePredicate(pattern), f));
115
119
  var discriminator = (field) => (...pattern) => {
@@ -194,12 +198,16 @@ var exhaustive2 = (self) => {
194
198
  };
195
199
 
196
200
  // node_modules/effect/dist/Match.js
201
+ var type = type2;
197
202
  var value2 = value;
198
203
  var when2 = when;
199
204
  var tag2 = tag;
200
205
  var tags = tags2;
201
206
  var is2 = is;
207
+ var string = isString;
208
+ var number = isNumber;
209
+ var boolean = isBoolean;
202
210
  var orElse = orElse2;
203
211
  var exhaustive = exhaustive2;
204
212
 
205
- export { Clock, currentTimeMillis2, value2, when2, tag2, tags, is2, orElse, exhaustive };
213
+ export { Clock, currentTimeMillis2, type, value2, when2, tag2, tags, is2, string, number, boolean, orElse, exhaustive };
@@ -6,7 +6,7 @@ import {
6
6
  } from "./main-3gthmkzw.mjs";
7
7
  import {
8
8
  relayAuthorization
9
- } from "./main-evpvxp5p.mjs";
9
+ } from "./main-7mhya2p5.mjs";
10
10
  import {
11
11
  assignProperty,
12
12
  PipeInspectableProto,
@@ -100,17 +100,17 @@ import {
100
100
  bodyJson,
101
101
  HttpClient,
102
102
  layerNodeHttp
103
- } from "./main-9z6jbwdp.mjs";
103
+ } from "./main-ta3yc4kx.mjs";
104
104
  import {
105
105
  opencodeBrowserBuildId2
106
- } from "./main-g25csbpx.mjs";
106
+ } from "./main-7fjsxr93.mjs";
107
107
  import {
108
108
  compiledBinary,
109
109
  scriptEntry,
110
110
  cliCommand,
111
111
  installCommand,
112
112
  npmRuntime
113
- } from "./main-0jhjvcrn.mjs";
113
+ } from "./main-zc2xv4zh.mjs";
114
114
  import {
115
115
  dual,
116
116
  memoize,