@helm-ai/cli 0.18.0 → 0.19.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/cli.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -2911,7 +2911,7 @@ function registerAgentCommands(parent) {
|
|
|
2911
2911
|
return;
|
|
2912
2912
|
}
|
|
2913
2913
|
});
|
|
2914
|
-
sched.command("create").description("Create a recurring agent schedule").requiredOption("-a, --agent <id>", "agent ID").requiredOption("-n, --name <name>").requiredOption("--prompt <text>", "prompt the agent runs each time").requiredOption("-f, --frequency <freq>", "daily|weekly|monthly").option("--day <day>", "day-of-week (mon|tue|... or 0-6) for weekly").option("--day-of-month <n>", "day-of-month (1-28) for monthly", (v) => parseInt(v, 10)).option("--time <hhmm>", "HH:MM (default 09:00)", "09:00").option("--timezone <tz>", "", "America/New_York").option("--output-channel <ch>", "notification|slack|task_comment", "notification").option("-p, --profile <name>").action(async (opts) => {
|
|
2914
|
+
sched.command("create").description("Create a recurring agent schedule").requiredOption("-a, --agent <id>", "agent ID").requiredOption("-n, --name <name>").requiredOption("--prompt <text>", "prompt the agent runs each time").requiredOption("-f, --frequency <freq>", "daily|weekly|monthly").option("--day <day>", "day-of-week (mon|tue|... or 0-6) for weekly").option("--day-of-month <n>", "day-of-month (1-28) for monthly", (v) => parseInt(v, 10)).option("--time <hhmm>", "HH:MM (default 09:00)", "09:00").option("--timezone <tz>", "", "America/New_York").option("--output-channel <ch>", "notification|slack|slack_dm|task_comment|email", "notification").option("-p, --profile <name>").action(async (opts) => {
|
|
2915
2915
|
try {
|
|
2916
2916
|
const client = HelmClient.fromProfile(resolveProfile(opts.profile));
|
|
2917
2917
|
const schedule = await client.agentSchedules.create({
|