/**
 * Extension system types for Clawx.
 *
 * v1: Tool extensions only, loaded from ~/.clawx/extensions/
 */
/**
 * Validation error for extensions
 */
export class ExtensionError extends Error {
    extensionName;
    cause;
    constructor(message, extensionName, cause) {
        super(message);
        this.extensionName = extensionName;
        this.cause = cause;
        this.name = 'ExtensionError';
    }
}
//# sourceMappingURL=extension.js.map