feat(tools)!: SnapOtter 2.0 phase 4 wave 1: 45 core tools across all modalities (#219)

This commit is contained in:
SnapOtter
2026-06-13 10:18:49 +08:00
parent d647d8ed19
commit ae1337901d
115 changed files with 10026 additions and 924 deletions
+2 -1
View File
@@ -29,6 +29,7 @@ import { eq } from "drizzle-orm";
import { env } from "../config.js";
import { db, schema } from "../db/index.js";
import { resolveConcurrency } from "../lib/env.js";
import { stripInternalPaths } from "../lib/errors.js";
import { jobDuration, jobsTotal } from "../lib/metrics.js";
import { getObjectBuffer, putObject } from "../lib/object-storage.js";
import { publishEphemeral, updateSingleFileProgress } from "../routes/progress.js";
@@ -341,7 +342,7 @@ async function processToolJob(job: Job<ToolJobData>): Promise<ToolJobResult> {
jobId: progressJobId,
phase: "failed",
percent: 0,
error: finalError,
error: stripInternalPaths(finalError),
});
}
}