e9acc575a7
- Added a new ps command to list, inspect, view logs, and control daemon processes. - Implemented CLI handlers and help metadata supporting daemon process operations. - Added helpers for managing daemon scope metadata, paths, and live broker PIDs.
116 lines
4.5 KiB
TypeScript
116 lines
4.5 KiB
TypeScript
import type { CommandMetadata } from "@oh-my-pi/pi-utils/cli";
|
|
|
|
export const acpHelp = {
|
|
description: "Run Oh My Pi as an ACP (Agent Client Protocol) server over stdio",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const agentsHelp = { description: "Manage bundled task agents" } satisfies CommandMetadata;
|
|
|
|
export const authBrokerHelp = {
|
|
description: "Manage the omp auth-broker (credential vault)",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const authGatewayHelp = {
|
|
description: "Run an auth-gateway forward proxy backed by the configured broker",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const benchHelp = {
|
|
description: "Benchmark models with the same prompt: time-to-first-token and generation throughput (tokens/s)",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const browserRelayHelp = {
|
|
description: "Run the local CDP relay that lets the browser tool drive your own Chrome tabs",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const cleanseHelp = {
|
|
description: "Detect and fix project diagnostics with weighted parallel subagents",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const commitHelp = { description: "Generate a commit message and update changelogs" } satisfies CommandMetadata;
|
|
|
|
export const completionsHelp = {
|
|
description: "Print a shell completion script (bash, zsh, or fish)",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const completeHelp = { hidden: true } satisfies CommandMetadata;
|
|
|
|
export const compressHelp = {
|
|
description: "Rewrite a text file into the dense prompt register, reporting what it drops",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const configHelp = { description: "Manage configuration settings" } satisfies CommandMetadata;
|
|
|
|
export const dryBalanceHelp = {
|
|
description: "Dry-run OAuth account balancing across random session ids",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const galleryHelp = {
|
|
description: "Preview tool renderers across streaming, in-progress, success, and failure states",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const gcHelp = { description: "Run storage garbage collection" } satisfies CommandMetadata;
|
|
|
|
export const grepHelp = { description: "Test grep tool" } satisfies CommandMetadata;
|
|
|
|
export const grievancesHelp = {
|
|
description: "View, clean, or push reported tool issues (auto-QA grievances)",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const installHelp = {
|
|
description: "Install or link an extension package (alias of `plugin install`/`plugin link`)",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const joinHelp = { description: "Join a shared collab session (same as /join)" } satisfies CommandMetadata;
|
|
|
|
export const modelsHelp = { description: "List, search, and refresh available models" } satisfies CommandMetadata;
|
|
|
|
export const pluginHelp = { description: "Manage plugins (install, uninstall, list, etc.)" } satisfies CommandMetadata;
|
|
|
|
export const psHelp = {
|
|
description: "List and control daemon-supervised background processes (logs, stop, kill, restart)",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const readHelp = {
|
|
description: "Show what the read tool will return for a path, URL, or internal URI",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const sayHelp = {
|
|
description: "Synthesize text with the local TTS engine and play it through the speakers",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const searchHelp = { description: "Test web search providers" } satisfies CommandMetadata;
|
|
|
|
export const shareHelp = {
|
|
description: "Share a saved session via an encrypted link (same as /share)",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const setupHelp = {
|
|
description: "Run onboarding setup or install dependencies for optional features",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const shellHelp = { description: "Interactive shell console" } satisfies CommandMetadata;
|
|
|
|
export const sshHelp = { description: "Manage SSH host configurations" } satisfies CommandMetadata;
|
|
|
|
export const statsHelp = { description: "View usage statistics" } satisfies CommandMetadata;
|
|
|
|
export const tinyModelsHelp = {
|
|
description: "Download tiny local models (session titles + memory)",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const tokenHelp = { description: "Get the API key or OAuth token for a provider" } satisfies CommandMetadata;
|
|
|
|
export const ttsrHelp = {
|
|
description: "Inspect and test Time-Traveling Stream Rules (TTSR)",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const updateHelp = { description: "Check for and install updates" } satisfies CommandMetadata;
|
|
|
|
export const usageHelp = {
|
|
description: "Show provider usage limits for every authenticated account",
|
|
} satisfies CommandMetadata;
|
|
|
|
export const worktreeHelp = {
|
|
description: "List or clear agent-managed git worktrees (~/.omp/wt)",
|
|
} satisfies CommandMetadata;
|