@loopstack/accessing-tool-results-example-workflow 0.20.5 → 0.20.7
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.
|
@@ -8,7 +8,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.ToolResultsExampleModule = void 0;
|
|
10
10
|
const common_1 = require("@nestjs/common");
|
|
11
|
-
const
|
|
11
|
+
const core_1 = require("@loopstack/core");
|
|
12
12
|
const create_chat_message_tool_1 = require("@loopstack/create-chat-message-tool");
|
|
13
13
|
const create_value_tool_1 = require("@loopstack/create-value-tool");
|
|
14
14
|
const workflow_tool_results_workflow_1 = require("./workflow-tool-results.workflow");
|
|
@@ -17,7 +17,7 @@ let ToolResultsExampleModule = class ToolResultsExampleModule {
|
|
|
17
17
|
exports.ToolResultsExampleModule = ToolResultsExampleModule;
|
|
18
18
|
exports.ToolResultsExampleModule = ToolResultsExampleModule = __decorate([
|
|
19
19
|
(0, common_1.Module)({
|
|
20
|
-
imports: [
|
|
20
|
+
imports: [core_1.LoopCoreModule, create_value_tool_1.CreateValueToolModule, create_chat_message_tool_1.CreateChatMessageToolModule],
|
|
21
21
|
providers: [workflow_tool_results_workflow_1.WorkflowToolResultsWorkflow],
|
|
22
22
|
exports: [workflow_tool_results_workflow_1.WorkflowToolResultsWorkflow],
|
|
23
23
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-results-example.module.js","sourceRoot":"","sources":["../src/tool-results-example.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"tool-results-example.module.js","sourceRoot":"","sources":["../src/tool-results-example.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,0CAAiD;AACjD,kFAAkF;AAClF,oEAAqE;AACrE,qFAA+E;AAOxE,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;CAAG,CAAA;AAA3B,4DAAwB;mCAAxB,wBAAwB;IALpC,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,qBAAc,EAAE,yCAAqB,EAAE,sDAA2B,CAAC;QAC7E,SAAS,EAAE,CAAC,4DAA2B,CAAC;QACxC,OAAO,EAAE,CAAC,4DAA2B,CAAC;KACvC,CAAC;GACW,wBAAwB,CAAG"}
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"tool",
|
|
11
11
|
"workflow"
|
|
12
12
|
],
|
|
13
|
-
"version": "0.20.
|
|
13
|
+
"version": "0.20.7",
|
|
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.
|
|
35
|
-
"@loopstack/core
|
|
36
|
-
"@loopstack/create-chat-message-tool": "^0.20.
|
|
37
|
-
"@loopstack/create-value-tool": "^0.20.
|
|
34
|
+
"@loopstack/common": "^0.24.0",
|
|
35
|
+
"@loopstack/core": "^0.24.0",
|
|
36
|
+
"@loopstack/create-chat-message-tool": "^0.20.7",
|
|
37
|
+
"@loopstack/create-value-tool": "^0.20.7",
|
|
38
38
|
"@nestjs/common": "^11.1.14",
|
|
39
39
|
"zod": "^4.3.6"
|
|
40
40
|
},
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TestingModule } from '@nestjs/testing';
|
|
2
2
|
import { RunContext, getBlockHelpers } from '@loopstack/common';
|
|
3
|
-
import { WorkflowProcessorService } from '@loopstack/core';
|
|
4
|
-
import { CoreUiModule } from '@loopstack/core-ui-module';
|
|
3
|
+
import { LoopCoreModule, WorkflowProcessorService } from '@loopstack/core';
|
|
5
4
|
import { CreateChatMessage, CreateChatMessageToolModule } from '@loopstack/create-chat-message-tool';
|
|
6
5
|
import { CreateValue, CreateValueToolModule } from '@loopstack/create-value-tool';
|
|
7
6
|
import { ToolMock, createWorkflowTest } from '@loopstack/testing';
|
|
@@ -18,7 +17,7 @@ describe('WorkflowToolResultsWorkflow', () => {
|
|
|
18
17
|
beforeEach(async () => {
|
|
19
18
|
module = await createWorkflowTest()
|
|
20
19
|
.forWorkflow(WorkflowToolResultsWorkflow)
|
|
21
|
-
.withImports(
|
|
20
|
+
.withImports(LoopCoreModule, CreateValueToolModule, CreateChatMessageToolModule)
|
|
22
21
|
.withToolOverride(CreateValue)
|
|
23
22
|
.withToolOverride(CreateChatMessage)
|
|
24
23
|
.compile();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Module } from '@nestjs/common';
|
|
2
|
-
import {
|
|
2
|
+
import { LoopCoreModule } from '@loopstack/core';
|
|
3
3
|
import { CreateChatMessageToolModule } from '@loopstack/create-chat-message-tool';
|
|
4
4
|
import { CreateValueToolModule } from '@loopstack/create-value-tool';
|
|
5
5
|
import { WorkflowToolResultsWorkflow } from './workflow-tool-results.workflow';
|
|
6
6
|
|
|
7
7
|
@Module({
|
|
8
|
-
imports: [
|
|
8
|
+
imports: [LoopCoreModule, CreateValueToolModule, CreateChatMessageToolModule],
|
|
9
9
|
providers: [WorkflowToolResultsWorkflow],
|
|
10
10
|
exports: [WorkflowToolResultsWorkflow],
|
|
11
11
|
})
|