@juspay/neurolink 7.18.0 → 7.20.0

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,15 @@
1
+ ## [7.20.0](https://github.com/juspay/neurolink/compare/v7.19.0...v7.20.0) (2025-08-19)
2
+
3
+ ### Features
4
+
5
+ - **(cli):** add --version flag to display package version ([632eb7c](https://github.com/juspay/neurolink/commit/632eb7ca93024dd055dc626951c5a05153d4eda7))
6
+
7
+ ## [7.19.0](https://github.com/juspay/neurolink/compare/v7.18.0...v7.19.0) (2025-08-19)
8
+
9
+ ### Features
10
+
11
+ - **(docs):** HUMAN IN THE LOOP - User consent for some tools execution ([3f8db51](https://github.com/juspay/neurolink/commit/3f8db51d3f2ab4a35ee361cb867af5047f178178))
12
+
1
13
  ## [7.18.0](https://github.com/juspay/neurolink/compare/v7.17.0...v7.18.0) (2025-08-19)
2
14
 
3
15
  ### Features
package/dist/cli/index.js CHANGED
@@ -8,10 +8,18 @@
8
8
  import yargs from "yargs";
9
9
  import { hideBin } from "yargs/helpers";
10
10
  import chalk from "chalk";
11
+ import _fs from "fs";
12
+ import path from "path";
13
+ import { fileURLToPath } from "url";
11
14
  import { addOllamaCommands } from "./commands/ollama.js";
12
15
  import { addSageMakerCommands } from "./commands/sagemaker.js";
13
16
  import { CLICommandFactory } from "./factories/commandFactory.js";
14
17
  import { logger } from "../lib/utils/logger.js";
18
+ // Get version from package.json
19
+ const __filename = fileURLToPath(import.meta.url);
20
+ const __dirname = path.dirname(__filename);
21
+ const packageJson = JSON.parse(_fs.readFileSync(path.resolve(__dirname, "../../package.json"), "utf-8"));
22
+ const cliVersion = packageJson.version;
15
23
  // Load environment variables from .env file
16
24
  try {
17
25
  // Try to import and configure dotenv
@@ -110,7 +118,7 @@ const args = hideBin(process.argv);
110
118
  const cli = yargs(args)
111
119
  .scriptName("neurolink")
112
120
  .usage("Usage: $0 <command> [options]")
113
- .version()
121
+ .version(cliVersion)
114
122
  .help()
115
123
  .alias("h", "help")
116
124
  .alias("V", "version")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juspay/neurolink",
3
- "version": "7.18.0",
3
+ "version": "7.20.0",
4
4
  "description": "Universal AI Development Platform with working MCP integration, multi-provider support, and professional CLI. Built-in tools operational, 58+ external MCP servers discoverable. Connect to filesystem, GitHub, database operations, and more. Build, test, and deploy AI applications with 9 major providers: OpenAI, Anthropic, Google AI, AWS Bedrock, Azure, Hugging Face, Ollama, and Mistral AI.",
5
5
  "author": {
6
6
  "name": "Juspay Technologies",