@yagni-app/code-staging 1.1.5-staging.1434.1 → 1.1.6-staging.1437.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.
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
*/
|
|
50
50
|
import { runPipeline as defaultRunPipeline } from "./orchestrator.js";
|
|
51
51
|
import type { RunBudget } from "./budget.js";
|
|
52
|
-
import type { JsonEvent, ModelTier, PipelineStage, StageId, StageTag, StageUsage, StopReason } from "./types.js";
|
|
52
|
+
import type { Finding, JsonEvent, ModelTier, PipelineStage, StageId, StageTag, StageUsage, StopReason } from "./types.js";
|
|
53
53
|
/** One-line usage copy, shared by every argument error. */
|
|
54
54
|
export declare const HEADLESS_GO_USAGE = "Usage: yagni go --headless --ticket-file <path> [--plan-file <path>] [--memo-file <path>] [--run-id <id>] [--cwd <path>] [--json]";
|
|
55
55
|
/**
|
|
@@ -99,6 +99,7 @@ export interface HeadlessGoResult {
|
|
|
99
99
|
rounds: number;
|
|
100
100
|
findings: number;
|
|
101
101
|
blocking: number;
|
|
102
|
+
finalFindings?: Finding[];
|
|
102
103
|
stages: HeadlessStageRow[];
|
|
103
104
|
runId?: string;
|
|
104
105
|
/** The resolved `YAGNI_GO_TIER_CAP` ceiling; absent when the run is uncapped. */
|
|
@@ -175,6 +175,7 @@ function buildResult(result, ctx) {
|
|
|
175
175
|
rounds: result.rounds.length,
|
|
176
176
|
findings: result.findings.length,
|
|
177
177
|
blocking: result.findings.filter(isBlocking).length,
|
|
178
|
+
finalFindings: [...result.findings].sort((a, b) => Number(isBlocking(b)) - Number(isBlocking(a))).slice(0, 10),
|
|
178
179
|
stages: stageRows(result),
|
|
179
180
|
...(ctx.runId ? { runId: ctx.runId } : {}),
|
|
180
181
|
...(ctx.tierCap ? { tierCap: ctx.tierCap } : {}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yagni-app/code-staging",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6-staging.1437.1",
|
|
4
4
|
"description": "YAGNI Code: a terminal coding agent that already knows your company. One YAGNI login routes the model and grounds the agent in your team's context.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "YAGNI, Inc. <jack@yagni.app> (https://yagni.app)",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"turndown": "^7.2.4",
|
|
59
59
|
"typebox": "^1.3.15"
|
|
60
60
|
},
|
|
61
|
-
"yagniSourceSha": "
|
|
61
|
+
"yagniSourceSha": "2a26d22e715d2b7374dfffae0d25d81c1c89a824"
|
|
62
62
|
}
|