Skip to content

Commit 38543d8

Browse files
committed
Fixes
1 parent e3fed9c commit 38543d8

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

cursor-cli-demo/app/layout.tsx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Metadata } from "next";
2-
import { Geist, Geist_Mono, Instrument_Serif } from "next/font/google";
2+
import { Geist, Geist_Mono } from "next/font/google";
33
import "./globals.css";
44

55
const geistSans = Geist({
@@ -12,13 +12,6 @@ const geistMono = Geist_Mono({
1212
subsets: ["latin"],
1313
});
1414

15-
const instrumentSerif = Instrument_Serif({
16-
variable: "--font-display",
17-
subsets: ["latin"],
18-
weight: "400",
19-
style: ["normal", "italic"],
20-
});
21-
2215
export const metadata: Metadata = {
2316
title: "Cursor Agent Runner",
2417
description: "Run Cursor's CLI agent on Trigger.dev, streamed live",
@@ -30,7 +23,7 @@ export default function RootLayout({
3023
children: React.ReactNode;
3124
}) {
3225
return (
33-
<html lang="en" className={`${geistSans.variable} ${geistMono.variable} ${instrumentSerif.variable}`}>
26+
<html lang="en" className={`${geistSans.variable} ${geistMono.variable}`}>
3427
<body className="antialiased">
3528
{children}
3629
</body>

cursor-cli-demo/components/agent-runner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export function AgentRunner() {
1010
<div className="flex flex-col gap-6">
1111
<ControlBar runState={runState} onRun={startRun} onReset={reset} />
1212

13-
{(runState.status === "running" || runState.status === "complete") && (
13+
{(runState.status === "running" || runState.status === "complete" || runState.status === "failed") && (
1414
<div className="animate-fade-in">
1515
<Terminal
1616
runId={runState.runId}

cursor-cli-demo/trigger/cursor-agent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const cursorAgentTask = task({
4343
agent.kill();
4444
});
4545

46-
const { stream, waitUntilComplete } = cursorStream.pipe(agent.stream);
46+
const { waitUntilComplete } = cursorStream.pipe(agent.stream);
4747

4848
const { exitCode, stderr } = await agent.waitUntilExit();
4949
await waitUntilComplete();

0 commit comments

Comments
 (0)