sunpeak 0.20.51 → 0.20.56
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/bin/commands/inspect.mjs +122 -17
- package/bin/lib/sandbox-server.mjs +34 -5
- package/bin/lib/test/base-config.mjs +8 -1
- package/dist/chatgpt/index.cjs +1 -1
- package/dist/chatgpt/index.js +1 -1
- package/dist/claude/index.cjs +1 -1
- package/dist/claude/index.js +1 -1
- package/dist/embed.css +2 -2
- package/dist/host/chatgpt/index.cjs +1 -1
- package/dist/host/chatgpt/index.js +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/inspector/index.cjs +1 -1
- package/dist/inspector/index.js +1 -1
- package/dist/{inspector-DQyl36w3.js → inspector-BYuRWH6c.js} +36 -7
- package/dist/inspector-BYuRWH6c.js.map +1 -0
- package/dist/{inspector-WPF8mKwk.cjs → inspector-CoBJOqh4.cjs} +36 -7
- package/dist/inspector-CoBJOqh4.cjs.map +1 -0
- package/dist/mcp/index.cjs +1 -1
- package/dist/mcp/index.cjs.map +1 -1
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/index.js.map +1 -1
- package/dist/sandbox-proxy.html +34 -5
- package/dist/style.css +27 -27
- package/dist/{use-app-DzgUHmdH.cjs → use-app-DrKg-OJp.cjs} +2 -2
- package/dist/{use-app-DzgUHmdH.cjs.map → use-app-DrKg-OJp.cjs.map} +1 -1
- package/dist/{use-app-j3as_y6c.js → use-app-nZXXvUxc.js} +2 -2
- package/dist/{use-app-j3as_y6c.js.map → use-app-nZXXvUxc.js.map} +1 -1
- package/package.json +18 -18
- package/template/dist/albums/albums.html +1 -1
- package/template/dist/albums/albums.json +1 -1
- package/template/dist/carousel/carousel.html +1 -1
- package/template/dist/carousel/carousel.json +1 -1
- package/template/dist/map/map.html +536 -492
- package/template/dist/map/map.json +1 -1
- package/template/dist/review/review.html +1 -1
- package/template/dist/review/review.json +1 -1
- package/template/node_modules/.bin/vite +2 -2
- package/template/node_modules/.bin/vitest +2 -2
- package/template/node_modules/.vite/deps/_metadata.json +4 -4
- package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps.js +1 -1
- package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_app-bridge.js +1 -1
- package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_app-bridge.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_react.js +1 -1
- package/template/node_modules/.vite-mcp/deps/@modelcontextprotocol_ext-apps_react.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/_metadata.json +25 -25
- package/template/node_modules/.vite-mcp/deps/mapbox-gl.js +32928 -31943
- package/template/node_modules/.vite-mcp/deps/mapbox-gl.js.map +1 -1
- package/template/node_modules/.vite-mcp/deps/vitest.js +21 -21
- package/template/node_modules/.vite-mcp/deps/vitest.js.map +1 -1
- package/template/package.json +7 -7
- package/template/tests/e2e/albums.spec.ts +0 -26
- package/template/tests/e2e/carousel.spec.ts +7 -63
- package/template/tests/e2e/map.spec.ts +0 -28
- package/template/tests/e2e/review.spec.ts +8 -45
- package/template/tests/e2e/visual.spec.ts-snapshots/albums-dark-chatgpt-linux.png +0 -0
- package/template/tests/e2e/visual.spec.ts-snapshots/albums-dark-claude-linux.png +0 -0
- package/template/tests/e2e/visual.spec.ts-snapshots/albums-fullscreen-chatgpt-linux.png +0 -0
- package/template/tests/e2e/visual.spec.ts-snapshots/albums-fullscreen-claude-darwin.png +0 -0
- package/template/tests/e2e/visual.spec.ts-snapshots/albums-fullscreen-claude-linux.png +0 -0
- package/template/tests/e2e/visual.spec.ts-snapshots/albums-light-chatgpt-linux.png +0 -0
- package/template/tests/e2e/visual.spec.ts-snapshots/albums-light-claude-linux.png +0 -0
- package/dist/inspector-DQyl36w3.js.map +0 -1
- package/dist/inspector-WPF8mKwk.cjs.map +0 -1
|
@@ -82,7 +82,7 @@ function C({ force: e } = {}) {
|
|
|
82
82
|
}
|
|
83
83
|
var y = C();
|
|
84
84
|
//#endregion
|
|
85
|
-
//#region ../../../node_modules/.pnpm/@vitest+pretty-format@4.1.
|
|
85
|
+
//#region ../../../node_modules/.pnpm/@vitest+pretty-format@4.1.9/node_modules/@vitest/pretty-format/dist/index.js
|
|
86
86
|
function _mergeNamespaces(n, m) {
|
|
87
87
|
m.forEach(function(e) {
|
|
88
88
|
e && typeof e !== "string" && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
|
|
@@ -965,7 +965,7 @@ var plugins = {
|
|
|
965
965
|
Error: ErrorPlugin
|
|
966
966
|
};
|
|
967
967
|
//#endregion
|
|
968
|
-
//#region ../../../node_modules/.pnpm/@vitest+utils@4.1.
|
|
968
|
+
//#region ../../../node_modules/.pnpm/@vitest+utils@4.1.9/node_modules/@vitest/utils/dist/display.js
|
|
969
969
|
var ansiColors$1 = {
|
|
970
970
|
bold: ["1", "22"],
|
|
971
971
|
dim: ["2", "22"],
|
|
@@ -1519,7 +1519,7 @@ function objDisplay$1(obj, options = {}) {
|
|
|
1519
1519
|
return str;
|
|
1520
1520
|
}
|
|
1521
1521
|
//#endregion
|
|
1522
|
-
//#region ../../../node_modules/.pnpm/@vitest+utils@4.1.
|
|
1522
|
+
//#region ../../../node_modules/.pnpm/@vitest+utils@4.1.9/node_modules/@vitest/utils/dist/helpers.js
|
|
1523
1523
|
/**
|
|
1524
1524
|
* Get original stacktrace without source map support the most performant way.
|
|
1525
1525
|
* - Create only 1 stack frame.
|
|
@@ -3005,7 +3005,7 @@ function getCommonAndChangedSubstrings(diffs, op, hasCommonDiff) {
|
|
|
3005
3005
|
return diffs.reduce((reduced, diff) => reduced + (diff[0] === 0 ? diff[1] : diff[0] === op ? hasCommonDiff ? y.inverse(diff[1]) : diff[1] : ""), "");
|
|
3006
3006
|
}
|
|
3007
3007
|
//#endregion
|
|
3008
|
-
//#region ../../../node_modules/.pnpm/@vitest+utils@4.1.
|
|
3008
|
+
//#region ../../../node_modules/.pnpm/@vitest+utils@4.1.9/node_modules/@vitest/utils/dist/serialize.js
|
|
3009
3009
|
var IS_RECORD_SYMBOL$1 = "@@__IMMUTABLE_RECORD__@@";
|
|
3010
3010
|
var IS_COLLECTION_SYMBOL = "@@__IMMUTABLE_ITERABLE__@@";
|
|
3011
3011
|
function isImmutable(v) {
|
|
@@ -3079,7 +3079,7 @@ function normalizeErrorMessage(message) {
|
|
|
3079
3079
|
return message.replace(/\(0\s?,\s?__vite_ssr_import_\d+__.(\w+)\)/g, "$1").replace(/__(vite_ssr_import|vi_import)_\d+__\./g, "").replace(/getByTestId('__vitest_\d+__')/g, "page");
|
|
3080
3080
|
}
|
|
3081
3081
|
//#endregion
|
|
3082
|
-
//#region ../../../node_modules/.pnpm/@vitest+utils@4.1.
|
|
3082
|
+
//#region ../../../node_modules/.pnpm/@vitest+utils@4.1.9/node_modules/@vitest/utils/dist/error.js
|
|
3083
3083
|
function processError(_err, diffOptions, seen = /* @__PURE__ */ new WeakSet()) {
|
|
3084
3084
|
if (!_err || typeof _err !== "object") return { message: String(_err) };
|
|
3085
3085
|
const err = _err;
|
|
@@ -3109,7 +3109,7 @@ function prettifyValue(value, options) {
|
|
|
3109
3109
|
return value;
|
|
3110
3110
|
}
|
|
3111
3111
|
//#endregion
|
|
3112
|
-
//#region ../../../node_modules/.pnpm/@vitest+utils@4.1.
|
|
3112
|
+
//#region ../../../node_modules/.pnpm/@vitest+utils@4.1.9/node_modules/@vitest/utils/dist/timers.js
|
|
3113
3113
|
var SAFE_TIMERS_SYMBOL = Symbol("vitest:SAFE_TIMERS");
|
|
3114
3114
|
function getSafeTimers() {
|
|
3115
3115
|
const { setTimeout: safeSetTimeout, setInterval: safeSetInterval, clearInterval: safeClearInterval, clearTimeout: safeClearTimeout, setImmediate: safeSetImmediate, clearImmediate: safeClearImmediate, queueMicrotask: safeQueueMicrotask } = globalThis[SAFE_TIMERS_SYMBOL] || globalThis;
|
|
@@ -3143,7 +3143,7 @@ function delay(timeout, scheduler = setTimeout) {
|
|
|
3143
3143
|
return new Promise((resolve) => scheduler(resolve, timeout));
|
|
3144
3144
|
}
|
|
3145
3145
|
//#endregion
|
|
3146
|
-
//#region ../../../node_modules/.pnpm/@vitest+utils@4.1.
|
|
3146
|
+
//#region ../../../node_modules/.pnpm/@vitest+utils@4.1.9/node_modules/@vitest/utils/dist/chunk-pathe.M-eThtNZ.js
|
|
3147
3147
|
var _DRIVE_LETTER_START_RE$2 = /^[A-Za-z]:\//;
|
|
3148
3148
|
function normalizeWindowsPath$2(input = "") {
|
|
3149
3149
|
if (!input) return input;
|
|
@@ -3222,7 +3222,7 @@ var isAbsolute$2 = function(p) {
|
|
|
3222
3222
|
return _IS_ABSOLUTE_RE$2.test(p);
|
|
3223
3223
|
};
|
|
3224
3224
|
//#endregion
|
|
3225
|
-
//#region ../../../node_modules/.pnpm/@vitest+utils@4.1.
|
|
3225
|
+
//#region ../../../node_modules/.pnpm/@vitest+utils@4.1.9/node_modules/@vitest/utils/dist/source-map.js
|
|
3226
3226
|
var comma$1 = ",".charCodeAt(0);
|
|
3227
3227
|
var chars$1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
3228
3228
|
var intToChar$1 = new Uint8Array(64);
|
|
@@ -3695,7 +3695,7 @@ var dirname$1 = function(p) {
|
|
|
3695
3695
|
return segments.join("/") || (isAbsolute$1(p) ? "/" : ".");
|
|
3696
3696
|
};
|
|
3697
3697
|
//#endregion
|
|
3698
|
-
//#region ../../../node_modules/.pnpm/@vitest+runner@4.1.
|
|
3698
|
+
//#region ../../../node_modules/.pnpm/@vitest+runner@4.1.9/node_modules/@vitest/runner/dist/chunk-artifact.js
|
|
3699
3699
|
var PendingError = class extends Error {
|
|
3700
3700
|
code = "VITEST_PENDING";
|
|
3701
3701
|
taskId;
|
|
@@ -5520,7 +5520,7 @@ function manageArtifactAttachment(attachment) {
|
|
|
5520
5520
|
if (attachment.body != null) attachment.bodyEncoding ??= "base64";
|
|
5521
5521
|
}
|
|
5522
5522
|
//#endregion
|
|
5523
|
-
//#region ../../../node_modules/.pnpm/vitest@4.1.
|
|
5523
|
+
//#region ../../../node_modules/.pnpm/vitest@4.1.9_@opentelemetry+api@1.9.1_@types+node@26.0.0_happy-dom@20.10.6_jsdom@29.0.1_43294bd08e6bd712a985f450b18c860f/node_modules/vitest/dist/chunks/utils.BX5Fg8C4.js
|
|
5524
5524
|
var NAME_WORKER_STATE = "__vitest_worker__";
|
|
5525
5525
|
function getWorkerState() {
|
|
5526
5526
|
const workerState = globalThis[NAME_WORKER_STATE];
|
|
@@ -5560,7 +5560,7 @@ async function waitForImportsToResolve() {
|
|
|
5560
5560
|
await waitForImportsToResolve();
|
|
5561
5561
|
}
|
|
5562
5562
|
//#endregion
|
|
5563
|
-
//#region ../../../node_modules/.pnpm/vitest@4.1.
|
|
5563
|
+
//#region ../../../node_modules/.pnpm/vitest@4.1.9_@opentelemetry+api@1.9.1_@types+node@26.0.0_happy-dom@20.10.6_jsdom@29.0.1_43294bd08e6bd712a985f450b18c860f/node_modules/vitest/dist/chunks/benchmark.CX_oY03V.js
|
|
5564
5564
|
var benchFns = /* @__PURE__ */ new WeakMap();
|
|
5565
5565
|
var benchOptsMap = /* @__PURE__ */ new WeakMap();
|
|
5566
5566
|
function getBenchOptions(key) {
|
|
@@ -5593,7 +5593,7 @@ function formatName(name) {
|
|
|
5593
5593
|
return typeof name === "string" ? name : typeof name === "function" ? name.name || "<anonymous>" : String(name);
|
|
5594
5594
|
}
|
|
5595
5595
|
//#endregion
|
|
5596
|
-
//#region ../../../node_modules/.pnpm/@vitest+spy@4.1.
|
|
5596
|
+
//#region ../../../node_modules/.pnpm/@vitest+spy@4.1.9/node_modules/@vitest/spy/dist/index.js
|
|
5597
5597
|
function isMockFunction(fn) {
|
|
5598
5598
|
return typeof fn === "function" && "_isMockFunction" in fn && fn._isMockFunction === true;
|
|
5599
5599
|
}
|
|
@@ -8957,7 +8957,7 @@ function use(fn) {
|
|
|
8957
8957
|
}
|
|
8958
8958
|
__name(use, "use");
|
|
8959
8959
|
//#endregion
|
|
8960
|
-
//#region ../../../node_modules/.pnpm/@vitest+expect@4.1.
|
|
8960
|
+
//#region ../../../node_modules/.pnpm/@vitest+expect@4.1.9/node_modules/@vitest/expect/dist/index.js
|
|
8961
8961
|
var ChaiStyleAssertions = (chai, utils) => {
|
|
8962
8962
|
function defProperty(name, delegateTo) {
|
|
8963
8963
|
utils.addProperty(chai.Assertion.prototype, name, function() {
|
|
@@ -10419,7 +10419,7 @@ var JestExtend = (chai, utils) => {
|
|
|
10419
10419
|
});
|
|
10420
10420
|
};
|
|
10421
10421
|
//#endregion
|
|
10422
|
-
//#region ../../../node_modules/.pnpm/@vitest+utils@4.1.
|
|
10422
|
+
//#region ../../../node_modules/.pnpm/@vitest+utils@4.1.9/node_modules/@vitest/utils/dist/offset.js
|
|
10423
10423
|
var lineSplitRE = /\r?\n/;
|
|
10424
10424
|
function positionToOffset(source, lineNumber, columnNumber) {
|
|
10425
10425
|
const lines = source.split(lineSplitRE);
|
|
@@ -10443,10 +10443,10 @@ function offsetToLineNumber(source, offset) {
|
|
|
10443
10443
|
return line + 1;
|
|
10444
10444
|
}
|
|
10445
10445
|
//#endregion
|
|
10446
|
-
//#region ../../../node_modules/.pnpm/vitest@4.1.
|
|
10446
|
+
//#region ../../../node_modules/.pnpm/vitest@4.1.9_@opentelemetry+api@1.9.1_@types+node@26.0.0_happy-dom@20.10.6_jsdom@29.0.1_43294bd08e6bd712a985f450b18c860f/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js
|
|
10447
10447
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
10448
10448
|
//#endregion
|
|
10449
|
-
//#region ../../../node_modules/.pnpm/vitest@4.1.
|
|
10449
|
+
//#region ../../../node_modules/.pnpm/vitest@4.1.9_@opentelemetry+api@1.9.1_@types+node@26.0.0_happy-dom@20.10.6_jsdom@29.0.1_43294bd08e6bd712a985f450b18c860f/node_modules/vitest/dist/chunks/rpc.MzXet3jl.js
|
|
10450
10450
|
var RealDate = Date;
|
|
10451
10451
|
var now = null;
|
|
10452
10452
|
var MockDate = class MockDate extends RealDate {
|
|
@@ -10499,7 +10499,7 @@ function rpc() {
|
|
|
10499
10499
|
return rpc;
|
|
10500
10500
|
}
|
|
10501
10501
|
//#endregion
|
|
10502
|
-
//#region ../../../node_modules/.pnpm/@vitest+snapshot@4.1.
|
|
10502
|
+
//#region ../../../node_modules/.pnpm/@vitest+snapshot@4.1.9/node_modules/@vitest/snapshot/dist/index.js
|
|
10503
10503
|
function getDefaultExportFromCjs(x) {
|
|
10504
10504
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
10505
10505
|
}
|
|
@@ -11413,7 +11413,7 @@ function raceWith(promise, other) {
|
|
|
11413
11413
|
}))]);
|
|
11414
11414
|
}
|
|
11415
11415
|
//#endregion
|
|
11416
|
-
//#region ../../../node_modules/.pnpm/vitest@4.1.
|
|
11416
|
+
//#region ../../../node_modules/.pnpm/vitest@4.1.9_@opentelemetry+api@1.9.1_@types+node@26.0.0_happy-dom@20.10.6_jsdom@29.0.1_43294bd08e6bd712a985f450b18c860f/node_modules/vitest/dist/chunks/test.DNmyFkvJ.js
|
|
11417
11417
|
var fakeTimersSrc = {};
|
|
11418
11418
|
var global$1;
|
|
11419
11419
|
var hasRequiredGlobal;
|
|
@@ -14432,7 +14432,7 @@ function clearModuleMocks(config) {
|
|
|
14432
14432
|
if (unstubGlobals) vi.unstubAllGlobals();
|
|
14433
14433
|
}
|
|
14434
14434
|
//#endregion
|
|
14435
|
-
//#region ../../../node_modules/.pnpm/vite@8.0.16_@types+node@
|
|
14435
|
+
//#region ../../../node_modules/.pnpm/vite@8.0.16_@types+node@26.0.0_esbuild@0.28.1_jiti@2.7.0_tsx@4.22.4/node_modules/vite/dist/node/module-runner.js
|
|
14436
14436
|
var SOURCEMAPPING_URL = "sourceMa";
|
|
14437
14437
|
SOURCEMAPPING_URL += "ppingURL";
|
|
14438
14438
|
var isWindows = typeof process < "u" && process.platform === "win32";
|
|
@@ -14630,7 +14630,7 @@ new Proxy({}, { get(_, p) {
|
|
|
14630
14630
|
throw Error(`[module runner] Dynamic access of "import.meta.env" is not supported. Please, use "import.meta.env.${String(p)}" instead.`);
|
|
14631
14631
|
} });
|
|
14632
14632
|
//#endregion
|
|
14633
|
-
//#region ../../../node_modules/.pnpm/vitest@4.1.
|
|
14633
|
+
//#region ../../../node_modules/.pnpm/vitest@4.1.9_@opentelemetry+api@1.9.1_@types+node@26.0.0_happy-dom@20.10.6_jsdom@29.0.1_43294bd08e6bd712a985f450b18c860f/node_modules/vitest/dist/chunks/evaluatedModules.Dg1zASAC.js
|
|
14634
14634
|
var VitestEvaluatedModules = class extends EvaluatedModules {
|
|
14635
14635
|
getModuleSourceMapById(id) {
|
|
14636
14636
|
const map = super.getModuleSourceMapById(id);
|
|
@@ -14663,7 +14663,7 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
14663
14663
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14664
14664
|
}));
|
|
14665
14665
|
//#endregion
|
|
14666
|
-
//#region ../../../node_modules/.pnpm/vitest@4.1.
|
|
14666
|
+
//#region ../../../node_modules/.pnpm/vitest@4.1.9_@opentelemetry+api@1.9.1_@types+node@26.0.0_happy-dom@20.10.6_jsdom@29.0.1_43294bd08e6bd712a985f450b18c860f/node_modules/vitest/dist/chunks/index.DdgEv5B1.js
|
|
14667
14667
|
var import_dist = (/* @__PURE__ */ __commonJSMin(((exports) => {
|
|
14668
14668
|
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
14669
14669
|
if (k2 === void 0) k2 = k;
|