@rulvar/cli 1.166.0 → 1.167.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.
Files changed (2) hide show
  1. package/dist/index.js +5 -1
  2. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -293,19 +293,22 @@ function createServer(options) {
293
293
  status: "error",
294
294
  workflow: run.workflowName,
295
295
  live: true,
296
+ capabilities: { events: true },
296
297
  error: run.rejection
297
298
  });
298
299
  if (outcome === void 0) return json(200, {
299
300
  runId,
300
301
  status: "running",
301
302
  workflow: run.workflowName,
302
- live: true
303
+ live: true,
304
+ capabilities: { events: true }
303
305
  });
304
306
  return json(200, {
305
307
  runId,
306
308
  status: outcome.status,
307
309
  workflow: run.workflowName,
308
310
  live: true,
311
+ capabilities: { events: true },
309
312
  ...outcome.value === void 0 ? {} : { value: outcome.value },
310
313
  ...outcome.error === void 0 ? {} : { error: outcome.error },
311
314
  pending: outcome.pending,
@@ -330,6 +333,7 @@ function createServer(options) {
330
333
  runId,
331
334
  status: meta.status,
332
335
  live: false,
336
+ capabilities: { events: false },
333
337
  ...meta.workflowName === void 0 ? {} : { workflow: meta.workflowName },
334
338
  ...meta.name === void 0 ? {} : { name: meta.name },
335
339
  ...meta.tags === void 0 ? {} : { tags: meta.tags },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rulvar/cli",
3
- "version": "1.166.0",
3
+ "version": "1.167.0",
4
4
  "description": "Rulvar shell: run/resume/runs/inspect/plan/kb commands, TUI progress, createServer, createWorker, OTel exporter.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -22,17 +22,17 @@
22
22
  "access": "public"
23
23
  },
24
24
  "dependencies": {
25
- "@rulvar/core": "1.166.0"
25
+ "@rulvar/core": "1.167.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^22.20.1",
29
29
  "tsdown": "^0.22.14",
30
30
  "typescript": "~6.0.3",
31
- "@rulvar/store-sqlite": "1.166.0",
32
- "@rulvar/planner": "1.166.0",
33
- "@rulvar/testing": "1.166.0",
34
- "@rulvar/evals": "1.166.0",
35
- "@rulvar/plan": "1.166.0"
31
+ "@rulvar/testing": "1.167.0",
32
+ "@rulvar/store-sqlite": "1.167.0",
33
+ "@rulvar/planner": "1.167.0",
34
+ "@rulvar/evals": "1.167.0",
35
+ "@rulvar/plan": "1.167.0"
36
36
  },
37
37
  "bin": {
38
38
  "rulvar": "./dist/cli.js"