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