feat: add exec pathPrepend config

This commit is contained in:
Peter Steinberger committed 2026-01-19 00:35:43 +00:00
1 parent d9384785a3
commit 953472bf25
10 files changed
+133 -2

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ import type { ClawdbotConfig } from "./types.js";
const PATH_VALUE_RE = /^~(?=$|[\\/])/;
const PATH_KEY_RE = /(dir|path|paths|file|root|workspace)$/i;
const PATH_LIST_KEYS = new Set(["paths"]);
const PATH_LIST_KEYS = new Set(["paths", "pathPrepend"]);
function isPlainObject(value: unknown): value is Record<string, unknown> {
return Boolean(value) && typeof value === "object" && !Array.isArray(value);