@derwinjs/db 0.1.1 → 0.3.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@derwinjs/db",
3
- "version": "0.1.1",
3
+ "version": "0.3.0",
4
4
  "description": "Prisma schema + migrations for Derwin's own Postgres. 14 models, project-namespaced. Per ADR-0005. Ships its own generated Prisma client (multi-platform binaries) for cross-consumer compatibility.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",
@@ -33,8 +33,8 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@prisma/client": "^5.22.0",
36
- "@derwinjs/core": "0.1.1",
37
- "@derwinjs/sdk": "0.1.1"
36
+ "@derwinjs/core": "0.3.0",
37
+ "@derwinjs/sdk": "0.3.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@vitest/coverage-v8": "^2.1.9",
@@ -71,8 +71,9 @@ model Project {
71
71
  modeChangedBy String?
72
72
 
73
73
  // Per-project quotas + budgets
74
- monthlyBudgetCents Int @default(10000) // $100 default
75
- dailyDispatchLimit Int @default(50)
74
+ monthlyBudgetCents Int @default(10000) // $100 default
75
+ dailyDispatchLimit Int @default(50)
76
+ testCommand String? // shell command for Verify-Pre, default 'pnpm test'
76
77
 
77
78
  // GitHub integration (QAP-019C / Group D-1, 2026-05-04).
78
79
  //
@@ -91,6 +92,7 @@ model Project {
91
92
  // payloads before any DB writes.
92
93
  repoFullName String? @unique
93
94
  webhookSecret String?
95
+ authorModel String? // override Author LLM model (Sprint 3b — claude-sonnet-4-6 default in adapter)
94
96
 
95
97
  // Relations
96
98
  profile ProjectProfile?