You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: messages/agent.generate.authoring-bundle.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,23 +8,23 @@ Authoring bundles are metadata components that contain an agent's Agent Script f
8
8
9
9
Use this command to generate a new authoring bundle based on an agent spec YAML file, which you create with the "agent generate agent-spec" command. The agent spec YAML file is a high-level description of the agent; it describes its essence rather than exactly what it can do.
10
10
11
-
The metadata type for authoring bundles is aiAuthoringBundle, which consist of a standard "<bundle-name>.bundle-meta.xml" metadata file and the Agent Script file (with extension ".agent"). When you run this command, the new authoring bundle is generated in the force-app/main/default/aiAuthoringBundles/<bundle-name> directory. Use the --output-dir flag to generate them elsewhere.
11
+
The metadata type for authoring bundles is aiAuthoringBundle, which consist of a standard "<bundle-api-name>.bundle-meta.xml" metadata file and the Agent Script file (with extension ".agent"). When you run this command, the new authoring bundle is generated in the force-app/main/default/aiAuthoringBundles/<bundle-api-name> directory. Use the --output-dir flag to generate them elsewhere.
12
12
13
-
After you generate the initial authoring bundle, vibe code (modify using natural language) the Agent Script file so your agent behaves exactly as you want. The generated Agent Script file is just a first draft of your agent! Then publish the agent to your org with the "agent publish authoring-bundle" command.
13
+
After you generate the initial authoring bundle, code the Agent Script file so your agent behaves exactly as you want. The Agent Script file generated by this command is just a first draft of your agent! Interactively test the agent by conversing with it using the "agent preview" command. Then publish the agent to your org with the "agent publish authoring-bundle" command.
14
14
15
15
This command requires an org because it uses it to access an LLM for generating the Agent Script file.
16
16
17
17
# flags.spec.summary
18
18
19
-
Path to the agent spec YAML file.
19
+
Path to the agent spec YAML file; if not specified, the command provides a list that you can choose from.
20
20
21
21
# flags.output-dir.summary
22
22
23
23
Directory where the authoring bundle files are generated.
24
24
25
25
# flags.name.summary
26
26
27
-
Name (label) of the authoring bundle.
27
+
Name (label) of the authoring bundle; if not specified, you're prompted for the name.
28
28
29
29
# flags.api-name.summary
30
30
@@ -36,11 +36,15 @@ API name of the new authoring bundle
36
36
37
37
# examples
38
38
39
+
- Generate an authoring bundle by being prompted for all required values, such as the agent spec YAML file, the bundle name, and the API name; use your default org:
40
+
41
+
<%= config.bin %> <%= command.id %>
42
+
39
43
- Generate an authoring bundle from the "specs/agentSpec.yaml" agent spec YAML file and give it the label "My Authoring Bundle"; use your default org:
-Same as previous example, but generate the files in the "other-package-dir/main/default" package directory; use the org with alias "my-dev-org":
47
+
-Similar to previous example, but generate the authoring bundle files in the "other-package-dir/main/default" package directory; use the org with alias "my-dev-org":
0 commit comments