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,310 @@
1
+ # Verify Relationships Against Ontology
2
+
3
+ **Category:** ontology
4
+ **Version:** 1.0.0
5
+ **Used By:** agent-backend, agent-quality, agent-integrator
6
+
7
+ ## Purpose
8
+
9
+ Validates proposed connection types and relationship structures against the ONE Ontology to ensure they follow established patterns, prevent invalid relationships, and maintain data integrity.
10
+
11
+ ## Inputs
12
+
13
+ - **connectionType** (string): The type of connection (e.g., "authored", "owns", "contains")
14
+ - **sourceEntityType** (string): Type of source entity
15
+ - **targetEntityType** (string): Type of target entity
16
+ - **metadata** (object, optional): Additional relationship metadata
17
+ - **bidirectional** (boolean, optional): Whether relationship should work both ways. Default: false
18
+
19
+ ## Outputs
20
+
21
+ - **isValid** (boolean): True if relationship is valid
22
+ - **errors** (array): Issues that prevent this relationship
23
+ - **warnings** (array): Potential problems or anti-patterns
24
+ - **recommendations** (array): Suggested improvements
25
+ - **alternativeConnections** (array): Other valid connection types for these entities
26
+
27
+ ## Prerequisites
28
+
29
+ - Connection type follows naming convention (lowercase, underscores, verb-based)
30
+ - Source and target entity types exist in schema
31
+ - ONE ontology connection types documented in `/one/knowledge/ontology.md`
32
+
33
+ ## Steps
34
+
35
+ 1. **Load Known Connection Types**
36
+ - Read `/one/knowledge/ontology.md` for canonical connection types
37
+ - Load 25+ standard connection types:
38
+ - owns, authored, holds_tokens, enrolled_in, member_of
39
+ - follows, subscribed_to, attended, purchased
40
+ - contains, part_of, depends_on, related_to
41
+ - communicated, transacted, delegated, etc.
42
+
43
+ 2. **Validate Connection Type Name**
44
+ - Check if connection type is known/standard
45
+ - If custom: Verify it's verb-based and descriptive
46
+ - Check for naming conflicts
47
+ - Warn if very similar to existing type
48
+
49
+ 3. **Check Entity Type Compatibility**
50
+ - Verify source entity type exists
51
+ - Verify target entity type exists
52
+ - Check if relationship makes semantic sense
53
+ - Example: creator can "author" blog_post (valid)
54
+ - Example: blog_post cannot "author" creator (invalid - wrong direction)
55
+
56
+ 4. **Validate Metadata Structure**
57
+ - Check metadata fields are appropriate for connection type
58
+ - Verify metadata types (string, number, boolean, object)
59
+ - Warn if metadata is too complex (should be flat when possible)
60
+ - Suggest moving complex data to separate entities
61
+
62
+ 5. **Check for Anti-Patterns**
63
+ - **Circular Dependencies:** A → B → C → A
64
+ - **Self-References:** Entity connecting to itself (sometimes valid)
65
+ - **Many-to-Many without Junction:** Should use explicit join entities
66
+ - **Missing Timestamps:** validFrom/validTo for temporal relationships
67
+ - **Overly Generic:** "related_to" instead of specific relationship
68
+
69
+ 6. **Verify Bidirectionality**
70
+ - If bidirectional=true, check if reverse makes sense
71
+ - Example: "follows" could be bidirectional (mutual follow)
72
+ - Example: "authored" should NOT be bidirectional (post can't author person)
73
+ - Suggest inverse relationship type if needed
74
+
75
+ 7. **Check Index Requirements**
76
+ - Verify indexes exist for common queries
77
+ - by_source - Find all connections from entity
78
+ - by_target - Find all connections to entity
79
+ - by_type - Find all connections of specific type
80
+ - Compound indexes for scoped queries
81
+
82
+ 8. **Suggest Alternative Connections**
83
+ - If current connection is invalid, suggest valid alternatives
84
+ - Example: Instead of "created" use "authored" for content
85
+ - Example: Instead of "has" use "owns" for ownership
86
+
87
+ 9. **Generate Validation Report**
88
+ - Compile errors, warnings, recommendations
89
+ - Provide examples of correct usage
90
+ - Link to relevant documentation
91
+
92
+ ## Examples
93
+
94
+ ### Example 1: Valid Author Relationship
95
+
96
+ **Input:**
97
+ ```json
98
+ {
99
+ "connectionType": "authored",
100
+ "sourceEntityType": "creator",
101
+ "targetEntityType": "blog_post",
102
+ "metadata": {
103
+ "role": "primary_author",
104
+ "contributionDate": 1697659200000
105
+ },
106
+ "bidirectional": false
107
+ }
108
+ ```
109
+
110
+ **Output:**
111
+ ```json
112
+ {
113
+ "isValid": true,
114
+ "errors": [],
115
+ "warnings": [],
116
+ "recommendations": [
117
+ "Consider adding validFrom/validTo for temporal tracking",
118
+ "Metadata looks good - role and date are appropriate"
119
+ ],
120
+ "alternativeConnections": [
121
+ "created - Generic creation relationship",
122
+ "contributed_to - For co-authors"
123
+ ]
124
+ }
125
+ ```
126
+
127
+ ### Example 2: Invalid Reverse Relationship
128
+
129
+ **Input:**
130
+ ```json
131
+ {
132
+ "connectionType": "authored",
133
+ "sourceEntityType": "blog_post",
134
+ "targetEntityType": "creator",
135
+ "metadata": {},
136
+ "bidirectional": false
137
+ }
138
+ ```
139
+
140
+ **Output:**
141
+ ```json
142
+ {
143
+ "isValid": false,
144
+ "errors": [
145
+ "Semantic mismatch: blog_post cannot 'author' a creator",
146
+ "Relationship direction is reversed - should be creator -> blog_post"
147
+ ],
148
+ "warnings": [],
149
+ "recommendations": [
150
+ "Reverse the direction: creator 'authored' blog_post",
151
+ "Or use different connection type if blog_post references creator"
152
+ ],
153
+ "alternativeConnections": [
154
+ "authored_by - Inverse relationship (passive voice)",
155
+ "created_by - Generic inverse"
156
+ ]
157
+ }
158
+ ```
159
+
160
+ ### Example 3: Circular Dependency Warning
161
+
162
+ **Input:**
163
+ ```json
164
+ {
165
+ "connectionType": "depends_on",
166
+ "sourceEntityType": "service_a",
167
+ "targetEntityType": "service_b",
168
+ "metadata": {
169
+ "note": "service_b also depends on service_a creating a cycle"
170
+ },
171
+ "bidirectional": false
172
+ }
173
+ ```
174
+
175
+ **Output:**
176
+ ```json
177
+ {
178
+ "isValid": true,
179
+ "errors": [],
180
+ "warnings": [
181
+ "Potential circular dependency detected in metadata note",
182
+ "Circular dependencies can cause infinite loops - verify this is intentional"
183
+ ],
184
+ "recommendations": [
185
+ "If mutual dependency is required, use explicit bidirectional flag",
186
+ "Consider refactoring to remove circular dependency",
187
+ "Add dependency_type metadata to distinguish hard vs soft dependencies"
188
+ ],
189
+ "alternativeConnections": [
190
+ "communicates_with - For peer-to-peer relationships",
191
+ "integrated_with - For bidirectional integrations"
192
+ ]
193
+ }
194
+ ```
195
+
196
+ ### Example 4: Custom Connection Type
197
+
198
+ **Input:**
199
+ ```json
200
+ {
201
+ "connectionType": "peer_reviewed",
202
+ "sourceEntityType": "reviewer",
203
+ "targetEntityType": "research_paper",
204
+ "metadata": {
205
+ "reviewDate": 1697659200000,
206
+ "score": 8.5,
207
+ "comments": "Excellent methodology"
208
+ },
209
+ "bidirectional": false
210
+ }
211
+ ```
212
+
213
+ **Output:**
214
+ ```json
215
+ {
216
+ "isValid": true,
217
+ "errors": [],
218
+ "warnings": [
219
+ "Custom connection type 'peer_reviewed' is not in standard list",
220
+ "Consider using standard 'reviewed' connection type instead"
221
+ ],
222
+ "recommendations": [
223
+ "Document this custom connection type in ontology",
224
+ "Metadata structure is good - score and comments are appropriate",
225
+ "Consider whether 'reviewed' standard type would work"
226
+ ],
227
+ "alternativeConnections": [
228
+ "reviewed - Standard review relationship",
229
+ "evaluated - Generic assessment relationship",
230
+ "approved - If binary pass/fail"
231
+ ]
232
+ }
233
+ ```
234
+
235
+ ### Example 5: Container Relationship
236
+
237
+ **Input:**
238
+ ```json
239
+ {
240
+ "connectionType": "contains",
241
+ "sourceEntityType": "astro_page",
242
+ "targetEntityType": "react_component",
243
+ "metadata": {
244
+ "position": "center",
245
+ "order": 2
246
+ },
247
+ "bidirectional": false
248
+ }
249
+ ```
250
+
251
+ **Output:**
252
+ ```json
253
+ {
254
+ "isValid": true,
255
+ "errors": [],
256
+ "warnings": [],
257
+ "recommendations": [
258
+ "Perfect use of 'contains' for composition relationship",
259
+ "Metadata with position/order is good practice for layout",
260
+ "Consider adding inverse index for 'part_of' queries"
261
+ ],
262
+ "alternativeConnections": [
263
+ "part_of - Inverse relationship (component part_of page)",
264
+ "includes - Similar to contains but less hierarchical"
265
+ ]
266
+ }
267
+ ```
268
+
269
+ ## Error Handling
270
+
271
+ - **Unknown Entity Types:** Return error with list of valid entity types
272
+ - **Invalid Connection Type:** Suggest nearest valid connection type
273
+ - **Missing Required Metadata:** Specify what metadata is expected
274
+ - **Schema Mismatch:** Point to schema definition that conflicts
275
+
276
+ ## Dependencies
277
+
278
+ - **Tools:** Read (for loading ontology docs), Grep (for searching connection types)
279
+ - **Skills:** `validate-schema.md` (to check if entities exist)
280
+ - **Docs:**
281
+ - `/one/knowledge/ontology.md` - Connection type catalog
282
+ - `https://docs.claude.com/en/docs/claude-code` - Claude Code docs (if needed)
283
+
284
+ ## Tests
285
+
286
+ 1. **Test Valid Standard Connection:** Verify known connection types pass
287
+ 2. **Test Invalid Direction:** Verify reversed relationships are caught
288
+ 3. **Test Custom Connection:** Verify custom types get warnings but pass
289
+ 4. **Test Circular Dependency:** Verify cycles are detected
290
+ 5. **Test Bidirectional Logic:** Verify bidirectional validation works
291
+ 6. **Test Metadata Validation:** Verify complex metadata gets warnings
292
+ 7. **Test Entity Type Checking:** Verify non-existent entities are caught
293
+
294
+ ## Performance
295
+
296
+ - **Validation Time:** < 200ms per relationship
297
+ - **Caching:** Cache loaded connection types from ontology docs
298
+ - **Optimization:** Pre-load standard connection types at startup
299
+
300
+ ## Lessons Learned
301
+
302
+ - **Verb-Based Names:** Connection types should be action verbs (authored, owns, contains)
303
+ - **Direction Matters:** Creator → Content (active voice) is clearer than Content → Creator
304
+ - **Metadata Should Be Flat:** Complex nested metadata belongs in separate entities
305
+ - **Temporal Relationships:** Most connections benefit from validFrom/validTo timestamps
306
+ - **Standard Over Custom:** Use standard connection types when possible for consistency
307
+
308
+ ## Version History
309
+
310
+ - **1.0.0** (2025-10-18): Initial implementation with 25+ standard connection types
@@ -0,0 +1,21 @@
1
+ # Analyze Test Failure
2
+
3
+ **Category:** problem-solving
4
+ **Version:** 1.0.0
5
+ **Used By:** agent-problem-solver
6
+
7
+ ## Purpose
8
+
9
+ Deep analysis of failed tests to find root cause.
10
+
11
+ ## Steps
12
+
13
+ 1. Read test failure output
14
+ 2. Identify failing assertion
15
+ 3. Trace code execution
16
+ 4. Find root cause
17
+ 5. Propose solution
18
+
19
+ ## Version History
20
+
21
+ - **1.0.0** (2025-10-18): Initial implementation
@@ -0,0 +1,20 @@
1
+ # Identify Root Cause
2
+
3
+ **Category:** problem-solving
4
+ **Version:** 1.0.0
5
+ **Used By:** agent-problem-solver
6
+
7
+ ## Purpose
8
+
9
+ Finds root cause of issues using deep reasoning.
10
+
11
+ ## Techniques
12
+
13
+ - 5 Whys analysis
14
+ - Code tracing
15
+ - Log analysis
16
+ - Dependency checking
17
+
18
+ ## Version History
19
+
20
+ - **1.0.0** (2025-10-18): Initial implementation
@@ -0,0 +1,29 @@
1
+ # Propose Solution
2
+
3
+ **Category:** problem-solving
4
+ **Version:** 1.0.0
5
+ **Used By:** agent-problem-solver, agent-director
6
+
7
+ ## Purpose
8
+
9
+ Generates ranked solution options.
10
+
11
+ ## Output
12
+
13
+ ```json
14
+ {
15
+ "solutions": [
16
+ {
17
+ "rank": 1,
18
+ "approach": "Fix validation logic",
19
+ "effort": "low",
20
+ "impact": "high",
21
+ "risks": ["None"]
22
+ }
23
+ ]
24
+ }
25
+ ```
26
+
27
+ ## Version History
28
+
29
+ - **1.0.0** (2025-10-18): Initial implementation
@@ -0,0 +1,21 @@
1
+ # Verify Fix
2
+
3
+ **Category:** problem-solving
4
+ **Version:** 1.0.0
5
+ **Used By:** agent-problem-solver, agent-quality
6
+
7
+ ## Purpose
8
+
9
+ Verifies problem is resolved.
10
+
11
+ ## Steps
12
+
13
+ 1. Apply fix
14
+ 2. Run original failing test
15
+ 3. Run regression tests
16
+ 4. Verify no side effects
17
+ 5. Confirm resolution
18
+
19
+ ## Version History
20
+
21
+ - **1.0.0** (2025-10-18): Initial implementation
@@ -0,0 +1,21 @@
1
+ # Generate Demo Script
2
+
3
+ **Category:** sales
4
+ **Version:** 1.0.0
5
+ **Used By:** agent-sales
6
+
7
+ ## Purpose
8
+
9
+ Creates customized demo script.
10
+
11
+ ## Sections
12
+
13
+ - Introduction
14
+ - Pain points address
15
+ - Feature showcase
16
+ - ROI calculation
17
+ - Next steps
18
+
19
+ ## Version History
20
+
21
+ - **1.0.0** (2025-10-18): Initial implementation
@@ -0,0 +1,30 @@
1
+ # Qualify Lead
2
+
3
+ **Category:** sales
4
+ **Version:** 1.0.0
5
+ **Used By:** agent-sales
6
+
7
+ ## Purpose
8
+
9
+ Lead qualification and scoring.
10
+
11
+ ## Criteria
12
+
13
+ - Budget fit
14
+ - Authority to purchase
15
+ - Need for product
16
+ - Timeline to buy
17
+
18
+ ## Output
19
+
20
+ ```json
21
+ {
22
+ "score": 85,
23
+ "tier": "hot",
24
+ "nextSteps": ["Schedule demo", "Send pricing"]
25
+ }
26
+ ```
27
+
28
+ ## Version History
29
+
30
+ - **1.0.0** (2025-10-18): Initial implementation
@@ -0,0 +1,20 @@
1
+ # Track Trial
2
+
3
+ **Category:** sales
4
+ **Version:** 1.0.0
5
+ **Used By:** agent-sales
6
+
7
+ ## Purpose
8
+
9
+ Trial management and health tracking.
10
+
11
+ ## Metrics
12
+
13
+ - Usage frequency
14
+ - Feature adoption
15
+ - User engagement
16
+ - Conversion probability
17
+
18
+ ## Version History
19
+
20
+ - **1.0.0** (2025-10-18): Initial implementation
@@ -0,0 +1,20 @@
1
+ # Verify KYC
2
+
3
+ **Category:** sales
4
+ **Version:** 1.0.0
5
+ **Used By:** agent-sales
6
+
7
+ ## Purpose
8
+
9
+ KYC verification for organizations.
10
+
11
+ ## Checks
12
+
13
+ - Organization exists
14
+ - Contact information valid
15
+ - Business license verified
16
+ - No fraud flags
17
+
18
+ ## Version History
19
+
20
+ - **1.0.0** (2025-10-18): Initial implementation
@@ -0,0 +1,24 @@
1
+ # Analyze Test Coverage
2
+
3
+ **Category:** testing
4
+ **Version:** 1.0.0
5
+ **Used By:** agent-quality
6
+
7
+ ## Purpose
8
+
9
+ Checks test coverage and identifies gaps.
10
+
11
+ ## Output
12
+
13
+ ```json
14
+ {
15
+ "coverage": 87.5,
16
+ "uncovered": [
17
+ "mutations/entities.ts:45-52"
18
+ ]
19
+ }
20
+ ```
21
+
22
+ ## Version History
23
+
24
+ - **1.0.0** (2025-10-18): Initial implementation
@@ -0,0 +1,24 @@
1
+ # Generate Test Suite
2
+
3
+ **Category:** testing
4
+ **Version:** 1.0.0
5
+ **Used By:** agent-quality
6
+
7
+ ## Purpose
8
+
9
+ Generates comprehensive test suite for features.
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { test, expect } from 'vitest';
15
+
16
+ test('blog post creation', async () => {
17
+ const post = await createBlogPost({...});
18
+ expect(post.title).toBe('Test');
19
+ });
20
+ ```
21
+
22
+ ## Version History
23
+
24
+ - **1.0.0** (2025-10-18): Initial implementation
@@ -0,0 +1,27 @@
1
+ # Run Test Suite
2
+
3
+ **Category:** testing
4
+ **Version:** 1.0.0
5
+ **Used By:** agent-quality, agent-ops
6
+
7
+ ## Purpose
8
+
9
+ Executes tests and reports results.
10
+
11
+ ## Example
12
+
13
+ ```bash
14
+ bun test
15
+ ```
16
+
17
+ **Output:**
18
+ ```
19
+ ✓ blog post creation (12ms)
20
+ ✓ user authentication (8ms)
21
+
22
+ Tests: 2 passed, 2 total
23
+ ```
24
+
25
+ ## Version History
26
+
27
+ - **1.0.0** (2025-10-18): Initial implementation
@@ -0,0 +1,25 @@
1
+ # Validate E2E Tests
2
+
3
+ **Category:** testing
4
+ **Version:** 1.0.0
5
+ **Used By:** agent-quality
6
+
7
+ ## Purpose
8
+
9
+ Runs end-to-end tests for user flows.
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ test('user can create blog post', async () => {
15
+ await page.goto('/dashboard');
16
+ await page.click('[data-test="new-post"]');
17
+ await page.fill('[name="title"]', 'Test');
18
+ await page.click('[type="submit"]');
19
+ await expect(page).toHaveURL('/blog/test');
20
+ });
21
+ ```
22
+
23
+ ## Version History
24
+
25
+ - **1.0.0** (2025-10-18): Initial implementation
package/.mcp.json CHANGED
@@ -12,11 +12,38 @@
12
12
  "args": [
13
13
  "-y",
14
14
  "mcp-remote",
15
- "https://builds.mcp.cloudflare.com/sse"
15
+ "https://builds.mcp.cloudflare.com/mcp"
16
16
  ],
17
17
  "env": {
18
- "CLOUDFLARE_API_KEY": "${CLOUDFLARE_GLOBAL_API_KEY}",
19
- "CLOUDFLARE_API_TOKEN": "${CLOUDFLARE_GLOBAL_API_KEY}"
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}"
20
47
  }
21
48
  },
22
49
  "chrome-devtools": {
@@ -1 +1 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AA+BA;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAsB,OAAO,CAAC,OAAO,GAAE,WAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAqStE"}
1
+ {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AA+BA;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAsB,OAAO,CAAC,OAAO,GAAE,WAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CA2StE"}
@@ -110,17 +110,24 @@ ORG_WEBSITE=${websiteUrl}
110
110
  ORG_FOLDER=${slugify(organizationName)}
111
111
  ONE_BACKEND=off
112
112
 
113
- # Backend Configuration (only needed if ONE_BACKEND=on)
114
- # PUBLIC_CONVEX_URL=https://your-deployment.convex.cloud
115
- # CONVEX_DEPLOYMENT=prod:your-deployment-name
113
+ # Convex Backend (placeholder - update with your deployment)
114
+ PUBLIC_CONVEX_URL=https://your-deployment.convex.cloud
115
+ CONVEX_DEPLOYMENT=dev:your-deployment
116
116
  `;
117
117
  await fs.writeFile(path.join(webPath, ".env.local"), envContent, "utf-8");
118
118
  spinner.succeed("Web template cloned and configured!");
119
119
  websiteCloned = true;
120
120
  }
121
121
  catch (error) {
122
- spinner.fail("Failed to clone web template");
123
- console.log(chalk.yellow(`\n⚠ You can clone manually later:\n git clone https://github.com/one-ie/web.git web\n`));
122
+ // Check if web directory was created despite error
123
+ if (await fs.pathExists(webPath)) {
124
+ spinner.succeed("Web template cloned successfully!");
125
+ websiteCloned = true;
126
+ }
127
+ else {
128
+ spinner.fail("Failed to clone web template");
129
+ console.log(chalk.yellow(`\n⚠ You can clone manually later:\n git clone https://github.com/one-ie/web.git web\n`));
130
+ }
124
131
  }
125
132
  }
126
133
  }
@@ -218,7 +225,7 @@ ONE_BACKEND=off
218
225
  spinner.succeed(`Updated .gitignore to exclude /${installationName}/`);
219
226
  // Launch Claude Code (unless skipped)
220
227
  if (!options.skipClaudeLaunch) {
221
- await launchClaude(`/${installationName}`);
228
+ await launchClaude(`/${installationName}`, websiteCloned);
222
229
  }
223
230
  else {
224
231
  console.log(chalk.green("\n✅ Setup Complete!\n"));