@qwen-code/sdk
Advanced tools
+14
-21
@@ -516,28 +516,21 @@ // Generated by dts-bundle-generator v9.5.1 | ||
| /** | ||
| * Path to the Qwen CLI executable or runtime specification. | ||
| * Path to the Qwen CLI executable. | ||
| * | ||
| * If not provided, the SDK automatically uses the bundled CLI included in the package. | ||
| * | ||
| * Supports multiple formats: | ||
| * - 'qwen' -> native binary (auto-detected from PATH) | ||
| * - '/path/to/qwen' -> native binary (explicit path) | ||
| * - '/path/to/cli.js' -> Node.js bundle (default for .js files) | ||
| * - '/path/to/index.ts' -> TypeScript source (requires tsx) | ||
| * - 'bun:/path/to/cli.js' -> Force Bun runtime | ||
| * - 'node:/path/to/cli.js' -> Force Node.js runtime | ||
| * - 'tsx:/path/to/index.ts' -> Force tsx runtime | ||
| * - 'deno:/path/to/cli.ts' -> Force Deno runtime | ||
| * - Command name (no path separators): `'qwen'` -> executes from PATH | ||
| * - JavaScript file: `'/path/to/cli.js'` -> uses Node.js (or Bun if running under Bun) | ||
| * - TypeScript file: `'/path/to/index.ts'` -> uses tsx if available (silent support for dev/debug) | ||
| * - Native binary: `'/path/to/qwen'` -> executes directly | ||
| * | ||
| * If not provided, the SDK will auto-detect the native binary in this order: | ||
| * 1. QWEN_CODE_CLI_PATH environment variable | ||
| * 2. ~/.volta/bin/qwen | ||
| * 3. ~/.npm-global/bin/qwen | ||
| * 4. /usr/local/bin/qwen | ||
| * 5. ~/.local/bin/qwen | ||
| * 6. ~/node_modules/.bin/qwen | ||
| * 7. ~/.yarn/bin/qwen | ||
| * Runtime detection: | ||
| * - `.js/.mjs/.cjs` files: Node.js (or Bun if running under Bun) | ||
| * - `.ts/.tsx` files: tsx if available, otherwise treated as native | ||
| * - Command names: executed directly from PATH | ||
| * - Other files: executed as native binaries | ||
| * | ||
| * The .ts files are only supported for debugging purposes. | ||
| * | ||
| * @example '/path/to/cli.js' | ||
| * @example 'qwen' | ||
| * @example '/usr/local/bin/qwen' | ||
| * @example 'tsx:/path/to/packages/cli/src/index.ts' | ||
| * @example './packages/cli/index.ts' | ||
| */ | ||
@@ -544,0 +537,0 @@ pathToQwenExecutable?: string; |
+1
-1
| { | ||
| "name": "@qwen-code/sdk", | ||
| "version": "0.1.1", | ||
| "version": "0.1.2", | ||
| "description": "TypeScript SDK for programmatic access to qwen-code CLI", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.cjs", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
42540419
0.34%25
-28.57%2648
-0.49%