@superdesign/cli 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,3 +39,8 @@ export declare function runJob<TResult>(config: JobRunnerConfig<TResult>): Promi
39
39
  * Check authentication and exit with appropriate error if not authenticated
40
40
  */
41
41
  export declare function requireAuth(isAuthenticated: () => boolean): void;
42
+ /**
43
+ * Handle common API errors with consistent output formatting
44
+ * Exits the process with appropriate exit code
45
+ */
46
+ export declare function handleApiError(err: unknown, failureMessage: string): never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdesign/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "CLI for SuperDesign Platform - agent skills for Claude Code",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",