agent-roast 0.10.1 → 0.12.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/dist/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
+ AGENT_LABELS,
3
4
  CONFIG_FILENAMES,
4
5
  ConfigError,
5
6
  DEFAULT_CONFIG,
@@ -9,6 +10,10 @@ import {
9
10
  GitError,
10
11
  GitResolutionError,
11
12
  HERMETIC_GIT_FLAGS,
13
+ HOOK_AGENTS,
14
+ INSTRUCTIONS_BLOCK,
15
+ INSTRUCTIONS_END,
16
+ INSTRUCTIONS_START,
12
17
  InvalidDetectorError,
13
18
  MAX_CONFIG_BYTES,
14
19
  MetricsCollector,
@@ -27,12 +32,14 @@ import {
27
32
  detectAiAttribution,
28
33
  findMergeBase,
29
34
  findingFingerprint,
35
+ formatAgentFeedback,
30
36
  formatCheckMarkdown,
31
37
  formatCheckTerminal,
32
38
  formatGithubAnnotations,
33
39
  formatGithubStepSummary,
34
40
  formatPrMarkdownComment,
35
41
  formatPrTerminalCard,
42
+ formatReplayTerminal,
36
43
  formatReviewMarkdown,
37
44
  formatReviewTerminal,
38
45
  formatSarif,
@@ -44,27 +51,46 @@ import {
44
51
  getHermeticGitEnv,
45
52
  getScoreColor,
46
53
  gitOutputPath,
54
+ hookCommand,
55
+ hookConfigPath,
56
+ hookPausedUntil,
57
+ hookStatus,
47
58
  initProject,
59
+ installHooks,
60
+ installInstructions,
61
+ isCheckRule,
48
62
  isCodeFile,
49
63
  isTestFile,
50
64
  loadBaseline,
51
65
  loadConfig,
52
66
  matchIgnorePath,
67
+ mostImportantFirst,
68
+ packageVersion,
53
69
  parseDiff,
70
+ parseDuration,
54
71
  parseGitLogStream,
72
+ pauseHook,
73
+ replayHistory,
74
+ repositoryRoot,
55
75
  resolveCommitSha,
76
+ resumeHook,
56
77
  reviewChanges,
57
78
  reviewStagedChanges,
79
+ reviewWorktreeChanges,
58
80
  roastRepository,
81
+ runDemo,
82
+ runHook,
59
83
  streamGitDiff,
60
84
  streamGitLog,
61
85
  stripStringAndRegexLiterals,
62
86
  terminalText,
87
+ uninstallHooks,
63
88
  unquoteGitPath,
64
89
  validateExceptions,
65
90
  writeBaseline
66
- } from "./chunk-FFKEBW6D.js";
91
+ } from "./chunk-AP5Y4CH6.js";
67
92
  export {
93
+ AGENT_LABELS,
68
94
  CONFIG_FILENAMES,
69
95
  ConfigError,
70
96
  DEFAULT_CONFIG,
@@ -74,6 +100,10 @@ export {
74
100
  GitError,
75
101
  GitResolutionError,
76
102
  HERMETIC_GIT_FLAGS,
103
+ HOOK_AGENTS,
104
+ INSTRUCTIONS_BLOCK,
105
+ INSTRUCTIONS_END,
106
+ INSTRUCTIONS_START,
77
107
  InvalidDetectorError,
78
108
  MAX_CONFIG_BYTES,
79
109
  MetricsCollector,
@@ -92,12 +122,14 @@ export {
92
122
  detectAiAttribution,
93
123
  findMergeBase,
94
124
  findingFingerprint,
125
+ formatAgentFeedback,
95
126
  formatCheckMarkdown,
96
127
  formatCheckTerminal,
97
128
  formatGithubAnnotations,
98
129
  formatGithubStepSummary,
99
130
  formatPrMarkdownComment,
100
131
  formatPrTerminalCard,
132
+ formatReplayTerminal,
101
133
  formatReviewMarkdown,
102
134
  formatReviewTerminal,
103
135
  formatSarif,
@@ -109,22 +141,40 @@ export {
109
141
  getHermeticGitEnv,
110
142
  getScoreColor,
111
143
  gitOutputPath,
144
+ hookCommand,
145
+ hookConfigPath,
146
+ hookPausedUntil,
147
+ hookStatus,
112
148
  initProject,
149
+ installHooks,
150
+ installInstructions,
151
+ isCheckRule,
113
152
  isCodeFile,
114
153
  isTestFile,
115
154
  loadBaseline,
116
155
  loadConfig,
117
156
  matchIgnorePath,
157
+ mostImportantFirst,
158
+ packageVersion,
118
159
  parseDiff,
160
+ parseDuration,
119
161
  parseGitLogStream,
162
+ pauseHook,
163
+ replayHistory,
164
+ repositoryRoot,
120
165
  resolveCommitSha,
166
+ resumeHook,
121
167
  reviewChanges,
122
168
  reviewStagedChanges,
169
+ reviewWorktreeChanges,
123
170
  roastRepository,
171
+ runDemo,
172
+ runHook,
124
173
  streamGitDiff,
125
174
  streamGitLog,
126
175
  stripStringAndRegexLiterals,
127
176
  terminalText,
177
+ uninstallHooks,
128
178
  unquoteGitPath,
129
179
  validateExceptions,
130
180
  writeBaseline
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "agent-roast",
3
- "version": "0.10.1",
4
- "description": "Offline review for AI-assisted changes: catches weakened tests, lowered quality gates, skipped tests and swallowed errors",
3
+ "version": "0.12.0",
4
+ "description": "Stops AI coding agents (and rushed humans) from turning a build green by weakening tests, coverage gates or CI. Hook for Claude Code, Codex and Cursor, pre-commit, GitHub Action. Offline.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -26,14 +26,22 @@
26
26
  },
27
27
  "keywords": [
28
28
  "ai",
29
- "agents",
30
29
  "ai-agents",
30
+ "ai-coding",
31
+ "llm",
31
32
  "claude-code",
32
- "cursor",
33
33
  "codex",
34
+ "cursor",
35
+ "copilot",
36
+ "hooks",
37
+ "guardrails",
34
38
  "code-review",
39
+ "testing",
35
40
  "test-quality",
41
+ "github-actions",
42
+ "pre-commit",
36
43
  "ci",
44
+ "static-analysis",
37
45
  "sarif",
38
46
  "git",
39
47
  "cli"