@talgent/workbench-ui 0.2.4 → 0.2.6

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.
@@ -92,7 +92,8 @@ export function isTurnRunning(cause: unknown) {
92
92
 
93
93
  export const inputPendingMessage = "This Work still has messages to finish. Try again once they are handled.";
94
94
 
95
- // Agent closes a Work only once its accepted input is finished.
95
+ // Agent closes a running Work only once its accepted input is finished; a
96
+ // stopped or failed Work closes at once and drops its buffered input.
96
97
  export function isInputPending(cause: unknown) {
97
98
  const error = ConnectError.from(cause);
98
99
  return error.code === Code.FailedPrecondition && error.rawMessage.includes("still has accepted input to finish");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talgent/workbench-ui",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "description": "The Talgent Workbench's pages and components, published as TypeScript source for web apps built with Vite.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {