@@ -62,7 +62,7 @@ sf plugins
6262<!-- commands -->
6363
6464- [ ` sf agent create ` ] ( #sf-agent-create )
65- - [ ` sf agent generate spec ` ] ( #sf-agent-generate-spec )
65+ - [ ` sf agent generate agent- spec ` ] ( #sf-agent-generate-agent -spec )
6666- [ ` sf agent generate test-spec ` ] ( #sf-agent-generate-test-spec )
6767- [ ` sf agent preview ` ] ( #sf-agent-preview )
6868- [ ` sf agent test cancel ` ] ( #sf-agent-test-cancel )
@@ -78,8 +78,8 @@ Create an agent in your org using a local agent spec file.
7878
7979```
8080USAGE
81- $ sf agent create -o <value> --spec <value> [--json] [--flags-dir <value>] [--api-version <value>] [--agent-name
82- <value>] [--preview ] [--agent-api-name <value> ]
81+ $ sf agent create -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [--agent-name <value>]
82+ [--agent-api-name <value>] [--spec <value> ] [--preview ]
8383
8484FLAGS
8585 -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
8989 --agent-name=<value> Name (label) of the new agent.
9090 --api-version=<value> Override the api version used for api requests made by this command
9191 --preview Preview the agent without saving it in your org.
92- --spec=<value> (required) Path to an agent spec file.
92+ --spec=<value> Path to an agent spec file.
9393
9494GLOBAL FLAGS
9595 --flags-dir=<value> Import flag values from a directory.
@@ -124,24 +124,23 @@ EXAMPLES
124124 $ sf agent create --agent-name ResortManager --spec specs/resortManagerAgent.yaml --preview
125125```
126126
127- _ See code: [ src/commands/agent/create.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.12 .0/src/commands/agent/create.ts ) _
127+ _ See code: [ src/commands/agent/create.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.13 .0/src/commands/agent/create.ts ) _
128128
129- ## ` sf agent generate spec `
129+ ## ` sf agent generate agent- spec `
130130
131131Generate an agent spec, which is a YAML file that captures what an agent can do.
132132
133133```
134134USAGE
135- $ sf agent generate spec -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-t customer|internal]
135+ $ sf agent generate agent- spec -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [--type customer|internal]
136136 [--role <value>] [--company-name <value>] [--company-description <value>] [--company-website <value>] [--max-topics
137137 <value>] [--agent-user <value>] [--enrich-logs true|false] [--tone formal|casual|neutral] [--spec <value>]
138- [--output-file <value>] [--full-interview] [--grounding-context <value> --prompt-template <value>] [--no-prompt ]
138+ [--output-file <value>] [--full-interview] [--grounding-context <value> --prompt-template <value>] [-p ]
139139
140140FLAGS
141141 -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
142142 configuration variable is already set.
143- -t, --type=<option> Type of agent to create.
144- <options: customer|internal>
143+ -p, --no-prompt Don't prompt the user to confirm spec file overwrite.
145144 --agent-user=<value> Username of a user in your org to assign to your agent; determines what your agent
146145 can access and do.
147146 --api-version=<value> Override the api version used for api requests made by this command
@@ -155,16 +154,17 @@ FLAGS
155154 --grounding-context=<value> Context information and personalization that's added to your prompts when using a
156155 custom prompt template.
157156 --max-topics=<value> Maximum number of topics to generate in the agent spec; default is 10.
158- --no-prompt Don't prompt the user to confirm spec file overwrite.
159- --output-file=<value> [default: config/agentSpec.yaml] Path for the generated YAML agent spec file; can
160- be an absolute or relative path.
157+ --output-file=<value> [default: specs/agentSpec.yaml] Path for the generated YAML agent spec file; can be
158+ an absolute or relative path.
161159 --prompt-template=<value> API name of a customized prompt template to use instead of the default prompt
162160 template.
163161 --role=<value> Role of the agent.
164162 --spec=<value> Agent spec file, in YAML format, to use as input to the command.
165163 --tone=<option> Conversational style of the agent, such as how it expresses your brand personality
166164 in its messages through word choice, punctuation, and sentence structure.
167165 <options: formal|casual|neutral>
166+ --type=<option> Type of agent to create.
167+ <options: customer|internal>
168168
169169GLOBAL FLAGS
170170 --flags-dir=<value> Import flag values from a directory.
@@ -200,24 +200,24 @@ EXAMPLES
200200 Generate an agent spec in the default location and use flags to specify the agent properties, such as its role and
201201 your company details; use your default org:
202202
203- $ sf agent generate spec --type customer --role "Field customer complaints and manage employee schedules." \
203+ $ sf agent generate agent- spec --type customer --role "Field customer complaints and manage employee schedules." \
204204 --company-name "Coral Cloud Resorts" --company-description "Provide customers with exceptional destination \
205205 activities, unforgettable experiences, and reservation services."
206206
207207 Generate an agent spec by being prompted for the required agent properties and generate a maxiumum of 5 topics;
208208 write the generated file to the "specs/resortManagerSpec.yaml" file and use the org with alias "my-org":
209209
210- $ sf agent generate spec --max-topics 5 --output-file specs/resortManagerAgent.yaml --target-org my-org
210+ $ sf agent generate agent- spec --max-topics 5 --output-file specs/resortManagerAgent.yaml --target-org my-org
211211
212212 Specify an existing agent spec file called "specs/resortManagerAgent.yaml", and then overwrite it with a new version
213213 that contains newly AI-generated topics based on the updated role information passed in with the --role flag:
214214
215- $ sf agent generate spec --spec specs/resortManagerAgent.yaml --output-file specs/resortManagerAgent.yaml --role \
216- "Field customer complaints, manage employee schedules, and ensure all resort operations are running smoothly" \
217- --target-org my-org
215+ $ sf agent generate agent- spec --spec specs/resortManagerAgent.yaml --output-file specs/resortManagerAgent.yaml \
216+ --role "Field customer complaints, manage employee schedules, and ensure all resort operations are running \
217+ smoothly" --target-org my-org
218218```
219219
220- _ See code: [ src/commands/agent/generate/spec.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.12 .0/src/commands/agent/generate/spec.ts ) _
220+ _ See code: [ src/commands/agent/generate/agent- spec.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.13 .0/src/commands/agent/generate/agent- spec.ts ) _
221221
222222## ` sf agent generate test-spec `
223223
@@ -240,7 +240,7 @@ EXAMPLES
240240 $ sf agent generate test-spec
241241```
242242
243- _ See code: [ src/commands/agent/generate/test-spec.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.12 .0/src/commands/agent/generate/test-spec.ts ) _
243+ _ See code: [ src/commands/agent/generate/test-spec.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.13 .0/src/commands/agent/generate/test-spec.ts ) _
244244
245245## ` sf agent preview `
246246
@@ -275,7 +275,7 @@ FLAG DESCRIPTIONS
275275 the API name of the agent? (TBD based on agents library)
276276```
277277
278- _ See code: [ src/commands/agent/preview.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.12 .0/src/commands/agent/preview.ts ) _
278+ _ See code: [ src/commands/agent/preview.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.13 .0/src/commands/agent/preview.ts ) _
279279
280280## ` sf agent test cancel `
281281
@@ -312,7 +312,7 @@ EXAMPLES
312312 $ sf agent test cancel --job-id 4KBfake0000003F4AQ --target-org my-org
313313```
314314
315- _ See code: [ src/commands/agent/test/cancel.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.12 .0/src/commands/agent/test/cancel.ts ) _
315+ _ See code: [ src/commands/agent/test/cancel.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.13 .0/src/commands/agent/test/cancel.ts ) _
316316
317317## ` sf agent test create `
318318
@@ -348,7 +348,7 @@ FLAG DESCRIPTIONS
348348 More information about a flag. Don't repeat the summary.
349349```
350350
351- _ See code: [ src/commands/agent/test/create.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.12 .0/src/commands/agent/test/create.ts ) _
351+ _ See code: [ src/commands/agent/test/create.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.13 .0/src/commands/agent/test/create.ts ) _
352352
353353## ` sf agent test list `
354354
@@ -377,7 +377,7 @@ EXAMPLES
377377 $ sf agent test list
378378```
379379
380- _ See code: [ src/commands/agent/test/list.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.12 .0/src/commands/agent/test/list.ts ) _
380+ _ See code: [ src/commands/agent/test/list.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.13 .0/src/commands/agent/test/list.ts ) _
381381
382382## ` sf agent test results `
383383
@@ -433,7 +433,7 @@ FLAG DESCRIPTIONS
433433 test results aren't written.
434434```
435435
436- _ See code: [ src/commands/agent/test/results.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.12 .0/src/commands/agent/test/results.ts ) _
436+ _ See code: [ src/commands/agent/test/results.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.13 .0/src/commands/agent/test/results.ts ) _
437437
438438## ` sf agent test resume `
439439
@@ -496,7 +496,7 @@ FLAG DESCRIPTIONS
496496 test results aren't written.
497497```
498498
499- _ See code: [ src/commands/agent/test/resume.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.12 .0/src/commands/agent/test/resume.ts ) _
499+ _ See code: [ src/commands/agent/test/resume.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.13 .0/src/commands/agent/test/resume.ts ) _
500500
501501## ` sf agent test run `
502502
@@ -559,6 +559,6 @@ FLAG DESCRIPTIONS
559559 test results aren't written.
560560```
561561
562- _ See code: [ src/commands/agent/test/run.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.12 .0/src/commands/agent/test/run.ts ) _
562+ _ See code: [ src/commands/agent/test/run.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.13 .0/src/commands/agent/test/run.ts ) _
563563
564564<!-- commandsstop -->
0 commit comments