Skip to content

Commit e7457ff

Browse files
authored
Merge pull request #19 from AztecProtocol/feat/bump-default-to-v4.2.0
feat: update default Aztec version to v4.2.0
2 parents 32d1e07 + 2039a33 commit e7457ff

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

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.2.0-aztecnr-rc.2`)
7+
- **Version Support**: Clone specific Aztec release tags (e.g., `v4.2.0`)
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.2.0-aztecnr-rc.2`). Defaults to latest supported version.
60+
- `version` (string): Aztec version tag to clone (e.g., `v4.2.0`). 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.2.0-aztecnr-rc.2" })
67+
aztec_sync_repos({ version: "v4.2.0" })
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.2.0-aztecnr-rc.2'). Defaults to latest supported version.",
72+
"Aztec version tag to clone (e.g., 'v4.2.0'). 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
@@ -31,7 +31,7 @@ export interface RepoConfig {
3131
}
3232

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

3636
/**
3737
* Base Aztec repository configurations (without version)
@@ -134,7 +134,7 @@ const BASE_REPOS: Omit<RepoConfig, "tag">[] = [
134134

135135
/**
136136
* Get Aztec repositories configured for a specific version
137-
* @param version - The Aztec version tag (e.g., "v4.2.0-aztecnr-rc.2")
137+
* @param version - The Aztec version tag (e.g., "v4.2.0")
138138
*/
139139
export function getAztecRepos(version?: string): RepoConfig[] {
140140
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.2.0-aztecnr-rc.2",
26+
version: "v4.2.0",
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)