@iamdevlinph/codex-kit 1.0.15 → 1.0.16
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 +2 -2
- package/bin/codex-kit.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -129,8 +129,8 @@ hooks. Modified managed files are preserved unless `--force` is supplied.
|
|
|
129
129
|
|
|
130
130
|
| Action | Command |
|
|
131
131
|
| --- | --- |
|
|
132
|
-
| Show command help | `codex-kit --help` |
|
|
133
|
-
| Print the installed version | `codex-kit --version` |
|
|
132
|
+
| Show command help | `codex-kit -h` or `codex-kit --help` |
|
|
133
|
+
| Print the installed version | `codex-kit -v` or `codex-kit --version` |
|
|
134
134
|
| Install global agents and routing | `codex-kit global install` |
|
|
135
135
|
| Configure the orchestrator | `codex-kit global configure` |
|
|
136
136
|
| Inspect global configuration | `codex-kit global list` |
|
package/bin/codex-kit.js
CHANGED
|
@@ -70,8 +70,8 @@ Commands:
|
|
|
70
70
|
project status Show whether template changes still need reconciliation.
|
|
71
71
|
project mark-applied Record the current template as reconciled with AGENTS.md.
|
|
72
72
|
version check Compare the installed version with the latest npm release.
|
|
73
|
-
--help
|
|
74
|
-
--version
|
|
73
|
+
-h, --help Show this help.
|
|
74
|
+
-v, --version Print the installed version.
|
|
75
75
|
|
|
76
76
|
Options by command:
|
|
77
77
|
global install
|
|
@@ -100,4 +100,4 @@ Examples:
|
|
|
100
100
|
codex-kit global install --force
|
|
101
101
|
codex-kit global configure --reasoning-effort low --plan-reasoning-effort high
|
|
102
102
|
codex-kit project sync --cwd /path/to/project --force
|
|
103
|
-
codex-kit project status --cwd /path/to/project`)}function Y(o=process.argv.slice(2)){let e=we(o);if(e.positionals.includes("--version")){console.log(p.version);return}if(!e.positionals.length||e.positionals.includes("--help")){ao();return}let[t,n]=e.positionals;if(t==="global"&&n==="install")me(e);else if(t==="global"&&n==="configure")z(e);else if(t==="global"&&n==="list")ue(e);else if(t==="global"&&n==="uninstall")he(e);else if(t==="project"&&(n==="init"||n==="sync"))be(e);else if(t==="project"&&n==="status")ye(e);else if(t==="project"&&n==="mark-applied")ve(e);else if(t==="version"&&n==="check")xe();else throw new Error(`Unknown command: ${e.positionals.join(" ")}`)}if(process.argv[1]&&$e(lo(process.argv[1]))===$e(co(import.meta.url)))try{Y()}catch(o){console.error(`error: ${o instanceof Error?o.message:String(o)}`),process.exitCode=1}export{Y as main};
|
|
103
|
+
codex-kit project status --cwd /path/to/project`)}function Y(o=process.argv.slice(2)){let e=we(o);if(e.positionals.includes("--version")||e.positionals.includes("-v")){console.log(p.version);return}if(!e.positionals.length||e.positionals.includes("--help")||e.positionals.includes("-h")){ao();return}let[t,n]=e.positionals;if(t==="global"&&n==="install")me(e);else if(t==="global"&&n==="configure")z(e);else if(t==="global"&&n==="list")ue(e);else if(t==="global"&&n==="uninstall")he(e);else if(t==="project"&&(n==="init"||n==="sync"))be(e);else if(t==="project"&&n==="status")ye(e);else if(t==="project"&&n==="mark-applied")ve(e);else if(t==="version"&&n==="check")xe();else throw new Error(`Unknown command: ${e.positionals.join(" ")}`)}if(process.argv[1]&&$e(lo(process.argv[1]))===$e(co(import.meta.url)))try{Y()}catch(o){console.error(`error: ${o instanceof Error?o.message:String(o)}`),process.exitCode=1}export{Y as main};
|