Fork resource subscriptions by protocol era: legacy keeps resources/subscribe; modern (2026-07-28) models subscriptions as a filter over one long-lived subscriptions/listen stream with reconnect-by-re-listen (capped backoff), an optimistic Connecting→Listening header badge, and a fix so the browser proxy no longer blocks listen() ~60s. Closes #1630.
This commit is contained in:
parent
a71e6d2012
commit
320daf2f67
1 changed files with 1656 additions and 90 deletions
|
|
@ -1030,9 +1030,8 @@ function App() {
|
|||
refresh: refreshTasks,
|
||||
clearCompleted: clearCompletedTasks,
|
||||
} = useManagedRequestorTasks(inspectorClient, managedRequestorTasksState);
|
||||
const { subscriptions } = useResourceSubscriptions(
|
||||
resourceSubscriptionsState,
|
||||
);
|
||||
const { subscriptions, streamState: subscriptionStreamState } =
|
||||
useResourceSubscriptions(resourceSubscriptionsState);
|
||||
const { messages } = useMessageLog(messageLogState);
|
||||
const { fetchRequests } = useFetchRequestLog(fetchRequestLogState);
|
||||
const { stderrLogs } = useStderrLog(stderrLogState);
|
||||
|
|
@ -4182,6 +4181,7 @@ function App() {
|
|||
promptsListChanged={promptsListChanged}
|
||||
resourcesListChanged={resourcesListChanged}
|
||||
subscriptions={subscriptions}
|
||||
subscriptionStreamState={subscriptionStreamState}
|
||||
logs={logs}
|
||||
tasks={tasks}
|
||||
progressByTaskId={progressByTaskId}
|
||||
|
|
|
|||
Loading…
Reference in a new issue