@technomoron/agent-run 0.99.24 → 0.99.25
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/CHANGES +10 -0
- package/README.md +56 -30
- package/dist/agent-run.js +13 -3213
- package/dist/checks.js +110 -0
- package/dist/cli.js +369 -0
- package/dist/commands.js +291 -0
- package/dist/config-tree.js +170 -0
- package/dist/constants.js +62 -0
- package/dist/defaults.js +408 -0
- package/dist/guards.js +163 -0
- package/dist/manifest.js +190 -0
- package/dist/model.js +2 -0
- package/dist/process.js +208 -0
- package/dist/project.js +316 -0
- package/dist/renderer.js +441 -0
- package/dist/templates.js +203 -0
- package/dist/tools.js +93 -0
- package/dist/utils.js +117 -0
- package/dist/walk-tree.js +24 -0
- package/examples/basic-config/README.md +3 -3
- package/examples/basic-config/agent-config/agent-run.defaults.jsonc +38 -0
- package/examples/basic-config/agent-config/global/tool-templates/AGENTS.md.njk +1 -1
- package/examples/basic-config/agent-config/starter/basic-project/agent-run.jsonc +1 -21
- package/package.json +1 -1
package/CHANGES
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
CHANGES
|
|
2
2
|
=======
|
|
3
3
|
|
|
4
|
+
Version 0.99.25 (2026-07-11)
|
|
5
|
+
----------------------------
|
|
6
|
+
* Add config-root `agent-run.defaults.jsonc` inheritance so project manifests
|
|
7
|
+
contain only overrides, with nested-object merging and array replacement.
|
|
8
|
+
* Stop creating empty local templates and override directories, require an
|
|
9
|
+
explicit sparse profile marker for updates and tool runs, and keep `edit` as
|
|
10
|
+
the command that creates local instructions.
|
|
11
|
+
* Split the TypeScript CLI into focused parsing, configuration, rendering,
|
|
12
|
+
project-discovery, checking, process, and tool-runtime modules.
|
|
13
|
+
|
|
4
14
|
Version 0.99.24 (2026-07-11)
|
|
5
15
|
----------------------------
|
|
6
16
|
* Allow failed tag releases to be retried through a manual workflow dispatch,
|
package/README.md
CHANGED
|
@@ -19,11 +19,12 @@ Example:
|
|
|
19
19
|
```text
|
|
20
20
|
~/source/
|
|
21
21
|
agent-config/
|
|
22
|
+
agent-run.defaults.jsonc
|
|
22
23
|
org/
|
|
23
24
|
my-api/
|
|
24
25
|
agent-run.jsonc
|
|
25
|
-
local.md.njk
|
|
26
|
-
overrides/
|
|
26
|
+
local.md.njk # optional
|
|
27
|
+
overrides/ # optional
|
|
27
28
|
live/
|
|
28
29
|
CLAUDE.md
|
|
29
30
|
.claude/
|
|
@@ -48,8 +49,9 @@ the agent config tree.
|
|
|
48
49
|
|
|
49
50
|
## File Roles
|
|
50
51
|
|
|
51
|
-
- `agent-run.jsonc`: profile
|
|
52
|
-
- `
|
|
52
|
+
- `agent-run.defaults.jsonc`: config-root defaults shared by every profile
|
|
53
|
+
- `agent-run.jsonc`: sparse profile manifest and profile-discovery marker
|
|
54
|
+
- `local.md.njk`: optional project-specific instructions
|
|
53
55
|
- `overrides/`: optional per-profile template overrides
|
|
54
56
|
- `live/memories/codex-home/AGENTS.md`: generated Codex instructions
|
|
55
57
|
- `live/memories/codex-home/config.toml`: generated Codex config
|
|
@@ -57,7 +59,30 @@ the agent config tree.
|
|
|
57
59
|
- `live/CLAUDE.md`: generated Claude instructions
|
|
58
60
|
- `live/.claude/`: generated Claude settings and local plugin skills
|
|
59
61
|
|
|
60
|
-
Edit
|
|
62
|
+
Edit only the root defaults and profile overrides that differ. `agent-run` keeps
|
|
63
|
+
generated files in sync.
|
|
64
|
+
|
|
65
|
+
## Manifest Defaults
|
|
66
|
+
|
|
67
|
+
Manifest values are resolved in this order:
|
|
68
|
+
|
|
69
|
+
1. built-in defaults
|
|
70
|
+
2. `<config-root>/agent-run.defaults.jsonc`
|
|
71
|
+
3. `<config-root>/<profile>/agent-run.jsonc`
|
|
72
|
+
|
|
73
|
+
Nested manifest objects are merged. Arrays such as `checks`, `agent.includes`,
|
|
74
|
+
and `skills.install` replace the inherited array instead of being appended.
|
|
75
|
+
The profile name is always inferred from project mapping; the root defaults file
|
|
76
|
+
must not set `profile`.
|
|
77
|
+
|
|
78
|
+
A profile with no differences from the root defaults needs only this marker:
|
|
79
|
+
|
|
80
|
+
```json
|
|
81
|
+
{}
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
`local.md.njk` and `overrides/` are not created unless they contain actual
|
|
85
|
+
profile-specific configuration.
|
|
61
86
|
|
|
62
87
|
## Profile Resolution
|
|
63
88
|
|
|
@@ -153,12 +178,9 @@ Initialize mapped files for the current repo:
|
|
|
153
178
|
agent-run init
|
|
154
179
|
```
|
|
155
180
|
|
|
156
|
-
This creates
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
- `agent-run.jsonc`
|
|
160
|
-
- `local.md.njk`
|
|
161
|
-
- `overrides/`
|
|
181
|
+
This creates `<config-root>/agent-run.defaults.jsonc` when needed and a minimal
|
|
182
|
+
`agent-run.jsonc` marker for the mapped profile. It does not create empty local
|
|
183
|
+
instruction or override files.
|
|
162
184
|
|
|
163
185
|
Edit the source file for the current repo:
|
|
164
186
|
|
|
@@ -166,8 +188,8 @@ Edit the source file for the current repo:
|
|
|
166
188
|
agent-run edit
|
|
167
189
|
```
|
|
168
190
|
|
|
169
|
-
This creates
|
|
170
|
-
|
|
191
|
+
This creates `local.md.njk` when needed, syncs generated files, then opens it in
|
|
192
|
+
your editor.
|
|
171
193
|
|
|
172
194
|
Regenerate the generated files for the current repo:
|
|
173
195
|
|
|
@@ -175,6 +197,10 @@ Regenerate the generated files for the current repo:
|
|
|
175
197
|
agent-run update
|
|
176
198
|
```
|
|
177
199
|
|
|
200
|
+
`update` requires an existing profile marker or local/legacy instruction file;
|
|
201
|
+
it does not silently scaffold an unconfigured project. Use `agent-run init` or
|
|
202
|
+
the tool command's `--create` option first.
|
|
203
|
+
|
|
178
204
|
Regenerate every profile under the config root without requiring matching code
|
|
179
205
|
checkouts:
|
|
180
206
|
|
|
@@ -193,15 +219,15 @@ agent-run codex --generate
|
|
|
193
219
|
agent-run claude --generate
|
|
194
220
|
```
|
|
195
221
|
|
|
196
|
-
This reads
|
|
197
|
-
|
|
222
|
+
This reads the root defaults, sparse profile manifest, and Nunjucks templates,
|
|
223
|
+
then rewrites generated files:
|
|
198
224
|
|
|
199
|
-
- `CLAUDE.md`
|
|
200
|
-
- `memories/codex-home/AGENTS.md`
|
|
201
|
-
- `memories/codex-home/config.toml`
|
|
202
|
-
- `memories/codex-home/skills/**`
|
|
203
|
-
-
|
|
204
|
-
- `bin/**`
|
|
225
|
+
- `live/CLAUDE.md`
|
|
226
|
+
- `live/memories/codex-home/AGENTS.md`
|
|
227
|
+
- `live/memories/codex-home/config.toml`
|
|
228
|
+
- `live/memories/codex-home/skills/**`
|
|
229
|
+
- `live/.claude/**`
|
|
230
|
+
- `live/bin/**`
|
|
205
231
|
|
|
206
232
|
Per-profile override templates can be placed in:
|
|
207
233
|
|
|
@@ -211,10 +237,10 @@ Per-profile override templates can be placed in:
|
|
|
211
237
|
## Starter Config
|
|
212
238
|
|
|
213
239
|
A complete starter lives in `examples/basic-config`. It includes a minimal
|
|
214
|
-
project, `.agent-run.env`,
|
|
215
|
-
profile-local templates, skill templates, a personal memory skill,
|
|
216
|
-
skill overrides, tool config overrides, guardrails, checks, and
|
|
217
|
-
runtime paths.
|
|
240
|
+
project, `.agent-run.env`, root manifest defaults, global templates and
|
|
241
|
+
snippets, profile-local templates, skill templates, a personal memory skill,
|
|
242
|
+
profile skill overrides, tool config overrides, guardrails, checks, and
|
|
243
|
+
generated runtime paths.
|
|
218
244
|
|
|
219
245
|
To copy the packaged starter config root into your default config location:
|
|
220
246
|
|
|
@@ -264,11 +290,11 @@ Migrate an existing config tree to the manifest/template layout:
|
|
|
264
290
|
agent-run migrate-config ~/.agent-config
|
|
265
291
|
```
|
|
266
292
|
|
|
267
|
-
This preserves `AGENTS-MODS.md`, creates `local.md.njk
|
|
268
|
-
`
|
|
269
|
-
review files into `reviews/`, moves loose
|
|
270
|
-
and moves old Codex runtime files into
|
|
271
|
-
|
|
293
|
+
This preserves `AGENTS-MODS.md`, creates `local.md.njk` and a sparse
|
|
294
|
+
`agent-run.jsonc` marker for legacy profiles, creates the root defaults and
|
|
295
|
+
`global/` templates, moves loose review files into `reviews/`, moves loose
|
|
296
|
+
`memory*.md` files into `memories/`, and moves old Codex runtime files into
|
|
297
|
+
`live/memories/codex-home` without overwriting existing files.
|
|
272
298
|
|
|
273
299
|
## Systemd Jobs
|
|
274
300
|
|