@eggjs/controller-decorator 4.0.2-beta.2 → 4.0.2-beta.4
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/decorator/agent/AgentController.d.ts +6 -0
- package/dist/decorator/agent/AgentController.js +99 -0
- package/dist/decorator/agent/AgentHandler.d.ts +17 -0
- package/dist/decorator/agent/index.d.ts +2 -0
- package/dist/decorator/agent/index.js +3 -0
- package/dist/decorator/index.d.ts +3 -0
- package/dist/decorator/index.js +2 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +3 -1
- package/dist/util/AgentInfoUtil.d.ts +13 -0
- package/dist/util/AgentInfoUtil.js +27 -0
- package/dist/util/index.d.ts +1 -0
- package/dist/util/index.js +1 -0
- package/package.json +8 -8
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { ControllerInfoUtil } from "../../util/ControllerInfoUtil.js";
|
|
2
|
+
import { MethodInfoUtil } from "../../util/MethodInfoUtil.js";
|
|
3
|
+
import { AgentInfoUtil } from "../../util/AgentInfoUtil.js";
|
|
4
|
+
import { HTTPInfoUtil } from "../../util/HTTPInfoUtil.js";
|
|
5
|
+
import { PrototypeUtil, SingletonProto } from "@eggjs/core-decorator";
|
|
6
|
+
import { AGENT_CONTROLLER_PROTO_IMPL_TYPE, AccessLevel, ControllerType, HTTPMethodEnum, HTTPParamType } from "@eggjs/tegg-types";
|
|
7
|
+
import { StackUtil } from "@eggjs/tegg-common-util";
|
|
8
|
+
|
|
9
|
+
//#region src/decorator/agent/AgentController.ts
|
|
10
|
+
function createNotImplemented(methodName, hasParam) {
|
|
11
|
+
let fn;
|
|
12
|
+
if (hasParam) fn = async function(_arg) {
|
|
13
|
+
throw new Error(`${methodName} not implemented`);
|
|
14
|
+
};
|
|
15
|
+
else fn = async function() {
|
|
16
|
+
throw new Error(`${methodName} not implemented`);
|
|
17
|
+
};
|
|
18
|
+
AgentInfoUtil.setNotImplemented(fn);
|
|
19
|
+
return fn;
|
|
20
|
+
}
|
|
21
|
+
const AGENT_ROUTES = [
|
|
22
|
+
{
|
|
23
|
+
methodName: "createThread",
|
|
24
|
+
httpMethod: HTTPMethodEnum.POST,
|
|
25
|
+
path: "/threads",
|
|
26
|
+
hasParam: false
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
methodName: "getThread",
|
|
30
|
+
httpMethod: HTTPMethodEnum.GET,
|
|
31
|
+
path: "/threads/:id",
|
|
32
|
+
paramType: "pathParam",
|
|
33
|
+
paramName: "id",
|
|
34
|
+
hasParam: true
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
methodName: "asyncRun",
|
|
38
|
+
httpMethod: HTTPMethodEnum.POST,
|
|
39
|
+
path: "/runs",
|
|
40
|
+
paramType: "body",
|
|
41
|
+
hasParam: true
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
methodName: "streamRun",
|
|
45
|
+
httpMethod: HTTPMethodEnum.POST,
|
|
46
|
+
path: "/runs/stream",
|
|
47
|
+
paramType: "body",
|
|
48
|
+
hasParam: true
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
methodName: "syncRun",
|
|
52
|
+
httpMethod: HTTPMethodEnum.POST,
|
|
53
|
+
path: "/runs/wait",
|
|
54
|
+
paramType: "body",
|
|
55
|
+
hasParam: true
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
methodName: "getRun",
|
|
59
|
+
httpMethod: HTTPMethodEnum.GET,
|
|
60
|
+
path: "/runs/:id",
|
|
61
|
+
paramType: "pathParam",
|
|
62
|
+
paramName: "id",
|
|
63
|
+
hasParam: true
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
methodName: "cancelRun",
|
|
67
|
+
httpMethod: HTTPMethodEnum.POST,
|
|
68
|
+
path: "/runs/:id/cancel",
|
|
69
|
+
paramType: "pathParam",
|
|
70
|
+
paramName: "id",
|
|
71
|
+
hasParam: true
|
|
72
|
+
}
|
|
73
|
+
];
|
|
74
|
+
function AgentController() {
|
|
75
|
+
return function(constructor) {
|
|
76
|
+
ControllerInfoUtil.setControllerType(constructor, ControllerType.HTTP);
|
|
77
|
+
HTTPInfoUtil.setHTTPPath("/api/v1", constructor);
|
|
78
|
+
SingletonProto({
|
|
79
|
+
accessLevel: AccessLevel.PUBLIC,
|
|
80
|
+
protoImplType: AGENT_CONTROLLER_PROTO_IMPL_TYPE
|
|
81
|
+
})(constructor);
|
|
82
|
+
PrototypeUtil.setFilePath(constructor, StackUtil.getCalleeFromStack(false, 5));
|
|
83
|
+
for (const route of AGENT_ROUTES) {
|
|
84
|
+
if (!constructor.prototype[route.methodName]) constructor.prototype[route.methodName] = createNotImplemented(route.methodName, route.hasParam);
|
|
85
|
+
MethodInfoUtil.setMethodControllerType(constructor, route.methodName, ControllerType.HTTP);
|
|
86
|
+
HTTPInfoUtil.setHTTPMethodMethod(route.httpMethod, constructor, route.methodName);
|
|
87
|
+
HTTPInfoUtil.setHTTPMethodPath(route.path, constructor, route.methodName);
|
|
88
|
+
if (route.paramType === "body") HTTPInfoUtil.setHTTPMethodParamType(HTTPParamType.BODY, 0, constructor, route.methodName);
|
|
89
|
+
else if (route.paramType === "pathParam") {
|
|
90
|
+
HTTPInfoUtil.setHTTPMethodParamType(HTTPParamType.PARAM, 0, constructor, route.methodName);
|
|
91
|
+
HTTPInfoUtil.setHTTPMethodParamName(route.paramName, 0, constructor, route.methodName);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
AgentInfoUtil.setAgentController(constructor);
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
//#endregion
|
|
99
|
+
export { AgentController };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AgentStreamMessage, CreateRunInput, RunObject, ThreadObject, ThreadObjectWithMessages } from "@eggjs/tegg-types/agent-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/decorator/agent/AgentHandler.d.ts
|
|
4
|
+
interface AgentHandler {
|
|
5
|
+
execRun(input: CreateRunInput, signal?: AbortSignal): AsyncGenerator<AgentStreamMessage>;
|
|
6
|
+
/** Create the AgentStore used to persist threads and runs. */
|
|
7
|
+
createStore(): Promise<unknown>;
|
|
8
|
+
createThread?(): Promise<ThreadObject>;
|
|
9
|
+
getThread?(threadId: string): Promise<ThreadObjectWithMessages>;
|
|
10
|
+
asyncRun?(input: CreateRunInput): Promise<RunObject>;
|
|
11
|
+
streamRun?(input: CreateRunInput): Promise<void>;
|
|
12
|
+
syncRun?(input: CreateRunInput): Promise<RunObject>;
|
|
13
|
+
getRun?(runId: string): Promise<RunObject>;
|
|
14
|
+
cancelRun?(runId: string): Promise<RunObject>;
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
export { AgentHandler };
|
|
@@ -10,5 +10,8 @@ import { MCPPrompt, PromptArgsSchema } from "./mcp/MCPPrompt.js";
|
|
|
10
10
|
import { MCPResource } from "./mcp/MCPResource.js";
|
|
11
11
|
import { MCPTool, ToolArgsSchema } from "./mcp/MCPTool.js";
|
|
12
12
|
import "./mcp/index.js";
|
|
13
|
+
import { AgentController } from "./agent/AgentController.js";
|
|
14
|
+
import { AgentHandler } from "./agent/AgentHandler.js";
|
|
15
|
+
import "./agent/index.js";
|
|
13
16
|
import { Acl } from "./Acl.js";
|
|
14
17
|
import { Middleware } from "./Middleware.js";
|
package/dist/decorator/index.js
CHANGED
|
@@ -10,6 +10,8 @@ import { MCPPrompt, PromptArgsSchema } from "./mcp/MCPPrompt.js";
|
|
|
10
10
|
import { MCPResource } from "./mcp/MCPResource.js";
|
|
11
11
|
import { MCPTool, ToolArgsSchema } from "./mcp/MCPTool.js";
|
|
12
12
|
import "./mcp/index.js";
|
|
13
|
+
import { AgentController } from "./agent/AgentController.js";
|
|
14
|
+
import "./agent/index.js";
|
|
13
15
|
import { Acl } from "./Acl.js";
|
|
14
16
|
import { Middleware } from "./Middleware.js";
|
|
15
17
|
|
package/dist/index.d.ts
CHANGED
|
@@ -10,6 +10,8 @@ import { MCPController } from "./decorator/mcp/MCPController.js";
|
|
|
10
10
|
import { MCPPrompt, PromptArgsSchema } from "./decorator/mcp/MCPPrompt.js";
|
|
11
11
|
import { MCPResource } from "./decorator/mcp/MCPResource.js";
|
|
12
12
|
import { MCPTool, ToolArgsSchema } from "./decorator/mcp/MCPTool.js";
|
|
13
|
+
import { AgentController } from "./decorator/agent/AgentController.js";
|
|
14
|
+
import { AgentHandler } from "./decorator/agent/AgentHandler.js";
|
|
13
15
|
import { Acl } from "./decorator/Acl.js";
|
|
14
16
|
import { Middleware } from "./decorator/Middleware.js";
|
|
15
17
|
import "./decorator/index.js";
|
|
@@ -32,6 +34,7 @@ import { MCPControllerToolMetaBuilder } from "./impl/mcp/MCPControllerToolMetaBu
|
|
|
32
34
|
import "./impl/index.js";
|
|
33
35
|
import { ControllerValidator } from "./util/validator/ControllerValidator.js";
|
|
34
36
|
import { MethodValidator } from "./util/validator/MethodValidator.js";
|
|
37
|
+
import { AgentInfoUtil } from "./util/AgentInfoUtil.js";
|
|
35
38
|
import { ControllerInfoUtil } from "./util/ControllerInfoUtil.js";
|
|
36
39
|
import { ControllerMetadataUtil } from "./util/ControllerMetadataUtil.js";
|
|
37
40
|
import { HTTPInfoUtil } from "./util/HTTPInfoUtil.js";
|
|
@@ -39,4 +42,4 @@ import { HTTPPriorityUtil } from "./util/HTTPPriorityUtil.js";
|
|
|
39
42
|
import { MethodInfoUtil } from "./util/MethodInfoUtil.js";
|
|
40
43
|
import "./util/index.js";
|
|
41
44
|
export * from "@eggjs/tegg-types/controller-decorator";
|
|
42
|
-
export { Acl, BodyParamMeta, ControllerInfoUtil, ControllerMetaBuilderFactory, ControllerMetadataUtil, ControllerValidator, Cookies, CookiesParamMeta, Extra, HTTPBody, InjectContext as HTTPContext, HTTPController, HTTPControllerMeta, HTTPControllerMetaBuilder, HTTPControllerMethodMetaBuilder, HTTPCookies, HTTPHeaders, HTTPInfoUtil, HTTPMethod, HTTPMethodMeta, HTTPParam, HTTPPriorityUtil, HTTPQueries, HTTPQuery, HTTPRequest, HTTPResponse, HeadersParamMeta, Host, InjectContext, MCPController, MCPControllerMeta, MCPControllerMetaBuilder, MCPControllerPromptMetaBuilder, MCPControllerResourceMetaBuilder, MCPControllerToolMetaBuilder, MCPInfoUtil, MCPPrompt, MCPPromptMeta, MCPResource, MCPResourceMeta, MCPTool, MCPToolMeta, MethodInfoUtil, MethodValidator, Middleware, ParamMeta, ParamMetaUtil, PathParamMeta, PromptArgsSchema, PromptArgsSchemaDetail, QueriesParamMeta, QueryParamMeta, RequestParamMeta, ToolArgsSchema, ToolArgsSchemaDetail };
|
|
45
|
+
export { Acl, AgentController, AgentHandler, AgentInfoUtil, BodyParamMeta, ControllerInfoUtil, ControllerMetaBuilderFactory, ControllerMetadataUtil, ControllerValidator, Cookies, CookiesParamMeta, Extra, HTTPBody, InjectContext as HTTPContext, HTTPController, HTTPControllerMeta, HTTPControllerMetaBuilder, HTTPControllerMethodMetaBuilder, HTTPCookies, HTTPHeaders, HTTPInfoUtil, HTTPMethod, HTTPMethodMeta, HTTPParam, HTTPPriorityUtil, HTTPQueries, HTTPQuery, HTTPRequest, HTTPResponse, HeadersParamMeta, Host, InjectContext, MCPController, MCPControllerMeta, MCPControllerMetaBuilder, MCPControllerPromptMetaBuilder, MCPControllerResourceMetaBuilder, MCPControllerToolMetaBuilder, MCPInfoUtil, MCPPrompt, MCPPromptMeta, MCPResource, MCPResourceMeta, MCPTool, MCPToolMeta, MethodInfoUtil, MethodValidator, Middleware, ParamMeta, ParamMetaUtil, PathParamMeta, PromptArgsSchema, PromptArgsSchemaDetail, QueriesParamMeta, QueryParamMeta, RequestParamMeta, ToolArgsSchema, ToolArgsSchemaDetail };
|
package/dist/index.js
CHANGED
|
@@ -2,6 +2,7 @@ import { ControllerInfoUtil } from "./util/ControllerInfoUtil.js";
|
|
|
2
2
|
import { ControllerValidator } from "./util/validator/ControllerValidator.js";
|
|
3
3
|
import { MethodInfoUtil } from "./util/MethodInfoUtil.js";
|
|
4
4
|
import { MethodValidator } from "./util/validator/MethodValidator.js";
|
|
5
|
+
import { AgentInfoUtil } from "./util/AgentInfoUtil.js";
|
|
5
6
|
import { ControllerMetadataUtil } from "./util/ControllerMetadataUtil.js";
|
|
6
7
|
import { HTTPInfoUtil } from "./util/HTTPInfoUtil.js";
|
|
7
8
|
import { HTTPPriorityUtil } from "./util/HTTPPriorityUtil.js";
|
|
@@ -19,6 +20,7 @@ import { MCPController } from "./decorator/mcp/MCPController.js";
|
|
|
19
20
|
import { MCPPrompt, PromptArgsSchema } from "./decorator/mcp/MCPPrompt.js";
|
|
20
21
|
import { MCPResource } from "./decorator/mcp/MCPResource.js";
|
|
21
22
|
import { MCPTool, ToolArgsSchema } from "./decorator/mcp/MCPTool.js";
|
|
23
|
+
import { AgentController } from "./decorator/agent/AgentController.js";
|
|
22
24
|
import { Acl } from "./decorator/Acl.js";
|
|
23
25
|
import { Middleware } from "./decorator/Middleware.js";
|
|
24
26
|
import "./decorator/index.js";
|
|
@@ -41,4 +43,4 @@ import "./impl/index.js";
|
|
|
41
43
|
|
|
42
44
|
export * from "@eggjs/tegg-types/controller-decorator"
|
|
43
45
|
|
|
44
|
-
export { Acl, BodyParamMeta, ControllerInfoUtil, ControllerMetaBuilderFactory, ControllerMetadataUtil, ControllerValidator, Cookies, CookiesParamMeta, Extra, HTTPBody, InjectContext as HTTPContext, HTTPController, HTTPControllerMeta, HTTPControllerMetaBuilder, HTTPControllerMethodMetaBuilder, HTTPCookies, HTTPHeaders, HTTPInfoUtil, HTTPMethod, HTTPMethodMeta, HTTPParam, HTTPPriorityUtil, HTTPQueries, HTTPQuery, HTTPRequest, HTTPResponse, HeadersParamMeta, Host, InjectContext, MCPController, MCPControllerMeta, MCPControllerMetaBuilder, MCPControllerPromptMetaBuilder, MCPControllerResourceMetaBuilder, MCPControllerToolMetaBuilder, MCPInfoUtil, MCPPrompt, MCPPromptMeta, MCPResource, MCPResourceMeta, MCPTool, MCPToolMeta, MethodInfoUtil, MethodValidator, Middleware, ParamMeta, ParamMetaUtil, PathParamMeta, PromptArgsSchema, QueriesParamMeta, QueryParamMeta, RequestParamMeta, ToolArgsSchema };
|
|
46
|
+
export { Acl, AgentController, AgentInfoUtil, BodyParamMeta, ControllerInfoUtil, ControllerMetaBuilderFactory, ControllerMetadataUtil, ControllerValidator, Cookies, CookiesParamMeta, Extra, HTTPBody, InjectContext as HTTPContext, HTTPController, HTTPControllerMeta, HTTPControllerMetaBuilder, HTTPControllerMethodMetaBuilder, HTTPCookies, HTTPHeaders, HTTPInfoUtil, HTTPMethod, HTTPMethodMeta, HTTPParam, HTTPPriorityUtil, HTTPQueries, HTTPQuery, HTTPRequest, HTTPResponse, HeadersParamMeta, Host, InjectContext, MCPController, MCPControllerMeta, MCPControllerMetaBuilder, MCPControllerPromptMetaBuilder, MCPControllerResourceMetaBuilder, MCPControllerToolMetaBuilder, MCPInfoUtil, MCPPrompt, MCPPromptMeta, MCPResource, MCPResourceMeta, MCPTool, MCPToolMeta, MethodInfoUtil, MethodValidator, Middleware, ParamMeta, ParamMetaUtil, PathParamMeta, PromptArgsSchema, QueriesParamMeta, QueryParamMeta, RequestParamMeta, ToolArgsSchema };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EggProtoImplClass } from "@eggjs/tegg-types";
|
|
2
|
+
|
|
3
|
+
//#region src/util/AgentInfoUtil.d.ts
|
|
4
|
+
declare class AgentInfoUtil {
|
|
5
|
+
static setAgentController(clazz: EggProtoImplClass): void;
|
|
6
|
+
static isAgentController(clazz: EggProtoImplClass): boolean;
|
|
7
|
+
static setNotImplemented(fn: Function): void;
|
|
8
|
+
static isNotImplemented(fn: Function): boolean;
|
|
9
|
+
static setEnhanced(clazz: EggProtoImplClass): void;
|
|
10
|
+
static isEnhanced(clazz: EggProtoImplClass): boolean;
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { AgentInfoUtil };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { MetadataUtil } from "@eggjs/core-decorator";
|
|
2
|
+
import { CONTROLLER_AGENT_CONTROLLER, CONTROLLER_AGENT_ENHANCED, CONTROLLER_AGENT_NOT_IMPLEMENTED } from "@eggjs/tegg-types";
|
|
3
|
+
|
|
4
|
+
//#region src/util/AgentInfoUtil.ts
|
|
5
|
+
var AgentInfoUtil = class {
|
|
6
|
+
static setAgentController(clazz) {
|
|
7
|
+
MetadataUtil.defineMetaData(CONTROLLER_AGENT_CONTROLLER, true, clazz);
|
|
8
|
+
}
|
|
9
|
+
static isAgentController(clazz) {
|
|
10
|
+
return MetadataUtil.getBooleanMetaData(CONTROLLER_AGENT_CONTROLLER, clazz);
|
|
11
|
+
}
|
|
12
|
+
static setNotImplemented(fn) {
|
|
13
|
+
Reflect.defineMetadata(CONTROLLER_AGENT_NOT_IMPLEMENTED, true, fn);
|
|
14
|
+
}
|
|
15
|
+
static isNotImplemented(fn) {
|
|
16
|
+
return !!Reflect.getMetadata(CONTROLLER_AGENT_NOT_IMPLEMENTED, fn);
|
|
17
|
+
}
|
|
18
|
+
static setEnhanced(clazz) {
|
|
19
|
+
MetadataUtil.defineMetaData(CONTROLLER_AGENT_ENHANCED, true, clazz);
|
|
20
|
+
}
|
|
21
|
+
static isEnhanced(clazz) {
|
|
22
|
+
return MetadataUtil.getBooleanMetaData(CONTROLLER_AGENT_ENHANCED, clazz);
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
export { AgentInfoUtil };
|
package/dist/util/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { MCPInfoUtil, PromptArgsSchemaDetail, ToolArgsSchemaDetail } from "./MCP
|
|
|
2
2
|
import { ControllerValidator } from "./validator/ControllerValidator.js";
|
|
3
3
|
import { MethodValidator } from "./validator/MethodValidator.js";
|
|
4
4
|
import "./validator/index.js";
|
|
5
|
+
import { AgentInfoUtil } from "./AgentInfoUtil.js";
|
|
5
6
|
import { ControllerInfoUtil } from "./ControllerInfoUtil.js";
|
|
6
7
|
import { ControllerMetadataUtil } from "./ControllerMetadataUtil.js";
|
|
7
8
|
import { HTTPInfoUtil } from "./HTTPInfoUtil.js";
|
package/dist/util/index.js
CHANGED
|
@@ -3,6 +3,7 @@ import { ControllerValidator } from "./validator/ControllerValidator.js";
|
|
|
3
3
|
import { MethodInfoUtil } from "./MethodInfoUtil.js";
|
|
4
4
|
import { MethodValidator } from "./validator/MethodValidator.js";
|
|
5
5
|
import "./validator/index.js";
|
|
6
|
+
import { AgentInfoUtil } from "./AgentInfoUtil.js";
|
|
6
7
|
import { ControllerMetadataUtil } from "./ControllerMetadataUtil.js";
|
|
7
8
|
import { HTTPInfoUtil } from "./HTTPInfoUtil.js";
|
|
8
9
|
import { HTTPPriorityUtil } from "./HTTPPriorityUtil.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eggjs/controller-decorator",
|
|
3
|
-
"version": "4.0.2-beta.
|
|
3
|
+
"version": "4.0.2-beta.4",
|
|
4
4
|
"description": "tegg controller decorator",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"controller",
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
"@modelcontextprotocol/sdk": "^1.23.0",
|
|
39
39
|
"is-type-of": "^2.2.0",
|
|
40
40
|
"path-to-regexp": "^1.9.0",
|
|
41
|
-
"@eggjs/
|
|
42
|
-
"@eggjs/
|
|
43
|
-
"@eggjs/metadata": "4.0.2-beta.
|
|
44
|
-
"@eggjs/
|
|
45
|
-
"@eggjs/
|
|
46
|
-
"@eggjs/tegg-types": "4.0.2-beta.
|
|
41
|
+
"@eggjs/cookies": "4.0.2-beta.4",
|
|
42
|
+
"@eggjs/aop-decorator": "4.0.2-beta.4",
|
|
43
|
+
"@eggjs/metadata": "4.0.2-beta.4",
|
|
44
|
+
"@eggjs/core-decorator": "4.0.2-beta.4",
|
|
45
|
+
"@eggjs/tegg-common-util": "4.0.2-beta.4",
|
|
46
|
+
"@eggjs/tegg-types": "4.0.2-beta.4"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/node": "^24.10.2",
|
|
50
50
|
"typescript": "^5.9.3",
|
|
51
|
-
"egg": "4.1.2-beta.
|
|
51
|
+
"egg": "4.1.2-beta.4"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
54
|
"node": ">=22.18.0"
|