refactor(deadcode): trim mid-size src exports (#105888)

* refactor(deadcode): trim auto-reply and CLI exports

* refactor(deadcode): trim cron and task exports

* refactor(deadcode): trim fleet and process exports

* test(deadcode): exercise live task and process seams

* test(fleet): cover stream redaction through owner module

* refactor(security): trim dead internal exports

* refactor(secrets): trim dead internal exports

* refactor(deadcode): trim remaining src exports

* refactor(deadcode): remove test-only runtime exports

* refactor(deadcode): trim pairing test exports

* refactor(deadcode): reconcile refreshed baseline

* test(auto-reply): deduplicate queue state imports
This commit is contained in:
Peter Steinberger
2026-07-13 00:42:56 -07:00
committed by GitHub
parent 0ab7e2569b
commit e2ec8283c4
406 changed files with 798 additions and 2360 deletions

View File

@@ -4,12 +4,12 @@ import { sanitizeForLog } from "../../../packages/terminal-core/src/ansi.js";
import type { NamedCommandDescriptor } from "./command-group-descriptors.js";
/** Minimal descriptor shape used before a command is fully registered. */
export type CommandDescriptorLike = Pick<NamedCommandDescriptor, "name" | "description">;
type CommandDescriptorLike = Pick<NamedCommandDescriptor, "name" | "description">;
const SAFE_COMMAND_NAME_PATTERN = /^[A-Za-z0-9][A-Za-z0-9_-]*$/;
/** Descriptor catalog plus derived name lists used by lazy command registration. */
export type CommandDescriptorCatalog<TDescriptor extends NamedCommandDescriptor> = {
type CommandDescriptorCatalog<TDescriptor extends NamedCommandDescriptor> = {
descriptors: readonly TDescriptor[];
getDescriptors: () => readonly TDescriptor[];
getNames: () => string[];