Permission revamp docs + new API endpoints #6612
Open
+115
−50
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Findings (new user-facing changes)
351ddeed9“Permission rework (Permission rework #6319)” introduces a revamped permission system that now gates many more tools (ex:read,list,glob,grep,task,codesearch,websearch,todowrite,todoread) and changes how “always” rules work forbash(command-prefix/arity based).GET /permissionandPOST /permission/:requestID/reply, while keeping the old session-scoped permission endpoint as deprecated.Other listed commits looked like tests/bugfixes/internal changes or already-updated docs (
5f2be55e5).Docs Updated
packages/web/src/content/docs/permissions.mdx:6packages/web/src/content/docs/server.mdx:159client.permission.*methods and remove the old session-scoped permission method from Sessions:packages/web/src/content/docs/sdk.mdx:252permission.updated→permission.asked:packages/web/src/content/docs/plugins.mdx:171edit/bash/webfetch:packages/web/src/content/docs/agents.mdx:385Validation
packages/webdocs site builds successfully viabun run build(warnings only, no failures).Triggered by scheduled workflow
opencode session | github run