mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
refactor: rename daemon to runner throughout codebase
This commit is contained in:
@@ -13,7 +13,7 @@ export const codexCommand: CommandDefinition = {
|
||||
const { runCodex } = await import('@/codex/runCodex')
|
||||
|
||||
const options: {
|
||||
startedBy?: 'daemon' | 'terminal'
|
||||
startedBy?: 'runner' | 'terminal'
|
||||
codexArgs?: string[]
|
||||
permissionMode?: CodexPermissionMode
|
||||
resumeSessionId?: string
|
||||
@@ -32,7 +32,7 @@ export const codexCommand: CommandDefinition = {
|
||||
continue
|
||||
}
|
||||
if (arg === '--started-by') {
|
||||
options.startedBy = commandArgs[++i] as 'daemon' | 'terminal'
|
||||
options.startedBy = commandArgs[++i] as 'runner' | 'terminal'
|
||||
} else if (arg === '--yolo' || arg === '--dangerously-bypass-approvals-and-sandbox') {
|
||||
options.permissionMode = 'yolo'
|
||||
unknownArgs.push(arg)
|
||||
|
||||
Reference in New Issue
Block a user