basalt-ui 1.0.0 → 1.0.2

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 (40) hide show
  1. package/AGENTS.md +12 -12
  2. package/CHANGELOG.md +19 -0
  3. package/README.md +31 -44
  4. package/agent/rules/basalt-charts.md +1 -1
  5. package/agent/rules/basalt-mantine.md +3 -3
  6. package/agent/rules/basalt-router.md +1 -1
  7. package/agent/rules/basalt-state.md +2 -2
  8. package/agent/rules/basalt-tokens.md +3 -3
  9. package/agent/skills/basalt-app/SKILL.md +137 -0
  10. package/agent/skills/basalt-charts/SKILL.md +179 -0
  11. package/agent/skills/basalt-design/SKILL.md +249 -0
  12. package/agent/templates/CLAUDE-block.md.tpl +8 -5
  13. package/agent/templates/__root.tpl +1 -1
  14. package/agent/templates/query-client.ts.tpl +1 -1
  15. package/configs/check.yml +8 -8
  16. package/configs/lefthook.yml +9 -5
  17. package/configs/oxlint-plugin.js +119 -7
  18. package/configs/oxlint-plugin.test.ts +73 -3
  19. package/configs/oxlint.json +2 -71
  20. package/dist/cli/index.d.ts +71 -28
  21. package/dist/cli/index.d.ts.map +1 -1
  22. package/dist/cli/index.js +134 -121
  23. package/dist/surfaces.d.ts +41 -17
  24. package/dist/surfaces.d.ts.map +1 -1
  25. package/dist/surfaces.js +37 -38
  26. package/dist/tokens/index.d.ts +1 -0
  27. package/dist/tokens/index.d.ts.map +1 -1
  28. package/dist/tokens/index.js +3 -0
  29. package/llms.txt +2 -2
  30. package/package.json +2 -2
  31. package/src/cli/check-theme.test.ts +12 -2
  32. package/src/cli/help.test.ts +93 -0
  33. package/src/cli/index.ts +332 -184
  34. package/src/cli/placement-engine.test.ts +194 -0
  35. package/src/cli/tarball-parity.test.ts +44 -0
  36. package/src/cli/template-format.test.ts +64 -0
  37. package/src/cli/template-ledger.test.ts +219 -0
  38. package/src/surfaces.ts +78 -43
  39. package/src/tokens/index.ts +6 -0
  40. /package/bin/{basalt.mjs → basalt-ui.mjs} +0 -0
@@ -19,7 +19,8 @@
19
19
  "basalt/no-raw-font-size": "error",
20
20
  "basalt/card-inset": "error",
21
21
  "basalt/chart-in-raw-surface": "error",
22
- "basalt/raw-scroll-container": "off"
22
+ "basalt/raw-scroll-container": "off",
23
+ "basalt/import-boundary": "error"
23
24
  },
24
25
  "overrides": [
25
26
  {
@@ -33,80 +34,10 @@
33
34
  "name": "antd",
34
35
  "message": "Use Mantine — antd is not part of the basalt-ui stack."
35
36
  },
36
- {
37
- "name": "@visx/tooltip",
38
- "message": "Use ChartTooltip + TooltipHeader/Row/Body from basalt-ui charts primitives."
39
- },
40
37
  {
41
38
  "name": "framer-motion",
42
39
  "message": "Import from 'motion/react', not the raw framer-motion package."
43
40
  }
44
- ],
45
- "patterns": [
46
- {
47
- "group": ["@visx/*"],
48
- "message": "Direct @visx/* imports are only allowed inside the charts boundary (**/charts/**)."
49
- }
50
- ]
51
- }
52
- ]
53
- }
54
- },
55
- {
56
- "files": ["**/charts/**"],
57
- "rules": {
58
- "no-restricted-imports": [
59
- "error",
60
- {
61
- "paths": [
62
- {
63
- "name": "@mantine/core",
64
- "message": "charts must be Mantine-free — no Mantine imports allowed."
65
- },
66
- {
67
- "name": "@mantine/hooks",
68
- "message": "charts must be Mantine-free — no Mantine imports allowed."
69
- },
70
- {
71
- "name": "@visx/tooltip",
72
- "message": "Use ChartTooltip + TooltipHeader/Row/Body from basalt-ui charts primitives."
73
- }
74
- ],
75
- "patterns": [
76
- {
77
- "group": ["@mantine/*"],
78
- "message": "charts must be Mantine-free — no Mantine imports allowed."
79
- }
80
- ]
81
- }
82
- ]
83
- }
84
- },
85
- {
86
- "files": ["**/tokens/**"],
87
- "rules": {
88
- "no-restricted-imports": [
89
- "error",
90
- {
91
- "paths": [
92
- {
93
- "name": "@mantine/core",
94
- "message": "tokens must be Mantine-free — no Mantine imports allowed."
95
- },
96
- {
97
- "name": "@mantine/hooks",
98
- "message": "tokens must be Mantine-free — no Mantine imports allowed."
99
- }
100
- ],
101
- "patterns": [
102
- {
103
- "group": ["@mantine/*"],
104
- "message": "tokens must be Mantine-free — no Mantine imports allowed."
105
- },
106
- {
107
- "group": ["@visx/*"],
108
- "message": "Direct @visx/* imports are only allowed inside the charts boundary (**/charts/**)."
109
- }
110
41
  ]
111
42
  }
112
43
  ]
@@ -1,7 +1,7 @@
1
- import { RULE_NAMES } from '../surfaces.js';
1
+ import { RULE_NAMES, SKILL_NAMES } from '../surfaces.js';
2
2
  /** Shape of the optional `"basalt"` key in a consumer's package.json. */
3
3
  export type BasaltConfig = {
4
- /** Source roots to scan. Default: argo's `['apps/dashboard/src', 'packages/charts/src']`. */
4
+ /** Source roots to scan. Default: `['src']`. Set explicitly for a monorepo layout. */
5
5
  roots?: string[];
6
6
  /** Files exempt from the scan (they ARE the palette source). Default: argo's exempt set. */
7
7
  exempt?: string[];
@@ -96,13 +96,8 @@ export type BasaltConfig = {
96
96
  * `sub-16-input-font` check.
97
97
  */
98
98
  sub16InputFont?: boolean;
99
- /** Path of the consumer's guard-exempt series file, for DESIGN.md `{{SERIES_MODULE_PATH}}`. Default: `src/theme/series.ts`. */
99
+ /** Path of the consumer's guard-exempt series file, for DESIGN.md `{{SERIES_MODULE_PATH}}`. Default: `src/lib/series.ts`. */
100
100
  seriesModulePath?: string;
101
- /** Claude Code marketplace coordinates for the settings stanza `{{MARKETPLACE_OWNER}}/{{MARKETPLACE_REPO}}`. Default: `jkrumm/basalt-ui`. */
102
- marketplace?: {
103
- owner?: string;
104
- repo?: string;
105
- };
106
101
  };
107
102
  /**
108
103
  * Theme guard — thin FS walker over the headless `../guard` core. Reads BasaltConfig, builds a
@@ -111,21 +106,36 @@ export type BasaltConfig = {
111
106
  */
112
107
  export declare function checkTheme(cwd?: string): number;
113
108
  /**
114
- * How a managed file is reconciled with its shipped source.
109
+ * How a file the framework writes into a consumer repo is owned. Two modes, one question:
110
+ * **does Claude read this file?**
115
111
  *
116
- * - `copy` : verbatim asset. init skips if the dest already exists; sync three-way reconciles it.
117
- * - `block` : a `<!-- basalt:begin -->…<!-- basalt:end -->` region inside a host file (CLAUDE.md).
118
- * The rest of the host file is owned by the consumer; only the block is managed.
119
- * - `seed` : written once if absent, then owned entirely by the consumer. sync never overwrites it
120
- * and never reports drift (it is a starting point, not a managed mirror).
112
+ * - `managed` : basalt owns it. sync refreshes it to the shipped version; a local edit is skipped
113
+ * and reported (`--force` overwrites); `--check` exits 1 on drift. Applies to exactly
114
+ * what Claude reads (.claude/rules/*, .claude/skills/*, the CLAUDE.md block) —
115
+ * Claude Code cannot load rules or skills from node_modules, and that platform limit
116
+ * is the only reason anything is copied at all. The sync diff is the review gate.
117
+ * - `seed` : written once if absent, then owned entirely by the consumer. sync never overwrites
118
+ * it and never reports drift (a starting point, not a managed mirror). Everything a
119
+ * machine reads is a seed, and a good seed's content is a REFERENCE (`extends` into
120
+ * node_modules/basalt-ui/configs/*), not a copy, so the toolchain auto-updates with
121
+ * the package while the consumer still owns the file.
122
+ *
123
+ * A managed file with `markers: true` is spliced as a `<!-- basalt:begin -->…<!-- basalt:end -->`
124
+ * region inside a host file the consumer otherwise owns (CLAUDE.md) — not a third mode, just
125
+ * managed ownership scoped to a region.
121
126
  */
122
- type Strategy = 'copy' | 'block' | 'seed';
127
+ type Mode = 'managed' | 'seed';
123
128
  /** A single file the framework writes into a consumer repo. */
124
129
  type ManagedFile = {
125
130
  /** Path of the produced file, relative to the consumer repo root. Stable manifest key. */
126
131
  dest: string;
127
- /** Reconciliation strategy. */
128
- strategy: Strategy;
132
+ /** Ownership mode. */
133
+ mode: Mode;
134
+ /**
135
+ * `managed` only: the file is a marker-delimited region spliced into a consumer-owned host file
136
+ * rather than a whole file. `render()` returns the region INCLUDING its begin/end markers.
137
+ */
138
+ markers?: true;
129
139
  /** Path of the shipped source asset, relative to the package root. */
130
140
  source: string;
131
141
  /**
@@ -150,8 +160,6 @@ type TemplateVars = {
150
160
  BASALT_VERSION: string;
151
161
  ACCENT_HUE: string;
152
162
  SERIES_MODULE_PATH: string;
153
- MARKETPLACE_OWNER: string;
154
- MARKETPLACE_REPO: string;
155
163
  };
156
164
  declare const MANIFEST_PATH = ".basalt/manifest.json";
157
165
  /**
@@ -171,9 +179,33 @@ type PeerFlags = {
171
179
  declare function managedFiles(peers: PeerFlags): ManagedFile[];
172
180
  type Manifest = {
173
181
  version: 1;
182
+ /** The basalt-ui version that last wrote this manifest — `doctor`'s one reconciliation axis. */
183
+ basaltVersion?: string;
174
184
  /** dest path → sha256 of the managed unit (file bytes, block body, or stanza) at last write. */
175
185
  files: Record<string, string>;
176
186
  };
187
+ /**
188
+ * Normalize a managed unit's rendered bytes for the ledger comparison below — makes a delta that is
189
+ * PURELY formatting or a version bump invisible to drift detection, while a real prose/content edit
190
+ * stays fully visible:
191
+ *
192
+ * - Blank out the per-release `BASALT_VERSION` token in a marker's begin line
193
+ * (`<!-- basalt:begin 1.0.1 -->` → `<!-- basalt:begin -->`). It changes on every release and is
194
+ * the only per-release variable that lands INSIDE the hashed region (the rest of
195
+ * `CLAUDE-block.md.tpl` has no other `{{…}}` placeholders today), so stripping it is what lets
196
+ * one normalized rendering stand in for every version of a given template body instead of
197
+ * needing one ledger entry per release. If a future marker template interpolates another
198
+ * per-release var inside its region, extend this normalization the same way.
199
+ * - Trim trailing whitespace per line and collapse every run of blank lines to none. This is the
200
+ * fix for the actual argo repro: lefthook's oxfmt reformats a spliced block (or a whole managed
201
+ * file) AFTER `writeUnit` has already exited and the manifest hash was recorded, so the manifest
202
+ * can never account for the reformat up front — normalizing it away here is the only place that
203
+ * can.
204
+ *
205
+ * Deliberately whitespace-only — word content is untouched, so a genuine hand-edit inside the block
206
+ * still changes the normalized text and still classifies `drifted`.
207
+ */
208
+ declare function normalizeForLedger(text: string): string;
177
209
  /** Scaffold all managed files into the consumer repo, then write the manifest. Idempotent. Returns 0. */
178
210
  export declare function init(cwd?: string, scaffoldFlags?: ScaffoldFlags): number;
179
211
  type SyncOptions = {
@@ -195,18 +227,20 @@ export declare function sync(opts?: SyncOptions, cwd?: string): number;
195
227
  * Eight assertions:
196
228
  * 1. Every doctrine spec's guardKinds ⊆ keyof GUARD_RULES.
197
229
  * 2. Every doctrine rule (deduped) maps to agent/rules/basalt-{rule}.md on disk.
198
- * 3. Deduped union of doctrine skill[] ⊆ plugin.json skills.
230
+ * 3. Every doctrine skill (deduped) maps to agent/skills/{skill}/SKILL.md on disk.
199
231
  * 4. Every non-#, non-'.' JS-subpath SURFACES key has a package.json exports entry.
200
232
  * 5. Every real package.json exports key has a SURFACES entry.
201
233
  * 6. Every surface with non-empty forbiddenImports has a globs field.
202
- * 7. Every headless surface carries all 3 Mantine bans (Mantine-free boundary).
234
+ * 7. Every headless surface is Mantine-free — via all 3 `forbiddenImports` bans, OR (for
235
+ * `MANTINE_FREE_VIA_IMPORT_BOUNDARY` members) the `basalt/import-boundary` plugin rule actually
236
+ * registered as `'error'` in the shipped config.
203
237
  * 8. Every doctrine optionalPeers entry exists in peerDependencies AND peerDependenciesMeta.
204
238
  *
205
239
  * Tooling surfaces are exempt from assertions 1–3 by the discriminant.
206
240
  * Synthetic #-keys participate in assertions 1 and 2 but feed assertion 3 only
207
241
  * via the deduped skill union (no independent per-#-surface skill row).
208
242
  */
209
- export declare function checkCoverage(cwd?: string): number;
243
+ export declare function checkCoverage(): number;
210
244
  type DoctorResult = {
211
245
  /** Number of hard failures (exit non-zero). */
212
246
  hardFailures: number;
@@ -216,15 +250,20 @@ type DoctorResult = {
216
250
  /**
217
251
  * Check a consumer repo's basalt integration and print a pass/warn report.
218
252
  *
253
+ * With the plugin retired there is exactly ONE version axis — the npm package — so doctor verifies
254
+ * one thing: the basalt-ui resolved in the consumer's node_modules against the version recorded in
255
+ * .basalt/manifest.json at the last init/sync. File-level drift is `sync --check`'s job, not
256
+ * doctor's.
257
+ *
219
258
  * Hard failures (exit non-zero):
220
259
  * 1. .basalt/manifest.json exists (init was run).
221
260
  *
222
261
  * Warnings (non-fatal):
223
- * 2. CLAUDE.md contains the basalt managed block (<!-- basalt:begin marker).
224
- * 3. All 12 basalt-*.md rule files exist under .claude/rules/.
225
- * 4. The basalt plugin appears to be installed (best-effort ~/.claude/settings.json check).
226
- * 5. The running CLI's own version matches the basalt-ui version resolved in the consumer's
227
- * node_modules (catches a stale `bunx basalt` npm fetch; best-effort, skipped if absent).
262
+ * 2. The installed node_modules/basalt-ui version matches the manifest's basaltVersion
263
+ * (a mismatch means the package was upgraded but `sync` never ran — the placed doctrine is
264
+ * stale).
265
+ * 3. The running CLI's own version matches the installed basalt-ui (catches a stale
266
+ * `bunx basalt-ui` npm fetch; best-effort, skipped if node_modules is absent).
228
267
  *
229
268
  * Returns the exit code: 0 = all good, 1 = one or more hard failures.
230
269
  */
@@ -265,9 +304,13 @@ export declare function guardHook(cwd?: string): Promise<number>;
265
304
  * entry is the ONLY caller that translates this to process.exit, so init/sync/checkTheme stay free
266
305
  * of process side effects and are safe to import and call from tests.
267
306
  *
307
+ * `--help` / `-h` (on ANY subcommand) and the bare `help` command short-circuit BEFORE dispatch —
308
+ * checked first, so a mutating command (`sync`, `init`) never runs just because the caller only
309
+ * asked to read about it.
310
+ *
268
311
  * The `guard-hook` subcommand is async (reads stdin); all others are synchronous.
269
312
  */
270
313
  export declare function run(argv: string[], cwd?: string): number | Promise<number>;
271
- export { managedFiles, MANIFEST_PATH, RULE_NAMES };
314
+ export { managedFiles, MANIFEST_PATH, normalizeForLedger, RULE_NAMES, SKILL_NAMES };
272
315
  export type { ManagedFile, Manifest, SyncOptions, DoctorResult };
273
316
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"AAqCA,OAAO,EAAE,UAAU,EAAY,MAAM,aAAa,CAAA;AAGlD,yEAAyE;AACzE,MAAM,MAAM,YAAY,GAAG;IACzB,6FAA6F;IAC7F,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;IAChB,4FAA4F;IAC5F,M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