prpm 2.1.1 → 2.1.2
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/index.js +33 -4
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -13519,14 +13519,15 @@ async function directoryExists(dirPath) {
|
|
|
13519
13519
|
}
|
|
13520
13520
|
function getManifestFilename(format) {
|
|
13521
13521
|
switch (format) {
|
|
13522
|
-
|
|
13523
|
-
return "AGENTS.md";
|
|
13522
|
+
// Formats with custom manifest files
|
|
13524
13523
|
case "gemini.md":
|
|
13525
13524
|
return "GEMINI.md";
|
|
13526
13525
|
case "claude.md":
|
|
13527
13526
|
return "CLAUDE.md";
|
|
13528
13527
|
case "aider":
|
|
13529
13528
|
return "CONVENTIONS.md";
|
|
13529
|
+
// All other formats use AGENTS.md for progressive disclosure
|
|
13530
|
+
// Including: agents.md, codex, cursor, copilot, kiro, opencode, ruler, replit, zed, generic
|
|
13530
13531
|
default:
|
|
13531
13532
|
return "AGENTS.md";
|
|
13532
13533
|
}
|
|
@@ -16597,7 +16598,7 @@ async function handleInstall(packageSpec, options) {
|
|
|
16597
16598
|
const tarball = await client.downloadPackage(tarballUrl);
|
|
16598
16599
|
const lockfileKeyForVerification = getLockfileKey(packageId, targetFormat);
|
|
16599
16600
|
const existingEntry = lockfile == null ? void 0 : lockfile.packages[lockfileKeyForVerification];
|
|
16600
|
-
if (existingEntry == null ? void 0 : existingEntry.integrity) {
|
|
16601
|
+
if ((existingEntry == null ? void 0 : existingEntry.integrity) && existingEntry.version === actualVersion) {
|
|
16601
16602
|
console.log(` \u{1F512} Verifying integrity...`);
|
|
16602
16603
|
const isValid = verifyPackageIntegrity(lockfile, packageId, tarball, targetFormat);
|
|
16603
16604
|
if (!isValid) {
|
|
@@ -17139,7 +17140,35 @@ ${afterFrontmatter}`;
|
|
|
17139
17140
|
}
|
|
17140
17141
|
}
|
|
17141
17142
|
let progressiveDisclosureMetadata;
|
|
17142
|
-
|
|
17143
|
+
const progressiveDisclosureFormats = [
|
|
17144
|
+
"agents.md",
|
|
17145
|
+
// Universal AGENTS.md format
|
|
17146
|
+
"gemini.md",
|
|
17147
|
+
// Uses GEMINI.md
|
|
17148
|
+
"claude.md",
|
|
17149
|
+
// Uses CLAUDE.md
|
|
17150
|
+
"aider",
|
|
17151
|
+
// Uses CONVENTIONS.md
|
|
17152
|
+
"codex",
|
|
17153
|
+
// Uses AGENTS.md (no native skills)
|
|
17154
|
+
"cursor",
|
|
17155
|
+
// Uses AGENTS.md (no native skills)
|
|
17156
|
+
"copilot",
|
|
17157
|
+
// Uses AGENTS.md (no native skills)
|
|
17158
|
+
"kiro",
|
|
17159
|
+
// Uses AGENTS.md (no native skills)
|
|
17160
|
+
"opencode",
|
|
17161
|
+
// Uses AGENTS.md (no native skills)
|
|
17162
|
+
"ruler",
|
|
17163
|
+
// Uses AGENTS.md (no native skills)
|
|
17164
|
+
"replit",
|
|
17165
|
+
// Uses AGENTS.md (no native skills)
|
|
17166
|
+
"zed",
|
|
17167
|
+
// Uses AGENTS.md (no native skills)
|
|
17168
|
+
"generic"
|
|
17169
|
+
// Uses AGENTS.md (fallback format)
|
|
17170
|
+
];
|
|
17171
|
+
if (progressiveDisclosureFormats.includes(effectiveFormat) && (effectiveSubtype === "skill" || effectiveSubtype === "agent") && !options.noAppend) {
|
|
17143
17172
|
if (!destDir) {
|
|
17144
17173
|
throw new Error("Internal error: destDir not set for progressive disclosure installation");
|
|
17145
17174
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prpm",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "Prompt Package Manager CLI - Install and manage prompt-based files",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"license": "MIT",
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@octokit/rest": "^22.0.0",
|
|
48
|
-
"@pr-pm/converters": "^2.1.
|
|
49
|
-
"@pr-pm/registry-client": "^2.3.
|
|
50
|
-
"@pr-pm/types": "^2.1.
|
|
48
|
+
"@pr-pm/converters": "^2.1.2",
|
|
49
|
+
"@pr-pm/registry-client": "^2.3.2",
|
|
50
|
+
"@pr-pm/types": "^2.1.2",
|
|
51
51
|
"ajv": "^8.17.1",
|
|
52
52
|
"ajv-formats": "^3.0.1",
|
|
53
53
|
"commander": "^11.1.0",
|