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
Commit 16f728a
Browse filesBrowse the repository at this point in the historyBrowse files
Add composer image attach and vision model payloads.
Users can attach PNG/JPEG/WebP in the desktop composer; the engine stores bounded artifact refs and hydrates Ollama images / OpenAI image_url parts only on the wire so text-only models still work and SQLite stays small.
Co-authored-by: Cursor <cursoragent@cursor.com>
task:"Start the existing server as a managed project background process named probe-server, with the exact command node server.mjs. Use background_start, then background_output to inspect its retained log until SERVER_READY appears. Report the actual marker following SERVER_READY and leave the server running. Do not use exec, change files or stop the server; the test harness will independently check its HTTP response and clean it up.".into()
35
-
}).await?;
35
+
36
+
images:Vec::new(),
37
+
}).await?;
36
38
letmut approvals = 0;
37
39
let finished = tokio::time::timeout(Duration::from_secs(300),async{
task:"Inspect billing.db using the native SQLite table/query tools. Discover its schema, then use SQL SUM to calculate total_cents for paid invoices only. Report the actual integer as total_cents=NUMBER. Do not use a shell or change any data/files.".into()
34
-
}).await?;
34
+
35
+
images:Vec::new(),
36
+
}).await?;
35
37
let finished = tokio::time::timeout(Duration::from_secs(240), engine.wait(&job.id)).await;
let request=StartRequest{workspace:project.clone(),task:"Fix the add function in src/lib.rs so it adds its two inputs. Inspect the file using tools, make the smallest change, then run exactly `cargo test --offline --lib` using exec with no cwd parameter. Preserve the existing tests and package files. Finish only after seeing the test result.".into(),session_id:None,model:None,mode:"code".into(),queue:false};
73
+
let request=StartRequest{workspace:project.clone(),task:"Fix the add function in src/lib.rs so it adds its two inputs. Inspect the file using tools, make the smallest change, then run exactly `cargo test --offline --lib` using exec with no cwd parameter. Preserve the existing tests and package files. Finish only after seeing the test result.".into(),session_id:None,model:None,mode:"code".into(),queue:false
let second=engine.start(StartRequest{workspace:project.clone(),task:"Read src/lib.rs again and tell me what add(-2, 1) now returns. Do not change files or run commands.".into(),session_id:Some(first.session_id.clone()),model:None,mode:"review".into(),queue:false}).await?;
112
+
let second=engine.start(StartRequest{workspace:project.clone(),task:"Read src/lib.rs again and tell me what add(-2, 1) now returns. Do not change files or run commands.".into(),session_id:Some(first.session_id.clone()),model:None,mode:"review".into(),queue:false
0 commit comments