@xandreed/process-host 0.16.1 → 0.17.0
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/README.md
CHANGED
|
@@ -248,6 +248,7 @@ export declare const ProcessFullEvent: Schema.Union<readonly [Schema.Struct<{
|
|
|
248
248
|
readonly channel: Schema.Literals<readonly ["text", "reasoning", "tool-params"]>;
|
|
249
249
|
readonly id: Schema.brand<Schema.String, "StreamPartId">;
|
|
250
250
|
readonly delta: Schema.String;
|
|
251
|
+
readonly toolName: Schema.optionalKey<Schema.String>;
|
|
251
252
|
}>, Schema.Struct<{
|
|
252
253
|
readonly _tag: Schema.tag<"stream.fallback">;
|
|
253
254
|
readonly step: Schema.Int;
|
|
@@ -499,6 +500,7 @@ export declare const ProcessProgress: Schema.toTaggedUnion<"mode", readonly [Sch
|
|
|
499
500
|
readonly channel: Schema.Literals<readonly ["text", "reasoning", "tool-params"]>;
|
|
500
501
|
readonly id: Schema.brand<Schema.String, "StreamPartId">;
|
|
501
502
|
readonly delta: Schema.String;
|
|
503
|
+
readonly toolName: Schema.optionalKey<Schema.String>;
|
|
502
504
|
}>, Schema.Struct<{
|
|
503
505
|
readonly _tag: Schema.tag<"stream.fallback">;
|
|
504
506
|
readonly step: Schema.Int;
|
|
@@ -794,6 +796,7 @@ export declare const ProcessEvent: Schema.toTaggedUnion<"_tag", readonly [Schema
|
|
|
794
796
|
readonly channel: Schema.Literals<readonly ["text", "reasoning", "tool-params"]>;
|
|
795
797
|
readonly id: Schema.brand<Schema.String, "StreamPartId">;
|
|
796
798
|
readonly delta: Schema.String;
|
|
799
|
+
readonly toolName: Schema.optionalKey<Schema.String>;
|
|
797
800
|
}>, Schema.Struct<{
|
|
798
801
|
readonly _tag: Schema.tag<"stream.fallback">;
|
|
799
802
|
readonly step: Schema.Int;
|
|
@@ -302,10 +302,11 @@ export declare const encodeProcessEvent: (event: {
|
|
|
302
302
|
readonly run?: number;
|
|
303
303
|
} | {
|
|
304
304
|
readonly _tag: "assistant.delta";
|
|
305
|
+
readonly id: string;
|
|
305
306
|
readonly step: number;
|
|
306
307
|
readonly channel: "reasoning" | "text" | "tool-params";
|
|
307
|
-
readonly id: string;
|
|
308
308
|
readonly delta: string;
|
|
309
|
+
readonly toolName?: string;
|
|
309
310
|
} | {
|
|
310
311
|
readonly message: string;
|
|
311
312
|
readonly _tag: "stream.fallback";
|
|
@@ -653,10 +654,11 @@ export declare const processProgressOf: (event: {
|
|
|
653
654
|
readonly finishReason: "stop" | "length" | "content-filter" | "tool-calls" | "error" | "pause" | "other" | "unknown";
|
|
654
655
|
} | {
|
|
655
656
|
readonly _tag: "assistant.delta";
|
|
657
|
+
readonly id: string & import("effect/Brand").Brand<"StreamPartId">;
|
|
656
658
|
readonly step: number;
|
|
657
659
|
readonly channel: "reasoning" | "text" | "tool-params";
|
|
658
|
-
readonly id: string & import("effect/Brand").Brand<"StreamPartId">;
|
|
659
660
|
readonly delta: string;
|
|
661
|
+
readonly toolName?: string;
|
|
660
662
|
} | {
|
|
661
663
|
readonly _tag: "stream.fallback";
|
|
662
664
|
readonly step: number;
|
|
@@ -954,10 +956,11 @@ export declare const processProgressOf: (event: {
|
|
|
954
956
|
readonly run?: number;
|
|
955
957
|
} | {
|
|
956
958
|
readonly _tag: "assistant.delta";
|
|
959
|
+
readonly id: string;
|
|
957
960
|
readonly step: number;
|
|
958
961
|
readonly channel: "reasoning" | "text" | "tool-params";
|
|
959
|
-
readonly id: string;
|
|
960
962
|
readonly delta: string;
|
|
963
|
+
readonly toolName?: string;
|
|
961
964
|
} | {
|
|
962
965
|
readonly message: string;
|
|
963
966
|
readonly _tag: "stream.fallback";
|
|
@@ -1291,10 +1294,11 @@ export declare const processLifecycleOf: (session: {
|
|
|
1291
1294
|
readonly run?: number;
|
|
1292
1295
|
} | {
|
|
1293
1296
|
readonly _tag: "assistant.delta";
|
|
1297
|
+
readonly id: string;
|
|
1294
1298
|
readonly step: number;
|
|
1295
1299
|
readonly channel: "reasoning" | "text" | "tool-params";
|
|
1296
|
-
readonly id: string;
|
|
1297
1300
|
readonly delta: string;
|
|
1301
|
+
readonly toolName?: string;
|
|
1298
1302
|
} | {
|
|
1299
1303
|
readonly message: string;
|
|
1300
1304
|
readonly _tag: "stream.fallback";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xandreed/process-host",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=24",
|
|
6
6
|
"bun": ">=1.3.0"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "ee020a1d953e34f7883f4b0e9a17dfece59f1c88",
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
20
|
"url": "git+https://github.com/xandreeddev/efferent.git",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"private": false,
|
|
24
24
|
"types": "./dist/index.d.ts",
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@xandreed/core": "^0.
|
|
26
|
+
"@xandreed/core": "^0.17.0",
|
|
27
27
|
"effect": "^4.0.7"
|
|
28
28
|
},
|
|
29
29
|
"files": [
|