Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
3fc5e5a
Unify dedicated agent launch choices and argument badges
brennanb2025 Oct 27, 2026
81573b9
Enable action model and effort menus with argument migration
brennanb2025 Oct 27, 2026
00c2827
Bound argument choice edit range processing
brennanb2025 Oct 27, 2026
560e1c3
Preserve independent action effort through launch and migration
brennanb2025 Oct 27, 2026
8bfb374
Preserve literal config arguments and explicit launch permissions
brennanb2025 Oct 27, 2026
758bcd9
Respect repository action argument groups and share launch controls
brennanb2025 Oct 27, 2026
6fab063
Remove duplicate action launch command coverage
brennanb2025 Oct 27, 2026
2149451
Add agent setup search and controls to the new tab menu
brennanb2025 Oct 28, 2026
04e0c44
Show inherited choices beside picker reset options
brennanb2025 Oct 28, 2026
ddc271d
Keep terminal Arguments separate from shared launch choices
brennanb2025 Oct 28, 2026
b6fc29e
Launch default agents from rows and select resolved setup values
brennanb2025 Oct 28, 2026
43c778e
Keep terminal settings available while Chat defaults load
brennanb2025 Oct 28, 2026
1bbf3bb
Reuse existing launch setup controls and Arguments editor
brennanb2025 Oct 28, 2026
8406e91
Unify Source Control action choices and repository overrides
brennanb2025 Oct 28, 2026
052570c
Merge main into Source Control action choices
brennanb2025 Oct 28, 2026
00c0236
Use precise types in action choice contracts
brennanb2025 Oct 28, 2026
1e4cd82
Consolidate action choice test imports
brennanb2025 Oct 28, 2026
0abf019
Correct action choice types and integration test boundaries
brennanb2025 Oct 28, 2026
c88346f
Complete prepared terminal test result contract
brennanb2025 Oct 28, 2026
5b22618
Align action integration expectations with canonical choices
brennanb2025 Oct 28, 2026
cdb82bb
Keep launch defaults authoritative and couple CLI controls
brennanb2025 Oct 28, 2026
a3973db
Assert production Chat preparation runs in launch contract
brennanb2025 Oct 28, 2026
c93efee
Merge current stack base before final verification
brennanb2025 Oct 28, 2026
4612244
Merge main to resolve the final action launch test conflict
brennanb2025 Oct 28, 2026
b08155d
Preserve alternate Chat launches and bound picker argument derivation
brennanb2025 Oct 28, 2026
4beeadc
Merge stack base to resolve translation conflicts
brennanb2025 Oct 28, 2026
f2f2b18
Publish committed picker priority and satisfy control contracts
brennanb2025 Oct 29, 2026
c5dd269
Reuse agent launch setup in workspace creation and continuation
brennanb2025 Oct 29, 2026
3021228
Preserve form surface when confirming agent setup with Enter
brennanb2025 Oct 29, 2026
80737f0
Merge main and preserve the shared launch picker
brennanb2025 Oct 30, 2026
2991322
Use the shared launch picker in Source Control
brennanb2025 Oct 30, 2026
421b398
Preserve recipe ownership when applying shared setup
brennanb2025 Oct 30, 2026
e6d4fbe
Combine action dialog picker imports
brennanb2025 Oct 30, 2026
4cbce80
Use a static full-width agent picker trigger
brennanb2025 Oct 30, 2026
5616c9c
Fix picker type contracts and setup-only translations
brennanb2025 Oct 30, 2026
ca18c39
Use canonical Japanese agent picker wording
brennanb2025 Oct 30, 2026
bf521de
Preserve workspace surface choices as host facts refresh
brennanb2025 Oct 30, 2026
5faa4c1
Preserve authored agent setups across launch forms
brennanb2025 Oct 30, 2026
daa0345
Checkpoint shared launch picker source and authoring repairs
brennanb2025 Oct 30, 2026
b4724b3
Merge main for shared launch projection integration
brennanb2025 Oct 30, 2026
5f40aee
Unify agent setup drafts and preserve launch source across routes
brennanb2025 Oct 30, 2026
75727ed
Verify saved action labels match terminal startup models
brennanb2025 Oct 30, 2026
41524a0
Keep agent setup drafts with their launch owner
brennanb2025 Oct 31, 2026
e65bdf3
Cover acquired model and effort draft retirement
brennanb2025 Oct 31, 2026
13e763c
Merge main to resolve agent picker integration conflicts
brennanb2025 Oct 31, 2026
ba203c4
Use the shared picker owner type at draft boundaries
brennanb2025 Oct 31, 2026
7d92b32
Consolidate duplicate agent picker imports
brennanb2025 Oct 31, 2026
05e98e8
Preserve resolved folder agent startup inputs
brennanb2025 Oct 31, 2026
7d33049
Clarify setup event handler and stabilize dialog fixture keys
brennanb2025 Oct 31, 2026
b42ee70
Keep launch picker presentation current across locale and native updates
brennanb2025 Oct 31, 2026
171284f
Bundle sandbox preload dependencies and declare mobile parser ownership
brennanb2025 Oct 31, 2026
e7a5bc6
Preserve checked launch contracts and isolate the native model mapper
brennanb2025 Oct 31, 2026
2ec67f8
test: restore picker locale before disposal assertions
brennanb2025 Oct 31, 2026
eed4689
Merge main into agent picker branch
brennanb2025 Oct 31, 2026
864770e
Correct restricted preload verifier encoding context
brennanb2025 Oct 31, 2026
294a1e1
Preserve legacy agent choice removal and isolated fixture contracts
brennanb2025 Oct 31, 2026
b89ad67
Combine German agent picker translations without shadowing
brennanb2025 Oct 31, 2026
677357a
Combine remaining colliding agent picker locale namespaces
brennanb2025 Oct 31, 2026
0aa978e
Keep editor fixture snapshot publication outside state updater
brennanb2025 Oct 31, 2026
c4b6ba4
Preserve launch setup intent through picker and terminal adapters
brennanb2025 Oct 31, 2026
da0a3e3
Restore editing delegated agent options and checked launch fixtures
brennanb2025 Oct 31, 2026
a53a0c9
Use checked types for hoisted launch fixtures
brennanb2025 Oct 31, 2026
051ee84
Align pane planner tests with optional launch options
brennanb2025 Oct 31, 2026
45a5898
Merge origin/main to resolve integration conflicts
brennanb2025 Oct 31, 2026
ac6a071
Honor saved Source Control launch surfaces
brennanb2025 Oct 31, 2026
9b83104
Consolidate direct launch type imports
brennanb2025 Oct 31, 2026
083f87a
Merge main and preserve web launch adapter contracts
brennanb2025 Oct 31, 2026
e34fa01
Allow agent model discovery before chat initialization
brennanb2025 Nov 1, 2026
ff1c62e
Keep catalog availability distinct from absent discovery
brennanb2025 Nov 1, 2026
c399358
Merge pinned main into agent picker branch
brennanb2025 Nov 1, 2026
01e0523
Keep usable model rows clear of catalog failure guidance
brennanb2025 Nov 1, 2026
487bd6c
Merge pinned main preserving source control picker
brennanb2025 Nov 1, 2026
fabefbf
Fix catalog dependency static typing
brennanb2025 Nov 1, 2026
853b3de
Align Japanese catalog guidance terminology
brennanb2025 Nov 1, 2026
de895de
Cover both reserved host shutdown phases
brennanb2025 Nov 1, 2026
b7724ad
Align workspace catalog fixture with runtime accessor
brennanb2025 Nov 1, 2026
aaddd09
Make catalog owner fixture command portable
brennanb2025 Nov 1, 2026
4c4272d
Merge main and preserve shared agent picker contracts
brennanb2025 Nov 1, 2026
ef63961
Merge main and preserve agent picker and catalog contracts
brennanb2025 Nov 1, 2026
90c9b48
Correct merged agent picker test coverage
brennanb2025 Nov 1, 2026
1116fbd
Use direct capability owner in launch test fixture
brennanb2025 Nov 1, 2026
0b3246c
test: preserve picker and worktree launch fixture contracts
brennanb2025 Nov 1, 2026
7b8736a
Merge pinned main and preserve picker test contracts
brennanb2025 Nov 1, 2026
ab9c049
Merge pinned main and preserve launch and handoff contracts
brennanb2025 Nov 2, 2026
80ae360
Merge pinned main wire compatibility fix
brennanb2025 Nov 2, 2026
e641b95
Update source control launch callback expectation
brennanb2025 Nov 2, 2026
6cff481
Restore dialog fixture mocks between accepted-action cases
brennanb2025 Nov 2, 2026
336d6db
Merge main to include Mobile compatibility fix
brennanb2025 Nov 2, 2026
e612be9
Merge pinned main first-prompt setup integration
brennanb2025 Nov 2, 2026
7d36a0d
Preserve derived recipe Arguments and verify picker launch effects
brennanb2025 Nov 2, 2026
4a93085
Keep prompt renderer tests in their original DOM environment
brennanb2025 Nov 2, 2026
ef42415
Merge current main with picker integration repairs
brennanb2025 Nov 2, 2026
db08185
test: consolidate launch setup fixture imports
brennanb2025 Nov 2, 2026
2e8487b
test: initialize catalog composer status fixture
brennanb2025 Nov 2, 2026
e55fb2f
Put chat and terminal choices on the agent setup popover.
brennanb2025 Nov 2, 2026
ced8cd2
Merge main into agent picker branch
brennanb2025 Nov 2, 2026
50070d7
Preserve form surface choices when reselecting an agent
brennanb2025 Nov 2, 2026
c08f47b
Keep pending Source Control edits when Chat is chosen in the popover.
brennanb2025 Nov 2, 2026
a02e39c
Drop unused agent picker catalog strings.
brennanb2025 Nov 2, 2026
9e24131
Show (CLI) on closed agent fields only when the launch is the terminal.
brennanb2025 Nov 2, 2026
8329506
Merge main into agent picker branch
brennanb2025 Nov 2, 2026
2c6284b
Show the terminal icon on the Blank Terminal row.
brennanb2025 Nov 2, 2026
52adab3
Merge remote-tracking branch 'origin/main' into brennanb2025/agent-pi…
brennanb2025 Nov 2, 2026
90bd218
Merge remote-tracking branch 'origin/main' into brennanb2025/agent-pi…
brennanb2025 Nov 2, 2026
c5749d0
Match the agent menu to the width of its field.
brennanb2025 Nov 2, 2026
cc778f4
Show Agent settings at the bottom of the shared agent menu.
brennanb2025 Nov 2, 2026
6503ec9
Make Blank Terminal the setup-only workspace create.
brennanb2025 Nov 3, 2026
abe06f4
Make the shared agent menu shorter.
brennanb2025 Nov 3, 2026
29fb2da
Preserve picker forms through agent settings and explicit choices
brennanb2025 Nov 3, 2026
9818778
Complete picker regression fixture types
brennanb2025 Nov 3, 2026
b4ed730
Cover saved picker choices through Source Control dispatch
brennanb2025 Nov 3, 2026
a8616ad
Merge main into agent-picker-everywhere
brennanb2025 Nov 3, 2026
2b1a136
Match the Create worktree agent menu to its field
brennanb2025 Nov 3, 2026
8950067
Merge main into agent-picker-everywhere
brennanb2025 Nov 3, 2026
3f87935
Prove linear Create worktree menu target lookup
brennanb2025 Nov 3, 2026
10681ab
Merge main native submenu changes into agent picker
brennanb2025 Nov 3, 2026
a0b492d
Merge pinned main submit icon and highlight updates
brennanb2025 Nov 3, 2026
1287bf3
Keep agent setup width and restore settings focus
brennanb2025 Nov 3, 2026
757b1ba
Merge pinned main into agent picker branch
brennanb2025 Nov 3, 2026
d47a45e
Fix agent picker test observer and import setup
brennanb2025 Nov 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/scripts/check-mobile-shared-dependency-versions.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { pathToFileURL } from 'node:url'
import { lockedVersion, lockfileRootImporter } from './pnpm-lockfile-root-importer.mjs'

// Shared tsconfig remaps to mobile copies; mismatched versions prevent TS merging Zod schemas, inferring {} (phone-feed-list.ts).
export const SHARED_DEPENDENCIES = ['zod', 'tweetnacl', '@noble/hashes', '@types/ws']
export const SHARED_DEPENDENCIES = ['zod', 'smol-toml', 'tweetnacl', '@noble/hashes', '@types/ws']

// Mobile typechecks through the root runner, whose Bun path accepts one TypeScript version, and
// mobile CI runs its tests with the root's Vitest CLI against mobile's `vitest` imports.
Expand Down
13 changes: 13 additions & 0 deletions config/scripts/check-mobile-shared-dependency-versions.test.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { readFileSync } from 'node:fs'
import { lockfileRootImporter } from './pnpm-lockfile-root-importer.mjs'
import path from 'node:path'
import { describe, expect, it } from 'vitest'
import {
Expand Down Expand Up @@ -41,6 +43,7 @@ describe('findSharedDependencyVersionProblems', () => {
mobileImporter: locked('4.6.7')
})
expect(problems).toEqual([
'smol-toml is not a direct dependency of the root',
'tweetnacl is not a direct dependency of the root',
'@noble/hashes is not a direct dependency of the root',
'@types/ws is not a direct dependency of the root',
Expand All @@ -52,6 +55,16 @@ describe('findSharedDependencyVersionProblems', () => {
})

describe('committed lockfiles', () => {
it('rejects a mobile release lock missing the actual shared parser dependency', () => {
const read = (file) => lockfileRootImporter(readFileSync(path.join(projectDir, file), 'utf8'))
const rootImporter = read('pnpm-lock.yaml')
const mobileImporter = read('mobile/pnpm-lock.yaml')
delete mobileImporter.dependencies['smol-toml']
expect(findSharedDependencyVersionProblems({ rootImporter, mobileImporter })).toEqual([
'smol-toml is not a direct dependency of mobile'
])
})

it('pass the repository check', () => {
expect(main(projectDir)).toBe(0)
})
Expand Down
67 changes: 67 additions & 0 deletions config/scripts/electron-vite-output-contract.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { verifyPreloadSource, verifyPreloadOutput } from './preload-output-contract.mjs'
import * as nodeFs from 'node:fs'
import { mkdtempSync, readFileSync, rmSync } from 'node:fs'
import * as nodePath from 'node:path'
Expand All @@ -6,6 +7,9 @@ import { tmpdir } from 'node:os'
import { EventEmitter } from 'node:events'
import { runInNewContext } from 'node:vm'
import { describe, expect, it } from 'vitest'
import { PreloadConfigFactory } from 'electron-vite'
import { resolveConfig } from 'vite'
import { electronViteConfig } from '../../electron.vite.config'
import {
BOOTSTRAP_FATAL_LOG_ENV_VAR,
BOOTSTRAP_FATAL_LOG_FILE_NAME,
Expand Down Expand Up @@ -64,6 +68,69 @@ function failBootstrapWithBanner(options: {
}

describe('Electron Vite output contract', () => {
it('bundles ordinary preload dependencies while retaining sandbox builtins', async () => {
expect(electronViteConfig.preload?.build?.externalizeDeps).toBe(false)
const preload = await new PreloadConfigFactory(electronViteConfig.preload ?? {}, {}, {}).build()
const resolved = await resolveConfig({ ...preload, configFile: false }, 'build')
const patterns = resolved.build.rolldownOptions.external
if (!Array.isArray(patterns)) {
throw new Error('Expected preload externals')
}
const external = (source: string) =>
patterns.some((pattern) =>
typeof pattern === 'string' ? pattern === source : pattern.test(source)
)
expect(external('electron')).toBe(true)
expect(external('node:fs')).toBe(true)
for (const name of ['smol-toml', 'smol-toml/package.json', 'zod']) {
expect(external(name)).toBe(false)
}
})

it('rejects unsupported lazy, dynamic, indirect and chunked sandbox output', async () => {
for (const source of [
'require("smol-toml")',
'function later(){ return require("node:fs") }',
'require(name)',
'const load = require; load("smol-toml")',
'import("smol-toml")',
'module.require("smol-toml")',
'const load = process.getBuiltinModule; load("fs")'
]) {
await expect(verifyPreloadSource(source)).rejects.toThrow()
}
await expect(verifyPreloadSource('require("electron")')).rejects.toThrow('executable')
const root = mkdtempSync(join(tmpdir(), 'orca-preload-contract-'))
try {
nodeFs.mkdirSync(join(root, 'out', 'preload'), { recursive: true })
nodeFs.writeFileSync(join(root, 'out', 'preload', 'index.js'), '')
nodeFs.writeFileSync(join(root, 'out', 'preload', 'lazy.js'), '')
await expect(verifyPreloadOutput(root)).rejects.toThrow('one complete artifact')
} finally {
rmSync(root, { recursive: true, force: true })
}
})

it('executes multibyte encoding and the restricted bridge with checked IPC results', async () => {
const source = `const {contextBridge, ipcRenderer} = require('electron');
const text = 'A🌊é中';
const encoded = new TextEncoder().encode(text);
if (Array.from(encoded).join(',') !== '65,240,159,140,138,195,169,228,184,173') {
throw new Error('Incorrect multibyte UTF-8 encoding');
}
if (new TextDecoder('utf-8', {fatal: true}).decode(encoded) !== text) {
throw new Error('Incorrect multibyte UTF-8 decoding');
}
contextBridge.exposeInMainWorld('api', {
app: {getIdentity: () => ipcRenderer.invoke('app:getIdentity')},
orcaProfiles: {list: () => ipcRenderer.invoke('orcaProfiles:list')}
});`
await expect(verifyPreloadSource(source)).resolves.toEqual({ imports: ['electron'] })
await expect(verifyPreloadSource(source.replace('app:getIdentity', 'wrong'))).rejects.toThrow(
'bridge result'
)
})

it('exits when a static import fails before source error guards load', () => {
const processMock = new EventEmitter() as EventEmitter & {
exit: (code: number) => void
Expand Down
150 changes: 150 additions & 0 deletions config/scripts/preload-output-contract.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
import fs from 'node:fs'
import path from 'node:path'
import { pathToFileURL } from 'node:url'
import * as events from 'node:events'
import * as timers from 'node:timers'
import * as url from 'node:url'
import { runInNewContext } from 'node:vm'
import ts from 'typescript-api'

// Inspect lazy bodies too: successful initialization alone can miss an external loaded on first use.
export function preloadRuntimeImports(source) {
const ast = ts.createSourceFile(
'preload.cjs',
source,
ts.ScriptTarget.Latest,
true,
ts.ScriptKind.JS
)
const imports = new Set()
function visit(node) {
if (ts.isImportDeclaration(node) || (ts.isExportDeclaration(node) && node.moduleSpecifier)) {
throw new Error('Sandbox preload must be a self-contained CommonJS artifact')
}
if (ts.isCallExpression(node) && node.expression.kind === ts.SyntaxKind.ImportKeyword) {
throw new Error('Sandbox preload contains dynamic import')
}
if (ts.isIdentifier(node) && node.text === 'require') {
const parent = node.parent
if (
ts.isCallExpression(parent) &&
parent.expression === node &&
parent.arguments.length === 1 &&
ts.isStringLiteral(parent.arguments[0])
) {
imports.add(parent.arguments[0].text)
} else if (!ts.isTypeOfExpression(parent)) {
throw new Error('Sandbox preload contains indirect or dynamic require')
}
}
if (
ts.isPropertyAccessExpression(node) &&
['require', 'createRequire', 'getBuiltinModule'].includes(node.name.text)
) {
throw new Error('Sandbox preload contains an unsupported module loader')
}
ts.forEachChild(node, visit)
}
visit(ast)
return [...imports].sort()
}

export async function verifyPreloadSource(source) {
const exposed = new Map()
const calls = []
const ipcRenderer = {
invoke: async (channel, ...args) => {
calls.push([channel, ...args])
return { channel }
},
on: () => {},
once: () => {},
removeListener: () => {},
send: () => {},
sendSync: () => {}
}
const electron = {
contextBridge: { exposeInMainWorld: (name, api) => exposed.set(name, api) },
ipcRenderer,
webUtils: { getPathForFile: () => '' }
}
const modules = new Map([
['electron', electron],
['electron/common', electron],
['electron/renderer', electron],
['events', events],
['node:events', events],
['timers', timers],
['node:timers', timers],
['url', url],
['node:url', url]
])
const imports = preloadRuntimeImports(source)
const unsupported = imports.filter((name) => !modules.has(name))
if (unsupported.length) {
throw new Error(`Unsupported sandbox preload imports: ${unsupported.join(', ')}`)
}
const sandbox = {
process: { contextIsolated: true, platform: process.platform, versions: {}, env: {}, argv: [] },
require: (name) => {
if (!modules.has(name)) {
throw new Error(`Unsupported sandbox module: ${name}`)
}
return modules.get(name)
},
Buffer,
TextEncoder,
TextDecoder,
console,
setTimeout,
clearTimeout,
setInterval,
clearInterval,
window: {},
document: { addEventListener: () => {} }
}
runInNewContext(source, sandbox, {
filename: 'preload.cjs',
timeout: 1000,
contextCodeGeneration: { strings: false, wasm: false }
})
const api = exposed.get('api')
if (
typeof api?.app?.getIdentity !== 'function' ||
typeof api?.orcaProfiles?.list !== 'function'
) {
throw new Error('Sandbox preload did not publish executable app/profile APIs')
}
for (const [call, channel] of [
[() => api.app.getIdentity(), 'app:getIdentity'],
[() => api.orcaProfiles.list(), 'orcaProfiles:list']
]) {
const result = await call()
if (result?.channel !== channel) {
throw new Error(`Sandbox API did not return the ${String(channel)} bridge result`)
}
}
if (JSON.stringify(calls) !== JSON.stringify([['app:getIdentity'], ['orcaProfiles:list']])) {
throw new Error('Sandbox API invocation changed IPC channels or arguments')
}
return { imports }
}

export async function verifyPreloadOutput(root = process.cwd()) {
const directory = path.join(root, 'out', 'preload')
const scripts = fs
.readdirSync(directory, { recursive: true })
.filter((name) => /\.(?:c?js|mjs)$/.test(name))
if (scripts.length !== 1 || scripts[0] !== 'index.js') {
throw new Error(`Sandbox preload requires one complete artifact, found: ${scripts.join(', ')}`)
}
const result = await verifyPreloadSource(
fs.readFileSync(path.join(directory, 'index.js'), 'utf8')
)
console.log(`Sandbox preload verified: index.js; imports=${result.imports.join(', ')}`)
return result
}

if (process.argv[1] && pathToFileURL(process.argv[1]).href === import.meta.url) {
await verifyPreloadOutput()
}
11 changes: 10 additions & 1 deletion config/scripts/run-electron-vite-build.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { verifyPreloadOutput } from './preload-output-contract.mjs'
import { spawn } from 'node:child_process'
import fs from 'node:fs'
import { createRequire } from 'node:module'
Expand All @@ -21,7 +22,7 @@ const child = spawn(process.execPath, [electronViteCli, 'build', ...process.argv
}
})

child.on('exit', (code, signal) => {
child.on('exit', async (code, signal) => {
if (signal) {
process.kill(process.pid, signal)
return
Expand All @@ -35,5 +36,13 @@ child.on('exit', (code, signal) => {
const target = process.env.ORCA_ELECTRON_VITE_TARGET
const builtRenderer =
(!target || target === 'renderer') && fs.existsSync(path.join(RENDERER_BUILD_DIR, 'index.html'))
if (!target || target === 'preload') {
try {
await verifyPreloadOutput()
} catch (error) {
console.error(error)
process.exit(1)
}
}
process.exit(builtRenderer ? verifyRendererBootGraph() : 0)
})
1 change: 1 addition & 0 deletions config/scripts/typecheck-project-coverage.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ describe('typecheck project coverage', () => {
const files = [
'src/renderer/src/components/task-page/linear/task-page-linear-detail-query.test.tsx',
'src/renderer/src/components/terminal-pane/pty-agent-pane-launch.test.ts',
'src/renderer/src/components/right-sidebar/SourceControlAgentActionDialog.picker.test.tsx',
'src/renderer/src/components/github-item-dialog/load-item-details/work-item-details-target-contract.test.tsx',
'src/renderer/src/runtime/observed-provider-accounts.test.tsx',
'src/renderer/src/components/status-bar/ClaudeSwitcherMenu.observation.test.tsx',
Expand Down
3 changes: 3 additions & 0 deletions config/tsconfig.tc.web.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"exclude": [
"../src/renderer/src/components/task-page/linear/task-page-linear-detail-query.test.tsx",
"../src/renderer/src/components/terminal-pane/pty-agent-pane-launch.test.ts",
"../src/renderer/src/components/right-sidebar/SourceControlAgentActionDialog.picker.test.tsx",
"../src/renderer/src/components/github-item-dialog/load-item-details/work-item-details-target-contract.test.tsx",
"../src/renderer/src/runtime/observed-provider-accounts.test.tsx",
"../src/renderer/src/components/status-bar/ClaudeSwitcherMenu.observation.test.tsx",
Expand Down Expand Up @@ -30,6 +31,8 @@
"../src/preload/renderer-restart-wiring.ts",
"../src/preload/runtime-environment-subscriptions.ts",
"../src/preload/usage-provider-api.ts",
"../src/main/pi/rpc-model-schema.ts",
"../src/main/pi/rpc-model-options.ts",
"../src/shared/**/*",
"../mobile/src/worktree/worktree-agent-child-rows.ts",
"../src/packages/process-host/src/__fixtures__/**/*",
Expand Down
1 change: 1 addition & 0 deletions config/tsconfig.test.pane-launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"include": [
"../src/renderer/src/components/task-page/linear/task-page-linear-detail-query.test.tsx",
"../src/renderer/src/components/terminal-pane/pty-agent-pane-launch.test.ts",
"../src/renderer/src/components/right-sidebar/SourceControlAgentActionDialog.picker.test.tsx",
"../src/renderer/src/components/github-item-dialog/load-item-details/work-item-details-target-contract.test.tsx",
"../src/renderer/src/runtime/observed-provider-accounts.test.tsx",
"../src/renderer/src/components/status-bar/ClaudeSwitcherMenu.observation.test.tsx",
Expand Down
3 changes: 3 additions & 0 deletions config/tsconfig.web.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@
"../src/renderer/src/**/*.tsx",
"../src/preload/api-types.ts",
"../src/preload/api/**/*",
"../src/main/pi/rpc-model-schema.ts",
"../src/main/pi/rpc-model-options.ts",
"../src/shared/**/*"
],
"exclude": [
"../src/renderer/src/components/task-page/linear/task-page-linear-detail-query.test.tsx",
"../src/renderer/src/components/terminal-pane/pty-agent-pane-launch.test.ts",
"../src/renderer/src/components/right-sidebar/SourceControlAgentActionDialog.picker.test.tsx",
"../src/renderer/src/components/github-item-dialog/load-item-details/work-item-details-target-contract.test.tsx",
"../src/renderer/src/runtime/observed-provider-accounts.test.tsx",
"../src/renderer/src/components/status-bar/ClaudeSwitcherMenu.observation.test.tsx",
Expand Down
4 changes: 1 addition & 3 deletions electron.vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,7 @@ export const electronViteConfig: UserConfig = {
},
preload: {
build: {
externalizeDeps: {
exclude: ['zod']
},
externalizeDeps: false,
rollupOptions: {
// Unminified preload keeps dependency JSDoc whose em dashes would force two-byte storage in every renderer.
output: { charset: 'ascii', comments: { legal: true, annotation: true, jsdoc: false } }
Expand Down
1 change: 1 addition & 0 deletions mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"react-native-webview": "13.16.2",
"react-native-worklets": "^0.8.3",
"remend": "1.4.0",
"smol-toml": "1.9.1",
"tweetnacl": "^1.0.3",
"zod": "~4.6.7"
},
Expand Down
Loading
Loading