feat: add support for file history snapshots in conversation components

- Introduced a new `FileHistorySnapshotConversationContent` component to handle rendering of file history snapshots.
- Updated `ConversationItem` and `ConversationList` to accommodate the new conversation type.
- Modified the conversation schema to include `FileHistorySnapshotEntrySchema` and related types.
- Enhanced the `useSidechain` hook to filter out file history snapshots from sidechain conversations.
- Adjusted the `SidechainConversationModal` to correctly handle the new conversation type.
This commit is contained in:
d-kimsuon
2025-10-19 18:00:27 +09:00
parent da2d45165a
commit 9144f26084
12 changed files with 151 additions and 33 deletions

View File

@@ -64,7 +64,7 @@ const LayerImpl = Effect.gen(function* () {
response: {
globalCommands: globalCommands,
projectCommands: projectCommands,
defaultCommands: ["init", "compact"],
defaultCommands: ["init", "compact", "security-review", "review"],
},
status: 200,
} as const satisfies ControllerResponse;

View File

@@ -39,7 +39,8 @@ const LayerImpl = Effect.gen(function* () {
if (
conversation === undefined ||
conversation.type === "summary" ||
conversation.type === "x-error"
conversation.type === "x-error" ||
conversation.type === "file-history-snapshot"
) {
continue;
}