From 6ae0d34eb0ead5c565f18c6c35f1a1c24eed7f58 Mon Sep 17 00:00:00 2001 From: ggbdpq Date: Tue, 29 Sep 2026 07:08:19 +0800 Subject: [PATCH 01/12] ci(perf): retire the broken transcript data-plane benchmark The transcript data-plane benchmark called store.readTranscriptPageSnapshot, which #4879 removed when Session transcripts moved to the RuntimeEvent ledger; the storage contract kept only readTranscriptHighWaterSnapshot, so the script has crashed on main ever since. Retire rather than repair: the script seeded its fixture through store.appendMessages, and rows written that way never reach the RuntimeEvent ledger the replacement reader pages from, so pointing the same harness at the new reader would page an empty Session. A repair means rebuilding the fixture through the composition's turn pipeline - which is exactly what #5800's benchmark:hydration-e2e already measures end to end (subscription.open tail bootstrap, session.transcript.page paging through real handlers, production ClientSessionSubscription decode). Drop the script and its dead benchmark:transcript entry rather than duplicate that harness. Refs #4677 Generated-by: GLM-5.3-Flash (ZCode) --- packages/runtime-host/package.json | 1 - .../transcript-data-plane-benchmark.mjs | 174 ------------------ 2 files changed, 175 deletions(-) delete mode 100644 packages/runtime-host/scripts/transcript-data-plane-benchmark.mjs diff --git a/packages/runtime-host/package.json b/packages/runtime-host/package.json index 2aa419e18fa..6835a331908 100644 --- a/packages/runtime-host/package.json +++ b/packages/runtime-host/package.json @@ -25,7 +25,6 @@ "clean": "node ../../scripts/clean-paths.mjs dist tsconfig.tsbuildinfo", "build": "tsc -p tsconfig.json", "benchmark:session-copy": "node scripts/session-copy-cost-benchmark.mjs", - "benchmark:transcript": "node scripts/transcript-data-plane-benchmark.mjs", "typecheck": "tsc -p tsconfig.json --noEmit", "test:dist": "node --test \"dist/**/*.test.js\"" }, diff --git a/packages/runtime-host/scripts/transcript-data-plane-benchmark.mjs b/packages/runtime-host/scripts/transcript-data-plane-benchmark.mjs deleted file mode 100644 index b76f718457f..00000000000 --- a/packages/runtime-host/scripts/transcript-data-plane-benchmark.mjs +++ /dev/null @@ -1,174 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import { performance } from 'node:perf_hooks'; -import { mkdtemp, rm } from 'node:fs/promises'; -import { tmpdir } from 'node:os'; -import { join } from 'node:path'; -import { createSessionStore } from '@maka/storage/session-store'; -import { ClientSessionSubscription } from '../dist/client/session-subscription.js'; -import { SESSION_CONTINUITY_SCHEMA_VERSION } from '../dist/protocol/index.js'; -import { - createSessionTranscriptBootstrap, - readSessionTranscriptPage, -} from '../dist/server/session-transcript-pager.js'; - -const BOOTSTRAP_BYTES = 16 * 1024; -const RTT_MS = Number.parseInt(process.env.MAKA_TRANSCRIPT_BENCHMARK_RTT_MS ?? '20', 10); -const cases = [ - { name: '5k-small-messages', messages: 5_000, textBytes: 96 }, - { name: '15MiB-single-message', messages: 1, textBytes: 15 * 1024 * 1024 }, - { name: '17MiB-transcript', totalBytes: 17 * 1024 * 1024, textBytes: 4 * 1024 }, - { name: '64MiB-transcript', totalBytes: 64 * 1024 * 1024, textBytes: 4 * 1024 }, -]; - -const results = []; -for (const fixture of cases) results.push(await runFixture(fixture)); -console.table(results); - -async function runFixture(fixture) { - const messages = buildMessages(fixture); - const root = await mkdtemp(join(tmpdir(), 'maka-transcript-benchmark-')); - const store = createSessionStore(root); - const setupAt = performance.now(); - const session = await store.create({ - cwd: root, - backend: 'fake', - llmConnectionSlug: 'fake', - model: 'fake-model', - permissionMode: 'ask', - name: fixture.name, - labels: [], - }); - await store.appendMessages(session.id, messages); - const setupMs = performance.now() - setupAt; - const reader = sqliteReader(store); - try { - const openedAt = performance.now(); - const throughSequence = await reader.readDurableHighWater(session.id); - const { bootstrap, state } = await createSessionTranscriptBootstrap({ - reader, - sessionId: session.id, - subscriptionId: `benchmark-${fixture.name}`, - throughSequence, - maxBytes: BOOTSTRAP_BYTES, - projection: 'owner', - }); - const bootstrapCpuMs = performance.now() - openedAt; - let pageRequests = 0; - let transferredRawBytes = bootstrap.durable.rawBytes; - const subscription = new ClientSessionSubscription( - { - hostEpoch: 'benchmark-host', - subscriptionId: state.subscriptionId, - nextSequence: 1, - activeAssistantStreams: [], - transcript: bootstrap, - snapshot: { - schemaVersion: SESSION_CONTINUITY_SCHEMA_VERSION, - session: { - sessionId: state.sessionId, - metadataRevision: 1, - status: 'active', - createdAt: 1, - isArchived: false, - }, - projectionRevision: 1, - rootTurn: null, - goal: null, - queue: { - hostEpoch: 'benchmark-host', - queueRevision: 0, - steering: [], - followup: [], - }, - interactions: { pending: [] }, - }, - }, - async () => undefined, - async (request) => { - pageRequests += 1; - const page = await readSessionTranscriptPage({ reader, state, request }); - transferredRawBytes += page.rawBytes; - return page; - }, - ); - const materializeAt = performance.now(); - const materialized = await subscription.loadTranscript((value) => value); - const materializeCpuMs = performance.now() - materializeAt; - if (materialized.length !== messages.length) { - throw new Error( - `${fixture.name} materialized ${materialized.length}/${messages.length} messages`, - ); - } - const wireRequests = 1 + pageRequests; - return { - fixture: fixture.name, - messages: messages.length, - rawMiB: decimalMiB(transferredRawBytes), - bootstrapKiB: decimalKiB(bootstrap.durable.rawBytes), - wireRequests, - pageRequests, - setupMs: setupMs.toFixed(1), - bootstrapCpuMs: bootstrapCpuMs.toFixed(1), - materializeCpuMs: materializeCpuMs.toFixed(1), - modeledRttFloorMs: wireRequests * RTT_MS, - }; - } finally { - await store.close?.(); - await rm(root, { recursive: true, force: true }); - } -} - -function buildMessages(fixture) { - const messages = []; - let encodedBytes = 0; - const targetCount = fixture.messages ?? Number.POSITIVE_INFINITY; - while ( - messages.length < targetCount && - (fixture.totalBytes === undefined || encodedBytes < fixture.totalBytes) - ) { - const index = messages.length; - const message = { - type: 'user', - id: `message-${index}`, - turnId: `turn-${index}`, - ts: index + 1, - text: 'x'.repeat(fixture.textBytes), - }; - messages.push(message); - encodedBytes += Buffer.byteLength(JSON.stringify(message), 'utf8'); - } - return messages; -} - -function sqliteReader(store) { - return { - readDurableHighWater: (sessionId) => store.readTranscriptHighWaterSnapshot(sessionId), - readDurablePage: (sessionId, request) => store.readTranscriptPageSnapshot(sessionId, request), - }; -} - -function decimalMiB(bytes) { - return (bytes / (1024 * 1024)).toFixed(2); -} - -function decimalKiB(bytes) { - return (bytes / 1024).toFixed(2); -} From fb00994f5ea64890770e5dc52c0d0c5c717ad990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=B3=E5=A4=A9=E8=B1=AA?= Date: Tue, 29 Sep 2026 09:21:37 +0800 Subject: [PATCH 02/12] chore(ci): retrigger the release lanes after the undici advisory The tarball and audit lanes failed on npm resolving undici@7.29.0 for the CLI release tree - GHSA-3wwx-pv8p-q78v was published against that version, and undici 7.29.1 (the fixed release) is out. Tree-identical retrigger so the installer resolves the patched version. Generated-by: GLM-5.3-Flash (ZCode) From 879222a029f24f8ac39358b11f8c5db5968ac1b3 Mon Sep 17 00:00:00 2001 From: ggbdpq Date: Tue, 29 Sep 2026 09:47:04 +0800 Subject: [PATCH 03/12] fix(deps): move undici past GHSA-3wwx-pv8p-q78v The release/audit lanes fail because the lockfile pins undici@7.29.0 (three nested copies) and undici@6.28.0, both in the advisory's range; the release tree installs from the lockfile, so no retrigger helps. Overrides pin each consumer to the fixed release of its own major (7.30.0 / 6.29.0 / 8.11.2), and packages/runtime is pinned to exactly 7.30.0 because @slack/socket-mode's peer demands ^7 while runtime code needs a working WebSocket/fetch/buildConnector (gateway and plugin-client-bridge tests pass on 7.30.0). Generated-by: GLM-5.3-Flash (ZCode) --- package-lock.json | 458 ++-------------------------------- package.json | 18 ++ packages/runtime/package.json | 2 +- 3 files changed, 41 insertions(+), 437 deletions(-) diff --git a/package-lock.json b/package-lock.json index 32e92424cbd..38a202ddb25 100644 --- a/package-lock.json +++ b/package-lock.json @@ -338,9 +338,9 @@ } }, "node_modules/@ai-sdk/provider-utils/node_modules/undici": { - "version": "7.29.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-7.29.0.tgz", - "integrity": "sha512-IDxfleLmmbSskfWSUATiN1nfn2rDuvnMOqb5CWR92iIfojA0Ud+ulOAAEQ57LPr9rWmsreUyf5lwyao+7GNNVw==", + "version": "7.30.0", + "resolved": "https://registry.npmmirror.com/undici/-/undici-7.30.0.tgz", + "integrity": "sha512-dkrQXeHSaoamnItlYbmzG0wFYrM0ZwDxCIg0A7aKjTyyhh9svRzCNFEzV+Vm05/yehjCzjDZ31KXfGEjYSztDQ==", "license": "MIT", "engines": { "node": ">=20.18.1" @@ -1832,9 +1832,9 @@ } }, "node_modules/@electron/get/node_modules/undici": { - "version": "7.29.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-7.29.0.tgz", - "integrity": "sha512-IDxfleLmmbSskfWSUATiN1nfn2rDuvnMOqb5CWR92iIfojA0Ud+ulOAAEQ57LPr9rWmsreUyf5lwyao+7GNNVw==", + "version": "7.30.0", + "resolved": "https://registry.npmmirror.com/undici/-/undici-7.30.0.tgz", + "integrity": "sha512-dkrQXeHSaoamnItlYbmzG0wFYrM0ZwDxCIg0A7aKjTyyhh9svRzCNFEzV+Vm05/yehjCzjDZ31KXfGEjYSztDQ==", "dev": true, "license": "MIT", "optional": true, @@ -2094,45 +2094,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@electron/windows-sign": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@electron/windows-sign/-/windows-sign-1.2.2.tgz", - "integrity": "sha512-dfZeox66AvdPtb2lD8OsIIQh12Tp0GNCRUDfBHIKGpbmopZto2/A8nSpYYLoedPIHpqkeblZ/k8OV0Gy7PYuyQ==", - "dev": true, - "license": "BSD-2-Clause", - "optional": true, - "peer": true, - "dependencies": { - "cross-dirname": "^0.1.0", - "debug": "^4.3.4", - "fs-extra": "^11.1.1", - "minimist": "^1.2.8", - "postject": "^1.0.0-alpha.6" - }, - "bin": { - "electron-windows-sign": "bin/electron-windows-sign.js" - }, - "engines": { - "node": ">=14.14" - } - }, - "node_modules/@electron/windows-sign/node_modules/fs-extra": { - "version": "11.4.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.4.0.tgz", - "integrity": "sha512-EQsFzMUJkCKGr1ePqlYADkIUmHW1s3ZXr5Yqy6wbGrfUCphpl2maM/kyOIRA2HpP3AaFQTZXD4ldjek+nccddA==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, "node_modules/@emnapi/core": { "version": "1.11.2", "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.11.2.tgz", @@ -5194,18 +5155,6 @@ } } }, - "node_modules/@stylexjs/stylex": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/@stylexjs/stylex/-/stylex-0.19.0.tgz", - "integrity": "sha512-CnUFp7YMaDLDeemsWOfJgoC/gKM5P/yBNMcpJaE6ChJmXr7s0DJwSeGTTlHJcqqwN9OW1qGtmARWLFhGZN1pTA==", - "license": "MIT", - "peer": true, - "dependencies": { - "css-mediaquery": "^0.1.2", - "invariant": "^2.2.4", - "styleq": "0.2.1" - } - }, "node_modules/@szmarczak/http-timer": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.6.tgz", @@ -6936,16 +6885,6 @@ "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" } }, - "node_modules/astro/node_modules/magic-string": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-1.2.3.tgz", - "integrity": "sha512-Bpb0W2TbLKOZ7vJnOUnVRGq3WL2p+ISV29M6hYPL1AFCpyKZpdr5ytiXoTSSxRVhg8YW7f65+6gbG8WG6PCa/g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.5" - } - }, "node_modules/astro/node_modules/p-limit": { "version": "7.3.2", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-7.3.2.tgz", @@ -7907,15 +7846,6 @@ "layout-base": "^1.0.0" } }, - "node_modules/cross-dirname": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/cross-dirname/-/cross-dirname-0.1.0.tgz", - "integrity": "sha512-+R08/oI0nl3vfPcqftZRpytksBXDzOUveBq/NBVx0sUp1axwzPQrKinNx5yd5sxPu8j1wIy8AfnVQ+5eFdha6Q==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true - }, "node_modules/cross-spawn": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", @@ -7940,13 +7870,6 @@ "uncrypto": "^0.1.3" } }, - "node_modules/css-mediaquery": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/css-mediaquery/-/css-mediaquery-0.1.2.tgz", - "integrity": "sha512-COtn4EROW5dBGlE/4PiKnh6rZpAPxDeFLaEEwt4i10jpDMFt2EhQGS79QmmrO+iKCHv0PU/HrOWEhijFd1x99Q==", - "license": "BSD", - "peer": true - }, "node_modules/css-select": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/css-select/-/css-select-7.0.0.tgz", @@ -9137,19 +9060,6 @@ "node": ">=14.0.0" } }, - "node_modules/electron-builder-squirrel-windows": { - "version": "26.16.1", - "resolved": "https://registry.npmjs.org/electron-builder-squirrel-windows/-/electron-builder-squirrel-windows-26.16.1.tgz", - "integrity": "sha512-w0y44wSaT1l6R7CAGmeHn4nHPfvzDyCAU1xJyi1w9SbPYJpYn76SmHDzqHf8Y7l91cPWTdPYBpGQtB2T5mJ08A==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "app-builder-lib": "26.16.1", - "builder-util": "26.16.0", - "electron-winstaller": "5.4.0" - } - }, "node_modules/electron-builder/node_modules/cliui": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", @@ -9275,153 +9185,6 @@ "node": ">=10" } }, - "node_modules/electron-winstaller": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/electron-winstaller/-/electron-winstaller-5.4.0.tgz", - "integrity": "sha512-bO3y10YikuUwUuDUQRM4KfwNkKhnpVO7IPdbsrejwN9/AABJzzTQ4GeHwyzNSrVO+tEH3/Np255a3sVZpZDjvg==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "peer": true, - "dependencies": { - "@electron/asar": "^3.2.1", - "debug": "^4.1.1", - "fs-extra": "^7.0.1", - "lodash": "^4.17.21", - "temp": "^0.9.0" - }, - "engines": { - "node": ">=8.0.0" - }, - "optionalDependencies": { - "@electron/windows-sign": "^1.1.2" - } - }, - "node_modules/electron-winstaller/node_modules/@electron/asar": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/@electron/asar/-/asar-3.4.1.tgz", - "integrity": "sha512-i4/rNPRS84t0vSRa2HorerGRXWyF4vThfHesw0dmcWHp+cspK743UanA0suA5Q5y8kzY2y6YKrvbIUn69BCAiA==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "commander": "^5.0.0", - "glob": "^7.1.6", - "minimatch": "^3.0.4" - }, - "bin": { - "asar": "bin/asar.js" - }, - "engines": { - "node": ">=10.12.0" - } - }, - "node_modules/electron-winstaller/node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true, - "license": "MIT", - "peer": true - }, - "node_modules/electron-winstaller/node_modules/brace-expansion": { - "version": "1.1.21", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz", - "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/electron-winstaller/node_modules/commander": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", - "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==", - "dev": true, - "license": "MIT", - "peer": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/electron-winstaller/node_modules/fs-extra": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", - "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/electron-winstaller/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", - "dev": true, - "license": "ISC", - "peer": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/electron-winstaller/node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", - "dev": true, - "license": "MIT", - "peer": true, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/electron-winstaller/node_modules/minimatch": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", - "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", - "dev": true, - "license": "ISC", - "peer": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/electron-winstaller/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true, - "license": "MIT", - "peer": true, - "engines": { - "node": ">= 4.0.0" - } - }, "node_modules/electron/node_modules/@types/node": { "version": "24.13.3", "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.3.tgz", @@ -10421,14 +10184,6 @@ "url": "https://github.com/sindresorhus/got?sponsor=1" } }, - "node_modules/gpt-tokenizer": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/gpt-tokenizer/-/gpt-tokenizer-3.4.0.tgz", - "integrity": "sha512-wxFLnhIXTDjYebd9A9pGl3e31ZpSypbpIJSOswbgop5jLte/AsZVDvjlbEuVFlsqZixVKqbcoNmRlFDf6pz/UQ==", - "dev": true, - "license": "MIT", - "peer": true - }, "node_modules/graceful-fs": { "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", @@ -10563,6 +10318,7 @@ "version": "4.13.7", "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.7.tgz", "integrity": "sha512-c8/gF9ac8Y78/agExVocyLevgR+JlpNB444Py0FSX8pJoPdYUfUzRcXtYEYGwt6l19qIlVZPN5Mfsw9jFShmQQ==", + "dev": true, "license": "MIT", "engines": { "node": ">=16.9.0" @@ -10906,16 +10662,6 @@ "@formatjs/icu-messageformat-parser": "3.5.15" } }, - "node_modules/invariant": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", - "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", - "license": "MIT", - "peer": true, - "dependencies": { - "loose-envify": "^1.0.0" - } - }, "node_modules/ip-address": { "version": "10.4.0", "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.4.0.tgz", @@ -11141,6 +10887,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, "license": "MIT" }, "node_modules/js-yaml": { @@ -12166,19 +11913,6 @@ "integrity": "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==", "license": "Apache-2.0" }, - "node_modules/loose-envify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", - "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "license": "MIT", - "peer": true, - "dependencies": { - "js-tokens": "^3.0.0 || ^4.0.0" - }, - "bin": { - "loose-envify": "cli.js" - } - }, "node_modules/loupe": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz", @@ -12638,20 +12372,6 @@ "node": ">= 18" } }, - "node_modules/mkdirp": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", - "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "minimist": "^1.2.6" - }, - "bin": { - "mkdirp": "bin/cmd.js" - } - }, "node_modules/mrmime": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.1.tgz", @@ -13821,36 +13541,6 @@ "node": ">=4" } }, - "node_modules/postject": { - "version": "1.0.0-alpha.6", - "resolved": "https://registry.npmjs.org/postject/-/postject-1.0.0-alpha.6.tgz", - "integrity": "sha512-b9Eb8h2eVqNE8edvKdwqkrY6O7kAwmI8kcnBv1NScolYJbo59XUF0noFq+lxbC1yN20bmC0WBEbDC5H/7ASb0A==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "commander": "^9.4.0" - }, - "bin": { - "postject": "dist/cli.js" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/postject/node_modules/commander": { - "version": "9.5.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz", - "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "engines": { - "node": "^12.20.0 || >=14" - } - }, "node_modules/pretty-format": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", @@ -14470,78 +14160,6 @@ "node": ">= 4" } }, - "node_modules/rimraf": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", - "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", - "deprecated": "Rimraf versions prior to v4 are no longer supported", - "dev": true, - "license": "ISC", - "peer": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/rimraf/node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true, - "license": "MIT", - "peer": true - }, - "node_modules/rimraf/node_modules/brace-expansion": { - "version": "1.1.21", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz", - "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/rimraf/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", - "dev": true, - "license": "ISC", - "peer": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/rimraf/node_modules/minimatch": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", - "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", - "dev": true, - "license": "ISC", - "peer": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, "node_modules/roarr": { "version": "2.15.4", "resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.4.tgz", @@ -15714,13 +15332,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/styleq": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/styleq/-/styleq-0.2.1.tgz", - "integrity": "sha512-L0TR0NQb+X4/ktDEKmjWyp27gla+LUYi/by5k5SjKXf6/pvZP7wbwEB5J+tqxdFVPgzbsuz+d4RTScO/QZquBw==", - "license": "MIT", - "peer": true - }, "node_modules/stylis": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.4.0.tgz", @@ -15977,21 +15588,6 @@ "node": ">=18" } }, - "node_modules/temp": { - "version": "0.9.4", - "resolved": "https://registry.npmjs.org/temp/-/temp-0.9.4.tgz", - "integrity": "sha512-yYrrsWnrXMcdsnu/7YMYAofM1ktpL5By7vZhf15CrXijWWrEYZks5AXBudalfSWJLlnen/QUJUB5aoB0kqZUGA==", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "mkdirp": "^0.5.1", - "rimraf": "~2.6.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/temp-file": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/temp-file/-/temp-file-3.4.0.tgz", @@ -16386,9 +15982,9 @@ "license": "MIT" }, "node_modules/undici": { - "version": "6.28.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.28.0.tgz", - "integrity": "sha512-LIY910g9TI13YS95lrMFrs8Rm/u/irgHeTWoKCoteeJ04CUJ92eEfj0rVn+7VKMPBpUPiUoBKfhNyLI23EE/KA==", + "version": "6.29.0", + "resolved": "https://registry.npmmirror.com/undici/-/undici-6.29.0.tgz", + "integrity": "sha512-R+RODBqp6i2pPflGdq+xIOUkl+RNfGgHwoinecKu/JCuf2uO06cOKoDbI2P7Dn6KcswdKwrczbU6IYJ6K8X+wg==", "license": "MIT", "engines": { "node": ">=18.17" @@ -16433,9 +16029,9 @@ } }, "node_modules/unifont/node_modules/undici": { - "version": "8.10.1", - "resolved": "https://registry.npmjs.org/undici/-/undici-8.10.1.tgz", - "integrity": "sha512-YQ3WlbqjYMmNpdvDH64jAgLjxuAR9+649calDWhbshYaeQGO2bR4nI94ORJmwI3J9YhoKQnpyGOK+0zlWS5N5Q==", + "version": "8.11.2", + "resolved": "https://registry.npmmirror.com/undici/-/undici-8.11.2.tgz", + "integrity": "sha512-u4UB2/IrKdU6lFxumHmmo1a3fCQO5tzQllRorfoRS63txhrB7xTpSn1PftwC4qEHkOaqP95fCWW4lJzwErwzhQ==", "dev": true, "license": "MIT", "engines": { @@ -17272,9 +16868,9 @@ } }, "packages/eval/node_modules/undici": { - "version": "8.10.2", - "resolved": "https://registry.npmjs.org/undici/-/undici-8.10.2.tgz", - "integrity": "sha512-/y4/bH9YNU5hi9NIrpOuvGXFcxrj3CMrV+/AYpowAYTpHn8gX/XPFjNy766FPoYY0miQhdW977JFWKGNhBdwyQ==", + "version": "8.11.2", + "resolved": "https://registry.npmmirror.com/undici/-/undici-8.11.2.tgz", + "integrity": "sha512-u4UB2/IrKdU6lFxumHmmo1a3fCQO5tzQllRorfoRS63txhrB7xTpSn1PftwC4qEHkOaqP95fCWW4lJzwErwzhQ==", "license": "MIT", "engines": { "node": ">=22.19.0" @@ -17329,7 +16925,7 @@ "socks": "^2.8.10", "socks-proxy-agent": "^10.1.0", "turndown": "^7.2.4", - "undici": "^8.10.2", + "undici": "7.30.0", "ws": "^8.21.3", "yaml": "^2.9.1", "zod": "^4.6.5" @@ -17425,16 +17021,6 @@ "undici": "^7.0.0" } }, - "packages/runtime/node_modules/@slack/socket-mode/node_modules/undici": { - "version": "7.29.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-7.29.0.tgz", - "integrity": "sha512-IDxfleLmmbSskfWSUATiN1nfn2rDuvnMOqb5CWR92iIfojA0Ud+ulOAAEQ57LPr9rWmsreUyf5lwyao+7GNNVw==", - "license": "MIT", - "peer": true, - "engines": { - "node": ">=20.18.1" - } - }, "packages/runtime/node_modules/agent-base": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-9.0.0.tgz", @@ -17476,12 +17062,12 @@ } }, "packages/runtime/node_modules/undici": { - "version": "8.10.2", - "resolved": "https://registry.npmjs.org/undici/-/undici-8.10.2.tgz", - "integrity": "sha512-/y4/bH9YNU5hi9NIrpOuvGXFcxrj3CMrV+/AYpowAYTpHn8gX/XPFjNy766FPoYY0miQhdW977JFWKGNhBdwyQ==", + "version": "7.30.0", + "resolved": "https://registry.npmmirror.com/undici/-/undici-7.30.0.tgz", + "integrity": "sha512-dkrQXeHSaoamnItlYbmzG0wFYrM0ZwDxCIg0A7aKjTyyhh9svRzCNFEzV+Vm05/yehjCzjDZ31KXfGEjYSztDQ==", "license": "MIT", "engines": { - "node": ">=22.19.0" + "node": ">=20.18.1" } }, "packages/storage": { diff --git a/package.json b/package.json index b1eaf79bd16..81b391d5cf5 100644 --- a/package.json +++ b/package.json @@ -137,6 +137,24 @@ }, "@modelcontextprotocol/sdk": { "@hono/node-server": "2.0.12" + }, + "@ai-sdk/provider-utils": { + "undici": "7.30.0" + }, + "@electron/get": { + "undici": "7.30.0" + }, + "@slack/socket-mode": { + "undici": "7.30.0" + }, + "@jackwener/opencli": { + "undici": "6.29.0" + }, + "node-gyp": { + "undici": "6.29.0" + }, + "unifont": { + "undici": "8.11.2" } } } diff --git a/packages/runtime/package.json b/packages/runtime/package.json index d17fd581578..48d3d4095fe 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -182,7 +182,7 @@ "socks": "^2.8.10", "socks-proxy-agent": "^10.1.0", "turndown": "^7.2.4", - "undici": "^8.10.2", + "undici": "7.30.0", "ws": "^8.21.3", "yaml": "^2.9.1", "zod": "^4.6.5" From a53fceebc9d6bd30cefcf5a65a65aa06626d7baf Mon Sep 17 00:00:00 2001 From: ggbdpq Date: Tue, 29 Sep 2026 10:15:06 +0800 Subject: [PATCH 04/12] fix(deps): restore lockfile entries dropped by the undici re-resolution The undici overrides update left the lockfile with six dangling dependency edges: gpt-tokenizer, @stylexjs/stylex (plus its styleq / css-mediaquery / loose-envify peers) and invariant were still declared by the astryx packages but their node_modules resolution entries had been dropped, so `npm ci` refused to install at all. A full `npm install` re-resolved them; `npm ci` now passes locally and the undici pins are unchanged. Generated-by: GLM-5.3-Flash (ZCode) --- package-lock.json | 59 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 57 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 38a202ddb25..3de7a083462 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5155,6 +5155,18 @@ } } }, + "node_modules/@stylexjs/stylex": { + "version": "0.19.1", + "resolved": "https://registry.npmmirror.com/@stylexjs/stylex/-/stylex-0.19.1.tgz", + "integrity": "sha512-JwNFm0MOYPqi+M4Ax5Un4ZxfZp4HEAX2sAWetZ88KALFcv1eEiHNJs75oO3V3U7RVWnzfkiM8i9eBowC3hqgUw==", + "license": "MIT", + "peer": true, + "dependencies": { + "css-mediaquery": "^0.1.2", + "invariant": "^2.2.4", + "styleq": "0.2.1" + } + }, "node_modules/@szmarczak/http-timer": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.6.tgz", @@ -7870,6 +7882,13 @@ "uncrypto": "^0.1.3" } }, + "node_modules/css-mediaquery": { + "version": "0.1.2", + "resolved": "https://registry.npmmirror.com/css-mediaquery/-/css-mediaquery-0.1.2.tgz", + "integrity": "sha512-COtn4EROW5dBGlE/4PiKnh6rZpAPxDeFLaEEwt4i10jpDMFt2EhQGS79QmmrO+iKCHv0PU/HrOWEhijFd1x99Q==", + "license": "BSD", + "peer": true + }, "node_modules/css-select": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/css-select/-/css-select-7.0.0.tgz", @@ -10184,6 +10203,14 @@ "url": "https://github.com/sindresorhus/got?sponsor=1" } }, + "node_modules/gpt-tokenizer": { + "version": "3.4.0", + "resolved": "https://registry.npmmirror.com/gpt-tokenizer/-/gpt-tokenizer-3.4.0.tgz", + "integrity": "sha512-wxFLnhIXTDjYebd9A9pGl3e31ZpSypbpIJSOswbgop5jLte/AsZVDvjlbEuVFlsqZixVKqbcoNmRlFDf6pz/UQ==", + "dev": true, + "license": "MIT", + "peer": true + }, "node_modules/graceful-fs": { "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", @@ -10318,7 +10345,6 @@ "version": "4.13.7", "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.7.tgz", "integrity": "sha512-c8/gF9ac8Y78/agExVocyLevgR+JlpNB444Py0FSX8pJoPdYUfUzRcXtYEYGwt6l19qIlVZPN5Mfsw9jFShmQQ==", - "dev": true, "license": "MIT", "engines": { "node": ">=16.9.0" @@ -10662,6 +10688,16 @@ "@formatjs/icu-messageformat-parser": "3.5.15" } }, + "node_modules/invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmmirror.com/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "license": "MIT", + "peer": true, + "dependencies": { + "loose-envify": "^1.0.0" + } + }, "node_modules/ip-address": { "version": "10.4.0", "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.4.0.tgz", @@ -10887,7 +10923,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true, "license": "MIT" }, "node_modules/js-yaml": { @@ -11913,6 +11948,19 @@ "integrity": "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==", "license": "Apache-2.0" }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmmirror.com/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "license": "MIT", + "peer": true, + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, "node_modules/loupe": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.2.1.tgz", @@ -15332,6 +15380,13 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/styleq": { + "version": "0.2.1", + "resolved": "https://registry.npmmirror.com/styleq/-/styleq-0.2.1.tgz", + "integrity": "sha512-L0TR0NQb+X4/ktDEKmjWyp27gla+LUYi/by5k5SjKXf6/pvZP7wbwEB5J+tqxdFVPgzbsuz+d4RTScO/QZquBw==", + "license": "MIT", + "peer": true + }, "node_modules/stylis": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.4.0.tgz", From bb02913cee901e762bb41d929b8362583d327b72 Mon Sep 17 00:00:00 2001 From: ggbdpq Date: Tue, 29 Sep 2026 10:36:17 +0800 Subject: [PATCH 05/12] fix(deps): declare the squirrel-windows peer the desktop build needs app-builder-lib declares electron-builder-squirrel-windows in its devDependencies and peerDependencies (exact 26.16.1), and npm's tree validation refuses the desktop workspace while that peer has no resolution entry - every npm lane (audit, test, package, tarball) fails with ELSPROBLEMS. The entry was silently dropped by the same re- resolution that trimmed the undici lockfile, and being a peer it never regenerates on its own. Declaring it explicitly in the desktop devDependencies satisfies the peer durably; npm ci passes with the workspace tree clean. Generated-by: GLM-5.3-Flash (ZCode) --- apps/desktop/package.json | 1 + package-lock.json | 317 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 318 insertions(+) diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 7152e9370dc..72f6af3e91f 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -93,6 +93,7 @@ "@xterm/xterm": "^6.0.0", "electron": "43.4.1", "electron-builder": "26.16.1", + "electron-builder-squirrel-windows": "26.16.1", "esbuild": "^0.28.1", "linkedom": "^0.18.13", "react": "^19.3.0", diff --git a/package-lock.json b/package-lock.json index 3de7a083462..1670b982224 100644 --- a/package-lock.json +++ b/package-lock.json @@ -83,6 +83,7 @@ "@xterm/xterm": "^6.0.0", "electron": "43.4.1", "electron-builder": "26.16.1", + "electron-builder-squirrel-windows": "26.16.1", "esbuild": "^0.28.1", "linkedom": "^0.18.13", "react": "^19.3.0", @@ -2094,6 +2095,43 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/@electron/windows-sign": { + "version": "1.2.2", + "resolved": "https://registry.npmmirror.com/@electron/windows-sign/-/windows-sign-1.2.2.tgz", + "integrity": "sha512-dfZeox66AvdPtb2lD8OsIIQh12Tp0GNCRUDfBHIKGpbmopZto2/A8nSpYYLoedPIHpqkeblZ/k8OV0Gy7PYuyQ==", + "dev": true, + "license": "BSD-2-Clause", + "optional": true, + "dependencies": { + "cross-dirname": "^0.1.0", + "debug": "^4.3.4", + "fs-extra": "^11.1.1", + "minimist": "^1.2.8", + "postject": "^1.0.0-alpha.6" + }, + "bin": { + "electron-windows-sign": "bin/electron-windows-sign.js" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/@electron/windows-sign/node_modules/fs-extra": { + "version": "11.4.1", + "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-11.4.1.tgz", + "integrity": "sha512-KYAb4c9BJQI6QqGKthV68OHe0badztdXJWKo0WtBA9IuCFPTKvE5ZdUBglP833aMjhaSPNO4A5j/EkzZtGlKjA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, "node_modules/@emnapi/core": { "version": "1.11.2", "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.11.2.tgz", @@ -7858,6 +7896,14 @@ "layout-base": "^1.0.0" } }, + "node_modules/cross-dirname": { + "version": "0.1.0", + "resolved": "https://registry.npmmirror.com/cross-dirname/-/cross-dirname-0.1.0.tgz", + "integrity": "sha512-+R08/oI0nl3vfPcqftZRpytksBXDzOUveBq/NBVx0sUp1axwzPQrKinNx5yd5sxPu8j1wIy8AfnVQ+5eFdha6Q==", + "dev": true, + "license": "MIT", + "optional": true + }, "node_modules/cross-spawn": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", @@ -9079,6 +9125,18 @@ "node": ">=14.0.0" } }, + "node_modules/electron-builder-squirrel-windows": { + "version": "26.16.1", + "resolved": "https://registry.npmmirror.com/electron-builder-squirrel-windows/-/electron-builder-squirrel-windows-26.16.1.tgz", + "integrity": "sha512-w0y44wSaT1l6R7CAGmeHn4nHPfvzDyCAU1xJyi1w9SbPYJpYn76SmHDzqHf8Y7l91cPWTdPYBpGQtB2T5mJ08A==", + "dev": true, + "license": "MIT", + "dependencies": { + "app-builder-lib": "26.16.1", + "builder-util": "26.16.0", + "electron-winstaller": "5.4.0" + } + }, "node_modules/electron-builder/node_modules/cliui": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", @@ -9204,6 +9262,143 @@ "node": ">=10" } }, + "node_modules/electron-winstaller": { + "version": "5.4.0", + "resolved": "https://registry.npmmirror.com/electron-winstaller/-/electron-winstaller-5.4.0.tgz", + "integrity": "sha512-bO3y10YikuUwUuDUQRM4KfwNkKhnpVO7IPdbsrejwN9/AABJzzTQ4GeHwyzNSrVO+tEH3/Np255a3sVZpZDjvg==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "@electron/asar": "^3.2.1", + "debug": "^4.1.1", + "fs-extra": "^7.0.1", + "lodash": "^4.17.21", + "temp": "^0.9.0" + }, + "engines": { + "node": ">=8.0.0" + }, + "optionalDependencies": { + "@electron/windows-sign": "^1.1.2" + } + }, + "node_modules/electron-winstaller/node_modules/@electron/asar": { + "version": "3.4.1", + "resolved": "https://registry.npmmirror.com/@electron/asar/-/asar-3.4.1.tgz", + "integrity": "sha512-i4/rNPRS84t0vSRa2HorerGRXWyF4vThfHesw0dmcWHp+cspK743UanA0suA5Q5y8kzY2y6YKrvbIUn69BCAiA==", + "dev": true, + "license": "MIT", + "dependencies": { + "commander": "^5.0.0", + "glob": "^7.1.6", + "minimatch": "^3.0.4" + }, + "bin": { + "asar": "bin/asar.js" + }, + "engines": { + "node": ">=10.12.0" + } + }, + "node_modules/electron-winstaller/node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/electron-winstaller/node_modules/brace-expansion": { + "version": "1.1.21", + "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.21.tgz", + "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/electron-winstaller/node_modules/commander": { + "version": "5.1.0", + "resolved": "https://registry.npmmirror.com/commander/-/commander-5.1.0.tgz", + "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/electron-winstaller/node_modules/fs-extra": { + "version": "7.0.1", + "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-7.0.1.tgz", + "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "node_modules/electron-winstaller/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmmirror.com/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/electron-winstaller/node_modules/jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", + "dev": true, + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/electron-winstaller/node_modules/minimatch": { + "version": "3.1.5", + "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/electron-winstaller/node_modules/universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmmirror.com/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, "node_modules/electron/node_modules/@types/node": { "version": "24.13.3", "resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.3.tgz", @@ -12420,6 +12615,19 @@ "node": ">= 18" } }, + "node_modules/mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmmirror.com/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, "node_modules/mrmime": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.1.tgz", @@ -13589,6 +13797,34 @@ "node": ">=4" } }, + "node_modules/postject": { + "version": "1.0.0-alpha.6", + "resolved": "https://registry.npmmirror.com/postject/-/postject-1.0.0-alpha.6.tgz", + "integrity": "sha512-b9Eb8h2eVqNE8edvKdwqkrY6O7kAwmI8kcnBv1NScolYJbo59XUF0noFq+lxbC1yN20bmC0WBEbDC5H/7ASb0A==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "commander": "^9.4.0" + }, + "bin": { + "postject": "dist/cli.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/postject/node_modules/commander": { + "version": "9.5.0", + "resolved": "https://registry.npmmirror.com/commander/-/commander-9.5.0.tgz", + "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": "^12.20.0 || >=14" + } + }, "node_modules/pretty-format": { "version": "27.5.1", "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", @@ -14208,6 +14444,73 @@ "node": ">= 4" } }, + "node_modules/rimraf": { + "version": "2.6.3", + "resolved": "https://registry.npmmirror.com/rimraf/-/rimraf-2.6.3.tgz", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "node_modules/rimraf/node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/rimraf/node_modules/brace-expansion": { + "version": "1.1.21", + "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.21.tgz", + "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/rimraf/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmmirror.com/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf/node_modules/minimatch": { + "version": "3.1.5", + "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/roarr": { "version": "2.15.4", "resolved": "https://registry.npmjs.org/roarr/-/roarr-2.15.4.tgz", @@ -15643,6 +15946,20 @@ "node": ">=18" } }, + "node_modules/temp": { + "version": "0.9.4", + "resolved": "https://registry.npmmirror.com/temp/-/temp-0.9.4.tgz", + "integrity": "sha512-yYrrsWnrXMcdsnu/7YMYAofM1ktpL5By7vZhf15CrXijWWrEYZks5AXBudalfSWJLlnen/QUJUB5aoB0kqZUGA==", + "dev": true, + "license": "MIT", + "dependencies": { + "mkdirp": "^0.5.1", + "rimraf": "~2.6.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, "node_modules/temp-file": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/temp-file/-/temp-file-3.4.0.tgz", From da6af78b5e66ee1fa0e585cb0ce8a767978b59db Mon Sep 17 00:00:00 2001 From: ggbdpq Date: Tue, 29 Sep 2026 11:05:21 +0800 Subject: [PATCH 06/12] fix(deps): pin ip-address past its SSRF advisories and re-key the stylex notice The shipped-closure audit now flags ip-address@10.4.0 (GHSA-rpw4-54j3- 4h4q / GHSA-2vr4-cq9g-pvrc, SSRF); an override pins 10.7.2, which both declaring ranges accept. The third-party-notices generator's MIT copyright override for @stylexjs/stylex tracked 0.19.0 while the tree resolves 0.19.1 (same upstream, same copyright line) - the key follows. Generated-by: GLM-5.3-Flash (ZCode) --- apps/desktop/package.json | 1 + package-lock.json | 16 ++++++---------- package.json | 3 ++- scripts/generate-third-party-notices.mjs | 2 +- 4 files changed, 10 insertions(+), 12 deletions(-) diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 72f6af3e91f..166999cb3c7 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -93,6 +93,7 @@ "@xterm/xterm": "^6.0.0", "electron": "43.4.1", "electron-builder": "26.16.1", + "@stylexjs/stylex": "^0.19.1", "electron-builder-squirrel-windows": "26.16.1", "esbuild": "^0.28.1", "linkedom": "^0.18.13", diff --git a/package-lock.json b/package-lock.json index 1670b982224..b264b01b911 100644 --- a/package-lock.json +++ b/package-lock.json @@ -74,6 +74,7 @@ "@modelcontextprotocol/sdk": "^1.26.0", "@playwright/test": "^1.63.0", "@storybook/react-vite": "^10.6.0", + "@stylexjs/stylex": "^0.19.1", "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0", "@types/ws": "^8.18.1", @@ -5198,7 +5199,6 @@ "resolved": "https://registry.npmmirror.com/@stylexjs/stylex/-/stylex-0.19.1.tgz", "integrity": "sha512-JwNFm0MOYPqi+M4Ax5Un4ZxfZp4HEAX2sAWetZ88KALFcv1eEiHNJs75oO3V3U7RVWnzfkiM8i9eBowC3hqgUw==", "license": "MIT", - "peer": true, "dependencies": { "css-mediaquery": "^0.1.2", "invariant": "^2.2.4", @@ -7932,8 +7932,7 @@ "version": "0.1.2", "resolved": "https://registry.npmmirror.com/css-mediaquery/-/css-mediaquery-0.1.2.tgz", "integrity": "sha512-COtn4EROW5dBGlE/4PiKnh6rZpAPxDeFLaEEwt4i10jpDMFt2EhQGS79QmmrO+iKCHv0PU/HrOWEhijFd1x99Q==", - "license": "BSD", - "peer": true + "license": "BSD" }, "node_modules/css-select": { "version": "7.0.0", @@ -10888,15 +10887,14 @@ "resolved": "https://registry.npmmirror.com/invariant/-/invariant-2.2.4.tgz", "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", "license": "MIT", - "peer": true, "dependencies": { "loose-envify": "^1.0.0" } }, "node_modules/ip-address": { - "version": "10.4.0", - "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.4.0.tgz", - "integrity": "sha512-oSK96Grm3aP6OrS263xVxbNDGVL7rzBtYdpGqlDG8iQdoenDoTs/nkki+DflYbAEE8Xl6o5YxhxlrKvI3nqKXQ==", + "version": "10.7.2", + "resolved": "https://registry.npmmirror.com/ip-address/-/ip-address-10.7.2.tgz", + "integrity": "sha512-7H/2gFSIitxc0hG3nOI1glS8QLo/EHBFFLk8vEUjXY/xu0AdL8jZ9U1IzO2PUm0d2D/ofQcAifb0g6OBkt8U7w==", "license": "MIT", "engines": { "node": ">= 12" @@ -12148,7 +12146,6 @@ "resolved": "https://registry.npmmirror.com/loose-envify/-/loose-envify-1.4.0.tgz", "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", "license": "MIT", - "peer": true, "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" }, @@ -15687,8 +15684,7 @@ "version": "0.2.1", "resolved": "https://registry.npmmirror.com/styleq/-/styleq-0.2.1.tgz", "integrity": "sha512-L0TR0NQb+X4/ktDEKmjWyp27gla+LUYi/by5k5SjKXf6/pvZP7wbwEB5J+tqxdFVPgzbsuz+d4RTScO/QZquBw==", - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/stylis": { "version": "4.4.0", diff --git a/package.json b/package.json index 81b391d5cf5..43afd77ffd9 100644 --- a/package.json +++ b/package.json @@ -155,6 +155,7 @@ }, "unifont": { "undici": "8.11.2" - } + }, + "ip-address": "10.7.2" } } diff --git a/scripts/generate-third-party-notices.mjs b/scripts/generate-third-party-notices.mjs index bb7907b7a4c..facaf152176 100644 --- a/scripts/generate-third-party-notices.mjs +++ b/scripts/generate-third-party-notices.mjs @@ -141,7 +141,7 @@ const MIT_COPYRIGHT_OVERRIDES = new Map([ ['@astryxdesign/core@0.5.2', 'Copyright (c) 2026 Meta Platforms, Inc.'], ['@astryxdesign/core@0.6.1', 'Copyright (c) 2026 Meta Platforms, Inc.'], ['@astryxdesign/core@0.6.2', 'Copyright (c) 2026 Meta Platforms, Inc.'], - ['@stylexjs/stylex@0.19.0', 'Copyright (c) Meta Platforms, Inc. and affiliates.'], + ['@stylexjs/stylex@0.19.1', 'Copyright (c) Meta Platforms, Inc. and affiliates.'], ['@wecom/aibot-node-sdk@1.0.7', 'Copyright (c) WeComTeam contributors'], [ '@xterm/headless@6.0.0', From ff1aa0c6c3ed7fd393720cab5ebed79f28c83378 Mon Sep 17 00:00:00 2001 From: ggbdpq Date: Tue, 29 Sep 2026 11:24:03 +0800 Subject: [PATCH 07/12] chore(deps): regenerate the third-party notices for the bumped closure The ip-address and undici pins moved the shipped closure; the committed notices files now match it (stylex 0.19.1, ip-address 10.7.2, undici 6.29.0 / 7.30.0 / 8.11.2). Generated-by: GLM-5.3-Flash (ZCode) --- .../licenses/npm/THIRD_PARTY_NOTICES.txt | 38 ++----------------- packages/cli/THIRD_PARTY_NOTICES.txt | 6 +-- 2 files changed, 7 insertions(+), 37 deletions(-) diff --git a/apps/desktop/resources/licenses/npm/THIRD_PARTY_NOTICES.txt b/apps/desktop/resources/licenses/npm/THIRD_PARTY_NOTICES.txt index 6471aecb1f4..ced0fbaf99c 100644 --- a/apps/desktop/resources/licenses/npm/THIRD_PARTY_NOTICES.txt +++ b/apps/desktop/resources/licenses/npm/THIRD_PARTY_NOTICES.txt @@ -3925,7 +3925,7 @@ SOFTWARE. ================================================================================ -Package: @stylexjs/stylex@0.19.0 +Package: @stylexjs/stylex@0.19.1 Declared license: MIT Selected license: MIT Repository: git+https://github.com/facebook/stylex.git @@ -10804,7 +10804,7 @@ SOFTWARE. ================================================================================ -Package: ip-address@10.4.0 +Package: ip-address@10.7.2 Declared license: MIT Selected license: MIT Repository: https://github.com/beaugunderson/ip-address.git @@ -15022,7 +15022,7 @@ PERFORMANCE OF THIS SOFTWARE. ================================================================================ -Package: undici@6.28.0 +Package: undici@6.29.0 Declared license: MIT Selected license: MIT Repository: git+https://github.com/nodejs/undici.git @@ -15052,37 +15052,7 @@ SOFTWARE. ================================================================================ -Package: undici@7.29.0 -Declared license: MIT -Selected license: MIT -Repository: git+https://github.com/nodejs/undici.git - ---- LICENSE --- -MIT License - -Copyright (c) Matteo Collina and Undici contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -================================================================================ - -Package: undici@8.10.2 +Package: undici@7.30.0 Declared license: MIT Selected license: MIT Repository: git+https://github.com/nodejs/undici.git diff --git a/packages/cli/THIRD_PARTY_NOTICES.txt b/packages/cli/THIRD_PARTY_NOTICES.txt index 5ccd6112f9a..898d2d50a9b 100644 --- a/packages/cli/THIRD_PARTY_NOTICES.txt +++ b/packages/cli/THIRD_PARTY_NOTICES.txt @@ -4781,7 +4781,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ================================================================================ -Package: ip-address@10.4.0 +Package: ip-address@10.7.2 Declared license: MIT Selected license: MIT Repository: https://github.com/beaugunderson/ip-address.git @@ -7444,7 +7444,7 @@ PERFORMANCE OF THIS SOFTWARE. ================================================================================ -Package: undici@7.29.0 +Package: undici@7.30.0 Declared license: MIT Selected license: MIT Repository: git+https://github.com/nodejs/undici.git @@ -7474,7 +7474,7 @@ SOFTWARE. ================================================================================ -Package: undici@8.10.2 +Package: undici@8.11.2 Declared license: MIT Selected license: MIT Repository: git+https://github.com/nodejs/undici.git From b8fbaf00cd355fccbdb47b3f1cdc623e1d42c534 Mon Sep 17 00:00:00 2001 From: ggbdpq Date: Tue, 29 Sep 2026 11:45:01 +0800 Subject: [PATCH 08/12] fix(deps,ci): re-key the release closure and clean the lockfile registry The undici re-key left two references behind: the release packager hardcoded undici@8.10.2 when copying the eval closure and writing the CLI manifest (the tree now resolves 8.11.2), and the regenerated lockfile carried registry.npmmirror.com resolved URLs from a local mirror config where main's entries all use registry.npmjs.org. knip also gained an exemption for electron-builder-squirrel-windows: it satisfies app-builder-lib's peer and is never imported by renderer code, same as the existing fontsource entries. Generated-by: GLM-5.3-Flash (ZCode) --- knip.json | 2 +- package-lock.json | 72 ++++++++++++++++----------------- scripts/release-cli-package.mjs | 6 +-- 3 files changed, 40 insertions(+), 40 deletions(-) diff --git a/knip.json b/knip.json index 3a392b21a50..2a0b97fa1e1 100644 --- a/knip.json +++ b/knip.json @@ -24,7 +24,7 @@ "src/renderer/astryx-theme/makaTheme.ts" ], "project": ["src/**/*.{ts,tsx}", "e2e/**/*.ts", "stories/**/*.{ts,tsx}", "scripts/**/*.mjs"], - "ignoreDependencies": ["@fontsource-variable/geist", "@fontsource-variable/geist-mono"], + "ignoreDependencies": ["@fontsource-variable/geist", "@fontsource-variable/geist-mono", "electron-builder-squirrel-windows"], "ignoreBinaries": ["plutil", "pgrep", "reg"] }, "packages/ui": { diff --git a/package-lock.json b/package-lock.json index b264b01b911..9cc0ab9ab0b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -341,7 +341,7 @@ }, "node_modules/@ai-sdk/provider-utils/node_modules/undici": { "version": "7.30.0", - "resolved": "https://registry.npmmirror.com/undici/-/undici-7.30.0.tgz", + "resolved": "https://registry.npmjs.org/undici/-/undici-7.30.0.tgz", "integrity": "sha512-dkrQXeHSaoamnItlYbmzG0wFYrM0ZwDxCIg0A7aKjTyyhh9svRzCNFEzV+Vm05/yehjCzjDZ31KXfGEjYSztDQ==", "license": "MIT", "engines": { @@ -1835,7 +1835,7 @@ }, "node_modules/@electron/get/node_modules/undici": { "version": "7.30.0", - "resolved": "https://registry.npmmirror.com/undici/-/undici-7.30.0.tgz", + "resolved": "https://registry.npmjs.org/undici/-/undici-7.30.0.tgz", "integrity": "sha512-dkrQXeHSaoamnItlYbmzG0wFYrM0ZwDxCIg0A7aKjTyyhh9svRzCNFEzV+Vm05/yehjCzjDZ31KXfGEjYSztDQ==", "dev": true, "license": "MIT", @@ -2098,7 +2098,7 @@ }, "node_modules/@electron/windows-sign": { "version": "1.2.2", - "resolved": "https://registry.npmmirror.com/@electron/windows-sign/-/windows-sign-1.2.2.tgz", + "resolved": "https://registry.npmjs.org/@electron/windows-sign/-/windows-sign-1.2.2.tgz", "integrity": "sha512-dfZeox66AvdPtb2lD8OsIIQh12Tp0GNCRUDfBHIKGpbmopZto2/A8nSpYYLoedPIHpqkeblZ/k8OV0Gy7PYuyQ==", "dev": true, "license": "BSD-2-Clause", @@ -2119,7 +2119,7 @@ }, "node_modules/@electron/windows-sign/node_modules/fs-extra": { "version": "11.4.1", - "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-11.4.1.tgz", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.4.1.tgz", "integrity": "sha512-KYAb4c9BJQI6QqGKthV68OHe0badztdXJWKo0WtBA9IuCFPTKvE5ZdUBglP833aMjhaSPNO4A5j/EkzZtGlKjA==", "dev": true, "license": "MIT", @@ -5196,7 +5196,7 @@ }, "node_modules/@stylexjs/stylex": { "version": "0.19.1", - "resolved": "https://registry.npmmirror.com/@stylexjs/stylex/-/stylex-0.19.1.tgz", + "resolved": "https://registry.npmjs.org/@stylexjs/stylex/-/stylex-0.19.1.tgz", "integrity": "sha512-JwNFm0MOYPqi+M4Ax5Un4ZxfZp4HEAX2sAWetZ88KALFcv1eEiHNJs75oO3V3U7RVWnzfkiM8i9eBowC3hqgUw==", "license": "MIT", "dependencies": { @@ -7898,7 +7898,7 @@ }, "node_modules/cross-dirname": { "version": "0.1.0", - "resolved": "https://registry.npmmirror.com/cross-dirname/-/cross-dirname-0.1.0.tgz", + "resolved": "https://registry.npmjs.org/cross-dirname/-/cross-dirname-0.1.0.tgz", "integrity": "sha512-+R08/oI0nl3vfPcqftZRpytksBXDzOUveBq/NBVx0sUp1axwzPQrKinNx5yd5sxPu8j1wIy8AfnVQ+5eFdha6Q==", "dev": true, "license": "MIT", @@ -7930,7 +7930,7 @@ }, "node_modules/css-mediaquery": { "version": "0.1.2", - "resolved": "https://registry.npmmirror.com/css-mediaquery/-/css-mediaquery-0.1.2.tgz", + "resolved": "https://registry.npmjs.org/css-mediaquery/-/css-mediaquery-0.1.2.tgz", "integrity": "sha512-COtn4EROW5dBGlE/4PiKnh6rZpAPxDeFLaEEwt4i10jpDMFt2EhQGS79QmmrO+iKCHv0PU/HrOWEhijFd1x99Q==", "license": "BSD" }, @@ -9126,7 +9126,7 @@ }, "node_modules/electron-builder-squirrel-windows": { "version": "26.16.1", - "resolved": "https://registry.npmmirror.com/electron-builder-squirrel-windows/-/electron-builder-squirrel-windows-26.16.1.tgz", + "resolved": "https://registry.npmjs.org/electron-builder-squirrel-windows/-/electron-builder-squirrel-windows-26.16.1.tgz", "integrity": "sha512-w0y44wSaT1l6R7CAGmeHn4nHPfvzDyCAU1xJyi1w9SbPYJpYn76SmHDzqHf8Y7l91cPWTdPYBpGQtB2T5mJ08A==", "dev": true, "license": "MIT", @@ -9263,7 +9263,7 @@ }, "node_modules/electron-winstaller": { "version": "5.4.0", - "resolved": "https://registry.npmmirror.com/electron-winstaller/-/electron-winstaller-5.4.0.tgz", + "resolved": "https://registry.npmjs.org/electron-winstaller/-/electron-winstaller-5.4.0.tgz", "integrity": "sha512-bO3y10YikuUwUuDUQRM4KfwNkKhnpVO7IPdbsrejwN9/AABJzzTQ4GeHwyzNSrVO+tEH3/Np255a3sVZpZDjvg==", "dev": true, "hasInstallScript": true, @@ -9284,7 +9284,7 @@ }, "node_modules/electron-winstaller/node_modules/@electron/asar": { "version": "3.4.1", - "resolved": "https://registry.npmmirror.com/@electron/asar/-/asar-3.4.1.tgz", + "resolved": "https://registry.npmjs.org/@electron/asar/-/asar-3.4.1.tgz", "integrity": "sha512-i4/rNPRS84t0vSRa2HorerGRXWyF4vThfHesw0dmcWHp+cspK743UanA0suA5Q5y8kzY2y6YKrvbIUn69BCAiA==", "dev": true, "license": "MIT", @@ -9302,14 +9302,14 @@ }, "node_modules/electron-winstaller/node_modules/balanced-match": { "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true, "license": "MIT" }, "node_modules/electron-winstaller/node_modules/brace-expansion": { "version": "1.1.21", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.21.tgz", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz", "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==", "dev": true, "license": "MIT", @@ -9320,7 +9320,7 @@ }, "node_modules/electron-winstaller/node_modules/commander": { "version": "5.1.0", - "resolved": "https://registry.npmmirror.com/commander/-/commander-5.1.0.tgz", + "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==", "dev": true, "license": "MIT", @@ -9330,7 +9330,7 @@ }, "node_modules/electron-winstaller/node_modules/fs-extra": { "version": "7.0.1", - "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-7.0.1.tgz", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", "dev": true, "license": "MIT", @@ -9345,7 +9345,7 @@ }, "node_modules/electron-winstaller/node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmmirror.com/glob/-/glob-7.2.3.tgz", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, @@ -9367,7 +9367,7 @@ }, "node_modules/electron-winstaller/node_modules/jsonfile": { "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/jsonfile/-/jsonfile-4.0.0.tgz", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", "dev": true, "license": "MIT", @@ -9377,7 +9377,7 @@ }, "node_modules/electron-winstaller/node_modules/minimatch": { "version": "3.1.5", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.5.tgz", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", "dev": true, "license": "ISC", @@ -9390,7 +9390,7 @@ }, "node_modules/electron-winstaller/node_modules/universalify": { "version": "0.1.2", - "resolved": "https://registry.npmmirror.com/universalify/-/universalify-0.1.2.tgz", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", "dev": true, "license": "MIT", @@ -10399,7 +10399,7 @@ }, "node_modules/gpt-tokenizer": { "version": "3.4.0", - "resolved": "https://registry.npmmirror.com/gpt-tokenizer/-/gpt-tokenizer-3.4.0.tgz", + "resolved": "https://registry.npmjs.org/gpt-tokenizer/-/gpt-tokenizer-3.4.0.tgz", "integrity": "sha512-wxFLnhIXTDjYebd9A9pGl3e31ZpSypbpIJSOswbgop5jLte/AsZVDvjlbEuVFlsqZixVKqbcoNmRlFDf6pz/UQ==", "dev": true, "license": "MIT", @@ -10884,7 +10884,7 @@ }, "node_modules/invariant": { "version": "2.2.4", - "resolved": "https://registry.npmmirror.com/invariant/-/invariant-2.2.4.tgz", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", "license": "MIT", "dependencies": { @@ -10893,7 +10893,7 @@ }, "node_modules/ip-address": { "version": "10.7.2", - "resolved": "https://registry.npmmirror.com/ip-address/-/ip-address-10.7.2.tgz", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.7.2.tgz", "integrity": "sha512-7H/2gFSIitxc0hG3nOI1glS8QLo/EHBFFLk8vEUjXY/xu0AdL8jZ9U1IzO2PUm0d2D/ofQcAifb0g6OBkt8U7w==", "license": "MIT", "engines": { @@ -12143,7 +12143,7 @@ }, "node_modules/loose-envify": { "version": "1.4.0", - "resolved": "https://registry.npmmirror.com/loose-envify/-/loose-envify-1.4.0.tgz", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", "license": "MIT", "dependencies": { @@ -12614,7 +12614,7 @@ }, "node_modules/mkdirp": { "version": "0.5.6", - "resolved": "https://registry.npmmirror.com/mkdirp/-/mkdirp-0.5.6.tgz", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", "dev": true, "license": "MIT", @@ -13796,7 +13796,7 @@ }, "node_modules/postject": { "version": "1.0.0-alpha.6", - "resolved": "https://registry.npmmirror.com/postject/-/postject-1.0.0-alpha.6.tgz", + "resolved": "https://registry.npmjs.org/postject/-/postject-1.0.0-alpha.6.tgz", "integrity": "sha512-b9Eb8h2eVqNE8edvKdwqkrY6O7kAwmI8kcnBv1NScolYJbo59XUF0noFq+lxbC1yN20bmC0WBEbDC5H/7ASb0A==", "dev": true, "license": "MIT", @@ -13813,7 +13813,7 @@ }, "node_modules/postject/node_modules/commander": { "version": "9.5.0", - "resolved": "https://registry.npmmirror.com/commander/-/commander-9.5.0.tgz", + "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz", "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==", "dev": true, "license": "MIT", @@ -14443,7 +14443,7 @@ }, "node_modules/rimraf": { "version": "2.6.3", - "resolved": "https://registry.npmmirror.com/rimraf/-/rimraf-2.6.3.tgz", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", "deprecated": "Rimraf versions prior to v4 are no longer supported", "dev": true, @@ -14457,14 +14457,14 @@ }, "node_modules/rimraf/node_modules/balanced-match": { "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true, "license": "MIT" }, "node_modules/rimraf/node_modules/brace-expansion": { "version": "1.1.21", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.21.tgz", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz", "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==", "dev": true, "license": "MIT", @@ -14475,7 +14475,7 @@ }, "node_modules/rimraf/node_modules/glob": { "version": "7.2.3", - "resolved": "https://registry.npmmirror.com/glob/-/glob-7.2.3.tgz", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "deprecated": "Glob versions prior to v9 are no longer supported", "dev": true, @@ -14497,7 +14497,7 @@ }, "node_modules/rimraf/node_modules/minimatch": { "version": "3.1.5", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.5.tgz", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", "dev": true, "license": "ISC", @@ -15682,7 +15682,7 @@ }, "node_modules/styleq": { "version": "0.2.1", - "resolved": "https://registry.npmmirror.com/styleq/-/styleq-0.2.1.tgz", + "resolved": "https://registry.npmjs.org/styleq/-/styleq-0.2.1.tgz", "integrity": "sha512-L0TR0NQb+X4/ktDEKmjWyp27gla+LUYi/by5k5SjKXf6/pvZP7wbwEB5J+tqxdFVPgzbsuz+d4RTScO/QZquBw==", "license": "MIT" }, @@ -15944,7 +15944,7 @@ }, "node_modules/temp": { "version": "0.9.4", - "resolved": "https://registry.npmmirror.com/temp/-/temp-0.9.4.tgz", + "resolved": "https://registry.npmjs.org/temp/-/temp-0.9.4.tgz", "integrity": "sha512-yYrrsWnrXMcdsnu/7YMYAofM1ktpL5By7vZhf15CrXijWWrEYZks5AXBudalfSWJLlnen/QUJUB5aoB0kqZUGA==", "dev": true, "license": "MIT", @@ -16351,7 +16351,7 @@ }, "node_modules/undici": { "version": "6.29.0", - "resolved": "https://registry.npmmirror.com/undici/-/undici-6.29.0.tgz", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.29.0.tgz", "integrity": "sha512-R+RODBqp6i2pPflGdq+xIOUkl+RNfGgHwoinecKu/JCuf2uO06cOKoDbI2P7Dn6KcswdKwrczbU6IYJ6K8X+wg==", "license": "MIT", "engines": { @@ -16398,7 +16398,7 @@ }, "node_modules/unifont/node_modules/undici": { "version": "8.11.2", - "resolved": "https://registry.npmmirror.com/undici/-/undici-8.11.2.tgz", + "resolved": "https://registry.npmjs.org/undici/-/undici-8.11.2.tgz", "integrity": "sha512-u4UB2/IrKdU6lFxumHmmo1a3fCQO5tzQllRorfoRS63txhrB7xTpSn1PftwC4qEHkOaqP95fCWW4lJzwErwzhQ==", "dev": true, "license": "MIT", @@ -17237,7 +17237,7 @@ }, "packages/eval/node_modules/undici": { "version": "8.11.2", - "resolved": "https://registry.npmmirror.com/undici/-/undici-8.11.2.tgz", + "resolved": "https://registry.npmjs.org/undici/-/undici-8.11.2.tgz", "integrity": "sha512-u4UB2/IrKdU6lFxumHmmo1a3fCQO5tzQllRorfoRS63txhrB7xTpSn1PftwC4qEHkOaqP95fCWW4lJzwErwzhQ==", "license": "MIT", "engines": { @@ -17431,7 +17431,7 @@ }, "packages/runtime/node_modules/undici": { "version": "7.30.0", - "resolved": "https://registry.npmmirror.com/undici/-/undici-7.30.0.tgz", + "resolved": "https://registry.npmjs.org/undici/-/undici-7.30.0.tgz", "integrity": "sha512-dkrQXeHSaoamnItlYbmzG0wFYrM0ZwDxCIg0A7aKjTyyhh9svRzCNFEzV+Vm05/yehjCzjDZ31KXfGEjYSztDQ==", "license": "MIT", "engines": { diff --git a/scripts/release-cli-package.mjs b/scripts/release-cli-package.mjs index 383b7a41e57..9b8f95332a8 100644 --- a/scripts/release-cli-package.mjs +++ b/scripts/release-cli-package.mjs @@ -368,9 +368,9 @@ function copyDependencyClosure(cli) { }; visit(cli, stageRoot); - const evalUndici = findDependency(cli, 'undici', '8.10.2'); + const evalUndici = findDependency(cli, 'undici', '8.11.2'); if (!evalUndici?.path || !existsSync(evalUndici.path)) { - throw new Error('The installed CLI closure does not contain undici@8.10.2'); + throw new Error('The installed CLI closure does not contain undici@8.11.2'); } copyThirdPartyPackage(realpathSync(evalUndici.path), join(stageRoot, 'node_modules/undici')); copiedDestinations.set(join(stageRoot, 'node_modules/undici'), realpathSync(evalUndici.path)); @@ -664,7 +664,7 @@ function writeReleaseManifest(cli, publishable) { `CLI manifest and installed lockfile disagree: ${source.version} vs ${cli.version}`, ); } - const undici = findDependency(cli, 'undici', '8.10.2'); + const undici = findDependency(cli, 'undici', '8.11.2'); const dependencies = { ...source.dependencies, undici: undici.version }; const updateCompatibility = source.maka?.managedRuntimeHostUpdateCompatibility; if (!Number.isSafeInteger(updateCompatibility) || updateCompatibility < 1) { From e38204b336a4ae7509058ed988e5173e12234d31 Mon Sep 17 00:00:00 2001 From: ggbdpq Date: Tue, 29 Sep 2026 12:10:18 +0800 Subject: [PATCH 09/12] style(knip): wrap the ignoreDependencies array for the formatter Generated-by: GLM-5.3-Flash (ZCode) --- knip.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/knip.json b/knip.json index 2a0b97fa1e1..387b2ac2f32 100644 --- a/knip.json +++ b/knip.json @@ -24,7 +24,11 @@ "src/renderer/astryx-theme/makaTheme.ts" ], "project": ["src/**/*.{ts,tsx}", "e2e/**/*.ts", "stories/**/*.{ts,tsx}", "scripts/**/*.mjs"], - "ignoreDependencies": ["@fontsource-variable/geist", "@fontsource-variable/geist-mono", "electron-builder-squirrel-windows"], + "ignoreDependencies": [ + "@fontsource-variable/geist", + "@fontsource-variable/geist-mono", + "electron-builder-squirrel-windows" + ], "ignoreBinaries": ["plutil", "pgrep", "reg"] }, "packages/ui": { From a7969eff48638e7bf2c5b69f51e8bf8d4456ec55 Mon Sep 17 00:00:00 2001 From: ggbdpq Date: Tue, 29 Sep 2026 12:35:12 +0800 Subject: [PATCH 10/12] fix(deps): walk the undici bumps back to behavior-preserving versions The aggressive undici re-key broke two real consumers: the eval suite's initialization proxy test saw an unexpected CONNECT through the 7.30.0 ProxyAgent, and the runtime scoped-fetch-transport suite hung on 7.30.0. Walk @ai-sdk/provider-utils back to 7.29.1 (the minimal fixed release) and packages/runtime back to its previous 8.10.2 (already past the advisory line); @electron/get keeps 7.30.0 and the 6.x/8.x leaves keep their resolved versions. Both previously failing suites pass locally (42/42 and 1/1). Generated-by: GLM-5.3-Flash (ZCode) --- package-lock.json | 16 ++++++++-------- package.json | 2 +- packages/runtime/package.json | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9cc0ab9ab0b..1dfed7e1f7f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -340,9 +340,9 @@ } }, "node_modules/@ai-sdk/provider-utils/node_modules/undici": { - "version": "7.30.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-7.30.0.tgz", - "integrity": "sha512-dkrQXeHSaoamnItlYbmzG0wFYrM0ZwDxCIg0A7aKjTyyhh9svRzCNFEzV+Vm05/yehjCzjDZ31KXfGEjYSztDQ==", + "version": "7.29.1", + "resolved": "https://registry.npmmirror.com/undici/-/undici-7.29.1.tgz", + "integrity": "sha512-RYONW2MeafgYlkVOKYKkA/Ag7BmXqgIWCa8t1m0JcxrQg9pI9lEqRhAOruOBCbAohOa/gkCF+iPi9hrgvTzu6Q==", "license": "MIT", "engines": { "node": ">=20.18.1" @@ -17293,7 +17293,7 @@ "socks": "^2.8.10", "socks-proxy-agent": "^10.1.0", "turndown": "^7.2.4", - "undici": "7.30.0", + "undici": "8.10.2", "ws": "^8.21.3", "yaml": "^2.9.1", "zod": "^4.6.5" @@ -17430,12 +17430,12 @@ } }, "packages/runtime/node_modules/undici": { - "version": "7.30.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-7.30.0.tgz", - "integrity": "sha512-dkrQXeHSaoamnItlYbmzG0wFYrM0ZwDxCIg0A7aKjTyyhh9svRzCNFEzV+Vm05/yehjCzjDZ31KXfGEjYSztDQ==", + "version": "8.10.2", + "resolved": "https://registry.npmmirror.com/undici/-/undici-8.10.2.tgz", + "integrity": "sha512-/y4/bH9YNU5hi9NIrpOuvGXFcxrj3CMrV+/AYpowAYTpHn8gX/XPFjNy766FPoYY0miQhdW977JFWKGNhBdwyQ==", "license": "MIT", "engines": { - "node": ">=20.18.1" + "node": ">=22.19.0" } }, "packages/storage": { diff --git a/package.json b/package.json index 43afd77ffd9..a9df901bb55 100644 --- a/package.json +++ b/package.json @@ -139,7 +139,7 @@ "@hono/node-server": "2.0.12" }, "@ai-sdk/provider-utils": { - "undici": "7.30.0" + "undici": "7.29.1" }, "@electron/get": { "undici": "7.30.0" diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 48d3d4095fe..8cd6c9599df 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -182,7 +182,7 @@ "socks": "^2.8.10", "socks-proxy-agent": "^10.1.0", "turndown": "^7.2.4", - "undici": "7.30.0", + "undici": "8.10.2", "ws": "^8.21.3", "yaml": "^2.9.1", "zod": "^4.6.5" From a6df5ef0260ef818225e39687e3cdc4c5c34ccf7 Mon Sep 17 00:00:00 2001 From: ggbdpq Date: Tue, 29 Sep 2026 12:47:30 +0800 Subject: [PATCH 11/12] fix(deps): drop the @slack undici override in favor of the nested entry The `@slack/socket-mode` override demanded undici@7.30.0 while the runtime tree deduped to 8.10.2, and npm flagged the mismatch as invalid - which every npm ls consumer (audit, release closure, notices) turned into ELSPROBLEMS. The lockfile's nested `@slack/socket-mode/node_modules/undici@7.30.0` entry already satisfies the ^7 peer with the fixed release, so the override is redundant; dropping it leaves a fully valid tree. Generated-by: GLM-5.3-Flash (ZCode) --- package-lock.json | 6 ++++++ package.json | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1dfed7e1f7f..53cf5689f65 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17389,6 +17389,12 @@ "undici": "^7.0.0" } }, + "packages/runtime/node_modules/@slack/socket-mode/node_modules/undici": { + "version": "7.30.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-7.30.0.tgz", + "integrity": "sha512-dkrQXeHSaoamnItlYbmzG0wFYrM0ZwDxCIg0A7aKjTyyhh9svRzCNFEzV+Vm05/yehjCzjDZ31KXfGEjYSztDQ==", + "peer": true + }, "packages/runtime/node_modules/agent-base": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-9.0.0.tgz", diff --git a/package.json b/package.json index a9df901bb55..0d4f3f7b007 100644 --- a/package.json +++ b/package.json @@ -144,9 +144,6 @@ "@electron/get": { "undici": "7.30.0" }, - "@slack/socket-mode": { - "undici": "7.30.0" - }, "@jackwener/opencli": { "undici": "6.29.0" }, From edd1df172d03af6f2ba52a6d6a667e365d6e5a6f Mon Sep 17 00:00:00 2001 From: ggbdpq Date: Tue, 29 Sep 2026 12:56:08 +0800 Subject: [PATCH 12/12] chore(deps): regenerate the third-party notices for the walked-back closure The undici version walk-back changed the shipped closure again (+7.29.1, +8.10.2 after the @slack nested entry re-landed); the committed notices files now match it, per the lockfile-chain checklist. Generated-by: GLM-5.3-Flash (ZCode) --- .../licenses/npm/THIRD_PARTY_NOTICES.txt | 60 +++++++++++++++++++ packages/cli/THIRD_PARTY_NOTICES.txt | 60 +++++++++++++++++++ 2 files changed, 120 insertions(+) diff --git a/apps/desktop/resources/licenses/npm/THIRD_PARTY_NOTICES.txt b/apps/desktop/resources/licenses/npm/THIRD_PARTY_NOTICES.txt index ced0fbaf99c..15713a28dc3 100644 --- a/apps/desktop/resources/licenses/npm/THIRD_PARTY_NOTICES.txt +++ b/apps/desktop/resources/licenses/npm/THIRD_PARTY_NOTICES.txt @@ -15052,6 +15052,36 @@ SOFTWARE. ================================================================================ +Package: undici@7.29.1 +Declared license: MIT +Selected license: MIT +Repository: git+https://github.com/nodejs/undici.git + +--- LICENSE --- +MIT License + +Copyright (c) Matteo Collina and Undici contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +================================================================================ + Package: undici@7.30.0 Declared license: MIT Selected license: MIT @@ -15082,6 +15112,36 @@ SOFTWARE. ================================================================================ +Package: undici@8.10.2 +Declared license: MIT +Selected license: MIT +Repository: git+https://github.com/nodejs/undici.git + +--- LICENSE --- +MIT License + +Copyright (c) Matteo Collina and Undici contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +================================================================================ + Package: undici-types@8.9.0 Declared license: MIT Selected license: MIT diff --git a/packages/cli/THIRD_PARTY_NOTICES.txt b/packages/cli/THIRD_PARTY_NOTICES.txt index 898d2d50a9b..d379a4b5160 100644 --- a/packages/cli/THIRD_PARTY_NOTICES.txt +++ b/packages/cli/THIRD_PARTY_NOTICES.txt @@ -7444,6 +7444,36 @@ PERFORMANCE OF THIS SOFTWARE. ================================================================================ +Package: undici@7.29.1 +Declared license: MIT +Selected license: MIT +Repository: git+https://github.com/nodejs/undici.git + +--- LICENSE --- +MIT License + +Copyright (c) Matteo Collina and Undici contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +================================================================================ + Package: undici@7.30.0 Declared license: MIT Selected license: MIT @@ -7474,6 +7504,36 @@ SOFTWARE. ================================================================================ +Package: undici@8.10.2 +Declared license: MIT +Selected license: MIT +Repository: git+https://github.com/nodejs/undici.git + +--- LICENSE --- +MIT License + +Copyright (c) Matteo Collina and Undici contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +================================================================================ + Package: undici@8.11.2 Declared license: MIT Selected license: MIT