refactor: return complete tool results inline

This commit is contained in:
morluto
2026-09-29 07:08:46 +08:00
parent 2160d4fae5
commit 0d96275b68
535 changed files with 4084 additions and 13537 deletions
-2
View File
@@ -34,7 +34,6 @@ const captureManifestSchema = z.object({
});
export const evidenceBundleSchema = z.object({
bundle_version: z.literal(2),
artifacts: z.array(artifactManifestSchema),
providers: z.array(providerManifestSchema),
environments: z.array(environmentManifestSchema),
@@ -63,7 +62,6 @@ export const createEvidenceBundle = (
left.evidence_id.localeCompare(right.evidence_id),
);
return {
bundle_version: 2,
artifacts: uniqueSorted(
sortedRecords.flatMap(({ subject }) =>
subject === null