maxsimcli 4.7.0 → 4.7.1

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.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  const require_install = require('./install.cjs');
3
- const require_core = require('./core-RRjCSt0G.cjs');
3
+ const require_core = require('./core-D5zUr9cb.cjs');
4
4
  let node_fs = require("node:fs");
5
5
  node_fs = require_install.__toESM(node_fs);
6
6
  let node_path = require("node:path");
@@ -6718,8 +6718,8 @@ function skillsTemplateDir() {
6718
6718
  /**
6719
6719
  * Read a single skill's metadata from its SKILL.md frontmatter.
6720
6720
  */
6721
- function readSkillInfo(skillDir, dirName) {
6722
- const content = require_core.safeReadFile(node_path.default.join(skillDir, "SKILL.md"));
6721
+ async function readSkillInfo(skillDir, dirName) {
6722
+ const content = await require_core.safeReadFile(node_path.default.join(skillDir, "SKILL.md"));
6723
6723
  if (!content) return null;
6724
6724
  const fm = extractFrontmatter(content);
6725
6725
  return {
@@ -6731,7 +6731,7 @@ function readSkillInfo(skillDir, dirName) {
6731
6731
  /**
6732
6732
  * List all installed skills from `.claude/skills/`.
6733
6733
  */
6734
- function cmdSkillList(cwd) {
6734
+ async function cmdSkillList(cwd) {
6735
6735
  const dir = skillsDir(cwd);
6736
6736
  if (!node_fs.default.existsSync(dir)) return cmdOk({
6737
6737
  skills: [],
@@ -6741,7 +6741,7 @@ function cmdSkillList(cwd) {
6741
6741
  const skills = [];
6742
6742
  for (const entry of entries) {
6743
6743
  if (!entry.isDirectory()) continue;
6744
- const info = readSkillInfo(node_path.default.join(dir, entry.name), entry.name);
6744
+ const info = await readSkillInfo(node_path.default.join(dir, entry.name), entry.name);
6745
6745
  if (info) skills.push(info);
6746
6746
  }
6747
6747
  return cmdOk({
@@ -6821,4 +6821,4 @@ function listAvailableTemplates() {
6821
6821
  exports.cmdSkillInstall = cmdSkillInstall;
6822
6822
  exports.cmdSkillList = cmdSkillList;
6823
6823
  exports.cmdSkillUpdate = cmdSkillUpdate;
6824
- //# sourceMappingURL=skills-MYlMkYNt.cjs.map
6824
+ //# sourceMappingURL=skills-CjFWZIGM.cjs.map