An open-source, faster Devin alternative
TypeScript
dashboard: automations in the sidebar, automation projects inside
Mohamed Habib via Computer1f23fba3bd3f
diff --git a/web/src/components/app-shell.tsx b/web/src/components/app-shell.tsxindex 9a34c16d..c7045bfc 100644--- a/web/src/components/app-shell.tsx+++ b/web/src/components/app-shell.tsx@@ -174,7 +174,7 @@ function ManagedProjectContext({return (<div className="text-muted-foreground flex min-w-0 items-center gap-2 font-mono text-sm"><span className="text-muted-foreground/50">/</span>- <span>Loading automation…</span>+ <span>Loading project…</span></div>)}@@ -191,9 +191,9 @@ function ManagedProjectContext({<div className="flex min-w-0 items-center gap-2 font-mono text-sm"><span className="text-muted-foreground/50">/</span><label className="border-border bg-background flex h-8 shrink-0 items-center rounded-md border px-2">- <span className="sr-only">Automation environment</span>+ <span className="sr-only">Project environment</span><select- aria-label="Automation environment"+ aria-label="Project environment"value={environment}onChange={(event) =>onChange(event.target.value as ProjectEnvironment)diff --git a/web/src/managed-agents/BYOK.tsx b/web/src/managed-agents/BYOK.tsxindex 856c4d88..7b7f214b 100644--- a/web/src/managed-agents/BYOK.tsx+++ b/web/src/managed-agents/BYOK.tsx@@ -110,10 +110,10 @@ export function ManagedProjectBYOK({onSuccess: async () => {setConfirmRemoveRoute(false)await queryClient.invalidateQueries({ queryKey: routeQueryKey })- notifySuccess('Automation model route removed.')+ notifySuccess('Project model route removed.')},onError: (error) =>- notifyError("Couldn't remove the automation model route.", error),+ notifyError("Couldn't remove the project model route.", error),})const configureApiRoute = useMutation({mutationFn: async () => {@@ -140,7 +140,7 @@ export function ManagedProjectBYOK({queryClient.invalidateQueries({ queryKey: connectionQueryKey }),queryClient.invalidateQueries({ queryKey: routeQueryKey }),])- notifySuccess('Model connection and automation route configured.')+ notifySuccess('Model connection and project route configured.')},onError: (error) =>notifyError("Couldn't configure the model route.", error),@@ -167,7 +167,7 @@ export function ManagedProjectBYOK({<EmptyStateicon={BrainCircuit}title="BYOK status is temporarily unavailable"- description="Try loading the automation again."+ description="Try loading the project again."action={<Buttonvariant="outline"@@ -193,7 +193,7 @@ export function ManagedProjectBYOK({<EmptyStateicon={LockKeyhole}title="BYOK is available on Pro"- description={`Bring your own provider keys and route this automation's models through them. Pro is $${PLAN_OFFERS.pro.priceUsd}/mo and includes $${PLAN_OFFERS.pro.creditsUsd} in credits every month.`}+ description={`Bring your own provider keys and route this project's models through them. Pro is $${PLAN_OFFERS.pro.priceUsd}/mo and includes $${PLAN_OFFERS.pro.creditsUsd} in credits every month.`}action={<Button asChild><Link@@ -268,8 +268,8 @@ export function ManagedProjectBYOK({</div>) : (<p className="text-muted-foreground text-sm">- No automation override. Agent code and the platform default- determine the model.+ No project override. Agent code and the platform default determine+ the model.</p>)}{canManageConnection ? (@@ -384,8 +384,8 @@ export function ManagedProjectBYOK({<ConfirmDialogopen={confirmRemoveRoute}onOpenChange={setConfirmRemoveRoute}- title="Remove this automation route?"- description="New sessions will use the model selected by agent code or the platform default. The provider connection remains available to other automations."+ title="Remove this project route?"+ description="New sessions will use the model selected by agent code or the platform default. The provider connection remains available to other projects."confirmLabel="Remove route"onConfirm={() => removeRoute.mutate()}/>diff --git a/web/src/managed-agents/Database.tsx b/web/src/managed-agents/Database.tsxindex 79b0783d..1f99ca6a 100644--- a/web/src/managed-agents/Database.tsx+++ b/web/src/managed-agents/Database.tsx@@ -173,7 +173,7 @@ export function ManagedProjectDatabase({<EmptyStateicon={Database}title={`No ${environment} database yet`}- description={`Deploy this automation to ${environment} to provision its database and apply migrations.`}+ description={`Deploy this project to ${environment} to provision its database and apply migrations.`}/></Panel>)@@ -185,7 +185,7 @@ export function ManagedProjectDatabase({<EmptyStateicon={Database}title={`No ${environment} database yet`}- description={`Redeploy this automation to ${environment} to provision its database and apply migrations.`}+ description={`Redeploy this project to ${environment} to provision its database and apply migrations.`}/></Panel>)diff --git a/web/src/managed-agents/DebugInspector.tsx b/web/src/managed-agents/DebugInspector.tsxindex 53f17e7c..37026638 100644--- a/web/src/managed-agents/DebugInspector.tsx+++ b/web/src/managed-agents/DebugInspector.tsx@@ -323,7 +323,7 @@ export function DebugInspector({{route?.source? `${route.source.replace(/_/g, ' ')}${route.routeRevision ? ` · r${route.routeRevision}` : ''}`: route?.routeId- ? `Automation override${route.routeRevision ? ` · r${route.routeRevision}` : ''}`+ ? `Project override${route.routeRevision ? ` · r${route.routeRevision}` : ''}`: 'Code or platform default'}</p></div>diff --git a/web/src/managed-agents/Detail.tsx b/web/src/managed-agents/Detail.tsxindex bad36889..0bb87711 100644--- a/web/src/managed-agents/Detail.tsx+++ b/web/src/managed-agents/Detail.tsx@@ -978,8 +978,8 @@ export default function ManagedAgentDetail({<Panel><EmptyStateicon={Bot}- title="This automation has a single environment"- description={`“${resolvedEnvironment.requested}” is not an environment of this automation (single_environment_project). Use a separate automation for a distinct ${resolvedEnvironment.requested} target.`}+ title="This project has a single environment"+ description={`“${resolvedEnvironment.requested}” is not an environment of this project (single_environment_project). Use a separate project for a distinct ${resolvedEnvironment.requested} target.`}action={<Button asChild variant="outline" size="sm"><Link@@ -995,7 +995,7 @@ export default function ManagedAgentDetail({),}}>- Open the automation+ Open the project</Link></Button>}@@ -1042,7 +1042,7 @@ export default function ManagedAgentDetail({<DialogTitle>Continue locally</DialogTitle><DialogDescription>Clone the exact source deployed here and link it to this- existing automation.+ existing project.</DialogDescription></DialogHeader><pre className="overflow-x-auto rounded-md border p-3 text-xs leading-5">@@ -1088,7 +1088,7 @@ export default function ManagedAgentDetail({</label><selectid="project-agent"- aria-label="Automation agent"+ aria-label="Project agent"value={sessionsAgentFilter ?? ''}onChange={(event) => {setNewSessionKey(crypto.randomUUID())@@ -1171,7 +1171,7 @@ export default function ManagedAgentDetail({title="Deploy the hello-world agent to use Debug playground"description={environmentMode === 'single'- ? 'Create the starter locally, then sync it to this automation.'+ ? 'Create the starter locally, then sync it to this project.': `Create the starter locally, then sync it directly to ${environment}.`}action={@@ -1375,7 +1375,7 @@ export default function ManagedAgentDetail({<PanelTitle>Sessions</PanelTitle><PanelDescription className="mt-1">Sessions started through channels and the API- {project ? ' across every agent in this automation' : ''}.+ {project ? ' across every agent in this project' : ''}.Playground sessions stay in the playground.</PanelDescription></div>diff --git a/web/src/managed-agents/GitHub.tsx b/web/src/managed-agents/GitHub.tsxindex 5f794e8b..e403c0ba 100644--- a/web/src/managed-agents/GitHub.tsx+++ b/web/src/managed-agents/GitHub.tsx@@ -84,7 +84,7 @@ export function ManagedProjectGitHub({<EmptyStateicon={GitBranch}title="GitHub status is temporarily unavailable"- description="Try loading the automation again."+ description="Try loading the project again."action={<Button variant="outline" onClick={() => void status.refetch()}>Try againdiff --git a/web/src/managed-agents/Home.test.tsx b/web/src/managed-agents/Home.test.tsxindex 984ebddb..686adc0b 100644--- a/web/src/managed-agents/Home.test.tsx+++ b/web/src/managed-agents/Home.test.tsx@@ -65,7 +65,7 @@ describe('projects home onboarding', () => {expect(renderProjects([])).not.toContain(INSTALL_CLI_COMMAND)})- it('sends New automation to the same CLI onboarding route', () => {+ it('sends New project to the same CLI onboarding route', () => {const now = new Date().toISOString()const markup = renderProjects([{@@ -79,7 +79,7 @@ describe('projects home onboarding', () => {},])- expect(markup).toContain('New automation')+ expect(markup).toContain('New project')expect(markup).toContain('href="/new"')expect(markup).not.toContain('Start from a template')})@@ -109,7 +109,7 @@ describe('projects home onboarding', () => {expect(markup).toContain('aria-label="Archive Support"')expect(markup).toContain('aria-label="Archive Billing"')- expect(markup).not.toContain('Archive automation')+ expect(markup).not.toContain('Archive project')})it('hides archived projects behind a collapsed restore section', () => {diff --git a/web/src/managed-agents/Home.tsx b/web/src/managed-agents/Home.tsxindex 211d2c30..32d7d296 100644--- a/web/src/managed-agents/Home.tsx+++ b/web/src/managed-agents/Home.tsx@@ -54,17 +54,17 @@ export default function ProjectsHome() {onSuccess: async () => {setPendingArchive(null)await queryClient.invalidateQueries({ queryKey: ['managed-projects'] })- notifySuccess('Automation archived.', 'You can restore it at any time.')+ notifySuccess('Project archived.', 'You can restore it at any time.')},- onError: (error) => notifyError("Couldn't archive the automation.", error),+ onError: (error) => notifyError("Couldn't archive the project.", error),})const restore = useMutation({mutationFn: restoreManagedProject,onSuccess: async () => {await queryClient.invalidateQueries({ queryKey: ['managed-projects'] })- notifySuccess('Automation restored.')+ notifySuccess('Project restored.')},- onError: (error) => notifyError("Couldn't restore the automation.", error),+ onError: (error) => notifyError("Couldn't restore the project.", error),})if (projects.isLoading || archivedProjects.isLoading) {@@ -80,7 +80,7 @@ export default function ProjectsHome() {<Panel><EmptyStateicon={FolderKanban}- title="Your automations are temporarily unavailable"+ title="Your automation projects are temporarily unavailable"description="Try loading the automations page again."action={<Button variant="outline" onClick={() => void projects.refetch()}>@@ -118,11 +118,11 @@ export default function ProjectsHome() {<div className="space-y-8"><PageHeadertitle="Automations"- description="Choose an automation to open its agent playground, deployments, sessions, and resources."+ description="Your automation projects. Open one to see its agent playground, deployments, sessions, and resources."actions={<Button asChild><Link to="/new">- <Plus /> New automation+ <Plus /> New project</Link></Button>}@@ -183,7 +183,7 @@ export default function ProjectsHome() {</summary><div className="space-y-3 pt-1"><p className="text-muted-foreground text-xs">- Archived automations keep their configuration and can be restored.+ Archived projects keep their configuration and can be restored.</p><div className="grid gap-3 sm:grid-cols-2 lg:grid-cols-3">{archivedItems.map((project) => (@@ -222,9 +222,9 @@ export default function ProjectsHome() {onOpenChange={(open) => {if (!open) setPendingArchive(null)}}- title={`Archive ${pendingArchive?.name ?? 'this automation'}?`}- description="This hides the automation and stops its running sessions. Its agents, deployments, secrets and connections are preserved, and you can restore it later."- confirmLabel="Archive automation"+ title={`Archive ${pendingArchive?.name ?? 'this project'}?`}+ description="This hides the project and stops its running sessions. Its agents, deployments, secrets and connections are preserved, and you can restore it later."+ confirmLabel="Archive project"pending={archive.isPending}onConfirm={() => {if (pendingArchive) archive.mutate(pendingArchive.id)diff --git a/web/src/managed-agents/Linear.tsx b/web/src/managed-agents/Linear.tsxindex da0f521a..d07c908e 100644--- a/web/src/managed-agents/Linear.tsx+++ b/web/src/managed-agents/Linear.tsx@@ -160,7 +160,7 @@ export function ManagedProjectLinear({ projectId }: { projectId: string }) {? 'Linear connections are not available right now': 'Linear status is temporarily unavailable'}- description="Try loading the automation again."+ description="Try loading the project again."action={<Buttonvariant="outline"diff --git a/web/src/managed-agents/ModelAccessCallback.tsx b/web/src/managed-agents/ModelAccessCallback.tsxindex ca9245a3..cf8df46a 100644--- a/web/src/managed-agents/ModelAccessCallback.tsx+++ b/web/src/managed-agents/ModelAccessCallback.tsx@@ -35,7 +35,7 @@ export default function ModelAccessCallback() {setMessage(providerError? `OpenAI authorization failed: ${providerError}`- : 'The OAuth callback was incomplete. Return to the automation and try again.',+ : 'The OAuth callback was incomplete. Return to the project and try again.',)return}diff --git a/web/src/managed-agents/Project.tsx b/web/src/managed-agents/Project.tsxindex f0b3602a..f58b11a6 100644--- a/web/src/managed-agents/Project.tsx+++ b/web/src/managed-agents/Project.tsx@@ -32,8 +32,8 @@ export default function ProjectDetail() {<Panel><EmptyStateicon={FolderKanban}- title="Automation not found"- description="This automation is not available in your organization."+ title="Project not found"+ description="This project is not available in your organization."action={<Button asChild variant="outline"><Link to="/">Back to automations</Link>@@ -66,7 +66,7 @@ export default function ProjectDetail() {<Panel><EmptyStateicon={FolderKanban}- title="This automation has no agents yet"+ title="This project has no agents yet"description="Initialize the hello-world starter locally and deploy its first agent."/></Panel>diff --git a/web/src/managed-agents/ProjectOnboarding.tsx b/web/src/managed-agents/ProjectOnboarding.tsxindex fc6fa856..e7d7b04c 100644--- a/web/src/managed-agents/ProjectOnboarding.tsx+++ b/web/src/managed-agents/ProjectOnboarding.tsx@@ -86,7 +86,7 @@ function PromptPath() {<CopyRow value={CREATE_AGENT_PROMPT} className="bg-background py-3" /><p>Your coding agent installs the CLI, signs you in, and builds and- deploys the automation. Return here when it finishes to open it.+ deploys the project. Return here when it finishes to open the project.</p></OnboardingStep></Steps>@@ -106,18 +106,18 @@ function CommandsPath() {<CopyRow value={LOGIN_COMMAND} className="bg-background py-3" /></OnboardingStep>- <OnboardingStep number={3} title="Create an automation">+ <OnboardingStep number={3} title="Create an agent project"><p>Scaffold a hello-world agent and install its dependencies.</p><CopyRow value={INIT_COMMAND} className="bg-background py-3" /></OnboardingStep><OnboardingStep number={4} title="Deploy it"><p>- Create the automation and deploy to Development. The watcher redeploys- whenever you edit files in <code>opencomputer/</code>.+ Create the cloud project and deploy to Development. The watcher+ redeploys whenever you edit files in <code>opencomputer/</code>.</p><CopyRow value={DEPLOY_COMMAND} className="bg-background py-3" />- <p>Your automation appears here after the first deployment.</p>+ <p>Your project appears here after the first deployment.</p></OnboardingStep></Steps>)@@ -130,7 +130,7 @@ export default function ProjectOnboarding() {<div className="mx-auto max-w-5xl"><PageHeadertitle="Create your first agent"- description="Choose how you want to get started. Your automation will appear here after its first deployment."+ description="Choose how you want to get started. Your project will appear here after its first deployment."className="mb-8"/>diff --git a/web/src/managed-agents/ProjectServiceConnections.tsx b/web/src/managed-agents/ProjectServiceConnections.tsxindex 9f4089b3..1e08194a 100644--- a/web/src/managed-agents/ProjectServiceConnections.tsx+++ b/web/src/managed-agents/ProjectServiceConnections.tsx@@ -146,7 +146,7 @@ export function ManagedProjectServiceConnections({<div><PanelTitle>Shared service connections</PanelTitle><PanelDescription className="mt-1 max-w-2xl">- Attach an OAuth account to this automation. Every environment and+ Attach an OAuth account to this project. Every environment andpreview inherits the attachment; only agents that declare thematching useService() capability can use it.</PanelDescription>@@ -282,7 +282,7 @@ export function ManagedProjectServiceConnections({<p className="text-sm font-medium">No connected accounts</p><p className="text-muted-foreground mt-1 max-w-lg text-sm">Connect Linear, Gmail, Calendar, Drive, or Sheets first, then return- here to attach the account to this automation.+ here to attach the account to this project.</p><Button asChild className="mt-4" variant="outline"><Link to="/connections">Add account connection</Link>@@ -294,7 +294,7 @@ export function ManagedProjectServiceConnections({<p className="text-destructive text-sm">{mutation.error instanceof Error? mutation.error.message- : 'The automation connection could not be updated.'}+ : 'The project connection could not be updated.'}</p></div>) : null}@@ -306,14 +306,14 @@ export function ManagedProjectServiceConnections({}}title={pendingAction?.kind === 'replace'- ? 'Replace automation connection?'- : 'Detach automation connection?'+ ? 'Replace project connection?'+ : 'Detach project connection?'}description={pendingAction?.kind === 'replace'- ? `This replaces the automation’s “${pendingAction.attachment.label}” ${pendingAction.attachment.service} connection with “${pendingAction.connection.label}”. The underlying OAuth accounts stay connected.`+ ? `This replaces the project’s “${pendingAction.attachment.label}” ${pendingAction.attachment.service} connection with “${pendingAction.connection.label}”. The underlying OAuth accounts stay connected.`: pendingAction- ? `Agents in this automation will stop using “${pendingAction.connection.label}” as a shared ${pendingAction.attachment.service} connection. The underlying OAuth account stays connected.`+ ? `Agents in this project will stop using “${pendingAction.connection.label}” as a shared ${pendingAction.attachment.service} connection. The underlying OAuth account stays connected.`: undefined}confirmLabel={diff --git a/web/src/managed-agents/Schedules.tsx b/web/src/managed-agents/Schedules.tsxindex 9e288820..f0821aee 100644--- a/web/src/managed-agents/Schedules.tsx+++ b/web/src/managed-agents/Schedules.tsx@@ -96,7 +96,7 @@ export function ManagedAgentSchedules({<EmptyStateicon={CalendarClock}title={`No active ${environment} deployment`}- description="Deploy this automation to activate its schedules in this environment."+ description="Deploy this project to activate its schedules in this environment."/></Panel>)diff --git a/web/src/managed-agents/Secrets.tsx b/web/src/managed-agents/Secrets.tsxindex 979de5a1..ce54215d 100644--- a/web/src/managed-agents/Secrets.tsx+++ b/web/src/managed-agents/Secrets.tsx@@ -128,7 +128,7 @@ export function ManagedProjectSecrets({onChange={(event) => setAgentId(event.target.value)}className="border-input bg-background h-8 w-full rounded-md border px-2.5 text-sm outline-none">- <option value="">Entire automation</option>+ <option value="">Entire project</option>{agents.map((agent) => (<option key={agent.id} value={agent.id}>Agent: {agent.name}@@ -228,7 +228,7 @@ export function ManagedProjectSecrets({<p className="mt-1 text-sm">{secret.agentId? (agentNames.get(secret.agentId) ?? secret.agentId)- : 'Entire automation'}+ : 'Entire project'}</p></div><div className="min-w-0">@@ -376,7 +376,7 @@ function AgentRuntimeVariables({onChange={(event) => setAgentId(event.target.value)}className="border-input bg-background h-8 w-full rounded-md border px-2.5 text-sm outline-none">- <option value="">Entire automation</option>+ <option value="">Entire project</option>{agents.map((agent) => (<option key={agent.id} value={agent.id}>Agent: {agent.name}@@ -457,7 +457,7 @@ function AgentRuntimeVariables({<p className="mt-1 text-sm">{variable.agentId? (agentNames.get(variable.agentId) ?? variable.agentId)- : 'Entire automation'}+ : 'Entire project'}</p></div><Buttondiff --git a/web/src/managed-agents/Session.tsx b/web/src/managed-agents/Session.tsxindex 143b321f..de4a8162 100644--- a/web/src/managed-agents/Session.tsx+++ b/web/src/managed-agents/Session.tsx@@ -92,7 +92,7 @@ export default function ManagedSessionDetail() {<EmptyStateicon={TerminalSquare}title="Session not found"- description="This session is not available in this automation."+ description="This session is not available in this project."action={<Button asChild variant="outline"><Link to={`/projects/${encodeURIComponent(projectId)}/sessions`}>diff --git a/web/src/managed-agents/Settings.tsx b/web/src/managed-agents/Settings.tsxindex 6d2726a8..34ac6b12 100644--- a/web/src/managed-agents/Settings.tsx+++ b/web/src/managed-agents/Settings.tsx@@ -233,7 +233,7 @@ export function ManagedProjectSettings({ projectId }: { projectId: string }) {<EmptyStateicon={GitBranch}title="Deployment settings are temporarily unavailable"- description="Try loading the automation again."+ description="Try loading the project again."action={<Button variant="outline" onClick={() => void status.refetch()}>Try again@@ -553,7 +553,7 @@ export function ManagedProjectSettings({ projectId }: { projectId: string }) {<p className="text-muted-foreground text-sm">{source.previewsEnabled? 'No open pull requests have been built yet.'- : 'Previews are turned off for this automation.'}+ : 'Previews are turned off for this project.'}</p>) : (<ul className="divide-border divide-y">diff --git a/web/src/managed-agents/Slack.tsx b/web/src/managed-agents/Slack.tsxindex c0d15950..a57a7160 100644--- a/web/src/managed-agents/Slack.tsx+++ b/web/src/managed-agents/Slack.tsx@@ -194,7 +194,7 @@ export function ManagedProjectSlack({<EmptyStateicon={MessageSquare}title="Slack status is temporarily unavailable"- description="Try loading the automation again."+ description="Try loading the project again."action={<Buttonvariant="outline"diff --git a/web/src/managed-agents/TemplateNew.tsx b/web/src/managed-agents/TemplateNew.tsxindex 49a7923a..505671f8 100644--- a/web/src/managed-agents/TemplateNew.tsx+++ b/web/src/managed-agents/TemplateNew.tsx@@ -140,7 +140,7 @@ export default function TemplateNew() {if (result.state !== 'ready') {notifyError('Template deployment is still running.',- new Error('Open the draft automation to continue.'),+ new Error('Open the draft project to continue.'),)void navigate(result.projectUrl)return@@ -200,7 +200,7 @@ export default function TemplateNew() {<EmptyStateicon={Rocket}title="Deploying Hello World"- description="Creating your automation and opening its first Debug session…"+ description="Creating your project and opening its first Debug session…"/></Panel>)@@ -246,7 +246,7 @@ export default function TemplateNew() {{anonymous ? (<p className="text-muted-foreground text-sm">Sign in or create a free account to configure and deploy this template- to your own automation.+ to your own project.</p>) : null}{!quickStart ? (@@ -277,12 +277,12 @@ export default function TemplateNew() {<Panel><PanelHeader><PanelTitle>- {quickStart ? 'Name your agent' : 'Configure automation'}+ {quickStart ? 'Name your agent' : 'Configure project'}</PanelTitle></PanelHeader><PanelContent className="space-y-4"><label className="block space-y-1.5 text-sm">- <span>{quickStart ? 'Agent name' : 'Automation name'}</span>+ <span>{quickStart ? 'Agent name' : 'Project name'}</span><Inputvalue={projectName}onChange={(event) => setProjectName(event.target.value)}diff --git a/web/src/pages/Billing.tsx b/web/src/pages/Billing.tsxindex de5f7f03..9b576ed6 100644--- a/web/src/pages/Billing.tsx+++ b/web/src/pages/Billing.tsx@@ -949,7 +949,7 @@ function AgentUsageBreakdown({{session.title ?? 'Untitled session'}</div><div className="text-muted-foreground mt-0.5 flex flex-wrap gap-x-2 font-mono text-xs">- <span>{session.projectName ?? 'Unknown automation'}</span>+ <span>{session.projectName ?? 'Unknown project'}</span><span>{session.id}</span><span>{session.source}</span><span>{session.status}</span>