@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.
- package/CHANGELOG.md +29 -0
- package/README.ja.md +20 -2
- package/README.md +24 -3
- package/README.zh-CN.md +20 -2
- package/dist/acp/FakeAgentManager.d.ts +13 -1
- package/dist/acp/prompts.d.ts +2 -1
- package/dist/aggregate/aggregateFindings.d.ts +5 -2
- package/dist/bin/kyoso.js +553 -15
- package/dist/config/schema.d.ts +6 -0
- package/dist/core/constants.d.ts +1 -1
- package/dist/core/types.d.ts +21 -1
- package/dist/core/verification.d.ts +24 -0
- package/dist/index.js +552 -14
- package/dist/judge/prompt.d.ts +7 -2
- package/dist/judge/provider.d.ts +7 -1
- package/package.json +1 -1
package/dist/judge/prompt.d.ts
CHANGED
|
@@ -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
|
|
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
|
};
|
package/dist/judge/provider.d.ts
CHANGED
|
@@ -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;
|