키 관리 로직을 Keyring으로 통합하여 하드코딩된 MEK 및 HSK 버전을 제거하고 Svelte Store를 Rune으로 대체

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
staticandClaude Opus 5.5 committed 2026-10-12 00:10:37 +09:00
1 parent aee87fd9b6
commit 2ce73aa331
50 files changed
+633 -641

No files matched your search

@@ -6,7 +6,6 @@
type LocalCategoryInfo,
type MaybeCategoryInfo,
} from "#lib/modules/filesystem/index.js";
import { masterKeyStore } from "#lib/stores/index.js";
import { HybridPromise } from "#lib/utils/index.js";
interface Props {
@@ -21,9 +20,7 @@
$effect(() => {
if (isOpen) {
HybridPromise.resolve(getCategoryInfo("root", $masterKeyStore?.get(1)?.key!)).then(
(result) => (categoryInfo = result),
);
HybridPromise.resolve(getCategoryInfo("root")).then((result) => (categoryInfo = result));
}
});
</script>
@@ -35,9 +32,7 @@
class="py-4"
info={categoryInfo}
onSubCategoryClick={({ id }) =>
HybridPromise.resolve(getCategoryInfo(id, $masterKeyStore?.get(1)?.key!)).then(
(result) => (categoryInfo = result),
)}
HybridPromise.resolve(getCategoryInfo(id)).then((result) => (categoryInfo = result))}
/>
{#if categoryInfo.id !== "root"}
<BottomDiv>