@builderos/create-agent-os 0.0.2 → 0.0.4
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/bin/cli.js +1 -1
- package/package.json +1 -1
- package/src/template/App.tsx +2 -2
- package/src/template/agent-os-ui/README.md +5 -5
- package/src/template/agent-os-ui/package.json +1 -1
- package/src/template/control-center/frontend/package.json +2 -2
- package/src/template/control-center/frontend/src/App.tsx +7 -5
- package/src/template/design/src/components/ExportPage.tsx +2 -2
- package/src/template/agent-os-ui/package-lock.json +0 -5028
- package/src/template/control-center/backend/package-lock.json +0 -951
- package/src/template/control-center/frontend/package-lock.json +0 -5752
- package/src/template/design/package-lock.json +0 -5473
package/bin/cli.js
CHANGED
|
@@ -91,7 +91,7 @@ async function init() {
|
|
|
91
91
|
|
|
92
92
|
appPkg.dependencies = {
|
|
93
93
|
...appPkg.dependencies,
|
|
94
|
-
"@
|
|
94
|
+
"@builderos/agent-os-ui": "*", // Use workspace version
|
|
95
95
|
"lucide-react": "^0.469.0",
|
|
96
96
|
"clsx": "^2.1.0",
|
|
97
97
|
"tailwind-merge": "^2.2.0"
|
package/package.json
CHANGED
package/src/template/App.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AgentShell, AgentSidebar, GuidanceCard, ThemeToggle } from '@
|
|
2
|
-
import '@
|
|
1
|
+
import { AgentShell, AgentSidebar, GuidanceCard, ThemeToggle } from '@builderos/agent-os-ui';
|
|
2
|
+
import '@builderos/agent-os-ui/style.css';
|
|
3
3
|
import { Home, Layers, Box } from 'lucide-react';
|
|
4
4
|
import { useState } from 'react';
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @builderos/agent-os-ui
|
|
2
2
|
|
|
3
3
|
The official UI capability for the **Agent OS** workflow.
|
|
4
4
|
Use this library to build the control interface that guides you through the Antigravity development process (Product -> Design -> Build -> Verify).
|
|
@@ -6,19 +6,19 @@ Use this library to build the control interface that guides you through the Anti
|
|
|
6
6
|
## Installation
|
|
7
7
|
|
|
8
8
|
```bash
|
|
9
|
-
npm install @
|
|
9
|
+
npm install @builderos/agent-os-ui
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
## Setup
|
|
13
13
|
|
|
14
14
|
1. Import the styles:
|
|
15
15
|
```ts
|
|
16
|
-
import '@
|
|
16
|
+
import '@builderos/agent-os-ui/style.css';
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
2. Build your Control Dashboard:
|
|
20
20
|
```tsx
|
|
21
|
-
import { AgentShell, GuidanceCard } from '@
|
|
21
|
+
import { AgentShell, GuidanceCard } from '@builderos/agent-os-ui';
|
|
22
22
|
|
|
23
23
|
export function ControlCenter() {
|
|
24
24
|
return (
|
|
@@ -48,7 +48,7 @@ export function ControlCenter() {
|
|
|
48
48
|
## Example Layout
|
|
49
49
|
|
|
50
50
|
```tsx
|
|
51
|
-
import { AgentShell, AgentSidebar, ThemeToggle } from '@
|
|
51
|
+
import { AgentShell, AgentSidebar, ThemeToggle } from '@builderos/agent-os-ui';
|
|
52
52
|
import { Home, Layers } from 'lucide-react';
|
|
53
53
|
|
|
54
54
|
export default function App() {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"preview": "vite preview"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@
|
|
13
|
+
"@builderos/agent-os-ui": "*",
|
|
14
14
|
"@tailwindcss/typography": "^0.5.19",
|
|
15
15
|
"axios": "^1.13.2",
|
|
16
16
|
"clsx": "^2.1.1",
|
|
@@ -39,4 +39,4 @@
|
|
|
39
39
|
"typescript-eslint": "^8.46.4",
|
|
40
40
|
"vite": "^7.2.4"
|
|
41
41
|
}
|
|
42
|
-
}
|
|
42
|
+
}
|
|
@@ -2,8 +2,8 @@ import { useEffect, useState } from 'react';
|
|
|
2
2
|
import axios from 'axios';
|
|
3
3
|
import { Terminal, Layout, Monitor, Layers, FileText, Code, Play, CheckSquare, List, RefreshCw, ArrowRight, X, Loader2, Plus, Trash2, WalletCards, LayoutDashboard, Copy, Package } from 'lucide-react';
|
|
4
4
|
import { useToast } from './components/ui/ToastContext';
|
|
5
|
-
import { ThemeToggle, GuidanceCard } from '@
|
|
6
|
-
import '@
|
|
5
|
+
import { ThemeToggle, GuidanceCard } from '@builderos/agent-os-ui';
|
|
6
|
+
import '@builderos/agent-os-ui/style.css';
|
|
7
7
|
import ReactMarkdown from 'react-markdown';
|
|
8
8
|
import remarkGfm from 'remark-gfm';
|
|
9
9
|
import remarkBreaks from 'remark-breaks';
|
|
@@ -58,7 +58,8 @@ const NextStepCard = ({ state, onOpenDesign, onCreateSpec }: { state: ProjectSta
|
|
|
58
58
|
state?.product?.techStack?.exists && !state?.product?.techStack?.isBoilerplate &&
|
|
59
59
|
// Roadmap must exist AND have at least one valid item done, OR be non-boilerplate (if we relax strictness)
|
|
60
60
|
// But user specifically asked for step 1 to persist if roadmap is 0/4.
|
|
61
|
-
|
|
61
|
+
// Roadmap must exist and not be boilerplate
|
|
62
|
+
state?.product?.roadmap?.exists && !state?.product?.roadmap?.isBoilerplate;
|
|
62
63
|
|
|
63
64
|
if (!isProductComplete) {
|
|
64
65
|
step = {
|
|
@@ -536,9 +537,10 @@ function App() {
|
|
|
536
537
|
|
|
537
538
|
<div className="mt-6">
|
|
538
539
|
<PromptButton
|
|
539
|
-
label="Plan Product"
|
|
540
|
-
prompt="Antigravity, let's start Phase 1: Product Planning. Please read 'agent-os/commands/plan-product/plan-product.md' and guide me."
|
|
540
|
+
label={state?.product?.mission?.exists && !state?.product?.mission?.isBoilerplate && state?.product?.roadmap?.exists && !state?.product?.roadmap?.isBoilerplate && state?.product?.techStack?.exists && !state?.product?.techStack?.isBoilerplate ? "Next: Design System" : "Plan Product"}
|
|
541
|
+
prompt={state?.product?.mission?.exists && !state?.product?.mission?.isBoilerplate && state?.product?.roadmap?.exists && !state?.product?.roadmap?.isBoilerplate && state?.product?.techStack?.exists && !state?.product?.techStack?.isBoilerplate ? "Antigravity, please sync my product plan to Design OS. Read 'agent-os/commands/initialize-design/initialize-design.md'." : "Antigravity, let's start Phase 1: Product Planning. Please read 'agent-os/commands/plan-product/plan-product.md' and guide me."}
|
|
541
542
|
onClick={copyToClipboard}
|
|
543
|
+
primary={state?.product?.mission?.exists && !state?.product?.mission?.isBoilerplate && state?.product?.roadmap?.exists && !state?.product?.roadmap?.isBoilerplate && state?.product?.techStack?.exists && !state?.product?.techStack?.isBoilerplate}
|
|
542
544
|
/>
|
|
543
545
|
</div>
|
|
544
546
|
</section>
|
|
@@ -125,7 +125,7 @@ export function ExportPage() {
|
|
|
125
125
|
className="inline-flex items-center gap-2 px-4 py-2 bg-white hover:bg-stone-50 border border-stone-200 text-stone-700 font-medium text-sm rounded-md transition-colors shrink-0"
|
|
126
126
|
>
|
|
127
127
|
<Download className="w-4 h-4" strokeWidth={2} />
|
|
128
|
-
|
|
128
|
+
Download Package
|
|
129
129
|
</a>
|
|
130
130
|
</div>
|
|
131
131
|
<p className="text-sm text-stone-500 dark:text-stone-400">
|
|
@@ -197,7 +197,7 @@ export function ExportPage() {
|
|
|
197
197
|
</CardHeader>
|
|
198
198
|
<CardContent className="space-y-4">
|
|
199
199
|
{/* Option A - Incremental (Recommended) */}
|
|
200
|
-
<Collapsible>
|
|
200
|
+
<Collapsible defaultOpen>
|
|
201
201
|
<CollapsibleTrigger className="flex items-start justify-between w-full text-left group">
|
|
202
202
|
<div className="flex-1">
|
|
203
203
|
<h4 className="font-medium text-stone-900 dark:text-stone-100">
|