kortyx 0.8.0 → 0.9.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 +21 -0
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +6 -0
- package/dist/browser.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/package.json +11 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.1](https://github.com/kortyx-io/kortyx/compare/kortyx-v0.9.0...kortyx-v0.9.1) (2026-04-25)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* The following workspace dependencies were updated
|
|
9
|
+
* dependencies
|
|
10
|
+
* @kortyx/agent bumped to 0.10.1
|
|
11
|
+
* @kortyx/hooks bumped to 0.10.0
|
|
12
|
+
* @kortyx/providers bumped to 0.4.0
|
|
13
|
+
* @kortyx/runtime bumped to 0.9.0
|
|
14
|
+
|
|
15
|
+
## [0.9.0](https://github.com/kortyx-io/kortyx/compare/kortyx-v0.8.0...kortyx-v0.9.0) (2026-04-17)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* **hooks:** support incremental structured data streaming ([05e9678](https://github.com/kortyx-io/kortyx/commit/05e96789a9a132549c9245b1feb76d20916da42a))
|
|
21
|
+
* **hooks:** support incremental structured data streaming ([05e9678](https://github.com/kortyx-io/kortyx/commit/05e96789a9a132549c9245b1feb76d20916da42a))
|
|
22
|
+
* **hooks:** support incremental structured data streaming ([4023fda](https://github.com/kortyx-io/kortyx/commit/4023fda42bfecc81782e474e6d442b379a3fa3d4))
|
|
23
|
+
|
|
3
24
|
## [0.8.0](https://github.com/kortyx-io/kortyx/compare/kortyx-v0.7.0...kortyx-v0.8.0) (2026-03-11)
|
|
4
25
|
|
|
5
26
|
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { StreamChatFromRouteArgs, streamChatFromRoute } from '@kortyx/agent/browser';
|
|
2
|
-
export { ConsumeStreamHandlers, StreamChunk, StreamFromRouteArgs, consumeStream, readStream, streamFromRoute } from '@kortyx/stream/browser';
|
|
2
|
+
export { ConsumeStreamHandlers, StreamChunk, StreamFromRouteArgs, StructuredDataChunk, StructuredStreamAccumulator, StructuredStreamState, applyStructuredChunk, consumeStream, createStructuredStreamAccumulator, readStream, reduceStructuredChunks, streamFromRoute } from '@kortyx/stream/browser';
|
|
3
3
|
import '@kortyx/agent';
|
|
4
4
|
import '@kortyx/core';
|
|
5
5
|
import '@kortyx/hooks';
|
package/dist/browser.js
CHANGED
|
@@ -19,8 +19,11 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
19
19
|
// src/browser.ts
|
|
20
20
|
var browser_exports = {};
|
|
21
21
|
__export(browser_exports, {
|
|
22
|
+
applyStructuredChunk: () => import_browser2.applyStructuredChunk,
|
|
22
23
|
consumeStream: () => import_browser2.consumeStream,
|
|
24
|
+
createStructuredStreamAccumulator: () => import_browser2.createStructuredStreamAccumulator,
|
|
23
25
|
readStream: () => import_browser2.readStream,
|
|
26
|
+
reduceStructuredChunks: () => import_browser2.reduceStructuredChunks,
|
|
24
27
|
streamChatFromRoute: () => import_browser.streamChatFromRoute,
|
|
25
28
|
streamFromRoute: () => import_browser2.streamFromRoute
|
|
26
29
|
});
|
|
@@ -29,8 +32,11 @@ var import_browser = require("@kortyx/agent/browser");
|
|
|
29
32
|
var import_browser2 = require("@kortyx/stream/browser");
|
|
30
33
|
// Annotate the CommonJS export names for ESM import in node:
|
|
31
34
|
0 && (module.exports = {
|
|
35
|
+
applyStructuredChunk,
|
|
32
36
|
consumeStream,
|
|
37
|
+
createStructuredStreamAccumulator,
|
|
33
38
|
readStream,
|
|
39
|
+
reduceStructuredChunks,
|
|
34
40
|
streamChatFromRoute,
|
|
35
41
|
streamFromRoute
|
|
36
42
|
});
|
package/dist/browser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/browser.ts"],"sourcesContent":["// Browser-safe exports for client bundles (e.g. Next.js Client Components).\n// Keep this file free of Node-only imports (fs, path, etc).\n\nexport type { StreamChatFromRouteArgs } from \"@kortyx/agent/browser\";\nexport { streamChatFromRoute } from \"@kortyx/agent/browser\";\nexport type {\n ConsumeStreamHandlers,\n StreamChunk,\n StreamFromRouteArgs,\n} from \"@kortyx/stream/browser\";\nexport {\n consumeStream,\n readStream,\n streamFromRoute,\n} from \"@kortyx/stream/browser\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,qBAAoC;
|
|
1
|
+
{"version":3,"sources":["../src/browser.ts"],"sourcesContent":["// Browser-safe exports for client bundles (e.g. Next.js Client Components).\n// Keep this file free of Node-only imports (fs, path, etc).\n\nexport type { StreamChatFromRouteArgs } from \"@kortyx/agent/browser\";\nexport { streamChatFromRoute } from \"@kortyx/agent/browser\";\nexport type {\n ConsumeStreamHandlers,\n StreamChunk,\n StreamFromRouteArgs,\n StructuredDataChunk,\n StructuredStreamAccumulator,\n StructuredStreamState,\n} from \"@kortyx/stream/browser\";\nexport {\n applyStructuredChunk,\n consumeStream,\n createStructuredStreamAccumulator,\n readStream,\n reduceStructuredChunks,\n streamFromRoute,\n} from \"@kortyx/stream/browser\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,qBAAoC;AASpC,IAAAA,kBAOO;","names":["import_browser"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ export { GraphState, NodeConfig, NodeContext, NodeFn, NodeHandler, NodeResult, R
|
|
|
3
3
|
export { UseInterruptArgs, UseReasonArgs, UseReasonResult, UseStructuredDataArgs, useInterrupt, useNodeState, useReason, useStructuredData, useWorkflowState } from '@kortyx/hooks';
|
|
4
4
|
export * from '@kortyx/providers';
|
|
5
5
|
export { WorkflowRegistry, clearRegisteredNodes, createFileWorkflowRegistry, createFrameworkAdapterFromEnv, createInMemoryFrameworkAdapter, createInMemoryWorkflowRegistry, createRedisFrameworkAdapter, getRegisteredNode, listRegisteredNodes, registerNode } from '@kortyx/runtime';
|
|
6
|
-
export { BufferedStreamResult, ConsumeStreamHandlers, StreamChunk, collectBufferedStream, collectStream, consumeStream, createStreamResponse, readStream, summarizeStreamChunks, toSSE } from '@kortyx/stream';
|
|
6
|
+
export { BufferedStreamResult, ConsumeStreamHandlers, StreamChunk, StructuredDataChunk, StructuredStreamAccumulator, StructuredStreamState, applyStructuredChunk, collectBufferedStream, collectStream, consumeStream, createStreamResponse, createStructuredStreamAccumulator, readStream, reduceStructuredChunks, summarizeStreamChunks, toSSE } from '@kortyx/stream';
|
package/dist/index.js
CHANGED
|
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/index.ts
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
|
+
applyStructuredChunk: () => import_stream.applyStructuredChunk,
|
|
23
24
|
clearRegisteredNodes: () => import_runtime.clearRegisteredNodes,
|
|
24
25
|
collectBufferedStream: () => import_stream.collectBufferedStream,
|
|
25
26
|
collectStream: () => import_stream.collectStream,
|
|
@@ -32,6 +33,7 @@ __export(index_exports, {
|
|
|
32
33
|
createInMemoryWorkflowRegistry: () => import_runtime.createInMemoryWorkflowRegistry,
|
|
33
34
|
createRedisFrameworkAdapter: () => import_runtime.createRedisFrameworkAdapter,
|
|
34
35
|
createStreamResponse: () => import_stream.createStreamResponse,
|
|
36
|
+
createStructuredStreamAccumulator: () => import_stream.createStructuredStreamAccumulator,
|
|
35
37
|
defineWorkflow: () => import_core.defineWorkflow,
|
|
36
38
|
getRegisteredNode: () => import_runtime.getRegisteredNode,
|
|
37
39
|
handleChatRequestBody: () => import_agent.handleChatRequestBody,
|
|
@@ -39,6 +41,7 @@ __export(index_exports, {
|
|
|
39
41
|
loadWorkflow: () => import_core.loadWorkflow,
|
|
40
42
|
parseChatRequestBody: () => import_agent.parseChatRequestBody,
|
|
41
43
|
readStream: () => import_stream.readStream,
|
|
44
|
+
reduceStructuredChunks: () => import_stream.reduceStructuredChunks,
|
|
42
45
|
registerNode: () => import_runtime.registerNode,
|
|
43
46
|
streamChatFromRoute: () => import_agent.streamChatFromRoute,
|
|
44
47
|
summarizeStreamChunks: () => import_stream.summarizeStreamChunks,
|
|
@@ -59,6 +62,7 @@ var import_runtime = require("@kortyx/runtime");
|
|
|
59
62
|
var import_stream = require("@kortyx/stream");
|
|
60
63
|
// Annotate the CommonJS export names for ESM import in node:
|
|
61
64
|
0 && (module.exports = {
|
|
65
|
+
applyStructuredChunk,
|
|
62
66
|
clearRegisteredNodes,
|
|
63
67
|
collectBufferedStream,
|
|
64
68
|
collectStream,
|
|
@@ -71,6 +75,7 @@ var import_stream = require("@kortyx/stream");
|
|
|
71
75
|
createInMemoryWorkflowRegistry,
|
|
72
76
|
createRedisFrameworkAdapter,
|
|
73
77
|
createStreamResponse,
|
|
78
|
+
createStructuredStreamAccumulator,
|
|
74
79
|
defineWorkflow,
|
|
75
80
|
getRegisteredNode,
|
|
76
81
|
handleChatRequestBody,
|
|
@@ -78,6 +83,7 @@ var import_stream = require("@kortyx/stream");
|
|
|
78
83
|
loadWorkflow,
|
|
79
84
|
parseChatRequestBody,
|
|
80
85
|
readStream,
|
|
86
|
+
reduceStructuredChunks,
|
|
81
87
|
registerNode,
|
|
82
88
|
streamChatFromRoute,
|
|
83
89
|
summarizeStreamChunks,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["// release-test: 2026-01-22\n// Public DX surface for the Kortyx framework.\n\nexport type {\n Agent,\n AgentProcessOptions,\n ChatRequestBody,\n CreateAgentArgs,\n StreamChatFromRouteArgs,\n} from \"@kortyx/agent\";\nexport {\n createAgent,\n createChatRouteHandler,\n handleChatRequestBody,\n parseChatRequestBody,\n streamChatFromRoute,\n} from \"@kortyx/agent\";\nexport type {\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 UseInterruptArgs,\n UseReasonArgs,\n UseReasonResult,\n UseStructuredDataArgs,\n} from \"@kortyx/hooks\";\nexport {\n useInterrupt,\n useNodeState,\n useReason,\n useStructuredData,\n useWorkflowState,\n} from \"@kortyx/hooks\";\nexport * from \"@kortyx/providers\";\nexport type { WorkflowRegistry } from \"@kortyx/runtime\";\nexport {\n clearRegisteredNodes,\n createFileWorkflowRegistry,\n createFrameworkAdapterFromEnv,\n createInMemoryFrameworkAdapter,\n createInMemoryWorkflowRegistry,\n createRedisFrameworkAdapter,\n getRegisteredNode,\n listRegisteredNodes,\n registerNode,\n} from \"@kortyx/runtime\";\nexport type {\n BufferedStreamResult,\n ConsumeStreamHandlers,\n StreamChunk,\n} from \"@kortyx/stream\";\nexport {\n collectBufferedStream,\n collectStream,\n consumeStream,\n createStreamResponse,\n readStream,\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;AAUA,mBAMO;AAYP,kBAA+D;AAO/D,mBAMO;AACP,0BAAc,8BA1Cd;AA4CA,qBAUO;
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["// release-test: 2026-01-22\n// Public DX surface for the Kortyx framework.\n\nexport type {\n Agent,\n AgentProcessOptions,\n ChatRequestBody,\n CreateAgentArgs,\n StreamChatFromRouteArgs,\n} from \"@kortyx/agent\";\nexport {\n createAgent,\n createChatRouteHandler,\n handleChatRequestBody,\n parseChatRequestBody,\n streamChatFromRoute,\n} from \"@kortyx/agent\";\nexport type {\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 UseInterruptArgs,\n UseReasonArgs,\n UseReasonResult,\n UseStructuredDataArgs,\n} from \"@kortyx/hooks\";\nexport {\n useInterrupt,\n useNodeState,\n useReason,\n useStructuredData,\n useWorkflowState,\n} from \"@kortyx/hooks\";\nexport * from \"@kortyx/providers\";\nexport type { WorkflowRegistry } from \"@kortyx/runtime\";\nexport {\n clearRegisteredNodes,\n createFileWorkflowRegistry,\n createFrameworkAdapterFromEnv,\n createInMemoryFrameworkAdapter,\n createInMemoryWorkflowRegistry,\n createRedisFrameworkAdapter,\n getRegisteredNode,\n listRegisteredNodes,\n registerNode,\n} from \"@kortyx/runtime\";\nexport type {\n BufferedStreamResult,\n ConsumeStreamHandlers,\n StreamChunk,\n StructuredDataChunk,\n StructuredStreamAccumulator,\n StructuredStreamState,\n} from \"@kortyx/stream\";\nexport {\n applyStructuredChunk,\n collectBufferedStream,\n collectStream,\n consumeStream,\n createStreamResponse,\n createStructuredStreamAccumulator,\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;AAUA,mBAMO;AAYP,kBAA+D;AAO/D,mBAMO;AACP,0BAAc,8BA1Cd;AA4CA,qBAUO;AASP,oBAWO;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kortyx",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The batteries-included Kortyx package that aggregates the core building blocks.",
|
|
6
6
|
"keywords": [
|
|
@@ -21,16 +21,12 @@
|
|
|
21
21
|
"types": "./dist/index.d.ts",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
|
-
"browser": {
|
|
25
|
-
"types": "./dist/browser.d.ts",
|
|
26
|
-
"default": "./dist/browser.js"
|
|
27
|
-
},
|
|
28
|
-
"react-server": {
|
|
29
|
-
"types": "./dist/index.d.ts",
|
|
30
|
-
"default": "./dist/index.js"
|
|
31
|
-
},
|
|
32
24
|
"types": "./dist/index.d.ts",
|
|
33
25
|
"default": "./dist/index.js"
|
|
26
|
+
},
|
|
27
|
+
"./browser": {
|
|
28
|
+
"types": "./dist/browser.d.ts",
|
|
29
|
+
"default": "./dist/browser.js"
|
|
34
30
|
}
|
|
35
31
|
},
|
|
36
32
|
"files": [
|
|
@@ -39,13 +35,13 @@
|
|
|
39
35
|
"CHANGELOG.md"
|
|
40
36
|
],
|
|
41
37
|
"dependencies": {
|
|
42
|
-
"@kortyx/agent": "0.
|
|
38
|
+
"@kortyx/agent": "0.10.1",
|
|
43
39
|
"@kortyx/core": "0.5.0",
|
|
44
|
-
"@kortyx/hooks": "0.
|
|
45
|
-
"@kortyx/runtime": "0.
|
|
46
|
-
"@kortyx/providers": "0.
|
|
47
|
-
"@kortyx/
|
|
48
|
-
"@kortyx/
|
|
40
|
+
"@kortyx/hooks": "0.10.0",
|
|
41
|
+
"@kortyx/runtime": "0.9.0",
|
|
42
|
+
"@kortyx/providers": "0.4.0",
|
|
43
|
+
"@kortyx/stream": "0.6.1",
|
|
44
|
+
"@kortyx/utils": "0.2.5"
|
|
49
45
|
},
|
|
50
46
|
"devDependencies": {
|
|
51
47
|
"turbo": "^2.5.4",
|