fix: refactor TUI stream assembly (#1202, thanks @aaronveklabs)
Co-authored-by: Aaron <aaron@vektor-labs.com>
This commit is contained in:
1 parent
9609a3af40
commit
074db1905a
8 files changed
+271
-235
No files matched your search
@@ -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 = /(^|\s)--profile(\s|$)/;
|
||||
const DEV_FLAG_RE = /(^|\s)--dev(\s|$)/;
|
||||
const PROFILE_FLAG_RE = /(?:^|\s)--profile(?:\s|=|$)/;
|
||||
const DEV_FLAG_RE = /(?:^|\s)--dev(?:\s|$)/;
|
||||
|
||||
export function formatCliCommand(
|
||||
command: string,
|
||||
|
||||
Reference in new issue
Block a user