langgraph-api 0.19.0.dev6__py3-none-any.whl → 0.19.0.dev8__py3-none-any.whl

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.
langgraph_api/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.19.0.dev6"
1
+ __version__ = "0.19.0.dev8"
@@ -1,5 +1,6 @@
1
1
  import re
2
2
  from contextlib import aclosing
3
+ from datetime import UTC, datetime
3
4
  from typing import TYPE_CHECKING, Any, get_args
4
5
 
5
6
  from starlette.exceptions import HTTPException
@@ -121,6 +122,27 @@ def _exclude_metadata_kwargs(payload: dict) -> dict:
121
122
  return {"exclude_metadata": exclude_metadata}
122
123
 
123
124
 
125
+ _THREAD_TIME_RANGE_FIELDS = ("created_after", "created_before")
126
+
127
+
128
+ def _time_range_kwargs(payload: dict) -> dict:
129
+ """Parse ISO 8601 time-range bounds into ops kwargs. Naive values are UTC."""
130
+ kwargs = {}
131
+ for field in _THREAD_TIME_RANGE_FIELDS:
132
+ raw = payload.get(field)
133
+ if raw is None:
134
+ continue
135
+ try:
136
+ parsed = datetime.fromisoformat(raw)
137
+ except (TypeError, ValueError):
138
+ raise HTTPException(
139
+ status_code=422,
140
+ detail=f"Invalid {field}: must be an ISO 8601 datetime",
141
+ ) from None
142
+ kwargs[field] = parsed if parsed.tzinfo else parsed.replace(tzinfo=UTC)
143
+ return kwargs
144
+
145
+
124
146
  @retry_db
125
147
  async def search_threads(
126
148
  request: ApiRequest,
@@ -158,7 +180,7 @@ async def search_threads(
158
180
  # it would extract from ciphertext (wrong) and we'll redo it anyway.
159
181
  storage_extract = None if needs_python_extract else extract
160
182
 
161
- exclude_kwargs = _exclude_metadata_kwargs(payload)
183
+ filter_kwargs = {**_exclude_metadata_kwargs(payload), **_time_range_kwargs(payload)}
162
184
  async with connect() as conn:
163
185
  threads_iter, next_offset = await Threads.search(
164
186
  conn,
@@ -174,7 +196,7 @@ async def search_threads(
174
196
  extract=storage_extract,
175
197
  # Python-side extraction reads the values, so it needs them decoded.
176
198
  **_raw_values_kwargs(not (extract and needs_python_extract)),
177
- **exclude_kwargs,
199
+ **filter_kwargs,
178
200
  )
179
201
  threads, response_headers = await get_pagination_headers(
180
202
  threads_iter, next_offset, offset
@@ -203,13 +225,14 @@ async def count_threads(
203
225
  ):
204
226
  """Count threads."""
205
227
  payload = await request.json(ThreadCountRequest)
228
+ filter_kwargs = {**_exclude_metadata_kwargs(payload), **_time_range_kwargs(payload)}
206
229
  async with connect() as conn:
207
230
  count = await Threads.count(
208
231
  conn,
209
232
  status=payload.get("status"),
210
233
  values=payload.get("values"),
211
234
  metadata=payload.get("metadata"),
212
- **_exclude_metadata_kwargs(payload),
235
+ **filter_kwargs,
213
236
  )
214
237
  return ApiResponse(count)
215
238
 
langgraph_api/graph.py CHANGED
@@ -434,6 +434,10 @@ async def get_graph(
434
434
  "__is_for_execution__": is_for_execution(access_context),
435
435
  },
436
436
  }
437
+ update["access_context"] = access_context
438
+ # The sidecar builds the factory after the run context is filtered
439
+ # by its schema, so it also gets the unfiltered context here.
440
+ update["factory_context"] = context
437
441
  yield graph_obj.copy(update=update)
438
442
  finally:
439
443
  var_child_runnable_config.set(None)
@@ -4,7 +4,7 @@ from __future__ import annotations
4
4
 
5
5
  import asyncio
6
6
  from contextlib import AsyncExitStack, aclosing
7
- from datetime import UTC
7
+ from datetime import UTC, datetime
8
8
  from http import HTTPStatus
9
9
  from typing import TYPE_CHECKING, Any, Literal
10
10
  from uuid import UUID
@@ -378,6 +378,8 @@ class Threads(Authenticated):
378
378
  select: list[ThreadSelectField] | None = None,
379
379
  extract: dict[str, str] | None = None,
380
380
  exclude_metadata: list[dict[str, Any]] | None = None,
381
+ created_after: datetime | None = None,
382
+ created_before: datetime | None = None,
381
383
  raw_values: bool = False,
382
384
  ctx: Any = None,
383
385
  ) -> tuple[AsyncIterator[Thread], int | None]:
@@ -401,6 +403,8 @@ class Threads(Authenticated):
401
403
  "filters": auth_filters,
402
404
  "metadata_json": json_dumpb_optional(metadata),
403
405
  "values_json": json_dumpb_optional(values),
406
+ "created_after": created_after,
407
+ "created_before": created_before,
404
408
  "limit": limit,
405
409
  "offset": offset,
406
410
  "sort_by": _map_threads_sort_by(sort_by),
@@ -456,6 +460,8 @@ class Threads(Authenticated):
456
460
  values: MetadataInput,
457
461
  status: ThreadStatus | None,
458
462
  exclude_metadata: list[dict[str, Any]] | None = None,
463
+ created_after: datetime | None = None,
464
+ created_before: datetime | None = None,
459
465
  ctx: Any = None,
460
466
  ) -> int:
461
467
  metadata = metadata or {}
@@ -475,6 +481,8 @@ class Threads(Authenticated):
475
481
  "filters": auth_filters,
476
482
  "metadata_json": json_dumpb_optional(metadata),
477
483
  "values_json": json_dumpb_optional(values),
484
+ "created_after": created_after,
485
+ "created_before": created_before,
478
486
  }
479
487
  if exclude_metadata:
480
488
  request_kwargs["exclude_metadata_json"] = json_dumpb(exclude_metadata)
@@ -69,7 +69,7 @@ import { collectMutations } from "./src/auth-mutations.mts";
69
69
  import { patchFetch } from "./traceblock.mts";
70
70
  import { writeHeapSnapshot } from "node:v8";
71
71
 
72
- import { DurabilitySchema } from "./src/graph.mts";
72
+ import { AccessContextSchema, DurabilitySchema } from "./src/graph.mts";
73
73
 
74
74
  const injectConfigFormatter = format((info) => {
75
75
  const config = getConfig();
@@ -171,6 +171,10 @@ async function getGraph(
171
171
  graphId: string,
172
172
  config: Parameters<CompiledGraphFactory<string>>[0],
173
173
  name: string | null | undefined,
174
+ options?: {
175
+ accessContext?: z.infer<typeof AccessContextSchema> | null;
176
+ context?: unknown;
177
+ },
174
178
  ) {
175
179
  if (!GRAPH_RESOLVED[graphId])
176
180
  throw new HTTPException(404, { message: `Graph "${graphId}" not found` });
@@ -181,9 +185,16 @@ async function getGraph(
181
185
  store: GRAPH_OPTIONS.store,
182
186
  };
183
187
 
188
+ const accessContext = options?.accessContext ?? "assistants.read";
184
189
  const resolved =
185
190
  typeof GRAPH_RESOLVED[graphId] === "function"
186
- ? await GRAPH_RESOLVED[graphId](factoryConfig)
191
+ ? await GRAPH_RESOLVED[graphId](factoryConfig, {
192
+ accessContext,
193
+ executionRuntime:
194
+ accessContext === "threads.create_run"
195
+ ? { context: options?.context }
196
+ : null,
197
+ })
187
198
  : GRAPH_RESOLVED[graphId];
188
199
 
189
200
  if (GRAPH_OPTIONS.checkpointer) {
@@ -699,6 +710,7 @@ const StreamEventsPayload = z.object({
699
710
  graph_id: z.string(),
700
711
  graph_name: z.string().nullish(),
701
712
  graph_config: RunnableConfigSchema.nullish(),
713
+ access_context: AccessContextSchema.nullish(),
702
714
  input: z.unknown(),
703
715
  command: z
704
716
  .object({
@@ -716,6 +728,7 @@ const StreamEventsPayload = z.object({
716
728
  stream_mode: z.union([z.string(), z.array(z.string())]).optional(),
717
729
  config: RunnableConfigSchema.nullish(),
718
730
  context: z.record(z.unknown()).nullish(),
731
+ factory_context: z.record(z.unknown()).nullish(),
719
732
  interrupt_before: z.union([z.array(z.string()), z.literal("*")]).nullish(),
720
733
  interrupt_after: z.union([z.array(z.string()), z.literal("*")]).nullish(),
721
734
  subgraphs: z.boolean().optional(),
@@ -761,7 +774,10 @@ async function* streamEventsRequest(
761
774
  ...getRunnableConfig(payload.config),
762
775
  context: payload.context ?? undefined,
763
776
  };
764
- const graph = await getGraph(graphId, config, payload.graph_name);
777
+ const graph = await getGraph(graphId, config, payload.graph_name, {
778
+ accessContext: payload.access_context,
779
+ context: payload.factory_context ?? undefined,
780
+ });
765
781
  const input = reviveCommand(payload.command) ?? payload.input;
766
782
  // TODO Check if it's a remote graph and don't set in that case
767
783
  config.configurable = {
@@ -984,6 +1000,7 @@ const GetGraphPayload = z.object({
984
1000
  graph_id: z.string(),
985
1001
  graph_name: z.string().nullish(),
986
1002
  graph_config: RunnableConfigSchema.nullish(),
1003
+ access_context: AccessContextSchema.nullish(),
987
1004
  config: RunnableConfigSchema.nullish(),
988
1005
  xray: z.union([z.number(), z.boolean()]).nullish(),
989
1006
  });
@@ -995,6 +1012,7 @@ async function getGraphRequest(rawPayload: z.infer<typeof GetGraphPayload>) {
995
1012
  graphId,
996
1013
  getRunnableConfig(payload.graph_config),
997
1014
  payload.graph_name,
1015
+ { accessContext: payload.access_context },
998
1016
  );
999
1017
 
1000
1018
  const drawable = await graph.getGraphAsync({
@@ -1007,6 +1025,7 @@ async function getGraphRequest(rawPayload: z.infer<typeof GetGraphPayload>) {
1007
1025
  const GetSubgraphsPayload = z.object({
1008
1026
  graph_id: z.string(),
1009
1027
  graph_config: RunnableConfigSchema.nullish(),
1028
+ access_context: AccessContextSchema.nullish(),
1010
1029
  graph_name: z.string().nullish(),
1011
1030
  namespace: z.string().nullish(),
1012
1031
  recurse: z.boolean().nullish(),
@@ -1018,7 +1037,9 @@ async function getSubgraphsRequest(
1018
1037
  const { graph_id: graphId, ...payload } = rawPayload;
1019
1038
 
1020
1039
  const config = getRunnableConfig(payload.graph_config);
1021
- const graph = await getGraph(graphId, config, payload.graph_name);
1040
+ const graph = await getGraph(graphId, config, payload.graph_name, {
1041
+ accessContext: payload.access_context,
1042
+ });
1022
1043
 
1023
1044
  const result: Array<[name: string, schema: Record<string, any>]> = [];
1024
1045
  let graphSchemaPromise: ReturnType<typeof getOrExtractSchema> | undefined;
@@ -1049,6 +1070,7 @@ async function getSubgraphsRequest(
1049
1070
  const GetStatePayload = z.object({
1050
1071
  graph_id: z.string(),
1051
1072
  graph_config: RunnableConfigSchema.nullish(),
1073
+ access_context: AccessContextSchema.nullish(),
1052
1074
  graph_name: z.string().nullish(),
1053
1075
  config: RunnableConfigSchema,
1054
1076
  subgraphs: z.boolean().nullish(),
@@ -1057,7 +1079,9 @@ const GetStatePayload = z.object({
1057
1079
  async function getStateRequest(rawPayload: z.infer<typeof GetStatePayload>) {
1058
1080
  const { graph_id: graphId, ...payload } = rawPayload;
1059
1081
  const graphConfig = getRunnableConfig(payload.graph_config);
1060
- const graph = await getGraph(graphId, graphConfig, payload.graph_name);
1082
+ const graph = await getGraph(graphId, graphConfig, payload.graph_name, {
1083
+ accessContext: payload.access_context,
1084
+ });
1061
1085
 
1062
1086
  const state = await graph.getState(getRunnableConfig(payload.config), {
1063
1087
  subgraphs: payload.subgraphs ?? undefined,
@@ -1070,6 +1094,7 @@ async function getStateRequest(rawPayload: z.infer<typeof GetStatePayload>) {
1070
1094
  const UpdateStatePayload = z.object({
1071
1095
  graph_id: z.string(),
1072
1096
  graph_config: RunnableConfigSchema.nullish(),
1097
+ access_context: AccessContextSchema.nullish(),
1073
1098
  graph_name: z.string().nullish(),
1074
1099
  config: RunnableConfigSchema,
1075
1100
  values: z.unknown(),
@@ -1081,7 +1106,9 @@ async function updateStateRequest(
1081
1106
  ) {
1082
1107
  const { graph_id: graphId, ...payload } = rawPayload;
1083
1108
  const graphConfig = getRunnableConfig(payload.graph_config);
1084
- const graph = await getGraph(graphId, graphConfig, payload.graph_name);
1109
+ const graph = await getGraph(graphId, graphConfig, payload.graph_name, {
1110
+ accessContext: payload.access_context,
1111
+ });
1085
1112
 
1086
1113
  const config = await graph.updateState(
1087
1114
  getRunnableConfig(payload.config),
@@ -1095,6 +1122,7 @@ async function updateStateRequest(
1095
1122
  const GetSchemaPayload = z.object({
1096
1123
  graph_id: z.string(),
1097
1124
  graph_config: RunnableConfigSchema.nullish(),
1125
+ access_context: AccessContextSchema.nullish(),
1098
1126
  graph_name: z.string().nullish(),
1099
1127
  });
1100
1128
 
@@ -1102,7 +1130,9 @@ async function getSchemaRequest(payload: z.infer<typeof GetSchemaPayload>) {
1102
1130
  const { graph_id: graphId } = payload;
1103
1131
 
1104
1132
  const config = getRunnableConfig(payload.graph_config);
1105
- const graph = await getGraph(graphId, config, payload.graph_name);
1133
+ const graph = await getGraph(graphId, config, payload.graph_name, {
1134
+ accessContext: payload.access_context,
1135
+ });
1106
1136
 
1107
1137
  const schema = await (async () => {
1108
1138
  const runtimeSchema = await getRuntimeGraphSchema(graph);
@@ -1120,6 +1150,7 @@ async function getSchemaRequest(payload: z.infer<typeof GetSchemaPayload>) {
1120
1150
  const GetStateHistoryPayload = z.object({
1121
1151
  graph_id: z.string(),
1122
1152
  graph_config: RunnableConfigSchema.nullish(),
1153
+ access_context: AccessContextSchema.nullish(),
1123
1154
  graph_name: z.string().nullish(),
1124
1155
  config: RunnableConfigSchema,
1125
1156
  limit: z.number().nullish(),
@@ -1132,7 +1163,9 @@ async function* getStateHistoryRequest(
1132
1163
  ) {
1133
1164
  const { graph_id: graphId, ...payload } = rawPayload;
1134
1165
  const config = getRunnableConfig(payload.graph_config);
1135
- const graph = await getGraph(graphId, config, payload.graph_name);
1166
+ const graph = await getGraph(graphId, config, payload.graph_name, {
1167
+ accessContext: payload.access_context,
1168
+ });
1136
1169
 
1137
1170
  for await (const item of graph.getStateHistory(
1138
1171
  getRunnableConfig(payload.config),
@@ -49,6 +49,7 @@ from starlette.routing import Route
49
49
 
50
50
  from langgraph_api import config as lg_config
51
51
  from langgraph_api import store as api_store
52
+ from langgraph_api._factory_utils import AccessContext
52
53
  from langgraph_api.asyncio import NoSignalServer
53
54
  from langgraph_api.auth.custom import DotDict, ProxyUser, connection_method
54
55
  from langgraph_api.config import LANGGRAPH_AUTH, LANGGRAPH_AUTH_TYPE
@@ -290,11 +291,15 @@ class RemotePregel(BaseRemotePregel):
290
291
  graph_id: str,
291
292
  *,
292
293
  config: Config | None = None,
294
+ access_context: AccessContext | None = None,
295
+ factory_context: Any | None = None,
293
296
  **kwargs: Any,
294
297
  ):
295
298
  super().__init__()
296
299
  self.graph_id = graph_id
297
300
  self.config = config
301
+ self.access_context = access_context
302
+ self.factory_context = factory_context
298
303
 
299
304
  async def astream_events(
300
305
  self,
@@ -310,6 +315,8 @@ class RemotePregel(BaseRemotePregel):
310
315
  data = {
311
316
  "graph_id": self.graph_id,
312
317
  "graph_config": self.config,
318
+ "access_context": self.access_context,
319
+ "factory_context": self.factory_context,
313
320
  "graph_name": self.name,
314
321
  "command" if isinstance(input, Command) else "input": input,
315
322
  "config": self._with_execution_signal(config),
@@ -345,6 +352,8 @@ class RemotePregel(BaseRemotePregel):
345
352
  data = {
346
353
  "graph_id": self.graph_id,
347
354
  "graph_config": self.config,
355
+ "access_context": self.access_context,
356
+ "factory_context": self.factory_context,
348
357
  "graph_name": self.name,
349
358
  "command" if isinstance(input, Command) else "input": input,
350
359
  "config": self._with_execution_signal(config),
@@ -359,11 +368,21 @@ class RemotePregel(BaseRemotePregel):
359
368
  yield event
360
369
 
361
370
  async def fetch_state_schema(self):
371
+ # A run can fetch its schema through its own graph, so mark this as a read.
372
+ config = self.config or {}
373
+ graph_config = {
374
+ **config,
375
+ "configurable": {
376
+ **(config.get("configurable") or {}),
377
+ "__is_for_execution__": False,
378
+ },
379
+ }
362
380
  return await _client_invoke(
363
381
  "getSchema",
364
382
  {
365
383
  "graph_id": self.graph_id,
366
- "graph_config": self._inject_auth_to_config(self.config),
384
+ "graph_config": self._inject_auth_to_config(graph_config),
385
+ "access_context": "assistants.read",
367
386
  },
368
387
  )
369
388
 
@@ -399,6 +418,7 @@ class RemotePregel(BaseRemotePregel):
399
418
  {
400
419
  "graph_id": self.graph_id,
401
420
  "graph_config": self._inject_auth_to_config(self.config),
421
+ "access_context": self.access_context,
402
422
  "graph_name": self.name,
403
423
  "config": self._inject_auth_to_config(config),
404
424
  "xray": xray,
@@ -440,6 +460,7 @@ class RemotePregel(BaseRemotePregel):
440
460
  {
441
461
  "graph_id": self.graph_id,
442
462
  "graph_config": self._inject_auth_to_config(self.config),
463
+ "access_context": self.access_context,
443
464
  "graph_name": self.name,
444
465
  "namespace": namespace,
445
466
  "recurse": recurse,
@@ -495,6 +516,7 @@ class RemotePregel(BaseRemotePregel):
495
516
  {
496
517
  "graph_id": self.graph_id,
497
518
  "graph_config": self._inject_auth_to_config(self.config),
519
+ "access_context": self.access_context,
498
520
  "graph_name": self.name,
499
521
  "config": self._inject_auth_to_config(config),
500
522
  "subgraphs": subgraphs,
@@ -513,6 +535,7 @@ class RemotePregel(BaseRemotePregel):
513
535
  {
514
536
  "graph_id": self.graph_id,
515
537
  "graph_config": self._inject_auth_to_config(self.config),
538
+ "access_context": self.access_context,
516
539
  "graph_name": self.name,
517
540
  "config": self._inject_auth_to_config(config),
518
541
  "values": values,
@@ -534,6 +557,7 @@ class RemotePregel(BaseRemotePregel):
534
557
  {
535
558
  "graph_id": self.graph_id,
536
559
  "graph_config": self._inject_auth_to_config(self.config),
560
+ "access_context": self.access_context,
537
561
  "graph_name": self.name,
538
562
  "config": self._inject_auth_to_config(config),
539
563
  "limit": limit,
@@ -28,8 +28,22 @@ export type FactoryConfig = {
28
28
  checkpointer?: BaseCheckpointSaver<string | number>;
29
29
  };
30
30
 
31
+ export const AccessContextSchema = z.enum([
32
+ "threads.create_run",
33
+ "threads.update",
34
+ "threads.read",
35
+ "assistants.read",
36
+ ]);
37
+ export type AccessContext = z.infer<typeof AccessContextSchema>;
38
+
39
+ export type FactoryRuntime = {
40
+ accessContext: AccessContext;
41
+ executionRuntime: { context: unknown } | null;
42
+ };
43
+
31
44
  export type CompiledGraphFactory<T extends string> = (
32
45
  config: FactoryConfig,
46
+ runtime: FactoryRuntime,
33
47
  ) => Promise<CompiledGraph<T>>;
34
48
 
35
49
  export async function resolveGraph(
@@ -64,7 +78,10 @@ export async function resolveGraph(
64
78
  type GraphUnknown =
65
79
  | GraphLike
66
80
  | Promise<GraphLike>
67
- | ((config: FactoryConfig) => GraphLike | Promise<GraphLike>)
81
+ | ((
82
+ config: FactoryConfig,
83
+ runtime: FactoryRuntime,
84
+ ) => GraphLike | Promise<GraphLike>)
68
85
  | undefined;
69
86
 
70
87
  const isGraph = (graph: GraphLike): graph is Graph<string> => {
@@ -107,8 +124,8 @@ export async function resolveGraph(
107
124
  };
108
125
 
109
126
  if (typeof graph === "function") {
110
- return async (config: FactoryConfig) => {
111
- const graphLike = await graph(config);
127
+ return async (config: FactoryConfig, runtime: FactoryRuntime) => {
128
+ const graphLike = await graph(config, runtime);
112
129
  return afterResolve(graphLike);
113
130
  };
114
131
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: langgraph-api
3
- Version: 0.19.0.dev6
3
+ Version: 0.19.0.dev8
4
4
  Author-email: Will Fu-Hinthorn <will@langchain.dev>, Josh Rogers <josh@langchain.dev>, Parker Rule <parker@langchain.dev>
5
5
  License: Elastic-2.0
6
6
  License-File: LICENSE
@@ -1,4 +1,4 @@
1
- langgraph_api/__init__.py,sha256=nMitYpqA66rGUccOQ-BsAGz_e0vhBraqpXxrQBcAjaw,28
1
+ langgraph_api/__init__.py,sha256=zXB9RrsaZQL1GjlQYYvN1L6WsX4dqzdcAiYe9dVheRE,28
2
2
  langgraph_api/_factory_utils.py,sha256=_FqW0olMu2PGLsnRq0ylt3a4jDCe12YIFHExMXI6Nyo,5976
3
3
  langgraph_api/asgi_transport.py,sha256=AgYRhiugMV1HeSVNJPOR3nwu3yWQFiXvOE1eTkYzQ90,12080
4
4
  langgraph_api/asyncio.py,sha256=uC6et0GgUd3YHGMOw31bldbIvo0_8BTeiLLM74TZDlU,12742
@@ -11,7 +11,7 @@ langgraph_api/drain.py,sha256=MLUm3fDq3R8yxrZ-1W3TeCfhNzgNSzUA7TvB-D6K2_s,6108
11
11
  langgraph_api/errors.py,sha256=ANTug7F7tMg5s0y3HhqPSUqM9ekr99gWWM_jEaniiZQ,4794
12
12
  langgraph_api/feature_flags.py,sha256=QP-n2uza42Ju4Eh_2DyGxoVQFCLJi6FAw-VJHAWsZBA,4251
13
13
  langgraph_api/go_prometheus_metrics.py,sha256=J66iyk3TkIhxvhaePPyNldK2v63QWRyNIXlUtbVg4PY,1866
14
- langgraph_api/graph.py,sha256=PdTNp66xuvFtXR6tm-RYocXiOL8LBd3vjaC5K6P6I78,41143
14
+ langgraph_api/graph.py,sha256=H4OZOwMb44VAOsCnDQa5ckBT_c3IvWugmWEviuI0H1Y,41414
15
15
  langgraph_api/http.py,sha256=7hPxKbj-xoAKcm7iucBpT5nM_hXOgGVCPbBsCD693Cw,6977
16
16
  langgraph_api/http_metrics.py,sha256=etxbZNmYxdb58DVLNkHP7S-N6njXPTiQh2OWKMaIZi8,5336
17
17
  langgraph_api/http_metrics_utils.py,sha256=sjxF7SYGTzY0Wz_G0dzatsYNnWr31S6ujej4JmBG2yo,866
@@ -57,7 +57,7 @@ langgraph_api/api/openapi.py,sha256=hS4yhfJfWAYilm0Pv8iC08bK7CMDG4PIVc-77y9Y7Ts,
57
57
  langgraph_api/api/profile.py,sha256=CA1ZkHALOuP8orYTICnEhcG_JnnA2wnyjbWyeb117jA,3455
58
58
  langgraph_api/api/runs.py,sha256=dQTp-QC985HJmpc48czkXOBS2Ptp73KGvvqb5T_xMM8,42048
59
59
  langgraph_api/api/store.py,sha256=Hm3viayqsS9-Vw6aPKTSRlP6zFkajvOQiKVSHUotxBQ,7845
60
- langgraph_api/api/threads.py,sha256=B0JY5eQdQbcU_yOm-7rAawVFD_DndoZA80h7j6j3OgI,24266
60
+ langgraph_api/api/threads.py,sha256=WC72IvcwmTzJIkQAUvUTZGFeeZyq6b4tTAr8Z7BZSik,25101
61
61
  langgraph_api/api/ui.py,sha256=A1cRxaMK_4pb192mrZ_LMxLSFb8NriYwwvjeDdNDD7k,2803
62
62
  langgraph_api/api/a2ui_schemas/README.md,sha256=fZCc9rSK-qeUHsbJ17EYxMZjS3yUrYQdoQLX7ltgP8M,298
63
63
  langgraph_api/api/a2ui_schemas/client_capabilities.json,sha256=3YAHlRfeOn9dUH6uAek1loCL4caeSUuQzhrtWKWW9nU,1906
@@ -118,7 +118,7 @@ langgraph_api/grpc/ops/assistants.py,sha256=T6ZIDfCkeiXvoHJyq-bUnl0j57-xLDrGwk0n
118
118
  langgraph_api/grpc/ops/cache.py,sha256=MoPAmSuOwbt2Cud1YZJm_YJeaDHPFy1IiV4m0PDImgg,1399
119
119
  langgraph_api/grpc/ops/crons.py,sha256=aDlvNVYIfSP8gtr5NptLiAj-bfMtJOuMWYIA2NifWm0,19713
120
120
  langgraph_api/grpc/ops/runs.py,sha256=JBWjlEsrDAFNPstxFf5foZbJY3Bz8X16Lvq1LZxDy1U,55466
121
- langgraph_api/grpc/ops/threads.py,sha256=66eIXn2spy70bYwTVYbN4BJ0sAuGyqeEcBhzdtWlEqM,55089
121
+ langgraph_api/grpc/ops/threads.py,sha256=IGBz57c_aLFx-mQNvk9ogev1qcT3CaFfD-X0ezGJh9U,55469
122
122
  langgraph_api/grpc/servicers/__init__.py,sha256=l8yqTA_gMbIj0xHw5-RZYo0JbjL-EpFD8RxPMgW_-bA,422
123
123
  langgraph_api/grpc/servicers/checkpointer.py,sha256=kn9J3HQEmqggtOGiDxpEAeBVkVi4qDCJikj2bXo5k4g,10543
124
124
  langgraph_api/grpc/servicers/encryption.py,sha256=ddAjRZ9btWBf4MPa7yd793japdCEi-DfEPi1Ynt8gzk,10563
@@ -129,11 +129,11 @@ langgraph_api/js/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
129
129
  langgraph_api/js/base.py,sha256=CJihwc51MwOVkis80f8zudRa1fQz_5jrom4rY8trww8,1133
130
130
  langgraph_api/js/build.mts,sha256=--Kfm4NKDhMljmv8fVvRR0VeUsBKiWch6qXpBoKmrvU,3445
131
131
  langgraph_api/js/client.http.mts,sha256=ARlTJURLJamgvyaPlBCYEAHFnXQnPpzzUXWKwXiebnw,6011
132
- langgraph_api/js/client.mts,sha256=p4WazHA54oS1su_qp-uYGeIuLbS8xGZrSKGG1A845Kg,43349
132
+ langgraph_api/js/client.mts,sha256=v0pwmhS1m_3rnCQVb_wNbJz8HPl_2woTRpkIRZxz1VY,44523
133
133
  langgraph_api/js/errors.py,sha256=cclN_nKeZz-vh5w6ABC2qYxgwKD0U6nPQrbiJ7ECQT4,537
134
134
  langgraph_api/js/global.d.ts,sha256=LHCvS5NFvr0KKJUFzqIGL-CdBC4CgFIqif1im1r9xAg,237
135
135
  langgraph_api/js/package.json,sha256=nDw_BI1_3McBV_JDW-bddxJeEEBlDe6XTumLyOVEyQI,1372
136
- langgraph_api/js/remote.py,sha256=f6MB8t9KfC4kfRDc92xlX7qz0oHQqNaa-Y2JucJCYqY,60320
136
+ langgraph_api/js/remote.py,sha256=Pnd8nDgv2AuB2iqvGEo0KYtnaIcL3Cyv_yltqUUcPJM,61427
137
137
  langgraph_api/js/schema.py,sha256=M4fLtr50O1jck8H1hm_0W4cZOGYGdkrB7riLyCes4oY,438
138
138
  langgraph_api/js/sse.py,sha256=IfcEpknyZeqqjYTOWRdijc6o2EBfatbWCZarGQQ0SQI,4088
139
139
  langgraph_api/js/traceblock.mts,sha256=QtGSN5VpzmGqDfbArrGXkMiONY94pMQ5CgzetT_bKYg,761
@@ -141,7 +141,7 @@ langgraph_api/js/tsconfig.json,sha256=imCYqVnqFpaBoZPx8k1nO4slHIWBFsSlmCYhO73cpB
141
141
  langgraph_api/js/ui.py,sha256=plqcWSmqfc9tY2nCUzNRBSofHTMdYDmVD9A6i5L3pSI,2571
142
142
  langgraph_api/js/yarn.lock,sha256=PYRAok-qcCMC4AEX9GblBNY9M-uudJbj-2PQ8QnMIsc,88451
143
143
  langgraph_api/js/src/auth-mutations.mts,sha256=JSZuapjxHKLr6pUy9FPEvv5H-d1kEXM3L6W4YJa26cM,2270
144
- langgraph_api/js/src/graph.mts,sha256=ccK4UFUkuMQXdCujQWZjZKAk3a3ZDVLpwhYF7pj4eGY,3786
144
+ langgraph_api/js/src/graph.mts,sha256=fOGAbM3c_o_-Jtrhbf4q3gXaACfrqTnyzhq3moDs0uA,4210
145
145
  langgraph_api/js/src/lifecycle.mts,sha256=I_M2y0za3XCVBdoB3jb8Ol5X3RfHarL4z1QnsRR54h0,5113
146
146
  langgraph_api/js/src/load.hooks.mjs,sha256=sqgVptq70mJb2EDprRIbMqRmPbCJlT_nHCqZQgg9zw4,2256
147
147
  langgraph_api/js/src/preload.mjs,sha256=WL6MVSeFuxusFscySrDDnloXJNVhkNcMOFwP70UAMbs,4106
@@ -198,7 +198,7 @@ langgraph_runtime/store.py,sha256=7mowndlsIroGHv3NpTSOZDJR0lCuaYMBoTnTrewjslw,11
198
198
  LICENSE,sha256=SCVQGLQfwOllsRFa9-Z3m8IYu4pnR9Vh2oANUCJiKqI,3860
199
199
  hatch_build.py,sha256=Nn9N-EFfVqmH5q3iCUrhqX6zc7qT1jLI3gWSBN2xgYQ,1738
200
200
  logging.json,sha256=sBy8HDDPuucpLbLUD6e8t5fsiQjJoklZsbVHi2qQ7aQ,367
201
- openapi.json,sha256=yMIJMquKZvVLak4wqSGZTpRkqBtRC8CgDLD2V51BaQk,244657
201
+ openapi.json,sha256=5OznRXMPMj4XI_R4fEc0LJqjqnRiRtwEcmIFXMzoZLo,245799
202
202
  langgraph_grpc_common/__init__.py,sha256=sO7jFHekQxt6zZPhTPZAWLYLB_S8w7-VuJ7NyWFlFNo,97
203
203
  langgraph_grpc_common/checkpointer.py,sha256=gZIbd0n5dsDMDEYl57dyVZSMXsPT8ba4PlPpwE3L7r8,16632
204
204
  langgraph_grpc_common/serde.py,sha256=sDyHJZvLwkzeamI4Z7bhsjdqoPXWNqQm2-F648NMBZ4,6532
@@ -216,8 +216,8 @@ langgraph_grpc_common/proto/checkpointer_pb2.py,sha256=xtQPNeL0psekN7n2Ykox6iXZO
216
216
  langgraph_grpc_common/proto/checkpointer_pb2.pyi,sha256=KRbTlhwWt_xfC4cCW0fsuRGmCP1sIndnE-ZYqPFTlfo,27756
217
217
  langgraph_grpc_common/proto/checkpointer_pb2_grpc.py,sha256=FQJK-lC8alOkLltA51aq1ABam62rVerTZRZccTFqUjw,20152
218
218
  langgraph_grpc_common/proto/checkpointer_pb2_grpc.pyi,sha256=8fPL90WjHnMaREG7l9qYt5fQePeT8YFWQ0qVy56QtYw,10210
219
- langgraph_grpc_common/proto/core_api_pb2.py,sha256=bkFm8iKOCCaVgdpLB5kwonU1MhaF5uji7-oM730DM0g,56439
220
- langgraph_grpc_common/proto/core_api_pb2.pyi,sha256=rr2Tkps5IiJrZ4IPzyBQVeAAxyxryijGnWaPP6y1mc8,236533
219
+ langgraph_grpc_common/proto/core_api_pb2.py,sha256=Kf4jqMOQysVdwicVi2aQUHZSC2uADG-5PRE_bELbDs0,56925
220
+ langgraph_grpc_common/proto/core_api_pb2.pyi,sha256=luFS-Aa74d9nPlwKPuKJ25KvjUtU5lT-8pNmx6HSN2k,239541
221
221
  langgraph_grpc_common/proto/core_api_pb2_grpc.py,sha256=hhSf-mFp53RD7lqGOcVliYnumLy89TWzVtmbM-DM-oQ,88302
222
222
  langgraph_grpc_common/proto/core_api_pb2_grpc.pyi,sha256=UgQqyGxM7F4Z9hj1b-M7gwv6uSVjUzpftPtjYkH-N6k,32667
223
223
  langgraph_grpc_common/proto/encryption_pb2.py,sha256=CEDsn3bJv2e_QzAFsvp2845Nac_lBRPGsb_9pFJthxE,4119
@@ -276,8 +276,8 @@ langgraph_grpc_common/proto/store_pb2.py,sha256=VWJ7wtzL9pVmZZKbxMzOzCoiFn58bB2g
276
276
  langgraph_grpc_common/proto/store_pb2.pyi,sha256=atXejijuYEb9tE0stGQdZcfA9ucMFj-ytTMwvkxwviM,29322
277
277
  langgraph_grpc_common/proto/store_pb2_grpc.py,sha256=Kyt8eV2NXkjh3be_BYytGdD19kNf74961cruonMvCrw,3300
278
278
  langgraph_grpc_common/proto/store_pb2_grpc.pyi,sha256=oS1h2cDoq2OjyM8xazcmc8LwRDC5oCAD0zto2QUmPQw,2027
279
- langgraph_api-0.19.0.dev6.dist-info/METADATA,sha256=n9ko-wEtA1Eaee5wynYXTjswEFEPrs10vxgtmTYAU6I,5939
280
- langgraph_api-0.19.0.dev6.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
281
- langgraph_api-0.19.0.dev6.dist-info/entry_points.txt,sha256=hGedv8n7cgi41PypMfinwS_HfCwA7xJIfS0jAp8htV8,78
282
- langgraph_api-0.19.0.dev6.dist-info/licenses/LICENSE,sha256=SCVQGLQfwOllsRFa9-Z3m8IYu4pnR9Vh2oANUCJiKqI,3860
283
- langgraph_api-0.19.0.dev6.dist-info/RECORD,,
279
+ langgraph_api-0.19.0.dev8.dist-info/METADATA,sha256=llKtz3Dv7jI44Zp_AActQXPQ6Rbx-JJqPJQdihT_dCU,5939
280
+ langgraph_api-0.19.0.dev8.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
281
+ langgraph_api-0.19.0.dev8.dist-info/entry_points.txt,sha256=hGedv8n7cgi41PypMfinwS_HfCwA7xJIfS0jAp8htV8,78
282
+ langgraph_api-0.19.0.dev8.dist-info/licenses/LICENSE,sha256=SCVQGLQfwOllsRFa9-Z3m8IYu4pnR9Vh2oANUCJiKqI,3860
283
+ langgraph_api-0.19.0.dev8.dist-info/RECORD,,
@@ -39,7 +39,7 @@ from . import enum_control_signal_pb2 as enum__control__signal__pb2
39
39
  from . import enum_cron_on_run_completed_pb2 as enum__cron__on__run__completed__pb2
40
40
 
41
41
 
42
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0e\x63ore-api.proto\x12\x07\x63oreApi\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x10\x65ncryption.proto\x1a\x13\x65ngine-common.proto\x1a\x15\x65num_run_status.proto\x1a\x1d\x65num_multitask_strategy.proto\x1a\x16\x65num_stream_mode.proto\x1a\x1c\x65num_cancel_run_action.proto\x1a\x18\x65num_thread_status.proto\x1a\x1d\x65num_thread_stream_mode.proto\x1a\x19\x65num_control_signal.proto\x1a enum_cron_on_run_completed.proto\"\x16\n\x04Tags\x12\x0e\n\x06values\x18\x01 \x03(\t\"*\n\x0c\x45qAuthFilter\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05match\x18\x02 \x01(\t\"2\n\x12\x43ontainsAuthFilter\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0f\n\x07matches\x18\x02 \x03(\t\"4\n\x0cOrAuthFilter\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\"5\n\rAndAuthFilter\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\"\xc6\x01\n\nAuthFilter\x12#\n\x02\x65q\x18\x01 \x01(\x0b\x32\x15.coreApi.EqAuthFilterH\x00\x12/\n\x08\x63ontains\x18\x02 \x01(\x0b\x32\x1b.coreApi.ContainsAuthFilterH\x00\x12*\n\tor_filter\x18\x03 \x01(\x0b\x32\x15.coreApi.OrAuthFilterH\x00\x12,\n\nand_filter\x18\x04 \x01(\x0b\x32\x16.coreApi.AndAuthFilterH\x00\x42\x08\n\x06\x66ilter\"\x15\n\x04UUID\x12\r\n\x05value\x18\x01 \x01(\t\"\x1e\n\rCountResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x04\"x\n\x0bStreamEvent\x12\x12\n\nevent_type\x18\x01 \x01(\t\x12\x0f\n\x07message\x18\x02 \x01(\x0c\x12\x16\n\tstream_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06run_id\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\x0c\n\n_stream_idB\t\n\x07_run_id\"\xfa\x02\n\tAssistant\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12\x10\n\x08graph_id\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\x04\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x06\x63onfig\x18\x06 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x00\x88\x01\x01\x12\x19\n\x0c\x63ontext_json\x18\x07 \x01(\x0cH\x01\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\x08 \x01(\x0cH\x02\x88\x01\x01\x12\x0c\n\x04name\x18\t \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\n \x01(\tH\x03\x88\x01\x01\x42\t\n\x07_configB\x0f\n\r_context_jsonB\x10\n\x0e_metadata_jsonB\x0e\n\x0c_description\"\xd1\x02\n\x10\x41ssistantVersion\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12\x10\n\x08graph_id\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\x04\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x06\x63onfig\x18\x05 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x00\x88\x01\x01\x12\x19\n\x0c\x63ontext_json\x18\x06 \x01(\x0cH\x01\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\x07 \x01(\x0cH\x02\x88\x01\x01\x12\x0c\n\x04name\x18\x08 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\t \x01(\tH\x03\x88\x01\x01\x42\t\n\x07_configB\x0f\n\r_context_jsonB\x10\n\x0e_metadata_jsonB\x0e\n\x0c_description\"\x9d\x03\n\x16\x43reateAssistantRequest\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12\x10\n\x08graph_id\x18\x02 \x01(\t\x12$\n\x07\x66ilters\x18\x03 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12.\n\tif_exists\x18\x04 \x01(\x0e\x32\x1b.coreApi.OnConflictBehavior\x12\x32\n\x06\x63onfig\x18\x05 \x01(\x0b\x32\".engineCommon.EngineRunnableConfig\x12\x14\n\x0c\x63ontext_json\x18\x06 \x01(\x0c\x12\x0c\n\x04name\x18\x07 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x08 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\t \x01(\x0cH\x01\x88\x01\x01\x12>\n\x12\x65ncryption_context\x18\n \x01(\x0b\x32\x1d.encryption.EncryptionContextH\x02\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x10\n\x0e_metadata_jsonB\x15\n\x13_encryption_context\"Q\n\x13GetAssistantRequest\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\"\xb2\x03\n\x15PatchAssistantRequest\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x15\n\x08graph_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x37\n\x06\x63onfig\x18\x04 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x01\x88\x01\x01\x12\x19\n\x0c\x63ontext_json\x18\x05 \x01(\x0cH\x02\x88\x01\x01\x12\x11\n\x04name\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x07 \x01(\tH\x04\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\x08 \x01(\x0cH\x05\x88\x01\x01\x12>\n\x12\x65ncryption_context\x18\t \x01(\x0b\x32\x1d.encryption.EncryptionContextH\x06\x88\x01\x01\x42\x0b\n\t_graph_idB\t\n\x07_configB\x0f\n\r_context_jsonB\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x10\n\x0e_metadata_jsonB\x15\n\x13_encryption_context\"\x84\x01\n\x16\x44\x65leteAssistantRequest\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x1b\n\x0e\x64\x65lete_threads\x18\x03 \x01(\x08H\x00\x88\x01\x01\x42\x11\n\x0f_delete_threads\"1\n\x18\x44\x65leteAssistantsResponse\x12\x15\n\rassistant_ids\x18\x01 \x03(\t\"h\n\x19SetLatestAssistantRequest\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12$\n\x07\x66ilters\x18\x03 \x03(\x0b\x32\x13.coreApi.AuthFilter\"\x90\x03\n\x17SearchAssistantsRequest\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x15\n\x08graph_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x12\n\x05limit\x18\x04 \x01(\x04H\x02\x88\x01\x01\x12\x13\n\x06offset\x18\x05 \x01(\x04H\x03\x88\x01\x01\x12/\n\x07sort_by\x18\x06 \x01(\x0e\x32\x19.coreApi.AssistantsSortByH\x04\x88\x01\x01\x12+\n\nsort_order\x18\x07 \x01(\x0e\x32\x12.coreApi.SortOrderH\x05\x88\x01\x01\x12\x0e\n\x06select\x18\x08 \x03(\t\x12\x11\n\x04name\x18\t \x01(\tH\x06\x88\x01\x01\x12\x1a\n\x12graph_id_allowlist\x18\n \x03(\tB\x0b\n\t_graph_idB\x10\n\x0e_metadata_jsonB\x08\n\x06_limitB\t\n\x07_offsetB\n\n\x08_sort_byB\r\n\x0b_sort_orderB\x07\n\x05_name\"B\n\x18SearchAssistantsResponse\x12&\n\nassistants\x18\x01 \x03(\x0b\x32\x12.coreApi.Assistant\"\xc5\x01\n\x1bGetAssistantVersionsRequest\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x1a\n\rmetadata_json\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x12\n\x05limit\x18\x04 \x01(\x04H\x01\x88\x01\x01\x12\x13\n\x06offset\x18\x05 \x01(\x04H\x02\x88\x01\x01\x42\x10\n\x0e_metadata_jsonB\x08\n\x06_limitB\t\n\x07_offset\"K\n\x1cGetAssistantVersionsResponse\x12+\n\x08versions\x18\x01 \x03(\x0b\x32\x19.coreApi.AssistantVersion\"\xc8\x01\n\x16\x43ountAssistantsRequest\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x15\n\x08graph_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x11\n\x04name\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x1a\n\x12graph_id_allowlist\x18\x05 \x03(\tB\x0b\n\t_graph_idB\x10\n\x0e_metadata_jsonB\x07\n\x05_name\"i\n\x0fTruncateRequest\x12\x0c\n\x04runs\x18\x01 \x01(\x08\x12\x0f\n\x07threads\x18\x02 \x01(\x08\x12\x12\n\nassistants\x18\x03 \x01(\x08\x12\x14\n\x0c\x63heckpointer\x18\x04 \x01(\x08\x12\r\n\x05store\x18\x05 \x01(\x08\"\xbb\x01\n\x0fThreadTTLConfig\x12\x31\n\x08strategy\x18\x01 \x01(\x0e\x32\x1a.coreApi.ThreadTTLStrategyH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65\x66\x61ult_ttl\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12#\n\x16sweep_interval_minutes\x18\x03 \x01(\x05H\x02\x88\x01\x01\x42\x0b\n\t_strategyB\x0e\n\x0c_default_ttlB\x19\n\x17_sweep_interval_minutes\"\x82\x01\n\rThreadTTLInfo\x12,\n\x08strategy\x18\x01 \x01(\x0e\x32\x1a.coreApi.ThreadTTLStrategy\x12\x13\n\x0bttl_minutes\x18\x02 \x01(\x01\x12.\n\nexpires_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x19\n\x08\x46ragment\x12\r\n\x05value\x18\x01 \x01(\x0c\"\x89\x01\n\x0e\x43heckpointTask\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x12\n\x05\x65rror\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x17\n\x0finterrupts_json\x18\x04 \x03(\x0c\x12\x17\n\nstate_json\x18\x05 \x01(\x0cH\x01\x88\x01\x01\x42\x08\n\x06_errorB\r\n\x0b_state_json\"\xd6\x01\n\x12\x43heckpointMetadata\x12.\n\x06source\x18\x01 \x01(\x0e\x32\x19.coreApi.CheckpointSourceH\x00\x88\x01\x01\x12\x11\n\x04step\x18\x02 \x01(\x04H\x01\x88\x01\x01\x12\x39\n\x07parents\x18\x03 \x03(\x0b\x32(.coreApi.CheckpointMetadata.ParentsEntry\x1a.\n\x0cParentsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07_sourceB\x07\n\x05_step\"\xa3\x02\n\x11\x43heckpointPayload\x12\x37\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x00\x88\x01\x01\x12-\n\x08metadata\x18\x02 \x01(\x0b\x32\x1b.coreApi.CheckpointMetadata\x12\x13\n\x0bvalues_json\x18\x03 \x01(\x0c\x12\x0c\n\x04next\x18\x04 \x03(\t\x12>\n\rparent_config\x18\x05 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x01\x88\x01\x01\x12&\n\x05tasks\x18\x06 \x03(\x0b\x32\x17.coreApi.CheckpointTaskB\t\n\x07_configB\x10\n\x0e_parent_config\"T\n\x16ThreadStatusCheckpoint\x12\x13\n\x0bvalues_json\x18\x01 \x01(\x0c\x12\x0c\n\x04next\x18\x02 \x03(\t\x12\x17\n\x0finterrupts_json\x18\x03 \x01(\x0c\"\xb2\x01\n\tInterrupt\x12\x0f\n\x02id\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\r\n\x05value\x18\x02 \x01(\x0c\x12\x11\n\x04when\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x16\n\tresumable\x18\x04 \x01(\x08H\x02\x88\x01\x01\x12\n\n\x02ns\x18\x05 \x03(\t\x12\x1c\n\x0fresponse_schema\x18\x06 \x01(\x0cH\x03\x88\x01\x01\x42\x05\n\x03_idB\x07\n\x05_whenB\x0c\n\n_resumableB\x12\n\x10_response_schema\"4\n\nInterrupts\x12&\n\ninterrupts\x18\x01 \x03(\x0b\x32\x12.coreApi.Interrupt\"\xb0\x05\n\x06Thread\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12#\n\x08metadata\x18\x04 \x01(\x0b\x32\x11.coreApi.Fragment\x12!\n\x06\x63onfig\x18\x05 \x01(\x0b\x32\x11.coreApi.Fragment\x12.\n\x06status\x18\x06 \x01(\x0e\x32\x1e.enumThreadStatus.ThreadStatus\x12!\n\x06values\x18\x07 \x01(\x0b\x32\x11.coreApi.Fragment\x12\x33\n\ninterrupts\x18\x08 \x03(\x0b\x32\x1f.coreApi.Thread.InterruptsEntry\x12 \n\x05\x65rror\x18\t \x01(\x0b\x32\x11.coreApi.Fragment\x12\x34\n\x10state_updated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1b\n\x0e\x65xtracted_json\x18\x0b \x01(\x0cH\x00\x88\x01\x01\x12(\n\x03ttl\x18\x0c \x01(\x0b\x32\x16.coreApi.ThreadTTLInfoH\x01\x88\x01\x01\x12\x15\n\x08priority\x18\r \x01(\x05H\x02\x88\x01\x01\x12\x1b\n\x0e\x66\x61irness_group\x18\x0e \x01(\tH\x03\x88\x01\x01\x1a\x46\n\x0fInterruptsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.Interrupts:\x02\x38\x01\x42\x11\n\x0f_extracted_jsonB\x06\n\x04_ttlB\x0b\n\t_priorityB\x11\n\x0f_fairness_group\"\xc6\x02\n\x13\x43reateThreadRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12.\n\tif_exists\x18\x03 \x01(\x0e\x32\x1b.coreApi.OnConflictBehavior\x12\x1a\n\rmetadata_json\x18\x04 \x01(\x0cH\x00\x88\x01\x01\x12*\n\x03ttl\x18\x05 \x01(\x0b\x32\x18.coreApi.ThreadTTLConfigH\x01\x88\x01\x01\x12>\n\x12\x65ncryption_context\x18\x06 \x01(\x0b\x32\x1d.encryption.EncryptionContextH\x02\x88\x01\x01\x42\x10\n\x0e_metadata_jsonB\x06\n\x04_ttlB\x15\n\x13_encryption_context\"\xc6\x01\n\x10GetThreadRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x18\n\x0binclude_ttl\x18\x03 \x01(\x08H\x00\x88\x01\x01\x12\x32\n\tread_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskH\x01\x88\x01\x01\x42\x0e\n\x0c_include_ttlB\x0c\n\n_read_mask\"\xd7\x02\n\x12PatchThreadRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x1a\n\rmetadata_json\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12*\n\x03ttl\x18\x04 \x01(\x0b\x32\x18.coreApi.ThreadTTLConfigH\x01\x88\x01\x01\x12>\n\x12\x65ncryption_context\x18\x05 \x01(\x0b\x32\x1d.encryption.EncryptionContextH\x02\x88\x01\x01\x12\x32\n\tread_mask\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskH\x03\x88\x01\x01\x42\x10\n\x0e_metadata_jsonB\x06\n\x04_ttlB\x15\n\x13_encryption_contextB\x0c\n\n_read_mask\"}\n\x13\x44\x65leteThreadRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x1e\n\x16sync_checkpoint_delete\x18\x03 \x01(\x08\"[\n\x11\x43opyThreadRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\"\xdf\x04\n\x14SearchThreadsRequest\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x1a\n\rmetadata_json\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x18\n\x0bvalues_json\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x33\n\x06status\x18\x04 \x01(\x0e\x32\x1e.enumThreadStatus.ThreadStatusH\x02\x88\x01\x01\x12\x12\n\x05limit\x18\x05 \x01(\x04H\x03\x88\x01\x01\x12\x13\n\x06offset\x18\x06 \x01(\x04H\x04\x88\x01\x01\x12,\n\x07sort_by\x18\x07 \x01(\x0e\x32\x16.coreApi.ThreadsSortByH\x05\x88\x01\x01\x12+\n\nsort_order\x18\x08 \x01(\x0e\x32\x12.coreApi.SortOrderH\x06\x88\x01\x01\x12\x0e\n\x06select\x18\t \x03(\t\x12\x1a\n\x03ids\x18\n \x03(\x0b\x32\r.coreApi.UUID\x12;\n\x07\x65xtract\x18\x0b \x03(\x0b\x32*.coreApi.SearchThreadsRequest.ExtractEntry\x12\"\n\x15\x65xclude_metadata_json\x18\x0c \x01(\x0cH\x07\x88\x01\x01\x1a.\n\x0c\x45xtractEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x10\n\x0e_metadata_jsonB\x0e\n\x0c_values_jsonB\t\n\x07_statusB\x08\n\x06_limitB\t\n\x07_offsetB\n\n\x08_sort_byB\r\n\x0b_sort_orderB\x18\n\x16_exclude_metadata_json\"9\n\x15SearchThreadsResponse\x12 \n\x07threads\x18\x01 \x03(\x0b\x32\x0f.coreApi.Thread\"\x91\x02\n\x13\x43ountThreadsRequest\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x1a\n\rmetadata_json\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x18\n\x0bvalues_json\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x33\n\x06status\x18\x04 \x01(\x0e\x32\x1e.enumThreadStatus.ThreadStatusH\x02\x88\x01\x01\x12\"\n\x15\x65xclude_metadata_json\x18\x05 \x01(\x0cH\x03\x88\x01\x01\x42\x10\n\x0e_metadata_jsonB\x0e\n\x0c_values_jsonB\t\n\x07_statusB\x18\n\x16_exclude_metadata_json\"\xc3\x02\n\x16SetThreadStatusRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x38\n\ncheckpoint\x18\x02 \x01(\x0b\x32\x1f.coreApi.ThreadStatusCheckpointH\x00\x88\x01\x01\x12\x1b\n\x0e\x65xception_json\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x37\n\x0f\x65xpected_status\x18\x04 \x03(\x0e\x32\x1e.enumThreadStatus.ThreadStatus\x12>\n\x12\x65ncryption_context\x18\x05 \x01(\x0b\x32\x1d.encryption.EncryptionContextH\x02\x88\x01\x01\x42\r\n\x0b_checkpointB\x11\n\x0f_exception_jsonB\x15\n\x13_encryption_context\"\xec\x02\n\x1bSetThreadJointStatusRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x1d\n\x06run_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\x12\x12\n\nrun_status\x18\x03 \x01(\t\x12\x10\n\x08graph_id\x18\x04 \x01(\t\x12\x38\n\ncheckpoint\x18\x05 \x01(\x0b\x32\x1f.coreApi.ThreadStatusCheckpointH\x00\x88\x01\x01\x12\x1b\n\x0e\x65xception_json\x18\x06 \x01(\x0cH\x01\x88\x01\x01\x12>\n\x12\x65ncryption_context\x18\x07 \x01(\x0b\x32\x1d.encryption.EncryptionContextH\x02\x88\x01\x01\x12\x16\n\x0erefused_resume\x18\x08 \x01(\x08\x42\r\n\x0b_checkpointB\x11\n\x0f_exception_jsonB\x15\n\x13_encryption_context\"\xc9\x01\n\x13StreamThreadRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12<\n\x0cstream_modes\x18\x03 \x03(\x0e\x32&.enumThreadStreamMode.ThreadStreamMode\x12\x1a\n\rlast_event_id\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x10\n\x0e_last_event_id\"a\n\x17GetThreadStorageRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\"-\n\rStorageTotals\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\r\n\x05\x62ytes\x18\x02 \x01(\x03\"B\n\x0e\x43hannelStorage\x12\x0f\n\x07\x63hannel\x18\x01 \x01(\t\x12\x10\n\x08versions\x18\x02 \x01(\x03\x12\r\n\x05\x62ytes\x18\x03 \x01(\x03\"a\n\x14\x43hannelValuesStorage\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\r\n\x05\x62ytes\x18\x02 \x01(\x03\x12+\n\nby_channel\x18\x03 \x03(\x0b\x32\x17.coreApi.ChannelStorage\"\xb8\x01\n\rThreadStorage\x12\x13\n\x0btotal_bytes\x18\x01 \x01(\x03\x12+\n\x0b\x63heckpoints\x18\x02 \x01(\x0b\x32\x16.coreApi.StorageTotals\x12\x35\n\x0e\x63hannel_values\x18\x03 \x01(\x0b\x32\x1d.coreApi.ChannelValuesStorage\x12.\n\x0epending_writes\x18\x04 \x01(\x0b\x32\x16.coreApi.StorageTotals\"\xe7\x05\n\tRunKwargs\x12\x37\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x00\x88\x01\x01\x12\x19\n\x0c\x63ontext_json\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x12\x17\n\ninput_json\x18\x03 \x01(\x0cH\x02\x88\x01\x01\x12\x19\n\x0c\x63ommand_json\x18\x04 \x01(\x0cH\x03\x88\x01\x01\x12/\n\x0bstream_mode\x18\x05 \x03(\x0e\x32\x1a.enumStreamMode.StreamMode\x12\x42\n\x10interrupt_before\x18\x06 \x01(\x0b\x32#.engineCommon.StaticInterruptConfigH\x04\x88\x01\x01\x12\x41\n\x0finterrupt_after\x18\x07 \x01(\x0b\x32#.engineCommon.StaticInterruptConfigH\x05\x88\x01\x01\x12\x14\n\x07webhook\x18\x08 \x01(\tH\x06\x88\x01\x01\x12\x15\n\rfeedback_keys\x18\t \x03(\t\x12\x16\n\ttemporary\x18\n \x01(\x08H\x07\x88\x01\x01\x12\x16\n\tsubgraphs\x18\x0b \x01(\x08H\x08\x88\x01\x01\x12\x16\n\tresumable\x18\x0c \x01(\x08H\t\x88\x01\x01\x12\x1e\n\x11\x63heckpoint_during\x18\r \x01(\x08H\n\x88\x01\x01\x12\x17\n\ndurability\x18\x0e \x01(\tH\x0b\x88\x01\x01\x12\x1a\n\rstrict_resume\x18\x0f \x01(\x08H\x0c\x88\x01\x01\x42\t\n\x07_configB\x0f\n\r_context_jsonB\r\n\x0b_input_jsonB\x0f\n\r_command_jsonB\x13\n\x11_interrupt_beforeB\x12\n\x10_interrupt_afterB\n\n\x08_webhookB\x0c\n\n_temporaryB\x0c\n\n_subgraphsB\x0c\n\n_resumableB\x14\n\x12_checkpoint_duringB\r\n\x0b_durabilityB\x10\n\x0e_strict_resume\"\x84\x04\n\x03Run\x12\x1d\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12 \n\tthread_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\x12#\n\x0c\x61ssistant_id\x18\x03 \x01(\x0b\x32\r.coreApi.UUID\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12(\n\x06status\x18\x06 \x01(\x0e\x32\x18.enumRunStatus.RunStatus\x12#\n\x08metadata\x18\x07 \x01(\x0b\x32\x11.coreApi.Fragment\x12\"\n\x06kwargs\x18\x08 \x01(\x0b\x32\x12.coreApi.RunKwargs\x12\x44\n\x12multitask_strategy\x18\t \x01(\x0e\x32(.enumMultitaskStrategy.MultitaskStrategy\x12#\n\x16langsmith_session_name\x18\n \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rcancel_reason\x18\x0b \x01(\tH\x01\x88\x01\x01\x12\x10\n\x08priority\x18\x0c \x01(\x05\x42\x19\n\x17_langsmith_session_nameB\x10\n\x0e_cancel_reason\"\xeb\x01\n\rPriorityStats\x12\x10\n\x08priority\x18\x01 \x01(\x05\x12\x11\n\tn_pending\x18\x02 \x01(\x04\x12,\n\x1fpending_runs_wait_time_max_secs\x18\x03 \x01(\x01H\x00\x88\x01\x01\x12,\n\x1fpending_runs_wait_time_med_secs\x18\x04 \x01(\x01H\x01\x88\x01\x01\x12\x11\n\tn_running\x18\x05 \x01(\x04\x42\"\n _pending_runs_wait_time_max_secsB\"\n _pending_runs_wait_time_med_secs\"\xe7\x02\n\x08RunStats\x12\x11\n\tn_pending\x18\x01 \x01(\x04\x12\x11\n\tn_running\x18\x02 \x01(\x04\x12,\n\x1fpending_runs_wait_time_max_secs\x18\x03 \x01(\x01H\x00\x88\x01\x01\x12,\n\x1fpending_runs_wait_time_med_secs\x18\x04 \x01(\x01H\x01\x88\x01\x01\x12\x36\n)pending_unblocked_runs_wait_time_max_secs\x18\x05 \x01(\x01H\x02\x88\x01\x01\x12+\n\x0b\x62y_priority\x18\x06 \x03(\x0b\x32\x16.coreApi.PriorityStatsB\"\n _pending_runs_wait_time_max_secsB\"\n _pending_runs_wait_time_med_secsB,\n*_pending_unblocked_runs_wait_time_max_secs\"\x82\x01\n\x11PostgresPoolStats\x12\x10\n\x08pool_max\x18\x01 \x01(\x05\x12\x11\n\tpool_size\x18\x02 \x01(\x05\x12\x16\n\x0epool_available\x18\x03 \x01(\x05\x12\x17\n\x0frequests_queued\x18\x04 \x01(\x03\x12\x17\n\x0frequests_errors\x18\x05 \x01(\x03\"_\n\x0eRedisPoolStats\x12\x18\n\x10idle_connections\x18\x01 \x01(\x05\x12\x1a\n\x12in_use_connections\x18\x02 \x01(\x05\x12\x17\n\x0fmax_connections\x18\x03 \x01(\x05\"\x8c\x01\n\x13\x43onnectionPoolStats\x12\x31\n\x08postgres\x18\x01 \x01(\x0b\x32\x1a.coreApi.PostgresPoolStatsH\x00\x88\x01\x01\x12+\n\x05redis\x18\x02 \x01(\x0b\x32\x17.coreApi.RedisPoolStatsH\x01\x88\x01\x01\x42\x0b\n\t_postgresB\x08\n\x06_redis\")\n\x19PrometheusMetricsResponse\x12\x0c\n\x04\x62ody\x18\x01 \x01(\x0c\"-\n\x0eNextRunRequest\x12\x0c\n\x04wait\x18\x01 \x01(\x08\x12\r\n\x05limit\x18\x02 \x01(\x04\"\x87\x01\n\x0eRunWithAttempt\x12\x19\n\x03run\x18\x01 \x01(\x0b\x32\x0c.coreApi.Run\x12\x0f\n\x07\x61ttempt\x18\x02 \x01(\x04\x12\x39\n\x12\x65ncryption_context\x18\x03 \x01(\x0b\x32\x1d.encryption.EncryptionContext\x12\x0e\n\x06\x64rains\x18\x04 \x01(\x04\"B\n\x11RequeueRunRequest\x12\x1d\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x0e\n\x06reason\x18\x02 \x01(\t\"8\n\x0fNextRunResponse\x12%\n\x04runs\x18\x01 \x03(\x0b\x32\x17.coreApi.RunWithAttempt\"\xfe\x07\n\x10\x43reateRunRequest\x12#\n\x0c\x61ssistant_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x13\n\x0bkwargs_json\x18\x02 \x01(\x0c\x12+\n\x0ethread_filters\x18\x03 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12.\n\x11\x61ssistant_filters\x18\x0e \x03(\x0b\x32\x13.coreApi.AuthFilter\x12%\n\tthread_id\x18\x04 \x01(\x0b\x32\r.coreApi.UUIDH\x00\x88\x01\x01\x12\x14\n\x07user_id\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\"\n\x06run_id\x18\x06 \x01(\x0b\x32\r.coreApi.UUIDH\x02\x88\x01\x01\x12-\n\x06status\x18\x07 \x01(\x0e\x32\x18.enumRunStatus.RunStatusH\x03\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\x08 \x01(\x0cH\x04\x88\x01\x01\x12\'\n\x1aprevent_insert_if_inflight\x18\t \x01(\x08H\x05\x88\x01\x01\x12I\n\x12multitask_strategy\x18\n \x01(\x0e\x32(.enumMultitaskStrategy.MultitaskStrategyH\x06\x88\x01\x01\x12\x36\n\rif_not_exists\x18\x0b \x01(\x0e\x32\x1a.coreApi.CreateRunBehaviorH\x07\x88\x01\x01\x12\x1a\n\rafter_seconds\x18\x0c \x01(\x04H\x08\x88\x01\x01\x12\x31\n\nthread_ttl\x18\r \x01(\x0b\x32\x18.coreApi.ThreadTTLConfigH\t\x88\x01\x01\x12>\n\x12\x65ncryption_context\x18\x0f \x01(\x0b\x32\x1d.encryption.EncryptionContextH\n\x88\x01\x01\x12#\n\x16langsmith_session_name\x18\x10 \x01(\tH\x0b\x88\x01\x01\x12\x19\n\x11priority_callback\x18\x11 \x01(\x08\x12\x39\n\x11priority_settings\x18\x12 \x01(\x0b\x32\x19.coreApi.PrioritySettingsH\x0c\x88\x01\x01\x42\x0c\n\n_thread_idB\n\n\x08_user_idB\t\n\x07_run_idB\t\n\x07_statusB\x10\n\x0e_metadata_jsonB\x1d\n\x1b_prevent_insert_if_inflightB\x15\n\x13_multitask_strategyB\x10\n\x0e_if_not_existsB\x10\n\x0e_after_secondsB\r\n\x0b_thread_ttlB\x15\n\x13_encryption_contextB\x19\n\x17_langsmith_session_nameB\x14\n\x12_priority_settings\"<\n\x10PrioritySettings\x12\x10\n\x08priority\x18\x01 \x01(\x05\x12\x16\n\x0e\x66\x61irness_group\x18\x02 \x01(\t\"\xb8\x01\n\rGetRunRequest\x12\x1d\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12 \n\tthread_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x03 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x32\n\tread_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskH\x00\x88\x01\x01\x42\x0c\n\n_read_mask\"y\n\x10\x44\x65leteRunRequest\x12\x1d\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12 \n\tthread_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x03 \x03(\x0b\x32\x13.coreApi.AuthFilter\"V\n\x12\x43\x61ncelRunIdsTarget\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x1e\n\x07run_ids\x18\x02 \x03(\x0b\x32\r.coreApi.UUID\">\n\x12\x43\x61ncelStatusTarget\x12(\n\x06status\x18\x01 \x01(\x0e\x32\x18.coreApi.CancelRunStatus\"\x87\x02\n\x10\x43\x61ncelRunRequest\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12.\n\x07run_ids\x18\x02 \x01(\x0b\x32\x1b.coreApi.CancelRunIdsTargetH\x00\x12-\n\x06status\x18\x03 \x01(\x0b\x32\x1b.coreApi.CancelStatusTargetH\x00\x12\x39\n\x06\x61\x63tion\x18\x04 \x01(\x0e\x32$.enumCancelRunAction.CancelRunActionH\x01\x88\x01\x01\x12\x13\n\x06reason\x18\x05 \x01(\tH\x02\x88\x01\x01\x42\x08\n\x06targetB\t\n\x07_actionB\t\n\x07_reason\"b\n\x1b\x43\x61ncelAcceptedBeforeRequest\x12\x33\n\x0f\x61\x63\x63\x65pted_before\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06reason\x18\x02 \x01(\t\"J\n\x1c\x43\x61ncelAcceptedBeforeResponse\x12\x17\n\x0fnot_yet_reached\x18\x01 \x01(\x04\x12\x11\n\tfinishing\x18\x02 \x01(\x04\"\xe3\x01\n\x11SearchRunsRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x12\n\x05limit\x18\x03 \x01(\x04H\x00\x88\x01\x01\x12\x13\n\x06offset\x18\x04 \x01(\x04H\x01\x88\x01\x01\x12-\n\x06status\x18\x05 \x01(\x0e\x32\x18.enumRunStatus.RunStatusH\x02\x88\x01\x01\x12\x0e\n\x06select\x18\x06 \x03(\tB\x08\n\x06_limitB\t\n\x07_offsetB\t\n\x07_status\"0\n\x12SearchRunsResponse\x12\x1a\n\x04runs\x18\x01 \x03(\x0b\x32\x0c.coreApi.Run\"^\n\x13SetRunStatusRequest\x12\x1d\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12(\n\x06status\x18\x02 \x01(\x0e\x32\x18.enumRunStatus.RunStatus\"3\n\x11SweepRunsResponse\x12\x1e\n\x07run_ids\x18\x01 \x03(\x0b\x32\r.coreApi.UUID\"F\n\x10\x43ountRunsRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x10\n\x08statuses\x18\x02 \x03(\t\"\x7f\n\x16StreamRunClientMessage\x12\x31\n\tsubscribe\x18\x01 \x01(\x0b\x32\x1c.coreApi.SubscribeRunRequestH\x00\x12\'\n\x04join\x18\x02 \x01(\x0b\x32\x17.coreApi.JoinRunRequestH\x00\x42\t\n\x07message\"V\n\x13SubscribeRunRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x1d\n\x06run_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\"\x94\x02\n\x0eJoinRunRequest\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x30\n\x0cstream_modes\x18\x02 \x03(\x0e\x32\x1a.enumStreamMode.StreamMode\x12\x1c\n\x14ignore_run_not_found\x18\x03 \x01(\x08\x12\x1c\n\x14\x63\x61ncel_on_disconnect\x18\x04 \x01(\x08\x12\x1a\n\rlast_event_id\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x12\n\nnamespaces\x18\x06 \x03(\t\x12\x1a\n\rcheckpoint_id\x18\x07 \x01(\tH\x01\x88\x01\x01\x42\x10\n\x0e_last_event_idB\x10\n\x0e_checkpoint_id\"e\n\x0f\x45nterRunRequest\x12\x1d\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12 \n\tthread_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\x12\x11\n\tresumable\x18\x03 \x01(\x08\"h\n\x12MarkRunDoneRequest\x12\x1d\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12 \n\tthread_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\x12\x11\n\tresumable\x18\x03 \x01(\x08\"\xea\x01\n\x19PublishStreamEventRequest\x12\"\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUIDH\x00\x88\x01\x01\x12 \n\tthread_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\x12\x12\n\nevent_type\x18\x03 \x01(\t\x12\x0f\n\x07message\x18\x04 \x01(\x0c\x12\x11\n\tresumable\x18\x05 \x01(\x08\x12\x19\n\x0cpublisher_id\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x10\n\x03seq\x18\x07 \x01(\x03H\x02\x88\x01\x01\x42\t\n\x07_run_idB\x0f\n\r_publisher_idB\x06\n\x04_seq\"5\n\x11GetGraphIDRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\"8\n\x12GetGraphIDResponse\x12\x15\n\x08graph_id\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0b\n\t_graph_id\"/\n\x11\x43reateRunResponse\x12\x1a\n\x04runs\x18\x01 \x03(\x0b\x32\x0c.coreApi.Run\"`\n\x0c\x43ontrolEvent\x12\x30\n\x06\x61\x63tion\x18\x01 \x01(\x0e\x32 .enumControlSignal.ControlSignal\x12\x13\n\x06reason\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\t\n\x07_reason\"\x88\x05\n\x0b\x43ronPayload\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12\x17\n\ninput_json\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x37\n\x06\x63onfig\x18\x03 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x01\x88\x01\x01\x12\x19\n\x0c\x63ontext_json\x18\x04 \x01(\x0cH\x02\x88\x01\x01\x12\x14\n\x07webhook\x18\x05 \x01(\tH\x03\x88\x01\x01\x12\x42\n\x10interrupt_before\x18\x06 \x01(\x0b\x32#.engineCommon.StaticInterruptConfigH\x04\x88\x01\x01\x12\x41\n\x0finterrupt_after\x18\x07 \x01(\x0b\x32#.engineCommon.StaticInterruptConfigH\x05\x88\x01\x01\x12I\n\x12multitask_strategy\x18\x08 \x01(\x0e\x32(.enumMultitaskStrategy.MultitaskStrategyH\x06\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\t \x01(\x0cH\x07\x88\x01\x01\x12\x37\n\nextra_json\x18\n \x03(\x0b\x32#.coreApi.CronPayload.ExtraJsonEntry\x1a\x30\n\x0e\x45xtraJsonEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x42\r\n\x0b_input_jsonB\t\n\x07_configB\x0f\n\r_context_jsonB\n\n\x08_webhookB\x13\n\x11_interrupt_beforeB\x12\n\x10_interrupt_afterB\x15\n\x13_multitask_strategyB\x10\n\x0e_metadata_json\"\xcb\x04\n\x04\x43ron\x12\x1e\n\x07\x63ron_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x14\n\x0c\x61ssistant_id\x18\x02 \x01(\t\x12%\n\tthread_id\x18\x03 \x01(\x0b\x32\r.coreApi.UUIDH\x00\x88\x01\x01\x12I\n\x10on_run_completed\x18\x04 \x01(\x0e\x32*.enumCronOnRunCompleted.CronOnRunCompletedH\x01\x88\x01\x01\x12\x31\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12\x10\n\x08schedule\x18\x06 \x01(\t\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x07user_id\x18\t \x01(\tH\x03\x88\x01\x01\x12%\n\x07payload\x18\n \x01(\x0b\x32\x14.coreApi.CronPayload\x12\x31\n\rnext_run_date\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rmetadata_json\x18\x0c \x01(\x0c\x12\x0f\n\x07\x65nabled\x18\r \x01(\x08\x12\x15\n\x08timezone\x18\x0e \x01(\tH\x04\x88\x01\x01\x42\x0c\n\n_thread_idB\x13\n\x11_on_run_completedB\x0b\n\t_end_timeB\n\n\x08_user_idB\x0b\n\t_timezone\"\x9a\x05\n\x11\x43reateCronRequest\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x10\n\x08schedule\x18\x02 \x01(\t\x12%\n\x07payload\x18\x03 \x01(\x0b\x32\x14.coreApi.CronPayload\x12\x15\n\rmetadata_json\x18\x04 \x01(\x0c\x12#\n\x07\x63ron_id\x18\x05 \x01(\x0b\x32\r.coreApi.UUIDH\x00\x88\x01\x01\x12%\n\tthread_id\x18\x06 \x01(\x0b\x32\r.coreApi.UUIDH\x01\x88\x01\x01\x12I\n\x10on_run_completed\x18\x07 \x01(\x0e\x32*.enumCronOnRunCompleted.CronOnRunCompletedH\x02\x88\x01\x01\x12\x31\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03\x88\x01\x01\x12\x0f\n\x07\x65nabled\x18\t \x01(\x08\x12.\n\x11\x61ssistant_filters\x18\n \x03(\x0b\x32\x13.coreApi.AuthFilter\x12+\n\x0ethread_filters\x18\x0b \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x14\n\x07user_id\x18\x0c \x01(\tH\x04\x88\x01\x01\x12>\n\x12\x65ncryption_context\x18\r \x01(\x0b\x32\x1d.encryption.EncryptionContextH\x05\x88\x01\x01\x12\x15\n\x08timezone\x18\x0e \x01(\tH\x06\x88\x01\x01\x42\n\n\x08_cron_idB\x0c\n\n_thread_idB\x13\n\x11_on_run_completedB\x0b\n\t_end_timeB\n\n\x08_user_idB\x15\n\x13_encryption_contextB\x0b\n\t_timezone\"Y\n\x11\x44\x65leteCronRequest\x12\x1e\n\x07\x63ron_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\"V\n\x0eGetCronRequest\x12\x1e\n\x07\x63ron_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\"\xe9\x03\n\x12SearchCronsRequest\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12+\n\x0ethread_filters\x18\n \x03(\x0b\x32\x13.coreApi.AuthFilter\x12(\n\x0c\x61ssistant_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUIDH\x00\x88\x01\x01\x12%\n\tthread_id\x18\x03 \x01(\x0b\x32\r.coreApi.UUIDH\x01\x88\x01\x01\x12\x12\n\x05limit\x18\x04 \x01(\x04H\x02\x88\x01\x01\x12\x13\n\x06offset\x18\x05 \x01(\x04H\x03\x88\x01\x01\x12*\n\x07sort_by\x18\x06 \x01(\x0e\x32\x14.coreApi.CronsSortByH\x04\x88\x01\x01\x12+\n\nsort_order\x18\x07 \x01(\x0e\x32\x12.coreApi.SortOrderH\x05\x88\x01\x01\x12\x0e\n\x06select\x18\x08 \x03(\t\x12\x14\n\x07\x65nabled\x18\t \x01(\x08H\x06\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\x0b \x01(\x0cH\x07\x88\x01\x01\x42\x0f\n\r_assistant_idB\x0c\n\n_thread_idB\x08\n\x06_limitB\t\n\x07_offsetB\n\n\x08_sort_byB\r\n\x0b_sort_orderB\n\n\x08_enabledB\x10\n\x0e_metadata_json\"3\n\x13SearchCronsResponse\x12\x1c\n\x05\x63rons\x18\x01 \x03(\x0b\x32\r.coreApi.Cron\"\x84\x02\n\x11\x43ountCronsRequest\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12+\n\x0ethread_filters\x18\x04 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12(\n\x0c\x61ssistant_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUIDH\x00\x88\x01\x01\x12%\n\tthread_id\x18\x03 \x01(\x0b\x32\r.coreApi.UUIDH\x01\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\x05 \x01(\x0cH\x02\x88\x01\x01\x42\x0f\n\r_assistant_idB\x0c\n\n_thread_idB\x10\n\x0e_metadata_json\"\xb7\x04\n\x10PatchCronRequest\x12\x1e\n\x07\x63ron_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x15\n\x08schedule\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x31\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x88\x01\x01\x12\x14\n\x07\x65nabled\x18\x05 \x01(\x08H\x02\x88\x01\x01\x12I\n\x10on_run_completed\x18\x06 \x01(\x0e\x32*.enumCronOnRunCompleted.CronOnRunCompletedH\x03\x88\x01\x01\x12*\n\x07payload\x18\x07 \x01(\x0b\x32\x14.coreApi.CronPayloadH\x04\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\x08 \x01(\x0cH\x05\x88\x01\x01\x12>\n\x12\x65ncryption_context\x18\t \x01(\x0b\x32\x1d.encryption.EncryptionContextH\x06\x88\x01\x01\x12\x15\n\x08timezone\x18\n \x01(\tH\x07\x88\x01\x01\x12\x16\n\x0e\x63lear_end_time\x18\x0b \x01(\x08\x42\x0b\n\t_scheduleB\x0b\n\t_end_timeB\n\n\x08_enabledB\x13\n\x11_on_run_completedB\n\n\x08_payloadB\x10\n\x0e_metadata_jsonB\x15\n\x13_encryption_contextB\x0b\n\t_timezone\"\xaa\x01\n\x0b\x43ronWithNow\x12\x1b\n\x04\x63ron\x18\x01 \x01(\x0b\x32\r.coreApi.Cron\x12\'\n\x03now\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x12\x65ncryption_context\x18\x03 \x01(\x0b\x32\x1d.encryption.EncryptionContextH\x00\x88\x01\x01\x42\x15\n\x13_encryption_context\"!\n\x10NextCronsRequest\x12\r\n\x05limit\x18\x01 \x01(\x05\"8\n\x11NextCronsResponse\x12#\n\x05\x63rons\x18\x01 \x03(\x0b\x32\x14.coreApi.CronWithNow\"j\n\x15SetNextRunDateRequest\x12\x1e\n\x07\x63ron_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x31\n\rnext_run_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"b\n\x0f\x43\x61\x63heSetRequest\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\x12+\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x42\x06\n\x04_ttl\"\x1e\n\x0f\x43\x61\x63heGetRequest\x12\x0b\n\x03key\x18\x01 \x01(\t\"0\n\x10\x43\x61\x63heGetResponse\x12\x12\n\x05value\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\x08\n\x06_value*/\n\x12OnConflictBehavior\x12\t\n\x05RAISE\x10\x00\x12\x0e\n\nDO_NOTHING\x10\x01*\x1e\n\tSortOrder\x12\x08\n\x04\x44\x45SC\x10\x00\x12\x07\n\x03\x41SC\x10\x01*m\n\x10\x41ssistantsSortBy\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x10\n\x0c\x41SSISTANT_ID\x10\x01\x12\x0c\n\x08GRAPH_ID\x10\x02\x12\x08\n\x04NAME\x10\x03\x12\x0e\n\nCREATED_AT\x10\x04\x12\x0e\n\nUPDATED_AT\x10\x05*X\n\x11ThreadTTLStrategy\x12\x1e\n\x1aTHREAD_TTL_STRATEGY_DELETE\x10\x00\x12#\n\x1fTHREAD_TTL_STRATEGY_KEEP_LATEST\x10\x01*\xa8\x01\n\x10\x43heckpointSource\x12!\n\x1d\x43HECKPOINT_SOURCE_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x43HECKPOINT_SOURCE_INPUT\x10\x01\x12\x1a\n\x16\x43HECKPOINT_SOURCE_LOOP\x10\x02\x12\x1c\n\x18\x43HECKPOINT_SOURCE_UPDATE\x10\x03\x12\x1a\n\x16\x43HECKPOINT_SOURCE_FORK\x10\x04*\xd1\x01\n\rThreadsSortBy\x12\x1f\n\x1bTHREADS_SORT_BY_UNSPECIFIED\x10\x00\x12\x1d\n\x19THREADS_SORT_BY_THREAD_ID\x10\x01\x12\x1e\n\x1aTHREADS_SORT_BY_CREATED_AT\x10\x02\x12\x1e\n\x1aTHREADS_SORT_BY_UPDATED_AT\x10\x03\x12\x1a\n\x16THREADS_SORT_BY_STATUS\x10\x04\x12$\n THREADS_SORT_BY_STATE_UPDATED_AT\x10\x05*`\n\x11\x43reateRunBehavior\x12#\n\x1fREJECT_RUN_IF_THREAD_NOT_EXISTS\x10\x00\x12&\n\"CREATE_THREAD_IF_THREAD_NOT_EXISTS\x10\x01*j\n\x0f\x43\x61ncelRunStatus\x12\x1d\n\x19\x43\x41NCEL_RUN_STATUS_PENDING\x10\x00\x12\x1d\n\x19\x43\x41NCEL_RUN_STATUS_RUNNING\x10\x01\x12\x19\n\x15\x43\x41NCEL_RUN_STATUS_ALL\x10\x02*\xfd\x01\n\x0b\x43ronsSortBy\x12\x1d\n\x19\x43RONS_SORT_BY_UNSPECIFIED\x10\x00\x12\x19\n\x15\x43RONS_SORT_BY_CRON_ID\x10\x01\x12\x1e\n\x1a\x43RONS_SORT_BY_ASSISTANT_ID\x10\x02\x12\x1b\n\x17\x43RONS_SORT_BY_THREAD_ID\x10\x03\x12\x1f\n\x1b\x43RONS_SORT_BY_NEXT_RUN_DATE\x10\x04\x12\x1a\n\x16\x43RONS_SORT_BY_END_TIME\x10\x05\x12\x1c\n\x18\x43RONS_SORT_BY_CREATED_AT\x10\x06\x12\x1c\n\x18\x43RONS_SORT_BY_UPDATED_AT\x10\x07\x32\xc1\x04\n\nAssistants\x12\x37\n\x03Get\x12\x1c.coreApi.GetAssistantRequest\x1a\x12.coreApi.Assistant\x12=\n\x06\x43reate\x12\x1f.coreApi.CreateAssistantRequest\x1a\x12.coreApi.Assistant\x12;\n\x05Patch\x12\x1e.coreApi.PatchAssistantRequest\x1a\x12.coreApi.Assistant\x12L\n\x06\x44\x65lete\x12\x1f.coreApi.DeleteAssistantRequest\x1a!.coreApi.DeleteAssistantsResponse\x12M\n\x06Search\x12 .coreApi.SearchAssistantsRequest\x1a!.coreApi.SearchAssistantsResponse\x12\x43\n\tSetLatest\x12\".coreApi.SetLatestAssistantRequest\x1a\x12.coreApi.Assistant\x12Z\n\x0bGetVersions\x12$.coreApi.GetAssistantVersionsRequest\x1a%.coreApi.GetAssistantVersionsResponse\x12@\n\x05\x43ount\x12\x1f.coreApi.CountAssistantsRequest\x1a\x16.coreApi.CountResponse2E\n\x05\x41\x64min\x12<\n\x08Truncate\x12\x18.coreApi.TruncateRequest\x1a\x16.google.protobuf.Empty2\x82\x06\n\x07Threads\x12\x37\n\x06\x43reate\x12\x1c.coreApi.CreateThreadRequest\x1a\x0f.coreApi.Thread\x12\x31\n\x03Get\x12\x19.coreApi.GetThreadRequest\x1a\x0f.coreApi.Thread\x12\x35\n\x05Patch\x12\x1b.coreApi.PatchThreadRequest\x1a\x0f.coreApi.Thread\x12\x35\n\x06\x44\x65lete\x12\x1c.coreApi.DeleteThreadRequest\x1a\r.coreApi.UUID\x12G\n\x06Search\x12\x1d.coreApi.SearchThreadsRequest\x1a\x1e.coreApi.SearchThreadsResponse\x12=\n\x05\x43ount\x12\x1c.coreApi.CountThreadsRequest\x1a\x16.coreApi.CountResponse\x12\x33\n\x04\x43opy\x12\x1a.coreApi.CopyThreadRequest\x1a\x0f.coreApi.Thread\x12\x44\n\tSetStatus\x12\x1f.coreApi.SetThreadStatusRequest\x1a\x16.google.protobuf.Empty\x12>\n\x06Stream\x12\x1c.coreApi.StreamThreadRequest\x1a\x14.coreApi.StreamEvent0\x01\x12N\n\x0eSetJointStatus\x12$.coreApi.SetThreadJointStatusRequest\x1a\x16.google.protobuf.Empty\x12\x45\n\nGetGraphID\x12\x1a.coreApi.GetGraphIDRequest\x1a\x1b.coreApi.GetGraphIDResponse\x12\x43\n\x07Storage\x12 .coreApi.GetThreadStorageRequest\x1a\x16.coreApi.ThreadStorage2\x94\t\n\x04Runs\x12?\n\x06\x43reate\x12\x19.coreApi.CreateRunRequest\x1a\x1a.coreApi.CreateRunResponse\x12+\n\x03Get\x12\x16.coreApi.GetRunRequest\x1a\x0c.coreApi.Run\x12\x32\n\x06\x44\x65lete\x12\x19.coreApi.DeleteRunRequest\x1a\r.coreApi.UUID\x12\x41\n\x06Search\x12\x1a.coreApi.SearchRunsRequest\x1a\x1b.coreApi.SearchRunsResponse\x12;\n\x06\x43\x61ncel\x12\x19.coreApi.CancelRunRequest\x1a\x16.google.protobuf.Empty\x12\x63\n\x14\x43\x61ncelAcceptedBefore\x12$.coreApi.CancelAcceptedBeforeRequest\x1a%.coreApi.CancelAcceptedBeforeResponse\x12\x41\n\tSetStatus\x12\x1c.coreApi.SetRunStatusRequest\x1a\x16.google.protobuf.Empty\x12=\n\x07Requeue\x12\x1a.coreApi.RequeueRunRequest\x1a\x16.google.protobuf.Empty\x12\x43\n\x06Stream\x12\x1f.coreApi.StreamRunClientMessage\x1a\x14.coreApi.StreamEvent(\x01\x30\x01\x12\x45\n\x07Publish\x12\".coreApi.PublishStreamEventRequest\x1a\x16.google.protobuf.Empty\x12:\n\x05\x45nter\x12\x18.coreApi.EnterRunRequest\x1a\x15.coreApi.ControlEvent0\x01\x12?\n\x08MarkDone\x12\x1b.coreApi.MarkRunDoneRequest\x1a\x16.google.protobuf.Empty\x12\x32\n\x05Stats\x12\x16.google.protobuf.Empty\x1a\x11.coreApi.RunStats\x12\x41\n\tPoolStats\x12\x16.google.protobuf.Empty\x1a\x1c.coreApi.ConnectionPoolStats\x12O\n\x11PrometheusMetrics\x12\x16.google.protobuf.Empty\x1a\".coreApi.PrometheusMetricsResponse\x12:\n\x05\x43ount\x12\x19.coreApi.CountRunsRequest\x1a\x16.coreApi.CountResponse\x12\x39\n\x04Next\x12\x17.coreApi.NextRunRequest\x1a\x18.coreApi.NextRunResponse\x12;\n\x05Sweep\x12\x16.google.protobuf.Empty\x1a\x1a.coreApi.SweepRunsResponse2\xe7\x03\n\x05\x43rons\x12\x33\n\x06\x43reate\x12\x1a.coreApi.CreateCronRequest\x1a\r.coreApi.Cron\x12-\n\x03Get\x12\x17.coreApi.GetCronRequest\x1a\r.coreApi.Cron\x12\x31\n\x05Patch\x12\x19.coreApi.PatchCronRequest\x1a\r.coreApi.Cron\x12<\n\x06\x44\x65lete\x12\x1a.coreApi.DeleteCronRequest\x1a\x16.google.protobuf.Empty\x12\x43\n\x06Search\x12\x1b.coreApi.SearchCronsRequest\x1a\x1c.coreApi.SearchCronsResponse\x12;\n\x05\x43ount\x12\x1a.coreApi.CountCronsRequest\x1a\x16.coreApi.CountResponse\x12=\n\x04Next\x12\x19.coreApi.NextCronsRequest\x1a\x1a.coreApi.NextCronsResponse\x12H\n\x0eSetNextRunDate\x12\x1e.coreApi.SetNextRunDateRequest\x1a\x16.google.protobuf.Empty2|\n\x05\x43\x61\x63he\x12\x37\n\x03Set\x12\x18.coreApi.CacheSetRequest\x1a\x16.google.protobuf.Empty\x12:\n\x03Get\x12\x18.coreApi.CacheGetRequest\x1a\x19.coreApi.CacheGetResponseBAZ?github.com/langchain-ai/langgraph-api/core/internal/core-api/pbb\x06proto3')
42
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0e\x63ore-api.proto\x12\x07\x63oreApi\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x10\x65ncryption.proto\x1a\x13\x65ngine-common.proto\x1a\x15\x65num_run_status.proto\x1a\x1d\x65num_multitask_strategy.proto\x1a\x16\x65num_stream_mode.proto\x1a\x1c\x65num_cancel_run_action.proto\x1a\x18\x65num_thread_status.proto\x1a\x1d\x65num_thread_stream_mode.proto\x1a\x19\x65num_control_signal.proto\x1a enum_cron_on_run_completed.proto\"\x16\n\x04Tags\x12\x0e\n\x06values\x18\x01 \x03(\t\"*\n\x0c\x45qAuthFilter\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05match\x18\x02 \x01(\t\"2\n\x12\x43ontainsAuthFilter\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0f\n\x07matches\x18\x02 \x03(\t\"4\n\x0cOrAuthFilter\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\"5\n\rAndAuthFilter\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\"\xc6\x01\n\nAuthFilter\x12#\n\x02\x65q\x18\x01 \x01(\x0b\x32\x15.coreApi.EqAuthFilterH\x00\x12/\n\x08\x63ontains\x18\x02 \x01(\x0b\x32\x1b.coreApi.ContainsAuthFilterH\x00\x12*\n\tor_filter\x18\x03 \x01(\x0b\x32\x15.coreApi.OrAuthFilterH\x00\x12,\n\nand_filter\x18\x04 \x01(\x0b\x32\x16.coreApi.AndAuthFilterH\x00\x42\x08\n\x06\x66ilter\"\x15\n\x04UUID\x12\r\n\x05value\x18\x01 \x01(\t\"\x1e\n\rCountResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x04\"x\n\x0bStreamEvent\x12\x12\n\nevent_type\x18\x01 \x01(\t\x12\x0f\n\x07message\x18\x02 \x01(\x0c\x12\x16\n\tstream_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06run_id\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\x0c\n\n_stream_idB\t\n\x07_run_id\"\xfa\x02\n\tAssistant\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12\x10\n\x08graph_id\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\x04\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x06\x63onfig\x18\x06 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x00\x88\x01\x01\x12\x19\n\x0c\x63ontext_json\x18\x07 \x01(\x0cH\x01\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\x08 \x01(\x0cH\x02\x88\x01\x01\x12\x0c\n\x04name\x18\t \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\n \x01(\tH\x03\x88\x01\x01\x42\t\n\x07_configB\x0f\n\r_context_jsonB\x10\n\x0e_metadata_jsonB\x0e\n\x0c_description\"\xd1\x02\n\x10\x41ssistantVersion\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12\x10\n\x08graph_id\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\x04\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x06\x63onfig\x18\x05 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x00\x88\x01\x01\x12\x19\n\x0c\x63ontext_json\x18\x06 \x01(\x0cH\x01\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\x07 \x01(\x0cH\x02\x88\x01\x01\x12\x0c\n\x04name\x18\x08 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\t \x01(\tH\x03\x88\x01\x01\x42\t\n\x07_configB\x0f\n\r_context_jsonB\x10\n\x0e_metadata_jsonB\x0e\n\x0c_description\"\x9d\x03\n\x16\x43reateAssistantRequest\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12\x10\n\x08graph_id\x18\x02 \x01(\t\x12$\n\x07\x66ilters\x18\x03 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12.\n\tif_exists\x18\x04 \x01(\x0e\x32\x1b.coreApi.OnConflictBehavior\x12\x32\n\x06\x63onfig\x18\x05 \x01(\x0b\x32\".engineCommon.EngineRunnableConfig\x12\x14\n\x0c\x63ontext_json\x18\x06 \x01(\x0c\x12\x0c\n\x04name\x18\x07 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x08 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\t \x01(\x0cH\x01\x88\x01\x01\x12>\n\x12\x65ncryption_context\x18\n \x01(\x0b\x32\x1d.encryption.EncryptionContextH\x02\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x10\n\x0e_metadata_jsonB\x15\n\x13_encryption_context\"Q\n\x13GetAssistantRequest\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\"\xb2\x03\n\x15PatchAssistantRequest\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x15\n\x08graph_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x37\n\x06\x63onfig\x18\x04 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x01\x88\x01\x01\x12\x19\n\x0c\x63ontext_json\x18\x05 \x01(\x0cH\x02\x88\x01\x01\x12\x11\n\x04name\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x07 \x01(\tH\x04\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\x08 \x01(\x0cH\x05\x88\x01\x01\x12>\n\x12\x65ncryption_context\x18\t \x01(\x0b\x32\x1d.encryption.EncryptionContextH\x06\x88\x01\x01\x42\x0b\n\t_graph_idB\t\n\x07_configB\x0f\n\r_context_jsonB\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x10\n\x0e_metadata_jsonB\x15\n\x13_encryption_context\"\x84\x01\n\x16\x44\x65leteAssistantRequest\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x1b\n\x0e\x64\x65lete_threads\x18\x03 \x01(\x08H\x00\x88\x01\x01\x42\x11\n\x0f_delete_threads\"1\n\x18\x44\x65leteAssistantsResponse\x12\x15\n\rassistant_ids\x18\x01 \x03(\t\"h\n\x19SetLatestAssistantRequest\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12$\n\x07\x66ilters\x18\x03 \x03(\x0b\x32\x13.coreApi.AuthFilter\"\x90\x03\n\x17SearchAssistantsRequest\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x15\n\x08graph_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x12\n\x05limit\x18\x04 \x01(\x04H\x02\x88\x01\x01\x12\x13\n\x06offset\x18\x05 \x01(\x04H\x03\x88\x01\x01\x12/\n\x07sort_by\x18\x06 \x01(\x0e\x32\x19.coreApi.AssistantsSortByH\x04\x88\x01\x01\x12+\n\nsort_order\x18\x07 \x01(\x0e\x32\x12.coreApi.SortOrderH\x05\x88\x01\x01\x12\x0e\n\x06select\x18\x08 \x03(\t\x12\x11\n\x04name\x18\t \x01(\tH\x06\x88\x01\x01\x12\x1a\n\x12graph_id_allowlist\x18\n \x03(\tB\x0b\n\t_graph_idB\x10\n\x0e_metadata_jsonB\x08\n\x06_limitB\t\n\x07_offsetB\n\n\x08_sort_byB\r\n\x0b_sort_orderB\x07\n\x05_name\"B\n\x18SearchAssistantsResponse\x12&\n\nassistants\x18\x01 \x03(\x0b\x32\x12.coreApi.Assistant\"\xc5\x01\n\x1bGetAssistantVersionsRequest\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x1a\n\rmetadata_json\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x12\n\x05limit\x18\x04 \x01(\x04H\x01\x88\x01\x01\x12\x13\n\x06offset\x18\x05 \x01(\x04H\x02\x88\x01\x01\x42\x10\n\x0e_metadata_jsonB\x08\n\x06_limitB\t\n\x07_offset\"K\n\x1cGetAssistantVersionsResponse\x12+\n\x08versions\x18\x01 \x03(\x0b\x32\x19.coreApi.AssistantVersion\"\xc8\x01\n\x16\x43ountAssistantsRequest\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x15\n\x08graph_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x11\n\x04name\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x1a\n\x12graph_id_allowlist\x18\x05 \x03(\tB\x0b\n\t_graph_idB\x10\n\x0e_metadata_jsonB\x07\n\x05_name\"i\n\x0fTruncateRequest\x12\x0c\n\x04runs\x18\x01 \x01(\x08\x12\x0f\n\x07threads\x18\x02 \x01(\x08\x12\x12\n\nassistants\x18\x03 \x01(\x08\x12\x14\n\x0c\x63heckpointer\x18\x04 \x01(\x08\x12\r\n\x05store\x18\x05 \x01(\x08\"\xbb\x01\n\x0fThreadTTLConfig\x12\x31\n\x08strategy\x18\x01 \x01(\x0e\x32\x1a.coreApi.ThreadTTLStrategyH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65\x66\x61ult_ttl\x18\x02 \x01(\x01H\x01\x88\x01\x01\x12#\n\x16sweep_interval_minutes\x18\x03 \x01(\x05H\x02\x88\x01\x01\x42\x0b\n\t_strategyB\x0e\n\x0c_default_ttlB\x19\n\x17_sweep_interval_minutes\"\x82\x01\n\rThreadTTLInfo\x12,\n\x08strategy\x18\x01 \x01(\x0e\x32\x1a.coreApi.ThreadTTLStrategy\x12\x13\n\x0bttl_minutes\x18\x02 \x01(\x01\x12.\n\nexpires_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x19\n\x08\x46ragment\x12\r\n\x05value\x18\x01 \x01(\x0c\"\x89\x01\n\x0e\x43heckpointTask\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x12\n\x05\x65rror\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x17\n\x0finterrupts_json\x18\x04 \x03(\x0c\x12\x17\n\nstate_json\x18\x05 \x01(\x0cH\x01\x88\x01\x01\x42\x08\n\x06_errorB\r\n\x0b_state_json\"\xd6\x01\n\x12\x43heckpointMetadata\x12.\n\x06source\x18\x01 \x01(\x0e\x32\x19.coreApi.CheckpointSourceH\x00\x88\x01\x01\x12\x11\n\x04step\x18\x02 \x01(\x04H\x01\x88\x01\x01\x12\x39\n\x07parents\x18\x03 \x03(\x0b\x32(.coreApi.CheckpointMetadata.ParentsEntry\x1a.\n\x0cParentsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07_sourceB\x07\n\x05_step\"\xa3\x02\n\x11\x43heckpointPayload\x12\x37\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x00\x88\x01\x01\x12-\n\x08metadata\x18\x02 \x01(\x0b\x32\x1b.coreApi.CheckpointMetadata\x12\x13\n\x0bvalues_json\x18\x03 \x01(\x0c\x12\x0c\n\x04next\x18\x04 \x03(\t\x12>\n\rparent_config\x18\x05 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x01\x88\x01\x01\x12&\n\x05tasks\x18\x06 \x03(\x0b\x32\x17.coreApi.CheckpointTaskB\t\n\x07_configB\x10\n\x0e_parent_config\"T\n\x16ThreadStatusCheckpoint\x12\x13\n\x0bvalues_json\x18\x01 \x01(\x0c\x12\x0c\n\x04next\x18\x02 \x03(\t\x12\x17\n\x0finterrupts_json\x18\x03 \x01(\x0c\"\xb2\x01\n\tInterrupt\x12\x0f\n\x02id\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\r\n\x05value\x18\x02 \x01(\x0c\x12\x11\n\x04when\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x16\n\tresumable\x18\x04 \x01(\x08H\x02\x88\x01\x01\x12\n\n\x02ns\x18\x05 \x03(\t\x12\x1c\n\x0fresponse_schema\x18\x06 \x01(\x0cH\x03\x88\x01\x01\x42\x05\n\x03_idB\x07\n\x05_whenB\x0c\n\n_resumableB\x12\n\x10_response_schema\"4\n\nInterrupts\x12&\n\ninterrupts\x18\x01 \x03(\x0b\x32\x12.coreApi.Interrupt\"\xb0\x05\n\x06Thread\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12#\n\x08metadata\x18\x04 \x01(\x0b\x32\x11.coreApi.Fragment\x12!\n\x06\x63onfig\x18\x05 \x01(\x0b\x32\x11.coreApi.Fragment\x12.\n\x06status\x18\x06 \x01(\x0e\x32\x1e.enumThreadStatus.ThreadStatus\x12!\n\x06values\x18\x07 \x01(\x0b\x32\x11.coreApi.Fragment\x12\x33\n\ninterrupts\x18\x08 \x03(\x0b\x32\x1f.coreApi.Thread.InterruptsEntry\x12 \n\x05\x65rror\x18\t \x01(\x0b\x32\x11.coreApi.Fragment\x12\x34\n\x10state_updated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1b\n\x0e\x65xtracted_json\x18\x0b \x01(\x0cH\x00\x88\x01\x01\x12(\n\x03ttl\x18\x0c \x01(\x0b\x32\x16.coreApi.ThreadTTLInfoH\x01\x88\x01\x01\x12\x15\n\x08priority\x18\r \x01(\x05H\x02\x88\x01\x01\x12\x1b\n\x0e\x66\x61irness_group\x18\x0e \x01(\tH\x03\x88\x01\x01\x1a\x46\n\x0fInterruptsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\"\n\x05value\x18\x02 \x01(\x0b\x32\x13.coreApi.Interrupts:\x02\x38\x01\x42\x11\n\x0f_extracted_jsonB\x06\n\x04_ttlB\x0b\n\t_priorityB\x11\n\x0f_fairness_group\"\xc6\x02\n\x13\x43reateThreadRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12.\n\tif_exists\x18\x03 \x01(\x0e\x32\x1b.coreApi.OnConflictBehavior\x12\x1a\n\rmetadata_json\x18\x04 \x01(\x0cH\x00\x88\x01\x01\x12*\n\x03ttl\x18\x05 \x01(\x0b\x32\x18.coreApi.ThreadTTLConfigH\x01\x88\x01\x01\x12>\n\x12\x65ncryption_context\x18\x06 \x01(\x0b\x32\x1d.encryption.EncryptionContextH\x02\x88\x01\x01\x42\x10\n\x0e_metadata_jsonB\x06\n\x04_ttlB\x15\n\x13_encryption_context\"\xc6\x01\n\x10GetThreadRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x18\n\x0binclude_ttl\x18\x03 \x01(\x08H\x00\x88\x01\x01\x12\x32\n\tread_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskH\x01\x88\x01\x01\x42\x0e\n\x0c_include_ttlB\x0c\n\n_read_mask\"\xd7\x02\n\x12PatchThreadRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x1a\n\rmetadata_json\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12*\n\x03ttl\x18\x04 \x01(\x0b\x32\x18.coreApi.ThreadTTLConfigH\x01\x88\x01\x01\x12>\n\x12\x65ncryption_context\x18\x05 \x01(\x0b\x32\x1d.encryption.EncryptionContextH\x02\x88\x01\x01\x12\x32\n\tread_mask\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskH\x03\x88\x01\x01\x42\x10\n\x0e_metadata_jsonB\x06\n\x04_ttlB\x15\n\x13_encryption_contextB\x0c\n\n_read_mask\"}\n\x13\x44\x65leteThreadRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x1e\n\x16sync_checkpoint_delete\x18\x03 \x01(\x08\"[\n\x11\x43opyThreadRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\"\xf5\x05\n\x14SearchThreadsRequest\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x1a\n\rmetadata_json\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x18\n\x0bvalues_json\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x33\n\x06status\x18\x04 \x01(\x0e\x32\x1e.enumThreadStatus.ThreadStatusH\x02\x88\x01\x01\x12\x12\n\x05limit\x18\x05 \x01(\x04H\x03\x88\x01\x01\x12\x13\n\x06offset\x18\x06 \x01(\x04H\x04\x88\x01\x01\x12,\n\x07sort_by\x18\x07 \x01(\x0e\x32\x16.coreApi.ThreadsSortByH\x05\x88\x01\x01\x12+\n\nsort_order\x18\x08 \x01(\x0e\x32\x12.coreApi.SortOrderH\x06\x88\x01\x01\x12\x0e\n\x06select\x18\t \x03(\t\x12\x1a\n\x03ids\x18\n \x03(\x0b\x32\r.coreApi.UUID\x12;\n\x07\x65xtract\x18\x0b \x03(\x0b\x32*.coreApi.SearchThreadsRequest.ExtractEntry\x12\"\n\x15\x65xclude_metadata_json\x18\x0c \x01(\x0cH\x07\x88\x01\x01\x12\x36\n\rcreated_after\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x08\x88\x01\x01\x12\x37\n\x0e\x63reated_before\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampH\t\x88\x01\x01\x1a.\n\x0c\x45xtractEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x10\n\x0e_metadata_jsonB\x0e\n\x0c_values_jsonB\t\n\x07_statusB\x08\n\x06_limitB\t\n\x07_offsetB\n\n\x08_sort_byB\r\n\x0b_sort_orderB\x18\n\x16_exclude_metadata_jsonB\x10\n\x0e_created_afterB\x11\n\x0f_created_before\"9\n\x15SearchThreadsResponse\x12 \n\x07threads\x18\x01 \x03(\x0b\x32\x0f.coreApi.Thread\"\xa7\x03\n\x13\x43ountThreadsRequest\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x1a\n\rmetadata_json\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x18\n\x0bvalues_json\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x33\n\x06status\x18\x04 \x01(\x0e\x32\x1e.enumThreadStatus.ThreadStatusH\x02\x88\x01\x01\x12\"\n\x15\x65xclude_metadata_json\x18\x05 \x01(\x0cH\x03\x88\x01\x01\x12\x36\n\rcreated_after\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x04\x88\x01\x01\x12\x37\n\x0e\x63reated_before\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x05\x88\x01\x01\x42\x10\n\x0e_metadata_jsonB\x0e\n\x0c_values_jsonB\t\n\x07_statusB\x18\n\x16_exclude_metadata_jsonB\x10\n\x0e_created_afterB\x11\n\x0f_created_before\"\xc3\x02\n\x16SetThreadStatusRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x38\n\ncheckpoint\x18\x02 \x01(\x0b\x32\x1f.coreApi.ThreadStatusCheckpointH\x00\x88\x01\x01\x12\x1b\n\x0e\x65xception_json\x18\x03 \x01(\x0cH\x01\x88\x01\x01\x12\x37\n\x0f\x65xpected_status\x18\x04 \x03(\x0e\x32\x1e.enumThreadStatus.ThreadStatus\x12>\n\x12\x65ncryption_context\x18\x05 \x01(\x0b\x32\x1d.encryption.EncryptionContextH\x02\x88\x01\x01\x42\r\n\x0b_checkpointB\x11\n\x0f_exception_jsonB\x15\n\x13_encryption_context\"\xec\x02\n\x1bSetThreadJointStatusRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x1d\n\x06run_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\x12\x12\n\nrun_status\x18\x03 \x01(\t\x12\x10\n\x08graph_id\x18\x04 \x01(\t\x12\x38\n\ncheckpoint\x18\x05 \x01(\x0b\x32\x1f.coreApi.ThreadStatusCheckpointH\x00\x88\x01\x01\x12\x1b\n\x0e\x65xception_json\x18\x06 \x01(\x0cH\x01\x88\x01\x01\x12>\n\x12\x65ncryption_context\x18\x07 \x01(\x0b\x32\x1d.encryption.EncryptionContextH\x02\x88\x01\x01\x12\x16\n\x0erefused_resume\x18\x08 \x01(\x08\x42\r\n\x0b_checkpointB\x11\n\x0f_exception_jsonB\x15\n\x13_encryption_context\"\xc9\x01\n\x13StreamThreadRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12<\n\x0cstream_modes\x18\x03 \x03(\x0e\x32&.enumThreadStreamMode.ThreadStreamMode\x12\x1a\n\rlast_event_id\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x10\n\x0e_last_event_id\"a\n\x17GetThreadStorageRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\"-\n\rStorageTotals\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\r\n\x05\x62ytes\x18\x02 \x01(\x03\"B\n\x0e\x43hannelStorage\x12\x0f\n\x07\x63hannel\x18\x01 \x01(\t\x12\x10\n\x08versions\x18\x02 \x01(\x03\x12\r\n\x05\x62ytes\x18\x03 \x01(\x03\"a\n\x14\x43hannelValuesStorage\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\r\n\x05\x62ytes\x18\x02 \x01(\x03\x12+\n\nby_channel\x18\x03 \x03(\x0b\x32\x17.coreApi.ChannelStorage\"\xb8\x01\n\rThreadStorage\x12\x13\n\x0btotal_bytes\x18\x01 \x01(\x03\x12+\n\x0b\x63heckpoints\x18\x02 \x01(\x0b\x32\x16.coreApi.StorageTotals\x12\x35\n\x0e\x63hannel_values\x18\x03 \x01(\x0b\x32\x1d.coreApi.ChannelValuesStorage\x12.\n\x0epending_writes\x18\x04 \x01(\x0b\x32\x16.coreApi.StorageTotals\"\xe7\x05\n\tRunKwargs\x12\x37\n\x06\x63onfig\x18\x01 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x00\x88\x01\x01\x12\x19\n\x0c\x63ontext_json\x18\x02 \x01(\x0cH\x01\x88\x01\x01\x12\x17\n\ninput_json\x18\x03 \x01(\x0cH\x02\x88\x01\x01\x12\x19\n\x0c\x63ommand_json\x18\x04 \x01(\x0cH\x03\x88\x01\x01\x12/\n\x0bstream_mode\x18\x05 \x03(\x0e\x32\x1a.enumStreamMode.StreamMode\x12\x42\n\x10interrupt_before\x18\x06 \x01(\x0b\x32#.engineCommon.StaticInterruptConfigH\x04\x88\x01\x01\x12\x41\n\x0finterrupt_after\x18\x07 \x01(\x0b\x32#.engineCommon.StaticInterruptConfigH\x05\x88\x01\x01\x12\x14\n\x07webhook\x18\x08 \x01(\tH\x06\x88\x01\x01\x12\x15\n\rfeedback_keys\x18\t \x03(\t\x12\x16\n\ttemporary\x18\n \x01(\x08H\x07\x88\x01\x01\x12\x16\n\tsubgraphs\x18\x0b \x01(\x08H\x08\x88\x01\x01\x12\x16\n\tresumable\x18\x0c \x01(\x08H\t\x88\x01\x01\x12\x1e\n\x11\x63heckpoint_during\x18\r \x01(\x08H\n\x88\x01\x01\x12\x17\n\ndurability\x18\x0e \x01(\tH\x0b\x88\x01\x01\x12\x1a\n\rstrict_resume\x18\x0f \x01(\x08H\x0c\x88\x01\x01\x42\t\n\x07_configB\x0f\n\r_context_jsonB\r\n\x0b_input_jsonB\x0f\n\r_command_jsonB\x13\n\x11_interrupt_beforeB\x12\n\x10_interrupt_afterB\n\n\x08_webhookB\x0c\n\n_temporaryB\x0c\n\n_subgraphsB\x0c\n\n_resumableB\x14\n\x12_checkpoint_duringB\r\n\x0b_durabilityB\x10\n\x0e_strict_resume\"\x84\x04\n\x03Run\x12\x1d\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12 \n\tthread_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\x12#\n\x0c\x61ssistant_id\x18\x03 \x01(\x0b\x32\r.coreApi.UUID\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12(\n\x06status\x18\x06 \x01(\x0e\x32\x18.enumRunStatus.RunStatus\x12#\n\x08metadata\x18\x07 \x01(\x0b\x32\x11.coreApi.Fragment\x12\"\n\x06kwargs\x18\x08 \x01(\x0b\x32\x12.coreApi.RunKwargs\x12\x44\n\x12multitask_strategy\x18\t \x01(\x0e\x32(.enumMultitaskStrategy.MultitaskStrategy\x12#\n\x16langsmith_session_name\x18\n \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rcancel_reason\x18\x0b \x01(\tH\x01\x88\x01\x01\x12\x10\n\x08priority\x18\x0c \x01(\x05\x42\x19\n\x17_langsmith_session_nameB\x10\n\x0e_cancel_reason\"\xeb\x01\n\rPriorityStats\x12\x10\n\x08priority\x18\x01 \x01(\x05\x12\x11\n\tn_pending\x18\x02 \x01(\x04\x12,\n\x1fpending_runs_wait_time_max_secs\x18\x03 \x01(\x01H\x00\x88\x01\x01\x12,\n\x1fpending_runs_wait_time_med_secs\x18\x04 \x01(\x01H\x01\x88\x01\x01\x12\x11\n\tn_running\x18\x05 \x01(\x04\x42\"\n _pending_runs_wait_time_max_secsB\"\n _pending_runs_wait_time_med_secs\"\xe7\x02\n\x08RunStats\x12\x11\n\tn_pending\x18\x01 \x01(\x04\x12\x11\n\tn_running\x18\x02 \x01(\x04\x12,\n\x1fpending_runs_wait_time_max_secs\x18\x03 \x01(\x01H\x00\x88\x01\x01\x12,\n\x1fpending_runs_wait_time_med_secs\x18\x04 \x01(\x01H\x01\x88\x01\x01\x12\x36\n)pending_unblocked_runs_wait_time_max_secs\x18\x05 \x01(\x01H\x02\x88\x01\x01\x12+\n\x0b\x62y_priority\x18\x06 \x03(\x0b\x32\x16.coreApi.PriorityStatsB\"\n _pending_runs_wait_time_max_secsB\"\n _pending_runs_wait_time_med_secsB,\n*_pending_unblocked_runs_wait_time_max_secs\"\x82\x01\n\x11PostgresPoolStats\x12\x10\n\x08pool_max\x18\x01 \x01(\x05\x12\x11\n\tpool_size\x18\x02 \x01(\x05\x12\x16\n\x0epool_available\x18\x03 \x01(\x05\x12\x17\n\x0frequests_queued\x18\x04 \x01(\x03\x12\x17\n\x0frequests_errors\x18\x05 \x01(\x03\"_\n\x0eRedisPoolStats\x12\x18\n\x10idle_connections\x18\x01 \x01(\x05\x12\x1a\n\x12in_use_connections\x18\x02 \x01(\x05\x12\x17\n\x0fmax_connections\x18\x03 \x01(\x05\"\x8c\x01\n\x13\x43onnectionPoolStats\x12\x31\n\x08postgres\x18\x01 \x01(\x0b\x32\x1a.coreApi.PostgresPoolStatsH\x00\x88\x01\x01\x12+\n\x05redis\x18\x02 \x01(\x0b\x32\x17.coreApi.RedisPoolStatsH\x01\x88\x01\x01\x42\x0b\n\t_postgresB\x08\n\x06_redis\")\n\x19PrometheusMetricsResponse\x12\x0c\n\x04\x62ody\x18\x01 \x01(\x0c\"-\n\x0eNextRunRequest\x12\x0c\n\x04wait\x18\x01 \x01(\x08\x12\r\n\x05limit\x18\x02 \x01(\x04\"\x87\x01\n\x0eRunWithAttempt\x12\x19\n\x03run\x18\x01 \x01(\x0b\x32\x0c.coreApi.Run\x12\x0f\n\x07\x61ttempt\x18\x02 \x01(\x04\x12\x39\n\x12\x65ncryption_context\x18\x03 \x01(\x0b\x32\x1d.encryption.EncryptionContext\x12\x0e\n\x06\x64rains\x18\x04 \x01(\x04\"B\n\x11RequeueRunRequest\x12\x1d\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x0e\n\x06reason\x18\x02 \x01(\t\"8\n\x0fNextRunResponse\x12%\n\x04runs\x18\x01 \x03(\x0b\x32\x17.coreApi.RunWithAttempt\"\xfe\x07\n\x10\x43reateRunRequest\x12#\n\x0c\x61ssistant_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x13\n\x0bkwargs_json\x18\x02 \x01(\x0c\x12+\n\x0ethread_filters\x18\x03 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12.\n\x11\x61ssistant_filters\x18\x0e \x03(\x0b\x32\x13.coreApi.AuthFilter\x12%\n\tthread_id\x18\x04 \x01(\x0b\x32\r.coreApi.UUIDH\x00\x88\x01\x01\x12\x14\n\x07user_id\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\"\n\x06run_id\x18\x06 \x01(\x0b\x32\r.coreApi.UUIDH\x02\x88\x01\x01\x12-\n\x06status\x18\x07 \x01(\x0e\x32\x18.enumRunStatus.RunStatusH\x03\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\x08 \x01(\x0cH\x04\x88\x01\x01\x12\'\n\x1aprevent_insert_if_inflight\x18\t \x01(\x08H\x05\x88\x01\x01\x12I\n\x12multitask_strategy\x18\n \x01(\x0e\x32(.enumMultitaskStrategy.MultitaskStrategyH\x06\x88\x01\x01\x12\x36\n\rif_not_exists\x18\x0b \x01(\x0e\x32\x1a.coreApi.CreateRunBehaviorH\x07\x88\x01\x01\x12\x1a\n\rafter_seconds\x18\x0c \x01(\x04H\x08\x88\x01\x01\x12\x31\n\nthread_ttl\x18\r \x01(\x0b\x32\x18.coreApi.ThreadTTLConfigH\t\x88\x01\x01\x12>\n\x12\x65ncryption_context\x18\x0f \x01(\x0b\x32\x1d.encryption.EncryptionContextH\n\x88\x01\x01\x12#\n\x16langsmith_session_name\x18\x10 \x01(\tH\x0b\x88\x01\x01\x12\x19\n\x11priority_callback\x18\x11 \x01(\x08\x12\x39\n\x11priority_settings\x18\x12 \x01(\x0b\x32\x19.coreApi.PrioritySettingsH\x0c\x88\x01\x01\x42\x0c\n\n_thread_idB\n\n\x08_user_idB\t\n\x07_run_idB\t\n\x07_statusB\x10\n\x0e_metadata_jsonB\x1d\n\x1b_prevent_insert_if_inflightB\x15\n\x13_multitask_strategyB\x10\n\x0e_if_not_existsB\x10\n\x0e_after_secondsB\r\n\x0b_thread_ttlB\x15\n\x13_encryption_contextB\x19\n\x17_langsmith_session_nameB\x14\n\x12_priority_settings\"<\n\x10PrioritySettings\x12\x10\n\x08priority\x18\x01 \x01(\x05\x12\x16\n\x0e\x66\x61irness_group\x18\x02 \x01(\t\"\xb8\x01\n\rGetRunRequest\x12\x1d\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12 \n\tthread_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x03 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x32\n\tread_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskH\x00\x88\x01\x01\x42\x0c\n\n_read_mask\"y\n\x10\x44\x65leteRunRequest\x12\x1d\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12 \n\tthread_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x03 \x03(\x0b\x32\x13.coreApi.AuthFilter\"V\n\x12\x43\x61ncelRunIdsTarget\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x1e\n\x07run_ids\x18\x02 \x03(\x0b\x32\r.coreApi.UUID\">\n\x12\x43\x61ncelStatusTarget\x12(\n\x06status\x18\x01 \x01(\x0e\x32\x18.coreApi.CancelRunStatus\"\x87\x02\n\x10\x43\x61ncelRunRequest\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12.\n\x07run_ids\x18\x02 \x01(\x0b\x32\x1b.coreApi.CancelRunIdsTargetH\x00\x12-\n\x06status\x18\x03 \x01(\x0b\x32\x1b.coreApi.CancelStatusTargetH\x00\x12\x39\n\x06\x61\x63tion\x18\x04 \x01(\x0e\x32$.enumCancelRunAction.CancelRunActionH\x01\x88\x01\x01\x12\x13\n\x06reason\x18\x05 \x01(\tH\x02\x88\x01\x01\x42\x08\n\x06targetB\t\n\x07_actionB\t\n\x07_reason\"b\n\x1b\x43\x61ncelAcceptedBeforeRequest\x12\x33\n\x0f\x61\x63\x63\x65pted_before\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06reason\x18\x02 \x01(\t\"J\n\x1c\x43\x61ncelAcceptedBeforeResponse\x12\x17\n\x0fnot_yet_reached\x18\x01 \x01(\x04\x12\x11\n\tfinishing\x18\x02 \x01(\x04\"\xe3\x01\n\x11SearchRunsRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x12\n\x05limit\x18\x03 \x01(\x04H\x00\x88\x01\x01\x12\x13\n\x06offset\x18\x04 \x01(\x04H\x01\x88\x01\x01\x12-\n\x06status\x18\x05 \x01(\x0e\x32\x18.enumRunStatus.RunStatusH\x02\x88\x01\x01\x12\x0e\n\x06select\x18\x06 \x03(\tB\x08\n\x06_limitB\t\n\x07_offsetB\t\n\x07_status\"0\n\x12SearchRunsResponse\x12\x1a\n\x04runs\x18\x01 \x03(\x0b\x32\x0c.coreApi.Run\"^\n\x13SetRunStatusRequest\x12\x1d\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12(\n\x06status\x18\x02 \x01(\x0e\x32\x18.enumRunStatus.RunStatus\"3\n\x11SweepRunsResponse\x12\x1e\n\x07run_ids\x18\x01 \x03(\x0b\x32\r.coreApi.UUID\"F\n\x10\x43ountRunsRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x10\n\x08statuses\x18\x02 \x03(\t\"\x7f\n\x16StreamRunClientMessage\x12\x31\n\tsubscribe\x18\x01 \x01(\x0b\x32\x1c.coreApi.SubscribeRunRequestH\x00\x12\'\n\x04join\x18\x02 \x01(\x0b\x32\x17.coreApi.JoinRunRequestH\x00\x42\t\n\x07message\"V\n\x13SubscribeRunRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x1d\n\x06run_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\"\x94\x02\n\x0eJoinRunRequest\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x30\n\x0cstream_modes\x18\x02 \x03(\x0e\x32\x1a.enumStreamMode.StreamMode\x12\x1c\n\x14ignore_run_not_found\x18\x03 \x01(\x08\x12\x1c\n\x14\x63\x61ncel_on_disconnect\x18\x04 \x01(\x08\x12\x1a\n\rlast_event_id\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x12\n\nnamespaces\x18\x06 \x03(\t\x12\x1a\n\rcheckpoint_id\x18\x07 \x01(\tH\x01\x88\x01\x01\x42\x10\n\x0e_last_event_idB\x10\n\x0e_checkpoint_id\"e\n\x0f\x45nterRunRequest\x12\x1d\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12 \n\tthread_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\x12\x11\n\tresumable\x18\x03 \x01(\x08\"h\n\x12MarkRunDoneRequest\x12\x1d\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12 \n\tthread_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\x12\x11\n\tresumable\x18\x03 \x01(\x08\"\xea\x01\n\x19PublishStreamEventRequest\x12\"\n\x06run_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUIDH\x00\x88\x01\x01\x12 \n\tthread_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUID\x12\x12\n\nevent_type\x18\x03 \x01(\t\x12\x0f\n\x07message\x18\x04 \x01(\x0c\x12\x11\n\tresumable\x18\x05 \x01(\x08\x12\x19\n\x0cpublisher_id\x18\x06 \x01(\tH\x01\x88\x01\x01\x12\x10\n\x03seq\x18\x07 \x01(\x03H\x02\x88\x01\x01\x42\t\n\x07_run_idB\x0f\n\r_publisher_idB\x06\n\x04_seq\"5\n\x11GetGraphIDRequest\x12 \n\tthread_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\"8\n\x12GetGraphIDResponse\x12\x15\n\x08graph_id\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0b\n\t_graph_id\"/\n\x11\x43reateRunResponse\x12\x1a\n\x04runs\x18\x01 \x03(\x0b\x32\x0c.coreApi.Run\"`\n\x0c\x43ontrolEvent\x12\x30\n\x06\x61\x63tion\x18\x01 \x01(\x0e\x32 .enumControlSignal.ControlSignal\x12\x13\n\x06reason\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\t\n\x07_reason\"\x88\x05\n\x0b\x43ronPayload\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12\x17\n\ninput_json\x18\x02 \x01(\x0cH\x00\x88\x01\x01\x12\x37\n\x06\x63onfig\x18\x03 \x01(\x0b\x32\".engineCommon.EngineRunnableConfigH\x01\x88\x01\x01\x12\x19\n\x0c\x63ontext_json\x18\x04 \x01(\x0cH\x02\x88\x01\x01\x12\x14\n\x07webhook\x18\x05 \x01(\tH\x03\x88\x01\x01\x12\x42\n\x10interrupt_before\x18\x06 \x01(\x0b\x32#.engineCommon.StaticInterruptConfigH\x04\x88\x01\x01\x12\x41\n\x0finterrupt_after\x18\x07 \x01(\x0b\x32#.engineCommon.StaticInterruptConfigH\x05\x88\x01\x01\x12I\n\x12multitask_strategy\x18\x08 \x01(\x0e\x32(.enumMultitaskStrategy.MultitaskStrategyH\x06\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\t \x01(\x0cH\x07\x88\x01\x01\x12\x37\n\nextra_json\x18\n \x03(\x0b\x32#.coreApi.CronPayload.ExtraJsonEntry\x1a\x30\n\x0e\x45xtraJsonEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\x42\r\n\x0b_input_jsonB\t\n\x07_configB\x0f\n\r_context_jsonB\n\n\x08_webhookB\x13\n\x11_interrupt_beforeB\x12\n\x10_interrupt_afterB\x15\n\x13_multitask_strategyB\x10\n\x0e_metadata_json\"\xcb\x04\n\x04\x43ron\x12\x1e\n\x07\x63ron_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x14\n\x0c\x61ssistant_id\x18\x02 \x01(\t\x12%\n\tthread_id\x18\x03 \x01(\x0b\x32\r.coreApi.UUIDH\x00\x88\x01\x01\x12I\n\x10on_run_completed\x18\x04 \x01(\x0e\x32*.enumCronOnRunCompleted.CronOnRunCompletedH\x01\x88\x01\x01\x12\x31\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x02\x88\x01\x01\x12\x10\n\x08schedule\x18\x06 \x01(\t\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x07user_id\x18\t \x01(\tH\x03\x88\x01\x01\x12%\n\x07payload\x18\n \x01(\x0b\x32\x14.coreApi.CronPayload\x12\x31\n\rnext_run_date\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rmetadata_json\x18\x0c \x01(\x0c\x12\x0f\n\x07\x65nabled\x18\r \x01(\x08\x12\x15\n\x08timezone\x18\x0e \x01(\tH\x04\x88\x01\x01\x42\x0c\n\n_thread_idB\x13\n\x11_on_run_completedB\x0b\n\t_end_timeB\n\n\x08_user_idB\x0b\n\t_timezone\"\x9a\x05\n\x11\x43reateCronRequest\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x10\n\x08schedule\x18\x02 \x01(\t\x12%\n\x07payload\x18\x03 \x01(\x0b\x32\x14.coreApi.CronPayload\x12\x15\n\rmetadata_json\x18\x04 \x01(\x0c\x12#\n\x07\x63ron_id\x18\x05 \x01(\x0b\x32\r.coreApi.UUIDH\x00\x88\x01\x01\x12%\n\tthread_id\x18\x06 \x01(\x0b\x32\r.coreApi.UUIDH\x01\x88\x01\x01\x12I\n\x10on_run_completed\x18\x07 \x01(\x0e\x32*.enumCronOnRunCompleted.CronOnRunCompletedH\x02\x88\x01\x01\x12\x31\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03\x88\x01\x01\x12\x0f\n\x07\x65nabled\x18\t \x01(\x08\x12.\n\x11\x61ssistant_filters\x18\n \x03(\x0b\x32\x13.coreApi.AuthFilter\x12+\n\x0ethread_filters\x18\x0b \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x14\n\x07user_id\x18\x0c \x01(\tH\x04\x88\x01\x01\x12>\n\x12\x65ncryption_context\x18\r \x01(\x0b\x32\x1d.encryption.EncryptionContextH\x05\x88\x01\x01\x12\x15\n\x08timezone\x18\x0e \x01(\tH\x06\x88\x01\x01\x42\n\n\x08_cron_idB\x0c\n\n_thread_idB\x13\n\x11_on_run_completedB\x0b\n\t_end_timeB\n\n\x08_user_idB\x15\n\x13_encryption_contextB\x0b\n\t_timezone\"Y\n\x11\x44\x65leteCronRequest\x12\x1e\n\x07\x63ron_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\"V\n\x0eGetCronRequest\x12\x1e\n\x07\x63ron_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\"\xe9\x03\n\x12SearchCronsRequest\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12+\n\x0ethread_filters\x18\n \x03(\x0b\x32\x13.coreApi.AuthFilter\x12(\n\x0c\x61ssistant_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUIDH\x00\x88\x01\x01\x12%\n\tthread_id\x18\x03 \x01(\x0b\x32\r.coreApi.UUIDH\x01\x88\x01\x01\x12\x12\n\x05limit\x18\x04 \x01(\x04H\x02\x88\x01\x01\x12\x13\n\x06offset\x18\x05 \x01(\x04H\x03\x88\x01\x01\x12*\n\x07sort_by\x18\x06 \x01(\x0e\x32\x14.coreApi.CronsSortByH\x04\x88\x01\x01\x12+\n\nsort_order\x18\x07 \x01(\x0e\x32\x12.coreApi.SortOrderH\x05\x88\x01\x01\x12\x0e\n\x06select\x18\x08 \x03(\t\x12\x14\n\x07\x65nabled\x18\t \x01(\x08H\x06\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\x0b \x01(\x0cH\x07\x88\x01\x01\x42\x0f\n\r_assistant_idB\x0c\n\n_thread_idB\x08\n\x06_limitB\t\n\x07_offsetB\n\n\x08_sort_byB\r\n\x0b_sort_orderB\n\n\x08_enabledB\x10\n\x0e_metadata_json\"3\n\x13SearchCronsResponse\x12\x1c\n\x05\x63rons\x18\x01 \x03(\x0b\x32\r.coreApi.Cron\"\x84\x02\n\x11\x43ountCronsRequest\x12$\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12+\n\x0ethread_filters\x18\x04 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12(\n\x0c\x61ssistant_id\x18\x02 \x01(\x0b\x32\r.coreApi.UUIDH\x00\x88\x01\x01\x12%\n\tthread_id\x18\x03 \x01(\x0b\x32\r.coreApi.UUIDH\x01\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\x05 \x01(\x0cH\x02\x88\x01\x01\x42\x0f\n\r_assistant_idB\x0c\n\n_thread_idB\x10\n\x0e_metadata_json\"\xb7\x04\n\x10PatchCronRequest\x12\x1e\n\x07\x63ron_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12$\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x13.coreApi.AuthFilter\x12\x15\n\x08schedule\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x31\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x88\x01\x01\x12\x14\n\x07\x65nabled\x18\x05 \x01(\x08H\x02\x88\x01\x01\x12I\n\x10on_run_completed\x18\x06 \x01(\x0e\x32*.enumCronOnRunCompleted.CronOnRunCompletedH\x03\x88\x01\x01\x12*\n\x07payload\x18\x07 \x01(\x0b\x32\x14.coreApi.CronPayloadH\x04\x88\x01\x01\x12\x1a\n\rmetadata_json\x18\x08 \x01(\x0cH\x05\x88\x01\x01\x12>\n\x12\x65ncryption_context\x18\t \x01(\x0b\x32\x1d.encryption.EncryptionContextH\x06\x88\x01\x01\x12\x15\n\x08timezone\x18\n \x01(\tH\x07\x88\x01\x01\x12\x16\n\x0e\x63lear_end_time\x18\x0b \x01(\x08\x42\x0b\n\t_scheduleB\x0b\n\t_end_timeB\n\n\x08_enabledB\x13\n\x11_on_run_completedB\n\n\x08_payloadB\x10\n\x0e_metadata_jsonB\x15\n\x13_encryption_contextB\x0b\n\t_timezone\"\xaa\x01\n\x0b\x43ronWithNow\x12\x1b\n\x04\x63ron\x18\x01 \x01(\x0b\x32\r.coreApi.Cron\x12\'\n\x03now\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x12\x65ncryption_context\x18\x03 \x01(\x0b\x32\x1d.encryption.EncryptionContextH\x00\x88\x01\x01\x42\x15\n\x13_encryption_context\"!\n\x10NextCronsRequest\x12\r\n\x05limit\x18\x01 \x01(\x05\"8\n\x11NextCronsResponse\x12#\n\x05\x63rons\x18\x01 \x03(\x0b\x32\x14.coreApi.CronWithNow\"j\n\x15SetNextRunDateRequest\x12\x1e\n\x07\x63ron_id\x18\x01 \x01(\x0b\x32\r.coreApi.UUID\x12\x31\n\rnext_run_date\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"b\n\x0f\x43\x61\x63heSetRequest\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\x12+\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x42\x06\n\x04_ttl\"\x1e\n\x0f\x43\x61\x63heGetRequest\x12\x0b\n\x03key\x18\x01 \x01(\t\"0\n\x10\x43\x61\x63heGetResponse\x12\x12\n\x05value\x18\x01 \x01(\x0cH\x00\x88\x01\x01\x42\x08\n\x06_value*/\n\x12OnConflictBehavior\x12\t\n\x05RAISE\x10\x00\x12\x0e\n\nDO_NOTHING\x10\x01*\x1e\n\tSortOrder\x12\x08\n\x04\x44\x45SC\x10\x00\x12\x07\n\x03\x41SC\x10\x01*m\n\x10\x41ssistantsSortBy\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x10\n\x0c\x41SSISTANT_ID\x10\x01\x12\x0c\n\x08GRAPH_ID\x10\x02\x12\x08\n\x04NAME\x10\x03\x12\x0e\n\nCREATED_AT\x10\x04\x12\x0e\n\nUPDATED_AT\x10\x05*X\n\x11ThreadTTLStrategy\x12\x1e\n\x1aTHREAD_TTL_STRATEGY_DELETE\x10\x00\x12#\n\x1fTHREAD_TTL_STRATEGY_KEEP_LATEST\x10\x01*\xa8\x01\n\x10\x43heckpointSource\x12!\n\x1d\x43HECKPOINT_SOURCE_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x43HECKPOINT_SOURCE_INPUT\x10\x01\x12\x1a\n\x16\x43HECKPOINT_SOURCE_LOOP\x10\x02\x12\x1c\n\x18\x43HECKPOINT_SOURCE_UPDATE\x10\x03\x12\x1a\n\x16\x43HECKPOINT_SOURCE_FORK\x10\x04*\xd1\x01\n\rThreadsSortBy\x12\x1f\n\x1bTHREADS_SORT_BY_UNSPECIFIED\x10\x00\x12\x1d\n\x19THREADS_SORT_BY_THREAD_ID\x10\x01\x12\x1e\n\x1aTHREADS_SORT_BY_CREATED_AT\x10\x02\x12\x1e\n\x1aTHREADS_SORT_BY_UPDATED_AT\x10\x03\x12\x1a\n\x16THREADS_SORT_BY_STATUS\x10\x04\x12$\n THREADS_SORT_BY_STATE_UPDATED_AT\x10\x05*`\n\x11\x43reateRunBehavior\x12#\n\x1fREJECT_RUN_IF_THREAD_NOT_EXISTS\x10\x00\x12&\n\"CREATE_THREAD_IF_THREAD_NOT_EXISTS\x10\x01*j\n\x0f\x43\x61ncelRunStatus\x12\x1d\n\x19\x43\x41NCEL_RUN_STATUS_PENDING\x10\x00\x12\x1d\n\x19\x43\x41NCEL_RUN_STATUS_RUNNING\x10\x01\x12\x19\n\x15\x43\x41NCEL_RUN_STATUS_ALL\x10\x02*\xfd\x01\n\x0b\x43ronsSortBy\x12\x1d\n\x19\x43RONS_SORT_BY_UNSPECIFIED\x10\x00\x12\x19\n\x15\x43RONS_SORT_BY_CRON_ID\x10\x01\x12\x1e\n\x1a\x43RONS_SORT_BY_ASSISTANT_ID\x10\x02\x12\x1b\n\x17\x43RONS_SORT_BY_THREAD_ID\x10\x03\x12\x1f\n\x1b\x43RONS_SORT_BY_NEXT_RUN_DATE\x10\x04\x12\x1a\n\x16\x43RONS_SORT_BY_END_TIME\x10\x05\x12\x1c\n\x18\x43RONS_SORT_BY_CREATED_AT\x10\x06\x12\x1c\n\x18\x43RONS_SORT_BY_UPDATED_AT\x10\x07\x32\xc1\x04\n\nAssistants\x12\x37\n\x03Get\x12\x1c.coreApi.GetAssistantRequest\x1a\x12.coreApi.Assistant\x12=\n\x06\x43reate\x12\x1f.coreApi.CreateAssistantRequest\x1a\x12.coreApi.Assistant\x12;\n\x05Patch\x12\x1e.coreApi.PatchAssistantRequest\x1a\x12.coreApi.Assistant\x12L\n\x06\x44\x65lete\x12\x1f.coreApi.DeleteAssistantRequest\x1a!.coreApi.DeleteAssistantsResponse\x12M\n\x06Search\x12 .coreApi.SearchAssistantsRequest\x1a!.coreApi.SearchAssistantsResponse\x12\x43\n\tSetLatest\x12\".coreApi.SetLatestAssistantRequest\x1a\x12.coreApi.Assistant\x12Z\n\x0bGetVersions\x12$.coreApi.GetAssistantVersionsRequest\x1a%.coreApi.GetAssistantVersionsResponse\x12@\n\x05\x43ount\x12\x1f.coreApi.CountAssistantsRequest\x1a\x16.coreApi.CountResponse2E\n\x05\x41\x64min\x12<\n\x08Truncate\x12\x18.coreApi.TruncateRequest\x1a\x16.google.protobuf.Empty2\x82\x06\n\x07Threads\x12\x37\n\x06\x43reate\x12\x1c.coreApi.CreateThreadRequest\x1a\x0f.coreApi.Thread\x12\x31\n\x03Get\x12\x19.coreApi.GetThreadRequest\x1a\x0f.coreApi.Thread\x12\x35\n\x05Patch\x12\x1b.coreApi.PatchThreadRequest\x1a\x0f.coreApi.Thread\x12\x35\n\x06\x44\x65lete\x12\x1c.coreApi.DeleteThreadRequest\x1a\r.coreApi.UUID\x12G\n\x06Search\x12\x1d.coreApi.SearchThreadsRequest\x1a\x1e.coreApi.SearchThreadsResponse\x12=\n\x05\x43ount\x12\x1c.coreApi.CountThreadsRequest\x1a\x16.coreApi.CountResponse\x12\x33\n\x04\x43opy\x12\x1a.coreApi.CopyThreadRequest\x1a\x0f.coreApi.Thread\x12\x44\n\tSetStatus\x12\x1f.coreApi.SetThreadStatusRequest\x1a\x16.google.protobuf.Empty\x12>\n\x06Stream\x12\x1c.coreApi.StreamThreadRequest\x1a\x14.coreApi.StreamEvent0\x01\x12N\n\x0eSetJointStatus\x12$.coreApi.SetThreadJointStatusRequest\x1a\x16.google.protobuf.Empty\x12\x45\n\nGetGraphID\x12\x1a.coreApi.GetGraphIDRequest\x1a\x1b.coreApi.GetGraphIDResponse\x12\x43\n\x07Storage\x12 .coreApi.GetThreadStorageRequest\x1a\x16.coreApi.ThreadStorage2\x94\t\n\x04Runs\x12?\n\x06\x43reate\x12\x19.coreApi.CreateRunRequest\x1a\x1a.coreApi.CreateRunResponse\x12+\n\x03Get\x12\x16.coreApi.GetRunRequest\x1a\x0c.coreApi.Run\x12\x32\n\x06\x44\x65lete\x12\x19.coreApi.DeleteRunRequest\x1a\r.coreApi.UUID\x12\x41\n\x06Search\x12\x1a.coreApi.SearchRunsRequest\x1a\x1b.coreApi.SearchRunsResponse\x12;\n\x06\x43\x61ncel\x12\x19.coreApi.CancelRunRequest\x1a\x16.google.protobuf.Empty\x12\x63\n\x14\x43\x61ncelAcceptedBefore\x12$.coreApi.CancelAcceptedBeforeRequest\x1a%.coreApi.CancelAcceptedBeforeResponse\x12\x41\n\tSetStatus\x12\x1c.coreApi.SetRunStatusRequest\x1a\x16.google.protobuf.Empty\x12=\n\x07Requeue\x12\x1a.coreApi.RequeueRunRequest\x1a\x16.google.protobuf.Empty\x12\x43\n\x06Stream\x12\x1f.coreApi.StreamRunClientMessage\x1a\x14.coreApi.StreamEvent(\x01\x30\x01\x12\x45\n\x07Publish\x12\".coreApi.PublishStreamEventRequest\x1a\x16.google.protobuf.Empty\x12:\n\x05\x45nter\x12\x18.coreApi.EnterRunRequest\x1a\x15.coreApi.ControlEvent0\x01\x12?\n\x08MarkDone\x12\x1b.coreApi.MarkRunDoneRequest\x1a\x16.google.protobuf.Empty\x12\x32\n\x05Stats\x12\x16.google.protobuf.Empty\x1a\x11.coreApi.RunStats\x12\x41\n\tPoolStats\x12\x16.google.protobuf.Empty\x1a\x1c.coreApi.ConnectionPoolStats\x12O\n\x11PrometheusMetrics\x12\x16.google.protobuf.Empty\x1a\".coreApi.PrometheusMetricsResponse\x12:\n\x05\x43ount\x12\x19.coreApi.CountRunsRequest\x1a\x16.coreApi.CountResponse\x12\x39\n\x04Next\x12\x17.coreApi.NextRunRequest\x1a\x18.coreApi.NextRunResponse\x12;\n\x05Sweep\x12\x16.google.protobuf.Empty\x1a\x1a.coreApi.SweepRunsResponse2\xe7\x03\n\x05\x43rons\x12\x33\n\x06\x43reate\x12\x1a.coreApi.CreateCronRequest\x1a\r.coreApi.Cron\x12-\n\x03Get\x12\x17.coreApi.GetCronRequest\x1a\r.coreApi.Cron\x12\x31\n\x05Patch\x12\x19.coreApi.PatchCronRequest\x1a\r.coreApi.Cron\x12<\n\x06\x44\x65lete\x12\x1a.coreApi.DeleteCronRequest\x1a\x16.google.protobuf.Empty\x12\x43\n\x06Search\x12\x1b.coreApi.SearchCronsRequest\x1a\x1c.coreApi.SearchCronsResponse\x12;\n\x05\x43ount\x12\x1a.coreApi.CountCronsRequest\x1a\x16.coreApi.CountResponse\x12=\n\x04Next\x12\x19.coreApi.NextCronsRequest\x1a\x1a.coreApi.NextCronsResponse\x12H\n\x0eSetNextRunDate\x12\x1e.coreApi.SetNextRunDateRequest\x1a\x16.google.protobuf.Empty2|\n\x05\x43\x61\x63he\x12\x37\n\x03Set\x12\x18.coreApi.CacheSetRequest\x1a\x16.google.protobuf.Empty\x12:\n\x03Get\x12\x18.coreApi.CacheGetRequest\x1a\x19.coreApi.CacheGetResponseBAZ?github.com/langchain-ai/langgraph-api/core/internal/core-api/pbb\x06proto3')
43
43
 
44
44
  _globals = globals()
45
45
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -55,24 +55,24 @@ if not _descriptor._USE_C_DESCRIPTORS:
55
55
  _globals['_SEARCHTHREADSREQUEST_EXTRACTENTRY']._serialized_options = b'8\001'
56
56
  _globals['_CRONPAYLOAD_EXTRAJSONENTRY']._loaded_options = None
57
57
  _globals['_CRONPAYLOAD_EXTRAJSONENTRY']._serialized_options = b'8\001'
58
- _globals['_ONCONFLICTBEHAVIOR']._serialized_start=19824
59
- _globals['_ONCONFLICTBEHAVIOR']._serialized_end=19871
60
- _globals['_SORTORDER']._serialized_start=19873
61
- _globals['_SORTORDER']._serialized_end=19903
62
- _globals['_ASSISTANTSSORTBY']._serialized_start=19905
63
- _globals['_ASSISTANTSSORTBY']._serialized_end=20014
64
- _globals['_THREADTTLSTRATEGY']._serialized_start=20016
65
- _globals['_THREADTTLSTRATEGY']._serialized_end=20104
66
- _globals['_CHECKPOINTSOURCE']._serialized_start=20107
67
- _globals['_CHECKPOINTSOURCE']._serialized_end=20275
68
- _globals['_THREADSSORTBY']._serialized_start=20278
69
- _globals['_THREADSSORTBY']._serialized_end=20487
70
- _globals['_CREATERUNBEHAVIOR']._serialized_start=20489
71
- _globals['_CREATERUNBEHAVIOR']._serialized_end=20585
72
- _globals['_CANCELRUNSTATUS']._serialized_start=20587
73
- _globals['_CANCELRUNSTATUS']._serialized_end=20693
74
- _globals['_CRONSSORTBY']._serialized_start=20696
75
- _globals['_CRONSSORTBY']._serialized_end=20949
58
+ _globals['_ONCONFLICTBEHAVIOR']._serialized_start=20124
59
+ _globals['_ONCONFLICTBEHAVIOR']._serialized_end=20171
60
+ _globals['_SORTORDER']._serialized_start=20173
61
+ _globals['_SORTORDER']._serialized_end=20203
62
+ _globals['_ASSISTANTSSORTBY']._serialized_start=20205
63
+ _globals['_ASSISTANTSSORTBY']._serialized_end=20314
64
+ _globals['_THREADTTLSTRATEGY']._serialized_start=20316
65
+ _globals['_THREADTTLSTRATEGY']._serialized_end=20404
66
+ _globals['_CHECKPOINTSOURCE']._serialized_start=20407
67
+ _globals['_CHECKPOINTSOURCE']._serialized_end=20575
68
+ _globals['_THREADSSORTBY']._serialized_start=20578
69
+ _globals['_THREADSSORTBY']._serialized_end=20787
70
+ _globals['_CREATERUNBEHAVIOR']._serialized_start=20789
71
+ _globals['_CREATERUNBEHAVIOR']._serialized_end=20885
72
+ _globals['_CANCELRUNSTATUS']._serialized_start=20887
73
+ _globals['_CANCELRUNSTATUS']._serialized_end=20993
74
+ _globals['_CRONSSORTBY']._serialized_start=20996
75
+ _globals['_CRONSSORTBY']._serialized_end=21249
76
76
  _globals['_TAGS']._serialized_start=450
77
77
  _globals['_TAGS']._serialized_end=472
78
78
  _globals['_EQAUTHFILTER']._serialized_start=474
@@ -154,145 +154,145 @@ if not _descriptor._USE_C_DESCRIPTORS:
154
154
  _globals['_COPYTHREADREQUEST']._serialized_start=7080
155
155
  _globals['_COPYTHREADREQUEST']._serialized_end=7171
156
156
  _globals['_SEARCHTHREADSREQUEST']._serialized_start=7174
157
- _globals['_SEARCHTHREADSREQUEST']._serialized_end=7781
158
- _globals['_SEARCHTHREADSREQUEST_EXTRACTENTRY']._serialized_start=7616
159
- _globals['_SEARCHTHREADSREQUEST_EXTRACTENTRY']._serialized_end=7662
160
- _globals['_SEARCHTHREADSRESPONSE']._serialized_start=7783
161
- _globals['_SEARCHTHREADSRESPONSE']._serialized_end=7840
162
- _globals['_COUNTTHREADSREQUEST']._serialized_start=7843
163
- _globals['_COUNTTHREADSREQUEST']._serialized_end=8116
164
- _globals['_SETTHREADSTATUSREQUEST']._serialized_start=8119
165
- _globals['_SETTHREADSTATUSREQUEST']._serialized_end=8442
166
- _globals['_SETTHREADJOINTSTATUSREQUEST']._serialized_start=8445
167
- _globals['_SETTHREADJOINTSTATUSREQUEST']._serialized_end=8809
168
- _globals['_STREAMTHREADREQUEST']._serialized_start=8812
169
- _globals['_STREAMTHREADREQUEST']._serialized_end=9013
170
- _globals['_GETTHREADSTORAGEREQUEST']._serialized_start=9015
171
- _globals['_GETTHREADSTORAGEREQUEST']._serialized_end=9112
172
- _globals['_STORAGETOTALS']._serialized_start=9114
173
- _globals['_STORAGETOTALS']._serialized_end=9159
174
- _globals['_CHANNELSTORAGE']._serialized_start=9161
175
- _globals['_CHANNELSTORAGE']._serialized_end=9227
176
- _globals['_CHANNELVALUESSTORAGE']._serialized_start=9229
177
- _globals['_CHANNELVALUESSTORAGE']._serialized_end=9326
178
- _globals['_THREADSTORAGE']._serialized_start=9329
179
- _globals['_THREADSTORAGE']._serialized_end=9513
180
- _globals['_RUNKWARGS']._serialized_start=9516
181
- _globals['_RUNKWARGS']._serialized_end=10259
182
- _globals['_RUN']._serialized_start=10262
183
- _globals['_RUN']._serialized_end=10778
184
- _globals['_PRIORITYSTATS']._serialized_start=10781
185
- _globals['_PRIORITYSTATS']._serialized_end=11016
186
- _globals['_RUNSTATS']._serialized_start=11019
187
- _globals['_RUNSTATS']._serialized_end=11378
188
- _globals['_POSTGRESPOOLSTATS']._serialized_start=11381
189
- _globals['_POSTGRESPOOLSTATS']._serialized_end=11511
190
- _globals['_REDISPOOLSTATS']._serialized_start=11513
191
- _globals['_REDISPOOLSTATS']._serialized_end=11608
192
- _globals['_CONNECTIONPOOLSTATS']._serialized_start=11611
193
- _globals['_CONNECTIONPOOLSTATS']._serialized_end=11751
194
- _globals['_PROMETHEUSMETRICSRESPONSE']._serialized_start=11753
195
- _globals['_PROMETHEUSMETRICSRESPONSE']._serialized_end=11794
196
- _globals['_NEXTRUNREQUEST']._serialized_start=11796
197
- _globals['_NEXTRUNREQUEST']._serialized_end=11841
198
- _globals['_RUNWITHATTEMPT']._serialized_start=11844
199
- _globals['_RUNWITHATTEMPT']._serialized_end=11979
200
- _globals['_REQUEUERUNREQUEST']._serialized_start=11981
201
- _globals['_REQUEUERUNREQUEST']._serialized_end=12047
202
- _globals['_NEXTRUNRESPONSE']._serialized_start=12049
203
- _globals['_NEXTRUNRESPONSE']._serialized_end=12105
204
- _globals['_CREATERUNREQUEST']._serialized_start=12108
205
- _globals['_CREATERUNREQUEST']._serialized_end=13130
206
- _globals['_PRIORITYSETTINGS']._serialized_start=13132
207
- _globals['_PRIORITYSETTINGS']._serialized_end=13192
208
- _globals['_GETRUNREQUEST']._serialized_start=13195
209
- _globals['_GETRUNREQUEST']._serialized_end=13379
210
- _globals['_DELETERUNREQUEST']._serialized_start=13381
211
- _globals['_DELETERUNREQUEST']._serialized_end=13502
212
- _globals['_CANCELRUNIDSTARGET']._serialized_start=13504
213
- _globals['_CANCELRUNIDSTARGET']._serialized_end=13590
214
- _globals['_CANCELSTATUSTARGET']._serialized_start=13592
215
- _globals['_CANCELSTATUSTARGET']._serialized_end=13654
216
- _globals['_CANCELRUNREQUEST']._serialized_start=13657
217
- _globals['_CANCELRUNREQUEST']._serialized_end=13920
218
- _globals['_CANCELACCEPTEDBEFOREREQUEST']._serialized_start=13922
219
- _globals['_CANCELACCEPTEDBEFOREREQUEST']._serialized_end=14020
220
- _globals['_CANCELACCEPTEDBEFORERESPONSE']._serialized_start=14022
221
- _globals['_CANCELACCEPTEDBEFORERESPONSE']._serialized_end=14096
222
- _globals['_SEARCHRUNSREQUEST']._serialized_start=14099
223
- _globals['_SEARCHRUNSREQUEST']._serialized_end=14326
224
- _globals['_SEARCHRUNSRESPONSE']._serialized_start=14328
225
- _globals['_SEARCHRUNSRESPONSE']._serialized_end=14376
226
- _globals['_SETRUNSTATUSREQUEST']._serialized_start=14378
227
- _globals['_SETRUNSTATUSREQUEST']._serialized_end=14472
228
- _globals['_SWEEPRUNSRESPONSE']._serialized_start=14474
229
- _globals['_SWEEPRUNSRESPONSE']._serialized_end=14525
230
- _globals['_COUNTRUNSREQUEST']._serialized_start=14527
231
- _globals['_COUNTRUNSREQUEST']._serialized_end=14597
232
- _globals['_STREAMRUNCLIENTMESSAGE']._serialized_start=14599
233
- _globals['_STREAMRUNCLIENTMESSAGE']._serialized_end=14726
234
- _globals['_SUBSCRIBERUNREQUEST']._serialized_start=14728
235
- _globals['_SUBSCRIBERUNREQUEST']._serialized_end=14814
236
- _globals['_JOINRUNREQUEST']._serialized_start=14817
237
- _globals['_JOINRUNREQUEST']._serialized_end=15093
238
- _globals['_ENTERRUNREQUEST']._serialized_start=15095
239
- _globals['_ENTERRUNREQUEST']._serialized_end=15196
240
- _globals['_MARKRUNDONEREQUEST']._serialized_start=15198
241
- _globals['_MARKRUNDONEREQUEST']._serialized_end=15302
242
- _globals['_PUBLISHSTREAMEVENTREQUEST']._serialized_start=15305
243
- _globals['_PUBLISHSTREAMEVENTREQUEST']._serialized_end=15539
244
- _globals['_GETGRAPHIDREQUEST']._serialized_start=15541
245
- _globals['_GETGRAPHIDREQUEST']._serialized_end=15594
246
- _globals['_GETGRAPHIDRESPONSE']._serialized_start=15596
247
- _globals['_GETGRAPHIDRESPONSE']._serialized_end=15652
248
- _globals['_CREATERUNRESPONSE']._serialized_start=15654
249
- _globals['_CREATERUNRESPONSE']._serialized_end=15701
250
- _globals['_CONTROLEVENT']._serialized_start=15703
251
- _globals['_CONTROLEVENT']._serialized_end=15799
252
- _globals['_CRONPAYLOAD']._serialized_start=15802
253
- _globals['_CRONPAYLOAD']._serialized_end=16450
254
- _globals['_CRONPAYLOAD_EXTRAJSONENTRY']._serialized_start=16265
255
- _globals['_CRONPAYLOAD_EXTRAJSONENTRY']._serialized_end=16313
256
- _globals['_CRON']._serialized_start=16453
257
- _globals['_CRON']._serialized_end=17040
258
- _globals['_CREATECRONREQUEST']._serialized_start=17043
259
- _globals['_CREATECRONREQUEST']._serialized_end=17709
260
- _globals['_DELETECRONREQUEST']._serialized_start=17711
261
- _globals['_DELETECRONREQUEST']._serialized_end=17800
262
- _globals['_GETCRONREQUEST']._serialized_start=17802
263
- _globals['_GETCRONREQUEST']._serialized_end=17888
264
- _globals['_SEARCHCRONSREQUEST']._serialized_start=17891
265
- _globals['_SEARCHCRONSREQUEST']._serialized_end=18380
266
- _globals['_SEARCHCRONSRESPONSE']._serialized_start=18382
267
- _globals['_SEARCHCRONSRESPONSE']._serialized_end=18433
268
- _globals['_COUNTCRONSREQUEST']._serialized_start=18436
269
- _globals['_COUNTCRONSREQUEST']._serialized_end=18696
270
- _globals['_PATCHCRONREQUEST']._serialized_start=18699
271
- _globals['_PATCHCRONREQUEST']._serialized_end=19266
272
- _globals['_CRONWITHNOW']._serialized_start=19269
273
- _globals['_CRONWITHNOW']._serialized_end=19439
274
- _globals['_NEXTCRONSREQUEST']._serialized_start=19441
275
- _globals['_NEXTCRONSREQUEST']._serialized_end=19474
276
- _globals['_NEXTCRONSRESPONSE']._serialized_start=19476
277
- _globals['_NEXTCRONSRESPONSE']._serialized_end=19532
278
- _globals['_SETNEXTRUNDATEREQUEST']._serialized_start=19534
279
- _globals['_SETNEXTRUNDATEREQUEST']._serialized_end=19640
280
- _globals['_CACHESETREQUEST']._serialized_start=19642
281
- _globals['_CACHESETREQUEST']._serialized_end=19740
282
- _globals['_CACHEGETREQUEST']._serialized_start=19742
283
- _globals['_CACHEGETREQUEST']._serialized_end=19772
284
- _globals['_CACHEGETRESPONSE']._serialized_start=19774
285
- _globals['_CACHEGETRESPONSE']._serialized_end=19822
286
- _globals['_ASSISTANTS']._serialized_start=20952
287
- _globals['_ASSISTANTS']._serialized_end=21529
288
- _globals['_ADMIN']._serialized_start=21531
289
- _globals['_ADMIN']._serialized_end=21600
290
- _globals['_THREADS']._serialized_start=21603
291
- _globals['_THREADS']._serialized_end=22373
292
- _globals['_RUNS']._serialized_start=22376
293
- _globals['_RUNS']._serialized_end=23548
294
- _globals['_CRONS']._serialized_start=23551
295
- _globals['_CRONS']._serialized_end=24038
296
- _globals['_CACHE']._serialized_start=24040
297
- _globals['_CACHE']._serialized_end=24164
157
+ _globals['_SEARCHTHREADSREQUEST']._serialized_end=7931
158
+ _globals['_SEARCHTHREADSREQUEST_EXTRACTENTRY']._serialized_start=7729
159
+ _globals['_SEARCHTHREADSREQUEST_EXTRACTENTRY']._serialized_end=7775
160
+ _globals['_SEARCHTHREADSRESPONSE']._serialized_start=7933
161
+ _globals['_SEARCHTHREADSRESPONSE']._serialized_end=7990
162
+ _globals['_COUNTTHREADSREQUEST']._serialized_start=7993
163
+ _globals['_COUNTTHREADSREQUEST']._serialized_end=8416
164
+ _globals['_SETTHREADSTATUSREQUEST']._serialized_start=8419
165
+ _globals['_SETTHREADSTATUSREQUEST']._serialized_end=8742
166
+ _globals['_SETTHREADJOINTSTATUSREQUEST']._serialized_start=8745
167
+ _globals['_SETTHREADJOINTSTATUSREQUEST']._serialized_end=9109
168
+ _globals['_STREAMTHREADREQUEST']._serialized_start=9112
169
+ _globals['_STREAMTHREADREQUEST']._serialized_end=9313
170
+ _globals['_GETTHREADSTORAGEREQUEST']._serialized_start=9315
171
+ _globals['_GETTHREADSTORAGEREQUEST']._serialized_end=9412
172
+ _globals['_STORAGETOTALS']._serialized_start=9414
173
+ _globals['_STORAGETOTALS']._serialized_end=9459
174
+ _globals['_CHANNELSTORAGE']._serialized_start=9461
175
+ _globals['_CHANNELSTORAGE']._serialized_end=9527
176
+ _globals['_CHANNELVALUESSTORAGE']._serialized_start=9529
177
+ _globals['_CHANNELVALUESSTORAGE']._serialized_end=9626
178
+ _globals['_THREADSTORAGE']._serialized_start=9629
179
+ _globals['_THREADSTORAGE']._serialized_end=9813
180
+ _globals['_RUNKWARGS']._serialized_start=9816
181
+ _globals['_RUNKWARGS']._serialized_end=10559
182
+ _globals['_RUN']._serialized_start=10562
183
+ _globals['_RUN']._serialized_end=11078
184
+ _globals['_PRIORITYSTATS']._serialized_start=11081
185
+ _globals['_PRIORITYSTATS']._serialized_end=11316
186
+ _globals['_RUNSTATS']._serialized_start=11319
187
+ _globals['_RUNSTATS']._serialized_end=11678
188
+ _globals['_POSTGRESPOOLSTATS']._serialized_start=11681
189
+ _globals['_POSTGRESPOOLSTATS']._serialized_end=11811
190
+ _globals['_REDISPOOLSTATS']._serialized_start=11813
191
+ _globals['_REDISPOOLSTATS']._serialized_end=11908
192
+ _globals['_CONNECTIONPOOLSTATS']._serialized_start=11911
193
+ _globals['_CONNECTIONPOOLSTATS']._serialized_end=12051
194
+ _globals['_PROMETHEUSMETRICSRESPONSE']._serialized_start=12053
195
+ _globals['_PROMETHEUSMETRICSRESPONSE']._serialized_end=12094
196
+ _globals['_NEXTRUNREQUEST']._serialized_start=12096
197
+ _globals['_NEXTRUNREQUEST']._serialized_end=12141
198
+ _globals['_RUNWITHATTEMPT']._serialized_start=12144
199
+ _globals['_RUNWITHATTEMPT']._serialized_end=12279
200
+ _globals['_REQUEUERUNREQUEST']._serialized_start=12281
201
+ _globals['_REQUEUERUNREQUEST']._serialized_end=12347
202
+ _globals['_NEXTRUNRESPONSE']._serialized_start=12349
203
+ _globals['_NEXTRUNRESPONSE']._serialized_end=12405
204
+ _globals['_CREATERUNREQUEST']._serialized_start=12408
205
+ _globals['_CREATERUNREQUEST']._serialized_end=13430
206
+ _globals['_PRIORITYSETTINGS']._serialized_start=13432
207
+ _globals['_PRIORITYSETTINGS']._serialized_end=13492
208
+ _globals['_GETRUNREQUEST']._serialized_start=13495
209
+ _globals['_GETRUNREQUEST']._serialized_end=13679
210
+ _globals['_DELETERUNREQUEST']._serialized_start=13681
211
+ _globals['_DELETERUNREQUEST']._serialized_end=13802
212
+ _globals['_CANCELRUNIDSTARGET']._serialized_start=13804
213
+ _globals['_CANCELRUNIDSTARGET']._serialized_end=13890
214
+ _globals['_CANCELSTATUSTARGET']._serialized_start=13892
215
+ _globals['_CANCELSTATUSTARGET']._serialized_end=13954
216
+ _globals['_CANCELRUNREQUEST']._serialized_start=13957
217
+ _globals['_CANCELRUNREQUEST']._serialized_end=14220
218
+ _globals['_CANCELACCEPTEDBEFOREREQUEST']._serialized_start=14222
219
+ _globals['_CANCELACCEPTEDBEFOREREQUEST']._serialized_end=14320
220
+ _globals['_CANCELACCEPTEDBEFORERESPONSE']._serialized_start=14322
221
+ _globals['_CANCELACCEPTEDBEFORERESPONSE']._serialized_end=14396
222
+ _globals['_SEARCHRUNSREQUEST']._serialized_start=14399
223
+ _globals['_SEARCHRUNSREQUEST']._serialized_end=14626
224
+ _globals['_SEARCHRUNSRESPONSE']._serialized_start=14628
225
+ _globals['_SEARCHRUNSRESPONSE']._serialized_end=14676
226
+ _globals['_SETRUNSTATUSREQUEST']._serialized_start=14678
227
+ _globals['_SETRUNSTATUSREQUEST']._serialized_end=14772
228
+ _globals['_SWEEPRUNSRESPONSE']._serialized_start=14774
229
+ _globals['_SWEEPRUNSRESPONSE']._serialized_end=14825
230
+ _globals['_COUNTRUNSREQUEST']._serialized_start=14827
231
+ _globals['_COUNTRUNSREQUEST']._serialized_end=14897
232
+ _globals['_STREAMRUNCLIENTMESSAGE']._serialized_start=14899
233
+ _globals['_STREAMRUNCLIENTMESSAGE']._serialized_end=15026
234
+ _globals['_SUBSCRIBERUNREQUEST']._serialized_start=15028
235
+ _globals['_SUBSCRIBERUNREQUEST']._serialized_end=15114
236
+ _globals['_JOINRUNREQUEST']._serialized_start=15117
237
+ _globals['_JOINRUNREQUEST']._serialized_end=15393
238
+ _globals['_ENTERRUNREQUEST']._serialized_start=15395
239
+ _globals['_ENTERRUNREQUEST']._serialized_end=15496
240
+ _globals['_MARKRUNDONEREQUEST']._serialized_start=15498
241
+ _globals['_MARKRUNDONEREQUEST']._serialized_end=15602
242
+ _globals['_PUBLISHSTREAMEVENTREQUEST']._serialized_start=15605
243
+ _globals['_PUBLISHSTREAMEVENTREQUEST']._serialized_end=15839
244
+ _globals['_GETGRAPHIDREQUEST']._serialized_start=15841
245
+ _globals['_GETGRAPHIDREQUEST']._serialized_end=15894
246
+ _globals['_GETGRAPHIDRESPONSE']._serialized_start=15896
247
+ _globals['_GETGRAPHIDRESPONSE']._serialized_end=15952
248
+ _globals['_CREATERUNRESPONSE']._serialized_start=15954
249
+ _globals['_CREATERUNRESPONSE']._serialized_end=16001
250
+ _globals['_CONTROLEVENT']._serialized_start=16003
251
+ _globals['_CONTROLEVENT']._serialized_end=16099
252
+ _globals['_CRONPAYLOAD']._serialized_start=16102
253
+ _globals['_CRONPAYLOAD']._serialized_end=16750
254
+ _globals['_CRONPAYLOAD_EXTRAJSONENTRY']._serialized_start=16565
255
+ _globals['_CRONPAYLOAD_EXTRAJSONENTRY']._serialized_end=16613
256
+ _globals['_CRON']._serialized_start=16753
257
+ _globals['_CRON']._serialized_end=17340
258
+ _globals['_CREATECRONREQUEST']._serialized_start=17343
259
+ _globals['_CREATECRONREQUEST']._serialized_end=18009
260
+ _globals['_DELETECRONREQUEST']._serialized_start=18011
261
+ _globals['_DELETECRONREQUEST']._serialized_end=18100
262
+ _globals['_GETCRONREQUEST']._serialized_start=18102
263
+ _globals['_GETCRONREQUEST']._serialized_end=18188
264
+ _globals['_SEARCHCRONSREQUEST']._serialized_start=18191
265
+ _globals['_SEARCHCRONSREQUEST']._serialized_end=18680
266
+ _globals['_SEARCHCRONSRESPONSE']._serialized_start=18682
267
+ _globals['_SEARCHCRONSRESPONSE']._serialized_end=18733
268
+ _globals['_COUNTCRONSREQUEST']._serialized_start=18736
269
+ _globals['_COUNTCRONSREQUEST']._serialized_end=18996
270
+ _globals['_PATCHCRONREQUEST']._serialized_start=18999
271
+ _globals['_PATCHCRONREQUEST']._serialized_end=19566
272
+ _globals['_CRONWITHNOW']._serialized_start=19569
273
+ _globals['_CRONWITHNOW']._serialized_end=19739
274
+ _globals['_NEXTCRONSREQUEST']._serialized_start=19741
275
+ _globals['_NEXTCRONSREQUEST']._serialized_end=19774
276
+ _globals['_NEXTCRONSRESPONSE']._serialized_start=19776
277
+ _globals['_NEXTCRONSRESPONSE']._serialized_end=19832
278
+ _globals['_SETNEXTRUNDATEREQUEST']._serialized_start=19834
279
+ _globals['_SETNEXTRUNDATEREQUEST']._serialized_end=19940
280
+ _globals['_CACHESETREQUEST']._serialized_start=19942
281
+ _globals['_CACHESETREQUEST']._serialized_end=20040
282
+ _globals['_CACHEGETREQUEST']._serialized_start=20042
283
+ _globals['_CACHEGETREQUEST']._serialized_end=20072
284
+ _globals['_CACHEGETRESPONSE']._serialized_start=20074
285
+ _globals['_CACHEGETRESPONSE']._serialized_end=20122
286
+ _globals['_ASSISTANTS']._serialized_start=21252
287
+ _globals['_ASSISTANTS']._serialized_end=21829
288
+ _globals['_ADMIN']._serialized_start=21831
289
+ _globals['_ADMIN']._serialized_end=21900
290
+ _globals['_THREADS']._serialized_start=21903
291
+ _globals['_THREADS']._serialized_end=22673
292
+ _globals['_RUNS']._serialized_start=22676
293
+ _globals['_RUNS']._serialized_end=23848
294
+ _globals['_CRONS']._serialized_start=23851
295
+ _globals['_CRONS']._serialized_end=24338
296
+ _globals['_CACHE']._serialized_start=24340
297
+ _globals['_CACHE']._serialized_end=24464
298
298
  # @@protoc_insertion_point(module_scope)
@@ -1719,6 +1719,8 @@ class SearchThreadsRequest(_message.Message):
1719
1719
  IDS_FIELD_NUMBER: _builtins.int
1720
1720
  EXTRACT_FIELD_NUMBER: _builtins.int
1721
1721
  EXCLUDE_METADATA_JSON_FIELD_NUMBER: _builtins.int
1722
+ CREATED_AFTER_FIELD_NUMBER: _builtins.int
1723
+ CREATED_BEFORE_FIELD_NUMBER: _builtins.int
1722
1724
  metadata_json: _builtins.bytes
1723
1725
  values_json: _builtins.bytes
1724
1726
  status: _enum_thread_status_pb2.ThreadStatus.ValueType
@@ -1742,6 +1744,12 @@ class SearchThreadsRequest(_message.Message):
1742
1744
  Keys are user-defined aliases, values are paths like "values.messages[-1]".
1743
1745
  """
1744
1746
 
1747
+ @_builtins.property
1748
+ def created_after(self) -> _timestamp_pb2.Timestamp:
1749
+ """Time-range filters: *_after is inclusive, *_before is exclusive."""
1750
+
1751
+ @_builtins.property
1752
+ def created_before(self) -> _timestamp_pb2.Timestamp: ...
1745
1753
  def __init__(
1746
1754
  self,
1747
1755
  *,
@@ -1757,11 +1765,17 @@ class SearchThreadsRequest(_message.Message):
1757
1765
  ids: _abc.Iterable[Global___UUID] | None = ...,
1758
1766
  extract: _abc.Mapping[_builtins.str, _builtins.str] | None = ...,
1759
1767
  exclude_metadata_json: _builtins.bytes | None = ...,
1768
+ created_after: _timestamp_pb2.Timestamp | None = ...,
1769
+ created_before: _timestamp_pb2.Timestamp | None = ...,
1760
1770
  ) -> None: ...
1761
- _HasFieldArgType: _TypeAlias = _typing.Literal["_exclude_metadata_json", b"_exclude_metadata_json", "_limit", b"_limit", "_metadata_json", b"_metadata_json", "_offset", b"_offset", "_sort_by", b"_sort_by", "_sort_order", b"_sort_order", "_status", b"_status", "_values_json", b"_values_json", "exclude_metadata_json", b"exclude_metadata_json", "limit", b"limit", "metadata_json", b"metadata_json", "offset", b"offset", "sort_by", b"sort_by", "sort_order", b"sort_order", "status", b"status", "values_json", b"values_json"] # noqa: Y015
1771
+ _HasFieldArgType: _TypeAlias = _typing.Literal["_created_after", b"_created_after", "_created_before", b"_created_before", "_exclude_metadata_json", b"_exclude_metadata_json", "_limit", b"_limit", "_metadata_json", b"_metadata_json", "_offset", b"_offset", "_sort_by", b"_sort_by", "_sort_order", b"_sort_order", "_status", b"_status", "_values_json", b"_values_json", "created_after", b"created_after", "created_before", b"created_before", "exclude_metadata_json", b"exclude_metadata_json", "limit", b"limit", "metadata_json", b"metadata_json", "offset", b"offset", "sort_by", b"sort_by", "sort_order", b"sort_order", "status", b"status", "values_json", b"values_json"] # noqa: Y015
1762
1772
  def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
1763
- _ClearFieldArgType: _TypeAlias = _typing.Literal["_exclude_metadata_json", b"_exclude_metadata_json", "_limit", b"_limit", "_metadata_json", b"_metadata_json", "_offset", b"_offset", "_sort_by", b"_sort_by", "_sort_order", b"_sort_order", "_status", b"_status", "_values_json", b"_values_json", "exclude_metadata_json", b"exclude_metadata_json", "extract", b"extract", "filters", b"filters", "ids", b"ids", "limit", b"limit", "metadata_json", b"metadata_json", "offset", b"offset", "select", b"select", "sort_by", b"sort_by", "sort_order", b"sort_order", "status", b"status", "values_json", b"values_json"] # noqa: Y015
1773
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["_created_after", b"_created_after", "_created_before", b"_created_before", "_exclude_metadata_json", b"_exclude_metadata_json", "_limit", b"_limit", "_metadata_json", b"_metadata_json", "_offset", b"_offset", "_sort_by", b"_sort_by", "_sort_order", b"_sort_order", "_status", b"_status", "_values_json", b"_values_json", "created_after", b"created_after", "created_before", b"created_before", "exclude_metadata_json", b"exclude_metadata_json", "extract", b"extract", "filters", b"filters", "ids", b"ids", "limit", b"limit", "metadata_json", b"metadata_json", "offset", b"offset", "select", b"select", "sort_by", b"sort_by", "sort_order", b"sort_order", "status", b"status", "values_json", b"values_json"] # noqa: Y015
1764
1774
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
1775
+ _WhichOneofReturnType__created_after: _TypeAlias = _typing.Literal["created_after"] # noqa: Y015
1776
+ _WhichOneofArgType__created_after: _TypeAlias = _typing.Literal["_created_after", b"_created_after"] # noqa: Y015
1777
+ _WhichOneofReturnType__created_before: _TypeAlias = _typing.Literal["created_before"] # noqa: Y015
1778
+ _WhichOneofArgType__created_before: _TypeAlias = _typing.Literal["_created_before", b"_created_before"] # noqa: Y015
1765
1779
  _WhichOneofReturnType__exclude_metadata_json: _TypeAlias = _typing.Literal["exclude_metadata_json"] # noqa: Y015
1766
1780
  _WhichOneofArgType__exclude_metadata_json: _TypeAlias = _typing.Literal["_exclude_metadata_json", b"_exclude_metadata_json"] # noqa: Y015
1767
1781
  _WhichOneofReturnType__limit: _TypeAlias = _typing.Literal["limit"] # noqa: Y015
@@ -1779,6 +1793,10 @@ class SearchThreadsRequest(_message.Message):
1779
1793
  _WhichOneofReturnType__values_json: _TypeAlias = _typing.Literal["values_json"] # noqa: Y015
1780
1794
  _WhichOneofArgType__values_json: _TypeAlias = _typing.Literal["_values_json", b"_values_json"] # noqa: Y015
1781
1795
  @_typing.overload
1796
+ def WhichOneof(self, oneof_group: _WhichOneofArgType__created_after) -> _WhichOneofReturnType__created_after | None: ...
1797
+ @_typing.overload
1798
+ def WhichOneof(self, oneof_group: _WhichOneofArgType__created_before) -> _WhichOneofReturnType__created_before | None: ...
1799
+ @_typing.overload
1782
1800
  def WhichOneof(self, oneof_group: _WhichOneofArgType__exclude_metadata_json) -> _WhichOneofReturnType__exclude_metadata_json | None: ...
1783
1801
  @_typing.overload
1784
1802
  def WhichOneof(self, oneof_group: _WhichOneofArgType__limit) -> _WhichOneofReturnType__limit | None: ...
@@ -1826,6 +1844,8 @@ class CountThreadsRequest(_message.Message):
1826
1844
  VALUES_JSON_FIELD_NUMBER: _builtins.int
1827
1845
  STATUS_FIELD_NUMBER: _builtins.int
1828
1846
  EXCLUDE_METADATA_JSON_FIELD_NUMBER: _builtins.int
1847
+ CREATED_AFTER_FIELD_NUMBER: _builtins.int
1848
+ CREATED_BEFORE_FIELD_NUMBER: _builtins.int
1829
1849
  metadata_json: _builtins.bytes
1830
1850
  values_json: _builtins.bytes
1831
1851
  status: _enum_thread_status_pb2.ThreadStatus.ValueType
@@ -1833,6 +1853,12 @@ class CountThreadsRequest(_message.Message):
1833
1853
  """Exclude threads whose metadata contains any of these objects (JSON array of objects)."""
1834
1854
  @_builtins.property
1835
1855
  def filters(self) -> _containers.RepeatedCompositeFieldContainer[Global___AuthFilter]: ...
1856
+ @_builtins.property
1857
+ def created_after(self) -> _timestamp_pb2.Timestamp:
1858
+ """Time-range filters: *_after is inclusive, *_before is exclusive."""
1859
+
1860
+ @_builtins.property
1861
+ def created_before(self) -> _timestamp_pb2.Timestamp: ...
1836
1862
  def __init__(
1837
1863
  self,
1838
1864
  *,
@@ -1841,11 +1867,17 @@ class CountThreadsRequest(_message.Message):
1841
1867
  values_json: _builtins.bytes | None = ...,
1842
1868
  status: _enum_thread_status_pb2.ThreadStatus.ValueType | None = ...,
1843
1869
  exclude_metadata_json: _builtins.bytes | None = ...,
1870
+ created_after: _timestamp_pb2.Timestamp | None = ...,
1871
+ created_before: _timestamp_pb2.Timestamp | None = ...,
1844
1872
  ) -> None: ...
1845
- _HasFieldArgType: _TypeAlias = _typing.Literal["_exclude_metadata_json", b"_exclude_metadata_json", "_metadata_json", b"_metadata_json", "_status", b"_status", "_values_json", b"_values_json", "exclude_metadata_json", b"exclude_metadata_json", "metadata_json", b"metadata_json", "status", b"status", "values_json", b"values_json"] # noqa: Y015
1873
+ _HasFieldArgType: _TypeAlias = _typing.Literal["_created_after", b"_created_after", "_created_before", b"_created_before", "_exclude_metadata_json", b"_exclude_metadata_json", "_metadata_json", b"_metadata_json", "_status", b"_status", "_values_json", b"_values_json", "created_after", b"created_after", "created_before", b"created_before", "exclude_metadata_json", b"exclude_metadata_json", "metadata_json", b"metadata_json", "status", b"status", "values_json", b"values_json"] # noqa: Y015
1846
1874
  def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
1847
- _ClearFieldArgType: _TypeAlias = _typing.Literal["_exclude_metadata_json", b"_exclude_metadata_json", "_metadata_json", b"_metadata_json", "_status", b"_status", "_values_json", b"_values_json", "exclude_metadata_json", b"exclude_metadata_json", "filters", b"filters", "metadata_json", b"metadata_json", "status", b"status", "values_json", b"values_json"] # noqa: Y015
1875
+ _ClearFieldArgType: _TypeAlias = _typing.Literal["_created_after", b"_created_after", "_created_before", b"_created_before", "_exclude_metadata_json", b"_exclude_metadata_json", "_metadata_json", b"_metadata_json", "_status", b"_status", "_values_json", b"_values_json", "created_after", b"created_after", "created_before", b"created_before", "exclude_metadata_json", b"exclude_metadata_json", "filters", b"filters", "metadata_json", b"metadata_json", "status", b"status", "values_json", b"values_json"] # noqa: Y015
1848
1876
  def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
1877
+ _WhichOneofReturnType__created_after: _TypeAlias = _typing.Literal["created_after"] # noqa: Y015
1878
+ _WhichOneofArgType__created_after: _TypeAlias = _typing.Literal["_created_after", b"_created_after"] # noqa: Y015
1879
+ _WhichOneofReturnType__created_before: _TypeAlias = _typing.Literal["created_before"] # noqa: Y015
1880
+ _WhichOneofArgType__created_before: _TypeAlias = _typing.Literal["_created_before", b"_created_before"] # noqa: Y015
1849
1881
  _WhichOneofReturnType__exclude_metadata_json: _TypeAlias = _typing.Literal["exclude_metadata_json"] # noqa: Y015
1850
1882
  _WhichOneofArgType__exclude_metadata_json: _TypeAlias = _typing.Literal["_exclude_metadata_json", b"_exclude_metadata_json"] # noqa: Y015
1851
1883
  _WhichOneofReturnType__metadata_json: _TypeAlias = _typing.Literal["metadata_json"] # noqa: Y015
@@ -1855,6 +1887,10 @@ class CountThreadsRequest(_message.Message):
1855
1887
  _WhichOneofReturnType__values_json: _TypeAlias = _typing.Literal["values_json"] # noqa: Y015
1856
1888
  _WhichOneofArgType__values_json: _TypeAlias = _typing.Literal["_values_json", b"_values_json"] # noqa: Y015
1857
1889
  @_typing.overload
1890
+ def WhichOneof(self, oneof_group: _WhichOneofArgType__created_after) -> _WhichOneofReturnType__created_after | None: ...
1891
+ @_typing.overload
1892
+ def WhichOneof(self, oneof_group: _WhichOneofArgType__created_before) -> _WhichOneofReturnType__created_before | None: ...
1893
+ @_typing.overload
1858
1894
  def WhichOneof(self, oneof_group: _WhichOneofArgType__exclude_metadata_json) -> _WhichOneofReturnType__exclude_metadata_json | None: ...
1859
1895
  @_typing.overload
1860
1896
  def WhichOneof(self, oneof_group: _WhichOneofArgType__metadata_json) -> _WhichOneofReturnType__metadata_json | None: ...
openapi.json CHANGED
@@ -5959,6 +5959,18 @@
5959
5959
  "title": "Exclude Metadata",
5960
5960
  "description": "Exclude threads whose metadata contains this object, or any object in this list. Uses the same matching as `metadata`; threads missing the keys are not excluded."
5961
5961
  },
5962
+ "created_after": {
5963
+ "type": "string",
5964
+ "format": "date-time",
5965
+ "title": "Created After",
5966
+ "description": "Only include threads created at or after this time (ISO 8601). Timestamps without a timezone are treated as UTC."
5967
+ },
5968
+ "created_before": {
5969
+ "type": "string",
5970
+ "format": "date-time",
5971
+ "title": "Created Before",
5972
+ "description": "Only include threads created before this time (ISO 8601). Timestamps without a timezone are treated as UTC."
5973
+ },
5962
5974
  "values": {
5963
5975
  "type": "object",
5964
5976
  "title": "Values",
@@ -6063,6 +6075,18 @@
6063
6075
  "title": "Exclude Metadata",
6064
6076
  "description": "Exclude threads whose metadata contains this object, or any object in this list. Uses the same matching as `metadata`; threads missing the keys are not excluded."
6065
6077
  },
6078
+ "created_after": {
6079
+ "type": "string",
6080
+ "format": "date-time",
6081
+ "title": "Created After",
6082
+ "description": "Only include threads created at or after this time (ISO 8601). Timestamps without a timezone are treated as UTC."
6083
+ },
6084
+ "created_before": {
6085
+ "type": "string",
6086
+ "format": "date-time",
6087
+ "title": "Created Before",
6088
+ "description": "Only include threads created before this time (ISO 8601). Timestamps without a timezone are treated as UTC."
6089
+ },
6066
6090
  "values": {
6067
6091
  "type": "object",
6068
6092
  "title": "Values",