@devflow-tools/server 0.8.3 → 0.8.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.
- package/dist/main.js +3 -2
- package/dist/main.js.map +1 -1
- package/dist/memory/memory.module.js +2 -2
- package/dist/memory/memory.module.js.map +1 -1
- package/package.json +10 -10
package/dist/main.js
CHANGED
|
@@ -8,11 +8,12 @@ export async function bootstrap() {
|
|
|
8
8
|
app.setGlobalPrefix("api");
|
|
9
9
|
app.useGlobalFilters(new HttpExceptionFilter());
|
|
10
10
|
app.enableCors({ origin: true, credentials: true });
|
|
11
|
-
await app.listen({ port: 13337, host: "0.0.0.0" });
|
|
11
|
+
await app.listen({ port: parseInt(process.env.PORT || "13337", 10), host: "0.0.0.0" });
|
|
12
12
|
return app;
|
|
13
13
|
}
|
|
14
14
|
if (process.argv[1]?.endsWith("main.js") ||
|
|
15
|
-
process.argv[1]?.endsWith("main.ts")
|
|
15
|
+
process.argv[1]?.endsWith("main.ts") ||
|
|
16
|
+
process.argv[1]?.endsWith("server.js")) {
|
|
16
17
|
bootstrap();
|
|
17
18
|
}
|
|
18
19
|
//# sourceMappingURL=main.js.map
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EACL,cAAc,GAEf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAExE,MAAM,CAAC,KAAK,UAAU,SAAS;IAC7B,MAAM,GAAG,GAAG,MAAM,WAAW,CAAC,MAAM,CAClC,SAAS,EACT,IAAI,cAAc,EAAE,CACrB,CAAC;IACF,GAAG,CAAC,eAAe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,CAAC;IACpC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,EACtC,CAAC;IACD,SAAS,EAAE,CAAC;AACd,CAAC"}
|
|
@@ -4,7 +4,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { Module } from "@nestjs/common";
|
|
7
|
+
import { forwardRef, Module } from "@nestjs/common";
|
|
8
8
|
import { ContextModule } from "../context/context.module.js";
|
|
9
9
|
import { ProjectsModule } from "../projects/projects.module.js";
|
|
10
10
|
import { MemoryService } from "./memory.service.js";
|
|
@@ -12,7 +12,7 @@ import { MemoryController } from "./memory.controller.js";
|
|
|
12
12
|
let MemoryModule = class MemoryModule {
|
|
13
13
|
};
|
|
14
14
|
MemoryModule = __decorate([
|
|
15
|
-
Module({ imports: [ContextModule, ProjectsModule], controllers: [MemoryController], providers: [MemoryService], exports: [MemoryService] })
|
|
15
|
+
Module({ imports: [forwardRef(() => ContextModule), ProjectsModule], controllers: [MemoryController], providers: [MemoryService], exports: [MemoryService] })
|
|
16
16
|
], MemoryModule);
|
|
17
17
|
export { MemoryModule };
|
|
18
18
|
//# sourceMappingURL=memory.module.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.module.js","sourceRoot":"","sources":["../../src/memory/memory.module.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"memory.module.js","sourceRoot":"","sources":["../../src/memory/memory.module.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAGnD,IAAM,YAAY,GAAlB,MAAM,YAAY;CAAG,CAAA;AAAf,YAAY;IADxB,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,aAAa,CAAC,EAAE,cAAc,CAAC,EAAE,WAAW,EAAE,CAAC,gBAAgB,CAAC,EAAE,SAAS,EAAE,CAAC,aAAa,CAAC,EAAE,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,CAAC;GACjJ,YAAY,CAAG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devflow-tools/server",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/main.js",
|
|
6
6
|
"scripts": {
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
"clean": "rm -rf dist"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@devflow-tools/adapters": "^0.8.
|
|
16
|
-
"@devflow-tools/benchmark": "^0.8.
|
|
17
|
-
"@devflow-tools/context-engine": "^0.8.
|
|
18
|
-
"@devflow-tools/database": "^0.8.
|
|
19
|
-
"@devflow-tools/knowledge-engine": "^0.8.
|
|
20
|
-
"@devflow-tools/memory-engine": "^0.8.
|
|
21
|
-
"@devflow-tools/sdk": "^0.8.
|
|
22
|
-
"@devflow-tools/telemetry": "^0.8.
|
|
23
|
-
"@devflow-tools/workflow-engine": "^0.8.
|
|
15
|
+
"@devflow-tools/adapters": "^0.8.6",
|
|
16
|
+
"@devflow-tools/benchmark": "^0.8.6",
|
|
17
|
+
"@devflow-tools/context-engine": "^0.8.6",
|
|
18
|
+
"@devflow-tools/database": "^0.8.6",
|
|
19
|
+
"@devflow-tools/knowledge-engine": "^0.8.6",
|
|
20
|
+
"@devflow-tools/memory-engine": "^0.8.6",
|
|
21
|
+
"@devflow-tools/sdk": "^0.8.6",
|
|
22
|
+
"@devflow-tools/telemetry": "^0.8.6",
|
|
23
|
+
"@devflow-tools/workflow-engine": "^0.8.6",
|
|
24
24
|
"@nestjs/common": "^10.4.0",
|
|
25
25
|
"@nestjs/core": "^10.4.0",
|
|
26
26
|
"@nestjs/platform-fastify": "^10.4.0",
|