@imdeadpool/guardex 7.0.41 → 7.1.0
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 +94 -13
- package/package.json +3 -1
- package/skills/gitguardex/SKILL.md +13 -0
- package/skills/guardex-merge-skills-to-dev/SKILL.md +59 -0
- package/skills/gx-act/SKILL.md +82 -0
- package/src/agents/cleanup-sessions.js +126 -0
- package/src/agents/finish.js +172 -0
- package/src/agents/inspect.js +202 -0
- package/src/agents/launch.js +249 -0
- package/src/agents/registry.js +133 -0
- package/src/agents/selection-panel.js +571 -0
- package/src/agents/sessions.js +151 -0
- package/src/agents/start.js +591 -0
- package/src/agents/status.js +146 -0
- package/src/agents/terminal.js +152 -0
- package/src/budget/index.js +344 -0
- package/src/ci-init/index.js +265 -0
- package/src/cli/args.js +357 -3
- package/src/cli/commands/agents.js +364 -0
- package/src/cli/commands/bootstrap.js +92 -0
- package/src/cli/commands/branch.js +127 -0
- package/src/cli/commands/claude.js +674 -0
- package/src/cli/commands/doctor.js +268 -0
- package/src/cli/commands/finish.js +26 -0
- package/src/cli/commands/mcp.js +122 -0
- package/src/cli/commands/misc.js +304 -0
- package/src/cli/commands/pr.js +439 -0
- package/src/cli/commands/prompt.js +92 -0
- package/src/cli/commands/release.js +305 -0
- package/src/cli/commands/report.js +244 -0
- package/src/cli/commands/review.js +32 -0
- package/src/cli/commands/setup.js +242 -0
- package/src/cli/commands/status.js +338 -0
- package/src/cli/commands/watch.js +234 -0
- package/src/cli/main.js +85 -3613
- package/src/cli/shared/repo-env.js +161 -0
- package/src/cli/shared/sandbox.js +417 -0
- package/src/cli/shared/scaffolding.js +535 -0
- package/src/cli/shared/toolchain-shims.js +420 -0
- package/src/cockpit/action-runner.js +3 -0
- package/src/cockpit/actions.js +80 -0
- package/src/cockpit/control.js +1121 -0
- package/src/cockpit/index.js +426 -0
- package/src/cockpit/kitty-layout.js +549 -0
- package/src/cockpit/kitty-tree.js +144 -0
- package/src/cockpit/logs-reader.js +182 -0
- package/src/cockpit/menu.js +204 -0
- package/src/cockpit/pane-actions.js +597 -0
- package/src/cockpit/pane-menu.js +387 -0
- package/src/cockpit/projects-finder.js +178 -0
- package/src/cockpit/render.js +215 -0
- package/src/cockpit/settings-render.js +128 -0
- package/src/cockpit/settings.js +124 -0
- package/src/cockpit/shortcuts.js +24 -0
- package/src/cockpit/sidebar.js +311 -0
- package/src/cockpit/state.js +72 -0
- package/src/cockpit/theme.js +128 -0
- package/src/cockpit/welcome.js +266 -0
- package/src/context.js +304 -43
- package/src/core/runtime.js +6 -1
- package/src/doctor/index.js +45 -15
- package/src/finish/index.js +186 -7
- package/src/finish/preflight.js +177 -0
- package/src/finish/review-gate.js +182 -0
- package/src/git/index.js +511 -4
- package/src/hooks/index.js +0 -64
- package/src/kitty/command.js +101 -0
- package/src/kitty/runtime.js +250 -0
- package/src/mcp/collect.js +370 -0
- package/src/mcp/server.js +157 -0
- package/src/output/index.js +68 -2
- package/src/pr-review.js +264 -0
- package/src/pr.js +381 -0
- package/src/sandbox/index.js +13 -2
- package/src/scaffold/agent-worktree-prep.js +213 -0
- package/src/scaffold/index.js +127 -10
- package/src/speckit/index.js +226 -0
- package/src/submodule/index.js +288 -0
- package/src/terminal/index.js +45 -0
- package/src/terminal/kitty.js +622 -0
- package/src/terminal/tmux.js +125 -0
- package/src/tmux/command.js +27 -0
- package/src/tmux/session.js +89 -0
- package/src/toolchain/index.js +20 -0
- package/templates/AGENTS.monorepo-apps.md +26 -0
- package/templates/AGENTS.multiagent-safety.md +63 -323
- package/templates/AGENTS.multiagent-safety.min.md +11 -0
- package/templates/codex/skills/gitguardex/SKILL.md +2 -0
- package/templates/codex/skills/gx-act/SKILL.md +82 -0
- package/templates/githooks/pre-commit +44 -20
- package/templates/github/workflows/README.md +87 -0
- package/templates/github/workflows/ci-full.yml +55 -0
- package/templates/github/workflows/ci.yml +56 -0
- package/templates/github/workflows/cr.yml +20 -1
- package/templates/scripts/agent-branch-finish.sh +519 -23
- package/templates/scripts/agent-branch-merge.sh +4 -1
- package/templates/scripts/agent-branch-start.sh +176 -24
- package/templates/scripts/agent-preflight.sh +115 -0
- package/templates/scripts/agent-worktree-prune.sh +96 -5
- package/templates/scripts/codex-agent.sh +41 -97
- package/templates/scripts/openspec/init-plan-workspace.sh +43 -0
- package/templates/scripts/review-bot-watch.sh +31 -2
- package/templates/scripts/agent-session-state.js +0 -171
- package/templates/scripts/install-vscode-active-agents-extension.js +0 -135
- package/templates/vscode/guardex-active-agents/README.md +0 -34
- package/templates/vscode/guardex-active-agents/extension.js +0 -3782
- package/templates/vscode/guardex-active-agents/fileicons/gitguardex-fileicons.json +0 -54
- package/templates/vscode/guardex-active-agents/fileicons/icons/agent.svg +0 -5
- package/templates/vscode/guardex-active-agents/fileicons/icons/branch.svg +0 -7
- package/templates/vscode/guardex-active-agents/fileicons/icons/config.svg +0 -4
- package/templates/vscode/guardex-active-agents/fileicons/icons/hook.svg +0 -4
- package/templates/vscode/guardex-active-agents/fileicons/icons/openspec.svg +0 -5
- package/templates/vscode/guardex-active-agents/fileicons/icons/plan.svg +0 -4
- package/templates/vscode/guardex-active-agents/fileicons/icons/spec.svg +0 -5
- package/templates/vscode/guardex-active-agents/icon.png +0 -0
- package/templates/vscode/guardex-active-agents/media/active-agents-hivemind.svg +0 -14
- package/templates/vscode/guardex-active-agents/package.json +0 -169
- package/templates/vscode/guardex-active-agents/session-schema.js +0 -1348
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"iconDefinitions": {
|
|
3
|
-
"_gitguardex_agent": {
|
|
4
|
-
"iconPath": "./icons/agent.svg"
|
|
5
|
-
},
|
|
6
|
-
"_gitguardex_branch": {
|
|
7
|
-
"iconPath": "./icons/branch.svg"
|
|
8
|
-
},
|
|
9
|
-
"_gitguardex_config": {
|
|
10
|
-
"iconPath": "./icons/config.svg"
|
|
11
|
-
},
|
|
12
|
-
"_gitguardex_hook": {
|
|
13
|
-
"iconPath": "./icons/hook.svg"
|
|
14
|
-
},
|
|
15
|
-
"_gitguardex_openspec": {
|
|
16
|
-
"iconPath": "./icons/openspec.svg"
|
|
17
|
-
},
|
|
18
|
-
"_gitguardex_plan": {
|
|
19
|
-
"iconPath": "./icons/plan.svg"
|
|
20
|
-
},
|
|
21
|
-
"_gitguardex_spec": {
|
|
22
|
-
"iconPath": "./icons/spec.svg"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"folderNames": {
|
|
26
|
-
".agents": "_gitguardex_agent",
|
|
27
|
-
".githooks": "_gitguardex_hook",
|
|
28
|
-
".omc": "_gitguardex_agent",
|
|
29
|
-
".omx": "_gitguardex_agent",
|
|
30
|
-
"agent-worktrees": "_gitguardex_branch",
|
|
31
|
-
"changes": "_gitguardex_openspec",
|
|
32
|
-
"plan": "_gitguardex_plan",
|
|
33
|
-
"rules": "_gitguardex_spec",
|
|
34
|
-
"specs": "_gitguardex_spec"
|
|
35
|
-
},
|
|
36
|
-
"fileNames": {
|
|
37
|
-
".openspec.yaml": "_gitguardex_config",
|
|
38
|
-
"AGENT.lock": "_gitguardex_agent",
|
|
39
|
-
"AGENTS.md": "_gitguardex_agent",
|
|
40
|
-
"CLAUDE.md": "_gitguardex_agent",
|
|
41
|
-
"config.yaml": "_gitguardex_config",
|
|
42
|
-
"context-docs-cue.md": "_gitguardex_spec",
|
|
43
|
-
"post-checkout": "_gitguardex_hook",
|
|
44
|
-
"pre-commit": "_gitguardex_hook",
|
|
45
|
-
"pre-push": "_gitguardex_hook",
|
|
46
|
-
"proposal.md": "_gitguardex_openspec",
|
|
47
|
-
"spec.md": "_gitguardex_spec",
|
|
48
|
-
"tasks.md": "_gitguardex_plan",
|
|
49
|
-
"plan.md": "_gitguardex_plan"
|
|
50
|
-
},
|
|
51
|
-
"fileExtensions": {
|
|
52
|
-
"openspec.yaml": "_gitguardex_config"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
2
|
-
<circle cx="4" cy="3.5" r="1.75" fill="#89d185"/>
|
|
3
|
-
<circle cx="4" cy="12.5" r="1.75" fill="#89d185"/>
|
|
4
|
-
<circle cx="12" cy="3.5" r="1.75" fill="#4ec9b0"/>
|
|
5
|
-
<path fill="#89d185" d="M3.35 5h1.3v6h-1.3z"/>
|
|
6
|
-
<path fill="#4ec9b0" d="M12 5.25v1.5a3.5 3.5 0 0 1-3.5 3.5H5.8v-1.3H8.5A2.2 2.2 0 0 0 10.7 6.75v-1.5z"/>
|
|
7
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
2
|
-
<path fill="#c586c0" d="M7.2 1h1.6l.35 1.55c.44.12.86.29 1.24.51l1.38-.84 1.13 1.13-.84 1.38c.22.38.39.8.51 1.24l1.55.35v1.6l-1.55.35c-.12.44-.29.86-.51 1.24l.84 1.38-1.13 1.13-1.38-.84c-.38.22-.8.39-1.24.51L8.8 15h-1.6l-.35-1.55c-.44-.12-.86-.29-1.24-.51l-1.38.84-1.13-1.13.84-1.38c-.22-.38-.39-.8-.51-1.24L1.87 9.8V8.2l1.55-.35c.12-.44.29-.86.51-1.24l-.84-1.38 1.13-1.13 1.38.84c.38-.22.8-.39 1.24-.51L7.2 1Z"/>
|
|
3
|
-
<circle cx="8" cy="8" r="2.1" fill="#1e1e1e"/>
|
|
4
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
2
|
-
<path fill="#4ec9b0" d="M3.25 1.5h6.25l3.25 3.25V14.5H3.25V1.5Z"/>
|
|
3
|
-
<path fill="#3794ff" d="M9.5 1.75v3h3L9.5 1.75Z"/>
|
|
4
|
-
<path fill="#ffcc66" d="M6.9 11.1 4.7 8.9l1-1 1.2 1.2 3.3-3.3 1 1L6.9 11.1Z"/>
|
|
5
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
2
|
-
<rect x="2.25" y="2.25" width="11.5" height="11.5" rx="1.25" fill="#dcdcaa"/>
|
|
3
|
-
<path fill="#1e1e1e" d="m5.6 7.6-1.4-1.4.85-.85.55.55 1.55-1.55.85.85zM8.5 5.7h3.6v1.2H8.5zM5.6 11.8l-1.4-1.4.85-.85.55.55 1.55-1.55.85.85zM8.5 10h3.6v1.2H8.5z"/>
|
|
4
|
-
</svg>
|
|
Binary file
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path
|
|
3
|
-
fill="currentColor"
|
|
4
|
-
fill-rule="evenodd"
|
|
5
|
-
clip-rule="evenodd"
|
|
6
|
-
d="M12 4.25C9.96 4.25 8.31 5.9 8.31 7.94C8.31 9.32 9.08 10.53 10.22 11.16V12.55C8.15 13.19 6.69 15.12 6.69 17.29V18.31C6.69 19.02 7.27 19.6 7.98 19.6H9.06V20.46C9.06 20.89 9.41 21.25 9.85 21.25H14.15C14.59 21.25 14.94 20.89 14.94 20.46V19.6H16.02C16.73 19.6 17.31 19.02 17.31 18.31V17.29C17.31 15.12 15.85 13.19 13.78 12.55V11.16C14.92 10.53 15.69 9.32 15.69 7.94C15.69 5.9 14.04 4.25 12 4.25Z"
|
|
7
|
-
/>
|
|
8
|
-
<path
|
|
9
|
-
d="M9.88 19.6H14.12"
|
|
10
|
-
stroke="currentColor"
|
|
11
|
-
stroke-width="1.4"
|
|
12
|
-
stroke-linecap="round"
|
|
13
|
-
/>
|
|
14
|
-
</svg>
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "gitguardex-active-agents",
|
|
3
|
-
"displayName": "GitGuardex Active Agents",
|
|
4
|
-
"description": "Shows live Guardex sandbox sessions and repo changes in a dedicated VS Code Active Agents sidebar.",
|
|
5
|
-
"publisher": "Recodee",
|
|
6
|
-
"version": "0.0.21",
|
|
7
|
-
"license": "MIT",
|
|
8
|
-
"icon": "icon.png",
|
|
9
|
-
"engines": {
|
|
10
|
-
"vscode": "^1.88.0"
|
|
11
|
-
},
|
|
12
|
-
"categories": [
|
|
13
|
-
"SCM Providers",
|
|
14
|
-
"Other"
|
|
15
|
-
],
|
|
16
|
-
"activationEvents": [
|
|
17
|
-
"onStartupFinished",
|
|
18
|
-
"workspaceContains:.omx/state/active-sessions",
|
|
19
|
-
"workspaceContains:.omx/agent-worktrees",
|
|
20
|
-
"workspaceContains:.omc/agent-worktrees",
|
|
21
|
-
"onView:gitguardex.activeAgents"
|
|
22
|
-
],
|
|
23
|
-
"main": "./extension.js",
|
|
24
|
-
"contributes": {
|
|
25
|
-
"commands": [
|
|
26
|
-
{
|
|
27
|
-
"command": "gitguardex.activeAgents.startAgent",
|
|
28
|
-
"title": "Start Guardex Agent"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"command": "gitguardex.activeAgents.refresh",
|
|
32
|
-
"title": "Refresh Active Agents"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"command": "gitguardex.activeAgents.restart",
|
|
36
|
-
"title": "Restart Active Agents",
|
|
37
|
-
"icon": "$(debug-restart)"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"command": "gitguardex.activeAgents.commitSelectedSession",
|
|
41
|
-
"title": "Commit Selected Session",
|
|
42
|
-
"icon": "$(check)"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"command": "gitguardex.activeAgents.inspect",
|
|
46
|
-
"title": "Inspect Session",
|
|
47
|
-
"icon": "$(info)"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"command": "gitguardex.activeAgents.openWorktree",
|
|
51
|
-
"title": "Open Agent Worktree"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"command": "gitguardex.activeAgents.finishSession",
|
|
55
|
-
"title": "Finish",
|
|
56
|
-
"icon": "$(check)"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"command": "gitguardex.activeAgents.syncSession",
|
|
60
|
-
"title": "Sync",
|
|
61
|
-
"icon": "$(sync)"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"command": "gitguardex.activeAgents.stopSession",
|
|
65
|
-
"title": "Stop",
|
|
66
|
-
"icon": "$(debug-stop)"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"command": "gitguardex.activeAgents.dismissSession",
|
|
70
|
-
"title": "Dismiss",
|
|
71
|
-
"icon": "$(trash)"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"command": "gitguardex.activeAgents.showSessionTerminal",
|
|
75
|
-
"title": "Show Terminal",
|
|
76
|
-
"icon": "$(terminal)"
|
|
77
|
-
}
|
|
78
|
-
],
|
|
79
|
-
"viewsContainers": {
|
|
80
|
-
"activitybar": [
|
|
81
|
-
{
|
|
82
|
-
"id": "gitguardex-active-agents-container",
|
|
83
|
-
"title": "Active Agents",
|
|
84
|
-
"icon": "media/active-agents-hivemind.svg"
|
|
85
|
-
}
|
|
86
|
-
]
|
|
87
|
-
},
|
|
88
|
-
"views": {
|
|
89
|
-
"gitguardex-active-agents-container": [
|
|
90
|
-
{
|
|
91
|
-
"id": "gitguardex.activeAgents",
|
|
92
|
-
"name": "Active Agents",
|
|
93
|
-
"contextualTitle": "Active Agents",
|
|
94
|
-
"icon": "media/active-agents-hivemind.svg",
|
|
95
|
-
"visibility": "visible"
|
|
96
|
-
}
|
|
97
|
-
]
|
|
98
|
-
},
|
|
99
|
-
"viewsWelcome": [
|
|
100
|
-
{
|
|
101
|
-
"view": "gitguardex.activeAgents",
|
|
102
|
-
"contents": "No live Guardex agents are visible in this workspace yet.\n\nThis sidebar tracks Guardex session files and managed worktree telemetry without taking over Source Control.\n\n[Start agent](command:gitguardex.activeAgents.startAgent)\n[Open guide](https://github.com/recodeee/gitguardex/blob/main/vscode/guardex-active-agents/README.md#quick-start)\n[Refresh](command:gitguardex.activeAgents.refresh)"
|
|
103
|
-
}
|
|
104
|
-
],
|
|
105
|
-
"menus": {
|
|
106
|
-
"view/title": [
|
|
107
|
-
{
|
|
108
|
-
"command": "gitguardex.activeAgents.commitSelectedSession",
|
|
109
|
-
"when": "view == gitguardex.activeAgents && guardex.hasAgents",
|
|
110
|
-
"group": "navigation@1"
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"command": "gitguardex.activeAgents.restart",
|
|
114
|
-
"when": "view == gitguardex.activeAgents",
|
|
115
|
-
"group": "navigation@8"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"command": "gitguardex.activeAgents.refresh",
|
|
119
|
-
"when": "view == gitguardex.activeAgents",
|
|
120
|
-
"group": "navigation@9"
|
|
121
|
-
}
|
|
122
|
-
],
|
|
123
|
-
"extension/context": [
|
|
124
|
-
{
|
|
125
|
-
"command": "gitguardex.activeAgents.restart",
|
|
126
|
-
"when": "extension == Recodee.gitguardex-active-agents && extensionStatus == installed",
|
|
127
|
-
"group": "2_configure@2"
|
|
128
|
-
}
|
|
129
|
-
],
|
|
130
|
-
"view/item/context": [
|
|
131
|
-
{
|
|
132
|
-
"command": "gitguardex.activeAgents.openWorktree",
|
|
133
|
-
"when": "view == gitguardex.activeAgents && viewItem =~ /^gitguardex\\.session(\\.|$)/",
|
|
134
|
-
"group": "inline"
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"command": "gitguardex.activeAgents.inspect",
|
|
138
|
-
"when": "view == gitguardex.activeAgents && viewItem =~ /^gitguardex\\.session(\\.|$)/",
|
|
139
|
-
"group": "inline"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"command": "gitguardex.activeAgents.showSessionTerminal",
|
|
143
|
-
"when": "view == gitguardex.activeAgents && viewItem =~ /^gitguardex\\.session(\\.|$)/",
|
|
144
|
-
"group": "inline"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"command": "gitguardex.activeAgents.finishSession",
|
|
148
|
-
"when": "view == gitguardex.activeAgents && viewItem =~ /^gitguardex\\.session(\\.|$)/",
|
|
149
|
-
"group": "inline"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"command": "gitguardex.activeAgents.syncSession",
|
|
153
|
-
"when": "view == gitguardex.activeAgents && viewItem =~ /^gitguardex\\.session(\\.|$)/",
|
|
154
|
-
"group": "inline"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"command": "gitguardex.activeAgents.stopSession",
|
|
158
|
-
"when": "view == gitguardex.activeAgents && viewItem =~ /^gitguardex\\.session(\\.|$)/",
|
|
159
|
-
"group": "inline"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"command": "gitguardex.activeAgents.dismissSession",
|
|
163
|
-
"when": "view == gitguardex.activeAgents && viewItem =~ /^gitguardex\\.session\\.(stalled|dead)$/",
|
|
164
|
-
"group": "inline"
|
|
165
|
-
}
|
|
166
|
-
]
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|