Skip to content

feat: add non-admin management APIs (users, conversations, usergroups, team)#13

Merged
yamitzky merged 9 commits into
mainfrom
feat/non-admin-apis
Apr 18, 2026
Merged

feat: add non-admin management APIs (users, conversations, usergroups, team)#13
yamitzky merged 9 commits into
mainfrom
feat/non-admin-apis

Conversation

@yamitzky
Copy link
Copy Markdown
Owner

Summary

非 admin 系の管理 API を 23 コマンド追加。admin.* と非 admin の両方をカバーすることで、Grid 全体の管理メタと単一ワークスペースの詳細情報の両方を sladm から扱えるようにする。

設計書: docs/superpowers/specs/2026-04-18-non-admin-management-apis-design.md
実装計画: docs/superpowers/plans/2026-04-18-non-admin-management-apis.md

追加コマンド

users(8コマンド) users.info / users.lookupByEmail / users.getPresence / users.setPresence / users.conversations / users.identity / users.profile.get / users.profile.set

conversations(3コマンド) conversations.list / conversations.info / conversations.members

usergroups(7コマンド) usergroups.list / usergroups.create / usergroups.update / usergroups.enable / usergroups.disable / usergroups.users.list / usergroups.users.update

teams(5コマンド、team.*) team.info / team.profile.get / team.billableInfo / team.accessLogs / team.integrationLogs

users.list は既存 sladm users list (admin.users.list) と衝突するため除外。

互換性

  • 破壊的変更なし(追加のみ)
  • minor バージョンアップ想定(v0.5.0)
  • 既存の user token を流用(必要スコープを README に追記)

Test plan

  • bun run lint パス
  • bun test 226 tests PASS(ベースライン +36)
  • 実環境で各グループ 1 コマンドずつ手動実行し、API 呼び出しとスコープ不足時のエラー表示を確認

🤖 Generated with Claude Code

@yamitzky yamitzky merged commit 463e841 into main Apr 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant