feat(sdk,plugins): API publique d'accès fichiers/workspace + analyse structure (#124,#129)

This commit is contained in:
2026-08-02 13:34:54 +02:00
parent 033e9a86d5
commit dce61ae1aa
27 changed files with 5895 additions and 94 deletions

View File

@ -401,6 +401,16 @@ pub enum DomainEventDto {
/// Project id.
project_id: String,
},
/// A workspace file changed through the public plugin workspace API.
#[serde(rename_all = "camelCase")]
PluginWorkspaceFileChanged {
/// Project id.
project_id: String,
/// Relative workspace path.
path: String,
/// Public operation label.
operation: String,
},
/// An issue-backed public ticket was created.
#[serde(rename_all = "camelCase")]
IssueCreated {
@ -1058,6 +1068,15 @@ impl From<&DomainEvent> for DomainEventDto {
DomainEvent::GitStateChanged { project_id } => Self::GitStateChanged {
project_id: project_id.to_string(),
},
DomainEvent::PluginWorkspaceFileChanged {
project_id,
path,
operation,
} => Self::PluginWorkspaceFileChanged {
project_id: project_id.to_string(),
path: path.clone(),
operation: operation.clone(),
},
DomainEvent::IssueCreated {
issue_id,
issue_ref,