diff --git a/src/entrypoints/cli.tsx b/src/entrypoints/cli.tsx index efe7e5272..a6e7a58ad 100644 --- a/src/entrypoints/cli.tsx +++ b/src/entrypoints/cli.tsx @@ -323,16 +323,6 @@ async function main(): Promise { return; } - // Fast-path for `claude self-hosted-runner`: headless self-hosted-runner - // targeting the SelfHostedRunnerWorkerService API (register + poll; poll IS - // heartbeat). feature() must stay inline for build-time dead code elimination. - if (feature('SELF_HOSTED_RUNNER') && args[0] === 'self-hosted-runner') { - profileCheckpoint('cli_self_hosted_runner_path'); - const { selfHostedRunnerMain } = await import('../self-hosted-runner/main.js'); - await selfHostedRunnerMain(args.slice(1)); - return; - } - // Fast-path for --worktree --tmux: exec into tmux before loading full CLI const hasTmuxFlag = args.includes('--tmux') || args.includes('--tmux=classic'); if ( diff --git a/src/self-hosted-runner/main.ts b/src/self-hosted-runner/main.ts deleted file mode 100644 index acec32b91..000000000 --- a/src/self-hosted-runner/main.ts +++ /dev/null @@ -1,4 +0,0 @@ -// Auto-generated stub — replace with real implementation -export {} -export const selfHostedRunnerMain: (args: string[]) => Promise = () => - Promise.resolve()