Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sqs committed Dec 28, 2023
1 parent d789339 commit ab9ada5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions lib/schema/src/opencodegraph.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"type": "string"
},
"url": {
"description": "An external URL with more information.",
"description": "An external URL with more information about the annotation.",
"type": "string",
"format": "uri"
},
Expand All @@ -33,8 +33,8 @@
"$ref": "#/definitions/AnnotationUI"
},
"ai": {
"description": "Information from the annotation intended for consumption by AI, not humans.",
"$ref": "#/definitions/AnnotationAIInfo"
"description": "Information from the annotation intended for consumption by AI, not humans.222",
"$ref": "#/definitions/AssistantInfo"
},
"range": {
"description": "The range in the file that this annotation applies to. If not set, the annotation applies to the entire file.",
Expand All @@ -58,7 +58,7 @@
}
}
},
"AnnotationAIInfo": {
"AssistantInfo": {
"description": "Information from an annotation intended for consumption by AI, not humans.",
"type": "object",
"additionalProperties": false,
Expand Down
8 changes: 4 additions & 4 deletions lib/schema/src/opencodegraph.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ export interface Annotation {
*/
title?: string
/**
* An external URL with more information.
* An external URL with more information about the annotation.
*/
url?: string
ui?: AnnotationUI
ai?: AnnotationAIInfo
ai?: AssistantInfo
range?: Range
}
/**
Expand All @@ -34,9 +34,9 @@ export interface AnnotationUI {
format?: 'markdown' | 'plaintext'
}
/**
* Information from the annotation intended for consumption by AI, not humans.
* Information from the annotation intended for consumption by AI, not humans.222
*/
export interface AnnotationAIInfo {
export interface AssistantInfo {
/**
* Text content for AI to consume.
*/
Expand Down

0 comments on commit ab9ada5

Please sign in to comment.