@imdeadpool/guardex 7.0.20 → 7.0.21
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 +44 -12
- package/package.json +1 -1
- package/src/cli/args.js +804 -2
- package/src/cli/main.js +173 -2328
- package/src/context.js +17 -3
- package/src/git/index.js +42 -32
- package/src/scaffold/index.js +1 -22
- package/templates/scripts/codex-agent.sh +14 -2
- package/templates/vscode/guardex-active-agents/README.md +1 -1
- package/templates/vscode/guardex-active-agents/extension.js +38 -7
- package/templates/vscode/guardex-active-agents/package.json +2 -0
- package/templates/vscode/guardex-active-agents/session-schema.js +233 -29
package/README.md
CHANGED
|
@@ -1,20 +1,44 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img alt="gitguardex logo" src="./logo.png" width="260">
|
|
3
|
+
</p>
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
[](https://www.npmjs.com/package/@imdeadpool/guardex)
|
|
5
|
-
[](https://github.com/recodeee/gitguardex/stargazers)
|
|
6
|
-
[](./LICENSE)
|
|
5
|
+
<h1 align="center">gitguardex</h1>
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
[](https://securityscorecards.dev/viewer/?uri=github.com/recodeee/gitguardex)
|
|
7
|
+
<p align="center">
|
|
8
|
+
guardian t-rex for multi-agent repos
|
|
9
|
+
</p>
|
|
12
10
|
|
|
13
|
-
|
|
11
|
+
<p align="center">
|
|
12
|
+
isolated worktrees, file locks, and PR-only merges for codex, claude, and human teammates
|
|
13
|
+
</p>
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
<p align="center">
|
|
16
|
+
<a href="https://www.npmjs.com/package/@imdeadpool/guardex"><img alt="npm version" src="https://img.shields.io/npm/v/%40imdeadpool%2Fguardex?label=npm&style=flat-square&color=cb3837&logo=npm&logoColor=white"></a>
|
|
17
|
+
<a href="https://github.com/recodeee/gitguardex/stargazers"><img alt="stars" src="https://img.shields.io/github/stars/recodeee/gitguardex?label=stars&style=flat-square&color=d4ac0d"></a>
|
|
18
|
+
<a href="https://github.com/recodeee/gitguardex/commits/main"><img alt="last commit" src="https://img.shields.io/github/last-commit/recodeee/gitguardex?label=last%20commit&style=flat-square&color=7aa2f7"></a>
|
|
19
|
+
<a href="./LICENSE"><img alt="license" src="https://img.shields.io/npm/l/%40imdeadpool%2Fguardex?label=license&style=flat-square&color=97ca00"></a>
|
|
20
|
+
</p>
|
|
16
21
|
|
|
17
|
-
|
|
22
|
+
<p align="center">
|
|
23
|
+
<a href="./about_description.txt">About</a> •
|
|
24
|
+
<a href="#install">Install</a> •
|
|
25
|
+
<a href="#what-it-does">What it does</a> •
|
|
26
|
+
<a href="#daily-workflow">Workflow</a> •
|
|
27
|
+
<a href="#how-it-works-in-vs-code">VS Code</a> •
|
|
28
|
+
<a href="#commands">Commands</a>
|
|
29
|
+
</p>
|
|
30
|
+
|
|
31
|
+
<p align="center">
|
|
32
|
+
<strong>guard many agent. keep one repo clean.</strong>
|
|
33
|
+
</p>
|
|
34
|
+
|
|
35
|
+
<p align="center">
|
|
36
|
+
GitGuardex is a safety layer for parallel agent work in git repos. Every task gets an isolated
|
|
37
|
+
worktree, claimed files, and a PR-only finish path instead of one shared checkout where agents
|
|
38
|
+
stomp each other.
|
|
39
|
+
</p>
|
|
40
|
+
|
|
41
|
+
---
|
|
18
42
|
|
|
19
43
|
> [!WARNING]
|
|
20
44
|
> Not affiliated with OpenAI, Anthropic, or Codex. Not an official tool.
|
|
@@ -36,6 +60,7 @@ I was running ~30 Codex agents in parallel and hit a wall: they kept working on
|
|
|
36
60
|
|
|
37
61
|
GitGuardex exists to stop that loop. Every agent gets its own worktree, claims the files it's touching, and can't clobber files another agent has claimed. Your local branch stays clean; agents stay in their lanes.
|
|
38
62
|
|
|
63
|
+
## Install
|
|
39
64
|
|
|
40
65
|
<p align="center">
|
|
41
66
|
<img alt="Install GitGuardex" src="https://raw.githubusercontent.com/recodeee/gitguardex/main/docs/images/install-hero.svg" width="680">
|
|
@@ -279,6 +304,8 @@ Setup auto-installs into every nested git repo (e.g. `apps/*/.git`). Submodules
|
|
|
279
304
|
```sh
|
|
280
305
|
gx setup --target /mainfolder
|
|
281
306
|
gx setup --target /mainfolder --no-recursive
|
|
307
|
+
gx setup --target /mainfolder --current
|
|
308
|
+
gx doctor --target /mainfolder --current
|
|
282
309
|
```
|
|
283
310
|
|
|
284
311
|
### Fresh repos + Docker Compose
|
|
@@ -645,6 +672,11 @@ npm pack --dry-run
|
|
|
645
672
|
<details>
|
|
646
673
|
<summary><strong>v7.x</strong></summary>
|
|
647
674
|
|
|
675
|
+
### v7.0.21
|
|
676
|
+
- Bumped `@imdeadpool/guardex` from `7.0.20` to `7.0.21` so npm can publish the next release from the current merged mainline.
|
|
677
|
+
- Keep the release scoped to version and release metadata only; the package payload stays the same as the verified `main` branch contents.
|
|
678
|
+
- Published-release automation will pick up this new package version once the matching GitHub release is created.
|
|
679
|
+
|
|
648
680
|
### v7.0.20
|
|
649
681
|
- The VS Code Active Agents tree now exposes worktree-owned SCM changes and lock ownership directly, so operators can see which sandbox owns a dirty file before they act.
|
|
650
682
|
- Guardex now keeps merged cleanup evidence truthful by recording final cleanup proof only after the merge and cleanup state is actually available.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imdeadpool/guardex",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.21",
|
|
4
4
|
"description": "Guardian T-Rex for your multi-agent repo. Isolated worktrees, file locks, and PR-only merges stop parallel Codex & Claude agents from overwriting each other's work. Auto-wires Oh My Codex, Oh My Claude, OpenSpec, and Caveman.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"preferGlobal": true,
|