@vaiftech/cli 1.9.6 → 1.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/README.md +5 -3
  2. package/dist/cli.cjs +256 -76
  3. package/dist/cli.js +235 -55
  4. package/package.json +10 -10
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![npm version](https://img.shields.io/npm/v/@vaiftech/cli)](https://www.npmjs.com/package/@vaiftech/cli)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
5
5
 
6
- Command-line tools for [VAIF Studio](https://vaif.studio) (v1.9.6) — scaffold full projects from templates with feature selection, browser-based authentication, manage schemas, deploy functions, generate TypeScript types, and more.
6
+ Command-line tools for [VAIF Studio](https://vaif.studio) (v1.9.7) — scaffold full projects from templates with feature selection, browser-based authentication, manage schemas, deploy functions, generate TypeScript types, and more.
7
7
 
8
8
  ## Installation
9
9
 
@@ -234,7 +234,7 @@ vaif keys list # List all keys
234
234
  Manage encrypted secrets that your VAIF Functions can access at runtime. Secret values are encrypted at rest and injected into function invocations automatically.
235
235
 
236
236
  ```bash
237
- vaif secrets set API_KEY sk-live-xxx # Create or update a secret
237
+ vaif secrets set API_KEY YOUR_API_KEY # Create or update a secret
238
238
  vaif secrets set CERT --from-file cert.pem # Set secret from file
239
239
  vaif secrets list # List secret names (values hidden)
240
240
  vaif secrets get API_KEY # Reveal a secret value
@@ -280,7 +280,9 @@ vaif claude-setup -o ./my-app # Custom output directory
280
280
  **Generated files:**
281
281
 
282
282
  - **`.mcp.json`** — Configures the `@vaiftech/mcp` server so Claude Code can query your database, manage schema, upload files, invoke functions, and more.
283
- - **`CLAUDE.md`** — Gives Claude full context about your project: SDK setup with your actual API key, complete database schema with types and constraints, CRUD examples using your real table names, auth/storage/realtime/functions usage patterns, row-level security (RLS), storage policies, edge function deployment, API key management, secrets management, and filter/pagination reference.
283
+ - **`CLAUDE.md`** — Gives Claude full context about your project: SDK setup with your actual API key, complete database schema with types and constraints, CRUD examples using your real table names, auth/storage/realtime/functions usage patterns, row-level security (RLS), storage policies, edge function deployment, API key management, secrets management, filter/pagination reference, JSONB subkey filters, compound filters (AND+OR), full-text search, aggregation, FK joins, upsert, `vaif.auth` context in functions, function-to-function invocation, and database triggers.
284
+
285
+ The MCP server also includes guided prompts (`setup-backend`, `add-feature`, `generate-api-code`, `debug-query`) accessible via `/mcp` in Claude Code.
284
286
 
285
287
  ## Configuration
286
288