@luci-dev/cli 0.5.5 → 0.5.6
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.
- package/README.md +103 -0
- package/package.json +6 -6
package/README.md
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Luci
|
|
2
|
+
|
|
3
|
+
**Design control for AI coding agents.** Luci gives your coding agent the project's memory, the right design skills, exact measurements from any page, and feedback pinned to the element. It runs on your machine.
|
|
4
|
+
|
|
5
|
+
Free and MIT licensed · No account · No telemetry · Works with Claude Code, Cursor, Codex, Gemini CLI and GitHub Copilot.
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx @luci-dev/cli@latest init
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## What it does
|
|
12
|
+
|
|
13
|
+
- **Memory.** `luci init` creates a `.luci/` folder in your project: goal, stack, commands, rules, decisions and the active task. It also writes a short section into your agent's own file (`CLAUDE.md`, `AGENTS.md`, `.cursorrules`, `GEMINI.md`, Copilot instructions) so every session starts from the same context.
|
|
14
|
+
- **Skills.** A ranked library of UI/UX, motion and front-end skills. Luci loads only the ones that fit the current task, so the agent's context stays small.
|
|
15
|
+
- **Dev toolbar.** Luci inside your running app:
|
|
16
|
+
- **Feedback:** click an element (or tap it on a phone), write what should change, and copy one prompt with every note.
|
|
17
|
+
- **Layout:** resize, move and space elements on the live page, then send the plan to your agent.
|
|
18
|
+
- **Capture:** take a component, text, color or spacing as a design file the agent can read.
|
|
19
|
+
- **MCP server.** `luci-mcp` lets the agent read the project context, your notes and saved captures itself.
|
|
20
|
+
|
|
21
|
+
## Requirements
|
|
22
|
+
|
|
23
|
+
Node.js 18 or later.
|
|
24
|
+
|
|
25
|
+
## Get started
|
|
26
|
+
|
|
27
|
+
1. **Set up your project.** In your project folder:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npx @luci-dev/cli@latest init
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
It asks for the project's goal, suggests skills and rules, and offers to add the dev toolbar to your app (press Enter for yes).
|
|
34
|
+
|
|
35
|
+
2. **Start the toolbar's connection.** Leave this running while you work:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npx @luci-dev/cli@latest serve
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Open your app on this machine. Luci's button is in the bottom corner. Notes and captures go into `.luci/`, where your agent reads them.
|
|
42
|
+
|
|
43
|
+
3. **Optional: connect your agent to `luci-mcp`.** Claude Code, from the project folder:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
claude mcp add luci -- npx -y @luci-dev/mcp@latest
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
For other agents, add a stdio MCP server that runs `npx -y @luci-dev/mcp@latest` in the project folder. Copying the prompt from the toolbar works without it.
|
|
50
|
+
|
|
51
|
+
Prefer a `luci` command? Install it once:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
npm install -g @luci-dev/cli
|
|
55
|
+
luci serve
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Common commands
|
|
59
|
+
|
|
60
|
+
| Command | What it does |
|
|
61
|
+
| :--- | :--- |
|
|
62
|
+
| `luci init` | Set up Luci in this project |
|
|
63
|
+
| `luci serve` | Connect the dev toolbar to this project |
|
|
64
|
+
| `luci toolbar` | Add the dev toolbar to your app (`luci toolbar remove` takes it out) |
|
|
65
|
+
| `luci start` | Show the active task and the context an agent needs |
|
|
66
|
+
| `luci doctor` | Check the install and this project, and say how to fix what is wrong |
|
|
67
|
+
| `luci update` | Refresh the files Luci wrote into this project |
|
|
68
|
+
| `luci skills use <task>` | Load the skills that fit a task |
|
|
69
|
+
| `luci --version` | Show the installed version |
|
|
70
|
+
|
|
71
|
+
`luci --help` lists everything. The [command reference](https://github.com/waidesign/luci-by-pawprint.design/blob/main/docs/COMMANDS.md) explains every command and option, the dev toolbar's tools and keys, the Chrome extension, and the tools your agent can call.
|
|
72
|
+
|
|
73
|
+
## Updating
|
|
74
|
+
|
|
75
|
+
Luci never checks for updates on its own. A new version reaches you when you fetch it:
|
|
76
|
+
|
|
77
|
+
| How you run Luci | How to update |
|
|
78
|
+
| :--- | :--- |
|
|
79
|
+
| `npx @luci-dev/cli@latest …` | Nothing to do: `@latest` fetches the newest version every time. |
|
|
80
|
+
| Installed with `npm install -g @luci-dev/cli` | `npm install -g @luci-dev/cli@latest` |
|
|
81
|
+
| `luci-mcp` through `npx -y @luci-dev/mcp@latest` | Nothing to do: restart your agent to start the new version. |
|
|
82
|
+
|
|
83
|
+
**After updating:**
|
|
84
|
+
|
|
85
|
+
1. **Dev toolbar:** stop `luci serve` (Ctrl+C), start it again, and reload your app. The toolbar comes from the Luci you have installed, so the restart brings the new one. You do not need to run `luci toolbar` again.
|
|
86
|
+
2. **Project files:** run `luci doctor` in each project. If it says a Luci section is out of date, run `luci update`. It refreshes Luci's own files (`.luci/` context, agent files, skill catalog) and keeps your rules, decisions and notes.
|
|
87
|
+
|
|
88
|
+
`luci update` refreshes a project's files; it does not update Luci itself.
|
|
89
|
+
|
|
90
|
+
## Privacy
|
|
91
|
+
|
|
92
|
+
- Everything runs on your machine. `luci serve` listens on 127.0.0.1 only.
|
|
93
|
+
- No telemetry, accounts or API keys.
|
|
94
|
+
- Luci goes online only when you ask it to, for example `luci skills add <github-link>`.
|
|
95
|
+
|
|
96
|
+
## Links
|
|
97
|
+
|
|
98
|
+
- [Source code and full documentation](https://github.com/waidesign/luci-by-pawprint.design#readme)
|
|
99
|
+
- [Command reference](https://github.com/waidesign/luci-by-pawprint.design/blob/main/docs/COMMANDS.md)
|
|
100
|
+
- [Dev toolbar guide](https://github.com/waidesign/luci-by-pawprint.design/tree/main/packages/toolbar#readme)
|
|
101
|
+
- [Report a problem](https://github.com/waidesign/luci-by-pawprint.design/issues)
|
|
102
|
+
|
|
103
|
+
MIT licensed.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luci-dev/cli",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6",
|
|
4
4
|
"description": "Memory, skills, design capture and feedback for AI coding agents. Local only.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"dist"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@luci-dev/brain": "0.5.
|
|
25
|
-
"@luci-dev/feedback": "0.5.
|
|
26
|
-
"@luci-dev/format": "0.5.
|
|
27
|
-
"@luci-dev/skills": "0.5.
|
|
28
|
-
"@luci-dev/toolbar": "0.5.
|
|
24
|
+
"@luci-dev/brain": "0.5.6",
|
|
25
|
+
"@luci-dev/feedback": "0.5.6",
|
|
26
|
+
"@luci-dev/format": "0.5.6",
|
|
27
|
+
"@luci-dev/skills": "0.5.6",
|
|
28
|
+
"@luci-dev/toolbar": "0.5.6",
|
|
29
29
|
"zod": "4.6.7"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|