@technomoron/agent-run 0.99.22 → 0.99.24
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 +29 -0
- package/README.md +33 -26
- package/dist/agent-run.js +460 -213
- package/examples/basic-config/agent-config/gitignore +17 -0
- package/examples/basic-config/agent-config/global/skills/release-package-check/SKILL.md.njk +3 -0
- package/examples/basic-config/agent-config/global/tool-templates/claude-settings.json.njk +11 -13
- package/examples/basic-config/agent-config/global/tool-templates/codex-config.toml.njk +5 -6
- package/examples/basic-config/agent-config/starter/basic-project/overrides/claude-settings.json.njk +11 -13
- package/examples/basic-config/agent-config/starter/basic-project/overrides/codex-config.toml.njk +5 -6
- package/ops/systemd/ai-tools-update.service +8 -3
- package/package.json +7 -4
- package/scripts/install-systemd-jobs.sh +0 -2
- package/scripts/update-ai-tools.sh +26 -8
package/CHANGES
CHANGED
|
@@ -1,6 +1,35 @@
|
|
|
1
1
|
CHANGES
|
|
2
2
|
=======
|
|
3
3
|
|
|
4
|
+
Version 0.99.24 (2026-07-11)
|
|
5
|
+
----------------------------
|
|
6
|
+
* Allow failed tag releases to be retried through a manual workflow dispatch,
|
|
7
|
+
and omit npm provenance when the GitHub source repository is private.
|
|
8
|
+
* Reinstall pnpm after Corepack updates so `/usr/local/bin/pnpm` runs the latest
|
|
9
|
+
npm-installed pnpm while projects keep honoring their pinned package manager.
|
|
10
|
+
|
|
11
|
+
Version 0.99.23 (2026-07-11)
|
|
12
|
+
----------------------------
|
|
13
|
+
* Load Codex instructions, configuration, and skills natively from the private
|
|
14
|
+
`CODEX_HOME`, and default to `on-request` with the `workspace-write` sandbox.
|
|
15
|
+
* Load Claude instructions through `--append-system-prompt-file`, load generated
|
|
16
|
+
skills as a strictly valid local plugin, and preserve the user's normal Claude
|
|
17
|
+
configuration.
|
|
18
|
+
* Prevent shell injection in editor and child-process launches, fix generated
|
|
19
|
+
command guards, honor guardrail flags, and remove stale generated skills.
|
|
20
|
+
* Fix literal argument forwarding, workspace and worktree resolution, deep and
|
|
21
|
+
ignored repository discovery, current local-agent detection, and fenced legacy
|
|
22
|
+
imports.
|
|
23
|
+
* Enforce per-profile tool and local-agent-file switches, and preserve clean
|
|
24
|
+
executable lookup paths across nested agent-run sessions.
|
|
25
|
+
* Escape generated JSON and TOML paths portably, validate Claude settings, and
|
|
26
|
+
protect or migrate legacy Codex credentials and runtime state.
|
|
27
|
+
* Make releases reproducible by pinning GitHub Actions, using frozen installs,
|
|
28
|
+
and publishing the exact packed artifact with npm provenance.
|
|
29
|
+
* Keep the global npm updater under `/usr/local`, avoid modifying distro-owned
|
|
30
|
+
paths or host-wide configuration, and install Claude's native binary when npm
|
|
31
|
+
blocks package lifecycle scripts.
|
|
32
|
+
|
|
4
33
|
Version 0.99.22 (2026-06-27)
|
|
5
34
|
----------------------------
|
|
6
35
|
* Default generated Codex configs to `danger-full-access` while keeping `--sandboxed` as an explicit opt-in.
|
package/README.md
CHANGED
|
@@ -24,12 +24,15 @@ Example:
|
|
|
24
24
|
agent-run.jsonc
|
|
25
25
|
local.md.njk
|
|
26
26
|
overrides/
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
live/
|
|
28
|
+
CLAUDE.md
|
|
29
|
+
.claude/
|
|
30
|
+
bin/
|
|
31
|
+
memories/
|
|
32
|
+
codex-home/
|
|
33
|
+
AGENTS.md
|
|
34
|
+
config.toml
|
|
35
|
+
skills/
|
|
33
36
|
org/
|
|
34
37
|
my-api/
|
|
35
38
|
```
|
|
@@ -48,10 +51,11 @@ the agent config tree.
|
|
|
48
51
|
- `agent-run.jsonc`: profile manifest
|
|
49
52
|
- `local.md.njk`: source file you edit for project-specific instructions
|
|
50
53
|
- `overrides/`: optional per-profile template overrides
|
|
51
|
-
- `AGENTS.md`: generated Codex instructions
|
|
52
|
-
- `
|
|
53
|
-
- `
|
|
54
|
-
-
|
|
54
|
+
- `live/memories/codex-home/AGENTS.md`: generated Codex instructions
|
|
55
|
+
- `live/memories/codex-home/config.toml`: generated Codex config
|
|
56
|
+
- `live/memories/codex-home/skills/`: generated Codex skills
|
|
57
|
+
- `live/CLAUDE.md`: generated Claude instructions
|
|
58
|
+
- `live/.claude/`: generated Claude settings and local plugin skills
|
|
55
59
|
|
|
56
60
|
Edit `local.md.njk` and `agent-run.jsonc`. `agent-run` keeps generated files in sync.
|
|
57
61
|
|
|
@@ -121,25 +125,27 @@ through to the underlying tool.
|
|
|
121
125
|
For `codex` and `claude`, use `--generate` to generate profile files without
|
|
122
126
|
launching the underlying tool.
|
|
123
127
|
|
|
124
|
-
Codex defaults to
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
`
|
|
128
|
+
Codex defaults to `-a on-request -s workspace-write`. `agent-run` sets
|
|
129
|
+
`CODEX_HOME` under the private agent directory, where Codex discovers the
|
|
130
|
+
generated `AGENTS.md`, `config.toml`, and skills natively. It starts Codex from
|
|
131
|
+
that private directory, passes the project root with `-C`, and keeps generated
|
|
132
|
+
guard shims on `PATH`. Use `--danger` explicitly for
|
|
133
|
+
`-a never -s danger-full-access`; use `--network` to enable network access in
|
|
134
|
+
the workspace-write sandbox.
|
|
130
135
|
When `~/.codex/auth.json` exists, profile-specific Codex homes link their
|
|
131
136
|
`auth.json` to that shared login cache so changing profiles does not require a
|
|
132
137
|
new ChatGPT login.
|
|
133
138
|
|
|
134
139
|
Claude Code currently has no `--cd` equivalent. `agent-run` keeps Claude's
|
|
135
|
-
process cwd at the project root,
|
|
136
|
-
|
|
137
|
-
with `--
|
|
140
|
+
process cwd at the project root, appends the generated `CLAUDE.md` with
|
|
141
|
+
`--append-system-prompt-file`, passes generated settings with `--settings`, and
|
|
142
|
+
loads generated skills from a local plugin with `--plugin-dir`. It does not
|
|
143
|
+
replace the user's normal `CLAUDE_CONFIG_DIR`.
|
|
138
144
|
|
|
139
145
|
By default, `agent-run codex` and `agent-run claude` fail when local AI files
|
|
140
|
-
such as `AGENTS.md`, `CLAUDE.md`,
|
|
141
|
-
inside the project repository. Use `--local`
|
|
142
|
-
invocation.
|
|
146
|
+
such as `AGENTS.md`, `CLAUDE.md`, `CLAUDE.local.md`, `.mcp.json`, `.agents`,
|
|
147
|
+
`.claude`, or `.codex` are present inside the project repository. Use `--local`
|
|
148
|
+
to warn and continue for a specific invocation.
|
|
143
149
|
|
|
144
150
|
Initialize mapped files for the current repo:
|
|
145
151
|
|
|
@@ -190,9 +196,9 @@ agent-run claude --generate
|
|
|
190
196
|
This reads `agent-run.jsonc` and Nunjucks templates from the mapped profile
|
|
191
197
|
directory and rewrites generated files:
|
|
192
198
|
|
|
193
|
-
- `AGENTS.md`
|
|
194
199
|
- `CLAUDE.md`
|
|
195
|
-
- `
|
|
200
|
+
- `memories/codex-home/AGENTS.md`
|
|
201
|
+
- `memories/codex-home/config.toml`
|
|
196
202
|
- `memories/codex-home/skills/**`
|
|
197
203
|
- `.claude/**`
|
|
198
204
|
- `bin/**`
|
|
@@ -242,7 +248,7 @@ This reports:
|
|
|
242
248
|
|
|
243
249
|
- local AI files accidentally present in the source repo
|
|
244
250
|
- missing mapped files
|
|
245
|
-
- stale
|
|
251
|
+
- stale generated Codex instructions or config
|
|
246
252
|
- invalid `CLAUDE.md`
|
|
247
253
|
- profile resolution problems
|
|
248
254
|
|
|
@@ -278,7 +284,8 @@ This installs and enables `ai-tools-update.timer`, which runs hourly. The
|
|
|
278
284
|
package list is configurable through systemd environment overrides:
|
|
279
285
|
|
|
280
286
|
```text
|
|
281
|
-
AI_TOOLS_NPM_PACKAGES="npm pnpm
|
|
287
|
+
AI_TOOLS_NPM_PACKAGES="npm@latest pnpm@latest corepack@latest fallow@latest ripgrep@latest pm2@latest tsx@latest typescript@latest @openai/codex@latest @anthropic-ai/claude-code@latest @technomoron/agent-run@latest"
|
|
288
|
+
AI_TOOLS_PNPM_PACKAGE="pnpm@latest"
|
|
282
289
|
AI_TOOLS_APT_PACKAGES="gh"
|
|
283
290
|
```
|
|
284
291
|
|