oneie 3.6.30 → 3.6.32
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/.claude/agents/agent-backend.md +113 -0
- package/.claude/agents/agent-builder.md +223 -60
- package/.claude/agents/agent-designer.md +267 -11
- package/.claude/agents/agent-director.md +476 -5
- package/.claude/agents/agent-frontend.md +217 -0
- package/.claude/commands/chat.md +234 -10
- package/.claude/commands/create.md +421 -415
- package/.claude/commands/fast.md +156 -51
- package/.claude/commands/onboard.md +361 -100
- package/.claude/commands/one.md +95 -25
- package/.claude/commands/plan.md +367 -137
- package/.claude/commands/release.md +10 -6
- package/.claude/commands/start.md +45 -0
- package/.claude/hooks/.last-news-context +1 -1
- package/.claude/hooks/__pycache__/todo.cpython-313.pyc +0 -0
- package/.claude/hooks/release-cli.sh +7 -5
- package/CLAUDE.md +25 -0
- package/package.json +1 -1
- package/.mcp.json +0 -95
|
@@ -22,12 +22,13 @@ Runs `./.claude/hooks/release-cli.sh [type]` which:
|
|
|
22
22
|
|
|
23
23
|
1. **Syncs documentation** `/one/*` → `cli/one/` (all platform docs)
|
|
24
24
|
2. **Syncs root markdown** (CLAUDE.md, README.md, LICENSE.md, SECURITY.md, AGENTS.md)
|
|
25
|
-
3. **
|
|
26
|
-
4. **
|
|
27
|
-
5. **
|
|
28
|
-
6. **
|
|
29
|
-
7. **
|
|
30
|
-
8. **
|
|
25
|
+
3. **Syncs MCP config files** (.mcp.json.on, .mcp.json.off)
|
|
26
|
+
4. **Hooks stay in root** - CLI references `./.claude/hooks/` (single source of truth, no duplication)
|
|
27
|
+
5. **Parallel operations** - Uses background jobs for file copies
|
|
28
|
+
6. **Bumps version** in `cli/package.json` (if not sync)
|
|
29
|
+
7. **Builds CLI** with npm
|
|
30
|
+
8. **Publishes to npm** registry
|
|
31
|
+
9. **Verifies publication** on npm registry
|
|
31
32
|
|
|
32
33
|
## Architecture
|
|
33
34
|
|
|
@@ -37,6 +38,8 @@ Root Repository (.claude/hooks/)
|
|
|
37
38
|
CLI Repo (cli/)
|
|
38
39
|
├── cli/one/* (synced documentation)
|
|
39
40
|
├── cli/*.md (synced markdown files)
|
|
41
|
+
├── cli/.mcp.json.on (MCP servers enabled config)
|
|
42
|
+
├── cli/.mcp.json.off (MCP servers disabled config)
|
|
40
43
|
└── package.json (version bumped & published)
|
|
41
44
|
```
|
|
42
45
|
|
|
@@ -61,6 +64,7 @@ Task({
|
|
|
61
64
|
1. Execute: ./.claude/hooks/release-cli.sh ${releaseType}
|
|
62
65
|
- Syncs /one/* to cli/one/
|
|
63
66
|
- Syncs root markdown files
|
|
67
|
+
- Syncs .mcp.json.on and .mcp.json.off files
|
|
64
68
|
- Hooks reference root .claude/ (no copy)
|
|
65
69
|
- Bumps version (if not sync)
|
|
66
70
|
- Publishes to npm
|
|
@@ -107,6 +107,21 @@ PID: [process-id]
|
|
|
107
107
|
|
|
108
108
|
Opening /start page in browser...
|
|
109
109
|
|
|
110
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
111
|
+
|
|
112
|
+
Welcome to ONE Platform!
|
|
113
|
+
|
|
114
|
+
Build production-ready features in minutes, not hours.
|
|
115
|
+
|
|
116
|
+
Get started with proven templates:
|
|
117
|
+
• "I want to sell coffee mugs"
|
|
118
|
+
• "Create a landing page for my course"
|
|
119
|
+
• "Build a product page for my service"
|
|
120
|
+
|
|
121
|
+
I'll guide you through every step - no technical knowledge needed.
|
|
122
|
+
|
|
123
|
+
Ready to build something amazing?
|
|
124
|
+
|
|
110
125
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
111
126
|
```
|
|
112
127
|
|
|
@@ -124,6 +139,21 @@ Opening /start page in browser...
|
|
|
124
139
|
|
|
125
140
|
The server is running in the background.
|
|
126
141
|
|
|
142
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
143
|
+
|
|
144
|
+
Welcome to ONE Platform!
|
|
145
|
+
|
|
146
|
+
Build production-ready features in minutes, not hours.
|
|
147
|
+
|
|
148
|
+
Get started with proven templates:
|
|
149
|
+
• "I want to sell coffee mugs"
|
|
150
|
+
• "Create a landing page for my course"
|
|
151
|
+
• "Build a product page for my service"
|
|
152
|
+
|
|
153
|
+
I'll guide you through every step - no technical knowledge needed.
|
|
154
|
+
|
|
155
|
+
Ready to build something amazing?
|
|
156
|
+
|
|
127
157
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
128
158
|
```
|
|
129
159
|
|
|
@@ -142,6 +172,21 @@ Opening /start page in browser...
|
|
|
142
172
|
|
|
143
173
|
The server is running in the background.
|
|
144
174
|
|
|
175
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
176
|
+
|
|
177
|
+
Welcome to ONE Platform!
|
|
178
|
+
|
|
179
|
+
Build production-ready features in minutes, not hours.
|
|
180
|
+
|
|
181
|
+
Get started with proven templates:
|
|
182
|
+
• "I want to sell coffee mugs"
|
|
183
|
+
• "Create a landing page for my course"
|
|
184
|
+
• "Build a product page for my service"
|
|
185
|
+
|
|
186
|
+
I'll guide you through every step - no technical knowledge needed.
|
|
187
|
+
|
|
188
|
+
Ready to build something amazing?
|
|
189
|
+
|
|
145
190
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
146
191
|
```
|
|
147
192
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/var/folders/ll/3vb8ckfd47dc_pcl31s65xg40000gn/T/tmp.
|
|
1
|
+
/var/folders/ll/3vb8ckfd47dc_pcl31s65xg40000gn/T/tmp.XBBS8j80Nd
|
|
Binary file
|
|
@@ -67,15 +67,15 @@ else
|
|
|
67
67
|
fi
|
|
68
68
|
echo ""
|
|
69
69
|
|
|
70
|
-
# Step 3: Sync root markdown files to cli/
|
|
71
|
-
echo -e "${BLUE}Step 3: Sync root markdown files (parallel)${NC}"
|
|
72
|
-
for file in CLAUDE.md README.md LICENSE.md SECURITY.md AGENTS.md; do
|
|
70
|
+
# Step 3: Sync root markdown and config files to cli/
|
|
71
|
+
echo -e "${BLUE}Step 3: Sync root markdown and config files (parallel)${NC}"
|
|
72
|
+
for file in CLAUDE.md README.md LICENSE.md SECURITY.md AGENTS.md .mcp.json.on .mcp.json.off; do
|
|
73
73
|
if [ -f "$file" ]; then
|
|
74
74
|
cp "$file" "cli/$file" &
|
|
75
75
|
fi
|
|
76
76
|
done
|
|
77
77
|
wait # Wait for all copies to complete
|
|
78
|
-
echo -e "${GREEN}✓ All markdown files synced${NC}"
|
|
78
|
+
echo -e "${GREEN}✓ All markdown and config files synced${NC}"
|
|
79
79
|
echo ""
|
|
80
80
|
|
|
81
81
|
# Step 4: Sync .claude/ to cli/.claude/ (agents, commands, hooks, skills)
|
|
@@ -113,12 +113,13 @@ echo -e "${BLUE}Step 6: Commit cli/ changes${NC}"
|
|
|
113
113
|
cd cli
|
|
114
114
|
if [[ -n $(git status -s) ]]; then
|
|
115
115
|
git add . > /dev/null 2>&1
|
|
116
|
-
git commit -m "chore: sync /one, .claude/, and
|
|
116
|
+
git commit -m "chore: sync /one, .claude/, markdown, and config files
|
|
117
117
|
|
|
118
118
|
Synced from root repository:
|
|
119
119
|
- /one/* → CLI documentation
|
|
120
120
|
- .claude/* → CLI automation (agents, commands, hooks, skills)
|
|
121
121
|
- CLAUDE.md, README.md, LICENSE.md, SECURITY.md, AGENTS.md
|
|
122
|
+
- .mcp.json.on, .mcp.json.off → MCP server configurations
|
|
122
123
|
|
|
123
124
|
🤖 Generated with [Claude Code](https://claude.com/claude-code)
|
|
124
125
|
|
|
@@ -200,4 +201,5 @@ echo -e "${BLUE}Synced:${NC}"
|
|
|
200
201
|
echo " ✓ /one/* → cli/one/ (documentation)"
|
|
201
202
|
echo " ✓ .claude/* → cli/.claude/ (agents, commands, hooks, skills)"
|
|
202
203
|
echo " ✓ CLAUDE.md, README.md, LICENSE.md, SECURITY.md, AGENTS.md"
|
|
204
|
+
echo " ✓ .mcp.json.on, .mcp.json.off (MCP server configurations)"
|
|
203
205
|
echo ""
|
package/CLAUDE.md
CHANGED
|
@@ -108,6 +108,31 @@ Web (Astro + React) → Backend (Convex) → 6-Dimension Ontology
|
|
|
108
108
|
|
|
109
109
|
---
|
|
110
110
|
|
|
111
|
+
## Template-First Development
|
|
112
|
+
|
|
113
|
+
**CRITICAL PRINCIPLE:** Always reuse existing templates and components. NEVER build from scratch when a template exists.
|
|
114
|
+
|
|
115
|
+
### Template Discovery Process
|
|
116
|
+
1. **User requests feature** → Parse intent and identify feature type
|
|
117
|
+
2. **Search existing templates** → Check pages/components for similar patterns
|
|
118
|
+
3. **Propose template** → Show user the template being used
|
|
119
|
+
4. **Copy and customize** → Modify template for specific needs
|
|
120
|
+
5. **Offer enhancements** → Suggest Stripe, features, etc.
|
|
121
|
+
|
|
122
|
+
### Template Registry
|
|
123
|
+
- **Product landing pages:** `/web/src/pages/shop/product-landing.astro` (includes Stripe)
|
|
124
|
+
- **Template guide:** `/web/src/pages/shop/TEMPLATE-README.md`
|
|
125
|
+
- **Components library:** `/web/src/components/` (50+ shadcn/ui components)
|
|
126
|
+
- **Page patterns:** Search `/web/src/pages/**/*.astro` for similar routes
|
|
127
|
+
|
|
128
|
+
### Development Speed
|
|
129
|
+
- Template-driven: **Minutes**
|
|
130
|
+
- From-scratch: **Hours**
|
|
131
|
+
|
|
132
|
+
**Golden Rule:** If someone wants to sell a product → use product-landing template. If someone wants any feature → search first, build second.
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
111
136
|
## Technology Stack
|
|
112
137
|
|
|
113
138
|
**Frontend:** Astro 5, React 19, Tailwind v4, shadcn/ui (50+ components), Better Auth
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oneie",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.32",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Build apps, websites, and AI agents in English. Zero-interaction setup for AI agents (Claude Code, Cursor, Windsurf). Download to your computer, run in the cloud, deploy to the edge. Open source and free forever.",
|
|
6
6
|
"bin": {
|
package/.mcp.json
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"mcpServers": {
|
|
3
|
-
"shadcn": {
|
|
4
|
-
"command": "npx",
|
|
5
|
-
"args": [
|
|
6
|
-
"shadcn@latest",
|
|
7
|
-
"mcp"
|
|
8
|
-
]
|
|
9
|
-
},
|
|
10
|
-
"cloudflare-builds": {
|
|
11
|
-
"command": "npx",
|
|
12
|
-
"args": [
|
|
13
|
-
"-y",
|
|
14
|
-
"mcp-remote",
|
|
15
|
-
"https://builds.mcp.cloudflare.com/mcp"
|
|
16
|
-
],
|
|
17
|
-
"env": {
|
|
18
|
-
"CLOUDFLARE_ACCOUNT_ID": "${CLOUDFLARE_ACCOUNT_ID}",
|
|
19
|
-
"CLOUDFLARE_API_TOKEN": "${CLOUDFLARE_GLOBAL_API_KEY}",
|
|
20
|
-
"CLOUDFLARE_EMAIL": "${CLOUDFLARE_EMAIL}"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"cloudflare-observability": {
|
|
24
|
-
"command": "npx",
|
|
25
|
-
"args": [
|
|
26
|
-
"-y",
|
|
27
|
-
"mcp-remote",
|
|
28
|
-
"https://observability.mcp.cloudflare.com/mcp"
|
|
29
|
-
],
|
|
30
|
-
"env": {
|
|
31
|
-
"CLOUDFLARE_ACCOUNT_ID": "${CLOUDFLARE_ACCOUNT_ID}",
|
|
32
|
-
"CLOUDFLARE_API_TOKEN": "${CLOUDFLARE_GLOBAL_API_KEY}",
|
|
33
|
-
"CLOUDFLARE_EMAIL": "${CLOUDFLARE_EMAIL}"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"cloudflare-docs": {
|
|
37
|
-
"command": "npx",
|
|
38
|
-
"args": [
|
|
39
|
-
"-y",
|
|
40
|
-
"mcp-remote",
|
|
41
|
-
"https://docs.mcp.cloudflare.com/mcp"
|
|
42
|
-
],
|
|
43
|
-
"env": {
|
|
44
|
-
"CLOUDFLARE_ACCOUNT_ID": "${CLOUDFLARE_ACCOUNT_ID}",
|
|
45
|
-
"CLOUDFLARE_API_TOKEN": "${CLOUDFLARE_GLOBAL_API_KEY}",
|
|
46
|
-
"CLOUDFLARE_EMAIL": "${CLOUDFLARE_EMAIL}"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"chrome-devtools": {
|
|
50
|
-
"command": "npx",
|
|
51
|
-
"args": [
|
|
52
|
-
"-y",
|
|
53
|
-
"chrome-devtools-mcp@latest"
|
|
54
|
-
]
|
|
55
|
-
},
|
|
56
|
-
"claude": {
|
|
57
|
-
"command": "npx",
|
|
58
|
-
"args": [
|
|
59
|
-
"-y",
|
|
60
|
-
"@anthropic-ai/mcp-server-claude"
|
|
61
|
-
],
|
|
62
|
-
"env": {
|
|
63
|
-
"ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}"
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"framelink-figma": {
|
|
67
|
-
"command": "npx",
|
|
68
|
-
"args": [
|
|
69
|
-
"-y",
|
|
70
|
-
"figma-developer-mcp",
|
|
71
|
-
"--figma-api-key=${FIGMA_ACCESS_TOKEN}",
|
|
72
|
-
"--stdio"
|
|
73
|
-
]
|
|
74
|
-
},
|
|
75
|
-
"astro-docs": {
|
|
76
|
-
"command": "npx",
|
|
77
|
-
"args": [
|
|
78
|
-
"-y",
|
|
79
|
-
"mcp-remote",
|
|
80
|
-
"https://mcp.docs.astro.build/mcp"
|
|
81
|
-
]
|
|
82
|
-
},
|
|
83
|
-
"stripe": {
|
|
84
|
-
"command": "npx",
|
|
85
|
-
"args": [
|
|
86
|
-
"-y",
|
|
87
|
-
"mcp-remote",
|
|
88
|
-
"https://mcp.stripe.com/"
|
|
89
|
-
],
|
|
90
|
-
"env": {
|
|
91
|
-
"STRIPE_API_KEY": "${STRIPE_API_KEY}"
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|