@cmmd-center/forge 0.13.83 → 0.13.85
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/bin.cjs +15 -2
- package/dist/bin.mjs +99 -81
- package/dist/client/assets/{CanvasPanel-AjtGwv2H.js → CanvasPanel-Dyho_JDo.js} +2 -2
- package/dist/client/assets/{CompositeItem-B_Qce_Zi.js → CompositeItem-DeDhuBZB.js} +2 -2
- package/dist/client/assets/DiffPanel-BCnICUjH.js +64 -0
- package/dist/client/assets/{DiffPanel.logic-VfGGX1sz.js → DiffPanel.logic-1VJFqkwM.js} +4 -4
- package/dist/client/assets/{DiffWorkerPoolProvider-L5rgnah4.js → DiffWorkerPoolProvider-B6nE3Q_O.js} +9 -9
- package/dist/client/assets/PullRequestCodePanel-BNz1LVt9.js +5 -0
- package/dist/client/assets/Virtualizer-y49OD7rT.js +2 -0
- package/dist/client/assets/{DiffPanelShell-JOSW9RYb.js → WorkerPoolContext-Bzx7tD5D.js} +116 -116
- package/dist/client/assets/{canvasStateStore-BpKdB-dM.js → canvasStateStore-DJ_OzrrC.js} +2 -2
- package/dist/client/assets/{cmmdAuthRedirect-CbWPYc_g.js → cmmdAuthRedirect-Bqx90tp9.js} +2 -2
- package/dist/client/assets/index-DhPa_n8h.js +153 -0
- package/dist/client/assets/{popover-RLwH5jQy.js → popover-D20eY2oM.js} +2 -2
- package/dist/client/assets/{src-IM0FnQax.js → src-CoTxmdk3.js} +2 -2
- package/dist/client/assets/{toggle-BUzYChlq.js → toggle-AqC0QUc1.js} +2 -2
- package/dist/client/index.html +10 -10
- package/dist/forge-build.json +1 -1
- package/dist/{open-yHTUkd2Y.mjs → open-2-reBrpv.mjs} +3 -3
- package/package.json +1 -1
- package/dist/client/assets/DiffPanel-BzKkiaBf.js +0 -64
- package/dist/client/assets/PullRequestCodePanel-CE_QRZf2.js +0 -5
- package/dist/client/assets/Virtualizer-BAVMak1h.js +0 -2
- package/dist/client/assets/index-DVBLRDej.js +0 -154
package/dist/bin.cjs
CHANGED
|
@@ -19806,6 +19806,15 @@ const BrowserConsoleLogsCommand = require_Schema$1.Struct({
|
|
|
19806
19806
|
limit: require_Schema$1.optional(require_Schema$1.Number),
|
|
19807
19807
|
levels: require_Schema$1.optional(require_Schema$1.ArraySchema(BrowserConsoleLogLevel))
|
|
19808
19808
|
});
|
|
19809
|
+
/**
|
|
19810
|
+
* Mute or unmute one tab's audio. A desktop-native concern: the real
|
|
19811
|
+
* webContents live in the desktop shell's browser view, so this command is
|
|
19812
|
+
* only issued over the desktop bridge, never through the server channel.
|
|
19813
|
+
*/
|
|
19814
|
+
const BrowserSetAudioMutedCommand = require_Schema$1.Struct({
|
|
19815
|
+
type: require_Schema$1.Literal("setAudioMuted"),
|
|
19816
|
+
muted: require_Schema$1.Boolean
|
|
19817
|
+
});
|
|
19809
19818
|
const BrowserCommand = require_Schema$1.Union([
|
|
19810
19819
|
BrowserNavigateCommand,
|
|
19811
19820
|
BrowserNewTabCommand,
|
|
@@ -19826,6 +19835,7 @@ const BrowserCommand = require_Schema$1.Union([
|
|
|
19826
19835
|
BrowserSetViewportCommand,
|
|
19827
19836
|
BrowserResetViewportCommand,
|
|
19828
19837
|
BrowserSetVisibilityCommand,
|
|
19838
|
+
BrowserSetAudioMutedCommand,
|
|
19829
19839
|
BrowserNameSessionCommand,
|
|
19830
19840
|
BrowserConsoleLogsCommand
|
|
19831
19841
|
]);
|
|
@@ -66275,7 +66285,7 @@ function normalizeNumberish(value) {
|
|
|
66275
66285
|
}
|
|
66276
66286
|
//#endregion
|
|
66277
66287
|
//#region package.json
|
|
66278
|
-
var version$1 = "0.13.
|
|
66288
|
+
var version$1 = "0.13.85";
|
|
66279
66289
|
//#endregion
|
|
66280
66290
|
//#region src/sentry.ts
|
|
66281
66291
|
const SERVER_APP_NAME = "forge-server";
|
|
@@ -242286,6 +242296,9 @@ const HOST_COMMAND_MAPPERS = {
|
|
|
242286
242296
|
...command.x !== void 0 ? { x: command.x } : {},
|
|
242287
242297
|
...command.y !== void 0 ? { y: command.y } : {}
|
|
242288
242298
|
}),
|
|
242299
|
+
setAudioMuted: () => {
|
|
242300
|
+
throw new Error("setAudioMuted is only supported over the desktop native browser bridge.");
|
|
242301
|
+
},
|
|
242289
242302
|
setViewport: (command) => ({
|
|
242290
242303
|
type: "setViewport",
|
|
242291
242304
|
viewport: command.viewport
|
|
@@ -299336,7 +299349,7 @@ function resolveBuildCommitFromEnv(env) {
|
|
|
299336
299349
|
* environment descriptor down instead of reporting an honest "unknown".
|
|
299337
299350
|
*/
|
|
299338
299351
|
function readBakedBuildCommit() {
|
|
299339
|
-
return "
|
|
299352
|
+
return "fa1eb9a4a14a002b4453d5f79e7b02d2ef253f53";
|
|
299340
299353
|
}
|
|
299341
299354
|
async function resolveServerBuildCommit(input) {
|
|
299342
299355
|
if (isFullCommitSha(input.baked)) return input.baked;
|
package/dist/bin.mjs
CHANGED
|
@@ -23,7 +23,7 @@ import { createCipheriv, createDecipheriv, createHash, createHmac, createPublicK
|
|
|
23
23
|
import * as FS$1 from "node:fs";
|
|
24
24
|
import fs, { accessSync, chmodSync, constants, createReadStream, existsSync, mkdirSync, mkdtempSync, promises, readFile, readFileSync, readdir, readdirSync, realpathSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
25
25
|
import * as NodeOS from "node:os";
|
|
26
|
-
import
|
|
26
|
+
import $U, { homedir, networkInterfaces, tmpdir } from "node:os";
|
|
27
27
|
import * as Path$1 from "node:path";
|
|
28
28
|
import path, { basename, delimiter, dirname, extname, isAbsolute, join, posix, relative, resolve, sep } from "node:path";
|
|
29
29
|
import { pathToFileURL } from "node:url";
|
|
@@ -19653,6 +19653,63 @@ const BrowserPointerButton = Literals([
|
|
|
19653
19653
|
"middle",
|
|
19654
19654
|
"right"
|
|
19655
19655
|
]);
|
|
19656
|
+
const BrowserClickPointCommand = Struct({
|
|
19657
|
+
type: Literal("clickPoint"),
|
|
19658
|
+
...BrowserBaseTabAction.fields,
|
|
19659
|
+
x: Number$1,
|
|
19660
|
+
y: Number$1,
|
|
19661
|
+
button: optional$4(BrowserPointerButton),
|
|
19662
|
+
clickCount: optional$4(Number$1)
|
|
19663
|
+
});
|
|
19664
|
+
const BrowserWheelCommand = Struct({
|
|
19665
|
+
type: Literal("wheel"),
|
|
19666
|
+
...BrowserBaseTabAction.fields,
|
|
19667
|
+
deltaX: Number$1,
|
|
19668
|
+
deltaY: Number$1,
|
|
19669
|
+
x: optional$4(Number$1),
|
|
19670
|
+
y: optional$4(Number$1)
|
|
19671
|
+
});
|
|
19672
|
+
const BrowserPressKeyCommand = Struct({
|
|
19673
|
+
type: Literal("pressKey"),
|
|
19674
|
+
...BrowserBaseTabAction.fields,
|
|
19675
|
+
key: TrimmedNonEmptyString,
|
|
19676
|
+
x: optional$4(Number$1),
|
|
19677
|
+
y: optional$4(Number$1)
|
|
19678
|
+
});
|
|
19679
|
+
const BrowserTypeTextCommand = Struct({
|
|
19680
|
+
type: Literal("typeText"),
|
|
19681
|
+
...BrowserBaseTabAction.fields,
|
|
19682
|
+
text: String$1,
|
|
19683
|
+
pressEnter: optional$4(Boolean$1)
|
|
19684
|
+
});
|
|
19685
|
+
const BrowserSnapshotCommand = Struct({
|
|
19686
|
+
type: Literal("snapshot"),
|
|
19687
|
+
...BrowserBaseTabAction.fields
|
|
19688
|
+
});
|
|
19689
|
+
const BrowserScreenshotCommand = Struct({
|
|
19690
|
+
type: Literal("screenshot"),
|
|
19691
|
+
...BrowserBaseTabAction.fields,
|
|
19692
|
+
fullPage: optional$4(Boolean$1)
|
|
19693
|
+
});
|
|
19694
|
+
const BrowserSetViewportCommand = Struct({
|
|
19695
|
+
type: Literal("setViewport"),
|
|
19696
|
+
viewport: BrowserViewport
|
|
19697
|
+
});
|
|
19698
|
+
const BrowserResetViewportCommand = Struct({ type: Literal("resetViewport") });
|
|
19699
|
+
const BrowserSetVisibilityCommand = Struct({
|
|
19700
|
+
type: Literal("setVisibility"),
|
|
19701
|
+
visibility: BrowserVisibility
|
|
19702
|
+
});
|
|
19703
|
+
const BrowserNameSessionCommand = Struct({
|
|
19704
|
+
type: Literal("nameSession"),
|
|
19705
|
+
name: TrimmedNonEmptyString
|
|
19706
|
+
});
|
|
19707
|
+
const BrowserConsoleLogsCommand = Struct({
|
|
19708
|
+
type: Literal("consoleLogs"),
|
|
19709
|
+
tabId: optional$4(BrowserTabId),
|
|
19710
|
+
limit: optional$4(Number$1),
|
|
19711
|
+
levels: optional$4(ArraySchema(BrowserConsoleLogLevel))
|
|
19712
|
+
});
|
|
19656
19713
|
const BrowserCommand = Union([
|
|
19657
19714
|
BrowserNavigateCommand,
|
|
19658
19715
|
BrowserNewTabCommand,
|
|
@@ -19664,63 +19721,21 @@ const BrowserCommand = Union([
|
|
|
19664
19721
|
BrowserClickCommand,
|
|
19665
19722
|
BrowserTypeCommand,
|
|
19666
19723
|
BrowserScrollCommand,
|
|
19724
|
+
BrowserClickPointCommand,
|
|
19725
|
+
BrowserWheelCommand,
|
|
19726
|
+
BrowserPressKeyCommand,
|
|
19727
|
+
BrowserTypeTextCommand,
|
|
19728
|
+
BrowserSnapshotCommand,
|
|
19729
|
+
BrowserScreenshotCommand,
|
|
19730
|
+
BrowserSetViewportCommand,
|
|
19731
|
+
BrowserResetViewportCommand,
|
|
19732
|
+
BrowserSetVisibilityCommand,
|
|
19667
19733
|
Struct({
|
|
19668
|
-
type: Literal("
|
|
19669
|
-
|
|
19670
|
-
x: Number$1,
|
|
19671
|
-
y: Number$1,
|
|
19672
|
-
button: optional$4(BrowserPointerButton),
|
|
19673
|
-
clickCount: optional$4(Number$1)
|
|
19734
|
+
type: Literal("setAudioMuted"),
|
|
19735
|
+
muted: Boolean$1
|
|
19674
19736
|
}),
|
|
19675
|
-
|
|
19676
|
-
|
|
19677
|
-
...BrowserBaseTabAction.fields,
|
|
19678
|
-
deltaX: Number$1,
|
|
19679
|
-
deltaY: Number$1,
|
|
19680
|
-
x: optional$4(Number$1),
|
|
19681
|
-
y: optional$4(Number$1)
|
|
19682
|
-
}),
|
|
19683
|
-
Struct({
|
|
19684
|
-
type: Literal("pressKey"),
|
|
19685
|
-
...BrowserBaseTabAction.fields,
|
|
19686
|
-
key: TrimmedNonEmptyString,
|
|
19687
|
-
x: optional$4(Number$1),
|
|
19688
|
-
y: optional$4(Number$1)
|
|
19689
|
-
}),
|
|
19690
|
-
Struct({
|
|
19691
|
-
type: Literal("typeText"),
|
|
19692
|
-
...BrowserBaseTabAction.fields,
|
|
19693
|
-
text: String$1,
|
|
19694
|
-
pressEnter: optional$4(Boolean$1)
|
|
19695
|
-
}),
|
|
19696
|
-
Struct({
|
|
19697
|
-
type: Literal("snapshot"),
|
|
19698
|
-
...BrowserBaseTabAction.fields
|
|
19699
|
-
}),
|
|
19700
|
-
Struct({
|
|
19701
|
-
type: Literal("screenshot"),
|
|
19702
|
-
...BrowserBaseTabAction.fields,
|
|
19703
|
-
fullPage: optional$4(Boolean$1)
|
|
19704
|
-
}),
|
|
19705
|
-
Struct({
|
|
19706
|
-
type: Literal("setViewport"),
|
|
19707
|
-
viewport: BrowserViewport
|
|
19708
|
-
}),
|
|
19709
|
-
Struct({ type: Literal("resetViewport") }),
|
|
19710
|
-
Struct({
|
|
19711
|
-
type: Literal("setVisibility"),
|
|
19712
|
-
visibility: BrowserVisibility
|
|
19713
|
-
}),
|
|
19714
|
-
Struct({
|
|
19715
|
-
type: Literal("nameSession"),
|
|
19716
|
-
name: TrimmedNonEmptyString
|
|
19717
|
-
}),
|
|
19718
|
-
Struct({
|
|
19719
|
-
type: Literal("consoleLogs"),
|
|
19720
|
-
tabId: optional$4(BrowserTabId),
|
|
19721
|
-
limit: optional$4(Number$1),
|
|
19722
|
-
levels: optional$4(ArraySchema(BrowserConsoleLogLevel))
|
|
19723
|
-
})
|
|
19737
|
+
BrowserNameSessionCommand,
|
|
19738
|
+
BrowserConsoleLogsCommand
|
|
19724
19739
|
]);
|
|
19725
19740
|
const BrowserOpenSessionInput = Struct({
|
|
19726
19741
|
threadId: ThreadId,
|
|
@@ -50591,7 +50606,7 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
|
50591
50606
|
const min = forceColor || 0;
|
|
50592
50607
|
if (env.TERM === "dumb") return min;
|
|
50593
50608
|
if (process$1.platform === "win32") {
|
|
50594
|
-
const osRelease =
|
|
50609
|
+
const osRelease = $U.release().split(".");
|
|
50595
50610
|
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
50596
50611
|
return 1;
|
|
50597
50612
|
}
|
|
@@ -53034,7 +53049,7 @@ var require_ProcessDetector = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
53034
53049
|
exports.processDetector = void 0;
|
|
53035
53050
|
const api_1 = (init_esm$1(), __toCommonJS(esm_exports$1));
|
|
53036
53051
|
const semconv_1 = require_semconv$1();
|
|
53037
|
-
const os$
|
|
53052
|
+
const os$3 = __require("os");
|
|
53038
53053
|
/**
|
|
53039
53054
|
* ProcessDetector will be used to detect the resources related current process running
|
|
53040
53055
|
* and being instrumented from the NodeJS Process module.
|
|
@@ -53056,7 +53071,7 @@ var require_ProcessDetector = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
53056
53071
|
};
|
|
53057
53072
|
if (process.argv.length > 1) attributes[semconv_1.ATTR_PROCESS_COMMAND] = process.argv[1];
|
|
53058
53073
|
try {
|
|
53059
|
-
const userInfo = os$
|
|
53074
|
+
const userInfo = os$3.userInfo();
|
|
53060
53075
|
attributes[semconv_1.ATTR_PROCESS_OWNER] = userInfo.username;
|
|
53061
53076
|
} catch (e) {
|
|
53062
53077
|
api_1.diag.debug(`error obtaining process owner: ${e}`);
|
|
@@ -65979,7 +65994,7 @@ function normalizeNumberish(value) {
|
|
|
65979
65994
|
}
|
|
65980
65995
|
//#endregion
|
|
65981
65996
|
//#region package.json
|
|
65982
|
-
var version$1 = "0.13.
|
|
65997
|
+
var version$1 = "0.13.85";
|
|
65983
65998
|
//#endregion
|
|
65984
65999
|
//#region src/sentry.ts
|
|
65985
66000
|
const SERVER_APP_NAME = "forge-server";
|
|
@@ -76022,7 +76037,7 @@ var require_node_gyp_build = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
76022
76037
|
var fs$6 = __require("fs");
|
|
76023
76038
|
var path$5 = __require("path");
|
|
76024
76039
|
var url$1 = __require("url");
|
|
76025
|
-
var os$
|
|
76040
|
+
var os$2 = __require("os");
|
|
76026
76041
|
var runtimeRequire = typeof __webpack_require__ === "function" ? __non_webpack_require__ : __require;
|
|
76027
76042
|
var vars = process.config && process.config.variables || {};
|
|
76028
76043
|
var prebuildsOnly = !!process.env.PREBUILDS_ONLY;
|
|
@@ -76030,8 +76045,8 @@ var require_node_gyp_build = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
76030
76045
|
var abi = versions.modules;
|
|
76031
76046
|
if (versions.deno || process.isBun) abi = "unsupported";
|
|
76032
76047
|
var runtime = isElectron() ? "electron" : isNwjs() ? "node-webkit" : "node";
|
|
76033
|
-
var arch = process.env.npm_config_arch || os$
|
|
76034
|
-
var platform = process.env.npm_config_platform || os$
|
|
76048
|
+
var arch = process.env.npm_config_arch || os$2.arch();
|
|
76049
|
+
var platform = process.env.npm_config_platform || os$2.platform();
|
|
76035
76050
|
var libc = process.env.LIBC || (isMusl(platform) ? "musl" : "glibc");
|
|
76036
76051
|
var armv = process.env.ARM_VERSION || (arch === "arm64" ? "8" : vars.arm_version) || "";
|
|
76037
76052
|
var uv = (versions.uv || "").split(".")[0];
|
|
@@ -93864,7 +93879,7 @@ const launchDetached = (launch) => gen(function* () {
|
|
|
93864
93879
|
});
|
|
93865
93880
|
const OpenLive = effect(Open, gen(function* () {
|
|
93866
93881
|
const open = yield* tryPromise({
|
|
93867
|
-
try: () => import("./open-
|
|
93882
|
+
try: () => import("./open-2-reBrpv.mjs"),
|
|
93868
93883
|
catch: (cause) => new OpenError$1({
|
|
93869
93884
|
message: "failed to load browser opener",
|
|
93870
93885
|
cause
|
|
@@ -191803,7 +191818,7 @@ var Vce = {
|
|
|
191803
191818
|
function Ve() {
|
|
191804
191819
|
return Vce;
|
|
191805
191820
|
}
|
|
191806
|
-
var Us =
|
|
191821
|
+
var Us = $U.homedir(), lk = $U.tmpdir(), { env: Vc } = process$1, Yce = (e) => {
|
|
191807
191822
|
let t = path.join(Us, "Library");
|
|
191808
191823
|
return {
|
|
191809
191824
|
data: path.join(t, "Application Support", e),
|
|
@@ -202003,12 +202018,12 @@ function qZ(e, t) {
|
|
|
202003
202018
|
}
|
|
202004
202019
|
return n;
|
|
202005
202020
|
}
|
|
202006
|
-
var os$
|
|
202021
|
+
var os$1 = "https://code.claude.com/docs/en", kKe = [
|
|
202007
202022
|
{
|
|
202008
202023
|
matches: (e) => e.path === "permissions.defaultMode" && e.code === "invalid_value",
|
|
202009
202024
|
tip: {
|
|
202010
202025
|
suggestion: "Valid modes: \"acceptEdits\" (ask before file changes), \"plan\" (analysis only), \"bypassPermissions\" (auto-accept all), or \"default\" (standard behavior)",
|
|
202011
|
-
docLink: `${os$
|
|
202026
|
+
docLink: `${os$1}/iam#permission-modes`
|
|
202012
202027
|
}
|
|
202013
202028
|
},
|
|
202014
202029
|
{
|
|
@@ -202023,7 +202038,7 @@ var os$2 = "https://code.claude.com/docs/en", kKe = [
|
|
|
202023
202038
|
matches: (e) => e.path.startsWith("env.") && e.code === "invalid_type",
|
|
202024
202039
|
tip: {
|
|
202025
202040
|
suggestion: "Environment variables must be strings. Wrap numbers and booleans in quotes. Example: \"DEBUG\": \"true\", \"PORT\": \"3000\"",
|
|
202026
|
-
docLink: `${os$
|
|
202041
|
+
docLink: `${os$1}/settings#environment-variables`
|
|
202027
202042
|
}
|
|
202028
202043
|
},
|
|
202029
202044
|
{
|
|
@@ -202034,14 +202049,14 @@ var os$2 = "https://code.claude.com/docs/en", kKe = [
|
|
|
202034
202049
|
matches: (e) => e.path.startsWith("hooks.") && e.code === "invalid_key",
|
|
202035
202050
|
tip: {
|
|
202036
202051
|
suggestion: "Not a recognized hook event. Common events: PreToolUse, PostToolUse, UserPromptSubmit, SessionStart, SessionEnd, Stop. Check spelling and capitalization.",
|
|
202037
|
-
docLink: `${os$
|
|
202052
|
+
docLink: `${os$1}/hooks`
|
|
202038
202053
|
}
|
|
202039
202054
|
},
|
|
202040
202055
|
{
|
|
202041
202056
|
matches: (e) => /\.hooks\.\d+\.command$/.test(e.path) && e.code === "invalid_type" && e.received === "undefined",
|
|
202042
202057
|
tip: {
|
|
202043
202058
|
suggestion: "Command hooks require `command`. For exec form (no shell), set `command` to the executable and `args` to its arguments: {\"type\": \"command\", \"command\": \"echo\", \"args\": [\"hi\"]}. For shell form, set `command` to the full shell string: {\"type\": \"command\", \"command\": \"echo hi\"}.",
|
|
202044
|
-
docLink: `${os$
|
|
202059
|
+
docLink: `${os$1}/hooks#exec-form-and-shell-form`
|
|
202045
202060
|
}
|
|
202046
202061
|
},
|
|
202047
202062
|
{
|
|
@@ -202056,7 +202071,7 @@ var os$2 = "https://code.claude.com/docs/en", kKe = [
|
|
|
202056
202071
|
matches: (e) => e.code === "unrecognized_keys",
|
|
202057
202072
|
tip: {
|
|
202058
202073
|
suggestion: "Check for typos or refer to the documentation for valid fields",
|
|
202059
|
-
docLink: `${os$
|
|
202074
|
+
docLink: `${os$1}/settings`
|
|
202060
202075
|
}
|
|
202061
202076
|
},
|
|
202062
202077
|
{
|
|
@@ -202071,13 +202086,13 @@ var os$2 = "https://code.claude.com/docs/en", kKe = [
|
|
|
202071
202086
|
matches: (e) => e.path === "permissions.additionalDirectories" && e.code === "invalid_type",
|
|
202072
202087
|
tip: {
|
|
202073
202088
|
suggestion: "Must be an array of directory paths. Example: [\"~/projects\", \"/tmp/workspace\"]. You can also use --add-dir flag or /add-dir command",
|
|
202074
|
-
docLink: `${os$
|
|
202089
|
+
docLink: `${os$1}/iam#working-directories`
|
|
202075
202090
|
}
|
|
202076
202091
|
}
|
|
202077
202092
|
], AKe = {
|
|
202078
|
-
permissions: `${os$
|
|
202079
|
-
env: `${os$
|
|
202080
|
-
hooks: `${os$
|
|
202093
|
+
permissions: `${os$1}/iam#configuring-permissions`,
|
|
202094
|
+
env: `${os$1}/settings#environment-variables`,
|
|
202095
|
+
hooks: `${os$1}/hooks`
|
|
202081
202096
|
};
|
|
202082
202097
|
function GZ(e) {
|
|
202083
202098
|
let t = kKe.find((r) => r.matches(e));
|
|
@@ -241803,6 +241818,9 @@ const HOST_COMMAND_MAPPERS = {
|
|
|
241803
241818
|
...command.x !== void 0 ? { x: command.x } : {},
|
|
241804
241819
|
...command.y !== void 0 ? { y: command.y } : {}
|
|
241805
241820
|
}),
|
|
241821
|
+
setAudioMuted: () => {
|
|
241822
|
+
throw new Error("setAudioMuted is only supported over the desktop native browser bridge.");
|
|
241823
|
+
},
|
|
241806
241824
|
setViewport: (command) => ({
|
|
241807
241825
|
type: "setViewport",
|
|
241808
241826
|
viewport: command.viewport
|
|
@@ -270303,7 +270321,7 @@ var import_multicast_dns = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMi
|
|
|
270303
270321
|
var dgram = __require("dgram");
|
|
270304
270322
|
var thunky = require_thunky();
|
|
270305
270323
|
var events = __require("events");
|
|
270306
|
-
var os
|
|
270324
|
+
var os = __require("os");
|
|
270307
270325
|
var noop = function() {};
|
|
270308
270326
|
module.exports = function(opts) {
|
|
270309
270327
|
if (!opts) opts = {};
|
|
@@ -270434,14 +270452,14 @@ var import_multicast_dns = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMi
|
|
|
270434
270452
|
return that;
|
|
270435
270453
|
};
|
|
270436
270454
|
function defaultInterface() {
|
|
270437
|
-
var networks = os
|
|
270455
|
+
var networks = os.networkInterfaces();
|
|
270438
270456
|
var names = Object.keys(networks);
|
|
270439
270457
|
for (var i = 0; i < names.length; i++) {
|
|
270440
270458
|
var net = networks[names[i]];
|
|
270441
270459
|
for (var j = 0; j < net.length; j++) {
|
|
270442
270460
|
var iface = net[j];
|
|
270443
270461
|
if (isIPv4(iface.family) && !iface.internal) {
|
|
270444
|
-
if (os
|
|
270462
|
+
if (os.platform() === "darwin" && names[i] === "en0") return iface.address;
|
|
270445
270463
|
return "0.0.0.0";
|
|
270446
270464
|
}
|
|
270447
270465
|
}
|
|
@@ -270449,7 +270467,7 @@ var import_multicast_dns = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMi
|
|
|
270449
270467
|
return "127.0.0.1";
|
|
270450
270468
|
}
|
|
270451
270469
|
function allInterfaces() {
|
|
270452
|
-
var networks = os
|
|
270470
|
+
var networks = os.networkInterfaces();
|
|
270453
270471
|
var names = Object.keys(networks);
|
|
270454
270472
|
var res = [];
|
|
270455
270473
|
for (var i = 0; i < names.length; i++) {
|
|
@@ -298781,7 +298799,7 @@ function resolveBuildCommitFromEnv(env) {
|
|
|
298781
298799
|
* environment descriptor down instead of reporting an honest "unknown".
|
|
298782
298800
|
*/
|
|
298783
298801
|
function readBakedBuildCommit() {
|
|
298784
|
-
return "
|
|
298802
|
+
return "fa1eb9a4a14a002b4453d5f79e7b02d2ef253f53";
|
|
298785
298803
|
}
|
|
298786
298804
|
async function resolveServerBuildCommit(input) {
|
|
298787
298805
|
if (isFullCommitSha(input.baked)) return input.baked;
|
|
@@ -323412,7 +323430,7 @@ const connectLoginCommand = make$34("login", {
|
|
|
323412
323430
|
})).json();
|
|
323413
323431
|
},
|
|
323414
323432
|
openBrowser: async (url) => {
|
|
323415
|
-
const open = (await import("./open-
|
|
323433
|
+
const open = (await import("./open-2-reBrpv.mjs")).default;
|
|
323416
323434
|
await open(url);
|
|
323417
323435
|
return true;
|
|
323418
323436
|
},
|