kortyx 0.30.2 → 0.31.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +42 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.31.1](https://github.com/kortyx-io/kortyx/compare/kortyx-v0.31.0...kortyx-v0.31.1) (2026-10-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* The following workspace dependencies were updated
|
|
9
|
+
* dependencies
|
|
10
|
+
* @kortyx/agent bumped to 0.38.1
|
|
11
|
+
* @kortyx/cli bumped to 0.20.1
|
|
12
|
+
* @kortyx/hooks bumped to 0.34.3
|
|
13
|
+
* @kortyx/runtime bumped to 0.24.1
|
|
14
|
+
* @kortyx/utils bumped to 0.3.8
|
|
15
|
+
|
|
16
|
+
## [0.31.0](https://github.com/kortyx-io/kortyx/compare/kortyx-v0.30.2...kortyx-v0.31.0) (2026-10-13)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### ⚠ BREAKING CHANGES
|
|
20
|
+
|
|
21
|
+
* **runtime:** Consumer eval routes cap active attempts at 20 by default. Set maxActiveAttempts before upgrading consumers with higher concurrency. Upgrade API and Studio together for the new case-dispatch progress events.
|
|
22
|
+
* **agent:** Consumer eval routes cap active attempts at 20 by default. Set maxActiveAttempts before upgrading consumers with higher concurrency. Upgrade API and Studio together for the new case-dispatch progress events.
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* **agent:** make concurrent eval execution resilient ([#339](https://github.com/kortyx-io/kortyx/issues/339)) ([84d0e4f](https://github.com/kortyx-io/kortyx/commit/84d0e4fe3d35e5cf80713f7550ef2b1d83e5a2ec))
|
|
27
|
+
* **runtime:** add opt-in workflow data reducers ([#340](https://github.com/kortyx-io/kortyx/issues/340)) ([8be2c81](https://github.com/kortyx-io/kortyx/commit/8be2c81f74c5c51ab98443144f3491d4e8d54a88))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Dependencies
|
|
31
|
+
|
|
32
|
+
* The following workspace dependencies were updated
|
|
33
|
+
* dependencies
|
|
34
|
+
* @kortyx/agent bumped to 0.38.0
|
|
35
|
+
* @kortyx/cli bumped to 0.20.0
|
|
36
|
+
* @kortyx/core bumped to 0.14.0
|
|
37
|
+
* @kortyx/hooks bumped to 0.34.2
|
|
38
|
+
* @kortyx/mcp bumped to 0.3.1
|
|
39
|
+
* @kortyx/providers bumped to 0.9.3
|
|
40
|
+
* @kortyx/runtime bumped to 0.24.0
|
|
41
|
+
* @kortyx/stream bumped to 0.15.5
|
|
42
|
+
* @kortyx/utils bumped to 0.3.7
|
|
43
|
+
* @kortyx/prompts bumped to 0.2.1
|
|
44
|
+
|
|
3
45
|
## [0.30.2](https://github.com/kortyx-io/kortyx/compare/kortyx-v0.30.1...kortyx-v0.30.2) (2026-10-13)
|
|
4
46
|
|
|
5
47
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { Agent, AgentProcessOptions, ChatLifecycleErrorEvent, ChatLifecycleHookError, ChatLifecyclePhase, ChatRequestBody, ChatResponseFinalized, ChatResponseStatus, ChatRouteHandlerOptions, CheckpointRequestBody, CheckpointRouteHandlerOptions, CreateAgentArgs, CreateEvalsOptions, EvalCase, EvalCaseResult, EvalCommand, EvalConfigurationError, EvalContext, EvalCriterion, EvalCriterionResult, EvalDefaults, EvalEvidenceEvent, EvalEvidenceEventType, EvalEvidenceFilters, EvalEvidencePolicy, EvalExecution, EvalExpectation, EvalGradeInput, EvalHandlerRef, EvalInterrupt, EvalIssue, EvalJson, EvalJudge, EvalJudgeEvidence, EvalJudgeOptions, EvalJudgeUsage, EvalObservation, EvalOutputExpectation, EvalOutputSelector, EvalPhase, EvalProgress, EvalResponder, EvalRunOptions, EvalRunResult, EvalRunner, EvalSetupContext, EvalStatus, EvalStep, EvalStepResult, EvalSuite, EvalSuiteSchema, EvalVerdict, ExecutableWorkflow, ExecuteOptions, ExecutionInfo, ExecutionInterrupt, ExecutionRequestError, ExecutionResult, InterruptScope, ListInterruptsOptions, PendingInterrupt, ResumableInterrupt, ResumeHandle, ResumeOptions, ResumeResponse, StreamChatFromRouteArgs, StudioEvalJudgeOptions, createAgent, createChatRouteHandler, createCheckpointRouteHandler, createEvalJudge, createEvalRouteHandler, createEvals, createFailureResponse, createStudioEvalJudge, defineSuite, getEvalSuiteRevision, handleChatRequestBody, handleCheckpointRequestBody, parseChatRequestBody, parseCheckpointRequestBody, parseEvalSuite, readRequestJson, streamChatFromRoute } from '@kortyx/agent';
|
|
2
2
|
export * from '@kortyx/core/errors';
|
|
3
|
-
export { ExecutionLimit, ExecutionLimitReached, ExecutionLimits, GraphState, NodeConfig, NodeContext, NodeFn, NodeHandler, NodeResult, RuntimeEnvelope, WorkflowDefinition, WorkflowId, defineWorkflow, loadWorkflow, validateWorkflow } from '@kortyx/core';
|
|
3
|
+
export { ExecutionLimit, ExecutionLimitReached, ExecutionLimits, GraphState, NodeConfig, NodeContext, NodeFn, NodeHandler, NodeResult, RuntimeEnvelope, WorkflowDataReducers, WorkflowDefinition, WorkflowId, defineWorkflow, loadWorkflow, validateWorkflow } from '@kortyx/core';
|
|
4
4
|
export { CompleteResponseOptions, EnsureWorkflowTopologyRequest, EnsureWorkflowTopologyResponse, InterruptContract, InterruptContractMap, InterruptHistoryEntry, KortyxErrorDetails, KortyxTelemetryConfig, KortyxTelemetryContentCapture, KortyxTelemetryCorrelation, KortyxTelemetryEvent, KortyxTelemetryEventType, KortyxTelemetryPrompt, KortyxTelemetryReporter, KortyxTelemetryService, KortyxTraceAdapter, KortyxTraceErrorProjection, KortyxTraceMetadata, OutputContract, OutputContractEntry, OutputContractMap, ParallelError, ReportErrorOptions, UseContractInterruptArgs, UseContractStructuredDataArgs, UseInterruptArgs, UseReasonArgs, UseReasonInterruptConfig, UseReasonInterruptsConfig, UseReasonOutputsConfig, UseReasonPromptArgs, UseReasonResult, UseReasonStep, UseReasonToolExecution, UseStructuredDataArgs, UseToolArgs, WorkflowCallError, completeResponse, createWorkflowHooks, defineInterruptContract, defineOutputContract, parallel, reportError, useAbortSignal, useInterrupt, useNodeState, usePrompt, useReason, useRuntimeContext, useStructuredData, useTool, useWorkflow, useWorkflowState } from '@kortyx/hooks';
|
|
5
5
|
export { CreateMCPClientArgs, MCPClient, McpToolsArgs, McpTransportConfig, createMCPClient } from '@kortyx/mcp';
|
|
6
6
|
export { CompiledPrompt, PromptCache, PromptError, PromptManager, PromptRef, PromptSnapshot, PromptSource, createPrompts, definePrompt, localPromptSource, studioPromptSource } from '@kortyx/prompts';
|
|
7
7
|
export * from '@kortyx/providers';
|
|
8
|
-
export { CreateCachingFrameworkAdapterOptions, CreatePostgresFrameworkAdapterOptions, FrameworkAdapter, ManagedFrameworkAdapter, PostgresFrameworkAdapter, PruneRuntimeOptions, PruneRuntimeResult, RuntimeMaintenance, RuntimeRetentionPolicy, WorkflowRegistry, clearRegisteredNodes, createCachingFrameworkAdapter, createFileWorkflowRegistry, createFrameworkAdapterFromEnv, createInMemoryFrameworkAdapter, createInMemoryWorkflowRegistry, createPostgresFrameworkAdapter, createRedisFrameworkAdapter, getRegisteredNode, listRegisteredNodes, registerNode } from '@kortyx/runtime';
|
|
8
|
+
export { CreateCachingFrameworkAdapterOptions, CreatePostgresFrameworkAdapterOptions, EvalExecutionEvent, EvalExecutionJob, EvalExecutionLimits, EvalExecutionStore, EvalExecutionSubmission, FrameworkAdapter, ManagedFrameworkAdapter, PostgresFrameworkAdapter, PruneRuntimeOptions, PruneRuntimeResult, RuntimeMaintenance, RuntimeRetentionPolicy, WorkflowRegistry, clearRegisteredNodes, createCachingFrameworkAdapter, createFileWorkflowRegistry, createFrameworkAdapterFromEnv, createInMemoryEvalExecutionStore, createInMemoryFrameworkAdapter, createInMemoryWorkflowRegistry, createPostgresEvalExecutionStore, createPostgresFrameworkAdapter, createRedisFrameworkAdapter, getRegisteredNode, listRegisteredNodes, registerNode } from '@kortyx/runtime';
|
|
9
9
|
export { BufferedStreamResult, ConsumeStreamHandlers, FinalizedChatContentPiece, FinalizedChatMessage, StreamChunk, StructuredDataChunk, StructuredStreamAccumulator, StructuredStreamState, applyStructuredChunk, collectBufferedStream, collectStream, consumeStream, createFinalizedChatMessageAccumulator, createStreamResponse, createStructuredStreamAccumulator, projectInterruptPiece, readStream, reduceStructuredChunks, summarizeStreamChunks, toSSE } from '@kortyx/stream';
|
package/dist/index.js
CHANGED
|
@@ -44,9 +44,11 @@ __export(index_exports, {
|
|
|
44
44
|
createFileWorkflowRegistry: () => import_runtime.createFileWorkflowRegistry,
|
|
45
45
|
createFinalizedChatMessageAccumulator: () => import_stream.createFinalizedChatMessageAccumulator,
|
|
46
46
|
createFrameworkAdapterFromEnv: () => import_runtime.createFrameworkAdapterFromEnv,
|
|
47
|
+
createInMemoryEvalExecutionStore: () => import_runtime.createInMemoryEvalExecutionStore,
|
|
47
48
|
createInMemoryFrameworkAdapter: () => import_runtime.createInMemoryFrameworkAdapter,
|
|
48
49
|
createInMemoryWorkflowRegistry: () => import_runtime.createInMemoryWorkflowRegistry,
|
|
49
50
|
createMCPClient: () => import_mcp.createMCPClient,
|
|
51
|
+
createPostgresEvalExecutionStore: () => import_runtime.createPostgresEvalExecutionStore,
|
|
50
52
|
createPostgresFrameworkAdapter: () => import_runtime.createPostgresFrameworkAdapter,
|
|
51
53
|
createPrompts: () => import_prompts.createPrompts,
|
|
52
54
|
createRedisFrameworkAdapter: () => import_runtime.createRedisFrameworkAdapter,
|
|
@@ -129,9 +131,11 @@ var import_stream = require("@kortyx/stream");
|
|
|
129
131
|
createFileWorkflowRegistry,
|
|
130
132
|
createFinalizedChatMessageAccumulator,
|
|
131
133
|
createFrameworkAdapterFromEnv,
|
|
134
|
+
createInMemoryEvalExecutionStore,
|
|
132
135
|
createInMemoryFrameworkAdapter,
|
|
133
136
|
createInMemoryWorkflowRegistry,
|
|
134
137
|
createMCPClient,
|
|
138
|
+
createPostgresEvalExecutionStore,
|
|
135
139
|
createPostgresFrameworkAdapter,
|
|
136
140
|
createPrompts,
|
|
137
141
|
createRedisFrameworkAdapter,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export type {\n CreateEvalsOptions,\n EvalCase,\n EvalCaseResult,\n EvalCommand,\n EvalContext,\n EvalCriterion,\n EvalCriterionResult,\n EvalDefaults,\n EvalEvidenceEvent,\n EvalEvidenceEventType,\n EvalEvidenceFilters,\n EvalEvidencePolicy,\n EvalExecution,\n EvalExpectation,\n EvalGradeInput,\n EvalHandlerRef,\n EvalInterrupt,\n EvalIssue,\n EvalJson,\n EvalJudge,\n EvalJudgeEvidence,\n EvalJudgeOptions,\n EvalJudgeUsage,\n EvalObservation,\n EvalOutputExpectation,\n EvalOutputSelector,\n EvalPhase,\n EvalProgress,\n EvalResponder,\n EvalRunner,\n EvalRunOptions,\n EvalRunResult,\n EvalSetupContext,\n EvalStatus,\n EvalStep,\n EvalStepResult,\n EvalSuite,\n EvalVerdict,\n StudioEvalJudgeOptions,\n} from \"@kortyx/agent\";\nexport {\n createEvalJudge,\n createEvalRouteHandler,\n createEvals,\n createStudioEvalJudge,\n defineSuite,\n EvalConfigurationError,\n EvalSuiteSchema,\n getEvalSuiteRevision,\n parseEvalSuite,\n} from \"@kortyx/agent\";\nexport * from \"@kortyx/core/errors\";\n// release-test: 2026-01-22\n// Public DX surface for the Kortyx framework.\n\nexport type {\n Agent,\n AgentProcessOptions,\n ChatLifecycleErrorEvent,\n ChatLifecyclePhase,\n ChatRequestBody,\n ChatResponseFinalized,\n ChatResponseStatus,\n ChatRouteHandlerOptions,\n CheckpointRequestBody,\n CheckpointRouteHandlerOptions,\n CreateAgentArgs,\n ExecutableWorkflow,\n ExecuteOptions,\n ExecutionInfo,\n ExecutionInterrupt,\n ExecutionResult,\n InterruptScope,\n ListInterruptsOptions,\n PendingInterrupt,\n ResumableInterrupt,\n ResumeHandle,\n ResumeOptions,\n ResumeResponse,\n StreamChatFromRouteArgs,\n} from \"@kortyx/agent\";\nexport {\n ChatLifecycleHookError,\n createAgent,\n createChatRouteHandler,\n createCheckpointRouteHandler,\n createFailureResponse,\n ExecutionRequestError,\n handleChatRequestBody,\n handleCheckpointRequestBody,\n parseChatRequestBody,\n parseCheckpointRequestBody,\n readRequestJson,\n streamChatFromRoute,\n} from \"@kortyx/agent\";\nexport type {\n ExecutionLimit,\n ExecutionLimitReached,\n ExecutionLimits,\n GraphState,\n NodeConfig,\n NodeContext,\n NodeFn,\n NodeHandler,\n NodeResult,\n RuntimeEnvelope,\n WorkflowDefinition,\n WorkflowId,\n} from \"@kortyx/core\";\nexport { defineWorkflow, loadWorkflow, validateWorkflow } from \"@kortyx/core\";\nexport type {\n EnsureWorkflowTopologyRequest,\n EnsureWorkflowTopologyResponse,\n InterruptContract,\n InterruptContractMap,\n InterruptHistoryEntry,\n KortyxErrorDetails,\n KortyxTelemetryConfig,\n KortyxTelemetryContentCapture,\n KortyxTelemetryCorrelation,\n KortyxTelemetryEvent,\n KortyxTelemetryEventType,\n KortyxTelemetryPrompt,\n KortyxTelemetryReporter,\n KortyxTelemetryService,\n KortyxTraceAdapter,\n KortyxTraceErrorProjection,\n KortyxTraceMetadata,\n OutputContract,\n OutputContractEntry,\n OutputContractMap,\n ReportErrorOptions,\n UseContractInterruptArgs,\n UseContractStructuredDataArgs,\n UseInterruptArgs,\n UseReasonArgs,\n UseReasonInterruptConfig,\n UseReasonInterruptsConfig,\n UseReasonOutputsConfig,\n UseReasonPromptArgs,\n UseReasonResult,\n UseReasonStep,\n UseReasonToolExecution,\n UseStructuredDataArgs,\n UseToolArgs,\n} from \"@kortyx/hooks\";\nexport {\n type CompleteResponseOptions,\n completeResponse,\n createWorkflowHooks,\n defineInterruptContract,\n defineOutputContract,\n ParallelError,\n parallel,\n reportError,\n useAbortSignal,\n useInterrupt,\n useNodeState,\n usePrompt,\n useReason,\n useRuntimeContext,\n useStructuredData,\n useTool,\n useWorkflow,\n useWorkflowState,\n WorkflowCallError,\n} from \"@kortyx/hooks\";\nexport type {\n CreateMCPClientArgs,\n MCPClient,\n McpToolsArgs,\n McpTransportConfig,\n} from \"@kortyx/mcp\";\nexport { createMCPClient } from \"@kortyx/mcp\";\nexport type {\n CompiledPrompt,\n PromptCache,\n PromptManager,\n PromptRef,\n PromptSnapshot,\n PromptSource,\n} from \"@kortyx/prompts\";\nexport {\n createPrompts,\n definePrompt,\n localPromptSource,\n PromptError,\n studioPromptSource,\n} from \"@kortyx/prompts\";\nexport * from \"@kortyx/providers\";\nexport type {\n CreateCachingFrameworkAdapterOptions,\n CreatePostgresFrameworkAdapterOptions,\n FrameworkAdapter,\n ManagedFrameworkAdapter,\n PostgresFrameworkAdapter,\n PruneRuntimeOptions,\n PruneRuntimeResult,\n RuntimeMaintenance,\n RuntimeRetentionPolicy,\n WorkflowRegistry,\n} from \"@kortyx/runtime\";\nexport {\n clearRegisteredNodes,\n createCachingFrameworkAdapter,\n createFileWorkflowRegistry,\n createFrameworkAdapterFromEnv,\n createInMemoryFrameworkAdapter,\n createInMemoryWorkflowRegistry,\n createPostgresFrameworkAdapter,\n createRedisFrameworkAdapter,\n getRegisteredNode,\n listRegisteredNodes,\n registerNode,\n} from \"@kortyx/runtime\";\nexport type {\n BufferedStreamResult,\n ConsumeStreamHandlers,\n FinalizedChatContentPiece,\n FinalizedChatMessage,\n StreamChunk,\n StructuredDataChunk,\n StructuredStreamAccumulator,\n StructuredStreamState,\n} from \"@kortyx/stream\";\nexport {\n applyStructuredChunk,\n collectBufferedStream,\n collectStream,\n consumeStream,\n createFinalizedChatMessageAccumulator,\n createStreamResponse,\n createStructuredStreamAccumulator,\n projectInterruptPiece,\n readStream,\n reduceStructuredChunks,\n summarizeStreamChunks,\n toSSE,\n} from \"@kortyx/stream\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAyCA,mBAUO;AACP,0BAAc,gCApDd;AAkFA,IAAAA,gBAaO;
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export type {\n CreateEvalsOptions,\n EvalCase,\n EvalCaseResult,\n EvalCommand,\n EvalContext,\n EvalCriterion,\n EvalCriterionResult,\n EvalDefaults,\n EvalEvidenceEvent,\n EvalEvidenceEventType,\n EvalEvidenceFilters,\n EvalEvidencePolicy,\n EvalExecution,\n EvalExpectation,\n EvalGradeInput,\n EvalHandlerRef,\n EvalInterrupt,\n EvalIssue,\n EvalJson,\n EvalJudge,\n EvalJudgeEvidence,\n EvalJudgeOptions,\n EvalJudgeUsage,\n EvalObservation,\n EvalOutputExpectation,\n EvalOutputSelector,\n EvalPhase,\n EvalProgress,\n EvalResponder,\n EvalRunner,\n EvalRunOptions,\n EvalRunResult,\n EvalSetupContext,\n EvalStatus,\n EvalStep,\n EvalStepResult,\n EvalSuite,\n EvalVerdict,\n StudioEvalJudgeOptions,\n} from \"@kortyx/agent\";\nexport {\n createEvalJudge,\n createEvalRouteHandler,\n createEvals,\n createStudioEvalJudge,\n defineSuite,\n EvalConfigurationError,\n EvalSuiteSchema,\n getEvalSuiteRevision,\n parseEvalSuite,\n} from \"@kortyx/agent\";\nexport * from \"@kortyx/core/errors\";\n// release-test: 2026-01-22\n// Public DX surface for the Kortyx framework.\n\nexport type {\n Agent,\n AgentProcessOptions,\n ChatLifecycleErrorEvent,\n ChatLifecyclePhase,\n ChatRequestBody,\n ChatResponseFinalized,\n ChatResponseStatus,\n ChatRouteHandlerOptions,\n CheckpointRequestBody,\n CheckpointRouteHandlerOptions,\n CreateAgentArgs,\n ExecutableWorkflow,\n ExecuteOptions,\n ExecutionInfo,\n ExecutionInterrupt,\n ExecutionResult,\n InterruptScope,\n ListInterruptsOptions,\n PendingInterrupt,\n ResumableInterrupt,\n ResumeHandle,\n ResumeOptions,\n ResumeResponse,\n StreamChatFromRouteArgs,\n} from \"@kortyx/agent\";\nexport {\n ChatLifecycleHookError,\n createAgent,\n createChatRouteHandler,\n createCheckpointRouteHandler,\n createFailureResponse,\n ExecutionRequestError,\n handleChatRequestBody,\n handleCheckpointRequestBody,\n parseChatRequestBody,\n parseCheckpointRequestBody,\n readRequestJson,\n streamChatFromRoute,\n} from \"@kortyx/agent\";\nexport type {\n ExecutionLimit,\n ExecutionLimitReached,\n ExecutionLimits,\n GraphState,\n NodeConfig,\n NodeContext,\n NodeFn,\n NodeHandler,\n NodeResult,\n RuntimeEnvelope,\n WorkflowDataReducers,\n WorkflowDefinition,\n WorkflowId,\n} from \"@kortyx/core\";\nexport { defineWorkflow, loadWorkflow, validateWorkflow } from \"@kortyx/core\";\nexport type {\n EnsureWorkflowTopologyRequest,\n EnsureWorkflowTopologyResponse,\n InterruptContract,\n InterruptContractMap,\n InterruptHistoryEntry,\n KortyxErrorDetails,\n KortyxTelemetryConfig,\n KortyxTelemetryContentCapture,\n KortyxTelemetryCorrelation,\n KortyxTelemetryEvent,\n KortyxTelemetryEventType,\n KortyxTelemetryPrompt,\n KortyxTelemetryReporter,\n KortyxTelemetryService,\n KortyxTraceAdapter,\n KortyxTraceErrorProjection,\n KortyxTraceMetadata,\n OutputContract,\n OutputContractEntry,\n OutputContractMap,\n ReportErrorOptions,\n UseContractInterruptArgs,\n UseContractStructuredDataArgs,\n UseInterruptArgs,\n UseReasonArgs,\n UseReasonInterruptConfig,\n UseReasonInterruptsConfig,\n UseReasonOutputsConfig,\n UseReasonPromptArgs,\n UseReasonResult,\n UseReasonStep,\n UseReasonToolExecution,\n UseStructuredDataArgs,\n UseToolArgs,\n} from \"@kortyx/hooks\";\nexport {\n type CompleteResponseOptions,\n completeResponse,\n createWorkflowHooks,\n defineInterruptContract,\n defineOutputContract,\n ParallelError,\n parallel,\n reportError,\n useAbortSignal,\n useInterrupt,\n useNodeState,\n usePrompt,\n useReason,\n useRuntimeContext,\n useStructuredData,\n useTool,\n useWorkflow,\n useWorkflowState,\n WorkflowCallError,\n} from \"@kortyx/hooks\";\nexport type {\n CreateMCPClientArgs,\n MCPClient,\n McpToolsArgs,\n McpTransportConfig,\n} from \"@kortyx/mcp\";\nexport { createMCPClient } from \"@kortyx/mcp\";\nexport type {\n CompiledPrompt,\n PromptCache,\n PromptManager,\n PromptRef,\n PromptSnapshot,\n PromptSource,\n} from \"@kortyx/prompts\";\nexport {\n createPrompts,\n definePrompt,\n localPromptSource,\n PromptError,\n studioPromptSource,\n} from \"@kortyx/prompts\";\nexport * from \"@kortyx/providers\";\nexport type {\n CreateCachingFrameworkAdapterOptions,\n CreatePostgresFrameworkAdapterOptions,\n FrameworkAdapter,\n ManagedFrameworkAdapter,\n PostgresFrameworkAdapter,\n PruneRuntimeOptions,\n PruneRuntimeResult,\n RuntimeMaintenance,\n RuntimeRetentionPolicy,\n WorkflowRegistry,\n} from \"@kortyx/runtime\";\nexport {\n clearRegisteredNodes,\n createCachingFrameworkAdapter,\n createFileWorkflowRegistry,\n createFrameworkAdapterFromEnv,\n createInMemoryEvalExecutionStore,\n createInMemoryFrameworkAdapter,\n createInMemoryWorkflowRegistry,\n createPostgresEvalExecutionStore,\n createPostgresFrameworkAdapter,\n createRedisFrameworkAdapter,\n type EvalExecutionEvent,\n type EvalExecutionJob,\n type EvalExecutionLimits,\n type EvalExecutionStore,\n type EvalExecutionSubmission,\n getRegisteredNode,\n listRegisteredNodes,\n registerNode,\n} from \"@kortyx/runtime\";\nexport type {\n BufferedStreamResult,\n ConsumeStreamHandlers,\n FinalizedChatContentPiece,\n FinalizedChatMessage,\n StreamChunk,\n StructuredDataChunk,\n StructuredStreamAccumulator,\n StructuredStreamState,\n} from \"@kortyx/stream\";\nexport {\n applyStructuredChunk,\n collectBufferedStream,\n collectStream,\n consumeStream,\n createFinalizedChatMessageAccumulator,\n createStreamResponse,\n createStructuredStreamAccumulator,\n projectInterruptPiece,\n readStream,\n reduceStructuredChunks,\n summarizeStreamChunks,\n toSSE,\n} from \"@kortyx/stream\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAyCA,mBAUO;AACP,0BAAc,gCApDd;AAkFA,IAAAA,gBAaO;AAgBP,kBAA+D;AAqC/D,mBAoBO;AAOP,iBAAgC;AAShC,qBAMO;AACP,0BAAc,8BA/Ld;AA4MA,qBAmBO;AAWP,oBAaO;","names":["import_agent"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kortyx",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "TypeScript framework for production AI agents with explicit workflows, provider-agnostic models, streaming, interrupts, and runtime persistence.",
|
|
6
6
|
"keywords": [
|
|
@@ -47,16 +47,16 @@
|
|
|
47
47
|
"CHANGELOG.md"
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@kortyx/agent": "0.
|
|
51
|
-
"@kortyx/cli": "0.
|
|
52
|
-
"@kortyx/
|
|
53
|
-
"@kortyx/mcp": "0.3.
|
|
54
|
-
"@kortyx/
|
|
55
|
-
"@kortyx/providers": "0.9.
|
|
56
|
-
"@kortyx/runtime": "0.
|
|
57
|
-
"@kortyx/
|
|
58
|
-
"@kortyx/
|
|
59
|
-
"@kortyx/
|
|
50
|
+
"@kortyx/agent": "0.38.1",
|
|
51
|
+
"@kortyx/cli": "0.20.1",
|
|
52
|
+
"@kortyx/core": "0.14.0",
|
|
53
|
+
"@kortyx/mcp": "0.3.1",
|
|
54
|
+
"@kortyx/hooks": "0.34.3",
|
|
55
|
+
"@kortyx/providers": "0.9.3",
|
|
56
|
+
"@kortyx/runtime": "0.24.1",
|
|
57
|
+
"@kortyx/utils": "0.3.8",
|
|
58
|
+
"@kortyx/prompts": "0.2.1",
|
|
59
|
+
"@kortyx/stream": "0.15.5"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"turbo": "2.9.14",
|