Files
streamline/openapi-skill/README.md
T
2026-11-16 17:26:44 -08:00

25 lines
1.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# @byted/streamline-skill
Streamline 的命令行 + Agent Skill,支持 Claude Code、Codex、Cursor。
本地改动的真机验证(`streamline verify`)暂时下线,恢复后会在这里和接入指南里更新。
在对话里直接说「把这个 bug 提给 Streamline」「把这个 Meego 单导入 Streamline」「我那个单修得怎么样了」。
在 Agent 里调研了一半的 bug,说一句「剩下的交给 Streamline 修」,Agent 会把这次会话的调研整理成总结(现象、复现步骤、已确认的事实、怀疑点、已排除)交过去(`streamline task handoff`)。Streamline 把它当作重要线索,但会在真机上重新验证。
```sh
npm i -g @byted/streamline-skill --registry=https://bnpm.byted.org
streamline install # 装给本机所有检测到的 Agent(Claude Code / Codex / Cursor)
streamline auth login # 浏览器 SSO 授权这台电脑(30 天)
```
- 以你本人的身份操作,和在面板上提单、确认执行一样,不需要申请 API Key。确认执行只能确认自己建的单。
- Skill 正本在 `~/.agents/skills/streamline-openapi`,软链到 `~/.claude/skills`、`~/.codex/skills`(或 `$CODEX_HOME/skills`)、`~/.cursor/skills`。只装某几个用 `--agent codex,cursor`;想随仓库共享用 `--project`(拷进当前仓库的 `.claude/` `.codex/` `.cursor/`)。
- 登录凭据存在 `~/.config/streamline/credentials.json`(0600),命令输出里不会出现。
- 每次调用会附带命令行版本和推测的 Agent 名(如 `claude-code`),用于平台的使用统计,不含对话内容。
**系统接入**(你们的服务端程序、机器人调 Streamline)不走这个命令行:在面板头像菜单「开放平台 API」申请 API Key,按[接入文档](https://bytedance.us.larkoffice.com/docx/XUaCdOE7Uo0jOZxaBZbu3Hy8sSf)直接调 HTTP 接口。
`streamline help` 查看全部命令。