@opencode/browse 0.0.18-dev.192 → 0.0.18-dev.193

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.
Files changed (39) hide show
  1. package/dist/{Runtime-tvxdkp60.mjs → Runtime-r9sev1rq.mjs} +1 -1
  2. package/dist/{cli-54nftqxr.mjs → cli-ekwkvvmm.mjs} +33 -29
  3. package/dist/cli.mjs +23 -13
  4. package/dist/{helpers-yksnc17b.mjs → helpers-3ycvp75a.mjs} +2 -1
  5. package/dist/{index-kmxtpxxk.mjs → index-xsb9s479.mjs} +2 -2
  6. package/dist/{legacy-runtime-e6y2jnc6.mjs → legacy-runtime-v1sdjj5h.mjs} +8 -7
  7. package/dist/log-yek648ak.mjs +9 -0
  8. package/dist/{main-dyya6jpy.mjs → main-1qwrze1y.mjs} +2 -2
  9. package/dist/{main-p8jk5985.mjs → main-2p0v71q0.mjs} +39 -37
  10. package/dist/{main-hh16893t.mjs → main-3g7fdzbh.mjs} +28 -26
  11. package/dist/{main-de0xhbg0.mjs → main-55a4gpef.mjs} +59 -67
  12. package/dist/main-693wwz19.mjs +4 -0
  13. package/dist/main-91vhk5de.mjs +38 -0
  14. package/dist/{main-4wycvga6.mjs → main-9t32k44b.mjs} +4 -3
  15. package/dist/{main-d1th6z2h.mjs → main-bv9nawja.mjs} +21 -225
  16. package/dist/main-cgnkhs2x.mjs +35 -0
  17. package/dist/{main-w6180mxa.mjs → main-esdgpebk.mjs} +3 -3
  18. package/dist/{main-z4c819pg.mjs → main-fg5awggs.mjs} +29 -27
  19. package/dist/{main-4fw36c57.mjs → main-gt2gskrq.mjs} +2 -2
  20. package/dist/{main-p8q3wrpd.mjs → main-gw77et6v.mjs} +3 -3
  21. package/dist/{main-t8hspw29.mjs → main-kcw411ep.mjs} +11 -42
  22. package/dist/{main-h65pjrag.mjs → main-nnfxg7re.mjs} +7 -7
  23. package/dist/{main-zrjcdksk.mjs → main-pcqtqhgv.mjs} +5 -3
  24. package/dist/{main-jtgan144.mjs → main-pxs5m0kb.mjs} +10 -8
  25. package/dist/main-qazf3bhk.mjs +223 -0
  26. package/dist/{main-q5w61fgh.mjs → main-sf7vaxb6.mjs} +1 -1
  27. package/dist/{main-t8xtycpr.mjs → main-stf180y1.mjs} +7 -5
  28. package/dist/{main-p44hff2a.mjs → main-zedq93ez.mjs} +5 -3
  29. package/dist/{main-c9qxrdzn.mjs → main-zzggnpf4.mjs} +2 -2
  30. package/dist/{mcp-a2jkny55.mjs → mcp-xfx04fxe.mjs} +125 -121
  31. package/dist/{migrate-p84kbr3y.mjs → migrate-4rewxqd7.mjs} +8 -7
  32. package/dist/{relay-e9q9hfc3.mjs → relay-me036e19.mjs} +562 -166
  33. package/dist/{remove-stored-secrets-c90a5h72.mjs → remove-stored-secrets-ymhge5va.mjs} +1 -1
  34. package/dist/{runtime-update-jj6pa7vd.mjs → runtime-update-hd2cvy1c.mjs} +12 -10
  35. package/dist/{setup-p86ywb7k.mjs → setup-0hmbzam5.mjs} +12 -11
  36. package/dist/{update-rh24h3m1.mjs → update-vnkjbc0e.mjs} +3 -3
  37. package/dist/{version-1p8wpyzk.mjs → version-jn0h3rmc.mjs} +1 -1
  38. package/package.json +1 -1
  39. package/dist/main-wds0wcmt.mjs +0 -4
@@ -1,30 +1,13 @@
1
1
  import {
2
2
  makeRunMain2
3
- } from "./main-zrjcdksk.mjs";
3
+ } from "./main-pcqtqhgv.mjs";
4
4
  import {
5
5
  Error2,
6
6
  TaggedError,
7
7
  tag2,
8
8
  Error3
9
- } from "./main-z4c819pg.mjs";
9
+ } from "./main-fg5awggs.mjs";
10
10
  import {
11
- __export
12
- } from "./main-j98fzrvv.mjs";
13
- import {
14
- pipeArguments,
15
- dual,
16
- identity,
17
- constTrue,
18
- constFalse,
19
- constVoid,
20
- pipe,
21
- flow,
22
- isString,
23
- isUndefined,
24
- isNotUndefined,
25
- isNotNull,
26
- isNullish,
27
- hasProperty,
28
11
  symbol2,
29
12
  hash,
30
13
  structure,
@@ -37,7 +20,7 @@ import {
37
20
  NodeInspectSymbol,
38
21
  toJson,
39
22
  BaseProto,
40
- Class4,
23
+ Class3,
41
24
  assignProperty,
42
25
  PipeInspectableProto,
43
26
  causeFail,
@@ -46,7 +29,7 @@ import {
46
29
  exitFail,
47
30
  withFiber,
48
31
  Done,
49
- Prototype2,
32
+ Prototype,
50
33
  make9,
51
34
  strictEqual,
52
35
  Tuple2,
@@ -190,7 +173,26 @@ import {
190
173
  fnUntraced,
191
174
  clockWith,
192
175
  effectify
193
- } from "./main-d1th6z2h.mjs";
176
+ } from "./main-bv9nawja.mjs";
177
+ import {
178
+ pipeArguments,
179
+ dual,
180
+ identity,
181
+ constTrue,
182
+ constFalse,
183
+ constVoid,
184
+ pipe,
185
+ flow,
186
+ isString,
187
+ isUndefined,
188
+ isNotUndefined,
189
+ isNotNull,
190
+ isNullish,
191
+ hasProperty
192
+ } from "./main-qazf3bhk.mjs";
193
+ import {
194
+ __export
195
+ } from "./main-j98fzrvv.mjs";
194
196
 
195
197
  // node_modules/@effect/platform-node/dist/NodeHttpClient.js
196
198
  var exports_NodeHttpClient = {};
@@ -2289,7 +2291,7 @@ var inspect = (self, that) => {
2289
2291
  // node_modules/effect/dist/http/HttpClientResponse.js
2290
2292
  var TypeId18 = "~effect/http/HttpClientResponse";
2291
2293
  var fromWeb = (request, source) => new WebHttpClientResponse(request, source);
2292
- class WebHttpClientResponse extends Class4 {
2294
+ class WebHttpClientResponse extends Class3 {
2293
2295
  [TypeId17];
2294
2296
  [TypeId18];
2295
2297
  request;
@@ -2848,7 +2850,7 @@ var defaultOnError = (error) => new UnknownError(error);
2848
2850
  var toMaxBytes = (maxBytes) => maxBytes === undefined || maxBytes === Infinity ? undefined : Number(fromInputUnsafe2(maxBytes));
2849
2851
 
2850
2852
  // node_modules/@effect/platform-node/dist/NodeHttpIncomingMessage.js
2851
- class NodeHttpIncomingMessage extends Class4 {
2853
+ class NodeHttpIncomingMessage extends Class3 {
2852
2854
  [TypeId17];
2853
2855
  source;
2854
2856
  onError;
@@ -3006,7 +3008,7 @@ function convertBody(body) {
3006
3008
  }
3007
3009
  function noopErrorHandler(_) {}
3008
3010
 
3009
- class UndiciResponse extends Class4 {
3011
+ class UndiciResponse extends Class3 {
3010
3012
  [TypeId17];
3011
3013
  [TypeId18];
3012
3014
  request;
@@ -3855,7 +3857,7 @@ class ChildProcessSpawner extends (/* @__PURE__ */ Service2()("effect/process/Ch
3855
3857
  // node_modules/effect/dist/process/ChildProcess.js
3856
3858
  var TypeId21 = "~effect/process/ChildProcess";
3857
3859
  var Proto8 = {
3858
- .../* @__PURE__ */ Prototype2({
3860
+ .../* @__PURE__ */ Prototype({
3859
3861
  label: "Command",
3860
3862
  evaluate(fiber) {
3861
3863
  return getUnsafe(fiber.context, ChildProcessSpawner).spawn(this);
@@ -5,9 +5,8 @@ import {
5
5
  compareVersions,
6
6
  installedRuntime2,
7
7
  installedVersion
8
- } from "./main-4wycvga6.mjs";
8
+ } from "./main-9t32k44b.mjs";
9
9
  import {
10
- ensurePrivateDirectorySync,
11
10
  SessionContainer,
12
11
  SessionsContainer,
13
12
  SessionDeleted,
@@ -33,7 +32,7 @@ import {
33
32
  RelayErrorCode,
34
33
  ErrorEnvelope,
35
34
  defaultPort2
36
- } from "./main-t8hspw29.mjs";
35
+ } from "./main-kcw411ep.mjs";
37
36
  import {
38
37
  get,
39
38
  post,
@@ -41,13 +40,16 @@ import {
41
40
  bodyJson,
42
41
  HttpClient,
43
42
  layerNodeHttp
44
- } from "./main-hh16893t.mjs";
43
+ } from "./main-3g7fdzbh.mjs";
44
+ import {
45
+ relayLog2
46
+ } from "./main-cgnkhs2x.mjs";
45
47
  import {
46
48
  opencodeBrowserBuildId2
47
- } from "./main-wds0wcmt.mjs";
49
+ } from "./main-693wwz19.mjs";
48
50
  import {
49
51
  relayAuthorization
50
- } from "./main-c9qxrdzn.mjs";
52
+ } from "./main-zzggnpf4.mjs";
51
53
  import {
52
54
  endpointForPort,
53
55
  configuredRelayPort,
@@ -55,14 +57,14 @@ import {
55
57
  readRelayState,
56
58
  processAlive,
57
59
  resolveRelayPort
58
- } from "./main-p44hff2a.mjs";
60
+ } from "./main-zedq93ez.mjs";
59
61
  import {
60
62
  stateRoot,
61
63
  compiledBinary,
62
64
  scriptEntry,
63
65
  cliCommand,
64
66
  installCommand
65
- } from "./main-dyya6jpy.mjs";
67
+ } from "./main-1qwrze1y.mjs";
66
68
  import {
67
69
  Pointer,
68
70
  passthrough,
@@ -89,17 +91,11 @@ import {
89
91
  Defect,
90
92
  TaggedError2,
91
93
  toCodecStringTree
92
- } from "./main-z4c819pg.mjs";
93
- import {
94
- __require
95
- } from "./main-j98fzrvv.mjs";
94
+ } from "./main-fg5awggs.mjs";
96
95
  import {
97
- dual,
98
- memoize,
99
- isTagged,
100
96
  assignProperty,
101
97
  PipeInspectableProto,
102
- Prototype2,
98
+ Prototype,
103
99
  none,
104
100
  some,
105
101
  isSome,
@@ -145,7 +141,15 @@ import {
145
141
  mapEager,
146
142
  flatMapEager,
147
143
  catchEager
148
- } from "./main-d1th6z2h.mjs";
144
+ } from "./main-bv9nawja.mjs";
145
+ import {
146
+ dual,
147
+ memoize,
148
+ isTagged
149
+ } from "./main-qazf3bhk.mjs";
150
+ import {
151
+ __require
152
+ } from "./main-j98fzrvv.mjs";
149
153
 
150
154
  // node_modules/effect/dist/ConfigProvider.js
151
155
  function makeValue(value) {
@@ -267,7 +271,7 @@ class ConfigError {
267
271
  }
268
272
  }
269
273
  var Proto2 = {
270
- .../* @__PURE__ */ Prototype2({
274
+ .../* @__PURE__ */ Prototype({
271
275
  label: "Config",
272
276
  evaluate(fiber) {
273
277
  return this.parse(fiber.getRef(ConfigProvider));
@@ -425,7 +429,7 @@ function Boolean2(name) {
425
429
  // src/relay/lifecycle.ts
426
430
  import { execFileSync, spawn } from "node:child_process";
427
431
  import crypto from "node:crypto";
428
- import path3 from "node:path";
432
+ import path2 from "node:path";
429
433
  import process3 from "node:process";
430
434
  import { fileURLToPath } from "node:url";
431
435
  // src/relay/client.ts
@@ -714,40 +718,14 @@ function mcpClientPid() {
714
718
  }
715
719
  var layerFetchMcp = effect(Service, make3({ clientPid: mcpClientPid() })).pipe(provide2(layerNodeHttp));
716
720
 
717
- // src/relay/log.ts
718
- import fs from "node:fs";
719
- import os from "node:os";
720
- import path from "node:path";
721
- var maxLogBytes = 1e6;
722
- var maxEntryCharacters = 64000;
723
- function managedRelayLogPath(home = os.homedir()) {
724
- return path.join(stateRoot(home), "logs", "relay.log");
725
- }
726
- function appendManagedRelayProcessLog(message, home = os.homedir()) {
727
- try {
728
- const logPath = managedRelayLogPath(home);
729
- ensurePrivateDirectorySync(path.dirname(logPath));
730
- const entry = `${new Date().toISOString()} ${message.slice(0, maxEntryCharacters)}
731
- `;
732
- const stat = fs.statSync(logPath, { throwIfNoEntry: false });
733
- if (stat && stat.size + Buffer.byteLength(entry) > maxLogBytes)
734
- fs.renameSync(logPath, `${logPath}.1`);
735
- fs.appendFileSync(logPath, entry, { encoding: "utf8", mode: 384 });
736
- fs.chmodSync(logPath, 384);
737
- } catch {}
738
- }
739
- function relayLog(event, fields = {}) {
740
- const detail = Object.entries(fields).filter(([, value]) => value !== undefined).map(([key, value]) => `${key}=${typeof value === "string" && !/\s/.test(value) ? value : JSON.stringify(value)}`).join(" ");
741
- appendManagedRelayProcessLog(detail ? `${event} ${detail}` : event);
742
- }
743
-
744
721
  // src/relay/windows-launch.ts
745
722
  import { existsSync } from "node:fs";
746
- import path2 from "node:path";
723
+ import path from "node:path";
747
724
  import process2 from "node:process";
748
725
  var createNewProcessGroup = 512;
749
726
  var createUnicodeEnvironment = 1024;
750
727
  var createNoWindow = 134217728;
728
+ var createBreakawayFromJob = 16777216;
751
729
  var startupInfoSize = 104;
752
730
  var processInformationSize = 24;
753
731
  var windowsAbsolutePath = /^(?:[A-Za-z]:[\\/]|\\\\)/;
@@ -787,14 +765,14 @@ function resolveWindowsExecutable(executable, env, exists) {
787
765
  const searchPath = windowsPathVariable(env);
788
766
  if (!searchPath)
789
767
  return;
790
- const names = path2.win32.extname(executable) ? [executable] : [`${executable}.exe`, `${executable}.com`];
791
- for (const entry of searchPath.split(path2.win32.delimiter)) {
768
+ const names = path.win32.extname(executable) ? [executable] : [`${executable}.exe`, `${executable}.com`];
769
+ for (const entry of searchPath.split(path.win32.delimiter)) {
792
770
  const trimmed = entry.trim();
793
771
  const directory = trimmed.startsWith('"') && trimmed.endsWith('"') ? trimmed.slice(1, -1) : trimmed;
794
772
  if (!windowsAbsolutePath.test(directory))
795
773
  continue;
796
774
  for (const name of names) {
797
- const candidate = path2.win32.join(directory, name);
775
+ const candidate = path.win32.join(directory, name);
798
776
  if (exists(candidate))
799
777
  return candidate;
800
778
  }
@@ -834,19 +812,33 @@ function launchWindowsRelay(launch, env, onFallback) {
834
812
  let started = false;
835
813
  try {
836
814
  const kernel32 = kernel32Library();
837
- const startupInfo = new Uint8Array(startupInfoSize);
838
- const startup = new DataView(startupInfo.buffer);
839
- startup.setUint32(0, startupInfoSize, true);
840
- startup.setUint32(60, 1, true);
841
- startup.setUint16(64, 0, true);
842
- const processInformation = new Uint8Array(processInformationSize);
843
- const created = kernel32.symbols.CreateProcessW(wideZ(executable), wideZ(windowsCommandLine(executable, launch.args)), null, null, 0, createNoWindow | createNewProcessGroup | createUnicodeEnvironment, Buffer.from(windowsEnvironmentBlock(env), "utf16le"), null, startupInfo, processInformation);
844
- if (!created) {
845
- let code;
815
+ const environment = Buffer.from(windowsEnvironmentBlock(env), "utf16le");
816
+ const executablePath = wideZ(executable);
817
+ const lastError = () => {
846
818
  try {
847
- code = kernel32.symbols.GetLastError();
848
- } catch {}
849
- return fallback(`CreateProcessW failed${code === undefined ? "" : ` (GetLastError() = ${code})`}`);
819
+ return kernel32.symbols.GetLastError();
820
+ } catch {
821
+ return;
822
+ }
823
+ };
824
+ const start = (creationFlags) => {
825
+ const commandLine = wideZ(windowsCommandLine(executable, launch.args));
826
+ const startupInfo = new Uint8Array(startupInfoSize);
827
+ const startup = new DataView(startupInfo.buffer);
828
+ startup.setUint32(0, startupInfoSize, true);
829
+ startup.setUint32(60, 1, true);
830
+ startup.setUint16(64, 0, true);
831
+ const processInformation = new Uint8Array(processInformationSize);
832
+ const created = kernel32.symbols.CreateProcessW(executablePath, commandLine, null, null, 0, creationFlags, environment, null, startupInfo, processInformation);
833
+ return created ? processInformation : undefined;
834
+ };
835
+ const flags = createNoWindow | createNewProcessGroup | createUnicodeEnvironment;
836
+ let processInformation = start(flags | createBreakawayFromJob);
837
+ if (!processInformation)
838
+ processInformation = start(flags);
839
+ if (!processInformation) {
840
+ const errorCode = lastError();
841
+ return fallback(`CreateProcessW failed${errorCode === undefined ? "" : ` (GetLastError() = ${errorCode})`}`);
850
842
  }
851
843
  started = true;
852
844
  const info = new DataView(processInformation.buffer);
@@ -1159,10 +1151,10 @@ function startManagedRelay(entrypoint = loadedCliEntrypoint, executable = proces
1159
1151
  const env = Object.fromEntries(Object.entries(relayEnvironment(process3.env)).filter(([name]) => name.toUpperCase() !== "OPENCODE_BROWSER_RESTART_REQUEST_ID"));
1160
1152
  const childEnv = { ...env, OPENCODE_BROWSER_MANAGED_RELAY: "1", ...options.restartRequestId ? { OPENCODE_BROWSER_RESTART_REQUEST_ID: options.restartRequestId } : {} };
1161
1153
  if (process3.platform === "win32") {
1162
- if (launchWindowsRelay(launch, childEnv, (reason) => relayLog("relay.launch.fallback", { executable: launch.executable, reason })))
1154
+ if (launchWindowsRelay(launch, childEnv, (reason) => relayLog2("relay.launch.fallback", { executable: launch.executable, reason })))
1163
1155
  return;
1164
1156
  const args = launch.args.map(quoteWindowsArgument).join(" ");
1165
- execFileSync(path3.join(process3.env.SystemRoot, "System32/WindowsPowerShell/v1.0/powershell.exe"), ["-NoProfile", "-NonInteractive", "-Command", "Start-Process -ErrorAction Stop -WindowStyle Hidden -FilePath $env:BROWSE_EXE -ArgumentList $env:BROWSE_ARGS"], { env: { ...childEnv, BROWSE_EXE: launch.executable, BROWSE_ARGS: args }, windowsHide: true, stdio: "ignore" });
1157
+ execFileSync(path2.join(process3.env.SystemRoot, "System32/WindowsPowerShell/v1.0/powershell.exe"), ["-NoProfile", "-NonInteractive", "-Command", "Start-Process -ErrorAction Stop -WindowStyle Hidden -FilePath $env:BROWSE_EXE -ArgumentList $env:BROWSE_ARGS"], { env: { ...childEnv, BROWSE_EXE: launch.executable, BROWSE_ARGS: args }, windowsHide: true, stdio: "ignore" });
1166
1158
  return;
1167
1159
  }
1168
1160
  const child = spawn(launch.executable, launch.args, {
@@ -1235,9 +1227,9 @@ function managedRelayLaunch(entrypoint = loadedCliEntrypoint, executable = proce
1235
1227
  };
1236
1228
  }
1237
1229
  function managedRelayEntrypoint(entrypoint) {
1238
- const name = path3.basename(entrypoint);
1230
+ const name = path2.basename(entrypoint);
1239
1231
  if (name === "index.ts" || name === "opencode-browser-client.ts" || name === "cli.ts")
1240
- return path3.join(path3.dirname(entrypoint), "main.ts");
1232
+ return path2.join(path2.dirname(entrypoint), "main.ts");
1241
1233
  return entrypoint;
1242
1234
  }
1243
1235
  function isRelayUnreachable(error) {
@@ -1266,4 +1258,4 @@ function isForeignListener(error, pinned) {
1266
1258
  return error instanceof RelayDecodeFailed;
1267
1259
  }
1268
1260
 
1269
- export { map, withDefault, option, String2, Int, Boolean2, portConfig, extensionOriginsConfig, RelayUnreachable, RelayRejected, Service, layerFetch, layerFetchMcp, appendManagedRelayProcessLog, relayLog, shouldWaitForExtensionReconnect, relayBuildProblem, olderMcpClientAdvice, ensureRelay, restartRelay, extensionReconnectWaitMs, ensureExtensionConnected, stoppedRelayStatus, statusCollections, startManagedRelay };
1261
+ export { map, withDefault, option, String2, Int, Boolean2, portConfig, extensionOriginsConfig, RelayUnreachable, RelayRejected, Service, layerFetch, layerFetchMcp, shouldWaitForExtensionReconnect, relayBuildProblem, olderMcpClientAdvice, ensureRelay, restartRelay, extensionReconnectWaitMs, ensureExtensionConnected, stoppedRelayStatus, statusCollections, startManagedRelay };
@@ -0,0 +1,4 @@
1
+ // src/version.ts
2
+ var opencodeBrowserVersion2 = "0.0.18-dev.193";
3
+ var opencodeBrowserBuildId2 = "2026-11-14T18:54:18.345Z";
4
+ export { opencodeBrowserVersion2, opencodeBrowserBuildId2 };
@@ -0,0 +1,38 @@
1
+ import {
2
+ isString
3
+ } from "./main-qazf3bhk.mjs";
4
+ // src/fs-durability.ts
5
+ import crypto from "node:crypto";
6
+ import fsSync from "node:fs";
7
+ import path from "node:path";
8
+ var unsupportedDirectorySyncCodes = new Set(["EPERM", "EINVAL", "ENOTSUP"]);
9
+ function isNodeError(error) {
10
+ return error instanceof Error && "code" in error;
11
+ }
12
+ function isUnsupportedDirectorySyncError(error) {
13
+ return isNodeError(error) && isString(error.code) && unsupportedDirectorySyncCodes.has(error.code);
14
+ }
15
+ function ensurePrivateDirectorySync(directory) {
16
+ fsSync.mkdirSync(directory, { recursive: true, mode: 448 });
17
+ if (process.platform !== "win32")
18
+ fsSync.chmodSync(directory, 448);
19
+ }
20
+ function writePrivateJsonFileSync(filePath, value, options = {}) {
21
+ if (options.ensureParent)
22
+ ensurePrivateDirectorySync(path.dirname(filePath));
23
+ const temporaryPath = `${filePath}.${process.pid}.${crypto.randomUUID()}.tmp`;
24
+ let renamed = false;
25
+ try {
26
+ fsSync.writeFileSync(temporaryPath, `${JSON.stringify(value, null, 2)}
27
+ `, { mode: 384 });
28
+ fsSync.renameSync(temporaryPath, filePath);
29
+ renamed = true;
30
+ if (process.platform !== "win32")
31
+ fsSync.chmodSync(filePath, 384);
32
+ } finally {
33
+ if (!renamed)
34
+ fsSync.rmSync(temporaryPath, { force: true });
35
+ }
36
+ }
37
+
38
+ export { isNodeError, isUnsupportedDirectorySyncError, ensurePrivateDirectorySync, writePrivateJsonFileSync };
@@ -4,7 +4,7 @@ import {
4
4
  } from "./main-pmfd055v.mjs";
5
5
  import {
6
6
  opencodeBrowserVersion2
7
- } from "./main-wds0wcmt.mjs";
7
+ } from "./main-693wwz19.mjs";
8
8
  import {
9
9
  stateRoot,
10
10
  fromCheckout,
@@ -13,10 +13,11 @@ import {
13
13
  installedBinary,
14
14
  cliPrefix,
15
15
  RELEASE_SERVICE
16
- } from "./main-dyya6jpy.mjs";
16
+ } from "./main-1qwrze1y.mjs";
17
17
 
18
18
  // src/protocol.ts
19
19
  var extensionProtocolVersion = 3;
20
+ var extensionCapabilityTabRelease = "tab-release";
20
21
  var minExtensionProtocolVersion = 3;
21
22
  var unpackedExtensionId = "afeafocngkodbmaipcngoamamfmekgfo";
22
23
  var browserUnresponsive = "The browser isn't answering (asleep, frozen or very busy?). Wake it or wait a moment, then try again.";
@@ -794,4 +795,4 @@ function spawnRuntimeChild(runtime, args, onExit, env = process.env) {
794
795
  }
795
796
  }
796
797
 
797
- export { extensionProtocolVersion, minExtensionProtocolVersion, unpackedExtensionId, browserUnresponsive, browserReloading, unpackedReloadAdvice, checkoutReloadPrefix, extensionReconnectAlarmPeriodMs, extensionProtocolCompatibility, extensionProtocolSkew, extensionProtocolAdvice, makePageStatus, parseJsonObject, isCdpRequest, isExtensionResponse, isExtensionEvent, isJsonObject, runningServiceTarget, releaseChannel, checkRelease, autoUpdateModes, UPDATE_VERSION, channelOf, compareVersions, installedRuntime2, updateTarget, npmGlobalRoot, installedVersion, updateState, autoUpdateOverride, storedMode, effectiveMode, setStoredMode, autoUpdateStatus, describeAutoUpdate, updateAvailable, runCommand, registryUrl, fetchPublished, runInstaller, createAutoUpdater };
798
+ export { extensionProtocolVersion, extensionCapabilityTabRelease, minExtensionProtocolVersion, unpackedExtensionId, browserUnresponsive, browserReloading, unpackedReloadAdvice, checkoutReloadPrefix, extensionReconnectAlarmPeriodMs, extensionProtocolCompatibility, extensionProtocolSkew, extensionProtocolAdvice, makePageStatus, parseJsonObject, isCdpRequest, isExtensionResponse, isExtensionEvent, isJsonObject, runningServiceTarget, releaseChannel, checkRelease, autoUpdateModes, UPDATE_VERSION, channelOf, compareVersions, installedRuntime2, updateTarget, npmGlobalRoot, installedVersion, updateState, autoUpdateOverride, storedMode, effectiveMode, setStoredMode, autoUpdateStatus, describeAutoUpdate, updateAvailable, runCommand, registryUrl, fetchPublished, runInstaller, createAutoUpdater };