diff --git a/README.md b/README.md index de14959..eaab2cf 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ An MCP (Model Context Protocol) server that provides local access to Aztec docum ## Features -- **Version Support**: Clone specific Aztec release tags (e.g., `v4.0.0-devnet.2-patch.1`) +- **Version Support**: Clone specific Aztec release tags (e.g., `v4.2.0-aztecnr-rc.2`) - **Local Repository Cloning**: Automatically clones Aztec repositories with sparse checkout for efficiency - **Fast Code Search**: Search Noir contracts and TypeScript files using ripgrep (with fallback) - **Documentation Search**: Search Aztec documentation by section @@ -57,14 +57,14 @@ Clones: **Parameters:** -- `version` (string): Aztec version tag to clone (e.g., `v4.0.0-devnet.2-patch.1`). Defaults to latest supported version. +- `version` (string): Aztec version tag to clone (e.g., `v4.2.0-aztecnr-rc.2`). Defaults to latest supported version. - `force` (boolean): Force re-clone even if repos exist - `repos` (string[]): Specific repos to sync **Example - Clone specific version:** ``` -aztec_sync_repos({ version: "v4.0.0-devnet.2-patch.1" }) +aztec_sync_repos({ version: "v4.2.0-aztecnr-rc.2" }) ``` ### `aztec_status` diff --git a/src/index.ts b/src/index.ts index a825ff2..f7553b9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -69,7 +69,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({ version: { type: "string", description: - "Aztec version tag to clone (e.g., 'v4.0.0-devnet.2-patch.1'). Defaults to latest supported version.", + "Aztec version tag to clone (e.g., 'v4.2.0-aztecnr-rc.2'). Defaults to latest supported version.", }, force: { type: "boolean", diff --git a/src/repos/config.ts b/src/repos/config.ts index f65fc0f..0801ced 100644 --- a/src/repos/config.ts +++ b/src/repos/config.ts @@ -29,7 +29,7 @@ export interface RepoConfig { } /** Default Aztec version (tag) to use - can be overridden via AZTEC_DEFAULT_VERSION env var */ -export const DEFAULT_AZTEC_VERSION = process.env.AZTEC_DEFAULT_VERSION || "v4.0.0-devnet.2-patch.1"; +export const DEFAULT_AZTEC_VERSION = process.env.AZTEC_DEFAULT_VERSION || "v4.2.0-aztecnr-rc.2"; /** * Base Aztec repository configurations (without version) @@ -131,7 +131,7 @@ const BASE_REPOS: Omit[] = [ /** * Get Aztec repositories configured for a specific version - * @param version - The Aztec version tag (e.g., "v4.0.0-devnet.2-patch.1") + * @param version - The Aztec version tag (e.g., "v4.2.0-aztecnr-rc.2") */ export function getAztecRepos(version?: string): RepoConfig[] { const tag = version || DEFAULT_AZTEC_VERSION; diff --git a/test.mjs b/test.mjs index b599569..f577f19 100644 --- a/test.mjs +++ b/test.mjs @@ -23,7 +23,7 @@ async function test() { // Test 2: Sync repos (this will take a while) console.log("2. Syncing repositories (this may take a few minutes)..."); const syncResult = await syncRepos({ - version: "v4.0.0-devnet.2-patch.1", + version: "v4.2.0-aztecnr-rc.2", force: true // Force re-clone to get all repos at the tag }); console.log(` Success: ${syncResult.success}`);