feat(harness): secure workspace and custom tools

This commit is contained in:
Wenxin Duan
2026-09-07 15:34:38 +08:00
parent 7d1626dcde
commit d229ac0f0d
9 changed files with 487 additions and 0 deletions
@@ -0,0 +1,10 @@
export class HarnessError extends Error {
public constructor(
public readonly code: string,
message: string,
public readonly details: Record<string, unknown> = {},
) {
super(message);
this.name = "HarnessError";
}
}