oneie 3.6.5 → 3.6.7

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.
Files changed (98) hide show
  1. package/.claude/commands/onboard.md +179 -0
  2. package/.claude/commands/one copy.md +565 -0
  3. package/.claude/commands/one.md +125 -487
  4. package/.claude/commands/server.md +333 -0
  5. package/.claude/hooks/README-knowledge-hooks.md +265 -0
  6. package/.claude/hooks/__pycache__/knowledge-post.cpython-313.pyc +0 -0
  7. package/.claude/hooks/__pycache__/knowledge-pre.cpython-313.pyc +0 -0
  8. package/.claude/hooks/__pycache__/todo.cpython-313.pyc +0 -0
  9. package/.claude/hooks/check-filenames.py +40 -0
  10. package/.claude/hooks/clean-post.py +301 -0
  11. package/.claude/hooks/clean-pre.py +308 -0
  12. package/.claude/hooks/done.py +175 -0
  13. package/.claude/hooks/format-hook.sh +75 -0
  14. package/.claude/hooks/hook-logger.sh +59 -0
  15. package/.claude/hooks/knowledge-post.py +251 -0
  16. package/.claude/hooks/knowledge-pre.py +150 -0
  17. package/.claude/hooks/notification-hook.sh +112 -0
  18. package/.claude/hooks/security-hook.sh +157 -0
  19. package/.claude/hooks/tag-all-docs.py +338 -0
  20. package/.claude/hooks/todo.py +298 -0
  21. package/.claude/hooks/validate-ontology-structure.py +455 -0
  22. package/.claude/skills/astro/add-content-collection.md +30 -0
  23. package/.claude/skills/astro/check-build.md +29 -0
  24. package/.claude/skills/astro/create-component.md +29 -0
  25. package/.claude/skills/astro/create-page.md +30 -0
  26. package/.claude/skills/astro/optimize-performance.md +21 -0
  27. package/.claude/skills/convex/check-deployment.md +46 -0
  28. package/.claude/skills/convex/create-mutation.md +405 -0
  29. package/.claude/skills/convex/create-query.md +52 -0
  30. package/.claude/skills/convex/read-schema.md +373 -0
  31. package/.claude/skills/convex/test-function.md +50 -0
  32. package/.claude/skills/deployment/check-deployment-health.md +20 -0
  33. package/.claude/skills/deployment/create-release.md +21 -0
  34. package/.claude/skills/deployment/deploy-cloudflare.md +31 -0
  35. package/.claude/skills/deployment/deploy-convex.md +30 -0
  36. package/.claude/skills/deployment/sync-repositories.md +19 -0
  37. package/.claude/skills/design/check-accessibility.md +21 -0
  38. package/.claude/skills/design/create-component-spec.md +27 -0
  39. package/.claude/skills/design/generate-design-tokens.md +24 -0
  40. package/.claude/skills/design/generate-wireframe.md +30 -0
  41. package/.claude/skills/documentation/create-migration-guide.md +20 -0
  42. package/.claude/skills/documentation/generate-api-docs.md +27 -0
  43. package/.claude/skills/documentation/generate-readme.md +22 -0
  44. package/.claude/skills/documentation/update-knowledge.md +20 -0
  45. package/.claude/skills/integration/connect-external-system.md +21 -0
  46. package/.claude/skills/integration/implement-a2a.md +20 -0
  47. package/.claude/skills/integration/implement-acp.md +20 -0
  48. package/.claude/skills/integration/verify-integration.md +20 -0
  49. package/.claude/skills/ontology/README.md +255 -0
  50. package/.claude/skills/ontology/check-dimension.md +307 -0
  51. package/.claude/skills/ontology/generate-entity-type.md +339 -0
  52. package/.claude/skills/ontology/validate-schema.md +229 -0
  53. package/.claude/skills/ontology/verify-relationships.md +310 -0
  54. package/.claude/skills/problem-solving/analyze-test-failure.md +21 -0
  55. package/.claude/skills/problem-solving/identify-root-cause.md +20 -0
  56. package/.claude/skills/problem-solving/propose-solution.md +29 -0
  57. package/.claude/skills/problem-solving/verify-fix.md +21 -0
  58. package/.claude/skills/sales/generate-demo-script.md +21 -0
  59. package/.claude/skills/sales/qualify-lead.md +30 -0
  60. package/.claude/skills/sales/track-trial.md +20 -0
  61. package/.claude/skills/sales/verify-kyc.md +20 -0
  62. package/.claude/skills/testing/analyze-coverage.md +24 -0
  63. package/.claude/skills/testing/generate-tests.md +24 -0
  64. package/.claude/skills/testing/run-tests.md +27 -0
  65. package/.claude/skills/testing/validate-e2e.md +25 -0
  66. package/.mcp.json +30 -3
  67. package/dist/commands/init.d.ts.map +1 -1
  68. package/dist/commands/init.js +13 -6
  69. package/dist/commands/init.js.map +1 -1
  70. package/dist/utils/launch-claude.d.ts +3 -2
  71. package/dist/utils/launch-claude.d.ts.map +1 -1
  72. package/dist/utils/launch-claude.js +64 -29
  73. package/dist/utils/launch-claude.js.map +1 -1
  74. package/folders.yaml +1 -1
  75. package/one/.obsidian/workspace.json +22 -22
  76. package/one/events/CREATE-WEBSITE.md +442 -0
  77. package/one/events/CUSTOM-DOMAIN.md +357 -0
  78. package/one/events/DEPLOYMENT copy.md +426 -0
  79. package/one/events/ECOMMERCE-BEFORE-AFTER.md +251 -0
  80. package/one/events/ECOMMERCE-ENHANCEMENTS.md +576 -0
  81. package/one/events/ECOMMERCE-HIGH-CONVERTING-ELEMENTS.md +421 -0
  82. package/one/events/ECOMMERCE-REFACTOR-SUMMARY.md +196 -0
  83. package/one/events/ECOMMERCE-SETUP-SUMMARY.md +396 -0
  84. package/one/events/INSTALLATION_FOLDERS.md +516 -0
  85. package/one/events/INSTALLATION_FOLDERS_FILES.md +205 -0
  86. package/one/events/INSTALLATION_FOLDERS_SUMMARY.md +419 -0
  87. package/one/events/LICENSE.md +89 -0
  88. package/one/events/MCP-CONFIGURATION.md +336 -0
  89. package/one/events/MCP-SETUP-COMPLETE.md +205 -0
  90. package/one/events/NODE-UPGRADE.md +111 -0
  91. package/one/events/PACKAGE-STRUCTURE.md +310 -0
  92. package/one/events/PLAYBOOK-SETUP-SUMMARY.md +331 -0
  93. package/one/events/PROMPT_FIX_FRONTEND_ONLY.md +567 -0
  94. package/one/events/SIMPLE_FIX_FRONTEND_ONLY.md +262 -0
  95. package/one/events/STRIPE-INTEGRATION.md +414 -0
  96. package/one/events/STRIPE-SETUP-GUIDE.md +462 -0
  97. package/one/events/TRANSPARENCY-FIXES.md +275 -0
  98. package/package.json +4 -2
@@ -0,0 +1,357 @@
1
+ # Setting up web.one.ie Custom Domain
2
+
3
+ **Domain**: web.one.ie
4
+ **Project**: one-web
5
+ **Current URL**: https://a7b61736.one-web-eqz.pages.dev
6
+
7
+ ---
8
+
9
+ ## 📋 Prerequisites
10
+
11
+ - Access to Cloudflare account (627e0c7ccbe735a4a7cabf91e377bbad)
12
+ - Domain one.ie registered in Cloudflare
13
+ - one-web Pages project deployed
14
+
15
+ ---
16
+
17
+ ## 🌐 Step-by-Step Setup
18
+
19
+ ### Step 1: Add Custom Domain in Cloudflare Pages
20
+
21
+ 1. **Navigate to Pages Dashboard**:
22
+ ```
23
+ https://dash.cloudflare.com/627e0c7ccbe735a4a7cabf91e377bbad/pages/view/one-web
24
+ ```
25
+
26
+ 2. **Go to Custom Domains**:
27
+ - Click "Custom domains" tab
28
+ - Click "Set up a custom domain"
29
+
30
+ 3. **Enter Domain**:
31
+ ```
32
+ web.one.ie
33
+ ```
34
+
35
+ 4. **Click "Continue"**
36
+
37
+ ---
38
+
39
+ ### Step 2: Configure DNS
40
+
41
+ Cloudflare will automatically configure DNS. If manual setup is needed:
42
+
43
+ 1. **Go to DNS Settings**:
44
+ ```
45
+ https://dash.cloudflare.com/627e0c7ccbe735a4a7cabf91e377bbad/one.ie/dns
46
+ ```
47
+
48
+ 2. **Add CNAME Record**:
49
+ ```
50
+ Type: CNAME
51
+ Name: web
52
+ Target: a7b61736.one-web-eqz.pages.dev
53
+ Proxy status: Proxied (orange cloud)
54
+ TTL: Auto
55
+ ```
56
+
57
+ 3. **Save**
58
+
59
+ ---
60
+
61
+ ### Step 3: Wait for DNS Propagation
62
+
63
+ - **Typical Time**: 1-5 minutes with Cloudflare
64
+ - **Maximum Time**: 24 hours (unlikely)
65
+
66
+ **Check status**:
67
+ ```bash
68
+ # Check DNS propagation
69
+ dig web.one.ie
70
+
71
+ # Or visit
72
+ https://dnschecker.org/#CNAME/web.one.ie
73
+ ```
74
+
75
+ ---
76
+
77
+ ### Step 4: SSL Certificate
78
+
79
+ Cloudflare automatically provisions SSL certificates:
80
+
81
+ 1. **Certificate Type**: Universal SSL (Free)
82
+ 2. **Auto-renewal**: Enabled
83
+ 3. **Activation Time**: 1-5 minutes
84
+
85
+ **Verify SSL**:
86
+ ```bash
87
+ curl -I https://web.one.ie
88
+ # Should return: HTTP/2 200
89
+ ```
90
+
91
+ ---
92
+
93
+ ### Step 5: Verify Deployment
94
+
95
+ Once DNS propagates:
96
+
97
+ **Test URLs**:
98
+ ```
99
+ https://web.one.ie
100
+ https://web.one.ie/account/signin
101
+ https://web.one.ie/groups
102
+ https://web.one.ie/design
103
+ ```
104
+
105
+ **All should work!** ✅
106
+
107
+ ---
108
+
109
+ ## 🔧 Configuration
110
+
111
+ ### Cloudflare Pages Settings
112
+
113
+ **Project**: one-web
114
+
115
+ **Build Configuration**:
116
+ ```yaml
117
+ Build command: bun run build
118
+ Build output directory: dist
119
+ Root directory: (leave empty)
120
+ ```
121
+
122
+ **Environment Variables** (set in Pages dashboard):
123
+ ```env
124
+ PUBLIC_CONVEX_URL=https://shocking-falcon-870.convex.cloud
125
+ CONVEX_DEPLOYMENT=prod:shocking-falcon-870
126
+ BETTER_AUTH_SECRET=<secret>
127
+ GITHUB_CLIENT_ID=55c60b9b2850097d51b7
128
+ GITHUB_CLIENT_SECRET=<secret>
129
+ GOOGLE_CLIENT_ID=<google-id>
130
+ GOOGLE_CLIENT_SECRET=<secret>
131
+ RESEND_API_KEY=<secret>
132
+ ```
133
+
134
+ **Branch Deployments**:
135
+ - `main` branch → https://web.one.ie (production)
136
+ - Other branches → https://[branch].[project].pages.dev (preview)
137
+
138
+ ---
139
+
140
+ ## 🚀 Deploy Commands
141
+
142
+ ### Deploy to Production (web.one.ie)
143
+
144
+ ```bash
145
+ cd /Users/toc/Server/ONE/web
146
+
147
+ # Build
148
+ bun run build
149
+
150
+ # Deploy to one-web project
151
+ wrangler pages deploy dist --project-name=one-web
152
+
153
+ # Automatically deploys to:
154
+ # - https://web.one.ie (custom domain)
155
+ # - https://a7b61736.one-web-eqz.pages.dev (preview)
156
+ ```
157
+
158
+ ### Deploy via GitHub (Recommended)
159
+
160
+ 1. **Connect Repository**:
161
+ - Go to Cloudflare Pages dashboard
162
+ - Connect `one-ie/web` repository
163
+ - Select `main` branch
164
+
165
+ 2. **Automatic Deployments**:
166
+ - Push to `main` → Deploys to web.one.ie
167
+ - Push to other branches → Preview deployments
168
+
169
+ ---
170
+
171
+ ## 🔍 Verification Checklist
172
+
173
+ After setup, verify:
174
+
175
+ - [ ] **DNS resolves**: `dig web.one.ie` shows CNAME
176
+ - [ ] **SSL active**: `curl -I https://web.one.ie` returns 200
177
+ - [ ] **Homepage loads**: https://web.one.ie shows ONE platform
178
+ - [ ] **Authentication works**: Sign in/sign up functional
179
+ - [ ] **Groups work**: https://web.one.ie/groups loads
180
+ - [ ] **Design system**: https://web.one.ie/design renders
181
+ - [ ] **API routes**: OAuth callbacks functional
182
+
183
+ ---
184
+
185
+ ## 🐛 Troubleshooting
186
+
187
+ ### Issue: DNS not resolving
188
+
189
+ **Check**:
190
+ ```bash
191
+ dig web.one.ie
192
+ # Should show CNAME to one-web project
193
+ ```
194
+
195
+ **Fix**:
196
+ 1. Verify CNAME record in Cloudflare DNS
197
+ 2. Ensure orange cloud (Proxied) is enabled
198
+ 3. Wait up to 5 minutes for propagation
199
+
200
+ ### Issue: SSL certificate not active
201
+
202
+ **Check**:
203
+ ```bash
204
+ curl -I https://web.one.ie
205
+ # Should not show certificate errors
206
+ ```
207
+
208
+ **Fix**:
209
+ 1. Go to Cloudflare Pages → Custom domains
210
+ 2. Check certificate status
211
+ 3. Wait up to 15 minutes for provisioning
212
+ 4. If stuck, remove and re-add custom domain
213
+
214
+ ### Issue: 404 or blank page
215
+
216
+ **Check**:
217
+ 1. Verify deployment succeeded
218
+ 2. Check `dist/` directory has files
219
+ 3. Verify `wrangler.toml` is configured
220
+
221
+ **Fix**:
222
+ ```bash
223
+ # Redeploy
224
+ cd web
225
+ bun run build
226
+ wrangler pages deploy dist --project-name=one-web
227
+ ```
228
+
229
+ ### Issue: Environment variables not working
230
+
231
+ **Fix**:
232
+ 1. Go to Pages dashboard → Settings → Environment variables
233
+ 2. Add all required variables for Production
234
+ 3. Redeploy (push to main or manual deploy)
235
+
236
+ ---
237
+
238
+ ## 📊 DNS Configuration Summary
239
+
240
+ ```
241
+ Domain: one.ie
242
+ Subdomain: web.one.ie
243
+
244
+ DNS Records:
245
+ ┌──────┬──────┬───────────────────────────────────────┬──────────┐
246
+ │ Type │ Name │ Target │ Status │
247
+ ├──────┼──────┼───────────────────────────────────────┼──────────┤
248
+ │ CNAME│ web │ a7b61736.one-web-eqz.pages.dev │ Proxied │
249
+ └──────┴──────┴───────────────────────────────────────┴──────────┘
250
+
251
+ SSL:
252
+ - Type: Universal SSL (Free)
253
+ - Status: Active
254
+ - Auto-renewal: Enabled
255
+
256
+ Cloudflare Protection:
257
+ - DDoS protection: Enabled
258
+ - WAF: Enabled
259
+ - Bot protection: Enabled
260
+ - Edge caching: Enabled
261
+ ```
262
+
263
+ ---
264
+
265
+ ## 🔄 Maintenance
266
+
267
+ ### Update DNS (if needed)
268
+
269
+ If deployment URL changes:
270
+
271
+ ```bash
272
+ # Get current deployment URL
273
+ wrangler pages deployment list --project-name=one-web
274
+
275
+ # Update CNAME record in Cloudflare DNS to new URL
276
+ ```
277
+
278
+ ### Monitor Performance
279
+
280
+ **Cloudflare Analytics**:
281
+ ```
282
+ https://dash.cloudflare.com/627e0c7ccbe735a4a7cabf91e377bbad/pages/view/one-web/analytics
283
+ ```
284
+
285
+ **Metrics Available**:
286
+ - Page views
287
+ - Unique visitors
288
+ - Requests
289
+ - Bandwidth
290
+ - Geographic distribution
291
+
292
+ ---
293
+
294
+ ## 🎯 Production URLs
295
+
296
+ After setup complete:
297
+
298
+ **Primary Domain**:
299
+ ```
300
+ https://web.one.ie
301
+ ```
302
+
303
+ **Cloudflare Preview**:
304
+ ```
305
+ https://a7b61736.one-web-eqz.pages.dev
306
+ ```
307
+
308
+ **GitHub Repository**:
309
+ ```
310
+ https://github.com/one-ie/web
311
+ ```
312
+
313
+ **npm Package**:
314
+ ```
315
+ https://www.npmjs.com/package/oneie
316
+ ```
317
+
318
+ ---
319
+
320
+ ## ✅ Success Criteria
321
+
322
+ Custom domain is successfully configured when:
323
+
324
+ - ✅ https://web.one.ie loads without errors
325
+ - ✅ SSL certificate is active (green padlock)
326
+ - ✅ DNS resolves to Cloudflare Pages
327
+ - ✅ All routes work (/, /account/signin, /groups, etc.)
328
+ - ✅ Authentication functions correctly
329
+ - ✅ No console errors
330
+ - ✅ Performance is optimal (<100ms TTFB)
331
+
332
+ ---
333
+
334
+ ## 📚 Resources
335
+
336
+ **Cloudflare Docs**:
337
+ - Pages Custom Domains: https://developers.cloudflare.com/pages/configuration/custom-domains/
338
+ - DNS Configuration: https://developers.cloudflare.com/dns/
339
+ - SSL Certificates: https://developers.cloudflare.com/ssl/
340
+
341
+ **Wrangler CLI**:
342
+ - Pages Deploy: https://developers.cloudflare.com/workers/wrangler/commands/#pages
343
+ - Pages List: `wrangler pages deployment list --project-name=one-web`
344
+
345
+ **Project Links**:
346
+ - Dashboard: https://dash.cloudflare.com/627e0c7ccbe735a4a7cabf91e377bbad/pages
347
+ - GitHub: https://github.com/one-ie/web
348
+ - Documentation: /Users/toc/Server/ONE/web/DEPLOYMENT.md
349
+
350
+ ---
351
+
352
+ **web.one.ie is ready to go live! 🚀**
353
+
354
+ **Setup Time**: 5-10 minutes
355
+ **DNS Propagation**: 1-5 minutes
356
+ **SSL Activation**: 1-5 minutes
357
+ **Total**: ~15 minutes from start to live!