From f0462c4a6ff801ba1e825aaedd7d07102009fe8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Rivas?= Date: Tue, 12 May 2026 16:59:06 -0300 Subject: [PATCH 1/2] feat: revert run-eval command to beta state Keep all refactoring from PR #413 (delegation to @salesforce/agents library) but return command to beta/hidden state until ready for GA promotion. Co-Authored-By: Claude Sonnet 4.5 --- src/commands/agent/test/run-eval.ts | 2 ++ test/commands/agent/test/run-eval.test.ts | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/commands/agent/test/run-eval.ts b/src/commands/agent/test/run-eval.ts index c31b3815..82675c58 100644 --- a/src/commands/agent/test/run-eval.ts +++ b/src/commands/agent/test/run-eval.ts @@ -70,6 +70,8 @@ export default class AgentTestRunEval extends SfCommand { public static readonly summary = messages.getMessage('summary'); public static readonly description = messages.getMessage('description'); public static readonly examples = messages.getMessages('examples'); + public static state = 'beta'; + public static readonly hidden = true; public static readonly envVariablesSection = toHelpSection( 'ENVIRONMENT VARIABLES', diff --git a/test/commands/agent/test/run-eval.test.ts b/test/commands/agent/test/run-eval.test.ts index 8be229b9..771a0f59 100644 --- a/test/commands/agent/test/run-eval.test.ts +++ b/test/commands/agent/test/run-eval.test.ts @@ -141,9 +141,9 @@ describe('agent test run-eval', () => { // ─── State ───────────────────────────────────────────────────────────────── describe('command metadata', () => { - it('is not in beta or hidden state', () => { - expect(AgentTestRunEval.state).to.not.equal('beta'); - expect(AgentTestRunEval.hidden).to.not.equal(true); + it('is in beta and hidden state', () => { + expect(AgentTestRunEval.state).to.equal('beta'); + expect(AgentTestRunEval.hidden).to.equal(true); }); }); From eb2281770c8618321b75731185b807ba035b5e7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Rivas?= Date: Tue, 12 May 2026 17:42:46 -0300 Subject: [PATCH 2/2] chore: unhide run-eval command --- src/commands/agent/test/run-eval.ts | 1 - test/commands/agent/test/run-eval.test.ts | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/commands/agent/test/run-eval.ts b/src/commands/agent/test/run-eval.ts index 82675c58..d645bcf3 100644 --- a/src/commands/agent/test/run-eval.ts +++ b/src/commands/agent/test/run-eval.ts @@ -71,7 +71,6 @@ export default class AgentTestRunEval extends SfCommand { public static readonly description = messages.getMessage('description'); public static readonly examples = messages.getMessages('examples'); public static state = 'beta'; - public static readonly hidden = true; public static readonly envVariablesSection = toHelpSection( 'ENVIRONMENT VARIABLES', diff --git a/test/commands/agent/test/run-eval.test.ts b/test/commands/agent/test/run-eval.test.ts index 771a0f59..3d52e8e7 100644 --- a/test/commands/agent/test/run-eval.test.ts +++ b/test/commands/agent/test/run-eval.test.ts @@ -141,9 +141,8 @@ describe('agent test run-eval', () => { // ─── State ───────────────────────────────────────────────────────────────── describe('command metadata', () => { - it('is in beta and hidden state', () => { + it('is in beta state', () => { expect(AgentTestRunEval.state).to.equal('beta'); - expect(AgentTestRunEval.hidden).to.equal(true); }); });