prpm 2.1.21 → 2.1.23

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.
@@ -0,0 +1,37 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://registry.prpm.dev/api/v1/schemas/amp/command.json",
4
+ "$comment": "https://ampcode.com/manual#custom-commands",
5
+ "title": "Amp Custom Command Format",
6
+ "description": "JSON Schema for Amp Custom Commands - markdown files or executables that extend prompt input",
7
+ "type": "object",
8
+ "required": ["content"],
9
+ "properties": {
10
+ "frontmatter": {
11
+ "type": "object",
12
+ "properties": {
13
+ "description": {
14
+ "type": "string",
15
+ "maxLength": 1024,
16
+ "description": "Brief description of what this command does"
17
+ }
18
+ },
19
+ "additionalProperties": false
20
+ },
21
+ "content": {
22
+ "type": "string",
23
+ "description": "Markdown content appended to the prompt when command is invoked"
24
+ }
25
+ },
26
+ "examples": [
27
+ {
28
+ "content": "# Deploy Command\n\nDeploy the application to production:\n\n1. Run tests\n2. Build the application\n3. Deploy to production server\n4. Verify deployment health"
29
+ },
30
+ {
31
+ "frontmatter": {
32
+ "description": "Generate a comprehensive test suite"
33
+ },
34
+ "content": "# Generate Tests\n\nCreate comprehensive tests for the specified code:\n\n- Unit tests for all functions\n- Integration tests for API endpoints\n- Edge case coverage"
35
+ }
36
+ ]
37
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://registry.prpm.dev/api/v1/schemas/amp.json",
4
+ "$comment": "https://ampcode.com/manual#agents-md",
5
+ "title": "Amp AGENTS.md Format",
6
+ "description": "JSON Schema for Amp agent files - plain markdown with optional YAML frontmatter for glob patterns",
7
+ "type": "object",
8
+ "required": ["content"],
9
+ "properties": {
10
+ "frontmatter": {
11
+ "type": "object",
12
+ "properties": {
13
+ "globs": {
14
+ "oneOf": [
15
+ {
16
+ "type": "string",
17
+ "description": "Single glob pattern for file matching"
18
+ },
19
+ {
20
+ "type": "array",
21
+ "items": {
22
+ "type": "string"
23
+ },
24
+ "description": "Array of glob patterns for file matching"
25
+ }
26
+ ],
27
+ "description": "Glob patterns - file is only included when matching file types are accessed"
28
+ }
29
+ },
30
+ "additionalProperties": false
31
+ },
32
+ "content": {
33
+ "type": "string",
34
+ "description": "Plain markdown content with project-specific instructions. Supports @-mentions for including other files (e.g., @doc/*.md)"
35
+ }
36
+ },
37
+ "examples": [
38
+ {
39
+ "content": "# Backend Guidelines\n\n## Architecture\n\nWe use a clean architecture pattern with dependency injection.\n\n## Database\n\nPostgreSQL with Prisma ORM.\n\n## Coding Standards\n\n- Use TypeScript strict mode\n- Write unit tests for all services\n- Follow @docs/api-conventions.md"
40
+ },
41
+ {
42
+ "frontmatter": {
43
+ "globs": ["**/*.ts", "**/*.tsx"]
44
+ },
45
+ "content": "# TypeScript Guidelines\n\nThese rules apply only to TypeScript files:\n\n- Use strict null checks\n- Prefer interfaces over type aliases\n- Export types explicitly"
46
+ }
47
+ ]
48
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prpm",
3
- "version": "2.1.21",
3
+ "version": "2.1.23",
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.22",
49
- "@pr-pm/registry-client": "^2.3.21",
50
- "@pr-pm/types": "^2.1.22",
48
+ "@pr-pm/converters": "^2.1.24",
49
+ "@pr-pm/registry-client": "^2.3.23",
50
+ "@pr-pm/types": "^2.1.24",
51
51
  "ajv": "^8.17.1",
52
52
  "ajv-formats": "^3.0.1",
53
53
  "chalk": "^5.6.2",