create-claude-workspace 1.1.66 → 1.1.68

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.
@@ -138,7 +138,7 @@ Options:
138
138
  --delay <ms> Pause between tasks (default: 5000)
139
139
  --cooldown <ms> Wait after error (default: 60000)
140
140
  --process-timeout <ms> Max wall-clock time per invocation (default: 7200000 = 2h)
141
- --activity-timeout <ms> Max silence before kill (default: 300000 = 5min)
141
+ --activity-timeout <ms> Max silence before kill (default: 600000 = 10min)
142
142
  --post-result-timeout <ms> Max wait after result (default: 30000 = 30s)
143
143
  --project-dir <path> Project directory (default: cwd)
144
144
  --skip-permissions Run with --dangerously-skip-permissions
@@ -8,7 +8,7 @@ export const DEFAULTS = {
8
8
  skipPermissions: false,
9
9
  resumeSession: null,
10
10
  processTimeout: 2 * 60 * 60_000,
11
- activityTimeout: 5 * 60_000,
11
+ activityTimeout: 10 * 60_000,
12
12
  postResultTimeout: 30_000,
13
13
  logFile: '.claude/autonomous.log',
14
14
  noLock: false,
@@ -34,7 +34,7 @@ You are a Senior Backend TypeScript Architect with deep expertise in server-side
34
34
  ## Architecture Patterns
35
35
 
36
36
  **Onion Architecture per domain:**
37
- - `domain/` — models, repository interfaces, value objects (no dependencies)
37
+ - `domain/` — **TypeBox schemas** (single source of truth for all types), repository interfaces, value objects (no dependencies). Define schemas here, derive TypeScript types via `Static<typeof Schema>`. NEVER create separate interface files when a TypeBox schema exists — use `Static<>` everywhere (API, frontend, DB mapping).
38
38
  - `business/` — use cases, business logic (depends on domain only)
39
39
  - `api/` — Hono routes, validation, OpenAPI (depends on business + domain)
40
40
  - `infrastructure/` — repository implementations, external APIs (depends on domain)
@@ -115,7 +115,8 @@ After generation, the architect's plan specifies what code to write IN the gener
115
115
  | Use cases, business logic |
116
116
  +-----------------------------------------------------+
117
117
  | domain/ |
118
- | Models, repository interfaces, value objects |
118
+ | TypeBox schemas (single source of truth), types, |
119
+ | repository interfaces, value objects |
119
120
  +-----------------------------------------------------+
120
121
  | infrastructure/ |
121
122
  | Repository implementations (database, API, mock) |
@@ -131,6 +132,13 @@ Dependency rules:
131
132
  - ui -> shared/ui, domain (for types)
132
133
  - feature -> ui, data-access, shared/ui
133
134
 
135
+ **TypeBox as single source of truth**: Define TypeBox schemas in `domain/` layer (`libs/[domain]/domain/`). These schemas are the canonical definition — derive everything from them:
136
+ - **TypeScript types**: `Static<typeof MySchema>` — no separate interface definitions
137
+ - **API validation**: `openAPIRouteHandler` uses the same schemas for request/response validation + OpenAPI spec
138
+ - **Frontend types**: Frontend imports types from domain lib via `@[PREFIX]/[domain]-domain` — no copy-paste
139
+ - **DB mapping**: Infrastructure layer maps between DB rows and domain types
140
+ - NEVER duplicate type definitions. If a type exists as a TypeBox schema, use `Static<>` everywhere.
141
+
134
142
  ### @cibule/* Ecosystem (Preferred Libraries)
135
143
 
136
144
  [Include only if project uses backend or fullstack architecture]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-claude-workspace",
3
- "version": "1.1.66",
3
+ "version": "1.1.68",
4
4
  "description": "Scaffold a project with Claude Code agents for autonomous AI-driven development",
5
5
  "type": "module",
6
6
  "bin": {