You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f80d481
Browse filesBrowse the repository at this point in the historyBrowse files
GET /global/session/status reports every non-idle session across all
loaded instances, keyed by directory, without needing a directory
header. Previously /session/status was instance-scoped, so answering
"is anything running anywhere" meant enumerating projects and polling
each directory (which spins up instances as a side effect).
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: packages/sdk/openapi.json
+47Lines changed: 47 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -484,6 +484,50 @@
484
484
]
485
485
}
486
486
},
487
+
"/global/session/status": {
488
+
"get": {
489
+
"tags": ["global"],
490
+
"operationId": "global.sessionStatus",
491
+
"parameters": [],
492
+
"responses": {
493
+
"200": {
494
+
"description": "Busy sessions grouped by directory",
495
+
"content": {
496
+
"application/json": {
497
+
"schema": {
498
+
"type": "object",
499
+
"additionalProperties": {
500
+
"type": "object",
501
+
"additionalProperties": {
502
+
"$ref": "#/components/schemas/SessionStatus"
503
+
}
504
+
},
505
+
"description": "Busy sessions grouped by directory"
506
+
}
507
+
}
508
+
}
509
+
},
510
+
"400": {
511
+
"description": "Bad request",
512
+
"content": {
513
+
"application/json": {
514
+
"schema": {
515
+
"$ref": "#/components/schemas/BadRequestError"
516
+
}
517
+
}
518
+
}
519
+
}
520
+
},
521
+
"description": "Retrieve every non-idle session across all loaded instances, keyed by directory. Instances that are not currently loaded are not reported.",
522
+
"summary": "Get session status across all directories",
0 commit comments