skilld 0.4.0 → 0.4.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,5 +1,4 @@
1
- import { n as sanitizeMarkdown, t as repairMarkdown } from "./sanitize2.mjs";
2
- import { _ as writeSections, h as readCachedSection } from "./storage.mjs";
1
+ import { _ as writeSections, b as sanitizeMarkdown, h as readCachedSection, y as repairMarkdown } from "./storage.mjs";
3
2
  import { t as yamlEscape } from "./yaml.mjs";
4
3
  import { createRequire } from "node:module";
5
4
  import { homedir } from "node:os";
@@ -9,7 +8,9 @@ import { exec, spawn, spawnSync } from "node:child_process";
9
8
  import { globby } from "globby";
10
9
  import { findDynamicImports, findStaticImports } from "mlly";
11
10
  import { createHash } from "node:crypto";
11
+ import { promisify } from "node:util";
12
12
  import { readFile } from "node:fs/promises";
13
+ import { parseSync } from "oxc-parser";
13
14
  var __defProp = Object.defineProperty;
14
15
  var __exportAll = (all, no_symbols) => {
15
16
  let target = {};
@@ -1315,7 +1316,6 @@ function getModelLabel(id) {
1315
1316
  return `${targets[config.agentId]?.displayName ?? config.cli} · ${config.name}`;
1316
1317
  }
1317
1318
  async function getAvailableModels() {
1318
- const { promisify } = await import("node:util");
1319
1319
  const execAsync = promisify(exec);
1320
1320
  const agentsWithCli = detectInstalledAgents().filter((id) => targets[id].cli);
1321
1321
  const cliChecks = await Promise.all(agentsWithCli.map(async (agentId) => {
@@ -1733,7 +1733,6 @@ function extractModuleStrings(node) {
1733
1733
  async function detectNuxtModules(cwd) {
1734
1734
  const config = await findNuxtConfig(cwd);
1735
1735
  if (!config) return [];
1736
- const { parseSync } = await import("oxc-parser");
1737
1736
  const modules = extractModuleStrings(parseSync(config.path, config.content).program);
1738
1737
  const seen = /* @__PURE__ */ new Set();
1739
1738
  const packages = [];