@juspay/neurolink 9.65.0 → 9.65.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [9.65.1](https://github.com/juspay/neurolink/compare/v9.65.0...v9.65.1) (2026-05-24)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **(providers):** restore native Vertex tool storage + Claude streaming + Gemini history replay ([7b00e06](https://github.com/juspay/neurolink/commit/7b00e0608a9184e48f3badd90a2238cb330a8128))
6
+
1
7
  ## [9.65.0](https://github.com/juspay/neurolink/compare/v9.64.0...v9.65.0) (2026-05-17)
2
8
 
3
9
  ### Features
@@ -547,9 +547,16 @@ export const directAgentTools = {
547
547
  // It is only included in directAgentTools when NEUROLINK_ENABLE_BASH_TOOL=true or
548
548
  // toolConfig.enableBashTool is explicitly set to true. See shouldEnableBashTool() in toolUtils.ts.
549
549
  websearchGrounding: tool({
550
- description: "Search the web for current information using Google Search grounding. Returns raw search data for AI processing.",
550
+ description: "Performs a Google Search and returns a summarized answer with source citations. Always check the current date before constructing the query. Use whenever the answer depends on time-sensitive facts or requires verification against real-world sources.",
551
551
  inputSchema: z.object({
552
- query: z.string().describe("Search query to find information about"),
552
+ query: z
553
+ .string()
554
+ .trim()
555
+ .min(1, { message: "must be a non-empty search string" })
556
+ .refine((v) => v.toLowerCase() !== "undefined", {
557
+ message: 'must not be the literal string "undefined" — pass a real search query',
558
+ })
559
+ .describe("The search query string to look up on the web."),
553
560
  maxResults: z
554
561
  .number()
555
562
  .optional()
@@ -581,7 +588,8 @@ export const directAgentTools = {
581
588
  project: hasProjectId,
582
589
  location: projectLocation,
583
590
  });
584
- const websearchModel = "gemini-2.5-flash-lite";
591
+ const websearchModel = process.env.NEUROLINK_WEBSEARCH_MODEL?.trim() ||
592
+ "gemini-2.5-flash-lite";
585
593
  const model = vertex_ai.getGenerativeModel({
586
594
  model: websearchModel,
587
595
  tools: createGoogleSearchTools(),