feat(layout): supporte la création de layouts plugins (customPluginLayout)
Étend le flux de création de layout backend (DTO, usecases, store) et le frontend (sélecteur, adaptateurs, LayoutTabs/LayoutGrid) pour permettre d'ouvrir un layout déclaré par un plugin installé (ex. Android Health), sans passer par le message bloquant "extension backend pas encore livrée". Ticket #141 — QA vert. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@ -30,6 +30,7 @@ import type {
|
||||
LayoutList,
|
||||
LayoutOperation,
|
||||
LayoutTree,
|
||||
PluginLayoutOrigin,
|
||||
LocalModelServerConfig,
|
||||
ModelServerCommandPreview,
|
||||
Memory,
|
||||
@ -469,7 +470,12 @@ export interface LayoutGateway {
|
||||
/** Lists all named layouts for a project, with the current active id. */
|
||||
listLayouts(projectId: string): Promise<LayoutList>;
|
||||
/** Creates a new named layout for a project; returns the new layout id. */
|
||||
createLayout(projectId: string, name: string, kind?: LayoutKind): Promise<{ layoutId: string }>;
|
||||
createLayout(
|
||||
projectId: string,
|
||||
name: string,
|
||||
kind?: LayoutKind,
|
||||
pluginOrigin?: PluginLayoutOrigin,
|
||||
): Promise<{ layoutId: string }>;
|
||||
/** Renames a layout. */
|
||||
renameLayout(projectId: string, layoutId: string, name: string): Promise<void>;
|
||||
/** Deletes a layout; returns the new active layout id. */
|
||||
|
||||
Reference in New Issue
Block a user