@iamdevlinph/codex-kit 1.0.14 → 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
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` |
|
|
@@ -123,6 +123,11 @@ conditional procedures into validated project skills.
|
|
|
123
123
|
|
|
124
124
|
- Follow the repository's organization and naming. Prefer focused files and
|
|
125
125
|
split mixed responsibilities when readability improves.
|
|
126
|
+
- Use intent-revealing domain names. A reader should understand what a variable
|
|
127
|
+
contains or what a helper guarantees at the call site without opening its
|
|
128
|
+
implementation. Avoid vague transformation names such as `normalized`,
|
|
129
|
+
`processed`, `result`, or `data` when a value- or behavior-specific name is
|
|
130
|
+
available.
|
|
126
131
|
- Do not reorganize feature directories, shared modules, routes, server
|
|
127
132
|
boundaries, schemas, or state patterns unless requested and approved.
|
|
128
133
|
|
|
@@ -8,9 +8,10 @@ description: Reconcile a refreshed TEMPLATE_AGENTS.md with a project's AGENTS.md
|
|
|
8
8
|
## Procedure
|
|
9
9
|
|
|
10
10
|
1. Inspect `AGENTS.md`, `TEMPLATE_AGENTS.md`, `.codex-kit-state.json`, the
|
|
11
|
-
project's existing `.agents/skills`, and `codex-kit project status`.
|
|
12
|
-
|
|
13
|
-
isolate the actual template
|
|
11
|
+
project's existing `.agents/skills`, and `codex-kit project status`. Record
|
|
12
|
+
the initial status before making changes. If a codex-kit template backup
|
|
13
|
+
exists, compare it with the refreshed template to isolate the actual template
|
|
14
|
+
change.
|
|
14
15
|
2. Preserve the existing `AGENTS.md` organization and all project-specific
|
|
15
16
|
adaptations. Merge only reusable template guidance that applies to this
|
|
16
17
|
repository; report conflicts between local and template rules, and do not
|
|
@@ -25,8 +26,14 @@ description: Reconcile a refreshed TEMPLATE_AGENTS.md with a project's AGENTS.md
|
|
|
25
26
|
unintended template edits. Validate every created or modified project skill
|
|
26
27
|
with an available skill validator and run the repository's documented checks.
|
|
27
28
|
Do not mark the template applied until reconciliation and validation succeed.
|
|
28
|
-
6.
|
|
29
|
-
|
|
29
|
+
6. Never run `codex-kit project sync` on the user's behalf or recommend it for
|
|
30
|
+
an unreleased local template edit. The user should run `project sync` only
|
|
31
|
+
after updating codex-kit to a released version containing the template
|
|
32
|
+
change. Run `codex-kit project mark-applied` only when the task follows a
|
|
33
|
+
user-run `project init` or eligible `project sync`, the initial status
|
|
34
|
+
recorded in step 1 was `reconciliation required`, and reconciliation and
|
|
35
|
+
validation succeeded. Otherwise leave project state unchanged and report the
|
|
36
|
+
remaining release, codex-kit update, user-run sync, and reconciliation steps.
|
|
30
37
|
7. Summarize added, updated, skipped, adapted, and skill-moved guidance, with
|
|
31
38
|
reasons. Identify genuinely reusable, generalized changes that should be
|
|
32
39
|
promoted to codex-kit's canonical template and report the target section and
|
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};
|