codex-mirror 0.1.5 → 0.1.6

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 (2) hide show
  1. package/README.md +36 -20
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -49,50 +49,65 @@ npm run build
49
49
  node dist/cli.js
50
50
  ```
51
51
 
52
- From the TUI:
53
- 1. Choose `Quick Clone` or `New Clone Wizard`.
52
+ ## Demo
53
+
54
+ ![codex-mirror demo](docs/assets/demo.gif)
55
+
56
+ ```bash
57
+ npx codex-mirror@latest
58
+ ```
59
+
60
+ `GIF source path:` `docs/assets/demo.gif`
61
+ `Direct link (for npm):` `https://raw.githubusercontent.com/Mohit-Patil/codex-mirror/main/docs/assets/demo.gif`
62
+
63
+ From the TUI main menu:
64
+ 1. Choose `Quick Clone`.
54
65
  2. Optionally run login for that clone.
55
66
  3. Use `Manage Clones` to run, update, remove.
56
67
  4. Use `Diagnostics` for health checks.
68
+ 5. Use `Shell PATH Setup` to auto-configure wrapper discovery.
69
+ 6. Use `Star on GitHub` to open the repository page.
70
+ 7. Choose `Exit` for a final `Star and Exit` / `Skip and Exit` prompt.
57
71
 
58
72
  ## CLI usage
59
73
 
60
- Use `codex-mirror` (or `npx codex-mirror@latest`) instead of `node dist/cli.js` when running the published package.
74
+ Examples below use the installed command.
75
+ For local development from source, replace `codex-mirror` with `node dist/cli.js`.
61
76
 
62
77
  ```bash
63
78
  # Create clone (default root: ~/.codex-mirror/clones/<name>)
64
- node dist/cli.js create --name work
79
+ codex-mirror create --name work
65
80
 
66
81
  # List clones
67
- node dist/cli.js list
68
- node dist/cli.js list --full
69
- node dist/cli.js list --json
82
+ codex-mirror list
83
+ codex-mirror list --full
84
+ codex-mirror list --json
70
85
 
71
86
  # Run clone
72
- node dist/cli.js run work
73
- node dist/cli.js run work -- --model o3
87
+ codex-mirror run work
88
+ codex-mirror run work -- --model o3
74
89
 
75
90
  # Login/logout
76
- node dist/cli.js login work
77
- node dist/cli.js logout work
91
+ codex-mirror login work
92
+ codex-mirror logout work
78
93
 
79
94
  # Health checks
80
- node dist/cli.js doctor
81
- node dist/cli.js doctor work --json
95
+ codex-mirror doctor
96
+ codex-mirror doctor work --json
82
97
 
83
98
  # Updates
84
- node dist/cli.js update work
85
- node dist/cli.js update --all
99
+ codex-mirror update work
100
+ codex-mirror update --all
86
101
 
87
102
  # Remove clone
88
- node dist/cli.js remove work
103
+ codex-mirror remove work
89
104
 
90
105
  # Reinstall wrappers
91
- node dist/cli.js wrapper install
106
+ codex-mirror wrapper install
92
107
 
93
108
  # Check/setup PATH for wrapper commands
94
- node dist/cli.js path status
95
- node dist/cli.js path setup
109
+ codex-mirror path status
110
+ codex-mirror path setup
96
111
  ```
97
112
 
98
113
  ## Data layout
@@ -177,4 +192,5 @@ npm run check
177
192
  ```bash
178
193
  git push origin main --follow-tags
179
194
  ```
180
- 4. Tag trigger `v*` will run `.github/workflows/release.yml` and publish to npm.
195
+ 4. Tag trigger `v*` runs `.github/workflows/release.yml` and publishes to npm.
196
+ 5. Release workflow enforces `tag version == package.json version` (for example: `v0.1.5` requires `"version": "0.1.5"`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codex-mirror",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Local multi-account manager for Codex CLI with isolated runtime/auth state and TUI clone management.",
5
5
  "type": "module",
6
6
  "files": [