feat: system information view

This commit is contained in:
d-kimsuon
2025-10-20 03:00:13 +09:00
parent 81a5d31f6e
commit 0047b6b2a2
15 changed files with 881 additions and 180 deletions

View File

@@ -13,6 +13,21 @@ class ProjectPathNotFoundError extends Data.TaggedError(
const LayerImpl = Effect.gen(function* () {
const projectRepository = yield* ProjectRepository;
const getClaudeCodeMeta = () =>
Effect.gen(function* () {
const config = yield* ClaudeCode.Config;
return config;
});
const getAvailableFeatures = () =>
Effect.gen(function* () {
const config = yield* ClaudeCode.Config;
const features = ClaudeCode.getAvailableFeatures(
config.claudeCodeVersion,
);
return features;
});
const getMcpList = (projectId: string) =>
Effect.gen(function* () {
const { project } = yield* projectRepository.getProject(projectId);
@@ -27,7 +42,9 @@ const LayerImpl = Effect.gen(function* () {
});
return {
getClaudeCodeMeta,
getMcpList,
getAvailableFeatures,
};
});