fix(projects): require creation directories and show remote directory links

Require a root folder in the local project creation dialog and IPC while preserving updates to historical projects with blank paths. Show remote symlinks whose targets are directories and resolve their canonical paths when browsing.

Validation: focused UI, contract, IPC and SSH tests passed; typecheck and lint passed. Verified directory links on the shared Linux Host. Full test run timed out after a Magic Notes storage timing failure.

Release note: 新建本地项目必须选择目录;远程项目选择目录时可查看并进入指向目录的符号链接。
This commit is contained in:
mesalogo
2026-10-04 15:00:13 +08:00
parent 629e82545b
commit ee186f9f70
15 changed files with 309 additions and 29 deletions
+2 -1
View File
@@ -147,6 +147,7 @@ import {
normalizeInteractiveWorkMode,
projectChannelLabels,
projectCreateSchema,
projectUpdateSchema,
scheduleCreateSchema,
expertCreateSchema,
type AssistantSchedule,
@@ -729,7 +730,7 @@ const approvalResponseSchema = z
const projectUpdateRequestSchema = z
.object({
projectId: assistantIdSchema,
input: projectCreateSchema
input: projectUpdateSchema
})
.strict()
const projectArchiveRequestSchema = z