skilld 2.2.0 → 3.0.0-beta.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/README.md +106 -366
- package/bin/skilld.mjs +56 -0
- package/loader/resolve-artifact.mjs +37 -0
- package/package.json +23 -53
- package/dist/_chunks/add.mjs +0 -67
- package/dist/_chunks/add.mjs.map +0 -1
- package/dist/_chunks/agent-prompt.mjs +0 -88
- package/dist/_chunks/agent-prompt.mjs.map +0 -1
- package/dist/_chunks/agent.mjs +0 -1817
- package/dist/_chunks/agent.mjs.map +0 -1
- package/dist/_chunks/args.mjs +0 -42
- package/dist/_chunks/args.mjs.map +0 -1
- package/dist/_chunks/assemble.mjs +0 -126
- package/dist/_chunks/assemble.mjs.map +0 -1
- package/dist/_chunks/author.mjs +0 -432
- package/dist/_chunks/author.mjs.map +0 -1
- package/dist/_chunks/cache.mjs +0 -367
- package/dist/_chunks/cache.mjs.map +0 -1
- package/dist/_chunks/cache2.mjs +0 -151
- package/dist/_chunks/cache2.mjs.map +0 -1
- package/dist/_chunks/client.mjs +0 -118
- package/dist/_chunks/client.mjs.map +0 -1
- package/dist/_chunks/core.mjs +0 -13
- package/dist/_chunks/detect.mjs +0 -609
- package/dist/_chunks/detect.mjs.map +0 -1
- package/dist/_chunks/detect2.mjs +0 -2
- package/dist/_chunks/eject.mjs +0 -69
- package/dist/_chunks/eject.mjs.map +0 -1
- package/dist/_chunks/embedding-cache.mjs +0 -2
- package/dist/_chunks/embedding-cache2.mjs +0 -61
- package/dist/_chunks/embedding-cache2.mjs.map +0 -1
- package/dist/_chunks/env.mjs +0 -19
- package/dist/_chunks/env.mjs.map +0 -1
- package/dist/_chunks/index-identity.mjs +0 -365
- package/dist/_chunks/index-identity.mjs.map +0 -1
- package/dist/_chunks/index-identity2.mjs +0 -2
- package/dist/_chunks/install-many.mjs +0 -378
- package/dist/_chunks/install-many.mjs.map +0 -1
- package/dist/_chunks/install.mjs +0 -259
- package/dist/_chunks/install.mjs.map +0 -1
- package/dist/_chunks/intro.mjs +0 -63
- package/dist/_chunks/intro.mjs.map +0 -1
- package/dist/_chunks/list.mjs +0 -102
- package/dist/_chunks/list.mjs.map +0 -1
- package/dist/_chunks/lockfile.mjs +0 -174
- package/dist/_chunks/lockfile.mjs.map +0 -1
- package/dist/_chunks/login.mjs +0 -234
- package/dist/_chunks/login.mjs.map +0 -1
- package/dist/_chunks/logout.mjs +0 -27
- package/dist/_chunks/logout.mjs.map +0 -1
- package/dist/_chunks/map.mjs +0 -11
- package/dist/_chunks/map.mjs.map +0 -1
- package/dist/_chunks/markdown.mjs +0 -101
- package/dist/_chunks/markdown.mjs.map +0 -1
- package/dist/_chunks/menu.mjs +0 -33
- package/dist/_chunks/menu.mjs.map +0 -1
- package/dist/_chunks/model-picker.mjs +0 -61
- package/dist/_chunks/model-picker.mjs.map +0 -1
- package/dist/_chunks/monorepo.mjs +0 -74
- package/dist/_chunks/monorepo.mjs.map +0 -1
- package/dist/_chunks/package-json.mjs +0 -84
- package/dist/_chunks/package-json.mjs.map +0 -1
- package/dist/_chunks/paths.mjs +0 -47
- package/dist/_chunks/paths.mjs.map +0 -1
- package/dist/_chunks/pipeline.mjs +0 -993
- package/dist/_chunks/pipeline.mjs.map +0 -1
- package/dist/_chunks/pool.mjs +0 -2
- package/dist/_chunks/pool2.mjs +0 -121
- package/dist/_chunks/pool2.mjs.map +0 -1
- package/dist/_chunks/portable.mjs +0 -152
- package/dist/_chunks/portable.mjs.map +0 -1
- package/dist/_chunks/prepare-hook.mjs +0 -2
- package/dist/_chunks/prepare-hook2.mjs +0 -61
- package/dist/_chunks/prepare-hook2.mjs.map +0 -1
- package/dist/_chunks/prepare.mjs +0 -105
- package/dist/_chunks/prepare.mjs.map +0 -1
- package/dist/_chunks/prepare2.mjs +0 -80
- package/dist/_chunks/prepare2.mjs.map +0 -1
- package/dist/_chunks/prompts.mjs +0 -1252
- package/dist/_chunks/prompts.mjs.map +0 -1
- package/dist/_chunks/pull.mjs +0 -220
- package/dist/_chunks/pull.mjs.map +0 -1
- package/dist/_chunks/regex.mjs +0 -19
- package/dist/_chunks/regex.mjs.map +0 -1
- package/dist/_chunks/retriv.mjs +0 -2
- package/dist/_chunks/retriv2.mjs +0 -177
- package/dist/_chunks/retriv2.mjs.map +0 -1
- package/dist/_chunks/sanitize.mjs +0 -260
- package/dist/_chunks/sanitize.mjs.map +0 -1
- package/dist/_chunks/search-helpers.mjs +0 -100
- package/dist/_chunks/search-helpers.mjs.map +0 -1
- package/dist/_chunks/search-interactive.mjs +0 -249
- package/dist/_chunks/search-interactive.mjs.map +0 -1
- package/dist/_chunks/search.mjs +0 -219
- package/dist/_chunks/search.mjs.map +0 -1
- package/dist/_chunks/semver.mjs +0 -2801
- package/dist/_chunks/semver.mjs.map +0 -1
- package/dist/_chunks/skill-installer.mjs +0 -2
- package/dist/_chunks/skill-installer2.mjs +0 -163
- package/dist/_chunks/skill-installer2.mjs.map +0 -1
- package/dist/_chunks/skills.mjs +0 -178
- package/dist/_chunks/skills.mjs.map +0 -1
- package/dist/_chunks/store.mjs +0 -107
- package/dist/_chunks/store.mjs.map +0 -1
- package/dist/_chunks/sync.mjs +0 -1009
- package/dist/_chunks/sync.mjs.map +0 -1
- package/dist/_chunks/sync2.mjs +0 -2
- package/dist/_chunks/telemetry.mjs +0 -26
- package/dist/_chunks/telemetry.mjs.map +0 -1
- package/dist/_chunks/uninstall.mjs +0 -214
- package/dist/_chunks/uninstall.mjs.map +0 -1
- package/dist/_chunks/update.mjs +0 -172
- package/dist/_chunks/update.mjs.map +0 -1
- package/dist/_chunks/upload.mjs +0 -155
- package/dist/_chunks/upload.mjs.map +0 -1
- package/dist/_chunks/validate.mjs +0 -60
- package/dist/_chunks/validate.mjs.map +0 -1
- package/dist/_chunks/version.mjs +0 -19
- package/dist/_chunks/version.mjs.map +0 -1
- package/dist/_chunks/whoami.mjs +0 -21
- package/dist/_chunks/whoami.mjs.map +0 -1
- package/dist/_chunks/wizard.mjs +0 -2
- package/dist/_chunks/wizard2.mjs +0 -200
- package/dist/_chunks/wizard2.mjs.map +0 -1
- package/dist/_chunks/yaml.mjs +0 -33
- package/dist/_chunks/yaml.mjs.map +0 -1
- package/dist/cli-entry.d.mts +0 -1
- package/dist/cli-entry.mjs +0 -5
- package/dist/cli-entry.mjs.map +0 -1
- package/dist/cli.d.mts +0 -1
- package/dist/cli.mjs +0 -1314
- package/dist/cli.mjs.map +0 -1
- package/dist/prepare.d.mts +0 -1
- package/dist/prepare.mjs +0 -84
- package/dist/prepare.mjs.map +0 -1
- package/dist/retriv/worker.d.mts +0 -37
- package/dist/retriv/worker.d.mts.map +0 -1
- package/dist/retriv/worker.mjs +0 -46
- package/dist/retriv/worker.mjs.map +0 -1
package/dist/_chunks/client.mjs
DELETED
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { TRAILING_SLASH_RE } from "./regex.mjs";
|
|
2
|
-
import { ofetch } from "ofetch";
|
|
3
|
-
const DEFAULT_REGISTRY_URL = "https://skilld.dev/api";
|
|
4
|
-
function getRegistryBase() {
|
|
5
|
-
return (process.env.SKILLD_REGISTRY_URL || DEFAULT_REGISTRY_URL).replace(TRAILING_SLASH_RE, "");
|
|
6
|
-
}
|
|
7
|
-
function gateInstall(result, opts) {
|
|
8
|
-
switch (result.status) {
|
|
9
|
-
case "pass": return "install";
|
|
10
|
-
case "warn": return "install";
|
|
11
|
-
case "fail": return opts.allowUnsafe ? "install" : "skip";
|
|
12
|
-
case "unaudited":
|
|
13
|
-
if (opts.sourceKind !== "gh") return "install";
|
|
14
|
-
return opts.yes ? "install" : "prompt";
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
function aggregateAuditStatus(audits) {
|
|
18
|
-
if (audits.length === 0) return "unaudited";
|
|
19
|
-
if (audits.some((a) => a.status === "fail")) return "fail";
|
|
20
|
-
if (audits.some((a) => a.status === "warn")) return "warn";
|
|
21
|
-
return "pass";
|
|
22
|
-
}
|
|
23
|
-
function createRegistryClient(opts = {}) {
|
|
24
|
-
const base = (opts.baseUrl ?? getRegistryBase()).replace(TRAILING_SLASH_RE, "");
|
|
25
|
-
const headers = opts.session ? { Authorization: `Bearer ${opts.session.accessToken}` } : void 0;
|
|
26
|
-
const fetcher = (url, init) => {
|
|
27
|
-
if (!headers && !init) return ofetch(url);
|
|
28
|
-
if (!headers) return ofetch(url, init);
|
|
29
|
-
return ofetch(url, {
|
|
30
|
-
...init,
|
|
31
|
-
headers: {
|
|
32
|
-
...headers,
|
|
33
|
-
...init?.headers
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
|
-
const requireSession = () => {
|
|
38
|
-
if (!opts.session) throw new Error("auth required");
|
|
39
|
-
};
|
|
40
|
-
return {
|
|
41
|
-
async resolveSkill(packageName, fetchOpts = {}) {
|
|
42
|
-
const hit = (await fetcher(`${base}/skills/resolve`, {
|
|
43
|
-
method: "POST",
|
|
44
|
-
body: { items: [{
|
|
45
|
-
packageName,
|
|
46
|
-
owner: fetchOpts.owner
|
|
47
|
-
}] }
|
|
48
|
-
}).catch(() => null))?.[packageName];
|
|
49
|
-
if (!hit) return null;
|
|
50
|
-
const detail = await fetcher(`${base}/skills/${hit.owner}/${hit.repo}/${packageName}`).catch(() => null);
|
|
51
|
-
if (!detail?.raw) return null;
|
|
52
|
-
return {
|
|
53
|
-
name: detail.name,
|
|
54
|
-
packageName,
|
|
55
|
-
content: detail.raw,
|
|
56
|
-
owner: detail.owner,
|
|
57
|
-
repo: `${detail.owner}/${detail.repo}`,
|
|
58
|
-
displayName: detail.displayName,
|
|
59
|
-
installs: detail.installs,
|
|
60
|
-
official: hit.official,
|
|
61
|
-
branch: detail.branch,
|
|
62
|
-
skillPath: detail.skillPath ?? void 0,
|
|
63
|
-
updatedAt: detail.pushedAt ?? void 0
|
|
64
|
-
};
|
|
65
|
-
},
|
|
66
|
-
async fetchSkillDetail(owner, repo, name) {
|
|
67
|
-
return fetcher(`${base}/skills/${owner}/${repo}/${name}`).catch(() => null);
|
|
68
|
-
},
|
|
69
|
-
async audit({ owner, repo, name }) {
|
|
70
|
-
const res = await fetcher(`${base}/skill-live/${owner}/${repo}/${name}`).catch(() => null);
|
|
71
|
-
if (!res) return {
|
|
72
|
-
status: "unaudited",
|
|
73
|
-
audits: []
|
|
74
|
-
};
|
|
75
|
-
const audits = res.audits ?? [];
|
|
76
|
-
return {
|
|
77
|
-
status: aggregateAuditStatus(audits),
|
|
78
|
-
riskLevel: res.riskLevel,
|
|
79
|
-
summary: res.summary,
|
|
80
|
-
audits
|
|
81
|
-
};
|
|
82
|
-
},
|
|
83
|
-
async fetchCollection(login, slug) {
|
|
84
|
-
return fetcher(`${base}/collections/by-author/${login}/${slug}/manifest`).catch(() => null);
|
|
85
|
-
},
|
|
86
|
-
async fetchCurator(login) {
|
|
87
|
-
return fetcher(`${base}/curators/${login}`).catch(() => null);
|
|
88
|
-
},
|
|
89
|
-
my: {
|
|
90
|
-
async collections() {
|
|
91
|
-
requireSession();
|
|
92
|
-
return fetcher(`${base}/me/collections`).catch(() => []);
|
|
93
|
-
},
|
|
94
|
-
async subscriptions() {
|
|
95
|
-
requireSession();
|
|
96
|
-
return fetcher(`${base}/me/subscriptions`).catch(() => []);
|
|
97
|
-
},
|
|
98
|
-
async changes({ since }) {
|
|
99
|
-
requireSession();
|
|
100
|
-
const qs = since != null ? `?since=${since}` : "";
|
|
101
|
-
return fetcher(`${base}/cli/changes${qs}`).catch(() => null);
|
|
102
|
-
},
|
|
103
|
-
async installs(payload) {
|
|
104
|
-
requireSession();
|
|
105
|
-
await fetcher(`${base}/me/installs`, {
|
|
106
|
-
method: "POST",
|
|
107
|
-
body: payload
|
|
108
|
-
}).catch(() => {});
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
async function fetchRegistrySkill(packageName, opts = {}) {
|
|
114
|
-
return createRegistryClient().resolveSkill(packageName, opts);
|
|
115
|
-
}
|
|
116
|
-
export { createRegistryClient, fetchRegistrySkill, gateInstall, getRegistryBase };
|
|
117
|
-
|
|
118
|
-
//# sourceMappingURL=client.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.mjs","names":[],"sources":["../../src/registry/client.ts"],"sourcesContent":["/**\n * Registry client for skilld.dev\n *\n * Talks to the public skilld.dev JSON API: resolves an npm package name to a\n * curated skill's owner/repo, then fetches the detail payload which includes\n * the raw SKILL.md. For local development, set SKILLD_REGISTRY_URL (e.g.\n * http://localhost:3000/api) to point at a running Nuxt dev server.\n *\n * Returns null when a skill isn't curated, the API is unreachable, or the\n * skill has no resolvable SKILL.md, so callers fall through to the\n * doc-generation pipeline.\n */\n\nimport type { AuditStatus } from 'skilld-protocol/constants'\nimport type {\n AuditEntry,\n AuthSession,\n ChangeEntry,\n CollectionManifest,\n CollectionManifestItem,\n CollectionSummary,\n CuratorPayload,\n DigestResponse,\n InstallEventPayload,\n SkillDetailResponse,\n SkillsResolveEntry,\n SkillsResolveResponse,\n SubscriptionSummary,\n} from 'skilld-protocol/wire'\nimport { ofetch } from 'ofetch'\nimport { TRAILING_SLASH_RE } from '../core/regex.ts'\n\nexport type { AuditEntry, AuditStatus, AuthSession, ChangeEntry, CollectionManifest, CollectionManifestItem, CollectionSummary, CuratorPayload, DigestResponse, InstallEventPayload, SkillDetailResponse, SkillsResolveResponse, SubscriptionSummary }\n\nconst DEFAULT_REGISTRY_URL = 'https://skilld.dev/api'\n\nexport function getRegistryBase(): string {\n return (process.env.SKILLD_REGISTRY_URL || DEFAULT_REGISTRY_URL).replace(TRAILING_SLASH_RE, '')\n}\n\nexport interface RegistrySkill {\n name: string\n packageName: string\n content: string\n owner: string\n repo: string\n displayName?: string\n installs?: number\n official?: boolean\n branch?: string\n skillPath?: string\n updatedAt?: string\n}\n\nexport interface FetchRegistrySkillOptions {\n owner?: string\n}\n\n/**\n * CLI-internal computed shape. Built locally after fetching the wire\n * `SkillLiveResponse`; `status` is computed by `aggregateAuditStatus`.\n */\nexport interface AuditResult {\n status: AuditStatus\n riskLevel?: 'low' | 'medium' | 'high'\n summary?: string\n audits: AuditEntry[]\n}\n\ninterface AuditApiResponse {\n riskLevel?: 'low' | 'medium' | 'high'\n summary?: string\n audits?: AuditEntry[]\n}\n\nexport interface RegistryClient {\n resolveSkill: (packageName: string, opts?: FetchRegistrySkillOptions) => Promise<RegistrySkill | null>\n fetchSkillDetail: (owner: string, repo: string, name: string) => Promise<SkillDetailResponse | null>\n audit: (params: { owner: string, repo: string, name: string }) => Promise<AuditResult>\n fetchCollection: (login: string, slug: string) => Promise<CollectionManifest | null>\n fetchCurator: (login: string) => Promise<CuratorPayload | null>\n my: {\n collections: () => Promise<CollectionSummary[]>\n subscriptions: () => Promise<SubscriptionSummary[]>\n changes: (params: { since?: number }) => Promise<DigestResponse | null>\n installs: (payload: InstallEventPayload) => Promise<void>\n }\n}\n\nexport type GateDecision = 'install' | 'skip' | 'prompt'\n\nexport interface GateOptions {\n allowUnsafe?: boolean\n yes?: boolean\n /** Source kind drives unaudited behaviour: gh → prompt, npm/crate → silent install */\n sourceKind: 'npm' | 'gh' | 'crate' | 'collection'\n}\n\n/**\n * Pure gating rule from an audit result. Caller is responsible for the prompt\n * itself when the decision is `'prompt'`.\n */\nexport function gateInstall(result: AuditResult, opts: GateOptions): GateDecision {\n switch (result.status) {\n case 'pass':\n return 'install'\n case 'warn':\n return 'install'\n case 'fail':\n return opts.allowUnsafe ? 'install' : 'skip'\n case 'unaudited':\n if (opts.sourceKind !== 'gh')\n return 'install'\n return opts.yes ? 'install' : 'prompt'\n }\n}\n\nexport function aggregateAuditStatus(audits: AuditEntry[]): AuditStatus {\n if (audits.length === 0)\n return 'unaudited'\n if (audits.some(a => a.status === 'fail'))\n return 'fail'\n if (audits.some(a => a.status === 'warn'))\n return 'warn'\n return 'pass'\n}\n\nexport function createRegistryClient(opts: { session?: AuthSession, baseUrl?: string } = {}): RegistryClient {\n const base = (opts.baseUrl ?? getRegistryBase()).replace(TRAILING_SLASH_RE, '')\n const headers = opts.session ? { Authorization: `Bearer ${opts.session.accessToken}` } : undefined\n\n const fetcher = <T>(url: string, init?: Parameters<typeof ofetch<T>>[1]): Promise<T> => {\n if (!headers && !init)\n return ofetch<T>(url)\n if (!headers)\n return ofetch<T>(url, init)\n return ofetch<T>(url, { ...init, headers: { ...headers, ...(init?.headers as any) } })\n }\n\n const requireSession = (): void => {\n if (!opts.session)\n throw new Error('auth required')\n }\n\n return {\n async resolveSkill(packageName, fetchOpts = {}) {\n const resolved = await fetcher<Record<string, SkillsResolveEntry>>(`${base}/skills/resolve`, {\n method: 'POST',\n body: { items: [{ packageName, owner: fetchOpts.owner }] },\n }).catch(() => null)\n\n const hit = resolved?.[packageName]\n if (!hit)\n return null\n\n const detail = await fetcher<SkillDetailResponse>(`${base}/skills/${hit.owner}/${hit.repo}/${packageName}`).catch(() => null)\n if (!detail?.raw)\n return null\n\n return {\n name: detail.name,\n packageName,\n content: detail.raw,\n owner: detail.owner,\n repo: `${detail.owner}/${detail.repo}`,\n displayName: detail.displayName,\n installs: detail.installs,\n official: hit.official,\n branch: detail.branch,\n skillPath: detail.skillPath ?? undefined,\n updatedAt: detail.pushedAt ?? undefined,\n }\n },\n\n async fetchSkillDetail(owner, repo, name) {\n return fetcher<SkillDetailResponse>(`${base}/skills/${owner}/${repo}/${name}`).catch(() => null)\n },\n\n async audit({ owner, repo, name }) {\n const res = await fetcher<AuditApiResponse>(`${base}/skill-live/${owner}/${repo}/${name}`).catch(() => null)\n if (!res)\n return { status: 'unaudited', audits: [] }\n const audits = res.audits ?? []\n return {\n status: aggregateAuditStatus(audits),\n riskLevel: res.riskLevel,\n summary: res.summary,\n audits,\n }\n },\n\n async fetchCollection(login, slug) {\n return fetcher<CollectionManifest>(`${base}/collections/by-author/${login}/${slug}/manifest`).catch(() => null)\n },\n\n async fetchCurator(login) {\n return fetcher<CuratorPayload>(`${base}/curators/${login}`).catch(() => null)\n },\n\n my: {\n async collections() {\n requireSession()\n return fetcher<CollectionSummary[]>(`${base}/me/collections`).catch(() => [])\n },\n async subscriptions() {\n requireSession()\n return fetcher<SubscriptionSummary[]>(`${base}/me/subscriptions`).catch(() => [])\n },\n async changes({ since }) {\n requireSession()\n const qs = since != null ? `?since=${since}` : ''\n return fetcher<DigestResponse>(`${base}/cli/changes${qs}`).catch(() => null)\n },\n async installs(payload) {\n requireSession()\n await fetcher<void>(`${base}/me/installs`, { method: 'POST', body: payload }).catch(() => {})\n },\n },\n }\n}\n\n/**\n * Fetch a curated package skill from the registry.\n * Returns null if no curated skill exists, the SKILL.md can't be loaded, or the API is unreachable.\n *\n * Thin wrapper over `createRegistryClient().resolveSkill` for back-compat.\n */\nexport async function fetchRegistrySkill(\n packageName: string,\n opts: FetchRegistrySkillOptions = {},\n): Promise<RegistrySkill | null> {\n return createRegistryClient().resolveSkill(packageName, opts)\n}\n"],"mappings":";;AAkCA,MAAM,uBAAuB;AAE7B,SAAgB,kBAA0B;CACxC,QAAQ,QAAQ,IAAI,uBAAuB,qBAAA,CAAsB,QAAQ,mBAAmB,EAAE;AAChG;;;;EAgEA,KAAA,QAAgB,OAAY;EAC1B,KAAA,QAAQ,OAAO,KAAf,cAAA,YAAA;EACE,KAAK;GAEL,IAAK,KAAA,eACI,MAAA,OAAA;GACT,OAAK,KACH,MAAA,YAAY;CACd;AACE;AAEA,SAAA,qBAAkB,QAAY;CAClC,IAAA,OAAA,WAAA,GAAA,OAAA;CACF,IAAA,OAAA,MAAA,MAAA,EAAA,WAAA,MAAA,GAAA,OAAA;CAEA,IAAA,OAAgB,MAAA,MAAA,EAAA,WAAqB,MAAmC,GAAA,OAAA;CACtE,OAAI;AAEJ;AAEA,SAAI,qBAAmB,OAAW,CAAA,GAAA;CAElC,MAAA,QAAO,KAAA,WAAA,gBAAA,EAAA,CAAA,QAAA,mBAAA,EAAA;CACT,MAAA,UAAA,KAAA,UAAA,EAAA,eAAA,UAAA,KAAA,QAAA,cAAA,IAAA,KAAA;CAEA,MAA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
5
|
-
import "./yaml.mjs";
|
|
6
|
-
import "./package-json.mjs";
|
|
7
|
-
import "./semver.mjs";
|
|
8
|
-
import "./map.mjs";
|
|
9
|
-
import "./markdown.mjs";
|
|
10
|
-
import "./lockfile.mjs";
|
|
11
|
-
import "./skills.mjs";
|
|
12
|
-
import "./monorepo.mjs";
|
|
13
|
-
export {};
|