@loopstack/meeting-notes-example-workflow 0.21.7 → 0.22.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.
- package/dist/meeting-notes-example.module.d.ts.map +1 -1
- package/dist/meeting-notes-example.module.js +1 -2
- package/dist/meeting-notes-example.module.js.map +1 -1
- package/package.json +10 -35
- package/src/__tests__/meeting-notes.workflow.spec.ts +3 -2
- package/src/meeting-notes-example.module.ts +1 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meeting-notes-example.module.d.ts","sourceRoot":"","sources":["../src/meeting-notes-example.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"meeting-notes-example.module.d.ts","sourceRoot":"","sources":["../src/meeting-notes-example.module.ts"],"names":[],"mappings":"AAMA,qBAKa,yBAAyB;CAAG"}
|
|
@@ -9,7 +9,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9
9
|
exports.MeetingNotesExampleModule = void 0;
|
|
10
10
|
const common_1 = require("@nestjs/common");
|
|
11
11
|
const claude_module_1 = require("@loopstack/claude-module");
|
|
12
|
-
const core_1 = require("@loopstack/core");
|
|
13
12
|
const meeting_notes_document_1 = require("./documents/meeting-notes-document");
|
|
14
13
|
const optimized_notes_document_1 = require("./documents/optimized-notes-document");
|
|
15
14
|
const meeting_notes_workflow_1 = require("./meeting-notes.workflow");
|
|
@@ -18,7 +17,7 @@ let MeetingNotesExampleModule = class MeetingNotesExampleModule {
|
|
|
18
17
|
exports.MeetingNotesExampleModule = MeetingNotesExampleModule;
|
|
19
18
|
exports.MeetingNotesExampleModule = MeetingNotesExampleModule = __decorate([
|
|
20
19
|
(0, common_1.Module)({
|
|
21
|
-
imports: [
|
|
20
|
+
imports: [claude_module_1.ClaudeModule],
|
|
22
21
|
providers: [meeting_notes_workflow_1.MeetingNotesWorkflow, meeting_notes_document_1.MeetingNotesDocument, optimized_notes_document_1.OptimizedNotesDocument],
|
|
23
22
|
exports: [meeting_notes_workflow_1.MeetingNotesWorkflow],
|
|
24
23
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meeting-notes-example.module.js","sourceRoot":"","sources":["../src/meeting-notes-example.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,4DAAwD;AACxD
|
|
1
|
+
{"version":3,"file":"meeting-notes-example.module.js","sourceRoot":"","sources":["../src/meeting-notes-example.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,4DAAwD;AACxD,+EAA0E;AAC1E,mFAA8E;AAC9E,qEAAgE;AAOzD,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;CAAG,CAAA;AAA5B,8DAAyB;oCAAzB,yBAAyB;IALrC,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,4BAAY,CAAC;QACvB,SAAS,EAAE,CAAC,6CAAoB,EAAE,6CAAoB,EAAE,iDAAsB,CAAC;QAC/E,OAAO,EAAE,CAAC,6CAAoB,CAAC;KAChC,CAAC;GACW,yBAAyB,CAAG"}
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"summary",
|
|
10
10
|
"workflow"
|
|
11
11
|
],
|
|
12
|
-
"version": "0.
|
|
12
|
+
"version": "0.22.0",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"author": {
|
|
15
15
|
"name": "Jakob Klippel",
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"compile": "tsc --noEmit",
|
|
27
27
|
"format": "prettier --write .",
|
|
28
28
|
"lint": "eslint .",
|
|
29
|
-
"test": "
|
|
29
|
+
"test": "vitest run",
|
|
30
30
|
"watch": "nest build --watch"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@loopstack/claude-module": "^0.
|
|
34
|
-
"@loopstack/llm-provider-module": "^0.
|
|
35
|
-
"@loopstack/common": "^0.
|
|
36
|
-
"@loopstack/core": "^0.
|
|
33
|
+
"@loopstack/claude-module": "^0.24.0",
|
|
34
|
+
"@loopstack/llm-provider-module": "^0.3.0",
|
|
35
|
+
"@loopstack/common": "^0.30.0",
|
|
36
|
+
"@loopstack/core": "^0.30.0",
|
|
37
37
|
"@nestjs/common": "^11.1.19",
|
|
38
38
|
"zod": "^4.3.6"
|
|
39
39
|
},
|
|
@@ -41,34 +41,9 @@
|
|
|
41
41
|
"dist",
|
|
42
42
|
"src"
|
|
43
43
|
],
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"transform": {
|
|
49
|
-
"^.+\\.ts$": "ts-jest"
|
|
50
|
-
},
|
|
51
|
-
"testTimeout": 10000,
|
|
52
|
-
"forceExit": true,
|
|
53
|
-
"maxWorkers": 1
|
|
54
|
-
},
|
|
55
|
-
"loopstack": {
|
|
56
|
-
"modules": [
|
|
57
|
-
{
|
|
58
|
-
"path": "src/meeting-notes-example.module.ts",
|
|
59
|
-
"className": "MeetingNotesExampleModule"
|
|
60
|
-
}
|
|
61
|
-
],
|
|
62
|
-
"workflows": [
|
|
63
|
-
{
|
|
64
|
-
"path": "src/meeting-notes.workflow.ts",
|
|
65
|
-
"className": "MeetingNotesWorkflow",
|
|
66
|
-
"propertyName": "meetingNotes"
|
|
67
|
-
}
|
|
68
|
-
],
|
|
69
|
-
"installModes": [
|
|
70
|
-
"add",
|
|
71
|
-
"install"
|
|
72
|
-
]
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"vitest": "^4.1.6",
|
|
46
|
+
"@swc/core": "^1.15.33",
|
|
47
|
+
"unplugin-swc": "^1.5.9"
|
|
73
48
|
}
|
|
74
49
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { TestingModule } from '@nestjs/testing';
|
|
2
|
+
import { afterEach, beforeEach, describe, expect, it } from 'vitest';
|
|
2
3
|
import { ClaudeModule } from '@loopstack/claude-module';
|
|
3
4
|
import { RunContext, WorkflowEntity, getBlockTools } from '@loopstack/common';
|
|
4
|
-
import {
|
|
5
|
+
import { WorkflowProcessorService } from '@loopstack/core';
|
|
5
6
|
import { LlmGenerateObjectTool } from '@loopstack/llm-provider-module';
|
|
6
7
|
import { ToolMock, createStatelessContext, createWorkflowTest } from '@loopstack/testing';
|
|
7
8
|
import { MeetingNotesDocument } from '../documents/meeting-notes-document';
|
|
@@ -17,7 +18,7 @@ describe('MeetingNotesWorkflow', () => {
|
|
|
17
18
|
beforeEach(async () => {
|
|
18
19
|
module = await createWorkflowTest()
|
|
19
20
|
.forWorkflow(MeetingNotesWorkflow)
|
|
20
|
-
.withImports(
|
|
21
|
+
.withImports(ClaudeModule)
|
|
21
22
|
.withProvider(MeetingNotesDocument)
|
|
22
23
|
.withProvider(OptimizedNotesDocument)
|
|
23
24
|
.withToolOverride(LlmGenerateObjectTool)
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Module } from '@nestjs/common';
|
|
2
2
|
import { ClaudeModule } from '@loopstack/claude-module';
|
|
3
|
-
import { LoopCoreModule } from '@loopstack/core';
|
|
4
3
|
import { MeetingNotesDocument } from './documents/meeting-notes-document';
|
|
5
4
|
import { OptimizedNotesDocument } from './documents/optimized-notes-document';
|
|
6
5
|
import { MeetingNotesWorkflow } from './meeting-notes.workflow';
|
|
7
6
|
|
|
8
7
|
@Module({
|
|
9
|
-
imports: [
|
|
8
|
+
imports: [ClaudeModule],
|
|
10
9
|
providers: [MeetingNotesWorkflow, MeetingNotesDocument, OptimizedNotesDocument],
|
|
11
10
|
exports: [MeetingNotesWorkflow],
|
|
12
11
|
})
|