specsmd 0.0.4 → 0.0.5

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/lib/constants.js CHANGED
@@ -1,8 +1,9 @@
1
1
 
2
2
  // Theme Colors (extracted from specs.md pixel logo)
3
3
  const THEME_COLORS = {
4
- primary: '#C47454', // Salmon/terracotta brick fill
5
- secondary: '#E8A085', // Light salmon highlight
4
+ primary: '#C45050', // Brick red fill
5
+ secondary: '#D86565', // Coral red highlight
6
+ accent: '#EC8080', // Light coral
6
7
  success: '#22c55e', // Green
7
8
  error: '#ef4444', // Red
8
9
  warning: '#f59e0b', // Amber
@@ -0,0 +1,59 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * specs.md Logo Component
4
+ *
5
+ * Red ASCII logo with black shadows
6
+ */
7
+
8
+ import React from 'react';
9
+ import { render, Text, Box } from 'ink';
10
+
11
+ const { createElement: h } = React;
12
+
13
+ // Colors (red)
14
+ const LOGO_COLOR = '#CC0000';
15
+ const VERSION_COLOR = '#FF3333';
16
+
17
+ // ASCII Logo (exact from specs.md branding)
18
+ const asciiLogoRaw = `
19
+ █████
20
+ ░░███
21
+ █████ ████████ ██████ ██████ █████ █████████████ ███████
22
+ ███░░ ░░███░░███ ███░░███ ███░░███ ███░░ ░░███░░███░░███ ███░░███
23
+ ░░█████ ░███ ░███░███████ ░███ ░░░ ░░█████ ░███ ░███ ░███ ░███ ░███
24
+ ░░░░███ ░███ ░███░███░░░ ░███ ███ ░░░░███ ░███ ░███ ░███ ░███ ░███
25
+ ██████ ░███████ ░░██████ ░░██████ ██████ ██ █████░███ █████░░████████
26
+ ░░░░░░ ░███░░░ ░░░░░░ ░░░░░░ ░░░░░░ ░░ ░░░░░ ░░░ ░░░░░ ░░░░░░░░
27
+ ░███
28
+ █████
29
+ ░░░░░
30
+ `;
31
+
32
+ // Process to remove shadow characters (░ becomes space for black background)
33
+ const asciiLogo = asciiLogoRaw.replace(/░/g, ' ');
34
+
35
+ // Header component
36
+ const Header = ({ version = '0.0.3' }) => {
37
+ return h(Box, { flexDirection: 'column' },
38
+ h(Text, { color: LOGO_COLOR }, asciiLogo),
39
+ h(Box, { marginTop: 0 },
40
+ h(Text, { color: LOGO_COLOR },
41
+ ' AI-native development orchestration ',
42
+ h(Text, { bold: true, color: VERSION_COLOR }, `v${version}`)
43
+ )
44
+ )
45
+ );
46
+ };
47
+
48
+ // Exports for use in other modules
49
+ export { Header, asciiLogo, LOGO_COLOR, VERSION_COLOR };
50
+
51
+ // App component for standalone testing
52
+ const App = () => {
53
+ const args = process.argv.slice(2);
54
+ const version = args[0] || '0.0.3';
55
+ return h(Header, { version });
56
+ };
57
+
58
+ console.clear();
59
+ render(h(App));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "specsmd",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "Multi-agent orchestration system for AI-native software development. Delivers AI-DLC, Agile, and custom SDLC flows as markdown-based agent systems.",
5
5
  "main": "lib/installer.js",
6
6
  "bin": {
@@ -45,7 +45,8 @@
45
45
  "gradient-string": "^2.0.2",
46
46
  "js-yaml": "^4.1.0",
47
47
  "oh-my-logo": "^0.4.0",
48
- "prompts": "^2.4.2"
48
+ "prompts": "^2.4.2",
49
+ "terminal-image": "^4.1.0"
49
50
  },
50
51
  "engines": {
51
52
  "node": ">=14.0.0"