fix: defer pdf deps and profile flag detection

This commit is contained in:
Peter Steinberger committed 2026-01-20 08:20:07 +00:00
1 parent bee72f1ae0
commit e26c647828
4 files changed
+72 -7

No files matched your search

+2 -2
View File
@@ -1,8 +1,8 @@
import { normalizeProfileName } from "./profile-utils.js";
const CLI_PREFIX_RE = /^(?:pnpm|npm|bunx|npx)\s+clawdbot\b|^clawdbot\b/;
const PROFILE_FLAG_RE = /\b--profile\b/;
const DEV_FLAG_RE = /\b--dev\b/;
const PROFILE_FLAG_RE = /(^|\s)--profile(\s|$)/;
const DEV_FLAG_RE = /(^|\s)--dev(\s|$)/;
export function formatCliCommand(
command: string,