@kyo-so/cli 0.4.1 → 0.5.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.
@@ -1,9 +1,14 @@
1
- import type { KyosoResult, ReviewTool } from "../core/types.js";
2
- export declare function buildJudgePrompt(tool: ReviewTool, result: Omit<KyosoResult, "summaryMarkdown">, summaryText: string): string;
1
+ import type { CrossModelAnalysis, KyosoResult, NormalizedAgentOpinion, ReviewTool } from "../core/types.js";
2
+ export declare function buildJudgePrompt(tool: ReviewTool, result: Omit<KyosoResult, "summaryMarkdown">, summaryText: string, agentFindings: Array<{
3
+ agent: string;
4
+ role: string;
5
+ findings: NormalizedAgentOpinion["findings"];
6
+ }>): string;
3
7
  export declare function parseJudgeOutput(text: string, fallbackSummaryText: string): {
4
8
  summaryText: string;
5
9
  disagreementComments: Array<{
6
10
  topic: string;
7
11
  judgeComment: string;
8
12
  }>;
13
+ analysis?: Omit<CrossModelAnalysis, "provider">;
9
14
  };
@@ -1,11 +1,12 @@
1
1
  import type { KyosoConfig } from "../config/schema.js";
2
- import type { KyosoResult, JudgeProvider, ReviewTool } from "../core/types.js";
2
+ import type { AgentName, CrossModelAnalysis, KyosoResult, JudgeProvider, NormalizedAgentOpinion, ReviewTool } from "../core/types.js";
3
3
  export type JudgeOutput = {
4
4
  summaryText: string;
5
5
  disagreementComments: Array<{
6
6
  topic: string;
7
7
  judgeComment: string;
8
8
  }>;
9
+ analysis?: Omit<CrossModelAnalysis, "provider">;
9
10
  };
10
11
  export type ResolvedJudgeProvider = Exclude<JudgeProvider, "auto"> | "deterministic_fallback";
11
12
  export type JudgeRunResult = {
@@ -18,6 +19,11 @@ export type JudgeRunInput = {
18
19
  tool: ReviewTool;
19
20
  result: Omit<KyosoResult, "summaryMarkdown">;
20
21
  summaryText: string;
22
+ agentFindings: Array<{
23
+ agent: AgentName;
24
+ role: string;
25
+ findings: NormalizedAgentOpinion["findings"];
26
+ }>;
21
27
  config: KyosoConfig["judge"];
22
28
  requestedProvider?: JudgeProvider;
23
29
  env: NodeJS.ProcessEnv;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kyo-so/cli",
3
- "version": "0.4.1",
3
+ "version": "0.5.0",
4
4
  "description": "Kyo-so: MCP-native, ACP-powered multi-agent review gates for AI coding workflows.",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "repository": {