From 71035006abdc300c8c733c4edf0f41a1d1d11b5d Mon Sep 17 00:00:00 2001 From: tangkai <1944876319@qq.com> Date: Tue, 7 Apr 2026 11:14:56 +0800 Subject: [PATCH 1/4] return make path to vscode plugin for upload --- src/api/builder/schema.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/api/builder/schema.ts b/src/api/builder/schema.ts index 07972060a..e8e087ad6 100644 --- a/src/api/builder/schema.ts +++ b/src/api/builder/schema.ts @@ -339,9 +339,10 @@ export const SchemaMakeResult = SchemaResultBase.extend({ custom: z.object({ nativePrjDir: z.string().optional().describe('Native project path after build'), // 构建后的原生项目地址 executableFile: z.string().optional().describe('Compiled executable file path'), // 编译后的可执行文件地址 - }).optional().describe('Custom fields after compiling the project, in object format'), // 编译项目后的自定义字段, object 形式 + }).passthrough().optional().describe('Custom fields after compiling the project, in object format'), // 编译项目后的自定义字段, object 形式 }).nullable().describe('Result after compiling the project'); // 编译项目后的结果 + export const SchemaPreviewSettingsResult = z.object({ settings: z.object({ CocosEngine: z.string().describe('Cocos Engine Version'), // Cocos Engine 版本 @@ -412,4 +413,4 @@ export const SchemaBuildDest = z.string().min(1).describe('Build Output Director export type TBuildDest = z.infer; export const SchemaRunResult = z.string().describe('Run URL'); // 运行 URL -export type TRunResult = z.infer; \ No newline at end of file +export type TRunResult = z.infer; From d44fc7fbbfe01d68576b589dee4e6402893b837f Mon Sep 17 00:00:00 2001 From: tangkai <1944876319@qq.com> Date: Tue, 7 Apr 2026 11:16:15 +0800 Subject: [PATCH 2/4] correct file --- src/api/builder/schema.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/api/builder/schema.ts b/src/api/builder/schema.ts index e8e087ad6..1ec1e81c1 100644 --- a/src/api/builder/schema.ts +++ b/src/api/builder/schema.ts @@ -413,4 +413,3 @@ export const SchemaBuildDest = z.string().min(1).describe('Build Output Director export type TBuildDest = z.infer; export const SchemaRunResult = z.string().describe('Run URL'); // 运行 URL -export type TRunResult = z.infer; From c95af44c427e6121c0f32bd9238f696ebfc8b80d Mon Sep 17 00:00:00 2001 From: tangkai <1944876319@qq.com> Date: Tue, 7 Apr 2026 11:41:09 +0800 Subject: [PATCH 3/4] recover the file --- src/api/builder/schema.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/builder/schema.ts b/src/api/builder/schema.ts index 1ec1e81c1..e8e087ad6 100644 --- a/src/api/builder/schema.ts +++ b/src/api/builder/schema.ts @@ -413,3 +413,4 @@ export const SchemaBuildDest = z.string().min(1).describe('Build Output Director export type TBuildDest = z.infer; export const SchemaRunResult = z.string().describe('Run URL'); // 运行 URL +export type TRunResult = z.infer; From dfff6f75a407ca4e4e25b312a86a7e8a818ab8a9 Mon Sep 17 00:00:00 2001 From: tangkai <1944876319@qq.com> Date: Tue, 7 Apr 2026 11:45:24 +0800 Subject: [PATCH 4/4] delete one line --- src/api/builder/schema.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/api/builder/schema.ts b/src/api/builder/schema.ts index e8e087ad6..988da19c7 100644 --- a/src/api/builder/schema.ts +++ b/src/api/builder/schema.ts @@ -342,7 +342,6 @@ export const SchemaMakeResult = SchemaResultBase.extend({ }).passthrough().optional().describe('Custom fields after compiling the project, in object format'), // 编译项目后的自定义字段, object 形式 }).nullable().describe('Result after compiling the project'); // 编译项目后的结果 - export const SchemaPreviewSettingsResult = z.object({ settings: z.object({ CocosEngine: z.string().describe('Cocos Engine Version'), // Cocos Engine 版本