Commit Graph

4 Commits

Author SHA1 Message Date
Jarvis
3a72bb03a6 fix(gateway): drop vitest.config.ts from tsconfig include
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
The bootstrap hotfix PR #440 added `vitest.config.ts` to
apps/gateway/tsconfig.json's include list, which broke `pnpm build`
because the file sits outside `rootDir: src` and tsc emits TS6059
for anything in the program that isn't under rootDir.

The publish pipeline runs `pnpm build` (via turbo) and failed on
main post-merge, blocking the mosaic-v0.0.26 release. The CI
workflow passed because it only runs typecheck/lint/format/test
(typecheck uses tsconfig.typecheck.json with rootDir=../..).

Vitest doesn't need its config file in any tsconfig's program —
it loads the file directly via Node ESM. Reverting the include
line restores the build without affecting the new e2e test, which
lives at src/admin/bootstrap.e2e.spec.ts and is already picked up
by the src/**/* glob.

Verified locally: build ✓ typecheck ✓ 351 tests passing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-05 17:00:16 -05:00
0ae932ab34 fix: bootstrap hotfix — DTO erasure, wizard failure, port prefill, Pi SDK copy (mosaic-v0.0.26) (#440)
Some checks failed
ci/woodpecker/push/publish Pipeline failed
ci/woodpecker/push/ci Pipeline was successful
2026-04-05 21:43:30 +00:00
15352448d5 fix: switch gateway to ESM + explicit @Inject for tsx compatibility
Pi SDK is ESM-only. tsx (esbuild) doesn't emit decorator metadata,
so NestJS constructor injection fails without explicit @Inject().

- Set "type": "module" in gateway package.json
- Switch tsconfig to NodeNext module resolution
- Add @Inject(AgentService) to ChatController and ChatGateway

Tested end-to-end: REST /api/chat → Pi SDK → Anthropic → response OK.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 20:43:08 -05:00
6d0d288e31 feat(P0-001): scaffold monorepo structure (#60)
Co-authored-by: Jason Woltje <jason@diversecanvas.com>
Co-committed-by: Jason Woltje <jason@diversecanvas.com>
2026-03-13 01:11:46 +00:00