@voyantjs/workflow-runs 0.35.0 → 0.37.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/README.md +17 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -10,6 +10,23 @@ pnpm add @voyantjs/workflow-runs
10
10
 
11
11
  The package is published with the same release-train version as the other installable Voyant packages.
12
12
 
13
+ For the matching importable React admin surface, install
14
+ `@voyantjs/workflow-runs-ui` and point its API client at the routes mounted by
15
+ this package:
16
+
17
+ ```tsx
18
+ import {
19
+ createWorkflowRunsApiClient,
20
+ WorkflowRunsPage,
21
+ } from "@voyantjs/workflow-runs-ui"
22
+
23
+ const workflowRunsApi = createWorkflowRunsApiClient({ apiBase: "/api" })
24
+
25
+ export function WorkflowsRoute() {
26
+ return <WorkflowRunsPage api={workflowRunsApi} />
27
+ }
28
+ ```
29
+
13
30
  ## Mount the admin routes
14
31
 
15
32
  `mountWorkflowRunsAdminRoutes` adds the workflow-run list, detail, rerun, and resume endpoints under `/v1/admin/workflow-runs`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/workflow-runs",
3
- "version": "0.35.0",
3
+ "version": "0.37.0",
4
4
  "description": "Workflow run recording, admin routes, and rerun/resume dispatch primitives for Voyant operator apps.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -35,9 +35,9 @@
35
35
  "drizzle-orm": "^0.45.2",
36
36
  "hono": "^4.12.10",
37
37
  "zod": "^4.3.6",
38
- "@voyantjs/core": "0.35.0",
39
- "@voyantjs/db": "0.35.0",
40
- "@voyantjs/hono": "0.35.0"
38
+ "@voyantjs/core": "0.37.0",
39
+ "@voyantjs/db": "0.37.0",
40
+ "@voyantjs/hono": "0.37.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "typescript": "^6.0.2",