@theproductguy/create-mission-control 1.0.15 → 1.0.25
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/package.json +1 -1
- package/src/template/agent-os/WORKFLOW.md +139 -0
- package/src/template/agent-os/commands/adapt/adapt.md +189 -0
- package/src/template/agent-os/commands/animate/animate.md +184 -0
- package/src/template/agent-os/commands/audit/audit.md +123 -0
- package/src/template/agent-os/commands/bolder/bolder.md +126 -0
- package/src/template/agent-os/commands/clarify/clarify.md +173 -0
- package/src/template/agent-os/commands/colorize/colorize.md +152 -0
- package/src/template/agent-os/commands/critique/critique.md +112 -0
- package/src/template/agent-os/commands/delight/delight.md +311 -0
- package/src/template/agent-os/commands/design-screen/design-screen.md +5 -0
- package/src/template/agent-os/commands/design-shell/design-shell.md +5 -0
- package/src/template/agent-os/commands/design-tokens/design-tokens.md +5 -0
- package/src/template/agent-os/commands/extract/extract.md +88 -0
- package/src/template/agent-os/commands/harden/harden.md +351 -0
- package/src/template/agent-os/commands/impeccable/impeccable.md +163 -0
- package/src/template/agent-os/commands/normalize/normalize.md +61 -0
- package/src/template/agent-os/commands/onboard/onboard.md +236 -0
- package/src/template/agent-os/commands/optimize/optimize.md +262 -0
- package/src/template/agent-os/commands/plan-product/3-create-roadmap.md +7 -3
- package/src/template/agent-os/commands/polish/polish.md +196 -0
- package/src/template/agent-os/commands/quieter/quieter.md +112 -0
- package/src/template/agent-os/commands/simplify/simplify.md +131 -0
- package/src/template/agent-os/commands/teach-impeccable/teach-impeccable.md +67 -0
- package/src/template/control-center/backend/index.js +1 -1
- package/src/template/control-center/frontend/src/App.tsx +250 -943
- package/src/template/control-center/frontend/src/components/DesignOSOverlay.tsx +38 -0
- package/src/template/control-center/frontend/src/components/Guidance.tsx +56 -0
- package/src/template/control-center/frontend/src/components/NextStepCard.tsx +115 -0
- package/src/template/control-center/frontend/src/components/PromptButton.tsx +43 -0
- package/src/template/control-center/frontend/src/components/StatusItem.tsx +38 -0
- package/src/template/control-center/frontend/src/components/modals/CreateSpecModal.tsx +73 -0
- package/src/template/control-center/frontend/src/components/modals/DeleteSpecModal.tsx +42 -0
- package/src/template/control-center/frontend/src/components/modals/FileEditorModal.tsx +87 -0
- package/src/template/control-center/frontend/src/components/modals/SettingsModal.tsx +46 -0
- package/src/template/control-center/frontend/src/components/ui/ToastContext.tsx +1 -1
- package/src/template/control-center/frontend/src/contexts/IdeContext.tsx +6 -0
- package/src/template/control-center/frontend/src/hooks/useFileEditor.ts +42 -0
- package/src/template/control-center/frontend/src/hooks/useProjectState.ts +45 -0
- package/src/template/control-center/frontend/src/index.css +26 -0
- package/src/template/control-center/frontend/src/types.ts +65 -0
- package/src/template/control-center/frontend/tailwind.config.js +15 -3
- package/src/template/control-center/product/design-system/QA/audit-report.md +34 -0
- package/src/template/control-center/product/mission.md +38 -0
- package/src/template/control-center/product/roadmap.md +10 -0
- package/src/template/design-system/src/lib/product-loader.ts +6 -0
- package/src/template/package-lock.json +2756 -134
- package/src/template/package.json +2 -2
- package/src/template/agent-os-ui/_package.json +0 -54
- package/src/template/agent-os-ui/package.json +0 -54
- package/src/template/control-center/frontend/src/components/ThemeToggle.tsx +0 -64
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"concurrently": "^8.2.2",
|
|
39
39
|
"cross-env": "^7.0.3",
|
|
40
40
|
"eslint": "^9.0.0",
|
|
41
|
-
"eslint-plugin-react-hooks": "^
|
|
42
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
41
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
42
|
+
"eslint-plugin-react-refresh": "^0.4.24",
|
|
43
43
|
"globals": "^15.0.0",
|
|
44
44
|
"husky": "^9.0.0",
|
|
45
45
|
"lint-staged": "^15.0.0",
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@theproductguy/agent-os-ui",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"type": "module",
|
|
5
|
-
"main": "./dist/agent-os-ui.umd.cjs",
|
|
6
|
-
"module": "./dist/agent-os-ui.js",
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist"
|
|
10
|
-
],
|
|
11
|
-
"exports": {
|
|
12
|
-
".": {
|
|
13
|
-
"types": "./dist/index.d.ts",
|
|
14
|
-
"import": "./dist/agent-os-ui.js",
|
|
15
|
-
"require": "./dist/agent-os-ui.umd.cjs"
|
|
16
|
-
},
|
|
17
|
-
"./style.css": "./dist/style.css"
|
|
18
|
-
},
|
|
19
|
-
"scripts": {
|
|
20
|
-
"dev": "vite",
|
|
21
|
-
"build": "tsc && vite build",
|
|
22
|
-
"lint": "eslint ."
|
|
23
|
-
},
|
|
24
|
-
"peerDependencies": {
|
|
25
|
-
"react": ">=18.0.0",
|
|
26
|
-
"react-dom": ">=18.0.0"
|
|
27
|
-
},
|
|
28
|
-
"dependencies": {
|
|
29
|
-
"clsx": "^2.1.0",
|
|
30
|
-
"lucide-react": "^0.469.0",
|
|
31
|
-
"react-markdown": "^9.0.0",
|
|
32
|
-
"remark-breaks": "^4.0.0",
|
|
33
|
-
"remark-gfm": "^4.0.0",
|
|
34
|
-
"tailwind-merge": "^2.2.0"
|
|
35
|
-
},
|
|
36
|
-
"devDependencies": {
|
|
37
|
-
"@tailwindcss/typography": "^0.5.19",
|
|
38
|
-
"@types/node": "^20.10.0",
|
|
39
|
-
"@types/react": "^18.2.0",
|
|
40
|
-
"@types/react-dom": "^18.2.0",
|
|
41
|
-
"@vitejs/plugin-react": "^4.2.1",
|
|
42
|
-
"autoprefixer": "^10.4.20",
|
|
43
|
-
"postcss": "^8.4.49",
|
|
44
|
-
"react": "^18.3.1",
|
|
45
|
-
"react-dom": "^18.3.1",
|
|
46
|
-
"tailwindcss": "^3.4.17",
|
|
47
|
-
"tailwindcss-animate": "^1.0.7",
|
|
48
|
-
"eslint": "^9.39.1",
|
|
49
|
-
"globals": "^16.5.0",
|
|
50
|
-
"typescript": "^5.3.3",
|
|
51
|
-
"vite": "^5.0.10",
|
|
52
|
-
"vite-plugin-dts": "^3.7.0"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@theproductguy/agent-os-ui",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"type": "module",
|
|
5
|
-
"main": "./dist/agent-os-ui.umd.cjs",
|
|
6
|
-
"module": "./dist/agent-os-ui.js",
|
|
7
|
-
"types": "./dist/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist"
|
|
10
|
-
],
|
|
11
|
-
"exports": {
|
|
12
|
-
".": {
|
|
13
|
-
"types": "./dist/index.d.ts",
|
|
14
|
-
"import": "./dist/agent-os-ui.js",
|
|
15
|
-
"require": "./dist/agent-os-ui.umd.cjs"
|
|
16
|
-
},
|
|
17
|
-
"./style.css": "./dist/style.css"
|
|
18
|
-
},
|
|
19
|
-
"scripts": {
|
|
20
|
-
"dev": "vite",
|
|
21
|
-
"build": "tsc && vite build",
|
|
22
|
-
"lint": "eslint ."
|
|
23
|
-
},
|
|
24
|
-
"peerDependencies": {
|
|
25
|
-
"react": ">=18.0.0",
|
|
26
|
-
"react-dom": ">=18.0.0"
|
|
27
|
-
},
|
|
28
|
-
"dependencies": {
|
|
29
|
-
"clsx": "^2.1.0",
|
|
30
|
-
"lucide-react": "^0.469.0",
|
|
31
|
-
"react-markdown": "^9.0.0",
|
|
32
|
-
"remark-breaks": "^4.0.0",
|
|
33
|
-
"remark-gfm": "^4.0.0",
|
|
34
|
-
"tailwind-merge": "^2.2.0"
|
|
35
|
-
},
|
|
36
|
-
"devDependencies": {
|
|
37
|
-
"@tailwindcss/typography": "^0.5.19",
|
|
38
|
-
"@types/node": "^20.10.0",
|
|
39
|
-
"@types/react": "^18.2.0",
|
|
40
|
-
"@types/react-dom": "^18.2.0",
|
|
41
|
-
"@vitejs/plugin-react": "^4.2.1",
|
|
42
|
-
"autoprefixer": "^10.4.20",
|
|
43
|
-
"postcss": "^8.4.49",
|
|
44
|
-
"react": "^18.3.1",
|
|
45
|
-
"react-dom": "^18.3.1",
|
|
46
|
-
"tailwindcss": "^3.4.17",
|
|
47
|
-
"tailwindcss-animate": "^1.0.7",
|
|
48
|
-
"eslint": "^9.39.1",
|
|
49
|
-
"globals": "^16.5.0",
|
|
50
|
-
"typescript": "^5.3.3",
|
|
51
|
-
"vite": "^5.0.10",
|
|
52
|
-
"vite-plugin-dts": "^3.7.0"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { useState, useEffect } from 'react'
|
|
2
|
-
import { Moon, Sun } from 'lucide-react'
|
|
3
|
-
|
|
4
|
-
type Theme = 'light' | 'dark' | 'system'
|
|
5
|
-
|
|
6
|
-
export function ThemeToggle({ onThemeChange }: { onThemeChange?: (theme: Theme) => void }) {
|
|
7
|
-
const [theme, setTheme] = useState<Theme>(() => {
|
|
8
|
-
if (typeof window !== 'undefined') {
|
|
9
|
-
return (localStorage.getItem('theme') as Theme) || 'system'
|
|
10
|
-
}
|
|
11
|
-
return 'system'
|
|
12
|
-
})
|
|
13
|
-
|
|
14
|
-
useEffect(() => {
|
|
15
|
-
const root = document.documentElement
|
|
16
|
-
|
|
17
|
-
const applyTheme = (theme: Theme) => {
|
|
18
|
-
if (theme === 'system') {
|
|
19
|
-
const systemDark = window.matchMedia('(prefers-color-scheme: dark)').matches
|
|
20
|
-
root.classList.toggle('dark', systemDark)
|
|
21
|
-
} else {
|
|
22
|
-
root.classList.toggle('dark', theme === 'dark')
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
applyTheme(theme)
|
|
27
|
-
localStorage.setItem('theme', theme)
|
|
28
|
-
|
|
29
|
-
// Listen for system theme changes when in system mode
|
|
30
|
-
const mediaQuery = window.matchMedia('(prefers-color-scheme: dark)')
|
|
31
|
-
const handleChange = () => {
|
|
32
|
-
if (theme === 'system') {
|
|
33
|
-
applyTheme('system')
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
mediaQuery.addEventListener('change', handleChange)
|
|
37
|
-
|
|
38
|
-
return () => mediaQuery.removeEventListener('change', handleChange)
|
|
39
|
-
}, [theme])
|
|
40
|
-
|
|
41
|
-
const toggleTheme = () => {
|
|
42
|
-
setTheme((prev) => {
|
|
43
|
-
if (prev === 'light') return 'dark'
|
|
44
|
-
if (prev === 'dark') return 'system'
|
|
45
|
-
return 'light'
|
|
46
|
-
})
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
const isDark = theme === 'dark' || (theme === 'system' && typeof window !== 'undefined' && window.matchMedia('(prefers-color-scheme: dark)').matches)
|
|
50
|
-
|
|
51
|
-
return (
|
|
52
|
-
<button
|
|
53
|
-
onClick={toggleTheme}
|
|
54
|
-
className="w-9 h-9 flex items-center justify-center rounded-md text-stone-500 hover:text-stone-900 dark:text-stone-400 dark:hover:text-stone-100 hover:bg-stone-100 dark:hover:bg-stone-800 transition-colors"
|
|
55
|
-
title={`Theme: ${theme}`}
|
|
56
|
-
>
|
|
57
|
-
{isDark ? (
|
|
58
|
-
<Moon className="w-5 h-5" strokeWidth={1.5} />
|
|
59
|
-
) : (
|
|
60
|
-
<Sun className="w-5 h-5" strokeWidth={1.5} />
|
|
61
|
-
)}
|
|
62
|
-
</button>
|
|
63
|
-
)
|
|
64
|
-
}
|