fix: build failing

This commit is contained in:
Shirone
2026-01-21 22:39:20 +01:00
parent 28d50aa017
commit 05f0ceceb6
2 changed files with 7 additions and 1 deletions

View File

@@ -9,7 +9,9 @@ export function cn(...inputs: ClassValue[]) {
// Re-export getErrorMessage from @automaker/utils to maintain backward compatibility
// for components that already import it from here
export { getErrorMessage } from '@automaker/utils';
// NOTE: Using subpath export to avoid pulling in Node.js-specific dependencies
// (the main @automaker/utils barrel imports modules that depend on @automaker/platform)
export { getErrorMessage } from '@automaker/utils/error-handler';
/**
* Determine if the current model supports extended thinking controls

View File

@@ -17,6 +17,10 @@
"./debounce": {
"types": "./dist/debounce.d.ts",
"default": "./dist/debounce.js"
},
"./error-handler": {
"types": "./dist/error-handler.d.ts",
"default": "./dist/error-handler.js"
}
},
"scripts": {