@opencode/browse 0.0.17-dev.179 → 0.0.17-dev.181

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 (37) hide show
  1. package/dist/{Runtime-jrg7sc9p.mjs → Runtime-xss8qan1.mjs} +1 -1
  2. package/dist/{cli-ndjnhr9r.mjs → cli-1bdh4p0a.mjs} +60 -46
  3. package/dist/cli.mjs +14 -14
  4. package/dist/{helpers-tnqjatbp.mjs → helpers-bbaa1vjs.mjs} +1 -3
  5. package/dist/{index-j79y2me1.mjs → index-gjq7chrk.mjs} +2 -2
  6. package/dist/{legacy-runtime-we32g1pw.mjs → legacy-runtime-yjsm0xpg.mjs} +30 -17
  7. package/dist/{main-5hymrtzq.mjs → main-32bwyqja.mjs} +4 -4
  8. package/dist/{main-f98q5tcf.mjs → main-6hvv25x8.mjs} +27 -29
  9. package/dist/{main-tr20hmvg.mjs → main-6qfvnjxc.mjs} +7 -9
  10. package/dist/{main-3mhynene.mjs → main-9frwnsnf.mjs} +3 -5
  11. package/dist/{main-048kx59h.mjs → main-akpa411k.mjs} +6 -8
  12. package/dist/main-bt237ys7.mjs +1012 -0
  13. package/dist/main-d5ke1bpm.mjs +4 -0
  14. package/dist/{main-s3g4jwx5.mjs → main-jeta10c6.mjs} +23 -25
  15. package/dist/{main-wpt5ha44.mjs → main-m45zegrn.mjs} +371 -167
  16. package/dist/{main-46fba60d.mjs → main-pq962g72.mjs} +7 -4
  17. package/dist/main-q4typx7c.mjs +213 -0
  18. package/dist/{main-nesqaw1p.mjs → main-qccyxwg8.mjs} +3 -5
  19. package/dist/{main-zw20hm01.mjs → main-rb7dermc.mjs} +117 -4
  20. package/dist/{main-g131p1r6.mjs → main-reh7k0hv.mjs} +199 -989
  21. package/dist/{main-8jd0y17d.mjs → main-rvn834gn.mjs} +2 -2
  22. package/dist/{main-9fev890k.mjs → main-sfxkq31s.mjs} +16 -18
  23. package/dist/{main-thhv62x3.mjs → main-tg0r67xj.mjs} +8 -10
  24. package/dist/{main-rpzzm8dd.mjs → main-tk2thty0.mjs} +8 -7
  25. package/dist/{mcp-g9gatach.mjs → mcp-rjpmt73q.mjs} +31 -32
  26. package/dist/{migrate-9dmw3qm4.mjs → migrate-hggn66v2.mjs} +5 -6
  27. package/dist/{relay-bgmpqtc8.mjs → relay-fm6q9hnx.mjs} +128 -64
  28. package/dist/{runtime-update-6r9m6y2b.mjs → runtime-update-vdw1eajx.mjs} +9 -9
  29. package/dist/{setup-3be5gs2p.mjs → setup-wyrpwq4c.mjs} +196 -129
  30. package/dist/{supervisor-a9hk630y.mjs → supervisor-nbce8yhg.mjs} +10 -6
  31. package/dist/{update-xy15yz2m.mjs → update-be8dfw51.mjs} +3 -4
  32. package/dist/{version-5gnas829.mjs → version-6j8cdg2k.mjs} +1 -1
  33. package/package.json +1 -1
  34. package/dist/main-4h7rfhhr.mjs +0 -61
  35. package/dist/main-b3jrctcx.mjs +0 -114
  36. package/dist/main-qazf3bhk.mjs +0 -223
  37. package/dist/main-x0s8gad5.mjs +0 -4
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ensurePrivateDirectorySync
3
- } from "./main-4h7rfhhr.mjs";
3
+ } from "./main-bt237ys7.mjs";
4
4
  import {
5
5
  dataRoot
6
- } from "./main-zw20hm01.mjs";
6
+ } from "./main-rb7dermc.mjs";
7
7
 
8
8
  // src/relay/secrets.ts
9
9
  import crypto from "node:crypto";
@@ -1,3 +1,6 @@
1
+ import {
2
+ cliCommand
3
+ } from "./main-rb7dermc.mjs";
1
4
  import {
2
5
  SessionDeleted,
3
6
  ExecuteLogEntry,
@@ -12,11 +15,11 @@ import {
12
15
  parseTargetSelection2,
13
16
  getObject2,
14
17
  getString2
15
- } from "./main-g131p1r6.mjs";
18
+ } from "./main-bt237ys7.mjs";
16
19
  import {
17
20
  isStream,
18
21
  provideContext
19
- } from "./main-s3g4jwx5.mjs";
22
+ } from "./main-jeta10c6.mjs";
20
23
  import {
21
24
  TaggedError,
22
25
  passthrough,
@@ -62,8 +65,17 @@ import {
62
65
  toJsonSchemaDocument,
63
66
  Json,
64
67
  JsonObject
65
- } from "./main-f98q5tcf.mjs";
68
+ } from "./main-6hvv25x8.mjs";
66
69
  import {
70
+ pipeArguments,
71
+ identity,
72
+ constTrue,
73
+ constFalse,
74
+ constUndefined,
75
+ isString,
76
+ isNumber,
77
+ isBoolean,
78
+ hasProperty,
67
79
  getStackTraceLimit,
68
80
  setStackTraceLimit,
69
81
  none,
@@ -89,21 +101,7 @@ import {
89
101
  contextWith,
90
102
  provide3,
91
103
  fnUntraced
92
- } from "./main-wpt5ha44.mjs";
93
- import {
94
- pipeArguments,
95
- identity,
96
- constTrue,
97
- constFalse,
98
- constUndefined,
99
- isString,
100
- isNumber,
101
- isBoolean,
102
- hasProperty
103
- } from "./main-qazf3bhk.mjs";
104
- import {
105
- cliCommand
106
- } from "./main-zw20hm01.mjs";
104
+ } from "./main-m45zegrn.mjs";
107
105
 
108
106
  // node_modules/effect/dist/PrimaryKey.js
109
107
  var symbol = "~effect/PrimaryKey";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isNodeError,
3
3
  writeJsonFileAtomically
4
- } from "./main-4h7rfhhr.mjs";
4
+ } from "./main-bt237ys7.mjs";
5
5
  import {
6
6
  decodeUnknownEffect2,
7
7
  decodeUnknownSync,
@@ -15,8 +15,12 @@ import {
15
15
  isPattern,
16
16
  Defect,
17
17
  TaggedError2
18
- } from "./main-f98q5tcf.mjs";
18
+ } from "./main-6hvv25x8.mjs";
19
19
  import {
20
+ isString,
21
+ isNumber,
22
+ isBoolean,
23
+ isObject,
20
24
  withFiber,
21
25
  getCurrentFiber,
22
26
  succeed2,
@@ -42,17 +46,11 @@ import {
42
46
  acquireUseRelease,
43
47
  fnUntraced,
44
48
  fn
45
- } from "./main-wpt5ha44.mjs";
46
- import {
47
- isString,
48
- isNumber,
49
- isBoolean,
50
- isObject
51
- } from "./main-qazf3bhk.mjs";
49
+ } from "./main-m45zegrn.mjs";
52
50
  import {
53
51
  dataRoot,
54
52
  cliCommand
55
- } from "./main-zw20hm01.mjs";
53
+ } from "./main-rb7dermc.mjs";
56
54
 
57
55
  // node_modules/effect/dist/Semaphore.js
58
56
  var makeUnsafe = (permits) => new SemaphoreImpl(permits);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  opencodeBrowserVersion2
3
- } from "./main-x0s8gad5.mjs";
3
+ } from "./main-d5ke1bpm.mjs";
4
4
  import {
5
5
  configRoot2,
6
6
  dataRoot,
@@ -18,19 +18,20 @@ import {
18
18
  devExtension,
19
19
  devExtensionFolder,
20
20
  storeUrl,
21
+ unpackedExtensionId,
21
22
  npmGlobalRoot,
22
23
  installedVersion,
23
24
  runCommand
24
- } from "./main-zw20hm01.mjs";
25
+ } from "./main-rb7dermc.mjs";
25
26
  import {
26
27
  writeStdout
27
28
  } from "./main-tk4axre7.mjs";
28
29
  import {
29
- formatPairingCode
30
- } from "./main-46fba60d.mjs";
30
+ defaultPort2
31
+ } from "./main-bt237ys7.mjs";
31
32
  import {
32
- unpackedExtensionId
33
- } from "./main-b3jrctcx.mjs";
33
+ formatPairingCode
34
+ } from "./main-pq962g72.mjs";
34
35
  import {
35
36
  __toESM,
36
37
  __commonJS,
@@ -10722,7 +10723,7 @@ var dev = fromSource ? undefined : devExtension();
10722
10723
  var unpackedFolder = () => checkoutExtensionDirs[1] ?? (dev ? devExtensionFolder(paths.cache) : undefined);
10723
10724
  var connectedMessage = "✓ Connected to your browser. Ask your agent to open a page.";
10724
10725
  var pairedOfflineMessage = "! Not connected yet. Open the browser profile already paired with browse and make sure the extension is enabled. It reconnects automatically.";
10725
- var manualPair = (code) => `Open the Extensions menu → browse → Options, expand advanced (or click Pair with a code), enter ${formatPairingCode(code)} as the pairing code, then click Connect.`;
10726
+ var manualPair = (code, port = defaultPort2, address) => `Open the Extensions menu → browse → Options, expand advanced (or click Pair with a code), enter ${formatPairingCode(code)} as the pairing code${address ? ` and ${address} as the relay address` : port === defaultPort2 ? "" : ` and localhost:${port} as the relay address`}, then click Connect.`;
10726
10727
  function flag(args, name) {
10727
10728
  const index = args.indexOf(name);
10728
10729
  return index === -1 ? undefined : args[index + 1];
@@ -1,4 +1,4 @@
1
- import"./main-3mhynene.mjs";
1
+ import"./main-9frwnsnf.mjs";
2
2
  import {
3
3
  filter,
4
4
  empty,
@@ -42,19 +42,16 @@ import {
42
42
  empty3,
43
43
  jsonUnsafe,
44
44
  layer
45
- } from "./main-s3g4jwx5.mjs";
45
+ } from "./main-jeta10c6.mjs";
46
46
  import"./main-pmfd055v.mjs";
47
47
  import {
48
48
  opencodeBrowserVersion2
49
- } from "./main-x0s8gad5.mjs";
49
+ } from "./main-d5ke1bpm.mjs";
50
50
  import {
51
51
  cliCommand,
52
52
  autoUpdateStatus
53
- } from "./main-zw20hm01.mjs";
54
- import"./main-b3jrctcx.mjs";
53
+ } from "./main-rb7dermc.mjs";
55
54
  import {
56
- option,
57
- String2,
58
55
  SessionContainer,
59
56
  SessionsContainer,
60
57
  SessionResetResponse,
@@ -63,19 +60,22 @@ import {
63
60
  NetworkStopResponse,
64
61
  AuthRunResponse,
65
62
  TabsCleanupResponse,
66
- getObject2,
63
+ getObject2
64
+ } from "./main-bt237ys7.mjs";
65
+ import {
66
+ option,
67
+ String2,
67
68
  RelayRejected,
68
69
  Service,
69
70
  layerFetchMcp,
70
71
  relayBuildProblem,
71
72
  ensureRelay,
72
73
  ensureExtensionConnected
73
- } from "./main-g131p1r6.mjs";
74
- import"./main-4h7rfhhr.mjs";
74
+ } from "./main-reh7k0hv.mjs";
75
75
  import {
76
76
  updateJson2,
77
77
  createUpdateWatcher2
78
- } from "./main-nesqaw1p.mjs";
78
+ } from "./main-qccyxwg8.mjs";
79
79
  import {
80
80
  settingSpecs,
81
81
  securityVariables,
@@ -156,12 +156,12 @@ import {
156
156
  toolResultForValue2,
157
157
  mcpErrorMessage2,
158
158
  toolResult
159
- } from "./main-9fev890k.mjs";
159
+ } from "./main-sfxkq31s.mjs";
160
160
  import {
161
161
  makeUnsafe,
162
162
  make3,
163
163
  listSecrets
164
- } from "./main-thhv62x3.mjs";
164
+ } from "./main-tg0r67xj.mjs";
165
165
  import {
166
166
  Clock,
167
167
  type,
@@ -175,8 +175,9 @@ import {
175
175
  boolean,
176
176
  orElse,
177
177
  exhaustive
178
- } from "./main-048kx59h.mjs";
179
- import"./main-8jd0y17d.mjs";
178
+ } from "./main-akpa411k.mjs";
179
+ import"./main-rvn834gn.mjs";
180
+ import"./main-q4typx7c.mjs";
180
181
  import {
181
182
  Class,
182
183
  taggedEnum,
@@ -225,8 +226,21 @@ import {
225
226
  toCodecJson,
226
227
  Json,
227
228
  JsonObject
228
- } from "./main-f98q5tcf.mjs";
229
+ } from "./main-6hvv25x8.mjs";
229
230
  import {
231
+ pipeArguments,
232
+ dual,
233
+ identity,
234
+ constant,
235
+ constTrue,
236
+ constVoid,
237
+ flow,
238
+ isString,
239
+ isNullish,
240
+ isObject,
241
+ isReadonlyObject,
242
+ hasProperty,
243
+ isTagged,
230
244
  hash,
231
245
  equals,
232
246
  redact,
@@ -395,22 +409,7 @@ import {
395
409
  logError,
396
410
  logDebug,
397
411
  annotateLogs
398
- } from "./main-wpt5ha44.mjs";
399
- import {
400
- pipeArguments,
401
- dual,
402
- identity,
403
- constant,
404
- constTrue,
405
- constVoid,
406
- flow,
407
- isString,
408
- isNullish,
409
- isObject,
410
- isReadonlyObject,
411
- hasProperty,
412
- isTagged
413
- } from "./main-qazf3bhk.mjs";
412
+ } from "./main-m45zegrn.mjs";
414
413
 
415
414
  // node_modules/effect/dist/PubSub.js
416
415
  var TypeId = "~effect/PubSub";
@@ -7,14 +7,14 @@ import {
7
7
  editAgentConfig,
8
8
  OPENCODE_CONFIG_NAMES,
9
9
  configureMcp
10
- } from "./main-rpzzm8dd.mjs";
10
+ } from "./main-tk2thty0.mjs";
11
11
  import {
12
12
  legacyDataRoot,
13
13
  legacyRoots,
14
14
  legacyRuntime,
15
15
  LEGACY_HANDOVER_GRACE_MS
16
16
  } from "./main-pmfd055v.mjs";
17
- import"./main-x0s8gad5.mjs";
17
+ import"./main-d5ke1bpm.mjs";
18
18
  import {
19
19
  configRoot2,
20
20
  dataRoot,
@@ -23,11 +23,10 @@ import {
23
23
  binRoot,
24
24
  binaryName,
25
25
  devExtensionFolder
26
- } from "./main-zw20hm01.mjs";
26
+ } from "./main-rb7dermc.mjs";
27
27
  import"./main-tk4axre7.mjs";
28
- import"./main-4h7rfhhr.mjs";
29
- import"./main-46fba60d.mjs";
30
- import"./main-b3jrctcx.mjs";
28
+ import"./main-bt237ys7.mjs";
29
+ import"./main-pq962g72.mjs";
31
30
 
32
31
  // src/setup/migrate.ts
33
32
  import fs from "node:fs";