feat: add @automaker/types package

- Extract shared type definitions from server and UI
- Add provider types (ProviderConfig, ExecuteOptions, etc.)
- Add feature types (Feature, FeatureStatus, PlanningMode)
- Add session types (AgentSession, CreateSessionParams)
- Add error types (ErrorType, ErrorInfo)
- Add image types (ImageData, ImageContentBlock)
- Add model constants (CLAUDE_MODEL_MAP, DEFAULT_MODELS)

This package provides centralized type definitions for both server and UI.
No dependencies - pure TypeScript interfaces.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Kacper
2025-12-19 23:30:14 +01:00
parent 9110693c75
commit b149607747
9 changed files with 317 additions and 0 deletions

18
libs/types/package.json Normal file
View File

@@ -0,0 +1,18 @@
{
"name": "@automaker/types",
"version": "1.0.0",
"description": "Shared type definitions for AutoMaker",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"watch": "tsc --watch"
},
"keywords": ["automaker", "types"],
"author": "",
"license": "MIT",
"devDependencies": {
"@types/node": "^22.10.5",
"typescript": "^5.7.3"
}
}