Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
TypeScript adeagent-ideai-agentsautomationbotclaude-codecodexghosttygrok-bothermes-agentmobile-appmuseopenclawopencodeorchestrationpiruntimeterminalworktreesyc-backed
import { join } from 'node:path'
export function getTarProgram(): string {
return process.platform === 'win32'
? join(process.env.SystemRoot || 'C:\\Windows', 'System32', 'tar.exe')
: 'tar'
}
/** The destination must already exist; callers extract only checksum-verified archives. */
export function getZipExtractorCommand(
zipPath: string,
extractDir: string
): { file: string; args: string[]; label: string } {
if (process.platform === 'win32' && !process.env.ORCA_UNZIP_BIN) {
return {
file: getTarProgram(),
args: ['-xf', zipPath, '-C', extractDir],
label: 'tar'
}
}
return {
file: process.env.ORCA_UNZIP_BIN || 'unzip',
args: ['-q', zipPath, '-d', extractDir],
label: 'unzip'
}
}