@cmmd-center/forge 0.13.108 → 0.13.109
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 +2 -2
- package/dist/bin.mjs +26 -26
- package/dist/client/assets/CanvasPanel-i6_Wn-y3.js +441 -0
- package/dist/client/assets/{DiffPanel-CzFJNXLw.js → DiffPanel-DOmQ7vr_.js} +2 -2
- package/dist/client/assets/{DiffPanel.logic-Bk9XyjyJ.js → DiffPanel.logic-BfdSU3ho.js} +2 -2
- package/dist/client/assets/{DiffWorkerPoolProvider-AxaO3o2S.js → DiffWorkerPoolProvider-CbVy3tZS.js} +52 -52
- package/dist/client/assets/{PullRequestCodePanel-C_6uE9uq.js → PullRequestCodePanel-BMLZYrRg.js} +3 -3
- package/dist/client/assets/{Virtualizer-C96hhBBx.js → Virtualizer-0mLnEFZs.js} +2 -2
- package/dist/client/assets/{WorkerPoolContext-D3gbYcsV.js → WorkerPoolContext-BU4SzNWC.js} +3 -3
- package/dist/client/assets/canvasStateStore-CGGNH2My.js +2 -0
- package/dist/client/assets/{index-JCoiPxpo.js → index-B_thTU_W.js} +68 -68
- package/dist/client/assets/index-Dq5A7gWd.css +1 -0
- package/dist/client/index.html +6 -6
- 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/CanvasPanel-DUT9sMKg.js +0 -441
- package/dist/client/assets/canvasStateStore-Dk-UG8_D.js +0 -2
- package/dist/client/assets/index-CB79B6jT.css +0 -1
package/dist/bin.cjs
CHANGED
|
@@ -66335,7 +66335,7 @@ function normalizeNumberish(value) {
|
|
|
66335
66335
|
}
|
|
66336
66336
|
//#endregion
|
|
66337
66337
|
//#region package.json
|
|
66338
|
-
var version$1 = "0.13.
|
|
66338
|
+
var version$1 = "0.13.109";
|
|
66339
66339
|
//#endregion
|
|
66340
66340
|
//#region src/sentry.ts
|
|
66341
66341
|
const SERVER_APP_NAME = "forge-server";
|
|
@@ -300341,7 +300341,7 @@ function resolveBuildCommitFromEnv(env) {
|
|
|
300341
300341
|
* environment descriptor down instead of reporting an honest "unknown".
|
|
300342
300342
|
*/
|
|
300343
300343
|
function readBakedBuildCommit() {
|
|
300344
|
-
return "
|
|
300344
|
+
return "86c84862638cd8f1fdc9df2af99a0a93b2aed2ec";
|
|
300345
300345
|
}
|
|
300346
300346
|
async function resolveServerBuildCommit(input) {
|
|
300347
300347
|
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";
|
|
@@ -50656,7 +50656,7 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
|
50656
50656
|
const min = forceColor || 0;
|
|
50657
50657
|
if (env.TERM === "dumb") return min;
|
|
50658
50658
|
if (process$1.platform === "win32") {
|
|
50659
|
-
const osRelease =
|
|
50659
|
+
const osRelease = $U.release().split(".");
|
|
50660
50660
|
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
50661
50661
|
return 1;
|
|
50662
50662
|
}
|
|
@@ -53099,7 +53099,7 @@ var require_ProcessDetector = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
53099
53099
|
exports.processDetector = void 0;
|
|
53100
53100
|
const api_1 = (init_esm$1(), __toCommonJS(esm_exports$1));
|
|
53101
53101
|
const semconv_1 = require_semconv$1();
|
|
53102
|
-
const os$
|
|
53102
|
+
const os$3 = __require("os");
|
|
53103
53103
|
/**
|
|
53104
53104
|
* ProcessDetector will be used to detect the resources related current process running
|
|
53105
53105
|
* and being instrumented from the NodeJS Process module.
|
|
@@ -53121,7 +53121,7 @@ var require_ProcessDetector = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
53121
53121
|
};
|
|
53122
53122
|
if (process.argv.length > 1) attributes[semconv_1.ATTR_PROCESS_COMMAND] = process.argv[1];
|
|
53123
53123
|
try {
|
|
53124
|
-
const userInfo = os$
|
|
53124
|
+
const userInfo = os$3.userInfo();
|
|
53125
53125
|
attributes[semconv_1.ATTR_PROCESS_OWNER] = userInfo.username;
|
|
53126
53126
|
} catch (e) {
|
|
53127
53127
|
api_1.diag.debug(`error obtaining process owner: ${e}`);
|
|
@@ -66044,7 +66044,7 @@ function normalizeNumberish(value) {
|
|
|
66044
66044
|
}
|
|
66045
66045
|
//#endregion
|
|
66046
66046
|
//#region package.json
|
|
66047
|
-
var version$1 = "0.13.
|
|
66047
|
+
var version$1 = "0.13.109";
|
|
66048
66048
|
//#endregion
|
|
66049
66049
|
//#region src/sentry.ts
|
|
66050
66050
|
const SERVER_APP_NAME = "forge-server";
|
|
@@ -76114,7 +76114,7 @@ var require_node_gyp_build = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
76114
76114
|
var fs$6 = __require("fs");
|
|
76115
76115
|
var path$5 = __require("path");
|
|
76116
76116
|
var url$1 = __require("url");
|
|
76117
|
-
var os$
|
|
76117
|
+
var os$2 = __require("os");
|
|
76118
76118
|
var runtimeRequire = typeof __webpack_require__ === "function" ? __non_webpack_require__ : __require;
|
|
76119
76119
|
var vars = process.config && process.config.variables || {};
|
|
76120
76120
|
var prebuildsOnly = !!process.env.PREBUILDS_ONLY;
|
|
@@ -76122,8 +76122,8 @@ var require_node_gyp_build = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
76122
76122
|
var abi = versions.modules;
|
|
76123
76123
|
if (versions.deno || process.isBun) abi = "unsupported";
|
|
76124
76124
|
var runtime = isElectron() ? "electron" : isNwjs() ? "node-webkit" : "node";
|
|
76125
|
-
var arch = process.env.npm_config_arch || os$
|
|
76126
|
-
var platform = process.env.npm_config_platform || os$
|
|
76125
|
+
var arch = process.env.npm_config_arch || os$2.arch();
|
|
76126
|
+
var platform = process.env.npm_config_platform || os$2.platform();
|
|
76127
76127
|
var libc = process.env.LIBC || (isMusl(platform) ? "musl" : "glibc");
|
|
76128
76128
|
var armv = process.env.ARM_VERSION || (arch === "arm64" ? "8" : vars.arm_version) || "";
|
|
76129
76129
|
var uv = (versions.uv || "").split(".")[0];
|
|
@@ -93967,7 +93967,7 @@ const launchDetached = (launch) => gen(function* () {
|
|
|
93967
93967
|
});
|
|
93968
93968
|
const OpenLive = effect(Open, gen(function* () {
|
|
93969
93969
|
const open = yield* tryPromise({
|
|
93970
|
-
try: () => import("./open-
|
|
93970
|
+
try: () => import("./open-2-reBrpv.mjs"),
|
|
93971
93971
|
catch: (cause) => new OpenError$1({
|
|
93972
93972
|
message: "failed to load browser opener",
|
|
93973
93973
|
cause
|
|
@@ -192236,7 +192236,7 @@ var Vce = {
|
|
|
192236
192236
|
function Ve() {
|
|
192237
192237
|
return Vce;
|
|
192238
192238
|
}
|
|
192239
|
-
var Us =
|
|
192239
|
+
var Us = $U.homedir(), lk = $U.tmpdir(), { env: Vc } = process$1, Yce = (e) => {
|
|
192240
192240
|
let t = path.join(Us, "Library");
|
|
192241
192241
|
return {
|
|
192242
192242
|
data: path.join(t, "Application Support", e),
|
|
@@ -202436,12 +202436,12 @@ function qZ(e, t) {
|
|
|
202436
202436
|
}
|
|
202437
202437
|
return n;
|
|
202438
202438
|
}
|
|
202439
|
-
var os$
|
|
202439
|
+
var os$1 = "https://code.claude.com/docs/en", kKe = [
|
|
202440
202440
|
{
|
|
202441
202441
|
matches: (e) => e.path === "permissions.defaultMode" && e.code === "invalid_value",
|
|
202442
202442
|
tip: {
|
|
202443
202443
|
suggestion: "Valid modes: \"acceptEdits\" (ask before file changes), \"plan\" (analysis only), \"bypassPermissions\" (auto-accept all), or \"default\" (standard behavior)",
|
|
202444
|
-
docLink: `${os$
|
|
202444
|
+
docLink: `${os$1}/iam#permission-modes`
|
|
202445
202445
|
}
|
|
202446
202446
|
},
|
|
202447
202447
|
{
|
|
@@ -202456,7 +202456,7 @@ var os$2 = "https://code.claude.com/docs/en", kKe = [
|
|
|
202456
202456
|
matches: (e) => e.path.startsWith("env.") && e.code === "invalid_type",
|
|
202457
202457
|
tip: {
|
|
202458
202458
|
suggestion: "Environment variables must be strings. Wrap numbers and booleans in quotes. Example: \"DEBUG\": \"true\", \"PORT\": \"3000\"",
|
|
202459
|
-
docLink: `${os$
|
|
202459
|
+
docLink: `${os$1}/settings#environment-variables`
|
|
202460
202460
|
}
|
|
202461
202461
|
},
|
|
202462
202462
|
{
|
|
@@ -202467,14 +202467,14 @@ var os$2 = "https://code.claude.com/docs/en", kKe = [
|
|
|
202467
202467
|
matches: (e) => e.path.startsWith("hooks.") && e.code === "invalid_key",
|
|
202468
202468
|
tip: {
|
|
202469
202469
|
suggestion: "Not a recognized hook event. Common events: PreToolUse, PostToolUse, UserPromptSubmit, SessionStart, SessionEnd, Stop. Check spelling and capitalization.",
|
|
202470
|
-
docLink: `${os$
|
|
202470
|
+
docLink: `${os$1}/hooks`
|
|
202471
202471
|
}
|
|
202472
202472
|
},
|
|
202473
202473
|
{
|
|
202474
202474
|
matches: (e) => /\.hooks\.\d+\.command$/.test(e.path) && e.code === "invalid_type" && e.received === "undefined",
|
|
202475
202475
|
tip: {
|
|
202476
202476
|
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\"}.",
|
|
202477
|
-
docLink: `${os$
|
|
202477
|
+
docLink: `${os$1}/hooks#exec-form-and-shell-form`
|
|
202478
202478
|
}
|
|
202479
202479
|
},
|
|
202480
202480
|
{
|
|
@@ -202489,7 +202489,7 @@ var os$2 = "https://code.claude.com/docs/en", kKe = [
|
|
|
202489
202489
|
matches: (e) => e.code === "unrecognized_keys",
|
|
202490
202490
|
tip: {
|
|
202491
202491
|
suggestion: "Check for typos or refer to the documentation for valid fields",
|
|
202492
|
-
docLink: `${os$
|
|
202492
|
+
docLink: `${os$1}/settings`
|
|
202493
202493
|
}
|
|
202494
202494
|
},
|
|
202495
202495
|
{
|
|
@@ -202504,13 +202504,13 @@ var os$2 = "https://code.claude.com/docs/en", kKe = [
|
|
|
202504
202504
|
matches: (e) => e.path === "permissions.additionalDirectories" && e.code === "invalid_type",
|
|
202505
202505
|
tip: {
|
|
202506
202506
|
suggestion: "Must be an array of directory paths. Example: [\"~/projects\", \"/tmp/workspace\"]. You can also use --add-dir flag or /add-dir command",
|
|
202507
|
-
docLink: `${os$
|
|
202507
|
+
docLink: `${os$1}/iam#working-directories`
|
|
202508
202508
|
}
|
|
202509
202509
|
}
|
|
202510
202510
|
], AKe = {
|
|
202511
|
-
permissions: `${os$
|
|
202512
|
-
env: `${os$
|
|
202513
|
-
hooks: `${os$
|
|
202511
|
+
permissions: `${os$1}/iam#configuring-permissions`,
|
|
202512
|
+
env: `${os$1}/settings#environment-variables`,
|
|
202513
|
+
hooks: `${os$1}/hooks`
|
|
202514
202514
|
};
|
|
202515
202515
|
function GZ(e) {
|
|
202516
202516
|
let t = kKe.find((r) => r.matches(e));
|
|
@@ -271035,7 +271035,7 @@ var import_multicast_dns = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMi
|
|
|
271035
271035
|
var dgram = __require("dgram");
|
|
271036
271036
|
var thunky = require_thunky();
|
|
271037
271037
|
var events = __require("events");
|
|
271038
|
-
var os
|
|
271038
|
+
var os = __require("os");
|
|
271039
271039
|
var noop = function() {};
|
|
271040
271040
|
module.exports = function(opts) {
|
|
271041
271041
|
if (!opts) opts = {};
|
|
@@ -271166,14 +271166,14 @@ var import_multicast_dns = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMi
|
|
|
271166
271166
|
return that;
|
|
271167
271167
|
};
|
|
271168
271168
|
function defaultInterface() {
|
|
271169
|
-
var networks = os
|
|
271169
|
+
var networks = os.networkInterfaces();
|
|
271170
271170
|
var names = Object.keys(networks);
|
|
271171
271171
|
for (var i = 0; i < names.length; i++) {
|
|
271172
271172
|
var net = networks[names[i]];
|
|
271173
271173
|
for (var j = 0; j < net.length; j++) {
|
|
271174
271174
|
var iface = net[j];
|
|
271175
271175
|
if (isIPv4(iface.family) && !iface.internal) {
|
|
271176
|
-
if (os
|
|
271176
|
+
if (os.platform() === "darwin" && names[i] === "en0") return iface.address;
|
|
271177
271177
|
return "0.0.0.0";
|
|
271178
271178
|
}
|
|
271179
271179
|
}
|
|
@@ -271181,7 +271181,7 @@ var import_multicast_dns = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMi
|
|
|
271181
271181
|
return "127.0.0.1";
|
|
271182
271182
|
}
|
|
271183
271183
|
function allInterfaces() {
|
|
271184
|
-
var networks = os
|
|
271184
|
+
var networks = os.networkInterfaces();
|
|
271185
271185
|
var names = Object.keys(networks);
|
|
271186
271186
|
var res = [];
|
|
271187
271187
|
for (var i = 0; i < names.length; i++) {
|
|
@@ -299788,7 +299788,7 @@ function resolveBuildCommitFromEnv(env) {
|
|
|
299788
299788
|
* environment descriptor down instead of reporting an honest "unknown".
|
|
299789
299789
|
*/
|
|
299790
299790
|
function readBakedBuildCommit() {
|
|
299791
|
-
return "
|
|
299791
|
+
return "86c84862638cd8f1fdc9df2af99a0a93b2aed2ec";
|
|
299792
299792
|
}
|
|
299793
299793
|
async function resolveServerBuildCommit(input) {
|
|
299794
299794
|
if (isFullCommitSha(input.baked)) return input.baked;
|
|
@@ -324810,7 +324810,7 @@ const connectLoginCommand = make$33("login", {
|
|
|
324810
324810
|
})).json();
|
|
324811
324811
|
},
|
|
324812
324812
|
openBrowser: async (url) => {
|
|
324813
|
-
const open = (await import("./open-
|
|
324813
|
+
const open = (await import("./open-2-reBrpv.mjs")).default;
|
|
324814
324814
|
await open(url);
|
|
324815
324815
|
return true;
|
|
324816
324816
|
},
|