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

Class Info

packages/schema/src/location.ts:14–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}).annotate({ identifier: "Location.Ref" })
13
14export class Info extends Schema.Class<Info>("Location.Info")({
15 directory: AbsolutePath,
16 workspaceID: optional(WorkspaceID),
17 project: Schema.Struct({
18 id: ProjectID,
19 directory: AbsolutePath,
20 }),
21}) {}
22
23export function response<S extends Schema.Top>(data: S) {
24 return Schema.Struct({ location: Info, data })

Callers

nothing calls this directly

Calls 1

optionalFunction · 0.90

Tested by

no test coverage detected