Repository navigation
@agent-native/core@0.67.0
·
6747 commits
to main
since this release
Minor Changes
-
1b61a90: Add tab-scoped application-state helpers so multi-tab agents read the screen of the tab they were sent from.
- Server:
readAppStateForCurrentTab,writeAppStateForCurrentTab,appStateKeyForBrowserTab, andgetCurrentRequestBrowserTabId(from@agent-native/core/application-state). These resolve the requesting tab viagetRequestRunContext().browserTabId, read thekey:<tabId>value first, and fall back to the global key for CLI/external agents. - Client:
getBrowserTabId(from@agent-native/core/client), a stable per-tab id backed by sessionStorage.
The default app scaffold (
view-screenaction andtab-idhelper) now uses these so newly generated apps are tab-correct by default.Without tab scoping,
navigation(and similar ambient UI state) was a single global key shared across browser tabs, so a chat in one tab could act on whatever clip/record another tab navigated to last. - Server: