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

Function text

packages/opencode/src/cli/cmd/run/permission.shared.ts:54–56  ·  view source on GitHub ↗
(v: unknown)

Source from the content-addressed store, hash-verified

52}
53
54function text(v: unknown): string {
55 return typeof v === "string" ? v : ""
56}
57
58function data(request: PermissionRequest): Dict {
59 const meta = dict(request.metadata)

Callers 1

permissionInfoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected