feat: expose daemon-owned active agent profile

This commit is contained in:
Federico Jaramillo Martinez
2026-07-13 22:50:50 +02:00
parent a1a019e7b1
commit 141cda93c8
11 changed files with 362 additions and 25 deletions
+11
View File
@@ -593,12 +593,23 @@ export interface PiWebComponentStatus {
error?: string;
}
/** Secret-free identity of the Pi-compatible CLI/state profile fixed for one sessiond lifetime. */
export interface ActiveAgentProfileDescriptor {
readonly schemaVersion: 1;
readonly revision: string;
readonly command: string;
readonly dir: string;
readonly sessionDirEnvKeys: readonly string[];
}
export interface PiWebRuntimeComponent {
component: PiWebServiceComponent;
label: string;
runtimeVersion?: string;
available: boolean;
capabilities: PiWebCapability[];
/** Present only for a session daemon that supports active-profile reporting. */
activeAgentProfile?: ActiveAgentProfileDescriptor;
error?: string;
}