@cue-ai-cli/manifest
v0.1.0
Published
Cue codebase manifest CLI for route and endpoint indexing
Downloads
62
Maintainers
Readme
@cue-ai-cli/manifest
Cue codebase manifest CLI.
It scans a client codebase, extracts app routes + API endpoints, and syncs route intelligence to Cue so jump-first navigation is more reliable.
Install
npm install -D @cue-ai-cli/manifestQuick Start
# 1) Generate manifest
npx cue-manifest generate --website-url https://your-app.com --out cue.manifest.json
# 2) Upload manifest
CUE_API_KEY=cue_pk_xxx npx cue-manifest upload --manifest cue.manifest.json
# 3) One-step sync
CUE_API_KEY=cue_pk_xxx npx cue-manifest sync --website-url https://your-app.comConfig (optional)
Create cue.manifest.config.json:
{
"websiteUrl": "https://your-app.com",
"apiBaseUrl": "https://xnae4xfmpm.us-east-2.awsapprunner.com",
"apiKeyEnv": "CUE_API_KEY",
"include": ["app", "pages", "src", "routes", "server"],
"exclude": ["node_modules", "dist", "build", ".next", ".git"],
"maxFiles": 5000
}Then run:
CUE_API_KEY=cue_pk_xxx npx cue-manifest sync --config cue.manifest.config.jsonCommands
cue-manifest generatecue-manifest uploadcue-manifest sync
