@unifocl/codex-plugin 0.0.0 → 2.13.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/README.md +11 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,27 +31,20 @@ The low-level behavior continues to live in:
|
|
|
31
31
|
|
|
32
32
|
No mutation logic is duplicated in this package.
|
|
33
33
|
|
|
34
|
-
##
|
|
34
|
+
## Installation Strategy (No source checkout required)
|
|
35
35
|
|
|
36
36
|
Not all users clone this repository, so distribution should be release-based:
|
|
37
37
|
|
|
38
|
-
1. **Primary channel:
|
|
38
|
+
1. **Primary channel: built-in CLI command**
|
|
39
|
+
- `unifocl agent install codex`
|
|
40
|
+
- Also available: `unifocl agent install claude`
|
|
41
|
+
- Benefit: works for Homebrew/winget/release-binary users with no Node.js requirement.
|
|
42
|
+
|
|
43
|
+
2. **npm package (publisher and advanced fallback path)**
|
|
39
44
|
- Publish: `@unifocl/codex-plugin`
|
|
40
|
-
-
|
|
41
|
-
- install script that runs Codex MCP registration
|
|
42
|
-
- bundled skill templates/playbooks
|
|
43
|
-
- One-liner install target:
|
|
45
|
+
- Optional user flow:
|
|
44
46
|
- `npm install -g @unifocl/codex-plugin`
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
2. **Binary channel: built-in CLI command (recommended follow-up)**
|
|
48
|
-
- Add command to `unifocl` binary:
|
|
49
|
-
- `unifocl agent install codex`
|
|
50
|
-
- This command:
|
|
51
|
-
- detects Codex config location
|
|
52
|
-
- registers `mcpServers.unifocl`
|
|
53
|
-
- installs/updates unifocl skill files under `$CODEX_HOME/skills/unifocl`
|
|
54
|
-
- Benefit: works for Homebrew/winget/release-binary users with no Node.js requirement.
|
|
47
|
+
- `unifocl-codex-plugin install`
|
|
55
48
|
|
|
56
49
|
3. **GitHub release asset fallback**
|
|
57
50
|
- Ship a small cross-platform installer script in release assets:
|
|
@@ -82,13 +75,13 @@ src/unifocl.codex-plugin/
|
|
|
82
75
|
|
|
83
76
|
## Minimal install behavior
|
|
84
77
|
|
|
85
|
-
|
|
78
|
+
`unifocl agent install codex` should execute equivalent of:
|
|
86
79
|
|
|
87
80
|
```bash
|
|
88
81
|
scripts/setup-mcp-agents.sh --workspace <detected-or-provided-workspace> --codex
|
|
89
82
|
```
|
|
90
83
|
|
|
91
|
-
|
|
84
|
+
When using the npm package installer, copy bundled skill files to:
|
|
92
85
|
|
|
93
86
|
```text
|
|
94
87
|
$CODEX_HOME/skills/unifocl/
|