oneie 3.4.2 → 3.5.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/commands/one.md +41 -10
- 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/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/groups/nine-padle-contents.baked.md +1252 -0
- package/one/groups/nine-padle-contents.md +6 -0
- package/one/knowledge/installation-folders.md +45 -1
- package/one/things/templates.md +254 -0
- package/one/things/todo.md +23 -5
- package/package.json +1 -1
|
@@ -112,7 +112,48 @@ echo "# Our Vision" > /acme/things/vision.md
|
|
|
112
112
|
|
|
113
113
|
## CLI Usage
|
|
114
114
|
|
|
115
|
-
###
|
|
115
|
+
### Automatic Initialization (via `/one` Command)
|
|
116
|
+
|
|
117
|
+
When you run the `/one` command in Claude Code, it automatically performs initialization checks:
|
|
118
|
+
|
|
119
|
+
**1. Git Repository Initialization**
|
|
120
|
+
|
|
121
|
+
If `.git` directory doesn't exist:
|
|
122
|
+
```bash
|
|
123
|
+
✅ Initializing git repository...
|
|
124
|
+
git init
|
|
125
|
+
git add .
|
|
126
|
+
git commit -m "chore: initialize ONE Platform repository"
|
|
127
|
+
✅ Git repository initialized
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
**2. Installation Metadata Check**
|
|
131
|
+
|
|
132
|
+
The `/one` command looks for `.oneie/installation.json`:
|
|
133
|
+
|
|
134
|
+
```json
|
|
135
|
+
{
|
|
136
|
+
"owner": "John Doe",
|
|
137
|
+
"organization": {
|
|
138
|
+
"name": "Acme Corp",
|
|
139
|
+
"url": "https://acme.one.ie"
|
|
140
|
+
},
|
|
141
|
+
"installationId": "acme",
|
|
142
|
+
"createdAt": "2025-10-19T12:00:00Z"
|
|
143
|
+
}
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
**3. Display Context**
|
|
147
|
+
|
|
148
|
+
When found, the `/one` command displays:
|
|
149
|
+
```
|
|
150
|
+
Account: John Doe
|
|
151
|
+
Organization: Acme Corp - https://acme.one.ie
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### Manual Initialization
|
|
155
|
+
|
|
156
|
+
You can also initialize explicitly using the CLI:
|
|
116
157
|
|
|
117
158
|
```bash
|
|
118
159
|
$ npx oneie init
|
|
@@ -122,6 +163,7 @@ $ npx oneie init
|
|
|
122
163
|
✅ Creating installation folder: /acme
|
|
123
164
|
✅ Mirroring ontology structure...
|
|
124
165
|
✅ Creating README.md
|
|
166
|
+
✅ Creating .oneie/installation.json
|
|
125
167
|
✅ Creating .env.local with INSTALLATION_NAME=acme
|
|
126
168
|
|
|
127
169
|
🎉 Installation initialized!
|
|
@@ -136,6 +178,8 @@ INSTALLATION_NAME=acme
|
|
|
136
178
|
PUBLIC_INSTALLATION_NAME=acme # Exposed to frontend
|
|
137
179
|
```
|
|
138
180
|
|
|
181
|
+
Installation metadata is stored in `.oneie/installation.json` for display purposes.
|
|
182
|
+
|
|
139
183
|
## Security
|
|
140
184
|
|
|
141
185
|
### Path Validation
|
|
@@ -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