@probelabs/probe 0.6.0-rc129 → 0.6.0-rc130
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.
- package/build/agent/ProbeAgent.d.ts +23 -0
- package/index.d.ts +23 -0
- package/package.json +1 -1
- package/src/agent/ProbeAgent.d.ts +23 -0
|
@@ -111,6 +111,22 @@ export interface AnswerOptions {
|
|
|
111
111
|
maxIterations?: number;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
+
/**
|
|
115
|
+
* Clone options for creating a new agent with shared history
|
|
116
|
+
*/
|
|
117
|
+
export interface CloneOptions {
|
|
118
|
+
/** Session ID for the cloned agent (defaults to new UUID) */
|
|
119
|
+
sessionId?: string;
|
|
120
|
+
/** Remove internal messages (schema reminders, mermaid fixes, etc.) */
|
|
121
|
+
stripInternalMessages?: boolean;
|
|
122
|
+
/** Keep the system message in cloned history */
|
|
123
|
+
keepSystemMessage?: boolean;
|
|
124
|
+
/** Deep copy messages to prevent mutations */
|
|
125
|
+
deepCopy?: boolean;
|
|
126
|
+
/** Override any ProbeAgent constructor options */
|
|
127
|
+
overrides?: Partial<ProbeAgentOptions>;
|
|
128
|
+
}
|
|
129
|
+
|
|
114
130
|
/**
|
|
115
131
|
* ProbeAgent class - AI-powered code exploration and interaction
|
|
116
132
|
*/
|
|
@@ -183,6 +199,13 @@ export declare class ProbeAgent {
|
|
|
183
199
|
* @param messages - Array of chat messages
|
|
184
200
|
*/
|
|
185
201
|
setHistory(messages: ChatMessage[]): void;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Clone this agent's session to create a new agent with shared conversation history
|
|
205
|
+
* @param options - Clone options
|
|
206
|
+
* @returns New agent instance with cloned history
|
|
207
|
+
*/
|
|
208
|
+
clone(options?: CloneOptions): ProbeAgent;
|
|
186
209
|
}
|
|
187
210
|
|
|
188
211
|
/**
|
package/index.d.ts
CHANGED
|
@@ -206,6 +206,22 @@ export interface AnswerOptions {
|
|
|
206
206
|
maxIterations?: number;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
+
/**
|
|
210
|
+
* Clone options for creating a new agent with shared history
|
|
211
|
+
*/
|
|
212
|
+
export interface CloneOptions {
|
|
213
|
+
/** Session ID for the cloned agent (defaults to new UUID) */
|
|
214
|
+
sessionId?: string;
|
|
215
|
+
/** Remove internal messages (schema reminders, mermaid fixes, etc.) */
|
|
216
|
+
stripInternalMessages?: boolean;
|
|
217
|
+
/** Keep the system message in cloned history */
|
|
218
|
+
keepSystemMessage?: boolean;
|
|
219
|
+
/** Deep copy messages to prevent mutations */
|
|
220
|
+
deepCopy?: boolean;
|
|
221
|
+
/** Override any ProbeAgent constructor options */
|
|
222
|
+
overrides?: Partial<ProbeAgentOptions>;
|
|
223
|
+
}
|
|
224
|
+
|
|
209
225
|
/**
|
|
210
226
|
* ProbeAgent class - AI-powered code exploration and interaction
|
|
211
227
|
*/
|
|
@@ -272,6 +288,13 @@ export declare class ProbeAgent {
|
|
|
272
288
|
* @param messages - Array of chat messages
|
|
273
289
|
*/
|
|
274
290
|
setHistory(messages: ChatMessage[]): void;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Clone this agent's session to create a new agent with shared conversation history
|
|
294
|
+
* @param options - Clone options
|
|
295
|
+
* @returns New agent instance with cloned history
|
|
296
|
+
*/
|
|
297
|
+
clone(options?: CloneOptions): ProbeAgent;
|
|
275
298
|
}
|
|
276
299
|
|
|
277
300
|
/**
|
package/package.json
CHANGED
|
@@ -111,6 +111,22 @@ export interface AnswerOptions {
|
|
|
111
111
|
maxIterations?: number;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
+
/**
|
|
115
|
+
* Clone options for creating a new agent with shared history
|
|
116
|
+
*/
|
|
117
|
+
export interface CloneOptions {
|
|
118
|
+
/** Session ID for the cloned agent (defaults to new UUID) */
|
|
119
|
+
sessionId?: string;
|
|
120
|
+
/** Remove internal messages (schema reminders, mermaid fixes, etc.) */
|
|
121
|
+
stripInternalMessages?: boolean;
|
|
122
|
+
/** Keep the system message in cloned history */
|
|
123
|
+
keepSystemMessage?: boolean;
|
|
124
|
+
/** Deep copy messages to prevent mutations */
|
|
125
|
+
deepCopy?: boolean;
|
|
126
|
+
/** Override any ProbeAgent constructor options */
|
|
127
|
+
overrides?: Partial<ProbeAgentOptions>;
|
|
128
|
+
}
|
|
129
|
+
|
|
114
130
|
/**
|
|
115
131
|
* ProbeAgent class - AI-powered code exploration and interaction
|
|
116
132
|
*/
|
|
@@ -183,6 +199,13 @@ export declare class ProbeAgent {
|
|
|
183
199
|
* @param messages - Array of chat messages
|
|
184
200
|
*/
|
|
185
201
|
setHistory(messages: ChatMessage[]): void;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Clone this agent's session to create a new agent with shared conversation history
|
|
205
|
+
* @param options - Clone options
|
|
206
|
+
* @returns New agent instance with cloned history
|
|
207
|
+
*/
|
|
208
|
+
clone(options?: CloneOptions): ProbeAgent;
|
|
186
209
|
}
|
|
187
210
|
|
|
188
211
|
/**
|