@dougbots/avenor-opencode 0.12.0 → 0.12.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -329,7 +329,7 @@ function shutdownLines(details, args) {
329
329
  ];
330
330
  }
331
331
  function formatStatusOutput(args, result) {
332
- const statuses = Array.isArray(result) ? result : void 0;
332
+ const statuses = "runs" in result ? result.runs : void 0;
333
333
  if (statuses) return {
334
334
  title: `Avenor status — ${statuses.length} runs`,
335
335
  output: output(statusLines(statuses, args), "status"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dougbots/avenor-opencode",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,7 +27,7 @@
27
27
  "dev": "tsdown --watch"
28
28
  },
29
29
  "dependencies": {
30
- "@dougbots/avenor-core": "^0.12.0"
30
+ "@dougbots/avenor-core": "^0.12.1"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@opencode-ai/plugin": "1.15.3"