@inconvoai/node 0.0.1-alpha.1 → 0.1.0-alpha.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 +39 -0
- package/core/streaming-events.d.mts +14 -1
- package/core/streaming-events.d.mts.map +1 -1
- package/core/streaming-events.d.ts +14 -1
- package/core/streaming-events.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/core/streaming-events.ts +14 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.1 (2025-08-01)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.0.1-alpha.1...v0.1.0-alpha.1](https://github.com/ten-dev/inconvo-node-sdk/compare/v0.0.1-alpha.1...v0.1.0-alpha.1)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* add streaming ([59e511a](https://github.com/ten-dev/inconvo-node-sdk/commit/59e511a549740a98acd30c3f19b541b5fe8da84a))
|
|
10
|
+
* **api:** update via SDK Studio ([ce01c5a](https://github.com/ten-dev/inconvo-node-sdk/commit/ce01c5abca824456e725e1ed8c0595ba5573f804))
|
|
11
|
+
* **api:** update via SDK Studio ([7f00c0f](https://github.com/ten-dev/inconvo-node-sdk/commit/7f00c0fc07459d452867c939a37a31547fafa536))
|
|
12
|
+
* **api:** update via SDK Studio ([26af513](https://github.com/ten-dev/inconvo-node-sdk/commit/26af51317d7ae328877996537fd29470cd617c88))
|
|
13
|
+
* **api:** update via SDK Studio ([b0b7e8a](https://github.com/ten-dev/inconvo-node-sdk/commit/b0b7e8a24fa40a94c07a155358c236c8ef6d265c))
|
|
14
|
+
* **api:** update via SDK Studio ([09792fe](https://github.com/ten-dev/inconvo-node-sdk/commit/09792fe45752baace1d037fabdc8aff6d145d021))
|
|
15
|
+
* **api:** update via SDK Studio ([4456d3d](https://github.com/ten-dev/inconvo-node-sdk/commit/4456d3d3a7d885733821ebe0f17175f0c0d35394))
|
|
16
|
+
* **api:** update via SDK Studio ([afd8979](https://github.com/ten-dev/inconvo-node-sdk/commit/afd897940bbdc2d8014eb467411bd679a93c1e9a))
|
|
17
|
+
* define StreamEvent types and update SSEStream to use structured events ([a57a052](https://github.com/ten-dev/inconvo-node-sdk/commit/a57a05224b853d8b63d4b3aa384112359a04149d))
|
|
18
|
+
* implement SSEStream for server-sent events and remove Stream class ([5aac6a2](https://github.com/ten-dev/inconvo-node-sdk/commit/5aac6a24c4ea2aba74672faef84773d69969d2b3))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* enhance ResponseCompletedEvent structure with additional properties ([2d8663f](https://github.com/ten-dev/inconvo-node-sdk/commit/2d8663fac45954ba469ddb654b82cf51eea4ec2b))
|
|
24
|
+
* remove unnecessary newline in Stream class ([30c8b3e](https://github.com/ten-dev/inconvo-node-sdk/commit/30c8b3e84ba37e43c31a9cb313172addccdda226))
|
|
25
|
+
* update import statement and type assertion in response test ([c26af0d](https://github.com/ten-dev/inconvo-node-sdk/commit/c26af0dcc7d36f0655006db7df5e6916af8e1bb3))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Chores
|
|
29
|
+
|
|
30
|
+
* configure new SDK language ([cbcbb2c](https://github.com/ten-dev/inconvo-node-sdk/commit/cbcbb2cf7c4e310dd34e1062d62b3688c71c2b43))
|
|
31
|
+
* update SDK settings ([c38b50d](https://github.com/ten-dev/inconvo-node-sdk/commit/c38b50db613e46e5b69b12bfaf1db034f889115a))
|
|
32
|
+
* update SDK settings ([cb27439](https://github.com/ten-dev/inconvo-node-sdk/commit/cb2743944caf0db130f5a382de032b23d8ab252e))
|
|
33
|
+
* update SDK settings ([c233188](https://github.com/ten-dev/inconvo-node-sdk/commit/c2331880796ab61376f43e44f79768d44b71708f))
|
|
34
|
+
* update SDK settings ([d90c36d](https://github.com/ten-dev/inconvo-node-sdk/commit/d90c36da7902fb1c4b1f61085c0044b0933f1f4c))
|
|
35
|
+
* update SDK settings ([f018eaf](https://github.com/ten-dev/inconvo-node-sdk/commit/f018eafe9667ebf58b6de18a708eb3f939cc5da5))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Refactors
|
|
39
|
+
|
|
40
|
+
* remove generated file comment and improve response handling in SSE stream ([409ca92](https://github.com/ten-dev/inconvo-node-sdk/commit/409ca92144ba61b76604fcf9051f6bc6dd9f9093))
|
|
41
|
+
|
|
3
42
|
## 0.0.1-alpha.1 (2025-08-01)
|
|
4
43
|
|
|
5
44
|
Full Changelog: [v0.0.1-alpha.0...v0.0.1-alpha.1](https://github.com/ten-dev/inconvo-node-sdk/compare/v0.0.1-alpha.0...v0.0.1-alpha.1)
|
|
@@ -14,8 +14,21 @@ export interface ResponseAgentStepEvent extends BaseStreamEvent {
|
|
|
14
14
|
export interface ResponseCompletedEvent extends BaseStreamEvent {
|
|
15
15
|
type: 'response.completed';
|
|
16
16
|
response: {
|
|
17
|
-
|
|
17
|
+
id: string;
|
|
18
|
+
conversationId: string;
|
|
18
19
|
message: string;
|
|
20
|
+
type: 'text' | 'chart' | 'table';
|
|
21
|
+
chart?: {
|
|
22
|
+
type: 'line' | 'bar';
|
|
23
|
+
data: {
|
|
24
|
+
label: string;
|
|
25
|
+
value: number;
|
|
26
|
+
}[];
|
|
27
|
+
};
|
|
28
|
+
table?: {
|
|
29
|
+
head: string[];
|
|
30
|
+
body: string[][];
|
|
31
|
+
};
|
|
19
32
|
};
|
|
20
33
|
}
|
|
21
34
|
export type StreamEvent = ResponseCreatedEvent | ResponseAgentStepEvent | ResponseCompletedEvent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streaming-events.d.mts","sourceRoot":"","sources":["../src/core/streaming-events.ts"],"names":[],"mappings":"AAAA,M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QACjC,KAAK,CAAC,EAAE;YACN,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC;YACrB,IAAI,EAAE;gBACJ,KAAK,EAAE,MAAM,CAAC;gBACd,KAAK,EAAE,MAAM,CAAC;aACf,EAAE,CAAC;SACL,CAAC;QACF,KAAK,CAAC,EAAE;YACN,IAAI,EAAE,MAAM,EAAE,CAAC;YACf,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC;SAClB,CAAC;KACH,CAAC;CACH;AAED,MAAM,MAAM,WAAW,GAAG,oBAAoB,GAAG,sBAAsB,GAAG,sBAAsB,CAAC"}
|
|
@@ -14,8 +14,21 @@ export interface ResponseAgentStepEvent extends BaseStreamEvent {
|
|
|
14
14
|
export interface ResponseCompletedEvent extends BaseStreamEvent {
|
|
15
15
|
type: 'response.completed';
|
|
16
16
|
response: {
|
|
17
|
-
|
|
17
|
+
id: string;
|
|
18
|
+
conversationId: string;
|
|
18
19
|
message: string;
|
|
20
|
+
type: 'text' | 'chart' | 'table';
|
|
21
|
+
chart?: {
|
|
22
|
+
type: 'line' | 'bar';
|
|
23
|
+
data: {
|
|
24
|
+
label: string;
|
|
25
|
+
value: number;
|
|
26
|
+
}[];
|
|
27
|
+
};
|
|
28
|
+
table?: {
|
|
29
|
+
head: string[];
|
|
30
|
+
body: string[][];
|
|
31
|
+
};
|
|
19
32
|
};
|
|
20
33
|
}
|
|
21
34
|
export type StreamEvent = ResponseCreatedEvent | ResponseAgentStepEvent | ResponseCompletedEvent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streaming-events.d.ts","sourceRoot":"","sources":["../src/core/streaming-events.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,kBAAkB,GAAG,qBAAqB,GAAG,oBAAoB,CAAC;AAEhG,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,eAAe,CAAC;IACtB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,oBAAqB,SAAQ,eAAe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ACN,IAAI,EAAE,MAAM,EAAE,CAAC;YACf,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC;SAClB,CAAC;KACH,CAAC;CACH;AAED,MAAM,MAAM,WAAW,GAAG,oBAAoB,GAAG,sBAAsB,GAAG,sBAAsB,CAAC"}
|
package/package.json
CHANGED
|
@@ -18,8 +18,21 @@ export interface ResponseAgentStepEvent extends BaseStreamEvent {
|
|
|
18
18
|
export interface ResponseCompletedEvent extends BaseStreamEvent {
|
|
19
19
|
type: 'response.completed';
|
|
20
20
|
response: {
|
|
21
|
-
|
|
21
|
+
id: string;
|
|
22
|
+
conversationId: string;
|
|
22
23
|
message: string;
|
|
24
|
+
type: 'text' | 'chart' | 'table';
|
|
25
|
+
chart?: {
|
|
26
|
+
type: 'line' | 'bar';
|
|
27
|
+
data: {
|
|
28
|
+
label: string;
|
|
29
|
+
value: number;
|
|
30
|
+
}[];
|
|
31
|
+
};
|
|
32
|
+
table?: {
|
|
33
|
+
head: string[];
|
|
34
|
+
body: string[][];
|
|
35
|
+
};
|
|
23
36
|
};
|
|
24
37
|
}
|
|
25
38
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.0
|
|
1
|
+
export const VERSION = '0.1.0-alpha.1'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.0
|
|
1
|
+
export declare const VERSION = "0.1.0-alpha.1";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.0
|
|
1
|
+
export declare const VERSION = "0.1.0-alpha.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '0.0
|
|
4
|
+
exports.VERSION = '0.1.0-alpha.1'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.0
|
|
1
|
+
export const VERSION = '0.1.0-alpha.1'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|