mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 18:30:44 +00:00
Bridge Codex native hooks into OpenClaw
Bridge Codex-native tool events into the OpenClaw plugin hook surface, including native permission approval routing, bounded relay payloads, approval spam protection, and docs/changelog updates.\n\nCo-authored-by: pashpashpash <nik@vault77.ai>
This commit is contained in:
@@ -130,6 +130,9 @@ function collectTypeScriptFiles(directoryPath) {
|
||||
for (const entry of entries.toSorted((a, b) => a.name.localeCompare(b.name))) {
|
||||
const entryPath = path.join(directoryPath, entry.name);
|
||||
if (entry.isDirectory()) {
|
||||
if (shouldSkipExtensionLintDirectory(entry.name)) {
|
||||
continue;
|
||||
}
|
||||
files.push(...collectTypeScriptFiles(entryPath));
|
||||
continue;
|
||||
}
|
||||
@@ -147,3 +150,7 @@ function collectTypeScriptFiles(directoryPath) {
|
||||
|
||||
return files;
|
||||
}
|
||||
|
||||
function shouldSkipExtensionLintDirectory(name) {
|
||||
return name === "node_modules";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user