Commit Graph
112 Commits
Author SHA1 Message Date
mbatchelder 73335484f8 feat: migrate from PocketBase to PostgreSQL with Drizzle ORM
- Add @project-e/db package with Drizzle schema and migrations
- Replace PocketBase client with PostgreSQL-based database client
- Migrate auth from custom to NextAuth.js
- Add Docker Compose with PostgreSQL container
- Update worker to use new database client
- Remove PocketBase-specific files and migrations
- Add drizzle config and initial migration
2026-07-24 07:08:29 -04:00
mbatchelder 6c438eab32 feat: add admin CLI for project management
- User management (list, create, delete, reset-password)
- Data CRUD for all 32 collections
- Import/export with JSON support
- Worker/queue management (status, jobs, retry, trigger)
- Webhook management (list, test, deliveries, retry)
- Agent management (list, CRUD, tasks, trigger, activity)
- Health diagnostics (check, errors, stats)
- JSON output mode (--json flag)
- Run via: npm run cli -- <command>
2026-07-24 07:02:11 -04:00
bot-hermes ec33544172 fix: calendar, habits, analytics PB 0.25 compat (#6) 2026-07-19 19:39:41 -04:00
bot-hermes a21c1606c9 fix: calendar filter, habit service, PB 0.25 field compat
- Calendar: remove unsupported due_date!="" filter (PB 0.25 rejects), fetch all + filter client-side
- habit-service: fix active=true filter to archived!=true (field doesnt exist)
- habit-service: remove references to non-existent fields (completed, skipped, score_config, start_date)
- All PocketBase collections: re-added proper data fields with correct PB IDs for relations

Fixes calendar, analytics, habits heatmap, and habits streaks endpoints.
2026-07-19 23:39:20 +00:00
bot-hermes e76f60e4de fix: PB 0.25 compat — empty filter/sort and created/updated fields (#5) 2026-07-19 11:03:46 -04:00
bot-hermes 327c5bf733 fix: handle empty filter param and add created/updated fields for PB 0.25 compat 2026-07-19 15:03:15 +00:00
bot-hermes a45a2a0bb2 fix: add apps/web/public/.gitkeep for Docker build 2026-07-19 00:10:16 +00:00
bot-hermes 22da26d6e9 fix: resolve Zod v4 record type error and worker TS compilation (#1)
Fixes two build-breaking bugs:

1. Zod v4 type error — z.record() needed 2 args
2. Worker Dockerfile — tsx for TS runtime

Review notes:
- tsbuildinfo build artifact committed (should be gitignored — follow-up)
- tsx as devDependency + --omit=dev in worker Dockerfile = npx fetches on restart (fragile — follow-up)

Merged by Hermes (Grade 36 Bureaucrat)
2026-07-18 20:04:57 -04:00
bot-hermes 301f4ea5ce fix: resolve Zod v4 record type error and worker TypeScript compilation
- packages/shared/src/schemas/agent.ts: z.record(z.unknown()) → z.record(z.string(), z.unknown())
- Dockerfile.worker: add TypeScript compilation support (tsx)

Fixes #build-web and #build-worker container failures.
2026-07-19 00:03:43 +00:00
mbatchelder 4c1cc50231 feat: update ProjectE application 2026-07-18 19:05:52 -04:00
mbatchelder 8f55626e03 refactor: migrate to monorepo structure with Docker, PocketBase, and e2e tests
- Reorganize into apps/, packages/, docs/, e2e/, pocketbase/ directories
- Add Dockerfiles for web, worker, and PocketBase services
- Add docker-compose.yml for local orchestration
- Add turbo.json for monorepo task management
- Add Playwright e2e test infrastructure
- Add PocketBase backend with migrations
- Remove Vite/Next.js/ESLint/PostCSS config files
- Update package.json with workspace dependencies
- Add .env.example and .dockerignore
2026-07-16 06:19:58 -04:00
mbatchelder ec14645a4b chore: initial prototype — UI shell with mock data on vinext/Cloudflare stack 2026-07-13 06:38:40 -04:00