@gt-fe/eap-sdk 0.0.6
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/README.md +370 -0
- package/dist/auth/index.d.ts +2 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +2 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/user-session.d.ts +23 -0
- package/dist/auth/user-session.d.ts.map +1 -0
- package/dist/auth/user-session.js +162 -0
- package/dist/auth/user-session.js.map +1 -0
- package/dist/config/index.d.ts +2 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +2 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/project-runtime.d.ts +25 -0
- package/dist/config/project-runtime.d.ts.map +1 -0
- package/dist/config/project-runtime.js +80 -0
- package/dist/config/project-runtime.js.map +1 -0
- package/dist/digest.d.ts +6 -0
- package/dist/digest.d.ts.map +1 -0
- package/dist/digest.js +17 -0
- package/dist/digest.js.map +1 -0
- package/dist/discovery/agent-errors.d.ts +6 -0
- package/dist/discovery/agent-errors.d.ts.map +1 -0
- package/dist/discovery/agent-errors.js +9 -0
- package/dist/discovery/agent-errors.js.map +1 -0
- package/dist/discovery/find-agent-root.d.ts +7 -0
- package/dist/discovery/find-agent-root.d.ts.map +1 -0
- package/dist/discovery/find-agent-root.js +32 -0
- package/dist/discovery/find-agent-root.js.map +1 -0
- package/dist/discovery/index.d.ts +4 -0
- package/dist/discovery/index.d.ts.map +1 -0
- package/dist/discovery/index.js +4 -0
- package/dist/discovery/index.js.map +1 -0
- package/dist/discovery/resolve-agent-project.d.ts +10 -0
- package/dist/discovery/resolve-agent-project.d.ts.map +1 -0
- package/dist/discovery/resolve-agent-project.js +68 -0
- package/dist/discovery/resolve-agent-project.js.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -0
- package/dist/lockfile/index.d.ts +5 -0
- package/dist/lockfile/index.d.ts.map +1 -0
- package/dist/lockfile/index.js +5 -0
- package/dist/lockfile/index.js.map +1 -0
- package/dist/lockfile/read-lockfile.d.ts +4 -0
- package/dist/lockfile/read-lockfile.d.ts.map +1 -0
- package/dist/lockfile/read-lockfile.js +22 -0
- package/dist/lockfile/read-lockfile.js.map +1 -0
- package/dist/lockfile/resolve-dependencies.d.ts +22 -0
- package/dist/lockfile/resolve-dependencies.d.ts.map +1 -0
- package/dist/lockfile/resolve-dependencies.js +117 -0
- package/dist/lockfile/resolve-dependencies.js.map +1 -0
- package/dist/lockfile/types.d.ts +9 -0
- package/dist/lockfile/types.d.ts.map +1 -0
- package/dist/lockfile/types.js +2 -0
- package/dist/lockfile/types.js.map +1 -0
- package/dist/lockfile/write-lockfile.d.ts +5 -0
- package/dist/lockfile/write-lockfile.d.ts.map +1 -0
- package/dist/lockfile/write-lockfile.js +53 -0
- package/dist/lockfile/write-lockfile.js.map +1 -0
- package/dist/materialization/copy-resource-directory.d.ts +2 -0
- package/dist/materialization/copy-resource-directory.d.ts.map +1 -0
- package/dist/materialization/copy-resource-directory.js +49 -0
- package/dist/materialization/copy-resource-directory.js.map +1 -0
- package/dist/materialization/index.d.ts +4 -0
- package/dist/materialization/index.d.ts.map +1 -0
- package/dist/materialization/index.js +4 -0
- package/dist/materialization/index.js.map +1 -0
- package/dist/materialization/prepare-agent-runtime.d.ts +3 -0
- package/dist/materialization/prepare-agent-runtime.d.ts.map +1 -0
- package/dist/materialization/prepare-agent-runtime.js +248 -0
- package/dist/materialization/prepare-agent-runtime.js.map +1 -0
- package/dist/materialization/types.d.ts +16 -0
- package/dist/materialization/types.d.ts.map +1 -0
- package/dist/materialization/types.js +2 -0
- package/dist/materialization/types.js.map +1 -0
- package/dist/packaging/archive.d.ts +10 -0
- package/dist/packaging/archive.d.ts.map +1 -0
- package/dist/packaging/archive.js +129 -0
- package/dist/packaging/archive.js.map +1 -0
- package/dist/packaging/index.d.ts +4 -0
- package/dist/packaging/index.d.ts.map +1 -0
- package/dist/packaging/index.js +4 -0
- package/dist/packaging/index.js.map +1 -0
- package/dist/packaging/package-agent-project.d.ts +20 -0
- package/dist/packaging/package-agent-project.d.ts.map +1 -0
- package/dist/packaging/package-agent-project.js +100 -0
- package/dist/packaging/package-agent-project.js.map +1 -0
- package/dist/packaging/read-package.d.ts +8 -0
- package/dist/packaging/read-package.d.ts.map +1 -0
- package/dist/packaging/read-package.js +48 -0
- package/dist/packaging/read-package.js.map +1 -0
- package/dist/platform/client.d.ts +3 -0
- package/dist/platform/client.d.ts.map +1 -0
- package/dist/platform/client.js +256 -0
- package/dist/platform/client.js.map +1 -0
- package/dist/platform/index.d.ts +3 -0
- package/dist/platform/index.d.ts.map +1 -0
- package/dist/platform/index.js +3 -0
- package/dist/platform/index.js.map +1 -0
- package/dist/platform/types.d.ts +190 -0
- package/dist/platform/types.d.ts.map +1 -0
- package/dist/platform/types.js +2 -0
- package/dist/platform/types.js.map +1 -0
- package/dist/project/agent-project.d.ts +21 -0
- package/dist/project/agent-project.d.ts.map +1 -0
- package/dist/project/agent-project.js +74 -0
- package/dist/project/agent-project.js.map +1 -0
- package/dist/project/index.d.ts +2 -0
- package/dist/project/index.d.ts.map +1 -0
- package/dist/project/index.js +2 -0
- package/dist/project/index.js.map +1 -0
- package/dist/resources/extract-resource-package.d.ts +9 -0
- package/dist/resources/extract-resource-package.d.ts.map +1 -0
- package/dist/resources/extract-resource-package.js +165 -0
- package/dist/resources/extract-resource-package.js.map +1 -0
- package/dist/resources/index.d.ts +7 -0
- package/dist/resources/index.d.ts.map +1 -0
- package/dist/resources/index.js +7 -0
- package/dist/resources/index.js.map +1 -0
- package/dist/resources/install-agent-dependencies.d.ts +3 -0
- package/dist/resources/install-agent-dependencies.d.ts.map +1 -0
- package/dist/resources/install-agent-dependencies.js +95 -0
- package/dist/resources/install-agent-dependencies.js.map +1 -0
- package/dist/resources/install-agent-resource.d.ts +3 -0
- package/dist/resources/install-agent-resource.d.ts.map +1 -0
- package/dist/resources/install-agent-resource.js +69 -0
- package/dist/resources/install-agent-resource.js.map +1 -0
- package/dist/resources/install-local-agent-resource.d.ts +9 -0
- package/dist/resources/install-local-agent-resource.d.ts.map +1 -0
- package/dist/resources/install-local-agent-resource.js +60 -0
- package/dist/resources/install-local-agent-resource.js.map +1 -0
- package/dist/resources/local-resource.d.ts +7 -0
- package/dist/resources/local-resource.d.ts.map +1 -0
- package/dist/resources/local-resource.js +36 -0
- package/dist/resources/local-resource.js.map +1 -0
- package/dist/resources/registry-resource-client.d.ts +16 -0
- package/dist/resources/registry-resource-client.d.ts.map +1 -0
- package/dist/resources/registry-resource-client.js +49 -0
- package/dist/resources/registry-resource-client.js.map +1 -0
- package/dist/resources/resource-files.d.ts +13 -0
- package/dist/resources/resource-files.d.ts.map +1 -0
- package/dist/resources/resource-files.js +123 -0
- package/dist/resources/resource-files.js.map +1 -0
- package/dist/resources/types.d.ts +32 -0
- package/dist/resources/types.d.ts.map +1 -0
- package/dist/resources/types.js +2 -0
- package/dist/resources/types.js.map +1 -0
- package/dist/resources/uninstall-agent-resource.d.ts +16 -0
- package/dist/resources/uninstall-agent-resource.d.ts.map +1 -0
- package/dist/resources/uninstall-agent-resource.js +64 -0
- package/dist/resources/uninstall-agent-resource.js.map +1 -0
- package/dist/schema/agent/index.d.ts +3 -0
- package/dist/schema/agent/index.d.ts.map +1 -0
- package/dist/schema/agent/index.js +3 -0
- package/dist/schema/agent/index.js.map +1 -0
- package/dist/schema/agent/manifest.d.ts +2256 -0
- package/dist/schema/agent/manifest.d.ts.map +1 -0
- package/dist/schema/agent/manifest.js +53 -0
- package/dist/schema/agent/manifest.js.map +1 -0
- package/dist/schema/agent/selector.d.ts +13 -0
- package/dist/schema/agent/selector.d.ts.map +1 -0
- package/dist/schema/agent/selector.js +6 -0
- package/dist/schema/agent/selector.js.map +1 -0
- package/dist/schema/common.d.ts +9 -0
- package/dist/schema/common.d.ts.map +1 -0
- package/dist/schema/common.js +40 -0
- package/dist/schema/common.js.map +1 -0
- package/dist/schema/dependencies-lock.d.ts +79 -0
- package/dist/schema/dependencies-lock.d.ts.map +1 -0
- package/dist/schema/dependencies-lock.js +18 -0
- package/dist/schema/dependencies-lock.js.map +1 -0
- package/dist/schema/graph.d.ts +2702 -0
- package/dist/schema/graph.d.ts.map +1 -0
- package/dist/schema/graph.js +143 -0
- package/dist/schema/graph.js.map +1 -0
- package/dist/schema/index.d.ts +11 -0
- package/dist/schema/index.d.ts.map +1 -0
- package/dist/schema/index.js +11 -0
- package/dist/schema/index.js.map +1 -0
- package/dist/schema/json-schema.d.ts +4 -0
- package/dist/schema/json-schema.d.ts.map +1 -0
- package/dist/schema/json-schema.js +14 -0
- package/dist/schema/json-schema.js.map +1 -0
- package/dist/schema/lockfile.d.ts +215 -0
- package/dist/schema/lockfile.d.ts.map +1 -0
- package/dist/schema/lockfile.js +33 -0
- package/dist/schema/lockfile.js.map +1 -0
- package/dist/schema/package-manifest.d.ts +65 -0
- package/dist/schema/package-manifest.d.ts.map +1 -0
- package/dist/schema/package-manifest.js +48 -0
- package/dist/schema/package-manifest.js.map +1 -0
- package/dist/schema/project-config.d.ts +138 -0
- package/dist/schema/project-config.d.ts.map +1 -0
- package/dist/schema/project-config.js +29 -0
- package/dist/schema/project-config.js.map +1 -0
- package/dist/schema/skill/index.d.ts +2 -0
- package/dist/schema/skill/index.d.ts.map +1 -0
- package/dist/schema/skill/index.js +2 -0
- package/dist/schema/skill/index.js.map +1 -0
- package/dist/schema/skill/manifest.d.ts +156 -0
- package/dist/schema/skill/manifest.d.ts.map +1 -0
- package/dist/schema/skill/manifest.js +43 -0
- package/dist/schema/skill/manifest.js.map +1 -0
- package/dist/schema/tool/index.d.ts +3 -0
- package/dist/schema/tool/index.d.ts.map +1 -0
- package/dist/schema/tool/index.js +3 -0
- package/dist/schema/tool/index.js.map +1 -0
- package/dist/schema/tool/manifest.d.ts +1342 -0
- package/dist/schema/tool/manifest.d.ts.map +1 -0
- package/dist/schema/tool/manifest.js +127 -0
- package/dist/schema/tool/manifest.js.map +1 -0
- package/dist/schema/tool/read-tool-manifest.d.ts +7 -0
- package/dist/schema/tool/read-tool-manifest.d.ts.map +1 -0
- package/dist/schema/tool/read-tool-manifest.js +42 -0
- package/dist/schema/tool/read-tool-manifest.js.map +1 -0
- package/dist/service/create-agent-service.d.ts +12 -0
- package/dist/service/create-agent-service.d.ts.map +1 -0
- package/dist/service/create-agent-service.js +260 -0
- package/dist/service/create-agent-service.js.map +1 -0
- package/dist/service/events.d.ts +49 -0
- package/dist/service/events.d.ts.map +1 -0
- package/dist/service/events.js +2 -0
- package/dist/service/events.js.map +1 -0
- package/dist/service/http-server.d.ts +4 -0
- package/dist/service/http-server.d.ts.map +1 -0
- package/dist/service/http-server.js +89 -0
- package/dist/service/http-server.js.map +1 -0
- package/dist/service/index.d.ts +5 -0
- package/dist/service/index.d.ts.map +1 -0
- package/dist/service/index.js +4 -0
- package/dist/service/index.js.map +1 -0
- package/dist/service/runtime-adapter.d.ts +4 -0
- package/dist/service/runtime-adapter.d.ts.map +1 -0
- package/dist/service/runtime-adapter.js +6 -0
- package/dist/service/runtime-adapter.js.map +1 -0
- package/dist/service/types.d.ts +48 -0
- package/dist/service/types.d.ts.map +1 -0
- package/dist/service/types.js +2 -0
- package/dist/service/types.js.map +1 -0
- package/dist/validation/index.d.ts +5 -0
- package/dist/validation/index.d.ts.map +1 -0
- package/dist/validation/index.js +5 -0
- package/dist/validation/index.js.map +1 -0
- package/dist/validation/types.d.ts +23 -0
- package/dist/validation/types.d.ts.map +1 -0
- package/dist/validation/types.js +2 -0
- package/dist/validation/types.js.map +1 -0
- package/dist/validation/validate-agent-directory.d.ts +8 -0
- package/dist/validation/validate-agent-directory.d.ts.map +1 -0
- package/dist/validation/validate-agent-directory.js +82 -0
- package/dist/validation/validate-agent-directory.js.map +1 -0
- package/dist/validation/validate-agent-project.d.ts +3 -0
- package/dist/validation/validate-agent-project.d.ts.map +1 -0
- package/dist/validation/validate-agent-project.js +99 -0
- package/dist/validation/validate-agent-project.js.map +1 -0
- package/dist/validation/validate-graph.d.ts +8 -0
- package/dist/validation/validate-graph.d.ts.map +1 -0
- package/dist/validation/validate-graph.js +127 -0
- package/dist/validation/validate-graph.js.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +5 -0
- package/dist/version.js.map +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const EapProjectConfigSchema: z.ZodObject<{
|
|
3
|
+
version: z.ZodEffects<z.ZodString, string, string>;
|
|
4
|
+
platform: z.ZodObject<{
|
|
5
|
+
foundationServiceUrl: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>>;
|
|
6
|
+
portalUrl: z.ZodString;
|
|
7
|
+
}, "strict", z.ZodTypeAny, {
|
|
8
|
+
portalUrl: string;
|
|
9
|
+
foundationServiceUrl?: string | null | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
portalUrl: string;
|
|
12
|
+
foundationServiceUrl?: string | null | undefined;
|
|
13
|
+
}>;
|
|
14
|
+
runtime: z.ZodObject<{
|
|
15
|
+
deploymentContext: z.ZodEnum<["dev", "desktop", "server"]>;
|
|
16
|
+
governance: z.ZodObject<{
|
|
17
|
+
enabled: z.ZodBoolean;
|
|
18
|
+
}, "strict", z.ZodTypeAny, {
|
|
19
|
+
enabled: boolean;
|
|
20
|
+
}, {
|
|
21
|
+
enabled: boolean;
|
|
22
|
+
}>;
|
|
23
|
+
storage: z.ZodObject<{
|
|
24
|
+
profile: z.ZodEnum<["test", "dev", "integration", "production"]>;
|
|
25
|
+
checkpointDir: z.ZodString;
|
|
26
|
+
}, "strict", z.ZodTypeAny, {
|
|
27
|
+
profile: "dev" | "test" | "integration" | "production";
|
|
28
|
+
checkpointDir: string;
|
|
29
|
+
}, {
|
|
30
|
+
profile: "dev" | "test" | "integration" | "production";
|
|
31
|
+
checkpointDir: string;
|
|
32
|
+
}>;
|
|
33
|
+
tools: z.ZodObject<{
|
|
34
|
+
mode: z.ZodEnum<["mock", "mcp", "http-debug"]>;
|
|
35
|
+
gatewayTransport: z.ZodEnum<["mcp", "http"]>;
|
|
36
|
+
}, "strict", z.ZodTypeAny, {
|
|
37
|
+
mode: "mock" | "mcp" | "http-debug";
|
|
38
|
+
gatewayTransport: "mcp" | "http";
|
|
39
|
+
}, {
|
|
40
|
+
mode: "mock" | "mcp" | "http-debug";
|
|
41
|
+
gatewayTransport: "mcp" | "http";
|
|
42
|
+
}>;
|
|
43
|
+
server: z.ZodOptional<z.ZodObject<{
|
|
44
|
+
host: z.ZodString;
|
|
45
|
+
port: z.ZodNumber;
|
|
46
|
+
}, "strict", z.ZodTypeAny, {
|
|
47
|
+
host: string;
|
|
48
|
+
port: number;
|
|
49
|
+
}, {
|
|
50
|
+
host: string;
|
|
51
|
+
port: number;
|
|
52
|
+
}>>;
|
|
53
|
+
}, "strict", z.ZodTypeAny, {
|
|
54
|
+
tools: {
|
|
55
|
+
mode: "mock" | "mcp" | "http-debug";
|
|
56
|
+
gatewayTransport: "mcp" | "http";
|
|
57
|
+
};
|
|
58
|
+
deploymentContext: "dev" | "desktop" | "server";
|
|
59
|
+
governance: {
|
|
60
|
+
enabled: boolean;
|
|
61
|
+
};
|
|
62
|
+
storage: {
|
|
63
|
+
profile: "dev" | "test" | "integration" | "production";
|
|
64
|
+
checkpointDir: string;
|
|
65
|
+
};
|
|
66
|
+
server?: {
|
|
67
|
+
host: string;
|
|
68
|
+
port: number;
|
|
69
|
+
} | undefined;
|
|
70
|
+
}, {
|
|
71
|
+
tools: {
|
|
72
|
+
mode: "mock" | "mcp" | "http-debug";
|
|
73
|
+
gatewayTransport: "mcp" | "http";
|
|
74
|
+
};
|
|
75
|
+
deploymentContext: "dev" | "desktop" | "server";
|
|
76
|
+
governance: {
|
|
77
|
+
enabled: boolean;
|
|
78
|
+
};
|
|
79
|
+
storage: {
|
|
80
|
+
profile: "dev" | "test" | "integration" | "production";
|
|
81
|
+
checkpointDir: string;
|
|
82
|
+
};
|
|
83
|
+
server?: {
|
|
84
|
+
host: string;
|
|
85
|
+
port: number;
|
|
86
|
+
} | undefined;
|
|
87
|
+
}>;
|
|
88
|
+
}, "strict", z.ZodTypeAny, {
|
|
89
|
+
version: string;
|
|
90
|
+
platform: {
|
|
91
|
+
portalUrl: string;
|
|
92
|
+
foundationServiceUrl?: string | null | undefined;
|
|
93
|
+
};
|
|
94
|
+
runtime: {
|
|
95
|
+
tools: {
|
|
96
|
+
mode: "mock" | "mcp" | "http-debug";
|
|
97
|
+
gatewayTransport: "mcp" | "http";
|
|
98
|
+
};
|
|
99
|
+
deploymentContext: "dev" | "desktop" | "server";
|
|
100
|
+
governance: {
|
|
101
|
+
enabled: boolean;
|
|
102
|
+
};
|
|
103
|
+
storage: {
|
|
104
|
+
profile: "dev" | "test" | "integration" | "production";
|
|
105
|
+
checkpointDir: string;
|
|
106
|
+
};
|
|
107
|
+
server?: {
|
|
108
|
+
host: string;
|
|
109
|
+
port: number;
|
|
110
|
+
} | undefined;
|
|
111
|
+
};
|
|
112
|
+
}, {
|
|
113
|
+
version: string;
|
|
114
|
+
platform: {
|
|
115
|
+
portalUrl: string;
|
|
116
|
+
foundationServiceUrl?: string | null | undefined;
|
|
117
|
+
};
|
|
118
|
+
runtime: {
|
|
119
|
+
tools: {
|
|
120
|
+
mode: "mock" | "mcp" | "http-debug";
|
|
121
|
+
gatewayTransport: "mcp" | "http";
|
|
122
|
+
};
|
|
123
|
+
deploymentContext: "dev" | "desktop" | "server";
|
|
124
|
+
governance: {
|
|
125
|
+
enabled: boolean;
|
|
126
|
+
};
|
|
127
|
+
storage: {
|
|
128
|
+
profile: "dev" | "test" | "integration" | "production";
|
|
129
|
+
checkpointDir: string;
|
|
130
|
+
};
|
|
131
|
+
server?: {
|
|
132
|
+
host: string;
|
|
133
|
+
port: number;
|
|
134
|
+
} | undefined;
|
|
135
|
+
};
|
|
136
|
+
}>;
|
|
137
|
+
export type EapProjectConfig = z.infer<typeof EapProjectConfigSchema>;
|
|
138
|
+
//# sourceMappingURL=project-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-config.d.ts","sourceRoot":"","sources":["../../src/schema/project-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBK,CAAC;AAEzC,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { SDK_VERSION } from '../version.js';
|
|
3
|
+
const RuntimeServerSchema = z.object({
|
|
4
|
+
host: z.string().min(1).describe('SDK 本地 Agent 服务的监听主机名,映射至 EAP_RUNTIME_HOST。'),
|
|
5
|
+
port: z.number().int().min(1).max(65535).describe('SDK 本地 Agent 服务的监听端口,映射至 EAP_RUNTIME_PORT。'),
|
|
6
|
+
}).strict().describe('SDK 本地 Agent 服务的可选监听配置。');
|
|
7
|
+
export const EapProjectConfigSchema = z.object({
|
|
8
|
+
version: z.string().refine((value) => value === SDK_VERSION, { message: `项目配置 version 必须与 @gt-fe/eap-sdk ${SDK_VERSION} 一致。` }).describe('项目使用的 @gt-fe/eap-sdk 版本,必须与当前安装版本严格一致。'),
|
|
9
|
+
platform: z.object({
|
|
10
|
+
foundationServiceUrl: z.string().url().or(z.literal('')).nullish().describe('Agent 最终部署后访问的服务托管地址;可省略、为空或为 null。null 或空字符串用于显式清空默认地址。'),
|
|
11
|
+
portalUrl: z.string().url().describe('开发者平台 Portal 地址,映射至 EAP_PLATFORM_ENDPOINT。'),
|
|
12
|
+
}).strict().describe('服务托管与开发者 Portal 地址配置。'),
|
|
13
|
+
runtime: z.object({
|
|
14
|
+
deploymentContext: z.enum(['dev', 'desktop', 'server']).describe('部署上下文,可选 dev、desktop 或 server,映射至 EAP_DEPLOYMENT_CONTEXT。'),
|
|
15
|
+
governance: z.object({
|
|
16
|
+
enabled: z.boolean().describe('是否启用治理,映射至 GOVERNANCE_DISABLED;false 映射为 1,true 映射为 0。'),
|
|
17
|
+
}).strict().describe('运行时治理配置。'),
|
|
18
|
+
storage: z.object({
|
|
19
|
+
profile: z.enum(['test', 'dev', 'integration', 'production']).describe('运行时存储配置档,可选 test、dev、integration 或 production,映射至 EAP_RUNTIME_STORAGE_PROFILE。'),
|
|
20
|
+
checkpointDir: z.string().min(1).describe('检查点目录的相对路径,相对于项目根目录,映射至 EAP_CHECKPOINT_DIR。'),
|
|
21
|
+
}).strict().describe('运行时存储与检查点配置。'),
|
|
22
|
+
tools: z.object({
|
|
23
|
+
mode: z.enum(['mock', 'mcp', 'http-debug']).describe('工具执行模式,可选 mock、mcp 或 http-debug,映射至 EAP_TOOL_EXECUTION_MODE。'),
|
|
24
|
+
gatewayTransport: z.enum(['mcp', 'http']).describe('工具网关传输协议,可选 mcp 或 http,映射至 EAP_TOOL_GATEWAY_TRANSPORT。'),
|
|
25
|
+
}).strict().describe('运行时工具执行配置。'),
|
|
26
|
+
server: RuntimeServerSchema.optional().describe('SDK 本地 Agent 服务的可选配置。'),
|
|
27
|
+
}).strict().describe('运行时配置。'),
|
|
28
|
+
}).strict().describe('EAP 项目配置文件的完整结构。');
|
|
29
|
+
//# sourceMappingURL=project-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-config.js","sourceRoot":"","sources":["../../src/schema/project-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,WAAW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
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schema/skill/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SkillIdSchema: z.ZodString;
|
|
3
|
+
/** Preferred name for the contract field `code`. */
|
|
4
|
+
export declare const SkillCodeSchema: z.ZodString;
|
|
5
|
+
export declare const SkillVersionSchema: z.ZodString;
|
|
6
|
+
export declare const SkillVisibilitySchema: z.ZodEnum<["personal", "department", "enterprise", "official"]>;
|
|
7
|
+
export declare const SkillManifestSchema: z.ZodObject<{
|
|
8
|
+
code: z.ZodString;
|
|
9
|
+
name: z.ZodString;
|
|
10
|
+
version: z.ZodOptional<z.ZodString>;
|
|
11
|
+
description: z.ZodString;
|
|
12
|
+
visibility: z.ZodOptional<z.ZodEnum<["personal", "department", "enterprise", "official"]>>;
|
|
13
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
14
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
15
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16
|
+
category: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
18
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
19
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
20
|
+
category: z.ZodOptional<z.ZodString>;
|
|
21
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
22
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
23
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
24
|
+
category: z.ZodOptional<z.ZodString>;
|
|
25
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
26
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
27
|
+
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
28
|
+
name: z.ZodString;
|
|
29
|
+
command: z.ZodString;
|
|
30
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
31
|
+
description: z.ZodOptional<z.ZodString>;
|
|
32
|
+
}, "strict", z.ZodTypeAny, {
|
|
33
|
+
name: string;
|
|
34
|
+
command: string;
|
|
35
|
+
description?: string | undefined;
|
|
36
|
+
args?: string[] | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
name: string;
|
|
39
|
+
command: string;
|
|
40
|
+
description?: string | undefined;
|
|
41
|
+
args?: string[] | undefined;
|
|
42
|
+
}>, "many">>;
|
|
43
|
+
toolRefs: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
44
|
+
toolId: z.ZodOptional<z.ZodString>;
|
|
45
|
+
name: z.ZodOptional<z.ZodString>;
|
|
46
|
+
version: z.ZodOptional<z.ZodString>;
|
|
47
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
48
|
+
toolId: z.ZodOptional<z.ZodString>;
|
|
49
|
+
name: z.ZodOptional<z.ZodString>;
|
|
50
|
+
version: z.ZodOptional<z.ZodString>;
|
|
51
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
52
|
+
toolId: z.ZodOptional<z.ZodString>;
|
|
53
|
+
name: z.ZodOptional<z.ZodString>;
|
|
54
|
+
version: z.ZodOptional<z.ZodString>;
|
|
55
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
56
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
57
|
+
code: z.ZodString;
|
|
58
|
+
name: z.ZodString;
|
|
59
|
+
version: z.ZodOptional<z.ZodString>;
|
|
60
|
+
description: z.ZodString;
|
|
61
|
+
visibility: z.ZodOptional<z.ZodEnum<["personal", "department", "enterprise", "official"]>>;
|
|
62
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
63
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
64
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
65
|
+
category: z.ZodOptional<z.ZodString>;
|
|
66
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
67
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
68
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
69
|
+
category: z.ZodOptional<z.ZodString>;
|
|
70
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
71
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
72
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
73
|
+
category: z.ZodOptional<z.ZodString>;
|
|
74
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
75
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
76
|
+
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
77
|
+
name: z.ZodString;
|
|
78
|
+
command: z.ZodString;
|
|
79
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
80
|
+
description: z.ZodOptional<z.ZodString>;
|
|
81
|
+
}, "strict", z.ZodTypeAny, {
|
|
82
|
+
name: string;
|
|
83
|
+
command: string;
|
|
84
|
+
description?: string | undefined;
|
|
85
|
+
args?: string[] | undefined;
|
|
86
|
+
}, {
|
|
87
|
+
name: string;
|
|
88
|
+
command: string;
|
|
89
|
+
description?: string | undefined;
|
|
90
|
+
args?: string[] | undefined;
|
|
91
|
+
}>, "many">>;
|
|
92
|
+
toolRefs: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
93
|
+
toolId: z.ZodOptional<z.ZodString>;
|
|
94
|
+
name: z.ZodOptional<z.ZodString>;
|
|
95
|
+
version: z.ZodOptional<z.ZodString>;
|
|
96
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
97
|
+
toolId: z.ZodOptional<z.ZodString>;
|
|
98
|
+
name: z.ZodOptional<z.ZodString>;
|
|
99
|
+
version: z.ZodOptional<z.ZodString>;
|
|
100
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
101
|
+
toolId: z.ZodOptional<z.ZodString>;
|
|
102
|
+
name: z.ZodOptional<z.ZodString>;
|
|
103
|
+
version: z.ZodOptional<z.ZodString>;
|
|
104
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
105
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
106
|
+
code: z.ZodString;
|
|
107
|
+
name: z.ZodString;
|
|
108
|
+
version: z.ZodOptional<z.ZodString>;
|
|
109
|
+
description: z.ZodString;
|
|
110
|
+
visibility: z.ZodOptional<z.ZodEnum<["personal", "department", "enterprise", "official"]>>;
|
|
111
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
112
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
113
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
114
|
+
category: z.ZodOptional<z.ZodString>;
|
|
115
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
116
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
117
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
118
|
+
category: z.ZodOptional<z.ZodString>;
|
|
119
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
120
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
121
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
122
|
+
category: z.ZodOptional<z.ZodString>;
|
|
123
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
124
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
125
|
+
scripts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
126
|
+
name: z.ZodString;
|
|
127
|
+
command: z.ZodString;
|
|
128
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
129
|
+
description: z.ZodOptional<z.ZodString>;
|
|
130
|
+
}, "strict", z.ZodTypeAny, {
|
|
131
|
+
name: string;
|
|
132
|
+
command: string;
|
|
133
|
+
description?: string | undefined;
|
|
134
|
+
args?: string[] | undefined;
|
|
135
|
+
}, {
|
|
136
|
+
name: string;
|
|
137
|
+
command: string;
|
|
138
|
+
description?: string | undefined;
|
|
139
|
+
args?: string[] | undefined;
|
|
140
|
+
}>, "many">>;
|
|
141
|
+
toolRefs: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
142
|
+
toolId: z.ZodOptional<z.ZodString>;
|
|
143
|
+
name: z.ZodOptional<z.ZodString>;
|
|
144
|
+
version: z.ZodOptional<z.ZodString>;
|
|
145
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
146
|
+
toolId: z.ZodOptional<z.ZodString>;
|
|
147
|
+
name: z.ZodOptional<z.ZodString>;
|
|
148
|
+
version: z.ZodOptional<z.ZodString>;
|
|
149
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
150
|
+
toolId: z.ZodOptional<z.ZodString>;
|
|
151
|
+
name: z.ZodOptional<z.ZodString>;
|
|
152
|
+
version: z.ZodOptional<z.ZodString>;
|
|
153
|
+
}, z.ZodTypeAny, "passthrough">>]>, "many">>;
|
|
154
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
155
|
+
export type SkillManifest = z.infer<typeof SkillManifestSchema>;
|
|
156
|
+
//# sourceMappingURL=manifest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../../src/schema/skill/manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,aAAa,aAKkB,CAAC;AAE7C,oDAAoD;AACpD,eAAO,MAAM,eAAe,aAA8C,CAAC;AAE3E,eAAO,MAAM,kBAAkB,aAGuB,CAAC;AAEvD,eAAO,MAAM,qBAAqB,iEAEP,CAAC;AAc5B,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAeyD,CAAC;AAE1F,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const SkillIdSchema = z
|
|
3
|
+
.string()
|
|
4
|
+
.min(1)
|
|
5
|
+
.max(64)
|
|
6
|
+
.regex(/^[a-z0-9][a-z0-9_-]*$/, 'Skill code must contain only lowercase letters, digits, hyphens, and underscores')
|
|
7
|
+
.describe('Skill 编码,只能包含小写字母、数字、连字符和下划线。');
|
|
8
|
+
/** Preferred name for the contract field `code`. */
|
|
9
|
+
export const SkillCodeSchema = SkillIdSchema.describe('Skill 对外主键(code)。');
|
|
10
|
+
export const SkillVersionSchema = z
|
|
11
|
+
.string()
|
|
12
|
+
.regex(/^\d+\.\d+\.\d+$/, 'Skill version must use major.minor.patch format')
|
|
13
|
+
.describe('Skill 的三段式语义化版本号,格式为 major.minor.patch。');
|
|
14
|
+
export const SkillVisibilitySchema = z
|
|
15
|
+
.enum(['personal', 'department', 'enterprise', 'official'])
|
|
16
|
+
.describe('Skill 的可见范围。');
|
|
17
|
+
const SkillMetadataSchema = z.object({
|
|
18
|
+
owner: z.string().optional().describe('Skill 的负责人或所属团队。'),
|
|
19
|
+
tags: z.array(z.string()).optional().describe('用于检索和分类的 Skill 标签。'),
|
|
20
|
+
category: z.string().optional().describe('Skill 的业务分类。'),
|
|
21
|
+
}).passthrough().describe('Skill 的扩展元数据。');
|
|
22
|
+
const SkillRefSchema = z.object({
|
|
23
|
+
toolId: z.string().optional(),
|
|
24
|
+
name: z.string().optional(),
|
|
25
|
+
version: z.string().optional(),
|
|
26
|
+
}).passthrough();
|
|
27
|
+
export const SkillManifestSchema = z.object({
|
|
28
|
+
code: SkillCodeSchema.describe('Skill 对外主键,用作目录名和路由键。'),
|
|
29
|
+
name: z.string().min(1).max(100).describe('Skill 名称。'),
|
|
30
|
+
version: SkillVersionSchema.optional().describe('Skill 版本元数据。'),
|
|
31
|
+
description: z.string().min(1).max(500).describe('Skill 描述。'),
|
|
32
|
+
visibility: SkillVisibilitySchema.optional(),
|
|
33
|
+
metadata: SkillMetadataSchema.optional(),
|
|
34
|
+
prompt: z.string().optional().describe('内联 Skill 提示词或相对 bundlePath 的文件路径。'),
|
|
35
|
+
scripts: z.array(z.object({
|
|
36
|
+
name: z.string().min(1),
|
|
37
|
+
command: z.string().min(1),
|
|
38
|
+
args: z.array(z.string()).optional(),
|
|
39
|
+
description: z.string().optional(),
|
|
40
|
+
}).strict()).optional(),
|
|
41
|
+
toolRefs: z.array(z.union([z.string(), SkillRefSchema])).optional(),
|
|
42
|
+
}).passthrough().describe('skill.manifest.json 的完整结构;字段与 skill.manifest.schema.json 对齐。');
|
|
43
|
+
//# sourceMappingURL=manifest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../src/schema/skill/manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC;KAC3B,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CAAC,EAAE,CAAC;KACP,KAAK,CAAC,uBAAuB,EAAE,kFAAkF,CAAC;KAClH,QAAQ,CAAC,+BAA+B,CAAC,CAAC;AAE7C,oDAAoD;AACpD,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC;AAE3E,MAAM,CAAC,MAAM,kBAAkB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@@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schema/tool/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC"}
|