MCPcopy Create free account
hub / github.com/tiann/hapi / hasCodexCliOverrides

Function hasCodexCliOverrides

cli/src/codex/utils/codexCliOverrides.ts:86–88  ·  view source on GitHub ↗
(overrides?: CodexCliOverrides)

Source from the content-addressed store, hash-verified

84}
85
86export function hasCodexCliOverrides(overrides?: CodexCliOverrides): boolean {
87 return Boolean(overrides?.sandbox || overrides?.approvalPolicy);
88}
89
90export function stripCodexCliOverrides(args?: string[]): string[] {
91 if (!args || args.length === 0) {

Callers 1

launchMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected