[PR #6270] Added docs for /permission + SDK method #11809

Closed
opened 2026-02-16 18:16:45 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/6270

State: closed
Merged: No


Findings

  • 21eba5f98 feat(desktop): permissions adds a new user-facing API for permissions: GET /permission (operationId permission.list) to list pending permission requests across sessions.
  • 7aecb43e8 release: v1.0.204 is version bumps only; no docs needed.
  • c523ca412 wip(desktop): handle more errors is primarily error-handling robustness; no docs needed.

Docs Updated

  • Added the new GET /permission endpoint to the server API reference: packages/web/src/content/docs/server.mdx:153
  • Added a new SDK section documenting permission.list() with examples: packages/web/src/content/docs/sdk.mdx:284

Validation

  • packages/web docs build (bun run build) succeeds after the updates (only existing warnings emitted).

Triggered by scheduled workflow

New%20session%20-%202025-12-28T00%3A28%3A48.370Z
opencode session  |  github run

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6270 **State:** closed **Merged:** No --- **Findings** - `21eba5f98 feat(desktop): permissions` adds a new user-facing API for permissions: `GET /permission` (operationId `permission.list`) to list *pending* permission requests across sessions. - `7aecb43e8 release: v1.0.204` is version bumps only; no docs needed. - `c523ca412 wip(desktop): handle more errors` is primarily error-handling robustness; no docs needed. **Docs Updated** - Added the new `GET /permission` endpoint to the server API reference: `packages/web/src/content/docs/server.mdx:153` - Added a new SDK section documenting `permission.list()` with examples: `packages/web/src/content/docs/sdk.mdx:284` **Validation** - `packages/web` docs build (`bun run build`) succeeds after the updates (only existing warnings emitted). Triggered by scheduled workflow <a href="https://opencode.ai/s/NcLSEe3L"><img width="200" alt="New%20session%20-%202025-12-28T00%3A28%3A48.370Z" src="https://social-cards.sst.dev/opencode-share/TmV3IHNlc3Npb24gLSAyMDI1LTEyLTI4VDAwOjI4OjQ4LjM3MFo=.png?model=opencode/gpt-5.2&version=1.0.204&id=NcLSEe3L" /></a> [opencode session](https://opencode.ai/s/NcLSEe3L)&nbsp;&nbsp;|&nbsp;&nbsp;[github run](/sst/opencode/actions/runs/20546362550)
yindo added the pull-request label 2026-02-16 18:16:45 -05:00
yindo closed this issue 2026-02-16 18:16:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11809