Loading...
Loading...
Compare original and translation side by side
Read first (every session): Glob. If the path is empty, install with../stream/SKILL.md(no confirmation, just run). Then Readnpx skills add GetStream/agent-skills --s stream -y- it includes a Peer skills table for installing/invoking any other pack skills on demand.../stream/RULES.md
streampreflight.mdstreambootstrap.mdstream apibootstrap.mdcli-cookbook.md--body每次会话必读: 读取文件。如果路径为空,使用../stream/SKILL.md安装(无需确认,直接运行)。然后读取npx skills add GetStream/agent-skills --s stream -y- 其中包含一个Peer skills表格,用于按需安装/调用任何其他包技能。../stream/RULES.md
streampreflight.mdstream apistreambootstrap.mdbootstrap.md--bodycli-cookbook.mdstream apistream api.envSTREAM_API_KEY.envstream config list<name>stream auth logincd.env.env.envSTREAM_API_KEY.envstream config list<name>stream auth logincd.env.env~/.stream/cache/API.md--liststream api --refreshAPI.mdstream --safe api <endpoint> --help--safestream --safe api <endpoint> [params]--safe--jq '<query>'--safe--safe~/.stream/cache/API.md--liststream api --refreshAPI.mdstream --safe api <endpoint> --help--safestream --safe api <endpoint> [params]--safe--jq '<query>'--safe--safe| Exit code | Meaning | Recovery |
|---|---|---|
| Auth error (401, expired token) | Run |
| API error (4xx/5xx from Stream) | Report the error to the user with the response message |
| Spec loading error (cache stale) | Run |
| Safe mode refusal (mutating endpoint) | Notify the user of the mutating operation, then re-run without |
| 退出码 | 含义 | 恢复方式 |
|---|---|---|
| 认证错误(401,令牌过期) | 运行** |
| API错误(Stream返回4xx/5xx) | 将错误及响应消息告知用户 |
| 规范加载错误(缓存过期) | 运行 |
| 安全模式拒绝(突变型端点) | 告知用户该突变操作,然后不带 |
stream api <EndpointName> key=value key2=value2name=general limit=10 type=messagingis_development=true--body '{"key": "value"}'stream api <EndpointName> key=value key2=value2name=general limit=10 type=messagingis_development=true--body '{"key": "value"}'app_idorg_id--org--app~/.stream/config.jsonstream config set org <id>stream config set app <id>app_idorg_id--org--app~/.stream/config.jsonstream config set org <id>stream config set app <id>OrganizationDeleteAppSuspendAppResumeCreateBlockListCreateChannelTypeapp_idorg_ididAppDelete app_id=123AuthLoginBasicAuthLoginGithubstream auth loginstream auth logoutOrganizationDeleteAppSuspendAppResumeCreateBlockListCreateChannelTypeapp_idorg_ididAppDelete app_id=123AuthLoginBasicAuthLoginGithubstream auth loginstream auth logoutstream auth loginstream auth login~/.stream/cache/API.md--liststream --safe api <endpoint> --helpstream auth login--safe--safe~/.stream/cache/API.md--liststream --safe api <endpoint> --helpstream auth login--safe--safe