@imdeadpool/guardex 7.0.39 → 7.0.43

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.
Files changed (85) hide show
  1. package/README.md +85 -16
  2. package/package.json +2 -1
  3. package/skills/gitguardex/SKILL.md +13 -0
  4. package/skills/guardex-merge-skills-to-dev/SKILL.md +59 -0
  5. package/src/agents/cleanup-sessions.js +126 -0
  6. package/src/agents/detect.js +160 -0
  7. package/src/agents/finish.js +172 -0
  8. package/src/agents/inspect.js +189 -0
  9. package/src/agents/launch.js +240 -0
  10. package/src/agents/registry.js +133 -0
  11. package/src/agents/selection-panel.js +571 -0
  12. package/src/agents/sessions.js +151 -0
  13. package/src/agents/start.js +591 -0
  14. package/src/agents/status.js +143 -0
  15. package/src/agents/terminal.js +152 -0
  16. package/src/budget/index.js +343 -0
  17. package/src/ci-init/index.js +265 -0
  18. package/src/cli/args.js +305 -1
  19. package/src/cli/main.js +262 -132
  20. package/src/cockpit/action-runner.js +3 -0
  21. package/src/cockpit/actions.js +80 -0
  22. package/src/cockpit/control.js +1121 -0
  23. package/src/cockpit/index.js +426 -0
  24. package/src/cockpit/keybindings.js +224 -0
  25. package/src/cockpit/kitty-layout.js +549 -0
  26. package/src/cockpit/kitty-tree.js +144 -0
  27. package/src/cockpit/layout.js +224 -0
  28. package/src/cockpit/logs-reader.js +182 -0
  29. package/src/cockpit/menu.js +204 -0
  30. package/src/cockpit/pane-actions.js +597 -0
  31. package/src/cockpit/pane-menu.js +387 -0
  32. package/src/cockpit/projects-finder.js +178 -0
  33. package/src/cockpit/render.js +215 -0
  34. package/src/cockpit/settings-render.js +128 -0
  35. package/src/cockpit/settings.js +124 -0
  36. package/src/cockpit/shortcuts.js +24 -0
  37. package/src/cockpit/sidebar.js +311 -0
  38. package/src/cockpit/state.js +72 -0
  39. package/src/cockpit/theme.js +128 -0
  40. package/src/cockpit/welcome.js +266 -0
  41. package/src/context.js +78 -35
  42. package/src/doctor/index.js +4 -3
  43. package/src/finish/index.js +39 -2
  44. package/src/git/index.js +65 -0
  45. package/src/kitty/command.js +101 -0
  46. package/src/kitty/runtime.js +250 -0
  47. package/src/output/index.js +1 -1
  48. package/src/pr-review.js +241 -0
  49. package/src/scaffold/index.js +19 -0
  50. package/src/submodule/index.js +288 -0
  51. package/src/terminal/index.js +120 -0
  52. package/src/terminal/kitty.js +622 -0
  53. package/src/terminal/tmux.js +126 -0
  54. package/src/tmux/command.js +27 -0
  55. package/src/tmux/session.js +89 -0
  56. package/templates/AGENTS.multiagent-safety.md +421 -37
  57. package/templates/codex/skills/gitguardex/SKILL.md +2 -0
  58. package/templates/githooks/pre-commit +22 -1
  59. package/templates/github/workflows/README.md +87 -0
  60. package/templates/github/workflows/ci-full.yml +55 -0
  61. package/templates/github/workflows/ci.yml +56 -0
  62. package/templates/github/workflows/cr.yml +20 -1
  63. package/templates/scripts/agent-branch-finish.sh +545 -27
  64. package/templates/scripts/agent-branch-start.sh +193 -21
  65. package/templates/scripts/agent-preflight.sh +89 -0
  66. package/templates/scripts/agent-worktree-prune.sh +96 -5
  67. package/templates/scripts/codex-agent.sh +41 -6
  68. package/templates/scripts/openspec/init-plan-workspace.sh +43 -0
  69. package/templates/scripts/review-bot-watch.sh +31 -2
  70. package/templates/scripts/agent-session-state.js +0 -171
  71. package/templates/scripts/install-vscode-active-agents-extension.js +0 -135
  72. package/templates/vscode/guardex-active-agents/README.md +0 -34
  73. package/templates/vscode/guardex-active-agents/extension.js +0 -3782
  74. package/templates/vscode/guardex-active-agents/fileicons/gitguardex-fileicons.json +0 -54
  75. package/templates/vscode/guardex-active-agents/fileicons/icons/agent.svg +0 -5
  76. package/templates/vscode/guardex-active-agents/fileicons/icons/branch.svg +0 -7
  77. package/templates/vscode/guardex-active-agents/fileicons/icons/config.svg +0 -4
  78. package/templates/vscode/guardex-active-agents/fileicons/icons/hook.svg +0 -4
  79. package/templates/vscode/guardex-active-agents/fileicons/icons/openspec.svg +0 -5
  80. package/templates/vscode/guardex-active-agents/fileicons/icons/plan.svg +0 -4
  81. package/templates/vscode/guardex-active-agents/fileicons/icons/spec.svg +0 -5
  82. package/templates/vscode/guardex-active-agents/icon.png +0 -0
  83. package/templates/vscode/guardex-active-agents/media/active-agents-hivemind.svg +0 -14
  84. package/templates/vscode/guardex-active-agents/package.json +0 -169
  85. 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,5 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
2
- <circle cx="8" cy="5" r="2.5" fill="#75beff"/>
3
- <path fill="#3794ff" d="M2.75 13.5c.5-2.4 2.6-3.9 5.25-3.9s4.75 1.5 5.25 3.9H2.75Z"/>
4
- <circle cx="8" cy="5.1" r="1" fill="#1e1e1e" opacity=".35"/>
5
- </svg>
@@ -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,4 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
2
- <path fill="#ffcc66" d="M9.1 1.5 3.5 8.7h3.4l-1 5.8 7-8.4H9.3l1.35-4.6H9.1Z"/>
3
- <path fill="#ce9178" opacity=".35" d="M9.1 1.5 3.5 8.7h3.4l.55-2.45L9.1 1.5Z"/>
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>
@@ -1,5 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
2
- <path fill="#b5cea8" d="M3.25 1.5h6.25l3.25 3.25V14.5H3.25V1.5Z"/>
3
- <path fill="#4ec9b0" d="M9.5 1.75v3h3L9.5 1.75Z"/>
4
- <path fill="#1e1e1e" d="M5 7.4h6v1.1H5zm0 2.3h6v1.1H5zm0 2.3h4v1.1H5z"/>
5
- </svg>
@@ -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
- }