oneie 3.6.24 → 3.6.25
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-backend.md +2 -2
- package/.claude/agents/agent-designer.md +1 -0
- package/.claude/agents/agent-director.md +71 -71
- package/.claude/agents/agent-onboard.md +1 -1
- package/.claude/agents/agent-ontology.md +2 -2
- package/.claude/agents/agent-ops.md +58 -38
- package/.claude/agents/agent-sales.md +3 -3
- package/.claude/commands/cascade.md +21 -21
- package/.claude/commands/create.md +19 -19
- package/.claude/commands/deploy.md +82 -104
- package/.claude/commands/mcp-on.md +191 -0
- package/.claude/commands/one.md +267 -92
- package/.claude/commands/plan.md +17 -17
- package/.claude/commands/release.md +65 -14
- package/.claude/hooks/PULL-BEFORE-PUSH-GUIDE.md +473 -0
- package/.claude/hooks/README-knowledge-hooks.md +451 -0
- package/.claude/hooks/README-root-cleanup.md +200 -0
- package/.claude/hooks/README.md +284 -0
- package/.claude/hooks/__pycache__/done.cpython-313.pyc +0 -0
- package/.claude/hooks/__pycache__/todo.cpython-313.pyc +0 -0
- package/.claude/hooks/check-filenames.py +177 -0
- package/.claude/hooks/clean-post.py +468 -0
- package/.claude/hooks/clean-pre.py +393 -0
- package/.claude/hooks/clean-root-markdown.sh +73 -0
- package/.claude/hooks/commit-push.sh +95 -0
- package/.claude/hooks/done.py +236 -0
- package/.claude/hooks/format-hook.sh +163 -0
- package/.claude/hooks/hook-logger.sh +173 -0
- package/.claude/hooks/knowledge-post.py +355 -0
- package/.claude/hooks/knowledge-pre.py +245 -0
- package/.claude/hooks/mcp-on.sh +134 -0
- package/.claude/hooks/notification-hook.sh +279 -0
- package/.claude/hooks/push.sh +101 -0
- package/.claude/hooks/release-cli.sh +16 -8
- package/.claude/hooks/root-cleanup.py +217 -0
- package/.claude/hooks/security-hook.sh +397 -0
- package/.claude/hooks/tag-all-docs.py +464 -0
- package/.claude/hooks/test-validate-ontology.sh +170 -0
- package/.claude/hooks/todo.py +368 -0
- package/.claude/hooks/track-changes.sh +101 -0
- package/.claude/hooks/validate-ontology-structure-summary.md +243 -0
- package/.claude/hooks/validate-ontology-structure.py +518 -0
- package/.claude/skills/INDEX.md +1 -1
- package/.claude/skills/ontology/README.md +1 -1
- package/package.json +1 -1
- package/.claude/commands/mcp-toggle.md +0 -93
- package/.claude/commands/npx.md +0 -84
package/.claude/commands/npx.md
DELETED
|
@@ -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_
|