oneie 3.4.2 → 3.6.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.
- package/.claude/agents/agent-director.md +902 -22
- package/.claude/agents/agent-onboard-example-output.md +600 -0
- package/.claude/agents/agent-onboard.md +576 -0
- package/.claude/commands/ONBOARDING_ENHANCEMENT_SUMMARY.md +266 -0
- package/.claude/commands/one.md +411 -10
- package/.claude/commands/release.md +64 -3
- package/CLAUDE.md +55 -69
- package/dist/commands/init.d.ts +5 -6
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +101 -101
- package/dist/commands/init.js.map +1 -1
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/utils/installation-setup.d.ts +24 -1
- package/dist/utils/installation-setup.d.ts.map +1 -1
- package/dist/utils/installation-setup.js +85 -1
- package/dist/utils/installation-setup.js.map +1 -1
- package/dist/utils/launch-claude.d.ts +6 -0
- package/dist/utils/launch-claude.d.ts.map +1 -0
- package/dist/utils/launch-claude.js +51 -0
- package/dist/utils/launch-claude.js.map +1 -0
- package/dist/utils/validation.d.ts +48 -0
- package/dist/utils/validation.d.ts.map +1 -0
- package/dist/utils/validation.js +73 -0
- package/dist/utils/validation.js.map +1 -0
- package/folders.yaml +1 -1
- package/one/.obsidian/app.json +8 -0
- package/one/.obsidian/appearance.json +1 -0
- package/one/.obsidian/community-plugins.json +3 -0
- package/one/.obsidian/core-plugins.json +33 -0
- package/one/.obsidian/plugins/easy-bake/main.js +361 -0
- package/one/.obsidian/plugins/easy-bake/manifest.json +11 -0
- package/one/.obsidian/plugins/easy-bake/styles.css +10 -0
- package/one/.obsidian/workspace.json +240 -0
- package/one/connections/workflow-onboarding.md +683 -0
- package/one/events/CART-DRAWER-INTEGRATION-GUIDE.md +354 -0
- package/one/events/CRITICAL-FIXES-COMPLETE.md +504 -0
- package/one/events/DEPLOYMENT.md +178 -0
- package/one/events/ECOMMERCE-DEMO-PLAN.md +225 -0
- package/one/events/ECOMMERCE-LIVE-DEMO.md +363 -0
- package/one/events/ECOMMERCE-TEMPLATE-COMPLETE.md +735 -0
- package/one/events/ECOMMERCE-TEMPLATES-SUMMARY.md +923 -0
- package/one/events/GRADIENT-TEXT-PERMANENT-FIX.md +223 -0
- package/one/events/HANDOFF.md +313 -0
- package/one/events/IMPLEMENTATION-SUMMARY-FINAL.md +503 -0
- package/one/events/IMPLEMENTATION_SUMMARY.md +529 -0
- package/one/events/LANDING-PAGE-EXAMPLE-OUTPUT.md +666 -0
- package/one/events/LANDING-PAGE-IMPLEMENTATION.md +642 -0
- package/one/events/LANDING-PAGE-QUICKSTART.md +407 -0
- package/one/events/MULTI-ONTOLOGY-COMPLETE-GUIDE.md +1627 -0
- package/one/events/MULTI-ONTOLOGY-IMPLEMENTATION-COMPLETE.md +573 -0
- package/one/events/ONBOARDING-IMPLEMENTATION-COMPLETE copy.md +398 -0
- package/one/events/ONTOLOGY-TUTORIALS-SUMMARY.md +525 -0
- package/one/events/ONTOLOGY-TYPE-GENERATOR-SUMMARY.md +455 -0
- package/one/events/ONTOLOGY_DISCOVERY_IMPLEMENTATION.md +486 -0
- package/one/events/ONTOLOGY_DISCOVERY_QUICKSTART.md +203 -0
- package/one/events/SECURITY-AUDIT-FIXES.md +376 -0
- package/one/events/SECURITY-SCAN-COMPLETE.md +281 -0
- package/one/events/SHOP-BUILD-STATUS.md +114 -0
- package/one/events/SHOP-PREMIUM-UPDATE.md +149 -0
- package/one/events/SITE-WIDE-GRADIENT-FIX.md +299 -0
- package/one/events/STORE-PRODUCTION-READY-STATUS.md +359 -0
- package/one/events/STRIPE-PAYMENT-METHODS-GUIDE.md +429 -0
- package/one/events/agent-director-enhancement-summary.md +386 -0
- package/one/events/agent-onboard-implementation-summary.md +457 -0
- package/one/events/clean-agent-ontology-cleanup-report.md +353 -0
- package/one/events/landing-page-generator.md +458 -0
- package/one/events/onboarding-implementation-complete.md +505 -0
- package/one/events/release.md +254 -0
- package/one/events/separate-implementation-status.md +537 -0
- package/one/groups/nine-padle-contents.baked.md +1252 -0
- package/one/groups/nine-padle-contents.md +6 -0
- package/one/knowledge/100-inference-quick-reference.md +431 -0
- package/one/knowledge/agent-onboard-usage.md +612 -0
- package/one/knowledge/cli-claude-handoff.md +718 -0
- package/one/knowledge/installation-folders.md +45 -1
- package/one/knowledge/ontology-blog.yaml +31 -0
- package/one/knowledge/ontology-cheatsheet.md +591 -0
- package/one/knowledge/ontology-community.yaml +42 -0
- package/one/knowledge/ontology-core-universal.md +722 -0
- package/one/knowledge/ontology-core.yaml +50 -0
- package/one/knowledge/ontology-courses.yaml +53 -0
- package/one/knowledge/ontology-creator.md +376 -0
- package/one/knowledge/ontology-developer-guide.md +789 -0
- package/one/knowledge/ontology-education.md +920 -0
- package/one/knowledge/ontology-index.md +354 -0
- package/one/knowledge/ontology-migration-guide.md +811 -0
- package/one/knowledge/ontology-minimal.yaml +1 -1
- package/one/knowledge/ontology-portfolio.yaml +31 -0
- package/one/knowledge/ontology-quickstart.md +576 -0
- package/one/knowledge/ontology-shop.yaml +121 -0
- package/one/knowledge/ontology-tokens.yaml +32 -0
- package/one/knowledge/ontology-tutorial.md +434 -0
- package/one/knowledge/ontology-video-script.md +890 -0
- package/one/things/docs/ecommerce/ARCHITECTURE-DIAGRAM.md +467 -0
- package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-IMPLEMENTATION.md +408 -0
- package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-SUMMARY.md +369 -0
- package/one/things/docs/ecommerce/CONVERSION-UX-IMPLEMENTATION-SUMMARY.md +396 -0
- package/one/things/docs/ecommerce/FEATURE-SUMMARY.md +468 -0
- package/one/things/docs/ecommerce/IMPLEMENTATION-NOTES.md +582 -0
- package/one/things/docs/ecommerce/INTEGRATION-EXAMPLE.md +449 -0
- package/one/things/docs/ecommerce/QUICK-START.md +368 -0
- package/one/things/docs/ecommerce/URGENCY-IMPLEMENTATION-SUMMARY.md +498 -0
- package/one/things/docs/ecommerce/URGENCY-QUICK-REFERENCE.md +237 -0
- package/one/things/docs/ecommerce/USAGE-EXAMPLE.astro +171 -0
- package/one/things/docs/ecommerce/demo.astro +309 -0
- package/one/things/plans/agent-director-100-inference-plans.md +410 -0
- package/one/things/plans/dual-website-strategy.md +612 -0
- package/one/things/plans/feature-based-sites.md +821 -0
- package/one/things/plans/multi-ontology-architecture.md +836 -0
- package/one/things/plans/onboarding.md +32 -0
- package/one/things/plans/separate.md +15 -17
- package/one/things/plans/start-new.md +738 -0
- package/one/things/templates.md +254 -0
- package/one/things/todo.md +23 -5
- package/package.json +2 -2
- package/one/things/claude/hooks/agent-hook-manager.js +0 -525
- package/one/things/claude/hooks/agent-load-balancer.js +0 -271
- package/one/things/claude/hooks/agent-request-interceptor.js +0 -70
- package/one/things/claude/hooks/cascade-feedback.js +0 -297
- package/one/things/claude/hooks/cascade-integration-hooks.js +0 -648
- package/one/things/claude/hooks/continuous-improvement-monitor.js +0 -510
- package/one/things/claude/hooks/file-organization-engine.js +0 -427
- package/one/things/claude/hooks/file-organization-monitor.js +0 -269
- package/one/things/claude/hooks/hook-config-manager.js +0 -202
- package/one/things/claude/hooks/hook-orchestrator.js +0 -662
- package/one/things/claude/hooks/hook-performance-report.js +0 -120
- package/one/things/claude/hooks/mcp-cascade-integration.js +0 -816
- package/one/things/claude/hooks/memory-optimizer.js +0 -510
- package/one/things/claude/hooks/ontology-compliance.js +0 -394
- package/one/things/claude/hooks/ontology-hook-manager.js +0 -316
- package/one/things/claude/hooks/ontology-validation-engine.js +0 -317
- package/one/things/claude/hooks/performance-monitoring-hook.js +0 -422
- package/one/things/claude/hooks/quality-scoring-engine.js +0 -834
- package/one/things/claude/hooks/simple-load-balancer.js +0 -238
- package/one/things/claude/hooks/startup-optimizer.js +0 -625
- package/one/things/claude/hooks/story-scoring-system.js +0 -445
- package/one/things/claude/hooks/story-validation-engine.js +0 -473
- package/one/things/claude/hooks/structure-synchronizer.js +0 -194
- package/one/things/claude/hooks/sub-agent-output-validator.js +0 -647
- package/one/things/claude/hooks/sub-agent-validation-hook.js +0 -343
- package/one/things/claude/hooks/trinity-validation-system.js +0 -392
- package/one/things/plans/organizations-to-groups.md +0 -705
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
# Templates - Starter Kits for ONE Platform
|
|
2
|
+
|
|
3
|
+
**Version**: 1.0.0
|
|
4
|
+
**Status**: Active
|
|
5
|
+
**Location**: `web/src/templates/`
|
|
6
|
+
|
|
7
|
+
## Overview
|
|
8
|
+
|
|
9
|
+
Pre-built, polished starter templates for rapid deployment. Each template is a complete 3-page site optimized for a specific use case.
|
|
10
|
+
|
|
11
|
+
## Available Templates
|
|
12
|
+
|
|
13
|
+
### 1. E-commerce Template (`/ecommerce`)
|
|
14
|
+
|
|
15
|
+
**Purpose**: Product-focused online store
|
|
16
|
+
**Pages**: 3 (Home, Shop, Product Detail)
|
|
17
|
+
**Use Case**: Sell physical/digital products
|
|
18
|
+
|
|
19
|
+
**Features**:
|
|
20
|
+
- Hero section with featured products
|
|
21
|
+
- Product grid with filters
|
|
22
|
+
- Individual product pages with cart
|
|
23
|
+
- Mobile-responsive design
|
|
24
|
+
- Real product images via Unsplash API
|
|
25
|
+
- Shopping cart with localStorage
|
|
26
|
+
|
|
27
|
+
**Brand Customization**:
|
|
28
|
+
- Color scheme (primary, secondary, accent)
|
|
29
|
+
- Typography (font family, weights)
|
|
30
|
+
- Logo and favicon
|
|
31
|
+
- Product categories
|
|
32
|
+
- Payment integration ready
|
|
33
|
+
|
|
34
|
+
**Examples**:
|
|
35
|
+
- Fashion store (SHOS, Nine Padel)
|
|
36
|
+
- Electronics shop
|
|
37
|
+
- Handmade goods marketplace
|
|
38
|
+
- Digital product store
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
### 2. LMS Template (`/lms`)
|
|
43
|
+
|
|
44
|
+
**Purpose**: Learning management and course delivery
|
|
45
|
+
**Pages**: 3 (Home, Courses, Course Detail)
|
|
46
|
+
**Use Case**: Teach and sell online courses
|
|
47
|
+
|
|
48
|
+
**Features**:
|
|
49
|
+
- Course catalog with search/filter
|
|
50
|
+
- Individual course pages with curriculum
|
|
51
|
+
- Instructor profiles
|
|
52
|
+
- Progress tracking UI
|
|
53
|
+
- Video player integration ready
|
|
54
|
+
- Certificate generation ready
|
|
55
|
+
|
|
56
|
+
**Brand Customization**:
|
|
57
|
+
- Course categories
|
|
58
|
+
- Instructor branding
|
|
59
|
+
- Learning pathways
|
|
60
|
+
- Certification styling
|
|
61
|
+
|
|
62
|
+
**Examples**:
|
|
63
|
+
- Online academy
|
|
64
|
+
- Corporate training
|
|
65
|
+
- Skill-based learning
|
|
66
|
+
- Certification programs
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
### 3. Creator Template (`/creator`)
|
|
71
|
+
|
|
72
|
+
**Purpose**: Personal brand and audience monetization
|
|
73
|
+
**Pages**: 3 (Home, Content, Subscribe)
|
|
74
|
+
**Use Case**: Build and monetize creator audience
|
|
75
|
+
|
|
76
|
+
**Features**:
|
|
77
|
+
- Personal brand showcase
|
|
78
|
+
- Content feed (blog/videos/podcasts)
|
|
79
|
+
- Subscription tiers
|
|
80
|
+
- Member-only content gates
|
|
81
|
+
- Social proof (testimonials, stats)
|
|
82
|
+
- Newsletter signup
|
|
83
|
+
|
|
84
|
+
**Brand Customization**:
|
|
85
|
+
- Personal branding
|
|
86
|
+
- Content types
|
|
87
|
+
- Monetization models (tips, subscriptions, products)
|
|
88
|
+
- Social integrations
|
|
89
|
+
|
|
90
|
+
**Examples**:
|
|
91
|
+
- YouTuber merchandise
|
|
92
|
+
- Podcast subscriptions
|
|
93
|
+
- Newsletter monetization
|
|
94
|
+
- Artist portfolio + shop
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## Template Structure
|
|
99
|
+
|
|
100
|
+
Each template follows this structure:
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
web/src/templates/{template-name}/
|
|
104
|
+
├── pages/
|
|
105
|
+
│ ├── index.astro # Homepage
|
|
106
|
+
│ ├── [collection].astro # Listing page (shop/courses/content)
|
|
107
|
+
│ └── [collection]/[id].astro # Detail page
|
|
108
|
+
├── components/
|
|
109
|
+
│ ├── Hero.tsx # Hero section
|
|
110
|
+
│ ├── Grid.tsx # Product/Course/Content grid
|
|
111
|
+
│ └── Detail.tsx # Detail view component
|
|
112
|
+
├── lib/
|
|
113
|
+
│ ├── data.ts # Sample data
|
|
114
|
+
│ └── types.ts # TypeScript types
|
|
115
|
+
├── config/
|
|
116
|
+
│ └── template.ts # Template configuration
|
|
117
|
+
└── README.md # Template-specific docs
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## Usage
|
|
123
|
+
|
|
124
|
+
### Quick Start
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
# From web/ directory
|
|
128
|
+
cd src/templates
|
|
129
|
+
|
|
130
|
+
# Copy template to project
|
|
131
|
+
cp -r ecommerce/* ../pages/
|
|
132
|
+
cp -r ecommerce/components/* ../components/
|
|
133
|
+
cp -r ecommerce/lib/* ../lib/
|
|
134
|
+
|
|
135
|
+
# Customize branding
|
|
136
|
+
# Edit src/config/site.ts with your brand details
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Customization Checklist
|
|
140
|
+
|
|
141
|
+
**Every template includes**:
|
|
142
|
+
- [ ] Brand name and tagline
|
|
143
|
+
- [ ] Color scheme (3 colors minimum)
|
|
144
|
+
- [ ] Typography (font family + weights)
|
|
145
|
+
- [ ] Logo and favicon
|
|
146
|
+
- [ ] Navigation menu items
|
|
147
|
+
- [ ] Footer content
|
|
148
|
+
- [ ] Sample content/products/courses
|
|
149
|
+
|
|
150
|
+
**Template-specific**:
|
|
151
|
+
- [ ] Product categories (e-commerce)
|
|
152
|
+
- [ ] Course curriculum (LMS)
|
|
153
|
+
- [ ] Content types (creator)
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
## Design Principles
|
|
158
|
+
|
|
159
|
+
### 1. Minimal but Complete
|
|
160
|
+
- Only 3 pages per template
|
|
161
|
+
- Each page serves a clear purpose
|
|
162
|
+
- No unnecessary features
|
|
163
|
+
|
|
164
|
+
### 2. Polished and Professional
|
|
165
|
+
- High-quality stock images
|
|
166
|
+
- Consistent spacing and typography
|
|
167
|
+
- Responsive design (mobile-first)
|
|
168
|
+
- Smooth animations and transitions
|
|
169
|
+
|
|
170
|
+
### 3. Easy to Customize
|
|
171
|
+
- Single config file for branding
|
|
172
|
+
- Clear component structure
|
|
173
|
+
- Well-documented code
|
|
174
|
+
- TypeScript for type safety
|
|
175
|
+
|
|
176
|
+
### 4. Production-Ready
|
|
177
|
+
- Performance optimized
|
|
178
|
+
- SEO meta tags
|
|
179
|
+
- Accessibility standards
|
|
180
|
+
- Error handling
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
## Technical Stack
|
|
185
|
+
|
|
186
|
+
**Same across all templates**:
|
|
187
|
+
- Astro 5+ (SSR)
|
|
188
|
+
- React 19 (interactive components)
|
|
189
|
+
- Tailwind v4 (styling)
|
|
190
|
+
- shadcn/ui (component library)
|
|
191
|
+
- TypeScript (type safety)
|
|
192
|
+
- Convex (backend - optional)
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
## Color Schemes
|
|
197
|
+
|
|
198
|
+
### E-commerce Template Defaults
|
|
199
|
+
- **Primary**: Dark navy `#1D1D1D`
|
|
200
|
+
- **Secondary**: Warm tan `#CEA177`
|
|
201
|
+
- **Accent**: Purple `#785499` / Teal `#6EC1E4`
|
|
202
|
+
|
|
203
|
+
### LMS Template Defaults
|
|
204
|
+
- **Primary**: Deep blue `#1E40AF`
|
|
205
|
+
- **Secondary**: Orange `#F59E0B`
|
|
206
|
+
- **Accent**: Green `#10B981`
|
|
207
|
+
|
|
208
|
+
### Creator Template Defaults
|
|
209
|
+
- **Primary**: Black `#000000`
|
|
210
|
+
- **Secondary**: Pink `#EC4899`
|
|
211
|
+
- **Accent**: Yellow `#FBBF24`
|
|
212
|
+
|
|
213
|
+
---
|
|
214
|
+
|
|
215
|
+
## Typography
|
|
216
|
+
|
|
217
|
+
### E-commerce
|
|
218
|
+
- **Font**: Outfit (300, 400, 700, 900)
|
|
219
|
+
- **Style**: Modern, clean, professional
|
|
220
|
+
|
|
221
|
+
### LMS
|
|
222
|
+
- **Font**: Inter (400, 600, 700)
|
|
223
|
+
- **Style**: Academic, trustworthy, clear
|
|
224
|
+
|
|
225
|
+
### Creator
|
|
226
|
+
- **Font**: Poppins (400, 600, 800)
|
|
227
|
+
- **Style**: Bold, personality-driven, engaging
|
|
228
|
+
|
|
229
|
+
---
|
|
230
|
+
|
|
231
|
+
## Next Steps
|
|
232
|
+
|
|
233
|
+
1. **Create template files** in `web/src/templates/`
|
|
234
|
+
2. **Build sample data** for each template
|
|
235
|
+
3. **Document customization** process
|
|
236
|
+
4. **Add deployment scripts** for one-click launch
|
|
237
|
+
5. **Create video tutorials** for each template
|
|
238
|
+
|
|
239
|
+
---
|
|
240
|
+
|
|
241
|
+
## Contributing
|
|
242
|
+
|
|
243
|
+
To add a new template:
|
|
244
|
+
|
|
245
|
+
1. Create folder: `web/src/templates/{template-name}/`
|
|
246
|
+
2. Build 3 pages (home, listing, detail)
|
|
247
|
+
3. Add sample data
|
|
248
|
+
4. Write README.md
|
|
249
|
+
5. Document customization process
|
|
250
|
+
6. Submit PR with examples
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
|
|
254
|
+
**Built with clarity, simplicity, and rapid deployment in mind.**
|
package/one/things/todo.md
CHANGED
|
@@ -2,11 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
Now
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
5
|
+
**Current Context (Infer 100/100):**
|
|
6
|
+
- Feature: ONE Platform Initialization & Release Enhancements
|
|
7
|
+
- Role: platform_owner
|
|
8
|
+
- Task: Complete initialization workflow and release script improvements
|
|
9
|
+
- Status: 100% complete ✅
|
|
10
|
+
|
|
11
|
+
**Completed Actions:**
|
|
12
|
+
- [x] CASCADE interface (/one command) is now active and displaying correctly
|
|
13
|
+
- [x] Fixed release script to copy AGENTS, CLAUDE, README, SECURITY to root of installed packages
|
|
14
|
+
- [x] /one command now initializes .git repo on first run (if not already initialized)
|
|
15
|
+
- [x] Account owner information displayed from CLI installation (.oneie/installation.json)
|
|
16
|
+
- [x] Organization URL displayed from installation context
|
|
17
|
+
- [x] Updated installation folder documentation with initialization steps
|
|
18
|
+
|
|
19
|
+
**Files Modified:**
|
|
20
|
+
- `/scripts/release.sh` - Enhanced to copy AGENTS.md to both cli/ and apps/one/one/
|
|
21
|
+
- `/.claude/commands/one.md` - Added automatic git init, account, and org display
|
|
22
|
+
- `/one/knowledge/installation-folders.md` - Documented automatic initialization workflow
|
|
23
|
+
|
|
24
|
+
**Next Steps:**
|
|
25
|
+
- Test release script with next deployment
|
|
26
|
+
- Create `.oneie/installation.json` template for CLI
|
|
27
|
+
- Verify git initialization on fresh installs
|
|
10
28
|
|
|
11
29
|
---
|
|
12
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oneie",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Build apps, websites, and AI agents in English. Download to your computer, run in the cloud, deploy to the edge. Open source and free forever.",
|
|
6
6
|
"bin": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"url": "https://github.com/one-ie/one/issues"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
|
-
"node": ">=
|
|
43
|
+
"node": ">=22.16.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"prompts": "^2.4.2",
|