Restore agent hook opt-out controls (#2778)
This commit is contained in:
@@ -31,6 +31,7 @@ import {
|
||||
unregisterSshFilesystemProvider
|
||||
} from '../providers/ssh-filesystem-dispatch'
|
||||
import { registerSshGitProvider, unregisterSshGitProvider } from '../providers/ssh-git-dispatch'
|
||||
import { appendOrcaCodexAgentStatusProfile } from '../../shared/codex-profile'
|
||||
import { DEFAULT_REPO_BADGE_COLOR } from '../../shared/constants'
|
||||
import { advertisedUrlWatcher } from '../ports/advertised-url-watcher'
|
||||
|
||||
@@ -6922,7 +6923,7 @@ describe('OrcaRuntimeService', () => {
|
||||
1,
|
||||
expect.objectContaining({
|
||||
cwd: '/tmp/workspaces/runtime-startup-setup-split',
|
||||
command: 'codex',
|
||||
command: appendOrcaCodexAgentStatusProfile('codex'),
|
||||
worktreeId: result.worktree.id
|
||||
})
|
||||
)
|
||||
@@ -7025,7 +7026,7 @@ describe('OrcaRuntimeService', () => {
|
||||
expect(spawn).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
cwd: '/tmp/workspaces/runtime-explicit-draft',
|
||||
command: 'codex',
|
||||
command: appendOrcaCodexAgentStatusProfile('codex'),
|
||||
worktreeId: result.worktree.id
|
||||
})
|
||||
)
|
||||
@@ -7189,7 +7190,7 @@ describe('OrcaRuntimeService', () => {
|
||||
expect(spawn).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
cwd: '/remote/mobile-startup-draft',
|
||||
command: `claude --prefill '${draftUrl}'`,
|
||||
command: `claude --settings "$HOME/.orca/agent-hooks/claude-agent-status-settings.json" --prefill '${draftUrl}'`,
|
||||
connectionId: 'ssh-1',
|
||||
worktreeId: result.worktree.id
|
||||
})
|
||||
@@ -7297,7 +7298,7 @@ describe('OrcaRuntimeService', () => {
|
||||
expect(spawn).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
cwd: '/remote/mobile-codex-draft',
|
||||
command: 'codex',
|
||||
command: appendOrcaCodexAgentStatusProfile('codex'),
|
||||
connectionId: 'ssh-1',
|
||||
worktreeId: result.worktree.id
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user