@xandreed/process-host 0.15.0 → 0.16.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
|
@@ -924,6 +924,7 @@ export declare const ProcessEvent: Schema.toTaggedUnion<"_tag", readonly [Schema
|
|
|
924
924
|
}>>;
|
|
925
925
|
readonly beginningTurns: Schema.Int;
|
|
926
926
|
readonly runningTasks: Schema.Int;
|
|
927
|
+
readonly runningWorkers: Schema.optionalKey<Schema.Int>;
|
|
927
928
|
readonly waiting: Schema.$Array<Schema.Struct<{
|
|
928
929
|
readonly session: Schema.brand<Schema.String, "ConversationId">;
|
|
929
930
|
readonly pending: Schema.Int;
|
|
@@ -949,6 +950,7 @@ export declare const ProcessEvent: Schema.toTaggedUnion<"_tag", readonly [Schema
|
|
|
949
950
|
}>>;
|
|
950
951
|
readonly beginningTurns: Schema.Int;
|
|
951
952
|
readonly runningTasks: Schema.Int;
|
|
953
|
+
readonly runningWorkers: Schema.optionalKey<Schema.Int>;
|
|
952
954
|
readonly waiting: Schema.$Array<Schema.Struct<{
|
|
953
955
|
readonly session: Schema.brand<Schema.String, "ConversationId">;
|
|
954
956
|
readonly pending: Schema.Int;
|
|
@@ -454,6 +454,10 @@ export declare const encodeProcessEvent: (event: {
|
|
|
454
454
|
readonly _tag: "pong";
|
|
455
455
|
readonly requestId: string & import("effect/Brand").Brand<"ProcessRequestId">;
|
|
456
456
|
readonly activity: {
|
|
457
|
+
readonly waiting: readonly {
|
|
458
|
+
readonly session: string & import("effect/Brand").Brand<"ConversationId">;
|
|
459
|
+
readonly pending: number;
|
|
460
|
+
}[];
|
|
457
461
|
readonly openTurns: readonly {
|
|
458
462
|
readonly session: string & import("effect/Brand").Brand<"ConversationId">;
|
|
459
463
|
readonly turn: number;
|
|
@@ -461,14 +465,11 @@ export declare const encodeProcessEvent: (event: {
|
|
|
461
465
|
}[];
|
|
462
466
|
readonly beginningTurns: number;
|
|
463
467
|
readonly runningTasks: number;
|
|
464
|
-
readonly waiting: readonly {
|
|
465
|
-
readonly session: string & import("effect/Brand").Brand<"ConversationId">;
|
|
466
|
-
readonly pending: number;
|
|
467
|
-
}[];
|
|
468
468
|
readonly queuedInput: number;
|
|
469
469
|
readonly inFlight: boolean;
|
|
470
470
|
readonly busy: boolean;
|
|
471
471
|
readonly stopping: boolean;
|
|
472
|
+
readonly runningWorkers?: number;
|
|
472
473
|
};
|
|
473
474
|
} | {
|
|
474
475
|
readonly _tag: "shutdown";
|
|
@@ -480,6 +481,10 @@ export declare const encodeProcessEvent: (event: {
|
|
|
480
481
|
readonly since: number;
|
|
481
482
|
}[];
|
|
482
483
|
readonly left: {
|
|
484
|
+
readonly waiting: readonly {
|
|
485
|
+
readonly session: string & import("effect/Brand").Brand<"ConversationId">;
|
|
486
|
+
readonly pending: number;
|
|
487
|
+
}[];
|
|
483
488
|
readonly openTurns: readonly {
|
|
484
489
|
readonly session: string & import("effect/Brand").Brand<"ConversationId">;
|
|
485
490
|
readonly turn: number;
|
|
@@ -487,14 +492,11 @@ export declare const encodeProcessEvent: (event: {
|
|
|
487
492
|
}[];
|
|
488
493
|
readonly beginningTurns: number;
|
|
489
494
|
readonly runningTasks: number;
|
|
490
|
-
readonly waiting: readonly {
|
|
491
|
-
readonly session: string & import("effect/Brand").Brand<"ConversationId">;
|
|
492
|
-
readonly pending: number;
|
|
493
|
-
}[];
|
|
494
495
|
readonly queuedInput: number;
|
|
495
496
|
readonly inFlight: boolean;
|
|
496
497
|
readonly busy: boolean;
|
|
497
498
|
readonly stopping: boolean;
|
|
499
|
+
readonly runningWorkers?: number;
|
|
498
500
|
};
|
|
499
501
|
};
|
|
500
502
|
readonly requestId?: string & import("effect/Brand").Brand<"ProcessRequestId">;
|
|
@@ -1441,6 +1443,10 @@ export declare const processLifecycleOf: (session: {
|
|
|
1441
1443
|
readonly _tag: "pong";
|
|
1442
1444
|
readonly requestId: string & import("effect/Brand").Brand<"ProcessRequestId">;
|
|
1443
1445
|
readonly activity: {
|
|
1446
|
+
readonly waiting: readonly {
|
|
1447
|
+
readonly session: string & import("effect/Brand").Brand<"ConversationId">;
|
|
1448
|
+
readonly pending: number;
|
|
1449
|
+
}[];
|
|
1444
1450
|
readonly openTurns: readonly {
|
|
1445
1451
|
readonly session: string & import("effect/Brand").Brand<"ConversationId">;
|
|
1446
1452
|
readonly turn: number;
|
|
@@ -1448,14 +1454,11 @@ export declare const processLifecycleOf: (session: {
|
|
|
1448
1454
|
}[];
|
|
1449
1455
|
readonly beginningTurns: number;
|
|
1450
1456
|
readonly runningTasks: number;
|
|
1451
|
-
readonly waiting: readonly {
|
|
1452
|
-
readonly session: string & import("effect/Brand").Brand<"ConversationId">;
|
|
1453
|
-
readonly pending: number;
|
|
1454
|
-
}[];
|
|
1455
1457
|
readonly queuedInput: number;
|
|
1456
1458
|
readonly inFlight: boolean;
|
|
1457
1459
|
readonly busy: boolean;
|
|
1458
1460
|
readonly stopping: boolean;
|
|
1461
|
+
readonly runningWorkers?: number;
|
|
1459
1462
|
};
|
|
1460
1463
|
} | {
|
|
1461
1464
|
readonly _tag: "shutdown";
|
|
@@ -1467,6 +1470,10 @@ export declare const processLifecycleOf: (session: {
|
|
|
1467
1470
|
readonly since: number;
|
|
1468
1471
|
}[];
|
|
1469
1472
|
readonly left: {
|
|
1473
|
+
readonly waiting: readonly {
|
|
1474
|
+
readonly session: string & import("effect/Brand").Brand<"ConversationId">;
|
|
1475
|
+
readonly pending: number;
|
|
1476
|
+
}[];
|
|
1470
1477
|
readonly openTurns: readonly {
|
|
1471
1478
|
readonly session: string & import("effect/Brand").Brand<"ConversationId">;
|
|
1472
1479
|
readonly turn: number;
|
|
@@ -1474,14 +1481,11 @@ export declare const processLifecycleOf: (session: {
|
|
|
1474
1481
|
}[];
|
|
1475
1482
|
readonly beginningTurns: number;
|
|
1476
1483
|
readonly runningTasks: number;
|
|
1477
|
-
readonly waiting: readonly {
|
|
1478
|
-
readonly session: string & import("effect/Brand").Brand<"ConversationId">;
|
|
1479
|
-
readonly pending: number;
|
|
1480
|
-
}[];
|
|
1481
1484
|
readonly queuedInput: number;
|
|
1482
1485
|
readonly inFlight: boolean;
|
|
1483
1486
|
readonly busy: boolean;
|
|
1484
1487
|
readonly stopping: boolean;
|
|
1488
|
+
readonly runningWorkers?: number;
|
|
1485
1489
|
};
|
|
1486
1490
|
};
|
|
1487
1491
|
readonly requestId?: string & import("effect/Brand").Brand<"ProcessRequestId">;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xandreed/process-host",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=24",
|
|
6
6
|
"bun": ">=1.3.0"
|
|
@@ -14,10 +14,11 @@
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {},
|
|
17
|
+
"gitHead": "7eb972d259e80a0c88a99d81e84e9440aed884f0",
|
|
17
18
|
"private": false,
|
|
18
19
|
"types": "./dist/index.d.ts",
|
|
19
20
|
"peerDependencies": {
|
|
20
|
-
"@xandreed/core": "^0.
|
|
21
|
+
"@xandreed/core": "^0.16.0",
|
|
21
22
|
"effect": "^4.0.7"
|
|
22
23
|
},
|
|
23
24
|
"files": [
|