@workbench-ai/workbench 0.0.76 → 0.0.77

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/dist/index.js CHANGED
@@ -1047,8 +1047,8 @@ function formatFanOut(fanout) {
1047
1047
  if (fanout.linkedAgents.length === 0) {
1048
1048
  return "fanout: completed";
1049
1049
  }
1050
- const suffix = fanout.additionalAgents ? ` and ${fanout.additionalAgents} more` : "";
1051
- return `fanned out to: ${fanout.linkedAgents.join(", ")}${suffix}`;
1050
+ const count = fanout.linkedAgents.length + (fanout.additionalAgents ?? 0);
1051
+ return `fanout: linked ${count} ${count === 1 ? "agent" : "agents"}`;
1052
1052
  }
1053
1053
  async function latestInstallVersion(record) {
1054
1054
  const handle = normalizedOwnerSkillHandle(record.handle);
@@ -1413,7 +1413,7 @@ function cloudExecutionNextCommand(runs, successCommand) {
1413
1413
  if (!first) {
1414
1414
  return "workbench log --runs";
1415
1415
  }
1416
- if (first.status === "running" || first.status === "failed" || first.status === "canceled") {
1416
+ if (first.status === "queued" || first.status === "running" || first.status === "failed" || first.status === "canceled") {
1417
1417
  return `workbench show ${displayRef(first.id)}`;
1418
1418
  }
1419
1419
  return successCommand;
@@ -2764,7 +2764,7 @@ async function statusWithCausalNext(status, auth, core, machine) {
2764
2764
  const lastRun = snapshot?.runs
2765
2765
  .slice()
2766
2766
  .sort((left, right) => right.createdAt.localeCompare(left.createdAt))[0];
2767
- if ((lastRun?.status === "running" || lastRun?.status === "failed" || lastRun?.status === "canceled") && lastRun.id) {
2767
+ if ((lastRun?.status === "queued" || lastRun?.status === "running" || lastRun?.status === "failed" || lastRun?.status === "canceled") && lastRun.id) {
2768
2768
  return { ...status, next: `workbench show ${displayRef(lastRun.id)}` };
2769
2769
  }
2770
2770
  const failedRemote = status.remotes.find((remote) => remote.sync.status === "error");
package/dist/workbench.js CHANGED
@@ -1,4 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import { runCli } from "./index.js";
3
+ for (const stream of [process.stdout, process.stderr]) {
4
+ stream.on("error", (error) => {
5
+ if (error.code === "EPIPE") {
6
+ process.exit(0);
7
+ }
8
+ throw error;
9
+ });
10
+ }
3
11
  const exitCode = await runCli(process.argv.slice(2));
4
12
  process.exitCode = exitCode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workbench-ai/workbench",
3
- "version": "0.0.76",
3
+ "version": "0.0.77",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/workbench-ai/workbench.git",
@@ -22,10 +22,10 @@
22
22
  "dependencies": {
23
23
  "skills": "1.5.11",
24
24
  "yaml": "^2.8.2",
25
- "@workbench-ai/workbench-built-in-adapters": "0.0.76",
26
- "@workbench-ai/workbench-core": "0.0.76",
27
- "@workbench-ai/workbench-contract": "0.0.76",
28
- "@workbench-ai/workbench-protocol": "0.0.76"
25
+ "@workbench-ai/workbench-built-in-adapters": "0.0.77",
26
+ "@workbench-ai/workbench-core": "0.0.77",
27
+ "@workbench-ai/workbench-contract": "0.0.77",
28
+ "@workbench-ai/workbench-protocol": "0.0.77"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@tailwindcss/postcss": "^4.2.2",
@@ -36,7 +36,7 @@
36
36
  "react-dom": "^19.2.0",
37
37
  "typescript": "^5.9.2",
38
38
  "vitest": "^3.2.4",
39
- "@workbench-ai/workbench-ui": "0.0.76"
39
+ "@workbench-ai/workbench-ui": "0.0.77"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "rm -rf dist && tsc -p tsconfig.json && chmod 755 dist/workbench.js && node ./scripts/build-dev-open-assets.mjs",