@codextheme/cli 0.1.0 → 0.1.1

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
@@ -3,21 +3,21 @@
3
3
  Fixed-version, one-command curated themes for Codex Desktop on macOS.
4
4
 
5
5
  ```sh
6
- npx --yes @codextheme/cli@0.1.0 apply midnight-circuit
6
+ npx --yes @codextheme/cli@0.1.1 apply cathedral-nocturne
7
7
  ```
8
8
 
9
- The package bundles exactly three original themes and the exact runtime dependency required to apply them. It does not download themes, run install scripts, use `sudo`, or modify the Codex application bundle.
9
+ Version 0.1.1 bundles three new original Gothic Worlds themes and keeps the three 0.1.0 theme slugs for backward compatibility. It does not download themes, run install scripts, use `sudo`, or modify the Codex application bundle.
10
10
 
11
11
  After restarting Codex, reapply the active theme with:
12
12
 
13
13
  ```sh
14
- npx --yes @codextheme/cli@0.1.0 reapply
14
+ npx --yes @codextheme/cli@0.1.1 reapply
15
15
  ```
16
16
 
17
17
  Restore the official appearance with:
18
18
 
19
19
  ```sh
20
- npx --yes @codextheme/cli@0.1.0 restore
20
+ npx --yes @codextheme/cli@0.1.1 restore
21
21
  ```
22
22
 
23
23
  Requirements: macOS, Node.js 22.4+, and Codex Desktop. A running Codex process is never closed or reopened without an explicit `y` confirmation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codextheme/cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "One-command curated themes for Codex Desktop on macOS.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
package/src/catalog.mjs CHANGED
@@ -4,6 +4,9 @@ export const CATALOG = Object.freeze({
4
4
  "midnight-circuit": Object.freeze({ slug: "midnight-circuit", name: "Midnight Circuit" }),
5
5
  "crimson-eclipse": Object.freeze({ slug: "crimson-eclipse", name: "Crimson Eclipse" }),
6
6
  "aurora-glass": Object.freeze({ slug: "aurora-glass", name: "Aurora Glass" }),
7
+ "cathedral-nocturne": Object.freeze({ slug: "cathedral-nocturne", name: "Cathedral Nocturne" }),
8
+ "crimson-procession": Object.freeze({ slug: "crimson-procession", name: "Crimson Procession" }),
9
+ "silver-reliquary": Object.freeze({ slug: "silver-reliquary", name: "Silver Reliquary" }),
7
10
  });
8
11
 
9
12
  export function getCatalogEntry(slug) {
package/src/main.mjs CHANGED
@@ -4,9 +4,9 @@ import { confirmRestart } from "./prompt.mjs";
4
4
  import { runtime as productionRuntime } from "./runtime.mjs";
5
5
  import { createStateStore } from "./state.mjs";
6
6
 
7
- export const VERSION = "0.1.0";
8
- const REAPPLY = "npx --yes @codextheme/cli@0.1.0 reapply";
9
- const RESTORE = "npx --yes @codextheme/cli@0.1.0 restore";
7
+ export const VERSION = "0.1.1";
8
+ const REAPPLY = "npx --yes @codextheme/cli@0.1.1 reapply";
9
+ const RESTORE = "npx --yes @codextheme/cli@0.1.1 restore";
10
10
 
11
11
  const HELP = `CodexTheme ${VERSION}
12
12
 
@@ -15,7 +15,7 @@ const HELP = `CodexTheme ${VERSION}
15
15
  codextheme reapply
16
16
  codextheme restore
17
17
 
18
- 首发主题:${Object.keys(CATALOG).join(", ")}
18
+ 可用主题:${Object.keys(CATALOG).join(", ")}
19
19
  `;
20
20
 
21
21
  function usage(message) {
@@ -64,7 +64,7 @@ export async function run(argv, dependencies = {}) {
64
64
  try {
65
65
  const parsed = validateCommand(argv);
66
66
  if ((dependencies.platform ?? process.platform) !== "darwin") {
67
- throw new CliError("E_PLATFORM", "0.1.0 首发版仅支持 macOS 上的 Codex Desktop。");
67
+ throw new CliError("E_PLATFORM", "0.1.1 首发版仅支持 macOS 上的 Codex Desktop。");
68
68
  }
69
69
  const services = {
70
70
  runtime: dependencies.runtime ?? productionRuntime,