@adhdev/daemon-core 0.9.45 → 0.9.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -98,10 +98,8 @@ export declare function listSavedHistorySessions(agentType: string, options?: {
98
98
  sessions: SavedHistorySessionSummary[];
99
99
  hasMore: boolean;
100
100
  };
101
- export declare function rebuildHermesSavedHistoryFromCanonicalSession(historySessionId: string): boolean;
102
- export declare function rebuildClaudeSavedHistoryFromNativeProject(historySessionId: string, workspace?: string): boolean;
103
- export declare function resolveCodexSessionTranscriptPath(historySessionId: string, workspace?: string): string | null;
104
- export declare function rebuildCodexSavedHistoryFromNativeSession(historySessionId: string, workspace?: string): boolean;
101
+ export type ProviderNativeHistoryScripts = Record<string, ((input: any) => any) | undefined>;
102
+ export declare function materializeProviderNativeHistory(agentType: string, canonicalHistory: ProviderCanonicalHistoryConfig | undefined, historySessionId: string, workspace?: string, scripts?: ProviderNativeHistoryScripts): boolean;
105
103
  export declare function isNativeSourceCanonicalHistory(canonicalHistory?: ProviderCanonicalHistoryConfig): boolean;
106
104
  export declare function readProviderChatHistory(agentType: string, options?: {
107
105
  canonicalHistory?: ProviderCanonicalHistoryConfig;
@@ -111,16 +109,20 @@ export declare function readProviderChatHistory(agentType: string, options?: {
111
109
  limit?: number;
112
110
  excludeRecentCount?: number;
113
111
  historyBehavior?: ProviderHistoryBehavior;
112
+ scripts?: ProviderNativeHistoryScripts;
114
113
  }): {
115
114
  messages: HistoryMessage[];
116
115
  hasMore: boolean;
117
116
  source: 'provider-native' | 'adhdev-mirror' | 'native-unavailable';
117
+ sourcePath?: string;
118
+ sourceMtimeMs?: number;
118
119
  };
119
120
  export declare function listProviderHistorySessions(agentType: string, options?: {
120
121
  canonicalHistory?: ProviderCanonicalHistoryConfig;
121
122
  offset?: number;
122
123
  limit?: number;
123
124
  historyBehavior?: ProviderHistoryBehavior;
125
+ scripts?: ProviderNativeHistoryScripts;
124
126
  }): {
125
127
  sessions: SavedHistorySessionSummary[];
126
128
  hasMore: boolean;