@astralkit/cli 4.6.2 → 4.6.3

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/CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@ All notable changes to the `@astralkit/cli` package.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [4.6.3] (2026-11-24)
9
+
10
+ ### Fixed
11
+ - After `astralkit login`, suggest `astralkit add button` (a free component that works on every plan) instead of `astralkit add pricing-table`, which does not exist.
12
+ - **AI rules fallback** (written when the `astralkit` SDK is not installed) on the final token names: `ak-N` = N x 4px, no underscores. It still taught the pre-0.8 scale (`ak-1` as 8px), which halves every space an agent writes. It also no longer bans Framer Motion (GSAP is what is not allowed), uses `min-h-ak-12` instead of an arbitrary value, and names a palette that exists.
13
+
14
+ ### Changed
15
+ - **README plans:** Free, Pro and Lifetime. The CLI works on every plan: Free installs the free core components in all three frameworks; premium components, boosters and workflows need Pro (metered unlocks) or Lifetime.
16
+ - **LICENSE:** the AI clause matches the AstralKit license: no training on the content, and using AI coding assistants and agents (Claude Code, Codex, Cursor, the AstralKit MCP) to read, install and modify licensed content in your own projects is allowed.
17
+
8
18
  ## [4.6.2] — 2026-10-14
9
19
 
10
20
  ### Fixed
package/LICENSE CHANGED
@@ -18,9 +18,10 @@ PROHIBITED USES
18
18
  You may NOT, without the express prior written consent of Blue Beacon Creative LLC:
19
19
 
20
20
  1. Use the Software's source code, or any code delivered through the Software,
21
- as training data, fine-tuning data, or input for any artificial intelligence
22
- system, machine learning model, large language model, neural network, or any
23
- automated system designed to generate code, text, images, or other output.
21
+ to train, fine-tune, or otherwise develop any artificial intelligence
22
+ system, machine learning model, large language model, or neural network, or
23
+ include it in any dataset, corpus, or index made available to third parties
24
+ for that purpose.
24
25
 
25
26
  2. Resell, sublicense, redistribute, or otherwise transfer the Software or any
26
27
  component, booster, or workflow delivered through the Software as a standalone
@@ -30,9 +31,12 @@ You may NOT, without the express prior written consent of Blue Beacon Creative L
30
31
 
31
32
  4. Share account credentials or license keys with unauthorized individuals.
32
33
 
33
- This restriction applies to all forms of machine learning including supervised
34
- learning, unsupervised learning, reinforcement learning, transfer learning, and
35
- retrieval-augmented generation.
34
+ Restriction 1 applies to all forms of model training, including supervised
35
+ learning, unsupervised learning, reinforcement learning, and transfer learning.
36
+
37
+ It does not restrict using AI coding assistants and agents (for example Claude
38
+ Code, Codex, or Cursor, including through the AstralKit MCP server) to read,
39
+ install, modify, and extend licensed content in your own projects.
36
40
 
37
41
  For clarity, AstralKit's publicly available documentation, marketing materials,
38
42
  and API reference content are not subject to these restrictions.
package/README.md CHANGED
@@ -248,16 +248,17 @@ Teammates clone and run `npm install` — everything works. No `astralkit init`
248
248
 
249
249
  ## Plans
250
250
 
251
- | | Free | Pro | Plus | Lifetime |
252
- |---|---|---|---|---|
253
- | **Component downloads** | 10/month | Unlimited | Unlimited | Unlimited |
254
- | **Premium components** | — | ✓ | ✓ | ✓ |
255
- | **HTML / Tailwind** | ✓ | ✓ | ✓ | ✓ |
256
- | **React + Next.js** | — | ✓ | ✓ | ✓ |
257
- | **Boosters** | — | — | 5/month | Unlimited |
258
- | **Workflows** | — | — | 1/month | Unlimited |
259
-
260
- > **CLI access starts at Pro.** The Free tier is HTML/Tailwind only and delivered by copy-paste from [astralkit.com](https://astralkit.com) — the CLI's React and Next.js output requires a paid plan. Boosters and workflows require Plus or Lifetime.
251
+ | | Free | Pro | Lifetime |
252
+ |---|---|---|---|
253
+ | **Free core components** | ✓ | ✓ | ✓ |
254
+ | **Component downloads** | Unlimited (free components) | Unlimited | Unlimited |
255
+ | **Premium components** | - | ✓ | ✓ |
256
+ | **HTML / Tailwind, React, Next.js** | ✓ | ✓ | ✓ |
257
+ | **Boosters** | - | 3 unlocks per billing month | Unlimited |
258
+ | **Workflows** | - | 1 unlock per billing month | Unlimited |
259
+ | **License** | Personal projects | Client and commercial | Client and commercial |
260
+
261
+ > **The CLI works on every plan.** Free installs the free core components in all three frameworks. Premium components, boosters and workflows need Pro or Lifetime.
261
262
 
262
263
  Upgrade at [astralkit.com/pricing](https://astralkit.com/pricing).
263
264
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astralkit/cli",
3
- "version": "4.6.2",
3
+ "version": "4.6.3",
4
4
  "description": "AstralKit CLI — Install and manage UI components in your project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -124,7 +124,8 @@ export async function loginCommand() {
124
124
  console.log(pc.gray(` Email: ${authData.email || 'unknown'}`));
125
125
  console.log(pc.gray(` Plan: ${authData.plan || 'free'}`));
126
126
  console.log();
127
- p.outro(pc.green('You can now install Pro components: ' + pc.cyan('astralkit add pricing-table')));
127
+ // A real, free component, so the first command works on every plan. ("pricing-table" never existed.)
128
+ p.outro(pc.green('You are connected. Try it: ' + pc.cyan('astralkit add button')));
128
129
 
129
130
  } catch (err) {
130
131
  spinner.fail(err.message);
@@ -46,8 +46,12 @@ ALWAYS use \`ak-*\` design tokens. NEVER use arbitrary bracket values or raw Tai
46
46
  - Display/hero: \`text-ak-display-*\` (dramatic scaling for marketing headings)
47
47
  - Fonts: \`font-ak-sans\` (Inter), \`font-ak-serif\` (DM Serif Display), \`font-ak-mono\` (JetBrains Mono)
48
48
 
49
+ ## Token names: Tailwind with \`ak-\` in front
50
+ - Spacing is whole numbers only, \`ak-N\` = N x 4px, the same numbers as Tailwind: \`ak-1\` (4px), \`ak-2\` (8px), \`ak-3\` (12px), \`ak-4\` (16px), \`ak-6\` (24px), \`ak-8\` (32px), \`ak-12\` (48px), \`ak-16\` (64px)
51
+ - Type sizes are Tailwind's size words only. There are no in-between sizes.
52
+ - No underscore and no dot after \`ak-\`, ever: \`ak-1_5\`, \`ak-1.5\` and \`text-ak-2xl_5\` do not exist and render nothing.
53
+
49
54
  ## Spacing
50
- Use \`ak-*\` spacing tokens: \`ak-0_5\` (4px), \`ak-1\` (8px), \`ak-1_5\` (12px), \`ak-2\` (16px), \`ak-3\` (24px), \`ak-4\` (32px), \`ak-6\` (48px), \`ak-8\` (64px)
51
55
  - Fluid: \`ak-fl-xs\` through \`ak-fl-3xl\` (responsive, no breakpoints)
52
56
  - Page margin: \`px-ak-fl-page-margin\` (16px mobile → 80px desktop)
53
57
 
@@ -62,11 +66,11 @@ Phosphor Icons ONLY (\`@phosphor-icons/react\`). Never inline SVGs or other icon
62
66
  ## Conventions
63
67
  - No inline \`style={{}}\` — use Tailwind classes
64
68
  - No shadows on panels/dropdowns — use borders
65
- - No Framer Motion — use CSS animations
69
+ - Motion: Framer Motion (prefer \`astralkit/motion\`), CSS and Lenis are fine. No GSAP.
66
70
  - 16px body floor + AAA contrast minimum
67
- - All buttons/inputs: \`min-h-[3rem]\` touch target + \`cursor-pointer\`
71
+ - All buttons/inputs: \`min-h-ak-12\` (48px) touch target + \`cursor-pointer\`
68
72
  - Dark mode: \`.dark\` class or \`data-theme="dark"\` on \`<html>\`
69
- - Palettes: \`data-ak-theme="ocean-blue"\` (16 presets available)
73
+ - Palettes: \`data-ak-theme="warm-earth"\` (the palettes are in \`astralkit/palettes\`; \`THEME_PALETTES\` lists them)
70
74
  - Density: \`data-ak-density="compact|spacious"\` on any container
71
75
 
72
76
  ## For the full token reference