Expand description
Data models for OpenCode API
Structs§
- AstSummary
- Summary of AST analysis
- Code
Chunk - A chunk of code from search results
- Code
Context - Surrounding context for a code chunk
- Context
Request - Request to get file context
- Context
Response - Response with file context
- Dependency
- Dependency between files
- File
Info - Information about an indexed file
- Function
Signature - Function signature information
- Index
Request - Request to create a new codebase index
- Index
Response - Response from creating an index
- Index
Stats - Statistics about an index
- Search
Request - Search request for semantic code search
- Search
Response - Response from a search request
Enums§
- Index
Status - Status of a codebase index