@getcoherent/cli 0.6.48 → 0.6.50

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/LICENSE +21 -0
  2. package/README.md +6 -1
  3. package/dist/index.js +470 -428
  4. package/package.json +10 -10
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Sergei Kovtun
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -26,9 +26,14 @@ coherent preview
26
26
  | Command | Description |
27
27
  |---------|-------------|
28
28
  | `coherent init` | Create project: config, app, design-system viewer, docs. Non-interactive (optional provider flag). |
29
- | `coherent chat "<request>"` | Parse NL, update config, regenerate pages/components/nav (e.g. add page, change tokens). |
29
+ | `coherent chat "<request>"` | Generate or modify pages using natural language. Includes generation-time TypeScript validation. |
30
30
  | `coherent preview` | Start Next.js dev server. |
31
+ | `coherent fix` | Auto-fix everything: TypeScript errors (deterministic + AI), missing components, CSS, raw colors, layouts. |
32
+ | `coherent check` | Show all problems: page quality, component integrity, broken links. |
33
+ | `coherent sync` | Sync Design System with code after manual edits. |
31
34
  | `coherent export` | Production build; optional Vercel/Netlify config. |
35
+ | `coherent undo` | Restore project to state before the last `coherent chat`. |
36
+ | `coherent update` | Apply platform updates to an existing project. |
32
37
  | `coherent status` | Print config summary (pages, components). |
33
38
  | `coherent components` | List registered components. |
34
39