Monorepo for Tangled tangled.org
2

Configure Feed

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

lexicons,api,consts: knot-acl capability

Lewis: May this revision serve well! <lewis@tangled.org>

author
Lewis
committer
Tangled
date (Jun 8, 2026, 4:18 PM +0300) commit 9be5d66f parent d03bcb23 change-id lztoputv
+13 -1
+2 -1
api/tangled/knotversion.go
··· 16 16 17 17 // KnotVersion_Output is the output of a sh.tangled.knot.version call. 18 18 type KnotVersion_Output struct { 19 - Version string `json:"version" cborgen:"version"` 19 + Version string `json:"version" cborgen:"version"` 20 + Capabilities []string `json:"capabilities,omitempty" cborgen:"capabilities,omitempty"` 20 21 } 21 22 22 23 // KnotVersion calls the XRPC method "sh.tangled.knot.version".
+4
consts/consts.go
··· 7 7 DefaultSpindle = "spindle.tangled.sh" 8 8 DefaultKnot = "knot1.tangled.sh" 9 9 ) 10 + 11 + type Capability string 12 + 13 + const CapKnotACL Capability = "knot-acl"
+7
lexicons/knot/version.json
··· 15 15 "properties": { 16 16 "version": { 17 17 "type": "string" 18 + }, 19 + "capabilities": { 20 + "type": "array", 21 + "items": { 22 + "type": "string" 23 + }, 24 + "description": "Protocol capability tokens this knot implements, such as knot-acl. Knots that omit this field are treated as legacy." 18 25 } 19 26 } 20 27 }