@iamdevlinph/codex-kit 1.0.1 → 1.0.2

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 CHANGED
@@ -12,13 +12,18 @@ Codex model configuration; configuration is a separate, explicit command.
12
12
 
13
13
  ## Install on a device
14
14
 
15
- No npm or GitHub login is required:
15
+ No npm or GitHub login is required. For regular use, install the CLI globally:
16
16
 
17
17
  ```sh
18
- pnpm dlx @iamdevlinph/codex-kit@latest global install
19
- pnpm dlx @iamdevlinph/codex-kit@latest global configure
18
+ pnpm add --global @iamdevlinph/codex-kit@latest
19
+ codex-kit global install
20
+ codex-kit global configure
20
21
  ```
21
22
 
23
+ `npm install --global @iamdevlinph/codex-kit@latest` works as an alternative.
24
+ For one-off use without a global installation, prefix a command with
25
+ `pnpm dlx @iamdevlinph/codex-kit@latest`.
26
+
22
27
  `global install` copies reusable agents to `${CODEX_HOME:-~/.codex}` and
23
28
  maintains a marked routing section in the global `AGENTS.md`.
24
29
 
@@ -60,6 +65,8 @@ unmanaged `commit-pusher.toml` is reported but never silently deleted.
60
65
 
61
66
  | Action | Command |
62
67
  | --- | --- |
68
+ | Show command help | `codex-kit --help` |
69
+ | Print the installed version | `codex-kit --version` |
63
70
  | Install global agents and routing | `codex-kit global install` |
64
71
  | Configure the orchestrator | `codex-kit global configure` |
65
72
  | Inspect global configuration | `codex-kit global list` |
package/bin/codex-kit.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { copyFileSync, existsSync, mkdirSync, readFileSync, readdirSync, renameSync, rmSync, statSync, writeFileSync, } from "node:fs";
2
+ import { copyFileSync, existsSync, mkdirSync, readFileSync, realpathSync, readdirSync, renameSync, rmSync, statSync, writeFileSync, } from "node:fs";
3
3
  import { createHash } from "node:crypto";
4
4
  import { spawnSync } from "node:child_process";
5
5
  import { homedir } from "node:os";
@@ -653,6 +653,7 @@ Usage:
653
653
  codex-kit project status [--cwd PATH]
654
654
  codex-kit project mark-applied [--cwd PATH]
655
655
  codex-kit version check
656
+ codex-kit --help
656
657
  codex-kit --version
657
658
 
658
659
  Global configure defaults to gpt-5.6-sol with high reasoning and edits only
@@ -685,7 +686,8 @@ export function main(argv = process.argv.slice(2)) {
685
686
  return checkVersion();
686
687
  throw new Error(`Unknown command: ${options.positionals.join(" ")}`);
687
688
  }
688
- if (process.argv[1] && resolve(process.argv[1]) === fileURLToPath(import.meta.url)) {
689
+ if (process.argv[1] &&
690
+ realpathSync(resolve(process.argv[1])) === realpathSync(fileURLToPath(import.meta.url))) {
689
691
  try {
690
692
  main();
691
693
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iamdevlinph/codex-kit",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Portable Codex subagents and project AGENTS.md defaults.",
5
5
  "type": "module",
6
6
  "bin": {