@langchain/langgraph-api 1.1.0 → 1.1.2

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,5 +1,24 @@
1
1
  # @langchain/langgraph-api
2
2
 
3
+ ## 1.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - d08e484: Fix semver range for SDK
8
+ - @langchain/langgraph-ui@1.1.2
9
+
10
+ ## 1.1.1
11
+
12
+ ### Patch Changes
13
+
14
+ - 35e8fc7: Add name parameter to assistants count API.
15
+ - Updated dependencies [e19e76c]
16
+ - Updated dependencies [fa6c009]
17
+ - Updated dependencies [35e8fc7]
18
+ - Updated dependencies [b78a738]
19
+ - @langchain/langgraph-sdk@1.1.0
20
+ - @langchain/langgraph-ui@1.1.1
21
+
3
22
  ## 1.1.0
4
23
 
5
24
  ### Patch Changes
@@ -1106,11 +1106,14 @@ export declare const AssistantSearchRequest: z.ZodObject<{
1106
1106
  export declare const AssistantCountRequest: z.ZodObject<{
1107
1107
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1108
1108
  graph_id: z.ZodOptional<z.ZodString>;
1109
+ name: z.ZodOptional<z.ZodString>;
1109
1110
  }, "strip", z.ZodTypeAny, {
1110
1111
  graph_id?: string | undefined;
1112
+ name?: string | undefined;
1111
1113
  metadata?: Record<string, unknown> | undefined;
1112
1114
  }, {
1113
1115
  graph_id?: string | undefined;
1116
+ name?: string | undefined;
1114
1117
  metadata?: Record<string, unknown> | undefined;
1115
1118
  }>;
1116
1119
  export declare const ThreadCountRequest: z.ZodObject<{
package/dist/schemas.mjs CHANGED
@@ -292,6 +292,7 @@ export const AssistantCountRequest = z
292
292
  .describe("Metadata to search for.")
293
293
  .optional(),
294
294
  graph_id: z.string().describe("Filter by graph ID.").optional(),
295
+ name: z.string().describe("Filter by name.").optional(),
295
296
  })
296
297
  .describe("Payload for counting assistants.");
297
298
  export const ThreadCountRequest = z
@@ -86,6 +86,7 @@ export declare class FileSystemAssistants implements AssistantsRepo {
86
86
  }, auth: AuthContext | undefined): Promise<import("./types.mjs").AssistantVersion[]>;
87
87
  count(options: {
88
88
  graph_id?: string;
89
+ name?: string;
89
90
  metadata?: Metadata;
90
91
  }, auth: AuthContext | undefined): Promise<number>;
91
92
  }
@@ -418,6 +418,10 @@ export class FileSystemAssistants {
418
418
  assistant["graph_id"] !== options.graph_id) {
419
419
  return false;
420
420
  }
421
+ if (options.name != null &&
422
+ !assistant["name"].toLowerCase().includes(options.name.toLowerCase())) {
423
+ return false;
424
+ }
421
425
  if (options.metadata != null &&
422
426
  !isJsonbContained(assistant["metadata"], options.metadata)) {
423
427
  return false;
@@ -277,6 +277,7 @@ export interface AssistantsRepo {
277
277
  delete(assistant_id: string, auth: AuthContext | undefined): Promise<string[]>;
278
278
  count(options: {
279
279
  graph_id?: string;
280
+ name?: string;
280
281
  metadata?: Metadata;
281
282
  }, auth: AuthContext | undefined): Promise<number>;
282
283
  setLatest(assistant_id: string, version: number, auth: AuthContext | undefined): Promise<Assistant>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/langgraph-api",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": "^18.19.0 || >=20.16.0"
@@ -64,7 +64,7 @@
64
64
  "@babel/code-frame": "^7.26.2",
65
65
  "@hono/node-server": "^1.12.0",
66
66
  "@hono/zod-validator": "^0.2.2",
67
- "@langchain/langgraph-ui": "1.1.0",
67
+ "@langchain/langgraph-ui": "1.1.2",
68
68
  "@types/json-schema": "^7.0.15",
69
69
  "@typescript/vfs": "^1.6.0",
70
70
  "dedent": "^1.5.3",
@@ -86,7 +86,7 @@
86
86
  "@langchain/core": "^0.3.59 || ^1.0.1",
87
87
  "@langchain/langgraph": "^0.2.57 || ^0.3.0 || ^0.4.0 || ^1.0.0-alpha || ^1.0.0",
88
88
  "@langchain/langgraph-checkpoint": "~0.0.16 || ^0.1.0 || ~1.0.0",
89
- "@langchain/langgraph-sdk": "~0.0.16 || ^0.1.0 || ~1.0.0",
89
+ "@langchain/langgraph-sdk": "~0.0.16 || ^0.1.0 || ^1.0.0",
90
90
  "typescript": "^5.5.4"
91
91
  },
92
92
  "peerDependenciesMeta": {
@@ -96,9 +96,9 @@
96
96
  },
97
97
  "devDependencies": {
98
98
  "@langchain/core": "^1.0.0",
99
- "@langchain/langgraph": "1.0.2",
99
+ "@langchain/langgraph": "1.0.4",
100
100
  "@langchain/langgraph-checkpoint": "1.0.0",
101
- "@langchain/langgraph-sdk": "1.0.3",
101
+ "@langchain/langgraph-sdk": "1.2.0",
102
102
  "@types/babel__code-frame": "^7.0.6",
103
103
  "@types/node": "^18.15.11",
104
104
  "@types/react": "^19.0.8",