File tree Expand file tree Collapse file tree 3 files changed +4
-11
lines changed
Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Original file line number Diff line number Diff line change 11import type { Metadata } from "next" ;
2- import { Geist , Geist_Mono , Instrument_Serif } from "next/font/google" ;
2+ import { Geist , Geist_Mono } from "next/font/google" ;
33import "./globals.css" ;
44
55const 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-
2215export 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 >
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 ( ) ;
You can’t perform that action at this time.
0 commit comments