Revert Claude scoped settings launch path (#2809)

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Brennan Benson
2026-05-25 19:03:14 -07:00
committed by GitHub
co-authored by Orca
parent e0af80ddec
commit add481978e
20 changed files with 171 additions and 287 deletions
+1 -1
View File
@@ -7189,7 +7189,7 @@ describe('OrcaRuntimeService', () => {
expect(spawn).toHaveBeenCalledWith(
expect.objectContaining({
cwd: '/remote/mobile-startup-draft',
command: `claude --settings "$HOME/.orca/agent-hooks/claude-agent-status-settings.json" --prefill '${draftUrl}'`,
command: `claude --prefill '${draftUrl}'`,
connectionId: 'ssh-1',
worktreeId: result.worktree.id
})
+2 -4
View File
@@ -6730,8 +6730,7 @@ export class OrcaRuntimeService {
agent,
draft: content,
cmdOverrides: settings.agentCmdOverrides ?? {},
platform: agentLaunchPlatform,
useOrcaClaudeAgentStatusSettings: settings.agentStatusHooksEnabled !== false
platform: agentLaunchPlatform
})
if (draftLaunchPlan) {
return {
@@ -6748,8 +6747,7 @@ export class OrcaRuntimeService {
prompt: '',
cmdOverrides: settings.agentCmdOverrides ?? {},
platform: agentLaunchPlatform,
allowEmptyPromptLaunch: true,
useOrcaClaudeAgentStatusSettings: settings.agentStatusHooksEnabled !== false
allowEmptyPromptLaunch: true
})
if (!startupPlan) {
return null