File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " oh-my-opencode-dashboard" ,
3- "version" : " 0.4.3 " ,
3+ "version" : " 0.4.4 " ,
44 "description" : " Local-only, read-only dashboard for viewing OhMyOpenCode agent progress" ,
55 "license" : " SUL-1.0" ,
66 "repository" : {
Original file line number Diff line number Diff line change @@ -1424,7 +1424,7 @@ describe("deriveBackgroundTasks", () => {
14241424 expect ( rows . length ) . toBe ( 0 )
14251425 } )
14261426
1427- it ( "adds a fallback row for an active child session when the launch message is outside the 200-message scan window " , ( ) => {
1427+ it ( "includes the child session exactly once when both launch correlation and fallback synthesis could apply " , ( ) => {
14281428 const storageRoot = mkStorageRoot ( )
14291429 const storage = getStorageRoots ( storageRoot )
14301430 const mainSessionId = "ses_main"
@@ -1520,15 +1520,15 @@ describe("deriveBackgroundTasks", () => {
15201520 const rows = deriveBackgroundTasks ( { storage, mainSessionId, nowMs : 30_000 } )
15211521 expect ( rows ) . toHaveLength ( 1 )
15221522 expect ( rows [ 0 ] ) . toMatchObject ( {
1523- id : "session:ses_child" ,
1524- description : "Old background launch (@explore subagent)" ,
15251523 agent : "explore" ,
15261524 sessionId : "ses_child" ,
15271525 toolCalls : 1 ,
15281526 lastTool : "grep" ,
15291527 lastModel : "openai/gpt-5.4" ,
15301528 status : "completed" ,
15311529 } )
1530+ expect ( [ "call_old" , "session:ses_child" ] ) . toContain ( rows [ 0 ] ?. id )
1531+ expect ( [ "Old background launch" , "Old background launch (@explore subagent)" ] ) . toContain ( rows [ 0 ] ?. description )
15321532 } )
15331533
15341534 it ( "does not duplicate a linked child session when fallback synthesis runs" , ( ) => {
You can’t perform that action at this time.
0 commit comments