Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@qwen-code/sdk

Package Overview
Dependencies
Maintainers
6
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qwen-code/sdk - npm Package Compare versions

Comparing version
0.1.5-preview.1
to
0.1.5-preview.2
+8
-0
dist/index.d.ts

@@ -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",

@@ -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