@nuniapp/cli 0.1.3 → 0.1.5

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 (3) hide show
  1. package/README.md +14 -0
  2. package/dist/index.mjs +1862 -58
  3. package/package.json +5 -2
package/README.md CHANGED
@@ -9,6 +9,19 @@ npx @nuniapp/cli@latest prompt # the ready-made prompt for your coding a
9
9
  npx @nuniapp/cli@latest id # just a new project ID
10
10
  ```
11
11
 
12
+ Read, reply to and resolve comments from the terminal, or let your coding agent do it over MCP:
13
+
14
+ ```sh
15
+ npx @nuniapp/cli@latest login # approve this terminal in the Nuni dashboard
16
+ npx @nuniapp/cli@latest comments # open comments, newest first
17
+ npx @nuniapp/cli@latest comment <id> # one comment with the element, DOM, console and screenshot
18
+ npx @nuniapp/cli@latest reply <id> "message"
19
+ npx @nuniapp/cli@latest resolve <id> --note "what changed"
20
+ claude mcp add nuni -- npx -y @nuniapp/cli@latest mcp
21
+ ```
22
+
23
+ See [Coding agents](https://nuni.praveenjuge.com/guides/agents) for Cursor, Codex and other MCP clients.
24
+
12
25
  `init` does not edit your files. It detects your framework (Next.js, React, Vue, Nuxt, SvelteKit, Astro, Angular, plain HTML and more) and package manager, and prints exactly what to add and where.
13
26
 
14
27
  ## Agent prompt
@@ -34,6 +47,7 @@ Steps:
34
47
  6. Do not add Nuni to server-only code, and do not load it more than once.
35
48
  7. If the site sends a Content-Security-Policy, allow connect-src https://*.convex.cloud wss://*.convex.cloud https://*.convex.site (and script-src cdn.jsdelivr.net for the script tag).
36
49
  8. Start the dev server, open the site, and confirm the Nuni button appears in the bottom-right corner.
50
+ 9. Tell the user they can let you read and resolve comments later: run npx @nuniapp/cli@latest login once, then add the MCP server (for Claude Code: claude mcp add nuni -- npx -y @nuniapp/cli@latest mcp). Do not run login yourself unless asked.
37
51
 
38
52
  Docs: https://nuni.praveenjuge.com/quickstart
39
53
  ```