@erdoai/cli 0.239.0 → 0.240.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5203,7 +5203,7 @@ thread: ${res.thread_id}`);
|
|
|
5203
5203
|
fail(e);
|
|
5204
5204
|
}
|
|
5205
5205
|
});
|
|
5206
|
-
agentCmd.command("send <threadId> <message>").description("Send a message to a thread and print the agent's reply; message accepts @path to a UTF-8 file").option("-a, --agent <key>", "agent to invoke (e.g. erdo.artifact-builder)").option("--model <id>", "model to use for this turn; empty uses the agent default").option(
|
|
5206
|
+
agentCmd.command("send <threadId> <message>").description("Send a message to a thread and print the agent's reply; message accepts @path to a UTF-8 file").option("-a, --agent <key>", "agent to invoke (e.g. erdo.artifact-builder)").option("--persona <key>", "enabled conversation agent persona key to speak as").option("--skill <slug...>", "skill slug(s) to apply to this message (at most five)").option("--model <id>", "model to use for this turn; empty uses the agent default").option(
|
|
5207
5207
|
"--context <text>",
|
|
5208
5208
|
"application context for this turn, or @path to a UTF-8 file; omitted from the visible user message"
|
|
5209
5209
|
).option(
|
|
@@ -5220,6 +5220,8 @@ agentCmd.command("send <threadId> <message>").description("Send a message to a t
|
|
|
5220
5220
|
message: readMaybeFile(message) ?? "",
|
|
5221
5221
|
context: readMaybeFile(opts.context),
|
|
5222
5222
|
agent_key: opts.agent,
|
|
5223
|
+
persona_key: opts.persona,
|
|
5224
|
+
skill_ids: opts.skill,
|
|
5223
5225
|
model: opts.model,
|
|
5224
5226
|
timezone: opts.timezone || Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
5225
5227
|
async: !opts.sync,
|