Skip to content

build(monorepo): split web and cli workspaces - #14

Merged
Vann-Dev merged 10 commits into
mainfrom
kaito/monorepo-split
May 12, 2026
Merged

Vann-Dev merged 10 commits into
mainfrom
kaito/monorepo-split

Conversation

@Vann-Dev

Copy link
Copy Markdown
Owner

Summary

  • Move the Next.js dashboard/API app into apps/web and add an @agentbridge/web workspace package.
  • Move the publishable CLI package from cli to packages/cli while preserving the agentbridge package name/bin.
  • Keep Prisma schema/migrations at repo root and generate the client into apps/web/generated/prisma for Next build compatibility.
  • Update root orchestration scripts, workspace globs, Dockerfile, ignore rules, and docs for the new layout.

Checks

  • corepack pnpm install --frozen-lockfile
  • DATABASE_URL='postgresql://agentbridge:agentbridge@localhost:5432/agentbridge?schema=public' corepack pnpm typecheck
  • corepack pnpm lint
  • DATABASE_URL='postgresql://agentbridge:agentbridge@localhost:5432/agentbridge?schema=public' AUTH_SECRET='build-placeholder-secret' corepack pnpm build:web
  • corepack pnpm cli:build
  • corepack pnpm cli:pack

Note: Next build emits existing warnings about the deprecated middleware file convention and jose CompressionStream/DecompressionStream in Edge Runtime, but exits successfully.

@vercel

vercel Bot commented May 12, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-bridge Error Error May 12, 2026 9:21am

@vercel

vercel Bot commented May 12, 2026

Copy link
Copy Markdown

Deployment failed with the following error:

The `vercel.json` schema validation failed with the following message: should NOT have additional property `rootDirectory`

Learn More: https://vercel.com/docs/concepts/projects/project-configuration

# Conflicts:
#	README.md
#	apps/web/lib/api/server-timing.ts
@Vann-Dev
Vann-Dev merged commit 8e20eb0 into main May 12, 2026
2 of 3 checks passed
@Vann-Dev
Vann-Dev deleted the kaito/monorepo-split branch May 12, 2026 09:23

This branch was previously deployed

1 inactive deployment
Preview — 6e004c13 Deployed May 12, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant