Skip to content

Commit

Permalink
chore(release): 1.6.0 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-cli-bot committed Dec 13, 2024
1 parent a133e27 commit aa0c5fe
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [1.6.0](https://github.com/salesforcecli/plugin-agent/compare/1.5.2...1.6.0) (2024-12-13)

### Features

- add generate definition ([935d770](https://github.com/salesforcecli/plugin-agent/commit/935d770e7f51e6cc56c1128f4d6a704f39754064))
- add generate testset ([3ccdd38](https://github.com/salesforcecli/plugin-agent/commit/3ccdd386649557ff1f78f444d5e92ec78c9dfdc7))

## [1.5.2](https://github.com/salesforcecli/plugin-agent/compare/1.5.1...1.5.2) (2024-12-13)

### Bug Fixes
Expand Down
64 changes: 57 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ sf plugins
<!-- commands -->

- [`sf agent create`](#sf-agent-create)
- [`sf agent generate definition`](#sf-agent-generate-definition)
- [`sf agent generate spec`](#sf-agent-generate-spec)
- [`sf agent generate testset`](#sf-agent-generate-testset)
- [`sf agent preview`](#sf-agent-preview)
- [`sf agent test cancel`](#sf-agent-test-cancel)
- [`sf agent test results`](#sf-agent-test-results)
Expand Down Expand Up @@ -109,7 +111,32 @@ EXAMPLES
$ sf agent create --name CustomerSupportAgent --job-spec ./config/agentSpec.json --target-org my-org
```

_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.5.2/src/commands/agent/create.ts)_
_See code: [src/commands/agent/create.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.0/src/commands/agent/create.ts)_

## `sf agent generate definition`

Interactively generate a new AiEvaluationDefinition.

```
USAGE
$ sf agent generate definition [--flags-dir <value>]
GLOBAL FLAGS
--flags-dir=<value> Import flag values from a directory.
DESCRIPTION
Interactively generate a new AiEvaluationDefinition.
This command will prompt you for the necessary information to create a new AiEvaluationDefinition. The definition will
be saved to the `aiEvaluationDefinitions` directory in the project.
You must have the `Bots` and `AiEvaluationTestSets` metadata types present in your project to use this command.
EXAMPLES
$ sf agent generate definition
```

_See code: [src/commands/agent/generate/definition.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.0/src/commands/agent/generate/definition.ts)_

## `sf agent generate spec`

Expand Down Expand Up @@ -170,7 +197,30 @@ EXAMPLES
$ sf agent generate spec --output-dir specs --target-org my-org
```

_See code: [src/commands/agent/generate/spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.5.2/src/commands/agent/generate/spec.ts)_
_See code: [src/commands/agent/generate/spec.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.0/src/commands/agent/generate/spec.ts)_

## `sf agent generate testset`

Interactively generate an AiEvaluationTestSet.

```
USAGE
$ sf agent generate testset [--flags-dir <value>]
GLOBAL FLAGS
--flags-dir=<value> Import flag values from a directory.
DESCRIPTION
Interactively generate an AiEvaluationTestSet.
Answer the prompts to generate an AiEvaluationTestSet that will be written to a file. You can then run "sf agent
generate definition" to generate the AiEvaluationDefinition that can be used to evaluate the test set.
EXAMPLES
$ sf agent generate testset
```

_See code: [src/commands/agent/generate/testset.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.0/src/commands/agent/generate/testset.ts)_

## `sf agent preview`

Expand Down Expand Up @@ -205,7 +255,7 @@ FLAG DESCRIPTIONS
the API name of the agent? (TBD based on agents library)
```

_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.5.2/src/commands/agent/preview.ts)_
_See code: [src/commands/agent/preview.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.0/src/commands/agent/preview.ts)_

## `sf agent test cancel`

Expand Down Expand Up @@ -237,7 +287,7 @@ EXAMPLES
$ sf agent test cancel --job-id AiEvalId
```

_See code: [src/commands/agent/test/cancel.ts](https://github.com/salesforcecli/plugin-agent/blob/1.5.2/src/commands/agent/test/cancel.ts)_
_See code: [src/commands/agent/test/cancel.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.0/src/commands/agent/test/cancel.ts)_

## `sf agent test results`

Expand Down Expand Up @@ -276,7 +326,7 @@ FLAG DESCRIPTIONS
results will not be written.
```

_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.5.2/src/commands/agent/test/results.ts)_
_See code: [src/commands/agent/test/results.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.0/src/commands/agent/test/results.ts)_

## `sf agent test resume`

Expand Down Expand Up @@ -324,7 +374,7 @@ FLAG DESCRIPTIONS
If the command continues to run after the wait period, the CLI returns control of the terminal window to you.
```

_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.5.2/src/commands/agent/test/resume.ts)_
_See code: [src/commands/agent/test/resume.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.0/src/commands/agent/test/resume.ts)_

## `sf agent test run`

Expand Down Expand Up @@ -375,6 +425,6 @@ FLAG DESCRIPTIONS
If the command continues to run after the wait period, the CLI returns control of the terminal window to you.
```

_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.5.2/src/commands/agent/test/run.ts)_
_See code: [src/commands/agent/test/run.ts](https://github.com/salesforcecli/plugin-agent/blob/1.6.0/src/commands/agent/test/run.ts)_

<!-- commandsstop -->
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@salesforce/plugin-agent",
"description": "Commands to interact with Salesforce agents",
"version": "1.5.2",
"version": "1.6.0",
"author": "Salesforce",
"bugs": "https://github.com/forcedotcom/cli/issues",
"dependencies": {
Expand Down

0 comments on commit aa0c5fe

Please sign in to comment.