@probelabs/probe 0.6.0-rc221 → 0.6.0-rc223

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.
@@ -169,7 +169,7 @@ export const searchTool = (options = {}) => {
169
169
  ? `${searchDescription} (delegates code search to a subagent and returns extracted code blocks)`
170
170
  : searchDescription,
171
171
  inputSchema: searchSchema,
172
- execute: async ({ query: searchQuery, path, allow_tests, exact, maxTokens: paramMaxTokens, language }) => {
172
+ execute: async ({ query: searchQuery, path, allow_tests, exact, maxTokens: paramMaxTokens, language, session, nextPage }) => {
173
173
  // Use parameter maxTokens if provided, otherwise use the default
174
174
  const effectiveMaxTokens = paramMaxTokens || maxTokens;
175
175
 
@@ -195,7 +195,8 @@ export const searchTool = (options = {}) => {
195
195
  exact,
196
196
  json: false,
197
197
  maxTokens: effectiveMaxTokens,
198
- session: sessionId, // Pass session ID if provided
198
+ session: session || sessionId, // Use explicit session param, or fall back to options sessionId
199
+ nextPage, // Pass nextPage parameter for pagination
199
200
  language // Pass language parameter if provided
200
201
  };
201
202