mdk-skills 2.2.5 → 2.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdk-skills",
3
- "version": "2.2.5",
3
+ "version": "2.2.7",
4
4
  "description": "mdk-engineer - 沉稳靠谱的前端开发助手 Claude Skills 配置包,一键注入 .claude/ 技能目录和 CLAUDE.md 人设配置",
5
5
  "author": "XiaoMa",
6
6
  "license": "MIT",
@@ -313,6 +313,7 @@ async function handleApi(req, res) {
313
313
  if (method === "GET" && pathname === "/api/status") {
314
314
  const settings = readSettings();
315
315
  const userSkills = core.getUserSkills(claudeDest);
316
+ const pkgSkills = core.getPackageSkills(skillsSource);
316
317
  const profiles = loadProfiles();
317
318
  const activeProfile = profiles?.find(
318
319
  (p) => p.id === settings._active_profile,
@@ -321,7 +322,7 @@ async function handleApi(req, res) {
321
322
  const mdExists = fs.existsSync(path.join(projectRoot, "CLAUDE.md"));
322
323
  return sendJSON(res, {
323
324
  enabledCount,
324
- totalCount: userSkills.length,
325
+ totalCount: pkgSkills.length,
325
326
  activeProfile: activeProfile
326
327
  ? { id: activeProfile.id, name: activeProfile.name }
327
328
  : null,
@@ -10,20 +10,24 @@ html, body, #app {
10
10
  }
11
11
 
12
12
  .app-layout {
13
- height: 100%;
13
+ min-height: 100vh;
14
14
  display: flex;
15
15
  flex-direction: column;
16
+ padding-top: 56px;
16
17
  }
17
18
 
18
19
  .app-header {
20
+ position: fixed;
21
+ top: 0;
22
+ left: 0;
23
+ right: 0;
19
24
  height: 56px;
20
25
  display: flex;
21
26
  align-items: center;
22
27
  background: #fff;
23
28
  padding: 0 24px;
24
- position: sticky;
25
- top: 0;
26
29
  z-index: 100;
30
+ border-bottom: 1px solid #e5e7eb;
27
31
  }
28
32
 
29
33
  .header-inner {
@@ -1,6 +0,0 @@
1
- {
2
- "name": "test2",
3
- "version": "1.0.0",
4
- "description": "测试技能2",
5
- "tags": ["test", "frontend"]
6
- }