This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

wip: lexicons: enrich `search.searchCode`

Signed-off-by: Seongmin Lee <git@boltless.me>

author
Seongmin Lee
date (Aug 1, 2026, 8:26 PM +0900) commit 9b672f25 parent d3d792ec change-id sypoqyvq
+10 -10
+10 -10
lexicons/temp/search/searchCode.json
··· 13 13 "type": "string", 14 14 "description": "Search query string." 15 15 }, 16 - "repoDid": { 16 + "repo": { 17 17 "type": "string", 18 18 "format": "did", 19 19 "description": "Restrict search to a specific repository, by its DID." 20 - }, 21 - "lang": { 22 - "type": "string", 23 - "description": "Restrict search to a specific programming language (e.g. 'go', 'rust')." 24 20 }, 25 21 "limit": { 26 22 "type": "integer", ··· 54 50 }, 55 51 "fileResult": { 56 52 "type": "object", 57 - "required": ["repoDid", "path", "chunks"], 53 + "required": ["repo", "path", "chunks"], 58 54 "properties": { 59 - "repoDid": { 60 - "type": "string", 61 - "format": "did", 62 - "description": "DID of the repository as minted by the knot." 55 + "repo": { 56 + "type": "ref", 57 + "ref": "sh.tangled.repo.defs#repoViewBasic" 63 58 }, 64 59 "path": { 65 60 "type": "string", 66 61 "description": "File path relative to repository root." 67 62 }, 63 + "branches": { 64 + "type": "array", 65 + "items": { "type": "string" } 66 + }, 67 + "commit": { "type": "string" }, 68 68 "language": { 69 69 "type": "string", 70 70 "description": "Detected programming language."