@technomoron/agent-run 0.99.21 → 0.99.23

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 CHANGED
@@ -1,6 +1,35 @@
1
1
  CHANGES
2
2
  =======
3
3
 
4
+ Version 0.99.23 (2026-07-11)
5
+ ----------------------------
6
+ * Load Codex instructions, configuration, and skills natively from the private
7
+ `CODEX_HOME`, and default to `on-request` with the `workspace-write` sandbox.
8
+ * Load Claude instructions through `--append-system-prompt-file`, load generated
9
+ skills as a strictly valid local plugin, and preserve the user's normal Claude
10
+ configuration.
11
+ * Prevent shell injection in editor and child-process launches, fix generated
12
+ command guards, honor guardrail flags, and remove stale generated skills.
13
+ * Fix literal argument forwarding, workspace and worktree resolution, deep and
14
+ ignored repository discovery, current local-agent detection, and fenced legacy
15
+ imports.
16
+ * Enforce per-profile tool and local-agent-file switches, and preserve clean
17
+ executable lookup paths across nested agent-run sessions.
18
+ * Escape generated JSON and TOML paths portably, validate Claude settings, and
19
+ protect or migrate legacy Codex credentials and runtime state.
20
+ * Make releases reproducible by pinning GitHub Actions, using frozen installs,
21
+ and publishing the exact packed artifact with npm provenance.
22
+ * Keep the global npm updater under `/usr/local`, avoid modifying distro-owned
23
+ paths or host-wide configuration, and install Claude's native binary when npm
24
+ blocks package lifecycle scripts.
25
+
26
+ Version 0.99.22 (2026-06-27)
27
+ ----------------------------
28
+ * Default generated Codex configs to `danger-full-access` while keeping `--sandboxed` as an explicit opt-in.
29
+ * Search common global config-root locations on Windows and Unix, including both `agent-config` and `agent-configs`.
30
+ * Fix release script package metadata reads under Git Bash on Windows.
31
+ * Document the config-root discovery order and add regression coverage for the generated sandbox mode and search candidates.
32
+
4
33
  Version 0.99.21 (2026-06-27)
5
34
  ----------------------------
6
35
  * Default project commands for `[code]/owner/repo` checkouts to `[code]/agent-config`.
package/README.md CHANGED
@@ -24,12 +24,15 @@ Example:
24
24
  agent-run.jsonc
25
25
  local.md.njk
26
26
  overrides/
27
- AGENTS.md
28
- CLAUDE.md
29
- config.toml
30
- .agents/
31
- .claude/
32
- bin/
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
- - `CLAUDE.md`: generated Claude instructions
53
- - `config.toml`: generated Codex config
54
- - `.agents/` and `.claude/`: generated native skill/config homes
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
 
@@ -98,6 +102,15 @@ Config root:
98
102
  - override with `AGENT_CONFIG_ROOT=/path/to/agent-configs`
99
103
  - or set `AGENT_CONFIG_DIR=/path/to/agent-configs` or `AGENT_CONFIG_ROOT=/path/to/agent-configs` in `.agent-run.env`
100
104
 
105
+ For commands without a project root, `agent-run` looks for an existing config
106
+ root in these locations:
107
+
108
+ - Windows: `~/Documents/code/agent-config`, `~/Documents/code/agent-configs`,
109
+ `~/Desktop/code/agent-config`, `~/Desktop/code/agent-configs`,
110
+ `C:\code\agent-config`, `C:\code\agent-configs`
111
+ - Unix: `~/code/agent-config`, `~/code/agent-configs`, `~/agent-config`,
112
+ `~/agent-configs`, `~/.agent-config`, `~/.agent-configs`
113
+
101
114
  ## Commands
102
115
 
103
116
  Global flag:
@@ -112,25 +125,27 @@ through to the underlying tool.
112
125
  For `codex` and `claude`, use `--generate` to generate profile files without
113
126
  launching the underlying tool.
114
127
 
115
- Codex defaults to `--danger`, which launches Codex with `-a never -s danger-full-access`,
116
- sets `CODEX_HOME` under the private agent directory, starts the Codex process
117
- from that private directory, passes the project root with `-C`, and keeps
118
- generated guard shims on `PATH`. Use `--sandboxed` to request Codex
119
- `workspace-write`; add `--network` with `--sandboxed` to set
120
- `sandbox_workspace_write.network_access=true`.
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.
121
135
  When `~/.codex/auth.json` exists, profile-specific Codex homes link their
122
136
  `auth.json` to that shared login cache so changing profiles does not require a
123
137
  new ChatGPT login.
124
138
 
125
139
  Claude Code currently has no `--cd` equivalent. `agent-run` keeps Claude's
126
- process cwd at the project root, passes the generated `.claude/agent-run-settings.json`
127
- with `--settings`, and allows both the project root and private agent directory
128
- with `--add-dir`.
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`.
129
144
 
130
145
  By default, `agent-run codex` and `agent-run claude` fail when local AI files
131
- such as `AGENTS.md`, `CLAUDE.md`, `.agents`, `.claude`, or `.codex` are present
132
- inside the project repository. Use `--local` to warn and continue for a specific
133
- 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.
134
149
 
135
150
  Initialize mapped files for the current repo:
136
151
 
@@ -181,9 +196,9 @@ agent-run claude --generate
181
196
  This reads `agent-run.jsonc` and Nunjucks templates from the mapped profile
182
197
  directory and rewrites generated files:
183
198
 
184
- - `AGENTS.md`
185
199
  - `CLAUDE.md`
186
- - `config.toml`
200
+ - `memories/codex-home/AGENTS.md`
201
+ - `memories/codex-home/config.toml`
187
202
  - `memories/codex-home/skills/**`
188
203
  - `.claude/**`
189
204
  - `bin/**`
@@ -233,7 +248,7 @@ This reports:
233
248
 
234
249
  - local AI files accidentally present in the source repo
235
250
  - missing mapped files
236
- - stale `AGENTS.md`
251
+ - stale generated Codex instructions or config
237
252
  - invalid `CLAUDE.md`
238
253
  - profile resolution problems
239
254
 
@@ -269,7 +284,7 @@ This installs and enables `ai-tools-update.timer`, which runs hourly. The
269
284
  package list is configurable through systemd environment overrides:
270
285
 
271
286
  ```text
272
- AI_TOOLS_NPM_PACKAGES="npm pnpm netlify-cli@latest @openai/codex@latest @anthropic-ai/claude-code@latest @technomoron/agent-run@latest @technomoron/repo-check@latest"
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"
273
288
  AI_TOOLS_APT_PACKAGES="gh"
274
289
  ```
275
290