ply-ui-cli 1.1.124 → 1.1.126

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/LICENSE CHANGED
@@ -26,11 +26,10 @@ Scope: "the Software" above means the CLI program itself — the source
26
26
  files in this package (`ply-ui-cli`: argument parsing, HTTP fetching, and
27
27
  file-writing logic) and nothing else.
28
28
 
29
- It does NOT cover the components, blocks, layouts, or other content this
30
- CLI downloads and writes to disk when you run `init`, `add`, `diff`, or
31
- `update`. That content is fetched at runtime from https://ply-ui.com and
32
- is licensed separately — see:
29
+ Free-tier components this CLI writes are also MIT:
33
30
  https://github.com/ply-ui-ng/ply/blob/main/LICENSE.md
34
31
 
35
- Every file this CLI writes includes a short header identifying which
36
- license applies to that specific file.
32
+ Pro components (`tier: "pro"`) are a paid license, not MIT:
33
+ https://github.com/ply-ui-ng/ply/blob/main/LICENSE-PRO.md
34
+
35
+ Pro files this CLI writes include a short header pointing at LICENSE-PRO.md.
package/README.md CHANGED
@@ -25,6 +25,7 @@ The old npm name `base-ui-cli` is **deprecated** (name collision with [MUI Base
25
25
  - **chat**, **combobox**, **tags-input**, **time-picker** (free) — AI chat kit, searchable combobox, chip tags field, and HH:mm time picker.
26
26
  - **progress-button** (free) — button with a stable-width loading spinner: the label fades out, the spinner takes its place, and the button keeps its exact size and color while the async action runs.
27
27
  - **shell** (Pro) — unified page/dashboard application shell with optional footer, push drawers, and mini rail.
28
+ - **AI agents** — copy-in install is cheaper in tokens than generating a widget. Walkthrough (simulation, not a lab benchmark): [rich text editor](https://ply-ui.com/learn/ai-agent-tokens-rich-text-editor/).
28
29
 
29
30
  Full history: [ply-ui.com/changelog](https://ply-ui.com/changelog)
30
31
 
@@ -248,6 +249,12 @@ Effectively yes: the same copy-in philosophy — real source in your repo, owned
248
249
  **How much does Ply Pro cost?**
249
250
  A one-time Pro license is $99. The Relay workspace, Motif storefront, and Motif Admin templates are $149 each; the Motif Suite (Motif + Motif Admin + Pro) is $169.
250
251
 
252
+ **Can I use free components commercially?**
253
+ Yes. Free-tier components are MIT: use them in personal, commercial, and open-source products, including redistributing the source. No account or license key.
254
+
255
+ **Is Ply open source?**
256
+ The 125 free components, ply-ui-cli, and ply-ui-mcp are MIT. You may use, modify, and redistribute them. Pro components are a separate paid license — see LICENSE-PRO.md.
257
+
251
258
  **How do I install a component?**
252
259
  npx ply-ui-cli init once per project, then npx ply-ui-cli add <name>. Omit the name in a terminal to pick from the catalog (filter, then type to select). --yes and CI need explicit names. Components land in src/app/components/<name>/ by default and are yours.
253
260
 
@@ -257,6 +264,9 @@ Run npx ply-ui-cli doctor. It checks ply-ui.json, the Angular workspace, @angula
257
264
  **Can AI agents install Ply?**
258
265
  Yes. npx -y ply-ui-mcp is stdio for Cursor, Claude (Code/Desktop), Kimi, VS Code, Windsurf, and other local hosts. ChatGPT and Gemini chat apps use the Streamable HTTP connector at https://mcp.ply-ui.com/mcp (catalog tools) or a local npx -y ply-ui-mcp --http without --read-only so add/init/update can see the project. Pro add uses PLY_LICENSE_KEY on the MCP process. Editors that skip MCP can copy the Cursor rule and snippet pack from https://ply-ui.com/getting-started/#editor-rules.
259
266
 
267
+ **Do AI agents use fewer tokens with Ply?**
268
+ Usually, yes. With Ply the agent copies a finished component (CLI or MCP) and wires it, instead of generating a toolbar, selection model, sanitizer, and SSR guards from a blank file. Token use still depends on the prompt and the model. A reconstructed Claude/Grok session for the rich text editor is at https://ply-ui.com/learn/ai-agent-tokens-rich-text-editor/ — that is a teaching simulation, not a lab benchmark.
269
+
260
270
  **What is the risk if Ply disappears?**
261
271
  Near zero. Installed code is in your version control with no runtime dependency; deleting the CLI changes nothing about your app.
262
272
 
@@ -265,7 +275,7 @@ More: [https://ply-ui.com/faq/](https://ply-ui.com/faq/) · [https://ply-ui.com/
265
275
 
266
276
  ## License
267
277
 
268
- This CLI *tool* (the source in this package — argument parsing, fetching, file writing) is [MIT-licensed](LICENSE). That does **not** cover the components it downloads: content fetched by `init`/`add`/`diff`/`update` is licensed separately under the [Ply license](https://github.com/ply-ui-ng/ply/blob/main/LICENSE.md) — free-tier components are free to use in unlimited projects; pro components require a paid license; redistributing the fetched source as a library or kit isn't permitted for either tier. Every file this CLI writes includes a short header naming which license applies to it.
278
+ This CLI *tool* (the source in this package — argument parsing, fetching, file writing) is [MIT-licensed](LICENSE). Free-tier components it installs are also MIT ([repo LICENSE.md](https://github.com/ply-ui-ng/ply/blob/main/LICENSE.md)). Pro components require a paid license and are not MIT — see [LICENSE-PRO.md](https://github.com/ply-ui-ng/ply/blob/main/LICENSE-PRO.md). Pro files this CLI writes include a short header pointing at that license.
269
279
 
270
280
  ## Support
271
281
 
package/dist/index.js CHANGED
@@ -108,7 +108,7 @@ function parseArgs(argv) {
108
108
  async function main() {
109
109
  const { command, positionals, flags } = parseArgs(process.argv.slice(2));
110
110
  if (flags.version && !command) {
111
- console.log("1.1.124");
111
+ console.log("1.1.126");
112
112
  return;
113
113
  }
114
114
  if (flags.help || !command) {
@@ -158,7 +158,7 @@ async function main() {
158
158
  }
159
159
  case "--version":
160
160
  case "-V":
161
- console.log("1.1.124");
161
+ console.log("1.1.126");
162
162
  return;
163
163
  default:
164
164
  console.error(`Unknown command: ${command}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ply-ui-cli",
3
- "version": "1.1.124",
3
+ "version": "1.1.126",
4
4
  "description": "Ply CLI — add Angular + Tailwind CSS components to your project (shadcn-style, code is copied in and owned by you). Not MUI Base UI.",
5
5
  "main": "dist/index.js",
6
6
  "publishConfig": {