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.
- package/dist/_chunks/detect-imports.mjs +3 -4
- package/dist/_chunks/detect-imports.mjs.map +1 -1
- package/dist/_chunks/{pool.mjs → pool2.mjs} +7 -2
- package/dist/_chunks/pool2.mjs.map +1 -0
- package/dist/_chunks/releases.mjs +309 -5
- package/dist/_chunks/releases.mjs.map +1 -1
- package/dist/_chunks/storage.mjs +241 -2
- package/dist/_chunks/storage.mjs.map +1 -1
- package/dist/_chunks/utils.d.mts.map +1 -1
- package/dist/agent/index.d.mts.map +1 -1
- package/dist/cli.mjs +364 -39
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +0 -1
- package/dist/retriv/index.mjs +1 -1
- package/dist/retriv/index.mjs.map +1 -1
- package/dist/sources/index.mjs +1 -2
- package/package.json +1 -1
- package/dist/_chunks/git-skills.mjs +0 -319
- package/dist/_chunks/git-skills.mjs.map +0 -1
- package/dist/_chunks/pool.mjs.map +0 -1
- package/dist/_chunks/sanitize2.mjs +0 -249
- package/dist/_chunks/sanitize2.mjs.map +0 -1
- package/dist/_chunks/sync-git.mjs +0 -69
- package/dist/_chunks/sync-git.mjs.map +0 -1
- package/dist/_chunks/sync-parallel.mjs +0 -302
- package/dist/_chunks/sync-parallel.mjs.map +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
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 = [];
|