feat(FN-4191): complete Step 2 — add project settings fields

Fusion-Task-Id: FN-4191
Fusion-Task-Lineage: 00fddcfc-e136-41a5-84b1-b6f53b1692cb
This commit is contained in:
Fusion
2026-05-14 04:43:25 -07:00
committed by gsxdsm
parent c61af579bc
commit af38c50abf
2 changed files with 12 additions and 0 deletions

View File

@@ -311,6 +311,9 @@ export const DEFAULT_PROJECT_SETTINGS = {
reflectionAfterTask: true,
reviewHandoffPolicy: "disabled",
showQuickChatFAB: false,
chatRoomRecentVerbatimMessages: 12,
chatRoomCompactionFetchLimit: 80,
chatRoomSummaryMaxChars: 1_500,
researchSettings: {
enabled: true,
searchProvider: undefined,

View File

@@ -2652,6 +2652,15 @@ export interface ProjectSettings {
* When false, the FAB is hidden but chat remains accessible via the More menu.
* Default: false. */
showQuickChatFAB?: boolean;
/** Number of most-recent chat-room messages kept verbatim in the responder transcript.
* Older messages are compacted into a summary block. Default: 12. */
chatRoomRecentVerbatimMessages?: number;
/** Upper bound on messages fetched from the room store for compaction consideration.
* Default: 80. */
chatRoomCompactionFetchLimit?: number;
/** Hard cap on the synthesized "Earlier room context" summary block.
* Default: 1500. */
chatRoomSummaryMaxChars?: number;
}
/**