spirewise 1.7.1 → 1.8.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 (210) hide show
  1. package/README.md +0 -15
  2. package/bin/cli.js +65 -37
  3. package/install.sh +3 -3
  4. package/package.json +2 -4
  5. package/skills/README.md +0 -1
  6. package/skills/ai-agent-os-design-system/README.md +105 -0
  7. package/skills/ai-agent-os-design-system/SKILL.md +195 -0
  8. package/skills/ai-agent-os-design-system/accessibility-system.md +67 -0
  9. package/skills/ai-agent-os-design-system/color-system.md +102 -0
  10. package/skills/ai-agent-os-design-system/component-library.md +147 -0
  11. package/skills/ai-agent-os-design-system/design-principles.md +79 -0
  12. package/skills/ai-agent-os-design-system/example-page-structures.md +93 -0
  13. package/skills/ai-agent-os-design-system/layout-system.md +74 -0
  14. package/skills/ai-agent-os-design-system/motion-system.md +85 -0
  15. package/skills/ai-agent-os-design-system/spacing-system.md +87 -0
  16. package/skills/ai-agent-os-design-system/typography-system.md +91 -0
  17. package/skills/ai-agent-os-design-system/website-generation-rules.md +192 -0
  18. package/skills/ai-dark-futuristic-design-system/README.md +91 -0
  19. package/skills/ai-dark-futuristic-design-system/SKILL.md +179 -0
  20. package/skills/ai-dark-futuristic-design-system/accessibility-system.md +61 -0
  21. package/skills/ai-dark-futuristic-design-system/color-system.md +99 -0
  22. package/skills/ai-dark-futuristic-design-system/component-library.md +140 -0
  23. package/skills/ai-dark-futuristic-design-system/design-principles.md +66 -0
  24. package/skills/ai-dark-futuristic-design-system/example-page-structures.md +124 -0
  25. package/skills/ai-dark-futuristic-design-system/layout-system.md +85 -0
  26. package/skills/ai-dark-futuristic-design-system/motion-system.md +76 -0
  27. package/skills/ai-dark-futuristic-design-system/spacing-system.md +73 -0
  28. package/skills/ai-dark-futuristic-design-system/typography-system.md +89 -0
  29. package/skills/ai-dark-futuristic-design-system/website-generation-rules.md +220 -0
  30. package/skills/apple-premium-minimal-design-system/README.md +95 -0
  31. package/skills/apple-premium-minimal-design-system/SKILL.md +166 -0
  32. package/skills/apple-premium-minimal-design-system/accessibility-system.md +60 -0
  33. package/skills/apple-premium-minimal-design-system/color-system.md +100 -0
  34. package/skills/apple-premium-minimal-design-system/component-library.md +136 -0
  35. package/skills/apple-premium-minimal-design-system/design-principles.md +65 -0
  36. package/skills/apple-premium-minimal-design-system/example-page-structures.md +90 -0
  37. package/skills/apple-premium-minimal-design-system/layout-system.md +89 -0
  38. package/skills/apple-premium-minimal-design-system/motion-system.md +75 -0
  39. package/skills/apple-premium-minimal-design-system/spacing-system.md +73 -0
  40. package/skills/apple-premium-minimal-design-system/typography-system.md +86 -0
  41. package/skills/apple-premium-minimal-design-system/website-generation-rules.md +207 -0
  42. package/skills/bento-grid-design-system/README.md +97 -0
  43. package/skills/bento-grid-design-system/SKILL.md +185 -0
  44. package/skills/bento-grid-design-system/accessibility-system.md +54 -0
  45. package/skills/bento-grid-design-system/color-system.md +98 -0
  46. package/skills/bento-grid-design-system/component-library.md +138 -0
  47. package/skills/bento-grid-design-system/design-principles.md +72 -0
  48. package/skills/bento-grid-design-system/example-page-structures.md +91 -0
  49. package/skills/bento-grid-design-system/layout-system.md +93 -0
  50. package/skills/bento-grid-design-system/motion-system.md +81 -0
  51. package/skills/bento-grid-design-system/spacing-system.md +77 -0
  52. package/skills/bento-grid-design-system/typography-system.md +85 -0
  53. package/skills/bento-grid-design-system/website-generation-rules.md +193 -0
  54. package/skills/brutalist-tech-design-system/README.md +100 -0
  55. package/skills/brutalist-tech-design-system/SKILL.md +185 -0
  56. package/skills/brutalist-tech-design-system/accessibility-system.md +61 -0
  57. package/skills/brutalist-tech-design-system/color-system.md +101 -0
  58. package/skills/brutalist-tech-design-system/component-library.md +117 -0
  59. package/skills/brutalist-tech-design-system/design-principles.md +73 -0
  60. package/skills/brutalist-tech-design-system/example-page-structures.md +92 -0
  61. package/skills/brutalist-tech-design-system/layout-system.md +74 -0
  62. package/skills/brutalist-tech-design-system/motion-system.md +80 -0
  63. package/skills/brutalist-tech-design-system/spacing-system.md +86 -0
  64. package/skills/brutalist-tech-design-system/typography-system.md +94 -0
  65. package/skills/brutalist-tech-design-system/website-generation-rules.md +195 -0
  66. package/skills/crunchbase-profile-generator/README.md +64 -0
  67. package/skills/crunchbase-profile-generator/SKILL.md +189 -0
  68. package/skills/editorial-luxury-design-system/README.md +98 -0
  69. package/skills/editorial-luxury-design-system/SKILL.md +187 -0
  70. package/skills/editorial-luxury-design-system/accessibility-system.md +63 -0
  71. package/skills/editorial-luxury-design-system/color-system.md +95 -0
  72. package/skills/editorial-luxury-design-system/component-library.md +131 -0
  73. package/skills/editorial-luxury-design-system/design-principles.md +77 -0
  74. package/skills/editorial-luxury-design-system/example-page-structures.md +94 -0
  75. package/skills/editorial-luxury-design-system/layout-system.md +80 -0
  76. package/skills/editorial-luxury-design-system/motion-system.md +82 -0
  77. package/skills/editorial-luxury-design-system/spacing-system.md +77 -0
  78. package/skills/editorial-luxury-design-system/typography-system.md +107 -0
  79. package/skills/editorial-luxury-design-system/website-generation-rules.md +194 -0
  80. package/skills/enterprise-data-viz-design-system/README.md +98 -0
  81. package/skills/enterprise-data-viz-design-system/SKILL.md +195 -0
  82. package/skills/enterprise-data-viz-design-system/accessibility-system.md +68 -0
  83. package/skills/enterprise-data-viz-design-system/color-system.md +112 -0
  84. package/skills/enterprise-data-viz-design-system/component-library.md +142 -0
  85. package/skills/enterprise-data-viz-design-system/design-principles.md +75 -0
  86. package/skills/enterprise-data-viz-design-system/example-page-structures.md +89 -0
  87. package/skills/enterprise-data-viz-design-system/layout-system.md +75 -0
  88. package/skills/enterprise-data-viz-design-system/motion-system.md +86 -0
  89. package/skills/enterprise-data-viz-design-system/spacing-system.md +85 -0
  90. package/skills/enterprise-data-viz-design-system/typography-system.md +100 -0
  91. package/skills/enterprise-data-viz-design-system/website-generation-rules.md +196 -0
  92. package/skills/f6s-copywriting/README.md +16 -6
  93. package/skills/f6s-copywriting/SKILL.md +162 -46
  94. package/skills/glassmorphism-design-system/README.md +98 -0
  95. package/skills/glassmorphism-design-system/SKILL.md +190 -0
  96. package/skills/glassmorphism-design-system/accessibility-system.md +62 -0
  97. package/skills/glassmorphism-design-system/color-system.md +128 -0
  98. package/skills/glassmorphism-design-system/component-library.md +120 -0
  99. package/skills/glassmorphism-design-system/design-principles.md +77 -0
  100. package/skills/glassmorphism-design-system/example-page-structures.md +92 -0
  101. package/skills/glassmorphism-design-system/layout-system.md +81 -0
  102. package/skills/glassmorphism-design-system/motion-system.md +86 -0
  103. package/skills/glassmorphism-design-system/spacing-system.md +73 -0
  104. package/skills/glassmorphism-design-system/typography-system.md +90 -0
  105. package/skills/glassmorphism-design-system/website-generation-rules.md +195 -0
  106. package/skills/linkedin-copywriting/README.md +15 -8
  107. package/skills/linkedin-copywriting/SKILL.md +129 -51
  108. package/skills/motion-storytelling-design-system/README.md +100 -0
  109. package/skills/motion-storytelling-design-system/SKILL.md +191 -0
  110. package/skills/motion-storytelling-design-system/accessibility-system.md +71 -0
  111. package/skills/motion-storytelling-design-system/color-system.md +101 -0
  112. package/skills/motion-storytelling-design-system/component-library.md +122 -0
  113. package/skills/motion-storytelling-design-system/design-principles.md +81 -0
  114. package/skills/motion-storytelling-design-system/example-page-structures.md +91 -0
  115. package/skills/motion-storytelling-design-system/layout-system.md +79 -0
  116. package/skills/motion-storytelling-design-system/motion-system.md +116 -0
  117. package/skills/motion-storytelling-design-system/spacing-system.md +83 -0
  118. package/skills/motion-storytelling-design-system/typography-system.md +89 -0
  119. package/skills/motion-storytelling-design-system/website-generation-rules.md +200 -0
  120. package/skills/nvidia-inception-idea-booster/README.md +43 -24
  121. package/skills/nvidia-inception-idea-booster/SKILL.md +260 -116
  122. package/skills/nvidia-inception-starter/README.md +6 -5
  123. package/skills/nvidia-inception-starter/SKILL.md +80 -43
  124. package/skills/nvidia-product-inventor/README.md +44 -40
  125. package/skills/nvidia-product-inventor/SKILL.md +265 -247
  126. package/skills/nvidia-startup-idea-founder/README.md +66 -26
  127. package/skills/nvidia-startup-idea-founder/SKILL.md +245 -189
  128. package/skills/product-demo-first-design-system/README.md +96 -0
  129. package/skills/product-demo-first-design-system/SKILL.md +185 -0
  130. package/skills/product-demo-first-design-system/accessibility-system.md +58 -0
  131. package/skills/product-demo-first-design-system/color-system.md +109 -0
  132. package/skills/product-demo-first-design-system/component-library.md +142 -0
  133. package/skills/product-demo-first-design-system/design-principles.md +66 -0
  134. package/skills/product-demo-first-design-system/example-page-structures.md +95 -0
  135. package/skills/product-demo-first-design-system/layout-system.md +76 -0
  136. package/skills/product-demo-first-design-system/motion-system.md +82 -0
  137. package/skills/product-demo-first-design-system/spacing-system.md +74 -0
  138. package/skills/product-demo-first-design-system/typography-system.md +87 -0
  139. package/skills/product-demo-first-design-system/website-generation-rules.md +194 -0
  140. package/skills/website-design-skills/01-proof/README.md +0 -47
  141. package/skills/website-design-skills/01-proof/SKILL.md +0 -303
  142. package/skills/website-design-skills/02-kajabi/README.md +0 -42
  143. package/skills/website-design-skills/02-kajabi/SKILL.md +0 -272
  144. package/skills/website-design-skills/03-lattice/README.md +0 -42
  145. package/skills/website-design-skills/03-lattice/SKILL.md +0 -271
  146. package/skills/website-design-skills/04-petal/README.md +0 -42
  147. package/skills/website-design-skills/04-petal/SKILL.md +0 -271
  148. package/skills/website-design-skills/05-dropbox-sign/README.md +0 -42
  149. package/skills/website-design-skills/05-dropbox-sign/SKILL.md +0 -271
  150. package/skills/website-design-skills/06-distributional/README.md +0 -42
  151. package/skills/website-design-skills/06-distributional/SKILL.md +0 -271
  152. package/skills/website-design-skills/07-appcues/README.md +0 -42
  153. package/skills/website-design-skills/07-appcues/SKILL.md +0 -271
  154. package/skills/website-design-skills/08-memberstack/README.md +0 -42
  155. package/skills/website-design-skills/08-memberstack/SKILL.md +0 -271
  156. package/skills/website-design-skills/09-flank/README.md +0 -42
  157. package/skills/website-design-skills/09-flank/SKILL.md +0 -275
  158. package/skills/website-design-skills/10-slidebean/README.md +0 -42
  159. package/skills/website-design-skills/10-slidebean/SKILL.md +0 -275
  160. package/skills/website-design-skills/11-formstack/README.md +0 -42
  161. package/skills/website-design-skills/11-formstack/SKILL.md +0 -275
  162. package/skills/website-design-skills/12-thalamus/README.md +0 -42
  163. package/skills/website-design-skills/12-thalamus/SKILL.md +0 -275
  164. package/skills/website-design-skills/13-grow/README.md +0 -42
  165. package/skills/website-design-skills/13-grow/SKILL.md +0 -275
  166. package/skills/website-design-skills/14-gemnote/README.md +0 -42
  167. package/skills/website-design-skills/14-gemnote/SKILL.md +0 -275
  168. package/skills/website-design-skills/15-draftbit/README.md +0 -42
  169. package/skills/website-design-skills/15-draftbit/SKILL.md +0 -275
  170. package/skills/website-design-skills/16-payman/README.md +0 -42
  171. package/skills/website-design-skills/16-payman/SKILL.md +0 -273
  172. package/skills/website-design-skills/17-effortel/README.md +0 -42
  173. package/skills/website-design-skills/17-effortel/SKILL.md +0 -272
  174. package/skills/website-design-skills/18-adopt/README.md +0 -42
  175. package/skills/website-design-skills/18-adopt/SKILL.md +0 -273
  176. package/skills/website-design-skills/19-kraftful/README.md +0 -42
  177. package/skills/website-design-skills/19-kraftful/SKILL.md +0 -273
  178. package/skills/website-design-skills/20-greenhouse/README.md +0 -42
  179. package/skills/website-design-skills/20-greenhouse/SKILL.md +0 -273
  180. package/skills/website-design-skills/21-weavy/README.md +0 -42
  181. package/skills/website-design-skills/21-weavy/SKILL.md +0 -273
  182. package/skills/website-design-skills/22-safetykit/README.md +0 -42
  183. package/skills/website-design-skills/22-safetykit/SKILL.md +0 -273
  184. package/skills/website-design-skills/23-modulify/README.md +0 -42
  185. package/skills/website-design-skills/23-modulify/SKILL.md +0 -270
  186. package/skills/website-design-skills/24-realm/README.md +0 -42
  187. package/skills/website-design-skills/24-realm/SKILL.md +0 -270
  188. package/skills/website-design-skills/25-modyfi/README.md +0 -42
  189. package/skills/website-design-skills/25-modyfi/SKILL.md +0 -269
  190. package/skills/website-design-skills/26-altitude/README.md +0 -42
  191. package/skills/website-design-skills/26-altitude/SKILL.md +0 -270
  192. package/skills/website-design-skills/27-way/README.md +0 -42
  193. package/skills/website-design-skills/27-way/SKILL.md +0 -270
  194. package/skills/website-design-skills/28-zentail/README.md +0 -42
  195. package/skills/website-design-skills/28-zentail/SKILL.md +0 -270
  196. package/skills/website-design-skills/29-zams/README.md +0 -42
  197. package/skills/website-design-skills/29-zams/SKILL.md +0 -270
  198. package/skills/website-design-skills/30-user-interviews/README.md +0 -44
  199. package/skills/website-design-skills/30-user-interviews/SKILL.md +0 -273
  200. package/skills/website-design-skills/31-bland/README.md +0 -44
  201. package/skills/website-design-skills/31-bland/SKILL.md +0 -273
  202. package/skills/website-design-skills/32-nauto/README.md +0 -44
  203. package/skills/website-design-skills/32-nauto/SKILL.md +0 -273
  204. package/skills/website-design-skills/33-bill/README.md +0 -44
  205. package/skills/website-design-skills/33-bill/SKILL.md +0 -273
  206. package/skills/website-design-skills/34-localyzer/README.md +0 -44
  207. package/skills/website-design-skills/34-localyzer/SKILL.md +0 -273
  208. package/skills/website-design-skills/35-jasper/README.md +0 -44
  209. package/skills/website-design-skills/35-jasper/SKILL.md +0 -273
  210. package/skills/website-design-skills/README.md +0 -108
@@ -0,0 +1,67 @@
1
+ # Accessibility System — AI Agent Operating System
2
+
3
+ Agent UIs add specific a11y demands: **graphs/timelines** can hide structure, **status** is
4
+ often color-only, **streaming logs** can spam screen readers, and the **command palette** is a
5
+ complex widget. This system bakes WCAG 2.1 AA into the agent-OS craft.
6
+
7
+ ## Agent visuals (graphs / timelines / traces)
8
+ - **Every graph/timeline/trace has a text equivalent.** Provide an ordered `<ol>` (steps +
9
+ dependencies + status) or `<table>` of the run, referenced via `aria-describedby`, plus a
10
+ concise `aria-label`/summary ("4-step run: classify → retrieve → draft → send; succeeded").
11
+ **Prefer building the Run Timeline as a real `<ol>`** — it's accessible by construction.
12
+ - **Agent Graph (SVG):** `role="img"` + `aria-label` + a described text list; nodes that are
13
+ interactive are real `<button>`/`<a>` (focusable, keyboard-operable) that open the Inspector,
14
+ with `aria-describedby` to their detail. Don't ship a graph whose only representation is pixels.
15
+ - **Status is never color-only.** Every status = color **+ icon/shape + text label** (the Status
16
+ Chip). A grayscale view must still convey state.
17
+ - **Contrast:** node/edge/timeline marks ≥ 3:1 from background and adjacent; status text/icons AA.
18
+
19
+ ## Streaming logs / consoles (don't spam SR)
20
+ - Tool-Call Stream / Terminal use `role="log"` with **`aria-live="polite"`** (never `assertive`)
21
+ so updates are announced calmly; provide a **pause** control for streaming.
22
+ - Real, copyable text (not canvas-only); a labelled scroll region; respect reduced motion
23
+ (show full output, no typewriter loop).
24
+
25
+ ## Command Palette (complex widget — get it right)
26
+ - Open via **Cmd/Ctrl-K AND a visible button** (don't rely on the shortcut alone).
27
+ - `role="dialog"` + **focus-trap**; input is a combobox (`role="combobox"`, `aria-expanded`,
28
+ `aria-controls`); results `role="listbox"` / `role="option"` with `aria-activedescendant`;
29
+ ↑/↓ to move, Enter to run, **Esc to close**; focus returns to the trigger on close.
30
+
31
+ ## Color & contrast (UI)
32
+ - Body ≥ 4.5:1, large/UI ≥ 3:1 on the dark surfaces. The accent doubles as the active-path
33
+ color and the primary action — keep context clear (label CTAs; the path is in a graph context).
34
+ - Don't convey meaning by color alone anywhere (status, edges, deltas) — pair with icon/label/shape.
35
+
36
+ ## Focus & keyboard
37
+ - **Always-visible focus:** `:focus-visible { outline:2px solid var(--ring); outline-offset:2px }`
38
+ on every control (nodes, palette, timeline steps, tabs, accordions). No bare `outline:none`.
39
+ - Logical tab order; focusing a node/step scrolls it into view; no traps (except modal/palette
40
+ focus-trap with Esc). **Skip link** to `#main` first in DOM.
41
+
42
+ ## Semantics & structure
43
+ - One `<h1>` per page; ordered headings. Landmarks `<header><nav><main id="main"><section><footer>`.
44
+ Runs/sequences `<ol>`; quotes `<blockquote><cite>`; code `<pre><code>`; collapsibles `<details>`
45
+ or button-driven. Native over ARIA; minimal correct ARIA.
46
+
47
+ ## Motion
48
+ - Honor `prefers-reduced-motion`: run shows final/complete state, no progression replay/pulse/
49
+ typewriter/edge-flow. No essential run info conveyed only by animation.
50
+
51
+ ## Forms & controls
52
+ - Range/filters/search/inputs have programmatic `<label>`s; errors in text + `aria-describedby`;
53
+ results announced (`aria-live="polite"`) when a run/filter updates content.
54
+
55
+ ## Touch & responsive
56
+ - **Tap targets ≥ 44×44px** (nodes, palette items, timeline steps, controls); workspace stacks;
57
+ graphs simplify/scroll; consoles get a labelled scroll region; 200% zoom OK; pinch-zoom not disabled.
58
+
59
+ ## Checklist (run before finishing)
60
+ 1. Every graph/timeline/trace: text/list equivalent + `aria` summary; interactive nodes are real
61
+ focusable controls; status not color-only.
62
+ 2. Streaming logs: `role="log"` `aria-live="polite"` + pause; real copyable text.
63
+ 3. Command palette: Cmd-K **+** visible button; dialog focus-trap; combobox/listbox semantics; Esc.
64
+ 4. AA contrast for text; ≥3:1 for node/edge/status marks; meaning never color-only.
65
+ 5. Visible focus on all controls; focusing a node/step reveals it; skip link; logical order.
66
+ 6. Reduced motion → final-state run; correct semantics (ol/landmarks/details).
67
+ 7. 44px targets; workspace/graph/console reflow; 200% zoom; zoom not disabled.
@@ -0,0 +1,102 @@
1
+ # Color System — AI Agent Operating System
2
+
3
+ A calm **control-room** palette: neutral dark surfaces so the agent mechanics read clearly, a
4
+ single accent that traces the **active path**, and a disciplined **agent status** system
5
+ (running/success/error/waiting/needs-approval/blocked) plus **node/edge** tokens for graphs.
6
+ Ships **control-room dark by default**; a light theme is included. Sections separate via
7
+ surface elevation + tone — **never borders**. Override `--accent` to rebrand. Contrast: text ≥
8
+ 4.5:1, status/graph marks ≥ 3:1.
9
+
10
+ ## Tokens (`:root`) — control-room dark (default)
11
+
12
+ ```css
13
+ :root {
14
+ /* ---- Background / surfaces (neutral; mechanics pop) ---- */
15
+ --bg-base: #0a0c10; /* page */
16
+ --bg-900: #0e1116; /* section */
17
+ --bg-800: #12161d; /* alt section */
18
+ --surface-1: #141923; /* panel / card */
19
+ --surface-2: #1a212d; /* raised / hover / console header */
20
+ --surface-3: #222b3a; /* popover / input / node */
21
+ --canvas: #0b0e13; /* graph/console canvas (slightly deeper) */
22
+
23
+ /* ---- Text ---- */
24
+ --text-primary: #eef2f8;
25
+ --text-secondary: #aeb7c7;
26
+ --text-muted: #828c9e; /* log meta, labels */
27
+ --text-faint: #58616f; /* inactive nodes — non-essential */
28
+ --text-on-accent: #04121f;
29
+
30
+ /* ---- Borders / grid (panel + node/edge — NOT between sections) ---- */
31
+ --border-subtle: rgba(255,255,255,0.06);
32
+ --border-default: rgba(255,255,255,0.11); /* panel/node edges */
33
+ --grid-line: rgba(255,255,255,0.05); /* faint console grid */
34
+ --ring: #5b9dff; /* focus ring */
35
+
36
+ /* ---- Accent (the ACTIVE PATH / primary action) ---- */
37
+ --accent: #5b9dff; /* signal blue */
38
+ --accent-hover: #74acff;
39
+ --accent-press: #4a87ec;
40
+ --accent-soft: rgba(91,157,255,0.14);
41
+ --accent-glow: 0 0 0 1px var(--accent-soft), 0 0 24px rgba(91,157,255,0.25);
42
+
43
+ /* ---- AGENT STATUS (color + always paired with icon + label) ---- */
44
+ --st-queued: #828c9e; --st-queued-soft: rgba(130,140,158,0.16);
45
+ --st-running: #5b9dff; --st-running-soft: rgba(91,157,255,0.16);
46
+ --st-waiting: #38bdf8; --st-waiting-soft: rgba(56,189,248,0.16);
47
+ --st-approve: #f5a524; --st-approve-soft: rgba(245,165,36,0.16); /* needs-approval */
48
+ --st-success: #2dd4a0; --st-success-soft: rgba(45,212,160,0.16);
49
+ --st-failed: #f4516c; --st-failed-soft: rgba(244,81,108,0.16);
50
+ --st-blocked: #c0566b; --st-blocked-soft: rgba(192,86,107,0.16);
51
+
52
+ /* ---- Graph nodes / edges ---- */
53
+ --node-bg: var(--surface-3);
54
+ --node-border: var(--border-default);
55
+ --node-active: var(--accent); /* current node */
56
+ --edge: rgba(255,255,255,0.18); /* default connector */
57
+ --edge-active: var(--accent); /* active path edge (glows) */
58
+ --edge-dashed: 6 6; /* dasharray for pending/conditional */
59
+
60
+ /* ---- Generic semantic (alerts/badges) ---- */
61
+ --good: var(--st-success); --warn: var(--st-approve); --bad: var(--st-failed); --info: var(--st-waiting);
62
+
63
+ /* ---- Subtle gradient (control-room atmosphere; behind canvas only) ---- */
64
+ --grad-canvas: radial-gradient(60% 60% at 50% 0%, rgba(91,157,255,0.10), transparent 60%);
65
+ }
66
+ ```
67
+
68
+ ## Palette roles
69
+
70
+ - **Background / surfaces** (`--bg-*`, `--surface-*`, `--canvas`): neutral, layered control-room
71
+ tones. Panels/cards are the containers; alternate `--bg-900`/`--bg-800` between sections to
72
+ separate by tone — **never a border**. Graph/console sit on `--canvas`.
73
+ - **Text** (`--text-*`): primary for headings/active labels, secondary body, muted log meta,
74
+ faint for inactive nodes. Never `--text-faint` for essential content.
75
+ - **Borders / grid** (`--border-*`, `--grid-line`): panel + **node/edge** edges and the faint
76
+ console grid — these are *inside* components, **not** dividers between page sections.
77
+ - **Accent** (`--accent*`): the **active path / current step** in graphs/timelines AND the
78
+ primary action. One accent — don't scatter it; it should mean "this is live / do this".
79
+ - **Agent status** (`--st-*`): the heart of the system. Every node/step/run/log line uses a
80
+ status token **plus an icon + text label** (never color alone). Consistent across all components.
81
+ - **Graph nodes/edges** (`--node-*`, `--edge*`): node fills/borders, default vs active vs dashed
82
+ (pending/conditional) edges; active edge uses the accent and may glow.
83
+ - **Semantic / gradient:** alerts/badges map to status; one subtle gradient lives behind the
84
+ graph/console canvas only.
85
+
86
+ ## Usage rules
87
+
88
+ 1. **Neutral UI, meaningful color.** Reserve saturated color for **status** and the **active
89
+ path**; keep chrome neutral so the run reads clearly.
90
+ 2. **Status is never color-only.** Always color + icon + label (see design-principles table).
91
+ 3. **One accent = live/primary.** The active edge/node and the primary CTA share the accent;
92
+ don't use accent for decoration.
93
+ 4. **Separate sections with surface/tone + space, not lines.** Mandatory.
94
+ 5. **Verify contrast:** text AA; status colors ≥ 3:1 from background and distinguishable for
95
+ color-blind users (the icon/label carries it regardless).
96
+
97
+ ## Optional light theme
98
+
99
+ `[data-theme="light"]`: `--bg-base:#f7f9fc; --bg-900:#ffffff; --bg-800:#f1f4f9; --surface-1:#ffffff;
100
+ --surface-2:#f3f6fb; --canvas:#f8fafd; --text-primary:#0a0c10; --text-secondary:#3a4252;
101
+ --text-muted:#5d6678; --grid-line:rgba(10,12,16,0.06); --accent:#2563eb;` + light-tuned status
102
+ hues; re-verify contrast. **Control-room dark is the default identity.**
@@ -0,0 +1,147 @@
1
+ # Component Library — AI Agent Operating System
2
+
3
+ Specs for the 17 required components **plus the agent components** (Agent Graph, Run Timeline,
4
+ Tool-Call Stream, Reasoning Trace, Command Palette, Status Chip, Inspector). Agent visuals are
5
+ **hand-built inline SVG/Canvas/semantic HTML — no graph/charting library** — and **every visual
6
+ has a text/list equivalent**. Each: purpose, anatomy, tokens, states, responsive + a11y. **No
7
+ borders between sections.**
8
+
9
+ Shared primitives:
10
+
11
+ ```css
12
+ .btn { display:inline-flex; align-items:center; gap: var(--space-2); font-weight:600;
13
+ font-size:.9375rem; padding: var(--space-2) var(--space-5); border-radius: var(--radius-md);
14
+ border:1px solid transparent; cursor:pointer; transition: background .15s ease, border-color .15s ease; }
15
+ .btn-primary { background: var(--accent); color: var(--text-on-accent); }
16
+ .btn-primary:hover { background: var(--accent-hover); }
17
+ .btn-secondary { background: var(--surface-2); color: var(--text-primary); border-color: var(--border-default); }
18
+ .panel { background: var(--surface-1); border:1px solid var(--border-default);
19
+ border-radius: var(--radius-lg); padding: var(--panel-pad); }
20
+ :where(a,button,input,[tabindex]):focus-visible { outline:2px solid var(--ring); outline-offset:2px; }
21
+ ```
22
+
23
+ ## ★ Status Chip (used everywhere)
24
+ A mono UPPERCASE chip = **dot/icon + label**, colored by status (`--st-*`). Never color-only.
25
+ ```html
26
+ <span class="chip chip--running"><span class="dot" aria-hidden="true"></span> RUNNING</span>
27
+ ```
28
+ States: queued · running (pulse) · waiting · needs-approval · succeeded · failed · blocked.
29
+
30
+ ## ★ Agent Graph (inline SVG, no library) + REQUIRED text equivalent
31
+ A node/edge graph of the agent workflow (or multi-agent topology). Anatomy: **nodes** (`.panel`-
32
+ like boxes: agent/tool/step name, status chip, mono label) connected by **edges** (SVG paths;
33
+ default `--edge`, dashed for conditional/pending, **`--edge-active` glowing for the active
34
+ path**). One accent traces the live path; completed nodes recede, failures stand out. Built with
35
+ inline SVG (positions computed in JS or authored). **Provide an ordered list/`<table>` equivalent**
36
+ (steps + dependencies + status) referenced via `aria-describedby`, plus an `aria-label` summary.
37
+ Interactive: nodes focusable/clickable to open the **Inspector**; keyboard-navigable.
38
+
39
+ ## ★ Run Timeline (semantic HTML + SVG accents)
40
+ An ordered timeline of run steps. Each step: index · mono name · **status chip** · duration
41
+ (tabular) · expandable detail (inputs/outputs/tool used/logs). Vertical (mobile/dense) or
42
+ horizontal. Built as an `<ol>` (already accessible) with a connector line; active step
43
+ highlighted, completed muted. This is the most accessible way to show a run — prefer it.
44
+
45
+ ## ★ Tool-Call Stream (console)
46
+ A streaming console (`.console`) of tool invocations: `→ tool.name(args)` then `← result`
47
+ (or error), each with a **status chip** + timestamp (mono, tabular). Auto-scroll while
48
+ "running" (pausable); virtualize/scroll long streams. a11y: it's a log → `role="log"`
49
+ `aria-live="polite"` (polite, not assertive); real text, copyable.
50
+
51
+ ## ★ Reasoning Trace
52
+ A collapsible step trace: `Plan → Thought → Action → Observation …`, mono, indented, each
53
+ collapsible. Shows the agent's reasoning honestly (and where humans approve). a11y: nested
54
+ `<ol>`/`<details>`; expandable by keyboard.
55
+
56
+ ## ★ Command Palette (Cmd/Ctrl-K)
57
+ A modal palette to run agents/commands: search input + grouped results + keyboard nav (↑/↓/
58
+ Enter, Esc). The signature agent-OS interaction. a11y: `role="dialog"` + focus-trap, listbox
59
+ semantics (`role="listbox"/"option"`, `aria-activedescendant`), Cmd/Ctrl-K + a visible button
60
+ to open it (don't rely on the shortcut alone).
61
+
62
+ ## ★ Inspector
63
+ A side `.panel` showing the selected node/step: name, status, inputs, outputs, tool schema,
64
+ logs, timing. Updates on node selection. Keyboard-reachable.
65
+
66
+ ---
67
+
68
+ ## 1. Navbar
69
+ Sticky, neutral bar; gains subtle background on scroll. Logo · nav links · **Cmd-K** hint
70
+ button · primary CTA + "Sign in" · mobile hamburger. **Extensionless hrefs**. Optional product
71
+ mega-menu. Mobile: overlay, focus-trap, ESC. a11y: `aria-current`, `aria-expanded`.
72
+
73
+ ## 2. Hero
74
+ Layout AH-A/AH-B/AH-C — copy + CTAs + an **agent workspace / run / terminal** preview. One H1,
75
+ one primary CTA (distinct from status/accent-path color). Leads with the real mechanic; coherent example run.
76
+
77
+ ## 3. Feature Grid
78
+ `.grid.cols-3` of `.panel`s (icon · H3 · body), or **F-C** feature + a live mini graph/run per
79
+ feature. Hover lift.
80
+
81
+ ## 4. Bento Grid
82
+ An agent bento: a graph tile + run-timeline tile + status/metric tiles, varied spans, one anchor.
83
+
84
+ ## 5. Testimonials
85
+ Quote cards, optionally paired with a customer **run result** (e.g., "resolves 62% of tickets
86
+ autonomously"). `<blockquote>` + `<cite>`.
87
+
88
+ ## 6. Logos Section
89
+ "Trusted by" + logo row (monochrome), generous spacing. `<img alt>`.
90
+
91
+ ## 7. Pricing
92
+ Layout P-A/P-B. Tiers (run/seat/usage based) as `.panel`s; price tabular; highlighted tier +
93
+ "Most popular"; usage/seat toggle; maybe a small runs-included meter. a11y: real switch/radio.
94
+
95
+ ## 8. FAQ
96
+ Accordion; `<button>` + collapsible answer. a11y: `aria-expanded`/`aria-controls`.
97
+
98
+ ## 9. CTA
99
+ Centered band, big H2, primary CTA (accent — note it doubles as the active-path color, so keep
100
+ context clear) + secondary. `--section-y-lg`, no border.
101
+
102
+ ## 10. Footer
103
+ Mega footer: brand · columns · status page link · legal · social. `<footer>`, `<nav>` lists.
104
+
105
+ ## 11. Dashboard Preview
106
+ The **agent console shell** (Layout APP): sidebar (agents/runs/tools) + top bar (Cmd-K, status)
107
+ + workspace (graph + inspector + timeline) with realistic data. The centerpiece product visual.
108
+
109
+ ## 12. Agent Workflow Section
110
+ The required component — render it as an **Agent Graph** and/or **Run Timeline** with a coherent
111
+ example (e.g., Plan → Retrieve → Act → Verify → Handoff). Active path glows; status throughout.
112
+ a11y: `<ol>` text equivalent + graph `aria` summary.
113
+
114
+ ## 13. Code Preview
115
+ Mono code (define/invoke an agent, tool schema, SDK) in a window-framed `.panel` with copy.
116
+ `<pre><code>`; pair with the run it produces where apt.
117
+
118
+ ## 14. Terminal Preview
119
+ CLI invoking an agent (`agent run "…"`) streaming output; mono; optional typewriter (reduced
120
+ motion → final). Real text.
121
+
122
+ ## 15. Trust Section
123
+ A **status/metric** band: success rate, avg run time, tool calls/day, uptime — mono tabular
124
+ numbers + status chips; count-up on reveal (final value in DOM). The agent trust beat.
125
+
126
+ ## 16. Security Section
127
+ Compliance badges (SOC 2/ISO/GDPR/HIPAA) + agent-specific assurances: **guardrails,
128
+ human-in-the-loop approvals, sandboxing, audit logs, permissions/scopes, data residency** as a
129
+ clean list + "Security docs" link. Badges alt text. (Critical for agent products.)
130
+
131
+ ## 17. Enterprise Section
132
+ "Built for enterprise" panel: SSO/RBAC/SLAs/VPC/on-prem + agent governance (approval policies,
133
+ spend limits, audit) + "Talk to sales" CTA. No border.
134
+
135
+ ---
136
+
137
+ ## Component rules
138
+ - **Agent visuals are inline SVG/Canvas/semantic HTML, library-free, coherent (no gibberish),
139
+ and each has a text/list equivalent** + `aria` summary; **status is never color-only** (chip =
140
+ color + icon + label).
141
+ - Compose from shared `.btn`/`.panel`/`.console`/tokens + the status system — no graph libraries.
142
+ - Every interactive element (nodes, palette, sort, tabs, timeline steps) has hover **and**
143
+ `:focus-visible` and is keyboard-operable.
144
+ - Every component reflows: workspace stacks; consoles/timelines scroll; graphs simplify by `md`/`sm`.
145
+ - Decorative chrome `aria-hidden`; informative visuals keep alt/text equivalents.
146
+ - Restraint: neutral UI; the accent = active path/primary action only; no AI-magic clichés;
147
+ panel/node edges are inside components — **never between page sections**.
@@ -0,0 +1,79 @@
1
+ # Design Principles — AI Agent Operating System
2
+
3
+ The philosophy distilled from agentic/dev-tool references (Cursor, Cognition/Devin, Sierra,
4
+ Lindy, Manus, LangGraph, Replit, Linear, Vercel) and modern AI sites (OpenAI, Anthropic,
5
+ Perplexity). The standard: a website that feels like a **real operating system for agents** —
6
+ precise, transparent, and trustworthy — not an "AI magic" gimmick.
7
+
8
+ ## The one-sentence philosophy
9
+
10
+ **Show the agent thinking and acting.** Render the product's real mechanics — plans, steps,
11
+ tools, handoffs, states, and outcomes — in a calm control-room UI, so visitors *understand and
12
+ trust* how the agent works.
13
+
14
+ ## Core principles
15
+
16
+ 1. **Render the mechanics, don't illustrate them.** Lead with the actual model — an **agent
17
+ graph**, a **run timeline**, a **tool-call stream**, a **reasoning trace**, a **command
18
+ palette** — using realistic example data, not abstract glowing orbs.
19
+ 2. **Status is the core language.** Every agent/step/run has a state: `queued · running ·
20
+ waiting · needs-approval · succeeded · failed · blocked`. A single, consistent **status
21
+ system** (color + icon + label) appears in graphs, timelines, logs, and tables.
22
+ 3. **Transparency = trust.** Show the plan before the result, the tools the agent used, the
23
+ human-in-the-loop approvals, and the guardrails. Enterprises buy agents they can audit.
24
+ 4. **Calm control room.** Dark, precise, monospace-accented tooling aesthetic — dense but
25
+ legible. One accent traces the **active path / current step**; everything else is neutral.
26
+ 5. **Trace the flow.** Make the path obvious: the active edge glows, the current step
27
+ highlights, completed steps recede, failures stand out. The eye should follow the run.
28
+ 6. **Coherent, real example runs.** Use a concrete scenario end-to-end (e.g. "resolve a
29
+ support ticket": classify → retrieve → draft → get approval → send). Never gibberish steps.
30
+ 7. **Honest about autonomy.** Distinguish autonomous vs human-approved actions; show where the
31
+ human is in the loop. Don't overclaim "fully autonomous magic."
32
+ 8. **Density done right.** Logs, traces, and graphs are information-dense; strict alignment,
33
+ monospace, and consistent status make density calm rather than chaotic.
34
+ 9. **Developer-credible.** Real-looking code/SDK snippets, tool schemas, and API calls signal a
35
+ genuine platform (Cursor/Replit/LangGraph energy).
36
+ 10. **Accessible by construction.** Every graph/timeline/trace has a text equivalent; status is
37
+ never color-only; the command palette and interactive runs are keyboard-navigable.
38
+
39
+ ## The status system (use everywhere)
40
+
41
+ | State | Meaning | Encoding (color + icon + label) |
42
+ |---|---|---|
43
+ | queued | waiting to start | neutral · ◦ · "Queued" |
44
+ | running | in progress | accent/info · ▷ (pulse) · "Running" |
45
+ | waiting | on a dependency/tool | info · ⋯ · "Waiting" |
46
+ | needs-approval | human-in-the-loop | warn · ◆ · "Needs approval" |
47
+ | succeeded | done OK | good · ✓ · "Succeeded" |
48
+ | failed | errored | bad · ✕ · "Failed" |
49
+ | blocked | can't proceed | bad/neutral · ▣ · "Blocked" |
50
+
51
+ Always pair color with the icon **and** the text label — never color alone.
52
+
53
+ ## Visual-hierarchy laws
54
+
55
+ - **One H1 per page**; in an agent view, the **active run / primary graph** is the focal point.
56
+ - **Goal → plan → run → outcome.** Lead a section with the goal, then the plan/graph, then the
57
+ timeline/logs, then the result.
58
+ - **Contrast ladder:** active step brightest, completed steps muted, pending faint; the accent
59
+ marks only the active path.
60
+ - **One primary CTA per viewport** (distinct from status/accent-path color).
61
+ - **Group with panels + the grid**, not borders between sections.
62
+ - **Accent = the live path / primary action** — don't scatter it across the series.
63
+
64
+ ## Reference cues (what each does well)
65
+
66
+ - **Cursor / Replit / Cognition:** real code/agent runs, IDE-grade UI, dev credibility.
67
+ - **Sierra / Lindy / Manus:** agent workflows, handoffs, human-in-the-loop, enterprise tone.
68
+ - **LangGraph:** the graph-of-agents mental model rendered clearly.
69
+ - **Linear / Vercel:** precise, calm, fast product polish to wrap it all in.
70
+
71
+ ## Do / Don't
72
+
73
+ **Do:** render real mechanics (graph/timeline/tool stream/trace/palette) · a consistent status
74
+ system (color+icon+label) · trace the active path with one accent · coherent example runs ·
75
+ show human-in-the-loop + guardrails · dense-but-legible mono UI · text equivalents for visuals.
76
+
77
+ **Don't:** glowing brains/orbs/sci-fi clichés · gibberish/fake agent steps · status by color
78
+ alone · graphs/timelines without text equivalents · over-animated chaos that hides the run ·
79
+ overclaiming autonomy · borders between sections · heavy gradients/glass · library-built graphs.
@@ -0,0 +1,93 @@
1
+ # Example Page Structures — AI Agent Operating System
2
+
3
+ Ready-to-assemble, **agent-mechanic-led** page blueprints. Each section names a layout (see
4
+ `layout-system.md`) and components (see `component-library.md`). Lead with the product's real
5
+ mechanics (graph / run timeline / tool stream / trace); keep the UI neutral with one accent
6
+ tracing the active path; **every agent visual has a text/list equivalent**; coherent example
7
+ runs throughout. No borders between sections (separate by whitespace + surface elevation + tone).
8
+
9
+ Legend: `AH-* / GR / RT / TS / RTr / MG / F-* / P-* / C-* / Q-* / FT-*` layouts · components by name.
10
+
11
+ ## MANDATORY: 15+ page site map (≈20), 10+ sections/page, clean URLs
12
+
13
+ Always ship a **full multipage website with 15+ pages (≈20)** — never a single landing page.
14
+ Every page carries **at least 10 sections (≈12)**, **no borders/dividers between sections**, pure
15
+ HTML/CSS/vanilla JS (**graphs/timelines = inline SVG/Canvas/semantic HTML, no library**),
16
+ **extensionless URLs**. Required 20-page map:
17
+
18
+ ```
19
+ / Home /customers Customers
20
+ /platform Platform /case-studies Case Studies
21
+ /solutions Solutions /developers Developers
22
+ /products Products /docs Documentation ← + DOC-A subpages
23
+ /features Features /about About
24
+ /ai-agents AI Agents /careers Careers
25
+ /enterprise Enterprise /blog Blog ← + article pages
26
+ /security Security /contact Contact
27
+ /pricing Pricing /partners Partners
28
+ /resources Resources /faq FAQ
29
+ ```
30
+
31
+ Each blueprint below is a **10-section** skeleton — extend toward 12, never fewer than 10. Every
32
+ page must include: **Hero (workspace/run) · Feature Sections · Product Highlights · Trust Signals
33
+ · Testimonials · Use Cases · Statistics · Integrations · CTA · Footer.**
34
+
35
+ ---
36
+
37
+ ## 1. Home (default)
38
+ 1. **Navbar** (+ Cmd-K trigger) — extensionless links
39
+ 2. **Hero** `AH-A` — copy + CTAs + **agent workspace** preview (Agent Graph, active path glowing + mini Run Timeline)
40
+ 3. **Logos Section** — trusted-by row
41
+ 4. **Agent Workflow** — **Agent Graph** of a real example (Plan → Retrieve → Act → Verify → Handoff)
42
+ 5. **Run Timeline** `RT` — the same run as a step timeline (status + durations + logs)
43
+ 6. **Tool-Call Stream** `TS` — streaming console of tool invocations
44
+ 7. **Statistics** — status/metric band (success rate, avg run time, tool calls/day; count-up)
45
+ 8. **Testimonials** — quote + a customer run result
46
+ 9. **Pricing** `P-A` (or teaser) — run/seat/usage tiers
47
+ 10. **CTA** `C-A` + **Footer** `FT-A`
48
+
49
+ ## 2. Platform / Product
50
+ 1. Navbar · 2. **Hero** `AH-A` (workspace) · 3. **Graph + Inspector** `GR` · 4. **Run Timeline**
51
+ `RT` · 5. **Tool-Call Stream** `TS` · 6. **Dashboard Preview** (agent console shell) · 7.
52
+ Feature `F-B` (copy↔run) · 8. Integrations · 9. Statistics/trust · 10. CTA + Footer
53
+
54
+ ## 3. AI Agents / Features
55
+ 1. Navbar · 2. **Hero** `AH-B` (a live run) · 3.–8. feature sections each pairing copy with the
56
+ relevant mechanic (graph, timeline, tool stream, reasoning trace, multi-agent handoff `MG`,
57
+ command palette) · 9. Integrations · 10. CTA + Footer
58
+
59
+ ## 4. Developers / Documentation
60
+ - **Developers:** Navbar · **Hero** `AH-C` (**Command Palette / Terminal** invoking an agent) ·
61
+ Logos · **Code Preview** (define/invoke an agent, tool schema) + the run it produces · Feature
62
+ grid · Use Cases · Statistics (API/agent metrics) · CTA ("Read docs"/"Get API key") · Footer (≥10).
63
+ - **Docs:** `DOC-A` three-pane; inline graphs/run-timelines + their `<ol>` equivalents; mono code;
64
+ breadcrumb; sticky nav.
65
+
66
+ ## 5. Enterprise / Security
67
+ 1. Navbar · 2. Hero (outcome-led + a governed run) · 3. Logos · 4. Feature `F-B` · 5.
68
+ **Enterprise** (SSO/RBAC/SLAs/VPC + agent governance: approvals, spend limits, audit) · 6.
69
+ **Security** (guardrails, human-in-the-loop, sandboxing, audit logs, compliance badges) · 7.
70
+ Statistics (uptime/success) · 8. Testimonials (exec) · 9. CTA (contact) · 10. Footer
71
+
72
+ ## 6. Pricing
73
+ 1. Navbar · 2. Hero (short + plan/usage toggle) · 3. **Pricing** `P-A/P-B` (run/seat/usage tiers
74
+ with a runs-included meter) · 4. Feature/usage comparison · 5. Enterprise band · 6. Logos · 7.
75
+ Statistics · 8. Testimonials · 9. **FAQ** `Q-A` · 10. CTA + Footer
76
+
77
+ ## 7. Content pages (About, Customers, Case Studies, Careers, Blog, Partners, Resources, Contact, FAQ)
78
+ Reach **≥10 sections** using agent mechanics where they help: Hero → body (customer logo grid,
79
+ **case-study with a real example run + result metrics**, values, open roles, article list, partner
80
+ tiers, resource cards, contact form) → Trust Signals → Statistics → Testimonials → Integrations →
81
+ CTA → Footer. Case studies especially lead with **a coherent example run + outcome metrics**.
82
+
83
+ ---
84
+
85
+ ## Assembly notes
86
+ - **Scale is mandatory:** 15+ pages, **≥10 sections each**. Never a single/thin page.
87
+ - **Lead with real mechanics** (goal → plan → run → outcome); one coherent example run across a
88
+ page's agent visuals; consistent **status system**; **every visual has a text/list equivalent**.
89
+ - **Neutral UI, one accent for the active path/primary action;** mono for logs/traces/labels;
90
+ no AI-magic clichés; honest about human-in-the-loop.
91
+ - **No borders/dividers between sections** — whitespace + surface elevation + tone. Node/edge/
92
+ panel borders live inside components.
93
+ - Use **real, plausible runs/data** (not gibberish steps); mark guesses `[PLACEHOLDER]`.
@@ -0,0 +1,74 @@
1
+ # Layout & Grid System — AI Agent Operating System
2
+
3
+ A 12-column fluid grid + canonical **agent-OS** layouts. Data/agent sections use compact
4
+ control-room layouts (graph + inspector, run timeline, console); marketing sections are airier.
5
+ **No borders between sections.**
6
+
7
+ ## Grid
8
+
9
+ ```css
10
+ :root { --grid-cols: 12; --grid-gap: var(--panel-gap); }
11
+
12
+ .grid { display: grid; gap: var(--grid-gap);
13
+ grid-template-columns: repeat(var(--grid-cols), 1fr); }
14
+ .cols-2 { grid-template-columns: repeat(2, 1fr); }
15
+ .cols-3 { grid-template-columns: repeat(3, 1fr); }
16
+ .cols-4 { grid-template-columns: repeat(4, 1fr); }
17
+ .split { grid-template-columns: 1fr 1fr; }
18
+ /* Agent workspace: canvas + side inspector */
19
+ .workspace { grid-template-columns: 1fr 320px; }
20
+ .span-8{grid-column:span 8} .span-4{grid-column:span 4} .span-6{grid-column:span 6}
21
+ @media (max-width:1024px){ .workspace{grid-template-columns:1fr} .span-8,.span-4{grid-column:span 12} }
22
+ @media (max-width:760px){ .split,.cols-2{grid-template-columns:1fr} }
23
+ @media (max-width:900px){ .cols-3,.cols-4{grid-template-columns:repeat(2,1fr)} }
24
+ ```
25
+
26
+ Breakpoints: `sm 480` · `md 768` · `lg 1024` · `xl 1280` · `2xl 1440`. Mobile-first; the
27
+ agent workspace collapses (inspector moves below the graph); consoles scroll; graphs reflow.
28
+
29
+ ## Canonical layouts
30
+
31
+ ### Hero
32
+ - **AH-A Workspace hero (default):** copy + CTAs on one side; an **agent workspace** preview on
33
+ the other (or full-width below) — an **Agent Graph** with the active path glowing + a small
34
+ **Run Timeline**. Leads with the product's real mechanic.
35
+ - **AH-B Run hero:** a single live **Run Timeline / Tool-Call Stream** front and center (a real
36
+ example run streaming/progressing).
37
+ - **AH-C Terminal hero:** a **Command Palette / Terminal** invoking the agent (Cursor/Replit feel).
38
+
39
+ ### Agent sections
40
+ - **GR Graph + inspector:** `.workspace` — Agent Graph (canvas) + a side **Inspector** panel
41
+ (selected node's tools/inputs/outputs/status).
42
+ - **RT Run timeline:** a vertical/horizontal timeline of steps with states + durations + logs.
43
+ - **TS Tool-call stream:** a streaming console of tool invocations (name, args, result, status).
44
+ - **RTr Reasoning trace:** a collapsible step-by-step trace (plan → thought → action → observe).
45
+ - **MG Multi-agent handoff:** lanes/columns per agent showing handoffs between them.
46
+
47
+ ### Feature / marketing
48
+ - **F-A 3-up feature cards** · **F-B alternating copy↔agent-visual** · **F-C feature + live mini graph/run**.
49
+
50
+ ### Pricing / CTA / FAQ / Footer
51
+ - **P-A 3-tier** (middle highlighted; usage/run-based tiers) + toggle; **P-B 2-tier + enterprise**.
52
+ - **C-A CTA band** (distinct from status/accent-path color). **Q-A Accordion FAQ.** **FT-A Mega footer.**
53
+
54
+ ### App / Docs
55
+ - **APP Agent console shell:** left sidebar (agents/runs/tools) + top bar (command palette,
56
+ status) + the workspace — the in-product layout shown in previews.
57
+ - **DOC-A Three-pane docs:** nav · prose (`--container-md`) · TOC; inline graphs/traces; mono
58
+ code; breadcrumb.
59
+
60
+ ## Composition rules
61
+
62
+ 1. **Separate sections by surface/tone + space, NEVER borders.** Alternate `--bg-900`/`--bg-800`
63
+ (add `.section--alt`); `.section{border:0}`; no `<hr>`. Node/edge borders, timeline
64
+ connectors, and panel edges are *inside* components — not section dividers.
65
+ 2. **Lead agent sections with the goal**, then plan/graph, then run timeline/logs, then outcome
66
+ (goal → plan → run → result). One primary agent mechanic per section.
67
+ 3. **Trace the active path.** In every graph/timeline, the active node/edge uses the accent;
68
+ completed steps recede; failures stand out (status system).
69
+ 4. **Coherent example runs.** Use one realistic scenario across the page's agent visuals.
70
+ 5. **At least 10 sections per page**, **15+ pages.** Never thin.
71
+ 6. **Rhythm:** workspace hero → logos/trust → graph+inspector → run timeline → tool stream →
72
+ feature (copy↔run) → metrics/trust → security → pricing → FAQ → CTA → footer.
73
+ 7. **Reflow:** workspace → stacked (graph then inspector); consoles/timelines get a labelled
74
+ scroll region; graphs simplify (fewer nodes / horizontal scroll) on mobile; no page h-scroll.
@@ -0,0 +1,85 @@
1
+ # Motion System — AI Agent Operating System
2
+
3
+ Motion here **shows the agent working** — a run progresses, nodes activate along the path,
4
+ tool output streams, status pulses. It's precise and purposeful (not decorative), and never
5
+ required to understand the run. Everything degrades under `prefers-reduced-motion`.
6
+
7
+ Distilled from Cursor/Replit (live runs, streaming), Linear/Vercel (crisp micro-interactions),
8
+ and OpenAI/Anthropic/Perplexity (calm restraint).
9
+
10
+ ## Tokens
11
+
12
+ ```css
13
+ :root {
14
+ --dur-fast: 120ms; --dur-base: 220ms; --dur-slow: 380ms; --dur-run: 600ms;
15
+ --ease-out: cubic-bezier(0.2, 1, 0.3, 1);
16
+ --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
17
+ --pulse: 1.6s; /* running-status pulse loop */
18
+ }
19
+ ```
20
+
21
+ ## Principles
22
+ 1. **Motion narrates the run.** Animate to show progression (active node/edge advancing, steps
23
+ completing, output streaming) — clarity, not flair.
24
+ 2. **Short + eased** for UI (120–380ms); a run progression beat ~600ms per step.
25
+ 3. **Compositor-friendly + cheap:** `transform`/`opacity`/`stroke-dashoffset`; rAF-throttle
26
+ scroll; `IntersectionObserver` for reveal/start.
27
+ 4. **One run animates at a time** in view; don't animate every graph simultaneously.
28
+ 5. **Final state is the truth.** With motion off, the run shows its final/complete state (all
29
+ steps + statuses), fully readable.
30
+
31
+ ## Patterns
32
+
33
+ - **Run progression (signature):** on reveal, the example run advances step-by-step — each step's
34
+ status chip flips queued→running→succeeded, the **active edge** draws (`stroke-dashoffset`) to
35
+ the next node, the current node highlights. Loops once or plays then settles complete.
36
+ - **Node activation:** the active node lifts/glows (`--accent-glow`), prior nodes recede to muted;
37
+ a failed node flashes the `--st-failed` state once then holds.
38
+ - **Running pulse:** `running` status chips/dots pulse subtly (`--pulse` opacity/scale loop) —
39
+ the only looping motion; stops when the step completes (and under reduced motion).
40
+ - **Streaming output:** tool-call stream / terminal lines append with a quick fade; optional
41
+ stepped typewriter for a command. Auto-scroll while running (pausable).
42
+ - **Edge flow (optional):** a faint dashed-offset animation along the active edge to imply data
43
+ flow — subtle, off for reduced motion.
44
+ - **Reveal:** sections/panels fade-rise on enter (IO), gentle stagger.
45
+ - **Hover:** panel/node lift, button bg shift, row hover; command-palette open/close fade+scale.
46
+ - **Count-up (metrics):** quick mono roll; final value in DOM.
47
+ - **Nav:** subtle background/shadow after ~24px scroll.
48
+
49
+ ## Reduced motion (required)
50
+
51
+ ```css
52
+ @media (prefers-reduced-motion: reduce) {
53
+ *, *::before, *::after { animation-duration:.001ms !important;
54
+ animation-iteration-count:1 !important; transition-duration:.001ms !important;
55
+ scroll-behavior:auto !important; }
56
+ }
57
+ ```
58
+ Under reduced motion: render the run in its **final/complete state** (all steps + final
59
+ statuses), no progression replay, no pulse/edge-flow/typewriter/count-up loops; streaming shows
60
+ the full output immediately. The run is fully understandable without any motion.
61
+
62
+ ## Minimal vanilla helpers
63
+
64
+ ```js
65
+ const RM = matchMedia('(prefers-reduced-motion: reduce)').matches;
66
+ // start the example run when it scrolls into view (else show final state)
67
+ const io = new IntersectionObserver((es)=>es.forEach(e=>{ if(e.isIntersecting){
68
+ const el=e.target;
69
+ if(RM) el.classList.add('run--final'); // all steps complete, no animation
70
+ else playRun(el); // step through statuses with timers/rAF
71
+ io.unobserve(el);
72
+ }}, {threshold:.4});
73
+ document.querySelectorAll('[data-run]').forEach(el=>io.observe(el));
74
+ ```
75
+ ```css
76
+ .chip--running .dot { animation: pulse var(--pulse) ease-in-out infinite; }
77
+ @keyframes pulse { 0%,100%{ opacity:1 } 50%{ opacity:.4 } }
78
+ [data-reveal]{ opacity:0; transform: translateY(14px);
79
+ transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
80
+ [data-reveal].in{ opacity:1; transform:none; }
81
+ .edge.is-active{ stroke: var(--edge-active); stroke-dasharray: var(--len); stroke-dashoffset: var(--len);
82
+ transition: stroke-dashoffset var(--dur-run) var(--ease-out); }
83
+ .edge.is-active.drawn{ stroke-dashoffset: 0; }
84
+ @media (prefers-reduced-motion: reduce){ .chip--running .dot{ animation:none } }
85
+ ```