Skip to content

Commit 101b452

Browse files
authored
Merge pull request #16 from AztecProtocol/feat/bump-default-version
feat: update default Aztec version to 4.2.0-aztecnr-rc.2
2 parents 9d99007 + 7037901 commit 101b452

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ An MCP (Model Context Protocol) server that provides local access to Aztec docum
44

55
## Features
66

7-
- **Version Support**: Clone specific Aztec release tags (e.g., `v4.0.0-devnet.2-patch.1`)
7+
- **Version Support**: Clone specific Aztec release tags (e.g., `v4.2.0-aztecnr-rc.2`)
88
- **Local Repository Cloning**: Automatically clones Aztec repositories with sparse checkout for efficiency
99
- **Fast Code Search**: Search Noir contracts and TypeScript files using ripgrep (with fallback)
1010
- **Documentation Search**: Search Aztec documentation by section
@@ -57,14 +57,14 @@ Clones:
5757

5858
**Parameters:**
5959

60-
- `version` (string): Aztec version tag to clone (e.g., `v4.0.0-devnet.2-patch.1`). Defaults to latest supported version.
60+
- `version` (string): Aztec version tag to clone (e.g., `v4.2.0-aztecnr-rc.2`). Defaults to latest supported version.
6161
- `force` (boolean): Force re-clone even if repos exist
6262
- `repos` (string[]): Specific repos to sync
6363

6464
**Example - Clone specific version:**
6565

6666
```
67-
aztec_sync_repos({ version: "v4.0.0-devnet.2-patch.1" })
67+
aztec_sync_repos({ version: "v4.2.0-aztecnr-rc.2" })
6868
```
6969

7070
### `aztec_status`

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
6969
version: {
7070
type: "string",
7171
description:
72-
"Aztec version tag to clone (e.g., 'v4.0.0-devnet.2-patch.1'). Defaults to latest supported version.",
72+
"Aztec version tag to clone (e.g., 'v4.2.0-aztecnr-rc.2'). Defaults to latest supported version.",
7373
},
7474
force: {
7575
type: "boolean",

src/repos/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface RepoConfig {
2929
}
3030

3131
/** Default Aztec version (tag) to use - can be overridden via AZTEC_DEFAULT_VERSION env var */
32-
export const DEFAULT_AZTEC_VERSION = process.env.AZTEC_DEFAULT_VERSION || "v4.0.0-devnet.2-patch.1";
32+
export const DEFAULT_AZTEC_VERSION = process.env.AZTEC_DEFAULT_VERSION || "v4.2.0-aztecnr-rc.2";
3333

3434
/**
3535
* Base Aztec repository configurations (without version)
@@ -131,7 +131,7 @@ const BASE_REPOS: Omit<RepoConfig, "tag">[] = [
131131

132132
/**
133133
* Get Aztec repositories configured for a specific version
134-
* @param version - The Aztec version tag (e.g., "v4.0.0-devnet.2-patch.1")
134+
* @param version - The Aztec version tag (e.g., "v4.2.0-aztecnr-rc.2")
135135
*/
136136
export function getAztecRepos(version?: string): RepoConfig[] {
137137
const tag = version || DEFAULT_AZTEC_VERSION;

test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ async function test() {
2323
// Test 2: Sync repos (this will take a while)
2424
console.log("2. Syncing repositories (this may take a few minutes)...");
2525
const syncResult = await syncRepos({
26-
version: "v4.0.0-devnet.2-patch.1",
26+
version: "v4.2.0-aztecnr-rc.2",
2727
force: true // Force re-clone to get all repos at the tag
2828
});
2929
console.log(` Success: ${syncResult.success}`);

0 commit comments

Comments
 (0)