@qwen-code/sdk
Advanced tools
+8
-0
@@ -735,2 +735,9 @@ // Generated by dts-bundle-generator v9.5.1 | ||
| /** | ||
| * Specify a session ID for the new session. | ||
| * This ensures the SDK and CLI use the same session ID without resuming a previous session. | ||
| * Equivalent to CLI's `--session-id` flag. | ||
| * @example '123e4567-e89b-12d3-a456-426614174000' | ||
| */ | ||
| sessionId?: string; | ||
| /** | ||
| * Timeout configuration for various SDK operations. | ||
@@ -788,2 +795,3 @@ * All values are in milliseconds. | ||
| private readonly isSingleTurn; | ||
| private abortHandler; | ||
| constructor(transport: Transport, options: QueryOptions, singleTurn?: boolean); | ||
@@ -790,0 +798,0 @@ private initializeSdkMcpServers; |
+1
-1
| { | ||
| "name": "@qwen-code/sdk", | ||
| "version": "0.1.5-preview.1", | ||
| "version": "0.1.5-preview.2", | ||
| "description": "TypeScript SDK for programmatic access to qwen-code CLI", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.cjs", |
+2
-0
@@ -73,2 +73,4 @@ # @qwen-code/sdk | ||
| | `includePartialMessages` | `boolean` | `false` | When `true`, the SDK emits incomplete messages as they are being generated, allowing real-time streaming of the AI's response. | | ||
| | `resume` | `string` | - | Resume a previous session by providing its session ID. Equivalent to CLI's `--resume` flag. | | ||
| | `sessionId` | `string` | - | Specify a session ID for the new session. Ensures SDK and CLI use the same ID without resuming history. Equivalent to CLI's `--session-id` flag. | | ||
@@ -75,0 +77,0 @@ ### Timeouts |
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
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
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
43482611
0.25%2689
0.6%396
0.51%