full diff

dev.knotless.listSessions

From
bafyreicegbjtr44efe343adhgyino3q7n5rvo646hhx5srd6d7zsfgcyw4 indexed 2026-11-18 22:52 UTC View this version
To
bafyreigbloiachinzqunb5ytu5futzxkgbveobnfb7gma74d5ekty5wju4 indexed 2026-11-19 00:01 UTC View this version

Compatibility

breaking 4 breaking changes, 10 non-breaking changes.

Breaking changes (4)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "dev.knotless.listSessions#assistant", src: "dev.knotless.listSessions#assistant", tgt: "dev.knotless.listSessions#assistant.assistantId", kind: "prop", name: Some("assistantId") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "dev.knotless.listSessions#assistant", src: "dev.knotless.listSessions#assistant", tgt: "dev.knotless.listSessions#assistant.refreshedAt", kind: "prop", name: Some("refreshedAt") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "dev.knotless.listSessions#assistant", src: "dev.knotless.listSessions#assistant", tgt: "dev.knotless.listSessions#assistant.name", kind: "prop", name: Some("name") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "dev.knotless.listSessions#assistant", src: "dev.knotless.listSessions#assistant", tgt: "dev.knotless.listSessions#assistant.connectedAt", kind: "prop", name: Some("connectedAt") }
Non-breaking changes (10)
  • AddedVertex AddedVertex { vertex_id: "dev.knotless.listSessions#assistant" }
  • AddedVertex AddedVertex { vertex_id: "dev.knotless.listSessions#assistant.assistantId" }
  • AddedVertex AddedVertex { vertex_id: "dev.knotless.listSessions#assistant.connectedAt" }
  • AddedVertex AddedVertex { vertex_id: "dev.knotless.listSessions#assistant.name" }
  • AddedVertex AddedVertex { vertex_id: "dev.knotless.listSessions#assistant.refreshedAt" }
  • AddedVertex AddedVertex { vertex_id: "dev.knotless.listSessions:output.assistants" }
  • AddedVertex AddedVertex { vertex_id: "dev.knotless.listSessions:output.assistants:items" }
  • AddedEdge AddedEdge { src: "dev.knotless.listSessions:output", tgt: "dev.knotless.listSessions:output.assistants", kind: "prop", name: Some("assistants") }
  • AddedEdge AddedEdge { src: "dev.knotless.listSessions:output.assistants", tgt: "dev.knotless.listSessions:output.assistants:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "dev.knotless.listSessions:output.assistants:items", tgt: "dev.knotless.listSessions#assistant", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "dev.knotless.listSessions#assistant" }
  • AddedVertex { vertex_id: "dev.knotless.listSessions#assistant.assistantId" }
  • AddedVertex { vertex_id: "dev.knotless.listSessions#assistant.connectedAt" }
  • AddedVertex { vertex_id: "dev.knotless.listSessions#assistant.name" }
  • AddedVertex { vertex_id: "dev.knotless.listSessions#assistant.refreshedAt" }
  • AddedVertex { vertex_id: "dev.knotless.listSessions:output.assistants" }
  • AddedVertex { vertex_id: "dev.knotless.listSessions:output.assistants:items" }

Notes

  • Breaking: RequiredEdgeAdded { vertex_id: "dev.knotless.listSessions#assistant", src: "dev.knotless.listSessions#assistant", tgt: "dev.knotless.listSessions#assistant.assistantId", kind: "prop", name: Some("assistantId") }
  • Breaking: RequiredEdgeAdded { vertex_id: "dev.knotless.listSessions#assistant", src: "dev.knotless.listSessions#assistant", tgt: "dev.knotless.listSessions#assistant.refreshedAt", kind: "prop", name: Some("refreshedAt") }
  • Breaking: RequiredEdgeAdded { vertex_id: "dev.knotless.listSessions#assistant", src: "dev.knotless.listSessions#assistant", tgt: "dev.knotless.listSessions#assistant.name", kind: "prop", name: Some("name") }
  • Breaking: RequiredEdgeAdded { vertex_id: "dev.knotless.listSessions#assistant", src: "dev.knotless.listSessions#assistant", tgt: "dev.knotless.listSessions#assistant.connectedAt", kind: "prop", name: Some("connectedAt") }
  • Non-breaking: AddedEdge { src: "dev.knotless.listSessions:output", tgt: "dev.knotless.listSessions:output.assistants", kind: "prop", name: Some("assistants") }
  • Non-breaking: AddedEdge { src: "dev.knotless.listSessions:output.assistants", tgt: "dev.knotless.listSessions:output.assistants:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "dev.knotless.listSessions:output.assistants:items", tgt: "dev.knotless.listSessions#assistant", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
4 "assistant": {
5 "description": "One assistant connected over MCP: a sign-in, kept while it refreshes its tokens.",
6 "properties": {
7 "assistantId": {
8 "description": "What names it to dev.knotless.disconnectAssistant.",
9 "maxLength": 64,
10 "type": "string"
11 },
12 "connectedAt": {
13 "description": "When it signed in.",
14 "format": "datetime",
15 "type": "string"
16 },
17 "name": {
18 "description": "What the assistant registered as, cut to 60 characters.",
19 "maxGraphemes": 60,
20 "maxLength": 256,
21 "type": "string"
22 },
23 "refreshedAt": {
24 "description": "When it last made tokens, at least every hour while it is in use.",
25 "format": "datetime",
26 "type": "string"
27 }
28 },
29 "required": [
30 "assistantId",
31 "name",
32 "connectedAt",
33 "refreshedAt"
34 ],
35 "type": "object"
36 },
437 "main": {
5 "description": "The logins to this appview's pages of the account whose session cookie asks, each a browser or app that logged in, the newest first, while they last. Logging out of one, or revoking it with dev.knotless.revokeSession, ends it alone; the last to end revokes the session the appview keeps at the account's PDS. Requires the session cookie the pages' login sets.",
38 "description": "The logins to this appview's pages of the account whose session cookie asks, each a browser or app that logged in, the newest first, while they last, and the assistants connected as it over the appview's MCP server. Logging out of one, or revoking it with dev.knotless.revokeSession, ends it alone; the last to end revokes the session the appview keeps at the account's PDS. dev.knotless.disconnectAssistant does the same for an assistant. Requires the session cookie the pages' login sets.",
639 "errors": [
740 {
841 "description": "No account is logged in to the pages, or its login has ended.",
942 "name": "AuthenticationRequired"
1043 }
1144 ],
1245 "output": {
1346 "encoding": "application/json",
1447 "schema": {
1548 "properties": {
49 "assistants": {
50 "description": "The assistants connected over MCP, the newest first.",
51 "items": {
52 "ref": "#assistant",
53 "type": "ref"
54 },
55 "type": "array"
56 },
1657 "sessions": {
1758 "items": {
1859 "ref": "#session",
1960 "type": "ref"
2061 },
2162 "type": "array"
2263 }
2364 },
2465 "required": [
2566 "sessions"
2667 ],
2768 "type": "object"
2869 }
2970 },
3071 "type": "query"
3172 },
3273 "session": {
3374 "description": "One login to the pages.",
3475 "properties": {
3576 "createdAt": {
3677 "description": "When it logged in.",
3778 "format": "datetime",
3879 "type": "string"
3980 },
4081 "current": {
4182 "description": "Whether it is the login asking.",
4283 "type": "boolean"
4384 },
4485 "sessionId": {
4586 "description": "What names the login to dev.knotless.revokeSession.",
4687 "maxLength": 64,
4788 "type": "string"
4889 },
4990 "userAgent": {
5091 "description": "The user agent it logged in with, as the browser or app named itself, cut to 512 characters.",
5192 "maxLength": 512,
5293 "type": "string"
5394 }
5495 },
5596 "required": [
5697 "sessionId",
5798 "createdAt",
5899 "current"
59100 ],
60101 "type": "object"
61102 }
62103 },
63104 "description": "Where the account logged in to this appview's pages is logged in.",
64105 "id": "dev.knotless.listSessions",
65106 "lexicon": 1
66107}

Compare other versions