Add Claude Agent Teams native pane launcher (#4892)

* Add Claude Agent Teams native pane launcher

Co-authored-by: Orca <help@stably.ai>

* Fix Agent Teams CI coverage checks

Co-authored-by: Orca <help@stably.ai>

* Fix Claude Agent Teams split direction mapping

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Jinwoo Hong
2026-06-08 16:11:32 -04:00
committed by GitHub
co-authored by Orca
parent 9b819ce43f
commit 7ea359bd60
43 changed files with 1953 additions and 30 deletions
+3
View File
@@ -154,6 +154,9 @@ describe('CliInstaller', () => {
expect(installed.commandPath).toBe(join(commandDir, 'orca-dev'))
expect(installed.launcherPath).toBe(join(fixture.userDataPath, 'cli', 'bin', 'orca-dev'))
await expect(readlink(installed.commandPath as string)).resolves.toBe(installed.launcherPath)
await expect(
readFile(join(fixture.userDataPath, 'cli', 'bin', 'orca'), 'utf8')
).resolves.toBe(await readFile(installed.launcherPath as string, 'utf8'))
}
)
+9
View File
@@ -801,6 +801,15 @@ async function ensureDevLauncher(args: {
encoding: 'utf8',
mode: args.platform === 'win32' ? undefined : 0o755
})
if (args.commandName === DEV_COMMAND_NAME && args.platform !== 'win32') {
// Why: dev PTYs prepend userData/cli/bin to PATH, and product-owned
// commands are documented as `orca ...`. Keep that local alias fresh
// without claiming the global production command.
await writeFile(join(dirname(launcherPath), 'orca'), content, {
encoding: 'utf8',
mode: 0o755
})
}
return launcherPath
}