@sideboard-ai/cli 0.1.264 → 0.1.267

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.
Files changed (2) hide show
  1. package/dist/index.js +0 -56
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -23,14 +23,8 @@ import {
23
23
  switchBrightsyAccount,
24
24
  connectBrightsyTeam,
25
25
  disconnectBrightsyTeam,
26
- listSlackWorkspaces,
27
- connectSlackToken,
28
- disconnectSlackWorkspace,
29
- startSlackOAuth,
30
26
  startLinearOAuth,
31
27
  disconnectLinear,
32
- runSlackListen,
33
- SLACK_OAUTH_REDIRECT,
34
28
  LINEAR_OAUTH_REDIRECT,
35
29
  createSchedule,
36
30
  deleteSchedule,
@@ -672,56 +666,6 @@ ${preview.diffStat}`);
672
666
  )
673
667
  );
674
668
  });
675
- const slackCmd = program.command("slack").description(
676
- "Slack workspaces + Listen (DMs / @mentions \u2192 orchestrator)"
677
- );
678
- slackCmd.command("teams").description("List connected Slack workspaces").action(() => {
679
- const teams = listSlackWorkspaces();
680
- if (teams.length === 0) {
681
- console.log(chalk.dim("No Slack workspaces. sideboard slack connect --token xoxb-\u2026"));
682
- return;
683
- }
684
- for (const t of teams) {
685
- console.log(
686
- `${t.team_name.padEnd(24)} ${t.team_id}${t.has_user_token ? "" : chalk.dim(" (no search)")}`
687
- );
688
- }
689
- });
690
- slackCmd.command("connect").description("Add a workspace from a bot or user token").requiredOption("--token <token>", "xoxb- or xoxp- token").action(async (opts) => {
691
- const info = await connectSlackToken(opts.token);
692
- console.log(chalk.green(`Connected ${info.team_name} (${info.team_id})`));
693
- });
694
- slackCmd.command("login").description(`Browser OAuth (Slack app redirect ${SLACK_OAUTH_REDIRECT})`).action(async () => {
695
- const info = await startSlackOAuth({
696
- openUrl: async (url) => {
697
- console.log(chalk.dim(url));
698
- const opener = process.platform === "darwin" ? "open" : process.platform === "win32" ? "cmd" : "xdg-open";
699
- const args = process.platform === "win32" ? ["/c", "start", "", url] : [url];
700
- spawn(opener, args, { detached: true, stdio: "ignore" }).unref();
701
- }
702
- });
703
- console.log(chalk.green(`Connected ${info.team_name} (${info.team_id})`));
704
- });
705
- slackCmd.command("disconnect").argument("<team_id>", "Slack team id (T\u2026)").description("Remove a connected Slack workspace").action((teamId) => {
706
- disconnectSlackWorkspace(teamId);
707
- console.log(chalk.green(`Disconnected ${teamId}`));
708
- });
709
- slackCmd.command("listen").description(
710
- "Listen: DMs and @mentions \u2192 Global orchestrator."
711
- ).action(async () => {
712
- const ac = new AbortController();
713
- const stop = () => ac.abort();
714
- process.on("SIGINT", stop);
715
- process.on("SIGTERM", stop);
716
- console.log(
717
- chalk.bold("Sideboard Slack Listen"),
718
- chalk.dim("(Ctrl+C to stop)")
719
- );
720
- await runSlackListen({
721
- signal: ac.signal,
722
- onLog: (line) => console.log(chalk.dim(line))
723
- });
724
- });
725
669
  const linearCmd = program.command("linear").description("Linear account connection (browser OAuth)");
726
670
  linearCmd.command("login").description(`Browser OAuth (Linear app redirect ${LINEAR_OAUTH_REDIRECT})`).action(async () => {
727
671
  const saved = await startLinearOAuth({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sideboard-ai/cli",
3
- "version": "0.1.264",
3
+ "version": "0.1.267",
4
4
  "description": "Sideboard CLI — agent-agnostic worktree orchestration (includes `sideboard mcp`)",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",