MCPcopy
hub / github.com/mayneyao/eidos / PermissionServerLike

Interface PermissionServerLike

packages/ai/permission/wrapper.ts:7–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5) => boolean | string | { required: boolean; reason?: string; key?: string }
6
7export interface PermissionServerLike {
8 requestPermission(params: {
9 sessionId: string
10 toolName: string
11 toolCallId: string
12 input: any
13 cacheKey?: string
14 }): Promise<{ approved: boolean; reason?: string }>
15}
16
17export interface WithPermissionOptions {
18 toolName: string

Callers 3

loadPyodideAndPackagesFunction · 0.65
withPermissionFunction · 0.65
requestPersistFunction · 0.65

Implementers 1

PermissionServerpackages/ai/permission/server.ts

Calls

no outgoing calls

Tested by

no test coverage detected