{"draft":null,"from":185,"to":186,"files":[{"path":"worker/project/http.ts","added":11,"removed":0,"diff":"--- a/worker/project/http.ts\n+++ b/worker/project/http.ts\n@@ -350,6 +350,17 @@\n \t\t\tconst limit = q.limit !== undefined && Number.isInteger(Number(q.limit)) ? Number(q.limit) : undefined;\n \t\t\treturn { status: 200, body: history.refusals(q.agent || undefined, limit) };\n \t\t}\n+\t\tif (op === \"without\") {\n+\t\t\t// GET ?version=<n>&versions=<n,n>: version n of shared with those versions left out (without.ts).\n+\t\t\tconst q = (body ?? {}) as Record<string, string | undefined>;\n+\t\t\tconst history = project as ProjectCalls & Partial<ProjectHistory>;\n+\t\t\tif (!history.without) return fail(501, \"without needs the engine\");\n+\t\t\tconst version = q.version !== undefined && /^\\d+$/.test(q.version) ? Number(q.version) : undefined;\n+\t\t\tconst versions = (q.versions ?? \"\").split(\",\").filter((s) => s.trim() !== \"\");\n+\t\t\tif (version === undefined || versions.length === 0 || versions.some((s) => !/^\\s*\\d+\\s*$/.test(s)))\n+\t\t\t\treturn fail(400, \"without needs ?version=<number>&versions=<number,number>\");\n+\t\t\treturn { status: 200, body: history.without(version, versions.map(Number)) };\n+\t\t}\n \t\tif (op === \"log\" || op === \"show\" || op === \"file\" || op === \"compare\") {\n \t\t\t// GETs: ?draft=<name> (shared when absent); log ?limit, ?path; show ?version; file ?path, ?version; compare ?from, ?to.\n \t\t\tconst q = (body ?? {}) as Record<string, string | undefined>;"}],"unmatched":[]}