@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.
- package/bin/binaries/probe-v0.6.0-rc223-aarch64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc223-aarch64-unknown-linux-musl.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc223-x86_64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc223-x86_64-pc-windows-msvc.zip +0 -0
- package/bin/binaries/probe-v0.6.0-rc223-x86_64-unknown-linux-musl.tar.gz +0 -0
- package/build/agent/acp/tools.js +12 -0
- package/build/agent/index.js +30 -8
- package/build/delegate.js +26 -4
- package/build/tools/common.js +7 -1
- package/build/tools/langchain.js +4 -2
- package/build/tools/vercel.js +3 -2
- package/cjs/agent/ProbeAgent.cjs +138 -51
- package/cjs/index.cjs +142 -53
- package/package.json +1 -1
- package/src/agent/acp/tools.js +12 -0
- package/src/delegate.js +26 -4
- package/src/tools/common.js +7 -1
- package/src/tools/langchain.js +4 -2
- package/src/tools/vercel.js +3 -2
- package/bin/binaries/probe-v0.6.0-rc221-aarch64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc221-aarch64-unknown-linux-musl.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc221-x86_64-apple-darwin.tar.gz +0 -0
- package/bin/binaries/probe-v0.6.0-rc221-x86_64-pc-windows-msvc.zip +0 -0
- package/bin/binaries/probe-v0.6.0-rc221-x86_64-unknown-linux-musl.tar.gz +0 -0
package/src/tools/vercel.js
CHANGED
|
@@ -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, //
|
|
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
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|