@@ -168,7 +168,7 @@ describe('ClaudeCodeAdapter', () => {
168168 // Create session file
169169 const sessionFile = path . join ( projDir , 'session-1.jsonl' ) ;
170170 fs . writeFileSync ( sessionFile , [
171- JSON . stringify ( { type : 'user' , timestamp : '2026-03-18T23:18:44Z' , cwd : '/Users/test/my-project' , slug : 'merry-dog' , message : { content : 'Investigate failing tests' } } ) ,
171+ JSON . stringify ( { type : 'user' , timestamp : '2026-03-18T23:18:44Z' , cwd : '/Users/test/my-project' , message : { content : 'Investigate failing tests' } } ) ,
172172 JSON . stringify ( { type : 'assistant' , timestamp : '2026-03-18T23:19:00Z' } ) ,
173173 ] . join ( '\n' ) ) ;
174174
@@ -203,7 +203,6 @@ describe('ClaudeCodeAdapter', () => {
203203 pid : 12345 ,
204204 projectPath : '/Users/test/my-project' ,
205205 sessionId : 'session-1' ,
206- slug : 'merry-dog' ,
207206 } ) ;
208207 expect ( agents [ 0 ] . summary ) . toContain ( 'Investigate failing tests' ) ;
209208
@@ -977,12 +976,12 @@ describe('ClaudeCodeAdapter', () => {
977976 } ) ;
978977
979978 describe ( 'readSession' , ( ) => {
980- it ( 'should parse session file with timestamps, slug, cwd, and entry type' , ( ) => {
979+ it ( 'should parse session file with timestamps, cwd, and entry type' , ( ) => {
981980 const readSession = ( adapter as any ) . readSession . bind ( adapter ) ;
982981
983982 const filePath = path . join ( tmpDir , 'test-session.jsonl' ) ;
984983 const lines = [
985- JSON . stringify ( { type : 'user' , timestamp : '2026-03-10T10:00:00Z' , cwd : '/my/project' , slug : 'happy-dog' } ) ,
984+ JSON . stringify ( { type : 'user' , timestamp : '2026-03-10T10:00:00Z' , cwd : '/my/project' } ) ,
986985 JSON . stringify ( { type : 'assistant' , timestamp : '2026-03-10T10:01:00Z' } ) ,
987986 ] ;
988987 fs . writeFileSync ( filePath , lines . join ( '\n' ) ) ;
@@ -991,7 +990,6 @@ describe('ClaudeCodeAdapter', () => {
991990 expect ( session ) . toMatchObject ( {
992991 sessionId : 'test-session' ,
993992 projectPath : '/my/project' ,
994- slug : 'happy-dog' ,
995993 lastCwd : '/my/project' ,
996994 lastEntryType : 'assistant' ,
997995 isInterrupted : false ,
@@ -1029,7 +1027,6 @@ describe('ClaudeCodeAdapter', () => {
10291027 const session = readSession ( filePath , '/test' ) ;
10301028 expect ( session ) . not . toBeNull ( ) ;
10311029 expect ( session . lastEntryType ) . toBeUndefined ( ) ;
1032- expect ( session . slug ) . toBeUndefined ( ) ;
10331030 } ) ;
10341031
10351032 it ( 'should return null for non-existent file' , ( ) => {
0 commit comments