mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-08-25 07:42:20 +10:00
feat(mcp): add cover-letter PDF downloads (#3304)
* feat(mcp): add cover-letter PDF downloads * fix(mcp): bind signed PDF targets * test(mcp): cover unavailable cover letters * fix(api): accept legacy PDF download targets * fix(server): limit legacy PDF tokens to resumes --------- Co-authored-by: Amruth Pillai <im.amruth@gmail.com>
This commit is contained in:
co-authored by
Amruth Pillai
parent
45303fb465
commit
6d9ebccc63
@@ -40,6 +40,8 @@ describe("buildMcpServerCard", () => {
|
||||
expect(tool?.description).toContain("short-lived");
|
||||
expect(tool?.description).toContain("10 minutes");
|
||||
expect(tool?.annotations?.readOnlyHint).toBe(true);
|
||||
const properties = tool?.inputSchema.properties as Record<string, { enum?: string[]; default?: string }>;
|
||||
expect(properties.target).toMatchObject({ enum: ["resume", "cover-letter"], default: "resume" });
|
||||
});
|
||||
|
||||
it("advertises application tracker tools", () => {
|
||||
|
||||
Reference in New Issue
Block a user