claudeship 0.2.20 → 0.2.22

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.
Files changed (87) hide show
  1. package/apps/server/dist/chat/chat.controller.d.ts +1 -1
  2. package/apps/server/dist/chat/chat.service.d.ts +1 -1
  3. package/apps/server/dist/database/database.module.js +15 -4
  4. package/apps/server/dist/database/database.module.js.map +1 -1
  5. package/apps/server/dist/database/infra/database-infra.controller.d.ts +14 -0
  6. package/apps/server/dist/database/infra/database-infra.controller.js +121 -0
  7. package/apps/server/dist/database/infra/database-infra.controller.js.map +1 -0
  8. package/apps/server/dist/database/infra/database-infra.service.d.ts +34 -0
  9. package/apps/server/dist/database/infra/database-infra.service.js +130 -0
  10. package/apps/server/dist/database/infra/database-infra.service.js.map +1 -0
  11. package/apps/server/dist/database/infra/docker.service.d.ts +34 -0
  12. package/apps/server/dist/database/infra/docker.service.js +186 -0
  13. package/apps/server/dist/database/infra/docker.service.js.map +1 -0
  14. package/apps/server/dist/database/infra/index.d.ts +4 -0
  15. package/apps/server/dist/database/infra/index.js +21 -0
  16. package/apps/server/dist/database/infra/index.js.map +1 -0
  17. package/apps/server/dist/database/infra/postgres-container.service.d.ts +31 -0
  18. package/apps/server/dist/database/infra/postgres-container.service.js +163 -0
  19. package/apps/server/dist/database/infra/postgres-container.service.js.map +1 -0
  20. package/apps/server/dist/database/infra/sqlite-infra.service.d.ts +14 -0
  21. package/apps/server/dist/database/infra/sqlite-infra.service.js +121 -0
  22. package/apps/server/dist/database/infra/sqlite-infra.service.js.map +1 -0
  23. package/apps/server/dist/project/project.controller.d.ts +7 -0
  24. package/apps/server/dist/project/project.module.js +2 -1
  25. package/apps/server/dist/project/project.module.js.map +1 -1
  26. package/apps/server/dist/project/project.service.d.ts +10 -1
  27. package/apps/server/dist/project/project.service.js +35 -3
  28. package/apps/server/dist/project/project.service.js.map +1 -1
  29. package/apps/server/dist/tsconfig.tsbuildinfo +1 -1
  30. package/apps/server/package.json +1 -1
  31. package/apps/server/prisma/dev.db +0 -0
  32. package/apps/server/prisma/migrations/20260109053359_add_database_provider/migration.sql +11 -0
  33. package/apps/server/prisma/schema.prisma +16 -5
  34. package/apps/web/.next/BUILD_ID +1 -1
  35. package/apps/web/.next/app-build-manifest.json +8 -8
  36. package/apps/web/.next/build-manifest.json +2 -2
  37. package/apps/web/.next/cache/.previewinfo +1 -1
  38. package/apps/web/.next/cache/.rscinfo +1 -1
  39. package/apps/web/.next/cache/.tsbuildinfo +1 -1
  40. package/apps/web/.next/cache/config.json +3 -3
  41. package/apps/web/.next/cache/eslint/.cache_j3uhuz +1 -1
  42. package/apps/web/.next/cache/webpack/client-production/0.pack +0 -0
  43. package/apps/web/.next/cache/webpack/client-production/index.pack +0 -0
  44. package/apps/web/.next/cache/webpack/edge-server-production/index.pack +0 -0
  45. package/apps/web/.next/cache/webpack/server-production/0.pack +0 -0
  46. package/apps/web/.next/cache/webpack/server-production/index.pack +0 -0
  47. package/apps/web/.next/prerender-manifest.json +13 -13
  48. package/apps/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  49. package/apps/web/.next/server/app/_not-found.html +1 -1
  50. package/apps/web/.next/server/app/_not-found.rsc +2 -2
  51. package/apps/web/.next/server/app/index.html +1 -1
  52. package/apps/web/.next/server/app/index.rsc +3 -3
  53. package/apps/web/.next/server/app/page.js +1 -1
  54. package/apps/web/.next/server/app/page.js.nft.json +1 -1
  55. package/apps/web/.next/server/app/page_client-reference-manifest.js +1 -1
  56. package/apps/web/.next/server/app/project/[id]/page.js +2 -2
  57. package/apps/web/.next/server/app/project/[id]/page.js.nft.json +1 -1
  58. package/apps/web/.next/server/app/project/[id]/page_client-reference-manifest.js +1 -1
  59. package/apps/web/.next/server/app/settings/page.js +2 -2
  60. package/apps/web/.next/server/app/settings/page.js.nft.json +1 -1
  61. package/apps/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  62. package/apps/web/.next/server/app/settings.html +1 -1
  63. package/apps/web/.next/server/app/settings.rsc +3 -3
  64. package/apps/web/.next/server/chunks/{811.js → 526.js} +1 -1
  65. package/apps/web/.next/server/pages/404.html +1 -1
  66. package/apps/web/.next/server/pages/500.html +1 -1
  67. package/apps/web/.next/server/server-reference-manifest.json +1 -1
  68. package/apps/web/.next/static/chunks/193-9e44b5a1ad3e0586.js +1 -0
  69. package/apps/web/.next/static/chunks/700-75e1212e819e279c.js +1 -0
  70. package/apps/web/.next/static/chunks/app/page-6f2bfb6c9202164b.js +1 -0
  71. package/apps/web/.next/static/chunks/app/project/[id]/page-388d14835cae411b.js +1 -0
  72. package/apps/web/.next/static/chunks/app/settings/page-34c4ce9b8e645903.js +1 -0
  73. package/apps/web/.next/static/css/70f2a13cf3d254d8.css +3 -0
  74. package/apps/web/.next/trace +18 -18
  75. package/apps/web/package.json +1 -1
  76. package/apps/web/src/app/settings/page.tsx +138 -2
  77. package/apps/web/src/components/project/ProjectCard.tsx +12 -2
  78. package/package.json +1 -1
  79. package/packages/shared/src/types/project.ts +6 -0
  80. package/apps/web/.next/static/chunks/87-e65fb39b36fc5ac8.js +0 -1
  81. package/apps/web/.next/static/chunks/992-806bad722ba16222.js +0 -1
  82. package/apps/web/.next/static/chunks/app/page-8310956d8eae9762.js +0 -1
  83. package/apps/web/.next/static/chunks/app/project/[id]/page-3d9d2622b2801ab0.js +0 -1
  84. package/apps/web/.next/static/chunks/app/settings/page-3532fad509d55b77.js +0 -1
  85. package/apps/web/.next/static/css/b92103813bcb2a3c.css +0 -3
  86. /package/apps/web/.next/static/{91tvQbwE6MrVEkEolpLDW → WuTLXdJlN3bwUMxmeSPVx}/_buildManifest.js +0 -0
  87. /package/apps/web/.next/static/{91tvQbwE6MrVEkEolpLDW → WuTLXdJlN3bwUMxmeSPVx}/_ssgManifest.js +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@claudeship/server",
3
- "version": "0.2.20",
3
+ "version": "0.2.22",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "nest start --watch",
Binary file
@@ -0,0 +1,11 @@
1
+ -- AlterTable
2
+ ALTER TABLE "projects" ADD COLUMN "databaseProvider" TEXT;
3
+ ALTER TABLE "projects" ADD COLUMN "databaseUrl" TEXT;
4
+ ALTER TABLE "projects" ADD COLUMN "dockerContainerId" TEXT;
5
+
6
+ -- CreateTable
7
+ CREATE TABLE "settings" (
8
+ "key" TEXT NOT NULL PRIMARY KEY,
9
+ "value" TEXT NOT NULL,
10
+ "updatedAt" DATETIME NOT NULL
11
+ );
@@ -8,15 +8,21 @@ datasource db {
8
8
  }
9
9
 
10
10
  model Project {
11
- id String @id @default(uuid())
11
+ id String @id @default(uuid())
12
12
  name String
13
13
  projectType ProjectType
14
- backendFramework BackendFramework @default(NONE)
14
+ backendFramework BackendFramework @default(NONE)
15
15
  path String
16
16
  description String?
17
- claudeSessionId String? // Claude Code CLI session ID for conversation continuity
18
- createdAt DateTime @default(now())
19
- updatedAt DateTime @updatedAt
17
+ claudeSessionId String? // Claude Code CLI session ID for conversation continuity
18
+
19
+ // Database infrastructure
20
+ databaseProvider DatabaseProvider? // null means not yet created
21
+ databaseUrl String? // Connection URL (stored encrypted in production)
22
+ dockerContainerId String? // Docker container ID for postgres_docker provider
23
+
24
+ createdAt DateTime @default(now())
25
+ updatedAt DateTime @updatedAt
20
26
 
21
27
  messages Message[]
22
28
 
@@ -47,6 +53,11 @@ enum BackendFramework {
47
53
  FASTAPI
48
54
  }
49
55
 
56
+ enum DatabaseProvider {
57
+ POSTGRES_DOCKER
58
+ SQLITE
59
+ }
60
+
50
61
  enum Role {
51
62
  USER
52
63
  ASSISTANT
@@ -1 +1 @@
1
- 91tvQbwE6MrVEkEolpLDW
1
+ WuTLXdJlN3bwUMxmeSPVx
@@ -12,7 +12,7 @@
12
12
  "static/chunks/c476d598-9099ed8b975ae1d6.js",
13
13
  "static/chunks/498-ad4e539d948e058e.js",
14
14
  "static/chunks/main-app-de4b9be4b7d2b049.js",
15
- "static/css/b92103813bcb2a3c.css",
15
+ "static/css/70f2a13cf3d254d8.css",
16
16
  "static/chunks/app/layout-2079789d2a8cf3e0.js"
17
17
  ],
18
18
  "/page": [
@@ -20,25 +20,25 @@
20
20
  "static/chunks/c476d598-9099ed8b975ae1d6.js",
21
21
  "static/chunks/498-ad4e539d948e058e.js",
22
22
  "static/chunks/main-app-de4b9be4b7d2b049.js",
23
- "static/chunks/992-806bad722ba16222.js",
24
- "static/chunks/app/page-8310956d8eae9762.js"
23
+ "static/chunks/193-9e44b5a1ad3e0586.js",
24
+ "static/chunks/app/page-6f2bfb6c9202164b.js"
25
25
  ],
26
26
  "/project/[id]/page": [
27
27
  "static/chunks/webpack-1ff95075f86c177e.js",
28
28
  "static/chunks/c476d598-9099ed8b975ae1d6.js",
29
29
  "static/chunks/498-ad4e539d948e058e.js",
30
30
  "static/chunks/main-app-de4b9be4b7d2b049.js",
31
- "static/chunks/992-806bad722ba16222.js",
32
- "static/chunks/87-e65fb39b36fc5ac8.js",
33
- "static/chunks/app/project/[id]/page-3d9d2622b2801ab0.js"
31
+ "static/chunks/193-9e44b5a1ad3e0586.js",
32
+ "static/chunks/700-75e1212e819e279c.js",
33
+ "static/chunks/app/project/[id]/page-388d14835cae411b.js"
34
34
  ],
35
35
  "/settings/page": [
36
36
  "static/chunks/webpack-1ff95075f86c177e.js",
37
37
  "static/chunks/c476d598-9099ed8b975ae1d6.js",
38
38
  "static/chunks/498-ad4e539d948e058e.js",
39
39
  "static/chunks/main-app-de4b9be4b7d2b049.js",
40
- "static/chunks/992-806bad722ba16222.js",
41
- "static/chunks/app/settings/page-3532fad509d55b77.js"
40
+ "static/chunks/193-9e44b5a1ad3e0586.js",
41
+ "static/chunks/app/settings/page-34c4ce9b8e645903.js"
42
42
  ]
43
43
  }
44
44
  }
@@ -5,8 +5,8 @@
5
5
  "devFiles": [],
6
6
  "ampDevFiles": [],
7
7
  "lowPriorityFiles": [
8
- "static/91tvQbwE6MrVEkEolpLDW/_buildManifest.js",
9
- "static/91tvQbwE6MrVEkEolpLDW/_ssgManifest.js"
8
+ "static/WuTLXdJlN3bwUMxmeSPVx/_buildManifest.js",
9
+ "static/WuTLXdJlN3bwUMxmeSPVx/_ssgManifest.js"
10
10
  ],
11
11
  "rootMainFiles": [
12
12
  "static/chunks/webpack-1ff95075f86c177e.js",
@@ -1 +1 @@
1
- {"previewModeId":"46bc41e33ba445936223f15ab4c5243e","previewModeSigningKey":"292f66405d4bf4f99e7b633a855fb141d7919eab75c78f252581f63ad591065e","previewModeEncryptionKey":"263e77f161909c58b6ab15491c820a7ecb88b9e3702379dd58d559aac99d811c","expireAt":1769143253470}
1
+ {"previewModeId":"4fe8b21c199fe83d8c3c5bd165182215","previewModeSigningKey":"f148dd15b5e0bab18d01f0c5fbe638922a1d47646d56fbba46dc6351dbcc1bee","previewModeEncryptionKey":"db5f8067d39dd4e4f9fc022678f0b08278352beafddea2105da9ee419507de63","expireAt":1769478197897}
@@ -1 +1 @@
1
- {"encryption.key":"HazbWkrrPVm722I4c4KVDNlhNW+NYVA3LyK3esu2yXI=","encryption.expire_at":1769143253313}
1
+ {"encryption.key":"sxn4OMarQofi3ieT/k8ZqoUu+FB+bGRR0dVSlAs06GM=","encryption.expire_at":1769478197720}