diff --git a/package.json b/package.json index 318b68886..db239b23c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aws/agentcore", - "version": "0.28.1", + "version": "1.0.0-rc.1", "repository": { "type": "git", "url": "https://github.com/aws/agentcore-cli.git" diff --git a/src/assets/cdk/package.json b/src/assets/cdk/package.json index d297178c2..8fc72c2de 100644 --- a/src/assets/cdk/package.json +++ b/src/assets/cdk/package.json @@ -23,7 +23,7 @@ "typescript": "~5.9.3" }, "dependencies": { - "@aws/agentcore-cdk": "0.1.0-alpha.51", + "@aws/agentcore-cdk": "0.1.0-alpha.52", "aws-cdk-lib": "~2.266.0", "constructs": "~10.7.0" } diff --git a/src/handlers/update/update.test.ts b/src/handlers/update/update.test.ts index 5be838a57..a3a610d6c 100644 --- a/src/handlers/update/update.test.ts +++ b/src/handlers/update/update.test.ts @@ -28,7 +28,7 @@ describe("fetchLatestVersion", () => { new Response(JSON.stringify({ version: "9.9.9" }), { status: 200 }), ); expect(await fetchLatestVersion()).toBe("9.9.9"); - expect(fetchSpy).toHaveBeenCalledWith("https://registry.npmjs.org/@aws/agentcore/latest"); + expect(fetchSpy).toHaveBeenCalledWith(`https://registry.npmjs.org/@aws/agentcore/${distTag()}`); }); test("throws a NetworkingError when the registry responds non-OK", async () => { @@ -90,7 +90,7 @@ describe("handleUpdate", () => { const result = await handleUpdate(false, { runner: okRunner }); expect(result.status).toBe("updated"); expect(okRunner).toHaveBeenCalledWith( - ["npm", "install", "-g", "@aws/agentcore@latest"], + ["npm", "install", "-g", `@aws/agentcore@${distTag()}`], expect.objectContaining({ cwd: expect.any(String) }), ); });