pi-agent: Implement Operations Console dashboard

This commit is contained in:
proxyctl coordinator
2026-07-17 20:44:48 +08:00
parent daeb788eac
commit 8ac0695152
15 changed files with 600 additions and 138 deletions
+9 -1
View File
@@ -173,7 +173,15 @@ func New(configuration Configuration, files FileSystem, environment Environment)
func (a *Adapter) ID() string { return "shell" }
func (a *Adapter) Description() target.Description {
return target.Description{Name: "Shell", Summary: "Exports proxy variables for commands started by integrated Bash and Zsh sessions.", Details: "Affects commands started by the integrated Shell; it does not configure system services, desktop settings, or already-running processes. proxyctl owns a generated environment fragment while its one-time startup hook remains in the user's Shell file. User-file write permission is required; after proxyctl exits, the installed wrapper reloads exports and unsets into the parent Shell."}
return target.Description{
Name: "Shell",
Summary: "Exports proxy variables for commands started by integrated Bash and Zsh sessions.",
Scope: "future commands in the integrated Shell; not services, desktop settings, or existing processes",
Permissions: "write access to the user's Shell files",
Ownership: "generated environment fragment; the one-time startup hook remains when management is disabled",
RestartRisk: "none; the installed wrapper reloads exports into the parent Shell after proxyctl exits",
Details: "Affects commands started by the integrated Shell; it does not configure system services, desktop settings, or already-running processes. proxyctl owns a generated environment fragment while its one-time startup hook remains in the user's Shell file. User-file write permission is required; after proxyctl exits, the installed wrapper reloads exports and unsets into the parent Shell.",
}
}
func (a *Adapter) Availability(context.Context) target.Availability {
switch filepath.Base(a.configuration.Shell) {