MCPcopy Index your code
hub / github.com/anomalyco/opencode / key

Function key

packages/opencode/src/cli/cmd/run/session-data.ts:310–312  ·  view source on GitHub ↗
(msg: string, call: string)

Source from the content-addressed store, hash-verified

308}
309
310function key(msg: string, call: string): string {
311 return `${msg}:${call}`
312}
313
314function enrichPermission(data: SessionData, request: PermissionRequest): PermissionRequest {
315 if (!request.tool) {

Callers 3

bootstrapSessionDataFunction · 0.70
enrichPermissionFunction · 0.70
syncPermissionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected