mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-30 12:54:55 +00:00
* feat(agent): add nested agents.md support across backend and webui * fix(webui): update agentsmd route paths and unnest folder agentsmd route * fix(agent): flush agents.md autosave on close and address review feedback - Flush pending debounced AGENTS.md autosave on close/unmount so edits made within 750ms of navigating away are no longer silently lost - Serialize autosaves through a promise chain so an older in-flight request can never overwrite newer content on the server - Internationalize the hardcoded "Failed to save" and "Loading AGENTS.md..." strings (en + zh) - Validate that AGENTS.md is only stored on folder/root assets in AssetService, preventing bogus virtual paths for file assets - Cap updateAgentsMd content at 100k chars via Zod validation - Remove unused getAgentsMd/updateAgentsMd response DTO schemas - Drop unused teamId prop from AgentsMdEditor - Add tests: non-folder asset rejection, oversized content 400, and agent-chat workflow assetId passthrough * refactor(db): isolate AGENTS.md content in dedicated 1:1 AssetAgentMd table * style(webui): unify top bar button hover styles and add wand icon to agentsmd button * style(webui): update agentsmd button state colors and remove presence dot * fix(webui): fix close button overflow and stabilize debounced autosave in agentsmd editor * fix(webui): update debounce to 1s and await pending save before closing agentsmd editor * feat(webui): add terminal AGENTS.md breadcrumb on agentsmd editor page * fix(webui): use ScrollArea for markdown editor scrolling
53 lines
2.1 KiB
TypeScript
Generated
53 lines
2.1 KiB
TypeScript
Generated
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This is a barrel export file for all models and their related types.
|
|
*
|
|
* 🟢 You can import this file directly.
|
|
*/
|
|
export type * from './models/User.ts'
|
|
export type * from './models/Session.ts'
|
|
export type * from './models/Account.ts'
|
|
export type * from './models/Verification.ts'
|
|
export type * from './models/AuthToken.ts'
|
|
export type * from './models/Team.ts'
|
|
export type * from './models/Sandbox.ts'
|
|
export type * from './models/Skill.ts'
|
|
export type * from './models/TeamMember.ts'
|
|
export type * from './models/Project.ts'
|
|
export type * from './models/ProjectMember.ts'
|
|
export type * from './models/ShareLink.ts'
|
|
export type * from './models/WatermarkConfig.ts'
|
|
export type * from './models/WatermarkTemplate.ts'
|
|
export type * from './models/WatermarkFile.ts'
|
|
export type * from './models/Asset.ts'
|
|
export type * from './models/StorageKey.ts'
|
|
export type * from './models/AssetMetadataValue.ts'
|
|
export type * from './models/AssetAgentMd.ts'
|
|
export type * from './models/AssetComment.ts'
|
|
export type * from './models/AssetCommentAttachment.ts'
|
|
export type * from './models/AssetEmbedding.ts'
|
|
export type * from './models/Invite.ts'
|
|
export type * from './models/MetadataField.ts'
|
|
export type * from './models/Notification.ts'
|
|
export type * from './models/SystemSettings.ts'
|
|
export type * from './models/Task.ts'
|
|
export type * from './models/WorkflowTask.ts'
|
|
export type * from './models/Agent.ts'
|
|
export type * from './models/AgentSkill.ts'
|
|
export type * from './models/McpServer.ts'
|
|
export type * from './models/AgentMcpServer.ts'
|
|
export type * from './models/McpServerCredential.ts'
|
|
export type * from './models/AgentSession.ts'
|
|
export type * from './models/AgentSessionEntry.ts'
|
|
export type * from './models/UserMetadata.ts'
|
|
export type * from './models/Model.ts'
|
|
export type * from './models/Provider.ts'
|
|
export type * from './models/Collection.ts'
|
|
export type * from './models/ApiToken.ts'
|
|
export type * from './models/AiUsage.ts'
|
|
export type * from './models/AuditLog.ts'
|
|
export type * from './commonInputTypes.ts' |