cc-reviewer 1.9.0 → 1.9.1
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/commands/ask-codex.md +1 -1
- package/commands/ask-multi.md +1 -1
- package/commands/codex-xhigh.md +1 -1
- package/commands/codex.md +1 -1
- package/commands/multi.md +1 -1
- package/dist/schema.d.ts +6 -6
- package/dist/tools/feedback.d.ts +3 -3
- package/dist/tools/feedback.js +5 -5
- package/dist/tools/peer.d.ts +1 -1
- package/dist/tools/peer.js +4 -4
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
package/commands/ask-codex.md
CHANGED
|
@@ -21,7 +21,7 @@ Call `ask_codex` with:
|
|
|
21
21
|
"taskType": "<infer from request: plan|debug|explain|question|fix|explore|general>",
|
|
22
22
|
"relevantFiles": ["<files related to the question>"],
|
|
23
23
|
"context": "<any error messages or prior analysis>",
|
|
24
|
-
"serviceTier": "<if user says 'fast mode'/'fast'/'priority' → '
|
|
24
|
+
"serviceTier": "<if user says 'fast mode'/'fast'/'priority' → 'fast'; if 'flex'/'cheap'/'budget' → 'flex'; otherwise omit>"
|
|
25
25
|
}
|
|
26
26
|
```
|
|
27
27
|
|
package/commands/ask-multi.md
CHANGED
|
@@ -20,7 +20,7 @@ Call `ask_multi` with:
|
|
|
20
20
|
"taskType": "<infer from request: plan|debug|explain|question|fix|explore|general>",
|
|
21
21
|
"relevantFiles": ["<files related to the question>"],
|
|
22
22
|
"context": "<any error messages or prior analysis>",
|
|
23
|
-
"serviceTier": "<if user says 'fast mode'/'fast'/'priority' → '
|
|
23
|
+
"serviceTier": "<if user says 'fast mode'/'fast'/'priority' → 'fast'; if 'flex'/'cheap'/'budget' → 'flex'; otherwise omit. Applies to Codex only.>"
|
|
24
24
|
}
|
|
25
25
|
```
|
|
26
26
|
|
package/commands/codex-xhigh.md
CHANGED
|
@@ -18,7 +18,7 @@ Use the `codex_review` MCP tool with `reasoningEffort: "xhigh"` for deeper analy
|
|
|
18
18
|
- `workingDir`: current working directory
|
|
19
19
|
- `ccOutput`: brief summary of recent changes or context
|
|
20
20
|
- `reasoningEffort`: "xhigh" (this is the key difference from /codex)
|
|
21
|
-
- `serviceTier`: if user says "fast mode"/"fast"/"priority" → "
|
|
21
|
+
- `serviceTier`: if user says "fast mode"/"fast"/"priority" → "fast"; if "flex"/"cheap"/"budget" → "flex"; otherwise omit
|
|
22
22
|
- `focus`: extracted from $ARGUMENTS if it's a known focus area
|
|
23
23
|
- `customInstructions`: $ARGUMENTS if it's custom text
|
|
24
24
|
|
package/commands/codex.md
CHANGED
|
@@ -49,7 +49,7 @@ Call `codex_review` with:
|
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
### Service Tier (from $ARGUMENTS)
|
|
52
|
-
- If user says "fast mode", "fast", or "priority" → set `serviceTier: "
|
|
52
|
+
- If user says "fast mode", "fast", or "priority" → set `serviceTier: "fast"` (priority processing, ~2x cost)
|
|
53
53
|
- If user says "flex", "cheap", or "budget" → set `serviceTier: "flex"` (50% cheaper, slower)
|
|
54
54
|
- Otherwise → omit `serviceTier` (uses default tier)
|
|
55
55
|
|
package/commands/multi.md
CHANGED
|
@@ -47,7 +47,7 @@ Call `multi_review` with:
|
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
### Service Tier (from $ARGUMENTS, applies to Codex only)
|
|
50
|
-
- If user says "fast mode", "fast", or "priority" → set `serviceTier: "
|
|
50
|
+
- If user says "fast mode", "fast", or "priority" → set `serviceTier: "fast"`
|
|
51
51
|
- If user says "flex", "cheap", or "budget" → set `serviceTier: "flex"`
|
|
52
52
|
- Otherwise → omit `serviceTier`
|
|
53
53
|
|
package/dist/schema.d.ts
CHANGED
|
@@ -651,13 +651,13 @@ export declare const SuggestedAction: z.ZodObject<{
|
|
|
651
651
|
rationale: z.ZodString;
|
|
652
652
|
}, "strip", z.ZodTypeAny, {
|
|
653
653
|
rationale: string;
|
|
654
|
-
priority: "high" | "medium" | "low";
|
|
655
654
|
action: string;
|
|
655
|
+
priority: "high" | "medium" | "low";
|
|
656
656
|
file?: string | null | undefined;
|
|
657
657
|
}, {
|
|
658
658
|
rationale: string;
|
|
659
|
-
priority: "high" | "medium" | "low";
|
|
660
659
|
action: string;
|
|
660
|
+
priority: "high" | "medium" | "low";
|
|
661
661
|
file?: string | null | undefined;
|
|
662
662
|
}>;
|
|
663
663
|
export type SuggestedAction = z.infer<typeof SuggestedAction>;
|
|
@@ -688,13 +688,13 @@ export declare const PeerOutput: z.ZodObject<{
|
|
|
688
688
|
rationale: z.ZodString;
|
|
689
689
|
}, "strip", z.ZodTypeAny, {
|
|
690
690
|
rationale: string;
|
|
691
|
-
priority: "high" | "medium" | "low";
|
|
692
691
|
action: string;
|
|
692
|
+
priority: "high" | "medium" | "low";
|
|
693
693
|
file?: string | null | undefined;
|
|
694
694
|
}, {
|
|
695
695
|
rationale: string;
|
|
696
|
-
priority: "high" | "medium" | "low";
|
|
697
696
|
action: string;
|
|
697
|
+
priority: "high" | "medium" | "low";
|
|
698
698
|
file?: string | null | undefined;
|
|
699
699
|
}>, "many">;
|
|
700
700
|
file_references: z.ZodArray<z.ZodObject<{
|
|
@@ -752,8 +752,8 @@ export declare const PeerOutput: z.ZodObject<{
|
|
|
752
752
|
key_points: string[];
|
|
753
753
|
suggested_actions: {
|
|
754
754
|
rationale: string;
|
|
755
|
-
priority: "high" | "medium" | "low";
|
|
756
755
|
action: string;
|
|
756
|
+
priority: "high" | "medium" | "low";
|
|
757
757
|
file?: string | null | undefined;
|
|
758
758
|
}[];
|
|
759
759
|
file_references: {
|
|
@@ -780,8 +780,8 @@ export declare const PeerOutput: z.ZodObject<{
|
|
|
780
780
|
key_points: string[];
|
|
781
781
|
suggested_actions: {
|
|
782
782
|
rationale: string;
|
|
783
|
-
priority: "high" | "medium" | "low";
|
|
784
783
|
action: string;
|
|
784
|
+
priority: "high" | "medium" | "low";
|
|
785
785
|
file?: string | null | undefined;
|
|
786
786
|
}[];
|
|
787
787
|
file_references: {
|
package/dist/tools/feedback.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare const ReviewInputSchema: z.ZodObject<{
|
|
|
14
14
|
focusAreas: z.ZodOptional<z.ZodArray<z.ZodEnum<["security", "performance", "architecture", "correctness", "maintainability", "scalability", "testing", "documentation"]>, "many">>;
|
|
15
15
|
customPrompt: z.ZodOptional<z.ZodString>;
|
|
16
16
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["high", "xhigh"]>>;
|
|
17
|
-
serviceTier: z.ZodOptional<z.ZodEnum<["default", "
|
|
17
|
+
serviceTier: z.ZodOptional<z.ZodEnum<["default", "fast", "flex"]>>;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
19
|
workingDir: string;
|
|
20
20
|
ccOutput: string;
|
|
@@ -23,7 +23,7 @@ export declare const ReviewInputSchema: z.ZodObject<{
|
|
|
23
23
|
customPrompt?: string | undefined;
|
|
24
24
|
analyzedFiles?: string[] | undefined;
|
|
25
25
|
reasoningEffort?: "high" | "xhigh" | undefined;
|
|
26
|
-
serviceTier?: "default" | "
|
|
26
|
+
serviceTier?: "default" | "fast" | "flex" | undefined;
|
|
27
27
|
}, {
|
|
28
28
|
workingDir: string;
|
|
29
29
|
ccOutput: string;
|
|
@@ -32,7 +32,7 @@ export declare const ReviewInputSchema: z.ZodObject<{
|
|
|
32
32
|
customPrompt?: string | undefined;
|
|
33
33
|
analyzedFiles?: string[] | undefined;
|
|
34
34
|
reasoningEffort?: "high" | "xhigh" | undefined;
|
|
35
|
-
serviceTier?: "default" | "
|
|
35
|
+
serviceTier?: "default" | "fast" | "flex" | undefined;
|
|
36
36
|
}>;
|
|
37
37
|
export type ReviewInput = z.infer<typeof ReviewInputSchema>;
|
|
38
38
|
export declare function handleCodexReview(input: ReviewInput): Promise<{
|
package/dist/tools/feedback.js
CHANGED
|
@@ -21,7 +21,7 @@ export const ReviewInputSchema = z.object({
|
|
|
21
21
|
])).optional().describe('Areas to focus the review on'),
|
|
22
22
|
customPrompt: z.string().optional().describe('Custom instructions for the reviewer'),
|
|
23
23
|
reasoningEffort: z.enum(['high', 'xhigh']).optional().describe('Codex reasoning effort level (default: high, use xhigh for deeper analysis)'),
|
|
24
|
-
serviceTier: z.enum(['default', '
|
|
24
|
+
serviceTier: z.enum(['default', 'fast', 'flex']).optional().describe('Codex service tier (default: default, fast = priority processing, flex = cheaper/slower)')
|
|
25
25
|
});
|
|
26
26
|
// =============================================================================
|
|
27
27
|
// HELPER FUNCTIONS
|
|
@@ -343,8 +343,8 @@ export const TOOL_DEFINITIONS = {
|
|
|
343
343
|
},
|
|
344
344
|
serviceTier: {
|
|
345
345
|
type: 'string',
|
|
346
|
-
enum: ['default', '
|
|
347
|
-
description: 'Codex service tier (
|
|
346
|
+
enum: ['default', 'fast', 'flex'],
|
|
347
|
+
description: 'Codex service tier (fast = priority processing, flex = cheaper/slower)'
|
|
348
348
|
}
|
|
349
349
|
},
|
|
350
350
|
required: ['workingDir', 'ccOutput', 'outputType']
|
|
@@ -428,8 +428,8 @@ export const TOOL_DEFINITIONS = {
|
|
|
428
428
|
},
|
|
429
429
|
serviceTier: {
|
|
430
430
|
type: 'string',
|
|
431
|
-
enum: ['default', '
|
|
432
|
-
description: 'Codex service tier (
|
|
431
|
+
enum: ['default', 'fast', 'flex'],
|
|
432
|
+
description: 'Codex service tier (fast = priority processing, flex = cheaper/slower). Only applies to Codex.'
|
|
433
433
|
}
|
|
434
434
|
},
|
|
435
435
|
required: ['workingDir', 'ccOutput', 'outputType']
|
package/dist/tools/peer.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export type PeerInput = {
|
|
|
16
16
|
focusAreas?: string[];
|
|
17
17
|
customPrompt?: string;
|
|
18
18
|
reasoningEffort?: 'high' | 'xhigh';
|
|
19
|
-
serviceTier?: 'default' | '
|
|
19
|
+
serviceTier?: 'default' | 'fast' | 'flex';
|
|
20
20
|
};
|
|
21
21
|
export declare function formatPeerResponse(result: PeerResult, modelName: string): string;
|
|
22
22
|
export declare function handleAskCodex(input: PeerInput): Promise<{
|
package/dist/tools/peer.js
CHANGED
|
@@ -244,8 +244,8 @@ export const PEER_TOOL_DEFINITIONS = {
|
|
|
244
244
|
},
|
|
245
245
|
serviceTier: {
|
|
246
246
|
type: 'string',
|
|
247
|
-
enum: ['default', '
|
|
248
|
-
description: 'Codex service tier (
|
|
247
|
+
enum: ['default', 'fast', 'flex'],
|
|
248
|
+
description: 'Codex service tier (fast = priority processing, flex = cheaper/slower)',
|
|
249
249
|
},
|
|
250
250
|
},
|
|
251
251
|
required: ['workingDir', 'prompt'],
|
|
@@ -337,8 +337,8 @@ export const PEER_TOOL_DEFINITIONS = {
|
|
|
337
337
|
},
|
|
338
338
|
serviceTier: {
|
|
339
339
|
type: 'string',
|
|
340
|
-
enum: ['default', '
|
|
341
|
-
description: 'Codex service tier (
|
|
340
|
+
enum: ['default', 'fast', 'flex'],
|
|
341
|
+
description: 'Codex service tier (fast = priority processing, flex = cheaper/slower). Only applies to Codex.',
|
|
342
342
|
},
|
|
343
343
|
},
|
|
344
344
|
required: ['workingDir', 'prompt'],
|
package/dist/types.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export type OutputType = 'plan' | 'findings' | 'analysis' | 'proposal';
|
|
|
5
5
|
export type FocusArea = 'security' | 'performance' | 'architecture' | 'correctness' | 'maintainability' | 'scalability' | 'testing' | 'documentation';
|
|
6
6
|
export type CliType = 'codex' | 'gemini';
|
|
7
7
|
export type ReasoningEffort = 'high' | 'xhigh';
|
|
8
|
-
export type ServiceTier = 'default' | '
|
|
8
|
+
export type ServiceTier = 'default' | 'fast' | 'flex';
|
|
9
9
|
export type TaskType = 'plan' | 'debug' | 'explain' | 'question' | 'fix' | 'explore' | 'general';
|
|
10
10
|
export interface FeedbackRequest {
|
|
11
11
|
workingDir: string;
|