@loopstack/accessing-tool-results-example-workflow 0.23.0 → 0.23.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.
- package/README.md +27 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Accessing Tool Results Example
|
|
3
|
+
description: Example workflow showing how to store and access data across workflow transitions using typed workflow state
|
|
4
|
+
---
|
|
5
|
+
|
|
1
6
|
# @loopstack/accessing-tool-results-example-workflow
|
|
2
7
|
|
|
3
8
|
> A module for the [Loopstack AI](https://loopstack.ai) automation framework.
|
|
@@ -19,7 +24,28 @@ This example is useful for developers learning to build data-driven workflows th
|
|
|
19
24
|
|
|
20
25
|
## Installation
|
|
21
26
|
|
|
22
|
-
|
|
27
|
+
```bash
|
|
28
|
+
npm install @loopstack/accessing-tool-results-example-workflow
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Then register the module in your app:
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
import {
|
|
35
|
+
ToolResultsExampleModule,
|
|
36
|
+
WorkflowToolResultsWorkflow,
|
|
37
|
+
} from '@loopstack/accessing-tool-results-example-workflow';
|
|
38
|
+
import { StudioApp } from '@loopstack/common';
|
|
39
|
+
|
|
40
|
+
@StudioApp({
|
|
41
|
+
title: 'Tool Results Example',
|
|
42
|
+
workflows: [WorkflowToolResultsWorkflow],
|
|
43
|
+
})
|
|
44
|
+
@Module({
|
|
45
|
+
imports: [ToolResultsExampleModule],
|
|
46
|
+
})
|
|
47
|
+
export class MyAppModule {}
|
|
48
|
+
```
|
|
23
49
|
|
|
24
50
|
## How It Works
|
|
25
51
|
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"tool",
|
|
11
11
|
"workflow"
|
|
12
12
|
],
|
|
13
|
-
"version": "0.23.
|
|
13
|
+
"version": "0.23.1",
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"author": {
|
|
16
16
|
"name": "Jakob Klippel",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"watch": "nest build --watch"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@loopstack/common": "^0.
|
|
34
|
+
"@loopstack/common": "^0.33.0",
|
|
35
35
|
"@nestjs/common": "^11.1.19",
|
|
36
36
|
"zod": "^4.3.6"
|
|
37
37
|
},
|