Merge remote-tracking branch 'origin/dev' into beta

# Conflicts:
#	packages/app/src/session/composer/location-missing.tsx
This commit is contained in:
Dax Raad
2026-10-18 16:02:27 -04:00
Unverified
299 changed files with 5351 additions and 6206 deletions
+5 -1
View File
@@ -16,9 +16,13 @@ const tracked = (await $`git diff --name-only --diff-filter=ACMR ${base}`.text()
const untracked = (await $`git ls-files --others --exclude-standard`.text()).split("\n")
// The packages .oxlintrc.json applies the anti-slop rules to.
const packages = ["packages/app/", "packages/desktop/", "packages/gui-extensions/", "packages/ui/", "packages/session-ui/"]
// oxlint skips declaration files and prints a non-JSON message when given only those.
const files = [...new Set([...tracked, ...untracked])].filter(
(file) =>
/\.(ts|tsx)$/.test(file) && packages.some((prefix) => file.startsWith(prefix)) && Bun.file(file).size > 0,
/\.(ts|tsx)$/.test(file) &&
!file.endsWith(".d.ts") &&
packages.some((prefix) => file.startsWith(prefix)) &&
Bun.file(file).size > 0,
)
if (files.length === 0) {
+4 -4
View File
@@ -43,7 +43,7 @@ const report = {
averageCpuPercent: average(active.map((sample) => sample.cpuPercent)),
peakAggregateRssMB: Math.max(0, ...active.map((sample) => sample.aggregateRssMB)),
peakProcesses: Math.max(0, ...active.map((sample) => sample.processes)),
peakTsgoRelatedProcesses: Math.max(0, ...active.map((sample) => sample.tsgoRelatedProcesses)),
peakTscRelatedProcesses: Math.max(0, ...active.map((sample) => sample.tscRelatedProcesses)),
swapDeltaMB: after.swapUsedMB - before.swapUsedMB,
compressedMemoryDeltaMB: after.compressedMemoryMB - before.compressedMemoryMB,
pageoutDelta: after.pageouts - before.pageouts,
@@ -63,7 +63,7 @@ Typecheck profile
Average CPU: ${report.summary.averageCpuPercent.toFixed(0)}%
Peak CPU: ${report.summary.peakCpuPercent.toFixed(0)}%
Aggregate RSS: ${report.summary.peakAggregateRssMB.toFixed(0)} MB
Peak processes: ${report.summary.peakProcesses} (${report.summary.peakTsgoRelatedProcesses} tsgo-related)
Peak processes: ${report.summary.peakProcesses} (${report.summary.peakTscRelatedProcesses} tsc-related)
Swap delta: ${signed(report.summary.swapDeltaMB)} MB
Compressed: ${signed(report.summary.compressedMemoryDeltaMB)} MB
Pageouts: ${signed(report.summary.pageoutDelta)}
@@ -89,7 +89,7 @@ function processTreeSnapshot(rootPID: number, startedAt: Date) {
return {
elapsedSeconds: (Date.now() - startedAt.getTime()) / 1000,
processes: tree.length,
tsgoRelatedProcesses: tree.filter((process) => /\btsgo\b/.test(process.command)).length,
tscRelatedProcesses: tree.filter((process) => /\btsc\b/.test(process.command)).length,
cpuPercent: sum(tree.map((process) => process.cpuPercent)),
aggregateRssMB: sum(tree.map((process) => process.rssKB)) / 1024,
}
@@ -115,7 +115,7 @@ function systemSnapshot() {
pageouts: fields.Pageouts ?? 0,
relevantProcesses: processList()
.filter((process) =>
/opencode|tsgo|tsserver|vtsls|eslintServer|tailwindcss-language-server/.test(process.command),
/opencode|\btsc\b|tsserver|vtsls|eslintServer|tailwindcss-language-server/.test(process.command),
)
.sort((a, b) => b.rssKB - a.rssKB)
.map(processSummary),
+1
View File
@@ -109,6 +109,7 @@ async function prepare(input: (typeof packages)[number]) {
"Publisher: OpenCode",
"PublisherUrl: https://anoma.ly/",
"PublisherSupportUrl: https://github.com/anomalyco/opencode/issues",
"PrivacyUrl: https://opencode.ai/legal/privacy-policy",
`PackageName: ${input.name}`,
"PackageUrl: https://opencode.ai/",
"License: MIT",
+7 -6
View File
@@ -127,9 +127,10 @@ if (Script.release) {
await $`bun ./packages/desktop/scripts/publish.ts`
}
if (Script.release && Script.channel === "latest") {
console.log("\n=== winget ===\n")
// Everything else is published by now, and WinGet validation can reject a submission for reasons unrelated to the release.
if ((await $`bun ./script/publish-winget.ts`.nothrow()).exitCode !== 0)
console.log("::warning::WinGet submission failed; see the winget step output above")
}
// WinGet submission is paused until our packages are accepted into microsoft/winget-pkgs.
// if (Script.release && Script.channel === "latest") {
// console.log("\n=== winget ===\n")
// // Everything else is published by now, and WinGet validation can reject a submission for reasons unrelated to the release.
// if ((await $`bun ./script/publish-winget.ts`.nothrow()).exitCode !== 0)
// console.log("::warning::WinGet submission failed; see the winget step output above")
// }