@loopstack/accessing-tool-results-example-workflow 0.20.1 → 0.20.3

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 +1 -33
  2. package/package.json +20 -7
package/README.md CHANGED
@@ -19,39 +19,7 @@ This example is useful for developers learning to build data-driven workflows th
19
19
 
20
20
  ## Installation
21
21
 
22
- You can add this module using the `loopstack` cli or via `npm`.
23
-
24
- ### a) Add Sources via `loopstack add` (recommended)
25
-
26
- ```bash
27
- loopstack add @loopstack/accessing-tool-results-example-workflow
28
- ```
29
-
30
- This command copies the source files into your `src` directory.
31
-
32
- - It is a great way to explore the code to learn new concepts or add own customizations
33
- - It will set up the module for you, so you do not need to manually update your application
34
-
35
- ### b) Install via `npm install`
36
-
37
- ```bash
38
- npm install --save @loopstack/accessing-tool-results-example-workflow
39
- ```
40
-
41
- Use npm install if you want to use and maintain the module as node dependency.
42
-
43
- - Use this, if you do not need to make changes to the code or want to review the source code.
44
-
45
- ## Setup
46
-
47
- ### 1. Manual setup (optional)
48
-
49
- > This step is automatically done for you when using the `loopstack add` command.
50
-
51
- - Add `ToolResultsExampleModule` to the imports of `default.module.ts` or any other custom module.
52
- - Inject the `WorkflowToolResultsWorkflow` workflow to your workspace class using the `@InjectWorkflow()` decorator.
53
-
54
- See here for more information about working with [Modules](https://loopstack.ai/docs/building-with-loopstack/creating-a-module) and [Workspaces](https://loopstack.ai/docs/building-with-loopstack/creating-workspaces)
22
+ See [SETUP.md](./SETUP.md) for installation and setup instructions.
55
23
 
56
24
  ## How It Works
57
25
 
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "tool",
11
11
  "workflow"
12
12
  ],
13
- "version": "0.20.1",
13
+ "version": "0.20.3",
14
14
  "license": "Apache-2.0",
15
15
  "author": {
16
16
  "name": "Jakob Klippel",
@@ -31,10 +31,10 @@
31
31
  "watch": "nest build --watch"
32
32
  },
33
33
  "dependencies": {
34
- "@loopstack/common": "^0.20.0",
35
- "@loopstack/core-ui-module": "^0.20.1",
36
- "@loopstack/create-chat-message-tool": "^0.20.1",
37
- "@loopstack/create-value-tool": "^0.20.1",
34
+ "@loopstack/common": "^0.20.3",
35
+ "@loopstack/core-ui-module": "^0.20.3",
36
+ "@loopstack/create-chat-message-tool": "^0.20.3",
37
+ "@loopstack/create-value-tool": "^0.20.3",
38
38
  "@nestjs/common": "^11.1.12",
39
39
  "zod": "^4.3.5"
40
40
  },
@@ -63,9 +63,22 @@
63
63
  "forceExit": true
64
64
  },
65
65
  "loopstack": {
66
- "module": "src/tool-results-example.module.ts",
66
+ "installModes": [
67
+ "add",
68
+ "install"
69
+ ],
70
+ "modules": [
71
+ {
72
+ "path": "src/tool-results-example.module.ts",
73
+ "className": "ToolResultsExampleModule"
74
+ }
75
+ ],
67
76
  "workflows": [
68
- "src/workflow-tool-results.workflow.ts"
77
+ {
78
+ "path": "src/workflow-tool-results.workflow.ts",
79
+ "className": "WorkflowToolResultsWorkflow",
80
+ "propertyName": "workflowToolResults"
81
+ }
69
82
  ]
70
83
  }
71
84
  }