fix(permissions): tools MCP inter-projets exposés (idea_project_*) + contactable agent/template persisté — update_agent_contactable (application/web-server/app-tauri), defaultContactable TemplateEditor save/reopen, groupes MCP 'IdeA inter-projets' avec fallback, permissions agent Contactable — #267 (QA verte)
This commit is contained in:
@ -271,6 +271,12 @@ export interface AgentGateway {
|
||||
agentId: string,
|
||||
effort: EffortSelection | null,
|
||||
): Promise<Agent>;
|
||||
/** Changes whether this agent may be contacted from another project. */
|
||||
updateAgentContactable(
|
||||
projectId: string,
|
||||
agentId: string,
|
||||
contactable: boolean,
|
||||
): Promise<Agent>;
|
||||
/** Reads an agent's `.md` context by agent id. */
|
||||
readContext(projectId: string, agentId: string): Promise<string>;
|
||||
/** Overwrites an agent's `.md` context. */
|
||||
@ -630,6 +636,7 @@ export interface CreateTemplateInput {
|
||||
content: string;
|
||||
defaultProfileId: string;
|
||||
defaultAgentName?: string | null;
|
||||
defaultContactable?: boolean;
|
||||
systemPermissions?: SystemPermissionSet | null;
|
||||
mcpToolPermissions?: McpToolPolicy | null;
|
||||
}
|
||||
@ -640,6 +647,7 @@ export interface UpdateTemplateInput {
|
||||
content: string;
|
||||
defaultProfileId: string;
|
||||
defaultAgentName?: string | null;
|
||||
defaultContactable?: boolean;
|
||||
systemPermissions?: SystemPermissionSet | null;
|
||||
mcpToolPermissions?: McpToolPolicy | null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user