command-code 1.91.0 → 1.92.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/bundled/command-code-knowledge/reference/custom-agents.md +1 -1
  3. package/dist/bundled/command-code-knowledge/reference/models.md +1 -0
  4. package/dist/bundled/command-code-knowledge/reference/product-help.md +1 -0
  5. package/dist/bundled/config/references/settings.md +1 -0
  6. package/dist/bundled/design/SKILL.md +25 -7
  7. package/dist/bundled/design/references/checkup.md +2 -2
  8. package/dist/bundled/design/references/color.md +10 -0
  9. package/dist/bundled/design/references/create.md +4 -0
  10. package/dist/bundled/design/references/design-html.md +3 -1
  11. package/dist/bundled/design/references/deslop.md +89 -15
  12. package/dist/bundled/design/references/finish.md +1 -1
  13. package/dist/bundled/design/references/media.md +112 -0
  14. package/dist/bundled/design/references/redesign.md +11 -0
  15. package/dist/bundled/design/references/relayout.md +11 -1
  16. package/dist/bundled/design/references/smell.md +5 -1
  17. package/dist/bundled/design/references/style-3d.md +23 -0
  18. package/dist/bundled/design/references/style-bento.md +21 -0
  19. package/dist/bundled/design/references/style-editorial.md +23 -0
  20. package/dist/bundled/design/references/style-futuristic.md +21 -0
  21. package/dist/bundled/design/references/style-glassmorphism.md +52 -0
  22. package/dist/bundled/design/references/style-maximalism.md +20 -0
  23. package/dist/bundled/design/references/style-minimalism.md +21 -0
  24. package/dist/bundled/design/references/style-neo-brutalism.md +21 -0
  25. package/dist/bundled/design/references/style-retro-futurism.md +21 -0
  26. package/dist/bundled/design/references/style-swiss.md +20 -0
  27. package/dist/bundled/design/references/style.md +77 -0
  28. package/dist/bundled/design/references/system.md +73 -0
  29. package/dist/bundled/design/references/typeset.md +10 -0
  30. package/dist/bundled/design/references/variants.md +193 -0
  31. package/dist/bundled/design/references/voice.md +2 -1
  32. package/dist/cli.mjs +5 -5
  33. package/package.json +1 -1
  34. package/vsix/commandcode-vscode.vsix +0 -0
  35. package/dist/bundled/design/references/tokenize.md +0 -124
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "command-code",
3
- "version": "1.91.0",
3
+ "version": "1.92.0",
4
4
  "description": "Command Code, coding agent that continuously learns your coding taste. Best coding agent for open models.",
5
5
  "type": "module",
6
6
  "engines": {
Binary file
@@ -1,124 +0,0 @@
1
- # Design System: Tokenize `/design tokenize`
2
-
3
- Tokenize turns repeated design decisions into shared language. I extract what has proven itself. I do not invent a system because one component happened to look reusable.
4
-
5
- Consolidation, not invention.
6
-
7
- ---
8
-
9
- ## Composition Tokens
10
-
11
- I tokenize composition only after I understand the work pattern it serves.
12
-
13
- Monitor tokens include status strips, alert rows, metric clusters, feed items, and drill-down panels.
14
-
15
- Operate tokens include command bars, tool groups, canvases, inspectors, selection states, and feedback surfaces.
16
-
17
- Compare tokens include tables, matrices, pinned headers, row actions, bulk controls, and ranking patterns.
18
-
19
- Configure tokens include field groups, dependency notes, previews, summaries, and commit bars.
20
-
21
- Learn tokens include article sections, progress markers, examples, walkthrough cards, and completion states.
22
-
23
- Decide tokens include proof blocks, risk notes, trust markers, and primary action zones.
24
-
25
- Explore tokens include filters, chips, result rows, maps, galleries, and detail drawers.
26
-
27
- I do not extract a repeated centered-card composition unless it is genuinely the product's language.
28
-
29
- ---
30
-
31
- ## Extraction Bar
32
-
33
- `/design tokenize` changes the implementation. It is not a naming wishlist.
34
-
35
- At minimum, I identify repeated decisions, create or update the reusable tokens/components that belong in the project, migrate at least one real usage when safe, and verify the old behavior still works.
36
-
37
- If I only list suggested tokens or component names, tokenizing failed unless the user explicitly asked for planning only.
38
-
39
- ---
40
-
41
- ## When I Tokenize
42
-
43
- I need repetition with the same intent.
44
-
45
- Three repeated components with the same job. Several hard-coded values that mean the same thing. Multiple versions of one control drifting apart. A repeated composition pattern. A repeated behavior, animation, typography style, or state treatment.
46
-
47
- Similarity is not enough. Two things that look alike but serve different purposes may need to stay separate.
48
-
49
- ---
50
-
51
- ## What I Look For
52
-
53
- **Components**: buttons, cards, inputs, modals, rows, badges, tabs, dropdowns, empty states, form fields.
54
-
55
- **Tokens**: color roles, spacing roles, radii, shadows, type styles, motion timing, z layers.
56
-
57
- **Compositions**: toolbar groups, form rows, page shells, list-detail layouts, table headers, onboarding empties.
58
-
59
- **Behavior**: loading patterns, disclosure, keyboard handling, validation, drag, selection, overlay logic.
60
-
61
- The best candidates reduce future decisions without hiding important variation.
62
-
63
- ---
64
-
65
- ## Naming
66
-
67
- I name by meaning, not value.
68
-
69
- Primary action, danger text, panel border, section gap, input radius, tooltip layer. These names survive value changes. Names like blue-500 or spacing-16 only help when they are primitives in a larger system.
70
-
71
- Semantic names belong where components consume them. Primitive names belong deeper in the foundation.
72
-
73
- ---
74
-
75
- ## Component Extraction
76
-
77
- I extract the smallest useful API.
78
-
79
- The component should match existing project conventions, support the states already needed, keep accessibility built in, and avoid prop sprawl. Variants come from real use, not imagination.
80
-
81
- I migrate carefully. Old behavior must survive. Visual regressions are not acceptable payment for abstraction.
82
-
83
- ---
84
-
85
- ## Token Extraction
86
-
87
- Values become tokens when they represent a reusable decision.
88
-
89
- One-off values can stay local. Repeated values with the same meaning become tokens. Repeated values with different meanings should not share a token just because the number matches.
90
-
91
- The goal is fewer arbitrary choices in future work.
92
-
93
- ---
94
-
95
- ## What I Refuse
96
-
97
- - Extracting before a pattern is proven
98
- - Listing token ideas without applying them
99
- - Creating unused tokens or components
100
- - Creating a generic component so flexible it means nothing
101
- - Tokenizing every number
102
- - Replacing clear local code with opaque abstraction
103
- - Breaking existing APIs during migration
104
- - Ignoring accessibility in extracted controls
105
- - Creating documentation files as part of tokenizing
106
- - Markdown reports
107
-
108
- ---
109
-
110
- ## How I Know Tokenize Worked
111
-
112
- - Tokens or components are actually used by real UI
113
- - Unused abstractions were not introduced
114
- - Repetition is reduced without losing intent
115
- - Names explain roles
116
- - Components match project conventions
117
- - States and accessibility are preserved
118
- - Old duplicate code is removed only after migration is complete
119
- - Future screens have fewer arbitrary design decisions to make
120
-
121
- STRICT RULE — NEVER BREAK THIS
122
- Do not create report.md, any kind of report, summary, analysis file,
123
- or extra documentation. This applies every time this file is used.
124
- Generate no reports unless explicitly asked.