Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@langchain/protocol

Package Overview
Dependencies
Maintainers
13
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@langchain/protocol - npm Package Compare versions

Comparing version
0.0.14
to
0.0.15
+1
-1
package.json
{
"name": "@langchain/protocol",
"version": "0.0.14",
"version": "0.0.15",
"description": "TypeScript bindings for the LangChain agent streaming protocol",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -333,3 +333,3 @@ // ==========================================================================

// Thread IDs may be client-generated (UUID) or server-assigned. The
// server creates the thread lazily on the first `run.input` if it does
// server creates the thread lazily on the first `run.start` if it does
// not already exist.

@@ -348,3 +348,3 @@ // Transport endpoints:

// is persisted on the server. Event streams can be opened before or after
// `run.input`; streams opened before a run exists stay idle until events
// `run.start`; streams opened before a run exists stay idle until events
// are produced.

@@ -366,3 +366,3 @@ // **WebSocket:** Subscriptions are managed via in-band

// 4a. Run Module
// `run.input` is the single entry point for all input to the graph.
// `run.start` is the single entry point for all input to the graph.
// The thread manages a state machine:

@@ -379,10 +379,10 @@ // - No active run → starts a new run with the provided input

export type RunCommand = RunInput;
export type RunCommand = RunStart;
export interface RunInput {
method: "run.input";
params: RunInputParams;
export interface RunStart {
method: "run.start";
params: RunStartParams;
}
export interface RunInputParams {
export interface RunStartParams {
/**

@@ -389,0 +389,0 @@ * Deployed graph/agent to run