(base: string, notice: string | null = getUpdateNotice())
| 47 | * env or it will fail only in the weeks after a release ships. |
| 48 | */ |
| 49 | export function initializeInstructions(base: string, notice: string | null = getUpdateNotice()): string { |
| 50 | if (!notice) return base; |
| 51 | return ( |
| 52 | `${base}\n\n---\n${notice} This server keeps running the old version until ` + |
| 53 | `the user upgrades — mention it when convenient; do not run the upgrade yourself.` |
| 54 | ); |
| 55 | } |
| 56 | |
| 57 | /** MCP Protocol Version (latest the server claims). */ |
| 58 | export const PROTOCOL_VERSION = '2024-11-05'; |
no test coverage detected