@sideboard-ai/cli 0.1.251 → 0.1.253
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/README.md +1 -1
- package/dist/index.js +5 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ npm i -g @sideboard-ai/cli
|
|
|
8
8
|
sideboard ls
|
|
9
9
|
sideboard send <thread> "…"
|
|
10
10
|
sideboard mcp # MCP stdio server
|
|
11
|
-
sideboard schedule ls # local jobs that trigger
|
|
11
|
+
sideboard schedule ls # local jobs that trigger a chat
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
Also installs `side` as a short alias. The MCP server is available as `sideboard mcp`, or via `@sideboard-ai/core`'s `sideboard-mcp` bin.
|
package/dist/index.js
CHANGED
|
@@ -521,7 +521,7 @@ ${preview.diffStat}`);
|
|
|
521
521
|
await startMcpServer();
|
|
522
522
|
});
|
|
523
523
|
const scheduleCmd = program.command("schedule").description(
|
|
524
|
-
"Local jobs that trigger
|
|
524
|
+
"Local jobs that trigger a chat (Sideboard.app must be running to fire)"
|
|
525
525
|
);
|
|
526
526
|
scheduleCmd.command("ls").description("List schedules").action(() => {
|
|
527
527
|
const rows = listSchedules();
|
|
@@ -540,7 +540,7 @@ ${preview.diffStat}`);
|
|
|
540
540
|
});
|
|
541
541
|
scheduleCmd.command("add").requiredOption("--prompt <text>", "prompt / goal queued when the job fires").option("--name <name>", "short label").option("--at <iso>", "one-shot ISO datetime").option("--every <duration>", "interval (15m, 1h, 6h, 1d)").option("--cron <expr>", "5-field cron").option("--tz <iana>", "timezone for cron").option(
|
|
542
542
|
"--thread <id>",
|
|
543
|
-
"existing
|
|
543
|
+
"existing chat (orchestration or worktree, or self). Omit to create a new Global chat each run"
|
|
544
544
|
).option("--agent <agent>", "claude|cursor|codex|opencode (new chats only)").action((opts) => {
|
|
545
545
|
const cadence = [opts.at, opts.every, opts.cron].filter(Boolean);
|
|
546
546
|
if (cadence.length !== 1) {
|
|
@@ -555,7 +555,9 @@ ${preview.diffStat}`);
|
|
|
555
555
|
opts.thread ? String(opts.thread) : void 0
|
|
556
556
|
);
|
|
557
557
|
if (String(opts.thread ?? "").trim().toLowerCase() === "self" && !threadId) {
|
|
558
|
-
throw new Error(
|
|
558
|
+
throw new Error(
|
|
559
|
+
"--thread self needs SIDEBOARD_THREAD_ID or SIDEBOARD_ORCHESTRATOR_THREAD_ID"
|
|
560
|
+
);
|
|
559
561
|
}
|
|
560
562
|
const agent = opts.agent ? parseAgent(String(opts.agent)) : void 0;
|
|
561
563
|
if (agent === "brightsy") {
|