Skip to content

An open-source, faster Devin alternative

TypeScript

fix(web): name 'agent sessions' clearly + include agent sessions in pause copy

Igor Zalutski85e00efd4cfd
diff --git a/web/src/components/app-shell.tsx b/web/src/components/app-shell.tsx
index c0985805..862db1e0 100644
--- a/web/src/components/app-shell.tsx
+++ b/web/src/components/app-shell.tsx
@@ -60,7 +60,7 @@ const NAV: NavGroup[] = [
{ to: '/agents', label: 'Agents', icon: Bot, preview: true },
{
to: '/sessions',
- label: 'Sessions',
+ label: 'Agent sessions',
icon: MessagesSquare,
preview: true,
},
@@ -244,7 +244,8 @@ function HaltBanner() {
if (!halted || location.pathname.startsWith('/billing')) return null
return (
<div className="border-status-pending/20 bg-status-pending-bg text-status-pending border-b px-4 py-2.5 text-center text-sm sm:px-8">
- Your sandboxes are paused — you&apos;re out of prepaid credits.{' '}
+ Your agent sessions and sandboxes are paused — you&apos;re out of prepaid
+ credits.{' '}
<Link
to="/billing"
className="font-semibold underline underline-offset-2"
diff --git a/web/src/pages/Billing.tsx b/web/src/pages/Billing.tsx
index 7a6d3e9e..31117207 100644
--- a/web/src/pages/Billing.tsx
+++ b/web/src/pages/Billing.tsx
@@ -306,7 +306,8 @@ function PrepaidPlan() {
{halted ? (
<p className="text-status-error mt-2 flex items-center gap-1.5 text-sm">
<CircleAlert className="size-4 shrink-0" />
- Credits exhausted — top up to resume your sandboxes
+ Credits exhausted — top up to resume your agent sessions and
+ sandboxes
</p>
) : null}
diff --git a/web/src/pages/Dashboard.tsx b/web/src/pages/Dashboard.tsx
index bdb3b1af..0eca3eae 100644
--- a/web/src/pages/Dashboard.tsx
+++ b/web/src/pages/Dashboard.tsx
@@ -196,13 +196,13 @@ export default function Dashboard() {
<div className="space-y-6">
<div className="grid grid-cols-2 gap-4 lg:grid-cols-4">
<MetricCard
- label="Active sessions"
+ label="Active agent sessions"
value={
loadingSessions ? '—' : activeSessions.length.toLocaleString()
}
/>
<MetricCard
- label="Sessions today"
+ label="Agent sessions today"
value={loadingSessions ? '—' : sessionsToday.toLocaleString()}
/>
<MetricCard
@@ -221,7 +221,7 @@ export default function Dashboard() {
<Panel className="overflow-hidden">
<PanelHeader>
- <PanelTitle>Recent sessions</PanelTitle>
+ <PanelTitle>Recent agent sessions</PanelTitle>
<Link
to="/sessions"
className="text-muted-foreground hover:text-foreground text-xs underline-offset-4 hover:underline"
diff --git a/web/src/pages/SessionDetail.tsx b/web/src/pages/SessionDetail.tsx
index 9440d8d2..6bfbf97d 100644
--- a/web/src/pages/SessionDetail.tsx
+++ b/web/src/pages/SessionDetail.tsx
@@ -211,6 +211,8 @@ export default function SessionDetail() {
</p>
) : null}
<ApiHint
+ method="GET"
+ path="/v3/sessions/:id"
sdk="oc.sessions.get()"
docs="https://docs.opencomputer.dev/agent-sessions/sessions"
/>
diff --git a/web/src/pages/Sessions.tsx b/web/src/pages/Sessions.tsx
index 1efc580c..0bf7ba3b 100644
--- a/web/src/pages/Sessions.tsx
+++ b/web/src/pages/Sessions.tsx
@@ -113,7 +113,7 @@ export default function Sessions() {
return (
<div>
<PageHeader
- title="Sessions"
+ title="Agent sessions"
description="Durable agent runs — an append-only event log you can steer."
api={{
method: 'POST',