> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# CognitionAcp.PluginScopeParams

> The directory scope shared by every request, flattened into each params struct so the wire shape stays flat.

The directory scope shared by every `cognition.ai/plugins*` request,
flattened into each params struct so the wire shape stays flat.

Both methods resolve and filter to this scope before touching any plugin
state: a plugin (or its cached metadata) outside the caller's directories
and managed origins is never exposed, even by key.

A client with no folder open omits `cwd` (and sends no
`additionalDirectories`): the scope is then the caller's managed origins
alone — account, org and personal — with no repo tier. Nothing on disk
stands in for the missing directory.

Deliberately not session-scoped. Plugin state is a function of the
directories and the user's governance, not of a conversation, so a session
id would be a second way to say what `cwd` already says — and one the agent
would have to either honour (resolving from a session's older snapshot) or
silently ignore. Read-only clients with no session get the same answer as
ones that have one.

```typescript
type PluginScopeParams = void
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.