@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
11 lines • 744 B
TypeScript
/**
* Secrets never leave the engine in a view: every string of every view (title, stage, headline,
* labels, bar and grid keys, block text, trend text) is redacted before the state is published,
* since clients persist the state (the desktop writes it to its event store). The walk covers every
* string field, so a field added to the contract later is redacted without a change here; only the
* closed vocabularies below (block kinds, tones) pass through as they are.
*/
import type { JobWidgetRedact } from "./author-redact.ts";
import type { JobWidgetState } from "./view-types.ts";
export declare function redactJobWidgetState(state: JobWidgetState, redact: JobWidgetRedact): JobWidgetState;
//# sourceMappingURL=view-redact.d.ts.map