@loopstack/meeting-notes-example-workflow 0.18.0-rc.0 → 0.18.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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @loopstack/meeting-notes-example-workflow@0.18.0-rc.0 build
2
+ > @loopstack/meeting-notes-example-workflow@0.18.1 build
3
3
  > nest build
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @loopstack/meeting-notes-example-workflow
2
2
 
3
+ ## 0.18.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#36](https://github.com/loopstack-ai/loopstack/pull/36) [`1af9cd4`](https://github.com/loopstack-ai/loopstack/commit/1af9cd4edb37b60e3df677ba450ad22a936f447d) Thanks [@jakobklippel](https://github.com/jakobklippel)! - Add loopstack-module config and update readme files
8
+
9
+ - Updated dependencies [[`1af9cd4`](https://github.com/loopstack-ai/loopstack/commit/1af9cd4edb37b60e3df677ba450ad22a936f447d)]:
10
+ - @loopstack/core-ui-module@0.18.1
11
+ - @loopstack/ai-module@0.18.1
12
+
13
+ ## 0.18.0
14
+
15
+ ### Minor Changes
16
+
17
+ - [#13](https://github.com/loopstack-ai/loopstack/pull/13) [`13ab1a7`](https://github.com/loopstack-ai/loopstack/commit/13ab1a792a12bc46e0a21cf1ac038a7e69c566df) Thanks [@jakobklippel](https://github.com/jakobklippel)! - Added from external repository
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [[`eea1b9f`](https://github.com/loopstack-ai/loopstack/commit/eea1b9ff10eaf8eda2a1bd4c2042148f964d5a39), [`e556176`](https://github.com/loopstack-ai/loopstack/commit/e5561769b365218f1ffdc890b887e7b607d06101), [`4ee0af1`](https://github.com/loopstack-ai/loopstack/commit/4ee0af1536e7802eb9d69a788c10184e3c5a7a11), [`3fd1db5`](https://github.com/loopstack-ai/loopstack/commit/3fd1db5d0de8ad26e3e22348f7f1593024a74273)]:
22
+ - @loopstack/ai-module@0.18.0
23
+ - @loopstack/core-ui-module@0.18.0
24
+ - @loopstack/core@0.18.0
25
+ - @loopstack/common@0.18.0
26
+
3
27
  ## 0.18.0-rc.0
4
28
 
5
29
  ### Minor Changes
package/README.md CHANGED
@@ -20,82 +20,47 @@ This example is essential for developers building workflows that require human o
20
20
 
21
21
  ## Installation
22
22
 
23
- ### Prerequisites
23
+ You can add this module using the `loopstack` cli or via `npm`.
24
24
 
25
- Create a new Loopstack project if you haven't already:
25
+ ### a) Add Sources via `loopstack add` (recommended)
26
26
 
27
27
  ```bash
28
- npx create-loopstack-app my-project
29
- cd my-project
28
+ loopstack add @loopstack/meeting-notes-example-workflow
30
29
  ```
31
30
 
32
- Start Environment
31
+ This command copies the source files into your `src` directory.
33
32
 
34
- ```bash
35
- cd my-project
36
- docker compose up -d
37
- ```
33
+ - It is a great way to explore the code to learn new concepts or add own customizations
34
+ - It will set up the module for you, so you do not need to manually update your application
38
35
 
39
- ### Add the Module
36
+ ### b) Install via `npm install`
40
37
 
41
38
  ```bash
42
- loopstack add @loopstack/meeting-notes-example-workflow
39
+ npm install --save @loopstack/meeting-notes-example-workflow
43
40
  ```
44
41
 
45
- This copies the source files into your `src` directory.
42
+ Use npm install if you want to use and maintain the module as node dependency.
46
43
 
47
- > Using the `loopstack add` command is a great way to explore the code to learn new concepts or add own customizations.
44
+ - Use this, if you do not need to make changes to the code or want to review the source code.
48
45
 
49
46
  ## Setup
50
47
 
51
- ### 1. Import the Module
48
+ ### 1. Configure API Key
52
49
 
53
- Add `MeetingNotesExampleModule` to your `default.module.ts` (included in the skeleton app) or to your own module:
50
+ Set your OpenAI API key as an environment variable:
54
51
 
55
- ```typescript
56
- import { Module } from '@nestjs/common';
57
- import { AiModule } from '@loopstack/ai-module';
58
- import { LoopCoreModule } from '@loopstack/core';
59
- import { CoreUiModule } from '@loopstack/core-ui-module';
60
- import { MeetingNotesExampleModule } from './@loopstack/meeting-notes-example-workflow';
61
- import { DefaultWorkspace } from './default.workspace';
62
-
63
- @Module({
64
- imports: [LoopCoreModule, MeetingNotesExampleModule],
65
- providers: [DefaultWorkspace],
66
- })
67
- export class DefaultModule {}
52
+ ```bash
53
+ OPENAI_API_KEY=sk-...
68
54
  ```
69
55
 
70
- ### 2. Register in Your Workspace
56
+ ### 2. Manual setup (optional)
71
57
 
72
- Add the workflow to your workspace class using the `@Workflow()` decorator:
58
+ > This step is automatically done for you when using the `loopstack add` command.
73
59
 
74
- ```typescript
75
- import { Injectable } from '@nestjs/common';
76
- import { BlockConfig, Workflow } from '@loopstack/common';
77
- import { WorkspaceBase } from '@loopstack/core';
78
- import { MeetingNotesWorkflow } from './@loopstack/meeting-notes-example-workflow';
79
-
80
- @Injectable()
81
- @BlockConfig({
82
- config: {
83
- title: 'My Workspace',
84
- description: 'A workspace with the meeting notes example workflow',
85
- },
86
- })
87
- export class MyWorkspace extends WorkspaceBase {
88
- @Workflow() meetingNotesWorkflow: MeetingNotesWorkflow;
89
- }
90
- ```
91
-
92
- ### 3. Configure API Key
93
-
94
- Set your OpenAI API key as an environment variable:
60
+ - Add `MeetingNotesExampleModule` to the imports of `default.module.ts` or any other custom module.
61
+ - Inject the `MeetingNotesWorkflow` workflow to your workspace class using the `@Workflow()` decorator.
95
62
 
96
- ```bash
97
- OPENAI_API_KEY=sk-...
98
- ```
63
+ 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)
99
64
 
100
65
  ## How It Works
101
66
 
@@ -0,0 +1,4 @@
1
+ {
2
+ "module": "src/meeting-notes-example.module.ts",
3
+ "workflows": ["src/meeting-notes.workflow.ts"]
4
+ }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@loopstack/meeting-notes-example-workflow",
3
3
  "displayName": "Loopstack Meeting Notes Example Worflow",
4
4
  "description": "A complete workflow demonstrating how to create a workflow in loopstack based on a meeting notes summary use case.",
5
- "version": "0.18.0-rc.0",
5
+ "version": "0.18.1",
6
6
  "author": {
7
7
  "name": "Jakob Klippel",
8
8
  "url": "https://www.linkedin.com/in/jakob-klippel/"
@@ -30,10 +30,10 @@
30
30
  "watch": "nest build --watch"
31
31
  },
32
32
  "dependencies": {
33
- "@loopstack/ai-module": "^0.18.0-rc.0",
34
- "@loopstack/common": "^0.18.0-rc.1",
35
- "@loopstack/core": "^0.18.0-rc.1",
36
- "@loopstack/core-ui-module": "^0.18.0-rc.0",
33
+ "@loopstack/ai-module": "^0.18.1",
34
+ "@loopstack/common": "^0.18.0",
35
+ "@loopstack/core": "^0.18.0",
36
+ "@loopstack/core-ui-module": "^0.18.1",
37
37
  "@nestjs/common": "^11.1.12",
38
38
  "zod": "^4.3.5"
39
39
  },