@brightdeck

Deck

OpenClaw plugin for deck — manage presentations on api.brightdeck.ai

当前版本
v0.1.0
code-plugin社区source-linked

@brightdeck/openclaw-deck

CI npm license: Apache-2.0

OpenClaw plugin for Brightdeck — create, edit, and share presentations from any OpenClaw-connected agent (Slack, Discord, Telegram, iMessage, or your own).

Install

openclaw plugins install clawhub:@brightdeck/openclaw-deck
openclaw plugins enable openclaw-deck

First-run authentication

The first time you invoke any tool, the plugin prints a sign-in URL like:

────────────────────────────────────────────────────────────────────────
openclaw-deck: sign in to authorize this gateway.
Open this URL in a browser, complete the deck sign-in, and the
tool call will resume automatically once the loopback callback
fires:

  https://api.brightdeck.ai/oauth/authorize?...

────────────────────────────────────────────────────────────────────────

Open that URL in any browser, sign in, and the plugin's loopback listener (http://127.0.0.1:NNNN/callback) finishes the OAuth dance and stores a refresh token. Subsequent invocations auto-refresh — the prompt only appears on the first call per gateway and after a server-side revocation.

The plugin does not auto-open the browser. OpenClaw's plugin sandbox blocks child_process usage from third-party plugins, so you'll always click the URL yourself. You can copy-paste it from the gateway log or the channel where the tool is being called.

Headless environments (CI, server installs without an interactive browser on the same machine that can reach 127.0.0.1:NNNN) are not supported in v0.1.0. The OAuth flow needs a browser that can hit the gateway's loopback.

Self-hosted deck (advanced)

Override apiBaseUrl to point at your deck backend. The plugin reads /mcp/.well-known/cimd/openclaw.json from the same host to bootstrap OAuth.

Tools

ToolDescription
deck_list_presentationsBrowse decks you can access
deck_get_presentationFetch one deck's metadata
deck_get_share_linkGet a viewer URL
deck_create_blank_presentationCreate a blank deck
deck_create_presentationGenerate a deck from a prompt
deck_update_presentationRename, change visibility, etc.
deck_export_pptx_url / deck_export_pdf_urlGet a downloadable export URL
deck_list_permissions / deck_share_presentation / deck_revoke_permissionManage sharing

Troubleshooting

  • 401 Unauthorized: refresh token expired or was revoked server-side. The plugin automatically re-runs the OAuth dance on the next tool call.
  • Sign-in URL didn't appear: the OAuth banner is printed via console.log to wherever your gateway routes plugin stdout. Check the gateway log; if nothing is there, re-run the tool and watch for the openclaw-deck: sign in to authorize block.
  • Loopback callback never fires: the URL on the sign-in page must redirect to http://127.0.0.1:NNNN/callback — confirm the gateway is on the same machine (or port-forwarded) as the browser you're using.
  • Reset stored tokens: openclaw plugins data clear openclaw-deck.
  • Custom backend: set apiBaseUrl to your deck URL.

License

Apache-2.0 — see LICENSE.

Security

See SECURITY.md for the disclosure process.

源码与版本

源码仓库

brightdeck/openclaw

打开仓库

源码提交

3eecac5003e3d7b9eebf6dd205dbbda85c5b0460

查看提交

安装命令

openclaw plugins install clawhub:@brightdeck/openclaw-deck

元数据

  • 包名: @brightdeck/openclaw-deck
  • 创建时间: 2026/06/06
  • 更新时间: 2026/06/06
  • 执行代码:
  • 源码标签: main

兼容性

  • 构建于 OpenClaw: 2026.3.24-beta.2
  • 插件 API 范围: >=2026.3.24-beta.2
  • 标签: automation, brightdeck, latest, presentations
  • 文件数: 85