Skip to content

Commit d0b2e10

Browse files
committed
Cahnge lastModified to Date
1 parent 0c7ad86 commit d0b2e10

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

schema/draft/schema.ts

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -961,15 +961,14 @@ export interface Annotations {
961961
priority?: number;
962962

963963
/**
964-
* The moment the resource was last modified, stored as a Unix epoch timestamp.
964+
* The moment the resource was last modified, as an ISO 8601 formatted string.
965965
*
966-
* Value is the number of **milliseconds** since 1970-01-01 00:00:00 UTC.
967-
* (Use `Date.now()` in JS/TS, or `Math.floor(Date.now() / 1000)` if you prefer seconds.)
966+
* Should be an ISO 8601 formatted string (e.g., "2025-01-12T15:00:58Z").
968967
*
969968
* Examples: last activity timestamp in an open file, timestamp when the resource
970969
* was attached, etc.
971970
*/
972-
lastModified?: number;
971+
lastModified?: string;
973972
}
974973

975974
/** */
@@ -1151,11 +1150,11 @@ export interface CompleteRequest extends Request {
11511150
* Additional, optional context for completions
11521151
*/
11531152
context?: {
1154-
/**
1155-
* Previously-resolved variables in a URI template or prompt.
1156-
*/
1157-
arguments?: { [key: string]: string };
1158-
};
1153+
/**
1154+
* Previously-resolved variables in a URI template or prompt.
1155+
*/
1156+
arguments?: { [key: string]: string };
1157+
};
11591158
};
11601159
}
11611160

0 commit comments

Comments
 (0)