mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-14 03:33:43 +08:00
Wiki page classification was only profile-aware in the main ingest pipeline. Transformation outputs hard-coded "synthesis", agent-created pages were left untyped, and the frontend hard-coded the built-in ten types for ordering, colouring and labels — so custom/synthesis types sank to the bottom, rendered grey and showed raw keys. Backend: - Add nullable target_page_type column to mate_wiki_transformation (V142, mysql + h2) plus the entity field and CRUD normalization (blank = use profile fallbackType; membership validated at save time, not edit time). - Route transformation single-run + KB-aggregate page saves through WikiPageTypeProfileService.normalizePageType so output joins the KB classification; agent wiki_create_page now lands on the profile fallbackType instead of an untyped page. Frontend: - Load + parse the KB pageType profile into the wiki store (order, labels, fallbackType) on KB select / refresh. - New useWikiPageType composable: profile-driven label (3-tier fallback) and colour (built-in fixed + deterministic hash palette for custom types). - Sidebar grouping order, graph colouring, node panel, graph filter and the page header badge now follow the profile; transformation editor gains a target-type dropdown sourced from the profile when output target is a page. Refs #292 |
||
|---|---|---|
| .. | ||
| Agents/components | ||
| Doctor | ||
| Enterprise | ||
| layout | ||
| mcp | ||
| Memory | ||
| Onboarding | ||
| Scheduler | ||
| Security | ||
| Settings | ||
| Wiki | ||
| AcpEndpoints.vue | ||
| AgentContext.vue | ||
| Agents.vue | ||
| Channels.vue | ||
| ChatConsole.vue | ||
| Dashboard.vue | ||
| Datasources.vue | ||
| Forbidden.vue | ||
| Login.vue | ||
| McpServers.vue | ||
| Plugins.vue | ||
| Sessions.vue | ||
| SkillMarket.vue | ||
| SkillTemplates.vue | ||
| TokenUsage.vue | ||
| Tools.vue | ||
| Workflows.vue | ||