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
Sidebar-view plugins: open archived agents, and a few missing theme tokens
#9894
What are you trying to do?
I'm building a sidebar view (addSidebarView, Paseo 0.16) that groups agents by task and has an
inbox of things that need me: agents blocked on a question, failed turns, and reports from
scheduled runs. Scheduled runs are archived as soon as they finish, so many inbox rows point at
archived agents. I also want the view to look exactly like the default sidebar.
How do you do it today?
Rows call navigation.openAgent(ref) or openWorkspace(ref).
To match the default view I measured it and copied sizes and colours into the plugin.
Where does Paseo get in the way?
Archived agents can't be opened from a plugin. openAgent shows "agent no longer
available" and openWorkspace shows "Workspace unavailable", although History opens the same
workspace URL fine (it loads the archived workspace first). The SDK has no unarchive call. My
workaround is a modal with the run's last reply plus "find it in History".
Some colours the default sidebar uses are not in PluginTheme, so they have to be hard-coded
and don't follow custom themes:
running-indicator blue (light #268ae0, dark #5caaf6)
"finished, unread" green (light #299f51, dark #35c264)
selected-row fill (light #d4d4d5; surface2 equals the sidebar background)
extra-muted text for ages and idle dots (light #a1a1aa)
What would a better workflow look like?
openAgent / openWorkspace load an archived entity the way History does, or a navigation.openHistory({ query }), or agents.ref(id).unarchive() in the SDK.
Theme tokens such as statusRunning, statusAttention, sidebarSelected and foregroundExtraMuted; or the default view's status indicator exported as a component.
Smaller things we hit
The default sidebar renders rows at 14/20 px and 36 px tall (44 on touch), while the
sidebar-views doc suggests 12 px labels and 28 px rows, so following the doc looks off.
Loading from @getpaseo/plugin/client/ui reads "Loading file…" outside a file panel.
In the desktop and web app Animated.loop stops after one iteration (the native driver falls
back to JS); a note in the docs would have saved some time.
Thanks for the plugin API; hooks and sidebar views made this possible.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
What are you trying to do?
I'm building a sidebar view (
addSidebarView, Paseo 0.16) that groups agents by task and has aninbox of things that need me: agents blocked on a question, failed turns, and reports from
scheduled runs. Scheduled runs are archived as soon as they finish, so many inbox rows point at
archived agents. I also want the view to look exactly like the default sidebar.
How do you do it today?
navigation.openAgent(ref)oropenWorkspace(ref).Where does Paseo get in the way?
openAgentshows "agent no longeravailable" and
openWorkspaceshows "Workspace unavailable", although History opens the sameworkspace URL fine (it loads the archived workspace first). The SDK has no unarchive call. My
workaround is a modal with the run's last reply plus "find it in History".
PluginTheme, so they have to be hard-codedand don't follow custom themes:
#268ae0, dark#5caaf6)#299f51, dark#35c264)#d4d4d5;surface2equals the sidebar background)#a1a1aa)What would a better workflow look like?
openAgent/openWorkspaceload an archived entity the way History does, or anavigation.openHistory({ query }), oragents.ref(id).unarchive()in the SDK.statusRunning,statusAttention,sidebarSelectedandforegroundExtraMuted; or the default view's status indicator exported as a component.Smaller things we hit
sidebar-views doc suggests 12 px labels and 28 px rows, so following the doc looks off.
Loadingfrom@getpaseo/plugin/client/uireads "Loading file…" outside a file panel.Animated.loopstops after one iteration (the native driver fallsback to JS); a note in the docs would have saved some time.
Thanks for the plugin API; hooks and sidebar views made this possible.
All reactions