fix(coding-agent): preserve extension timing measurements
This commit is contained in:
@@ -23,6 +23,7 @@ import { SettingsManager } from "./settings-manager.ts";
|
||||
import type { Skill } from "./skills.ts";
|
||||
import { loadSkills } from "./skills.ts";
|
||||
import { createSourceInfo, type SourceInfo } from "./source-info.ts";
|
||||
import { resetTimings } from "./timings.ts";
|
||||
|
||||
export interface ResourceExtensionPaths {
|
||||
skillPaths?: Array<{ path: string; metadata: PathMetadata }>;
|
||||
@@ -338,6 +339,8 @@ export class DefaultResourceLoader implements ResourceLoader {
|
||||
}
|
||||
|
||||
async reload(options?: ResourceLoaderReloadOptions): Promise<void> {
|
||||
resetTimings("extensions");
|
||||
|
||||
if (this.loaded) {
|
||||
clearExtensionCache();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user