@@ -3,14 +3,14 @@ import { normalizeOptionalString } from "../shared/string-coerce.js";
33import type { EmbeddedContextFile } from "./pi-embedded-helpers.js" ;
44import type { WorkspaceBootstrapFile } from "./workspace.js" ;
55
6- export const DEFAULT_BOOTSTRAP_NEAR_LIMIT_RATIO = 0.85 ;
7- export const DEFAULT_BOOTSTRAP_PROMPT_WARNING_MAX_FILES = 3 ;
8- export const DEFAULT_BOOTSTRAP_PROMPT_WARNING_SIGNATURE_HISTORY_MAX = 32 ;
6+ const DEFAULT_BOOTSTRAP_NEAR_LIMIT_RATIO = 0.85 ;
7+ const DEFAULT_BOOTSTRAP_PROMPT_WARNING_MAX_FILES = 3 ;
8+ const DEFAULT_BOOTSTRAP_PROMPT_WARNING_SIGNATURE_HISTORY_MAX = 32 ;
99
10- export type BootstrapTruncationCause = "per-file-limit" | "total-limit" ;
11- export type BootstrapPromptWarningMode = "off" | "once" | "always" ;
10+ type BootstrapTruncationCause = "per-file-limit" | "total-limit" ;
11+ type BootstrapPromptWarningMode = "off" | "once" | "always" ;
1212
13- export type BootstrapInjectionStat = {
13+ type BootstrapInjectionStat = {
1414 name : string ;
1515 path : string ;
1616 missing : boolean ;
@@ -19,12 +19,12 @@ export type BootstrapInjectionStat = {
1919 truncated : boolean ;
2020} ;
2121
22- export type BootstrapAnalyzedFile = BootstrapInjectionStat & {
22+ type BootstrapAnalyzedFile = BootstrapInjectionStat & {
2323 nearLimit : boolean ;
2424 causes : BootstrapTruncationCause [ ] ;
2525} ;
2626
27- export type BootstrapBudgetAnalysis = {
27+ type BootstrapBudgetAnalysis = {
2828 files : BootstrapAnalyzedFile [ ] ;
2929 truncatedFiles : BootstrapAnalyzedFile [ ] ;
3030 nearLimitFiles : BootstrapAnalyzedFile [ ] ;
@@ -40,14 +40,14 @@ export type BootstrapBudgetAnalysis = {
4040 } ;
4141} ;
4242
43- export type BootstrapPromptWarning = {
43+ type BootstrapPromptWarning = {
4444 signature ?: string ;
4545 warningShown : boolean ;
4646 lines : string [ ] ;
4747 warningSignaturesSeen : string [ ] ;
4848} ;
4949
50- export type BootstrapTruncationReportMeta = {
50+ type BootstrapTruncationReportMeta = {
5151 warningMode : BootstrapPromptWarningMode ;
5252 warningShown : boolean ;
5353 promptWarningSignature ?: string ;
0 commit comments