@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
19 lines • 1.01 kB
TypeScript
/**
* What `/share` uploads by default (#3524): the conversation (user and assistant
* text, tool names and tool-call arguments), never what tools returned. Tool
* results, `!` command output, extension messages, extension state and data,
* and context-edit replacements are replaced by a one-line note unless the user
* explicitly includes tool outputs in the preview. Redaction still runs over
* everything that is shared.
*
* The projection trusts nothing it finds in the data: every output-bearing record
* is rewritten on every pass, so text that merely looks like a note is replaced
* too. Each pass counts the outputs it replaced; the caller keeps the largest
* count across passes, so outputs that share a timestamp are each counted.
*/
export interface OutputOmissions {
count: number;
}
export declare function newOutputOmissions(): OutputOmissions;
export declare function omitToolOutputs<T>(value: T, omissions: OutputOmissions): T;
//# sourceMappingURL=share-projection.d.ts.map