Skip to content

feat(ai): add enhance prompt for command and Ask - #280

Merged
gaboesquivel merged 1 commit into
mainfrom
feat/enhance-prompt
Oct 7, 2026
Merged

gaboesquivel merged 1 commit into
mainfrom
feat/enhance-prompt

Conversation

@gaboesquivel

Copy link
Copy Markdown
Member

Summary

Adds Enhance prompt: users rewrite a messy or thin draft in the command composer and Ask before sending. POST /ai/enhance fixes typos and speech-to-text errors and expands vague UI requests (for example develop a contex sales form → a concrete contact-sales prompt). The control replaces the field only; it does not send to eve. Docs and the docu features card document the capability; the CLI gains ai enhance.

Release

Payload change (API, web, @repo/react, generated clients). No skip-release.

Test plan

  • pnpm --filter @repo/api test:unit -t "POST /ai/enhance"
  • pnpm --filter @repo/api checktypes / @repo/react / @repo/web / @repo/docu
  • pnpm openapi:drift
  • Manual: Enhance on home command and Ask with a typo draft; confirm draft updates and Send is unchanged

@vercel

vercel Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
basilic-docs Ready Ready Preview Oct 5, 2026 4:52pm UTC

@supabase

supabase Bot commented Oct 5, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project evozziyogyuqssmkyusa because there are no changes detected in packages/db/src/migrations/supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@coderabbitai

coderabbitai Bot commented Oct 5, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 23 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: blockmatic/basilic/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 943d9a39-ae6d-4ca5-8878-53ce5de769a5
📥 Commits

Reviewing files that changed from the base of the PR and between 0226c05 and 03872ef.

⛔ Files ignored due to path filters (6)
  • packages/cli/src/gen/commands.gen.ts is excluded by !**/gen/**, !**/gen/**, !**/*.gen.ts
  • packages/core/src/api-client.gen.ts is excluded by !**/*.gen.ts
  • packages/core/src/api-wrapper.gen.ts is excluded by !**/*.gen.ts
  • packages/core/src/gen/index.ts is excluded by !**/gen/**, !**/gen/**
  • packages/core/src/gen/sdk.gen.ts is excluded by !**/gen/**, !**/gen/**, !**/*.gen.ts
  • packages/core/src/gen/types.gen.ts is excluded by !**/gen/**, !**/gen/**, !**/*.gen.ts
📒 Files selected for processing (15)
  • apps/api/openapi/openapi.json
  • apps/api/src/lib/ai/enhance-instruction.ts
  • apps/api/src/lib/ai/index.ts
  • apps/api/src/routes/ai/ai.spec.ts
  • apps/api/src/routes/ai/enhance.test.ts
  • apps/api/src/routes/ai/enhance.ts
  • apps/docu/components/landing/stack.tsx
  • apps/docu/content/docs/architecture/ai.mdx
  • apps/docu/content/docs/architecture/index.mdx
  • apps/web/app/(dashboard)/ask/chat.tsx
  • apps/web/components/assistant/enhance-prompt.tsx
  • apps/web/components/genui/command-composer.tsx
  • packages/cli/README.md
  • packages/react/src/hooks/use-enhance-prompt.ts
  • packages/react/src/index.ts
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gaboesquivel
gaboesquivel merged commit fff5f84 into main Oct 7, 2026
17 checks passed
@gaboesquivel
gaboesquivel deleted the feat/enhance-prompt branch October 7, 2026 15:40

This branch was successfully deployed

1 active deployment
Preview — 03872ef1 Deployed Oct 5, 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