@exaudeus/workrail 3.73.0 → 3.73.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/dist/cli/commands/worktrain-daemon.d.ts +7 -0
- package/dist/cli/commands/worktrain-daemon.js +29 -7
- package/dist/cli-worktrain.js +11 -0
- package/dist/console-ui/assets/{index-HnM-KywY.js → index-txIYXGHx.js} +1 -1
- package/dist/console-ui/index.html +1 -1
- package/dist/manifest.json +11 -11
- package/dist/mcp/handlers/v2-advance-core/outcome-success.js +2 -13
- package/docs/ideas/backlog.md +3132 -542
- package/docs/roadmap/open-work-inventory.md +12 -0
- package/package.json +2 -1
|
@@ -176,23 +176,12 @@ function buildSuccessOutcome(args) {
|
|
|
176
176
|
const repoRoot = readObservation(truth.events, 'repo_root');
|
|
177
177
|
const startGitSha = readObservation(truth.events, 'git_head_sha');
|
|
178
178
|
const gitBranch = readObservation(truth.events, 'git_branch');
|
|
179
|
-
let agentCommitShas = [];
|
|
180
|
-
for (const e of truth.events) {
|
|
181
|
-
if (e.kind !== 'context_set')
|
|
182
|
-
continue;
|
|
183
|
-
const ctx = e.data['context'];
|
|
184
|
-
if (ctx && typeof ctx === 'object' && !Array.isArray(ctx)) {
|
|
185
|
-
const shas = ctx['metrics_commit_shas'];
|
|
186
|
-
if (Array.isArray(shas) && shas.every(s => typeof s === 'string')) {
|
|
187
|
-
agentCommitShas = shas;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
179
|
const firstTs = truth.events[0]?.timestampMs;
|
|
192
180
|
const lastTs = truth.events[truth.events.length - 1]?.timestampMs;
|
|
193
181
|
const durationMs = (firstTs !== undefined && lastTs !== undefined) ? (lastTs - firstTs) : undefined;
|
|
194
182
|
return neverthrow_1.ResultAsync.fromPromise(resolveEndGitSha(repoRoot), (e) => ({ kind: 'advance_apply_failed', message: String(e) })).andThen((endGitSha) => {
|
|
195
|
-
const
|
|
183
|
+
const agentCommitShas = [];
|
|
184
|
+
const captureConfidence = 'none';
|
|
196
185
|
extraEventsToAppend.push((0, v2_advance_events_js_1.buildRunCompletedEvent)({
|
|
197
186
|
sessionId: String(sessionId),
|
|
198
187
|
runId: String(runId),
|