oneie 3.6.24 → 3.6.26

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 (73) hide show
  1. package/.claude/agents/agent-backend.md +2 -2
  2. package/.claude/agents/agent-builder.md +226 -198
  3. package/.claude/agents/agent-designer.md +167 -11
  4. package/.claude/agents/agent-director.md +180 -112
  5. package/.claude/agents/agent-frontend.md +154 -8
  6. package/.claude/agents/agent-onboard.md +1 -1
  7. package/.claude/agents/agent-ontology.md +2 -2
  8. package/.claude/agents/agent-ops.md +58 -38
  9. package/.claude/agents/agent-quality.md +377 -0
  10. package/.claude/agents/agent-sales.md +3 -3
  11. package/.claude/commands/cascade.md +21 -21
  12. package/.claude/commands/create.md +19 -19
  13. package/.claude/commands/deploy.md +82 -104
  14. package/.claude/commands/mcp-on.md +191 -0
  15. package/.claude/commands/one.md +267 -92
  16. package/.claude/commands/plan.md +17 -17
  17. package/.claude/commands/release.md +65 -14
  18. package/.claude/hooks/PULL-BEFORE-PUSH-GUIDE.md +473 -0
  19. package/.claude/hooks/README-knowledge-hooks.md +451 -0
  20. package/.claude/hooks/README-root-cleanup.md +200 -0
  21. package/.claude/hooks/README.md +284 -0
  22. package/.claude/hooks/__pycache__/done.cpython-313.pyc +0 -0
  23. package/.claude/hooks/__pycache__/todo.cpython-313.pyc +0 -0
  24. package/.claude/hooks/check-filenames.py +177 -0
  25. package/.claude/hooks/clean-post.py +468 -0
  26. package/.claude/hooks/clean-pre.py +393 -0
  27. package/.claude/hooks/clean-root-markdown.sh +73 -0
  28. package/.claude/hooks/commit-push.sh +95 -0
  29. package/.claude/hooks/done.py +236 -0
  30. package/.claude/hooks/format-hook.sh +163 -0
  31. package/.claude/hooks/hook-logger.sh +173 -0
  32. package/.claude/hooks/knowledge-post.py +355 -0
  33. package/.claude/hooks/knowledge-pre.py +245 -0
  34. package/.claude/hooks/mcp-on.sh +134 -0
  35. package/.claude/hooks/notification-hook.sh +279 -0
  36. package/.claude/hooks/push.sh +101 -0
  37. package/.claude/hooks/release-cli.sh +16 -8
  38. package/.claude/hooks/root-cleanup.py +217 -0
  39. package/.claude/hooks/security-hook.sh +397 -0
  40. package/.claude/hooks/tag-all-docs.py +464 -0
  41. package/.claude/hooks/test-validate-ontology.sh +170 -0
  42. package/.claude/hooks/todo.py +368 -0
  43. package/.claude/hooks/track-changes.sh +101 -0
  44. package/.claude/hooks/validate-ontology-structure-summary.md +243 -0
  45. package/.claude/hooks/validate-ontology-structure.py +518 -0
  46. package/.claude/skills/INDEX.md +1 -1
  47. package/.claude/skills/ontology/README.md +1 -1
  48. package/CLAUDE.md +105 -0
  49. package/dist/commands/agent.d.ts +18 -0
  50. package/dist/commands/agent.d.ts.map +1 -0
  51. package/dist/commands/agent.js +271 -0
  52. package/dist/commands/agent.js.map +1 -0
  53. package/dist/commands/init.js +1 -1
  54. package/dist/commands/init.js.map +1 -1
  55. package/dist/index.js +20 -0
  56. package/dist/index.js.map +1 -1
  57. package/dist/lib/agent-detection.d.ts +19 -0
  58. package/dist/lib/agent-detection.d.ts.map +1 -0
  59. package/dist/lib/agent-detection.js +87 -0
  60. package/dist/lib/agent-detection.js.map +1 -0
  61. package/dist/lib/detect.d.ts +45 -0
  62. package/dist/lib/detect.d.ts.map +1 -0
  63. package/dist/lib/detect.js +221 -0
  64. package/dist/lib/detect.js.map +1 -0
  65. package/llms.txt +257 -0
  66. package/one/knowledge/games-english.md +691 -0
  67. package/one/knowledge/games.md +1082 -0
  68. package/one/things/plans/npx-agent-safety.md +785 -0
  69. package/one/things/plans/npx-agent.md +1089 -0
  70. package/one/things/plans/remove-backend-development-from-agents.md +1331 -0
  71. package/package.json +3 -2
  72. package/.claude/commands/mcp-toggle.md +0 -93
  73. package/.claude/commands/npx.md +0 -84
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "oneie",
3
- "version": "3.6.24",
3
+ "version": "3.6.26",
4
4
  "type": "module",
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.",
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": {
7
7
  "oneie": "./dist/index.js"
8
8
  },
@@ -62,6 +62,7 @@
62
62
  "SECURITY.md",
63
63
  "TESTING-ONBOARDING.md",
64
64
  "CREATE-WEBSITE.md",
65
+ "llms.txt",
65
66
  ".mcp.json",
66
67
  "folders.yaml",
67
68
  "CLAUDE.md",
@@ -1,93 +0,0 @@
1
- # MCP Management Commands
2
-
3
- Manage MCP context usage - enable/disable MCPs on demand to save tokens.
4
-
5
- ## Usage
6
-
7
- ```bash
8
- # Show current MCP status and token usage
9
- ./scripts/mcp-toggle.sh status
10
-
11
- # Switch to minimal config (only shadcn) - saves ~10k tokens
12
- ./scripts/mcp-toggle.sh minimal
13
-
14
- # Restore all MCPs
15
- ./scripts/mcp-toggle.sh full
16
-
17
- # Backup current config
18
- ./scripts/mcp-toggle.sh backup
19
-
20
- # Restore from backup
21
- ./scripts/mcp-toggle.sh restore
22
- ```
23
-
24
- ## Available MCPs
25
-
26
- - **shadcn**: 4.7k tokens (component registry)
27
- - **cloudflare-docs**: 1.4k tokens (documentation search)
28
- - **cloudflare-builds**: 5.7k tokens (Workers builds)
29
- - **figma**: 2.0k tokens (design data)
30
- - **ide**: 1.3k tokens (VS Code integration)
31
-
32
- **Total:** ~15.1k tokens when all enabled
33
-
34
- ## Quick Commands
35
-
36
- ### Daily Development (Recommended)
37
- ```bash
38
- ./scripts/mcp-toggle.sh minimal
39
- # Only shadcn enabled, saves ~10k tokens
40
- # Restart Claude Code
41
- ```
42
-
43
- ### When Deploying to Cloudflare
44
- ```bash
45
- ./scripts/mcp-toggle.sh full
46
- # Enable all MCPs
47
- # Restart Claude Code
48
- ```
49
-
50
- ### When Designing with Figma
51
- ```bash
52
- # Manually add figma to minimal config
53
- # Or use full config temporarily
54
- ```
55
-
56
- ## Important Notes
57
-
58
- 1. **Restart Required**: After changing .mcp.json, restart Claude Code
59
- 2. **Backup Created**: Script automatically backs up before changes
60
- 3. **Token Savings**: Minimal config saves ~10k tokens (66% reduction)
61
- 4. **Default Minimal**: Use minimal config for daily work, switch to full only when needed
62
-
63
- ## Workflow
64
-
65
- ```bash
66
- # Start of day: Go minimal
67
- ./scripts/mcp-toggle.sh minimal
68
- # Restart Claude Code
69
- # Work with ~5k MCP tokens instead of 15k
70
-
71
- # When you need Cloudflare tools:
72
- ./scripts/mcp-toggle.sh full
73
- # Restart Claude Code
74
- # All MCPs available
75
-
76
- # End of day: Back to minimal
77
- ./scripts/mcp-toggle.sh minimal
78
- ```
79
-
80
- ## Manual Override
81
-
82
- Edit `.mcp.json` directly to enable specific MCPs:
83
-
84
- ```json
85
- {
86
- "mcpServers": {
87
- "shadcn": { ... }, // Always keep
88
- "cloudflare-docs": { ... } // Add when needed
89
- }
90
- }
91
- ```
92
-
93
- Restart Claude Code after editing.
@@ -1,84 +0,0 @@
1
- # /npx - CLI Release Command
2
-
3
- ⚡ **Automated ONE CLI Release & Publishing**
4
-
5
- _Execute the `./.claude/hooks/release-cli.sh` script to sync documentation, manage versioning, and publish to npm._
6
-
7
- ## Quick Start
8
-
9
- ```bash
10
- # Patch release (bug fix)
11
- /npx patch
12
-
13
- # Minor release (new features)
14
- /npx minor
15
-
16
- # Major release (breaking changes)
17
- /npx major
18
-
19
- # Sync files without version bump
20
- /npx sync
21
- ```
22
-
23
- ## What It Does
24
-
25
- The `/npx` command runs `./.claude/hooks/release-cli.sh` with the following workflow:
26
-
27
- ```
28
- ┌─────────────────────────────────────────────────────────────────┐
29
- │ ONE CLI Release Workflow │
30
- ├─────────────────────────────────────────────────────────────────┤
31
- │ │
32
- │ 1. Verify CLI directory exists │
33
- │ 2. Sync .claude/* → cli/.claude/ │
34
- │ 3. Sync /one/* → cli/one/ │
35
- │ 4. Copy root markdown files (CLAUDE.md, README.md, etc.) │
36
- │ 5. Version bump (patch/minor/major) - optional │
37
- │ 6. Commit changes to cli/ directory │
38
- │ 7. Build CLI package │
39
- │ 8. Verify npm credentials │
40
- │ 9. Publish to npm (oneie@<version>) │
41
- │ 10. Verify publication on npm registry │
42
- │ │
43
- └─────────────────────────────────────────────────────────────────┘
44
- ```
45
-
46
- ## Version Bump Types
47
-
48
- | Option | Purpose | Use Case |
49
- |--------|---------|----------|
50
- | `patch` | Bug fixes (v1.2.3 → v1.2.4) | Fix bugs, docs updates |
51
- | `minor` | New features (v1.2.3 → v1.3.0) | New functionality |
52
- | `major` | Breaking changes (v1.2.3 → v2.0.0) | API changes, major refactors |
53
- | `sync` | No version bump | Sync files only, no publish |
54
-
55
- ## Files Synced
56
-
57
- **From root to cli/:**
58
- - `.claude/*` → Full CLI configuration
59
- - `/one/*` → Platform documentation (41 files)
60
- - `CLAUDE.md` → Project instructions
61
- - `README.md` → Platform overview
62
- - `LICENSE.md` → Legal terms
63
- - `SECURITY.md` → Security policy
64
- - `AGENTS.md` → Agent coordination rules
65
-
66
- ## npm Registry
67
-
68
- **Published to:** [npmjs.com/package/oneie](https://www.npmjs.com/package/oneie)
69
-
70
- **Install latest:**
71
- ```bash
72
- npx oneie@latest --version
73
- ```
74
-
75
- ## Prerequisites
76
-
77
- - npm logged in (`npm login`)
78
- - cli/ directory exists with package.json
79
- - Node.js and npm installed
80
- - write access to oneie npm package
81
-
82
- ---
83
-
84
- _Automates ONE CLI synchronization, versioning, and npm publishing_