kortyx 0.33.1 → 0.34.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 +38 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.34.1](https://github.com/kortyx-io/kortyx/compare/kortyx-v0.34.0...kortyx-v0.34.1) (2026-10-24)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* The following workspace dependencies were updated
|
|
9
|
+
* dependencies
|
|
10
|
+
* @kortyx/agent bumped to 0.43.0
|
|
11
|
+
* @kortyx/cli bumped to 0.25.0
|
|
12
|
+
* @kortyx/hooks bumped to 0.35.5
|
|
13
|
+
* @kortyx/mcp bumped to 0.3.5
|
|
14
|
+
* @kortyx/runtime bumped to 0.26.4
|
|
15
|
+
* @kortyx/prompts bumped to 0.3.1
|
|
16
|
+
|
|
17
|
+
## [0.34.0](https://github.com/kortyx-io/kortyx/compare/kortyx-v0.33.1...kortyx-v0.34.0) (2026-10-22)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **evals:** add portable judge prompts and suite-owned judges ([9a11389](https://github.com/kortyx-io/kortyx/commit/9a11389203ac08ba9dbf1700e9838ad1b5b59d1c))
|
|
23
|
+
* **evals:** add portable judge prompts and suite-owned judges ([18092cf](https://github.com/kortyx-io/kortyx/commit/18092cf0840933beeda98b6e3d17f774f2f4678d))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* **release:** replace unpublished eval release candidate ([#391](https://github.com/kortyx-io/kortyx/issues/391)) ([7d9898c](https://github.com/kortyx-io/kortyx/commit/7d9898cec73a6eaf1daf3504bc17520437a293d1))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Dependencies
|
|
32
|
+
|
|
33
|
+
* The following workspace dependencies were updated
|
|
34
|
+
* dependencies
|
|
35
|
+
* @kortyx/agent bumped to 0.42.0
|
|
36
|
+
* @kortyx/cli bumped to 0.24.0
|
|
37
|
+
* @kortyx/hooks bumped to 0.35.4
|
|
38
|
+
* @kortyx/runtime bumped to 0.26.3
|
|
39
|
+
* @kortyx/prompts bumped to 0.3.0
|
|
40
|
+
|
|
3
41
|
## [0.33.1](https://github.com/kortyx-io/kortyx/compare/kortyx-v0.33.0...kortyx-v0.33.1) (2026-10-21)
|
|
4
42
|
|
|
5
43
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { Agent, AgentProcessOptions, ChatLifecycleErrorEvent, ChatLifecycleHookError, ChatLifecyclePhase, ChatRequestBody, ChatResponseFinalized, ChatResponseStatus, ChatRouteHandlerOptions, CheckpointRequestBody, CheckpointRouteHandlerOptions, CreateAgentArgs, CreateEvalsOptions, EvalCase, EvalCaseResult, EvalCheck, EvalCheckResult, 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, evalChecks, getEvalSuiteRevision, handleChatRequestBody, handleCheckpointRequestBody, parseChatRequestBody, parseCheckpointRequestBody, parseEvalSuite, readRequestJson, streamChatFromRoute } from '@kortyx/agent';
|
|
1
|
+
export { Agent, AgentProcessOptions, ChatLifecycleErrorEvent, ChatLifecycleHookError, ChatLifecyclePhase, ChatRequestBody, ChatResponseFinalized, ChatResponseStatus, ChatRouteHandlerOptions, CheckpointRequestBody, CheckpointRouteHandlerOptions, CreateAgentArgs, CreateEvalsOptions, EvalCase, EvalCaseResult, EvalCheck, EvalCheckResult, EvalCommand, EvalConfigurationError, EvalContext, EvalCriterion, EvalCriterionResult, EvalDefaults, EvalEvidenceEvent, EvalEvidenceEventType, EvalEvidenceFilters, EvalEvidencePolicy, EvalExecution, EvalExpectation, EvalGradeInput, EvalGradingRequest, EvalHandlerRef, EvalInterrupt, EvalIssue, EvalJson, EvalJudge, EvalJudgeEvidence, EvalJudgeOptions, EvalJudgePrompt, EvalJudgeUsage, EvalJudgeVariables, 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, defineJudgePrompt, defineSuite, evalChecks, evalJudgeVariablesSchema, getEvalSuiteRevision, handleChatRequestBody, handleCheckpointRequestBody, parseChatRequestBody, parseCheckpointRequestBody, parseEvalSuite, readRequestJson, streamChatFromRoute } from '@kortyx/agent';
|
|
2
2
|
export * from '@kortyx/core/errors';
|
|
3
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
|
-
export { CompiledPrompt, PromptCache, PromptError, PromptManager, PromptRef, PromptSnapshot, PromptSource, createPrompts, definePrompt, localPromptSource, studioPromptSource } from '@kortyx/prompts';
|
|
6
|
+
export { CompiledPrompt, PromptCache, PromptError, PromptManager, PromptRef, PromptSnapshot, PromptSource, createPrompts, definePrompt, localPromptSource, promptText, studioPromptSource } from '@kortyx/prompts';
|
|
7
7
|
export * from '@kortyx/providers';
|
|
8
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
|
@@ -57,11 +57,13 @@ __export(index_exports, {
|
|
|
57
57
|
createStudioEvalJudge: () => import_agent.createStudioEvalJudge,
|
|
58
58
|
createWorkflowHooks: () => import_hooks.createWorkflowHooks,
|
|
59
59
|
defineInterruptContract: () => import_hooks.defineInterruptContract,
|
|
60
|
+
defineJudgePrompt: () => import_agent.defineJudgePrompt,
|
|
60
61
|
defineOutputContract: () => import_hooks.defineOutputContract,
|
|
61
62
|
definePrompt: () => import_prompts.definePrompt,
|
|
62
63
|
defineSuite: () => import_agent.defineSuite,
|
|
63
64
|
defineWorkflow: () => import_core.defineWorkflow,
|
|
64
65
|
evalChecks: () => import_agent.evalChecks,
|
|
66
|
+
evalJudgeVariablesSchema: () => import_agent.evalJudgeVariablesSchema,
|
|
65
67
|
getEvalSuiteRevision: () => import_agent.getEvalSuiteRevision,
|
|
66
68
|
getRegisteredNode: () => import_runtime.getRegisteredNode,
|
|
67
69
|
handleChatRequestBody: () => import_agent2.handleChatRequestBody,
|
|
@@ -74,6 +76,7 @@ __export(index_exports, {
|
|
|
74
76
|
parseCheckpointRequestBody: () => import_agent2.parseCheckpointRequestBody,
|
|
75
77
|
parseEvalSuite: () => import_agent.parseEvalSuite,
|
|
76
78
|
projectInterruptPiece: () => import_stream.projectInterruptPiece,
|
|
79
|
+
promptText: () => import_prompts.promptText,
|
|
77
80
|
readRequestJson: () => import_agent2.readRequestJson,
|
|
78
81
|
readStream: () => import_stream.readStream,
|
|
79
82
|
reduceStructuredChunks: () => import_stream.reduceStructuredChunks,
|
|
@@ -145,11 +148,13 @@ var import_stream = require("@kortyx/stream");
|
|
|
145
148
|
createStudioEvalJudge,
|
|
146
149
|
createWorkflowHooks,
|
|
147
150
|
defineInterruptContract,
|
|
151
|
+
defineJudgePrompt,
|
|
148
152
|
defineOutputContract,
|
|
149
153
|
definePrompt,
|
|
150
154
|
defineSuite,
|
|
151
155
|
defineWorkflow,
|
|
152
156
|
evalChecks,
|
|
157
|
+
evalJudgeVariablesSchema,
|
|
153
158
|
getEvalSuiteRevision,
|
|
154
159
|
getRegisteredNode,
|
|
155
160
|
handleChatRequestBody,
|
|
@@ -162,6 +167,7 @@ var import_stream = require("@kortyx/stream");
|
|
|
162
167
|
parseCheckpointRequestBody,
|
|
163
168
|
parseEvalSuite,
|
|
164
169
|
projectInterruptPiece,
|
|
170
|
+
promptText,
|
|
165
171
|
readRequestJson,
|
|
166
172
|
readStream,
|
|
167
173
|
reduceStructuredChunks,
|
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 EvalCheck,\n EvalCheckResult,\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 evalChecks,\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;AAAA;
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export type {\n CreateEvalsOptions,\n EvalCase,\n EvalCaseResult,\n EvalCheck,\n EvalCheckResult,\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 EvalGradingRequest,\n EvalHandlerRef,\n EvalInterrupt,\n EvalIssue,\n EvalJson,\n EvalJudge,\n EvalJudgeEvidence,\n EvalJudgeOptions,\n EvalJudgePrompt,\n EvalJudgeUsage,\n EvalJudgeVariables,\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 defineJudgePrompt,\n defineSuite,\n EvalConfigurationError,\n EvalSuiteSchema,\n evalChecks,\n evalJudgeVariablesSchema,\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 promptText,\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;AAAA;AAAA;AAAA;AAAA;AA8CA,mBAaO;AACP,0BAAc,gCA5Dd;AA0FA,IAAAA,gBAaO;AAgBP,kBAA+D;AAqC/D,mBAoBO;AAOP,iBAAgC;AAShC,qBAOO;AACP,0BAAc,8BAxMd;AAqNA,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.34.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.
|
|
50
|
+
"@kortyx/agent": "0.43.0",
|
|
51
|
+
"@kortyx/cli": "0.25.0",
|
|
51
52
|
"@kortyx/core": "0.15.0",
|
|
52
|
-
"@kortyx/hooks": "0.35.
|
|
53
|
+
"@kortyx/hooks": "0.35.5",
|
|
54
|
+
"@kortyx/mcp": "0.3.5",
|
|
53
55
|
"@kortyx/providers": "0.9.4",
|
|
54
|
-
"@kortyx/
|
|
55
|
-
"@kortyx/runtime": "0.26.2",
|
|
56
|
-
"@kortyx/cli": "0.23.1",
|
|
57
|
-
"@kortyx/utils": "0.3.9",
|
|
56
|
+
"@kortyx/runtime": "0.26.4",
|
|
58
57
|
"@kortyx/stream": "0.15.6",
|
|
59
|
-
"@kortyx/
|
|
58
|
+
"@kortyx/utils": "0.3.9",
|
|
59
|
+
"@kortyx/prompts": "0.3.1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"turbo": "2.9.14",
|