feat: notify on exec exit

This commit is contained in:
Peter Steinberger committed 2026-01-17 05:43:34 +00:00
1 parent 68d35be383
commit 07a3db153d
18 files changed
+130 -32

No files matched your search

+2 -4
View File
@@ -11,10 +11,8 @@ export function mapThinkingLevel(level?: ThinkLevel): ThinkingLevel {
export function resolveExecToolDefaults(config?: ClawdbotConfig): ExecToolDefaults | undefined {
const tools = config?.tools;
if (!tools) return undefined;
if (!tools.exec) return tools.bash;
if (!tools.bash) return tools.exec;
return { ...tools.bash, ...tools.exec };
if (!tools?.exec) return undefined;
return tools.exec;
}
export function describeUnknownError(error: unknown): string {