@relkit/langchain 0.7.10 → 0.7.11
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.
|
@@ -33,7 +33,7 @@ export declare function assertAgentDescriptor(value: unknown): asserts value is
|
|
|
33
33
|
* @returns An Effect with the normalized model or AgentDefinitionFailure.
|
|
34
34
|
* @example Effect.runSync(normalizeAgentModelEffect("openai:gpt"));
|
|
35
35
|
*/
|
|
36
|
-
export declare const normalizeAgentModelEffect: (value: AgentModel | undefined) => Effect.Effect<string | import("./define-agent-native.types.js").
|
|
36
|
+
export declare const normalizeAgentModelEffect: (value: AgentModel | undefined) => Effect.Effect<string | import("./define-agent-native.types.js").AgentLanguageModel | import("./define-agent-native.types.js").AgentModelFactory<Readonly<Record<string, unknown>>> | undefined, import("@relkit/agents/internal/define-agent-error").AgentDefinitionFailure, never>;
|
|
37
37
|
/** Normalizes a model for existing synchronous authoring callers.
|
|
38
38
|
* @param value - String selector, model object, factory, or undefined.
|
|
39
39
|
* @returns The normalized model.
|
package/dist/graph-compile.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import type { ResolvedGraphPersistence } from "./graph-persistence.js";
|
|
|
13
13
|
* @returns An Effect with a destination or GraphCompilationFailure.
|
|
14
14
|
* @example await Effect.runPromise(runGraphRouteEffect(route, state, config, ids));
|
|
15
15
|
*/
|
|
16
|
-
export declare const runGraphRouteEffect: <Id extends string>(route: (state: unknown, config: LangGraphRunnableConfig) => MaybePromise<unknown>, state: unknown, config: LangGraphRunnableConfig<Record<string, any>>, nodeIds: ReadonlySet<Id>, destinations?: Readonly<Record<string,
|
|
16
|
+
export declare const runGraphRouteEffect: <Id extends string>(route: (state: unknown, config: LangGraphRunnableConfig) => MaybePromise<unknown>, state: unknown, config: LangGraphRunnableConfig<Record<string, any>>, nodeIds: ReadonlySet<Id>, destinations?: Readonly<Record<string, "__end__" | Id>> | undefined) => Effect.Effect<unknown, import("./graph-compile-error.js").GraphCompilationFailure, never>;
|
|
17
17
|
/** Compiles a graph descriptor and its resolved persistence resources.
|
|
18
18
|
* @param descriptor - Authored graph descriptor.
|
|
19
19
|
* @param persistence - Resolved checkpointer and store.
|
|
@@ -5,5 +5,5 @@ import type { GraphNodeAny } from "./define-graph-node.types.js";
|
|
|
5
5
|
* @param options - Input, output and optional resume schema from the original node options.
|
|
6
6
|
* @returns A lazy Effect succeeding after validation or failing with the original graph-node diagnostic.
|
|
7
7
|
*/
|
|
8
|
-
export declare const validateGraphNodeSchemasEffect: (options: Pick<GraphNodeAny, "
|
|
8
|
+
export declare const validateGraphNodeSchemasEffect: (options: Pick<GraphNodeAny, "input" | "output" | "resume">) => Effect.Effect<void, import("./graph-node-validation-error.js").GraphNodeValidationFailure, never>;
|
|
9
9
|
//# sourceMappingURL=graph-node-schema-validation.d.ts.map
|
|
@@ -9,5 +9,5 @@ import { type PendingApproval } from "@relkit/agents/internal/approval";
|
|
|
9
9
|
* @param response - Supported handler reply or canonical record.
|
|
10
10
|
* @returns Canonical decision or a tagged approval failure.
|
|
11
11
|
*/
|
|
12
|
-
export declare const resolveApprovalDecisionEffect: (approval: PendingApproval, response: boolean |
|
|
12
|
+
export declare const resolveApprovalDecisionEffect: (approval: PendingApproval, response: boolean | import("@relkit/agents/internal/approval").ApprovalRecord | "approved" | "denied") => Effect.Effect<import("@relkit/agents/internal/approval").ApprovalRecord, import("./runtime-effect-error.js").AgentInvocationFailure, never>;
|
|
13
13
|
//# sourceMappingURL=runtime-approval-decision.d.ts.map
|
package/dist/runtime-model.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare function resolveRuntimeModel(options: RuntimeModelOptions): Promi
|
|
|
20
20
|
* @returns An Effect with limits or AgentModelResolutionFailure.
|
|
21
21
|
* @example Effect.runSync(resolveAgentContentLimitsEffect({ maxInputBytes: 1024 }));
|
|
22
22
|
*/
|
|
23
|
-
export declare const resolveAgentContentLimitsEffect: (options: Pick<RuntimeModelOptions, "
|
|
23
|
+
export declare const resolveAgentContentLimitsEffect: (options: Pick<RuntimeModelOptions, "maxOutputBytes" | "maxInputBytes">) => Effect.Effect<AgentContentLimits, import("./runtime-model-error.js").AgentModelResolutionFailure, never>;
|
|
24
24
|
/** Validates content byte limits for existing synchronous runtime callers.
|
|
25
25
|
* @param options - Optional input and output byte limits.
|
|
26
26
|
* @returns Fixed and validated limits.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@relkit/langchain",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.11",
|
|
4
4
|
"description": "Explicit native LangChain agent execution for RELKIT.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -41,18 +41,18 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@relkit/agents": "0.
|
|
44
|
+
"@relkit/agents": "0.8.0",
|
|
45
45
|
"@cfworker/json-schema": "4.1.1",
|
|
46
|
-
"@relkit/contracts": "0.
|
|
47
|
-
"@relkit/functions": "0.7.
|
|
48
|
-
"@relkit/invocation": "0.7.
|
|
49
|
-
"@relkit/schema": "0.7.
|
|
50
|
-
"@relkit/tools": "0.7.
|
|
46
|
+
"@relkit/contracts": "0.8.0",
|
|
47
|
+
"@relkit/functions": "0.7.11",
|
|
48
|
+
"@relkit/invocation": "0.7.11",
|
|
49
|
+
"@relkit/schema": "0.7.11",
|
|
50
|
+
"@relkit/tools": "0.7.11",
|
|
51
51
|
"effect": "4.0.1"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"deepagents": "1.13.3",
|
|
55
|
-
"@relkit/testing": "0.
|
|
55
|
+
"@relkit/testing": "0.8.0",
|
|
56
56
|
"@langchain/core": "1.2.9",
|
|
57
57
|
"@langchain/langgraph": "1.4.14",
|
|
58
58
|
"langchain": "1.5.10",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@langchain/langgraph-checkpoint-postgres": "1.0.5",
|
|
86
86
|
"@langchain/langgraph-checkpoint-redis": "1.0.11",
|
|
87
87
|
"@langchain/langgraph-checkpoint-sqlite": "1.0.4",
|
|
88
|
-
"@relkit/buckets": "0.7.
|
|
88
|
+
"@relkit/buckets": "0.7.11",
|
|
89
89
|
"deepagents": "1.13.3",
|
|
90
90
|
"vitest": "5.0.1",
|
|
91
91
|
"@langchain/core": "1.2.9",
|