@parity-app/cli 0.6.3 → 0.7.0

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.
@@ -1,4 +1,4 @@
1
- import { a as applyLibraryEdits, f as parseLibraryEdits, p as parseLibraryManifest, u as libraryManifestExtension } from "./src-YQY8r4mh.mjs";
1
+ import { a as applyLibraryEdits, f as parseLibraryEdits, p as parseLibraryManifest, u as libraryManifestExtension } from "./src-CSah1pZ-.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import { readFile, readdir } from "node:fs/promises";
4
4
  import { dirname, join, resolve } from "node:path";
@@ -1 +1 @@
1
- export { t as covers, n as newestEntries, i as registryDir, a as registryEntries } from "./src-DzU4U2rh.mjs";
1
+ export { t as covers, n as newestEntries, i as registryDir, a as registryEntries } from "./src-D2kRGtaF.mjs";
@@ -1,6 +1,6 @@
1
- import { a as plainObject, i as parseData, n as jsonText, t as finiteNumber } from "./schema-CiVy9tZT.mjs";
2
- import { D as collectCustomProperties, M as packageManifest, a as applyLibraryEdits, c as isSampleElement, f as parseLibraryEdits, j as lengthToPixels, l as isSampleRender, m as renderSlotOf, p as parseLibraryManifest, s as isMadeValue, u as libraryManifestExtension } from "./src-YQY8r4mh.mjs";
3
- import { r as readLibraryEdits, s as parseJsonc } from "./src-DzU4U2rh.mjs";
1
+ import { a as parseData, n as finiteNumber, o as plainObject, r as jsonText } from "./schema-DcQLoUPP.mjs";
2
+ import { E as collectCustomProperties, M as packageManifest, a as applyLibraryEdits, c as isSampleElement, f as parseLibraryEdits, j as lengthToPixels, l as isSampleRender, m as renderSlotOf, p as parseLibraryManifest, s as isMadeValue, u as libraryManifestExtension } from "./src-CSah1pZ-.mjs";
3
+ import { r as readLibraryEdits, s as parseJsonc } from "./src-D2kRGtaF.mjs";
4
4
  import { a as publishedVersions, n as packageFile, o as repositoryFiles, r as publishedSource } from "./published-CdXoUgfD.mjs";
5
5
  import { createRequire } from "node:module";
6
6
  import { mkdir, readFile, readdir, realpath, rm, stat, writeFile } from "node:fs/promises";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parity-app/cli",
3
- "version": "0.6.3",
3
+ "version": "0.7.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Drive the Parity app from a terminal or an agent: read state, run edits, take screenshots, serve MCP.",
package/skills/SKILL.md CHANGED
@@ -27,22 +27,22 @@ The same tools are MCP tools and `parity` commands in a terminal. They act on a
27
27
  the active tab of the Parity window they used last. When the person says "this" or "what I've selected" without naming a
28
28
  project, pass `tab: "active"` (`--tab active`) and read `get_app_state` for the selection.
29
29
 
30
- | MCP | CLI | What it does |
31
- | --------------------- | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
32
- | `get_app_state` | `parity state` | Designs, the selection, modes, components and token names, and what Parity detected (builder and config, package manager, installed versions). Start here. |
33
- | `get_status` | `parity status` | The revision, whether anything is unsaved and which files and tokens, the last save, and undo and redo; `summary` names them. |
34
- | `get_modes` | `parity modes [design]` | Viewports (the ids `Responsive` takes), modes (the ids renders take) and what each design shows; a design adds its frames. |
35
- | `execute` | `parity exec` | Runs a JavaScript snippet against the designs. Its changes land as one undo step, merged per design with edits made meanwhile. |
36
- | `screenshot` | `parity screenshot <design>` | Renders a design in its states and modes, offscreen, and returns the images. |
37
- | `find_problems` | `parity problems <design>` | Render errors, overflow, clipping and unknown components, per frame. |
38
- | `check_accessibility` | `parity a11y <design>` | axe-core against WCAG 2.2 AA, per frame, on the layers that break each rule. |
39
- | `get_console` | `parity console` | What the project's own code wrote to the console, on the canvas and offscreen. |
40
- | `get_tokens` | `parity tokens` | Tokens filtered by category, source or name, with values in every theme. |
41
- | `get_components` | `parity components` | Components, libraries, icon sets and exports left out or failing to render. |
42
- | `get_props` | `parity props <Component>` | Props from source, then what it goes inside and holds, its slots and an example to insert; `all` adds passed-through attributes. |
43
- | `get_tabs` | `parity tabs` | The open projects. |
44
- | `open_project` | `parity open <folder>` | Opens a project in a new tab. |
45
- | `read_skill` | `parity skill [file]` | This skill. |
30
+ | MCP | CLI | What it does |
31
+ | --------------------- | ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
32
+ | `get_app_state` | `parity state` | Designs, the selection, modes (the primary one marked), components and token names, and what Parity detected (builder and config, package manager, installed versions). Start here. |
33
+ | `get_status` | `parity status` | The revision, whether anything is unsaved and which files and tokens, the last save, and undo and redo; `summary` names them. |
34
+ | `get_modes` | `parity modes [design]` | Viewports (the ids `Responsive` takes), modes (the ids renders take) and what each design shows; a design adds its frames. |
35
+ | `execute` | `parity exec` | Runs a JavaScript snippet against the designs. Its changes land as one undo step, merged per design with edits made meanwhile. |
36
+ | `screenshot` | `parity screenshot <design>` | Renders a design in its states and modes, offscreen, and returns the images. |
37
+ | `find_problems` | `parity problems <design>` | Render errors, overflow, clipping and unknown components, per frame. |
38
+ | `check_accessibility` | `parity a11y <design>` | axe-core against WCAG 2.2 AA, per frame, on the layers that break each rule. |
39
+ | `get_console` | `parity console` | What the project's own code wrote to the console, on the canvas and offscreen. |
40
+ | `get_tokens` | `parity tokens` | Tokens filtered by category, source or name, with values in every theme. |
41
+ | `get_components` | `parity components` | Components, libraries, icon sets and exports left out or failing to render. |
42
+ | `get_props` | `parity props <Component>` | Props from source, then what it goes inside and holds, its slots and an example to insert; `all` adds passed-through attributes. |
43
+ | `get_tabs` | `parity tabs` | The open projects. |
44
+ | `open_project` | `parity open <folder>` | Opens a project in a new tab. |
45
+ | `read_skill` | `parity skill [file]` | This skill. |
46
46
 
47
47
  The token, component and prop tools read what designs can use without writing a snippet in either transport.
48
48
  `parity components` also says which of the app's exports aren't components and why, which components fail to draw on the
@@ -1,4 +0,0 @@
1
- import "./schema-CiVy9tZT.mjs";
2
- export { t as componentNode, T as generateId, n as librarySource, i as withLibraryContext } from "./src-YQY8r4mh.mjs";
3
- import "./src-DzU4U2rh.mjs";
4
- import "./src-C5-HaJcA.mjs";