prpm 1.1.0 → 1.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.
@@ -0,0 +1,145 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://prpm.dev/schemas/kiro-agent.schema.json",
4
+ "title": "Kiro Agent Configuration Format",
5
+ "description": "JSON Schema for Kiro custom agent configurations (.kiro/agents/*.json) - specialized AI assistants with specific tools and context",
6
+ "type": "object",
7
+ "properties": {
8
+ "name": {
9
+ "type": "string",
10
+ "description": "Agent's identifier (optional, defaults to filename)"
11
+ },
12
+ "description": {
13
+ "type": "string",
14
+ "description": "Human-readable explanation of agent's purpose"
15
+ },
16
+ "prompt": {
17
+ "type": "string",
18
+ "description": "High-level context for the agent. Can be inline text or reference external markdown files via file:// URI"
19
+ },
20
+ "mcpServers": {
21
+ "type": "object",
22
+ "description": "Model Context Protocol (MCP) servers configuration",
23
+ "additionalProperties": {
24
+ "type": "object",
25
+ "properties": {
26
+ "command": {
27
+ "type": "string",
28
+ "description": "Command to start the MCP server"
29
+ },
30
+ "args": {
31
+ "type": "array",
32
+ "items": { "type": "string" },
33
+ "description": "Command-line arguments for the server"
34
+ },
35
+ "env": {
36
+ "type": "object",
37
+ "additionalProperties": { "type": "string" },
38
+ "description": "Environment variables for the server"
39
+ },
40
+ "timeout": {
41
+ "type": "number",
42
+ "description": "Server timeout in milliseconds"
43
+ }
44
+ },
45
+ "required": ["command"]
46
+ }
47
+ },
48
+ "tools": {
49
+ "type": "array",
50
+ "items": { "type": "string" },
51
+ "description": "List of available tools (built-in or from MCP servers). Supports wildcards."
52
+ },
53
+ "toolAliases": {
54
+ "type": "object",
55
+ "additionalProperties": { "type": "string" },
56
+ "description": "Rename tools to avoid naming conflicts"
57
+ },
58
+ "allowedTools": {
59
+ "type": "array",
60
+ "items": { "type": "string" },
61
+ "description": "Tools that can be used without user permission. Supports wildcards."
62
+ },
63
+ "toolsSettings": {
64
+ "type": "object",
65
+ "description": "Configure specific tool behaviors",
66
+ "additionalProperties": {
67
+ "type": "object",
68
+ "properties": {
69
+ "allowedPaths": {
70
+ "type": "array",
71
+ "items": { "type": "string" },
72
+ "description": "Allowed file paths for file system tools"
73
+ }
74
+ },
75
+ "additionalProperties": true
76
+ }
77
+ },
78
+ "resources": {
79
+ "type": "array",
80
+ "items": { "type": "string" },
81
+ "description": "Local file resources accessible to the agent (file:// URIs)"
82
+ },
83
+ "hooks": {
84
+ "type": "object",
85
+ "description": "Commands triggered at specific lifecycle points",
86
+ "properties": {
87
+ "agentSpawn": {
88
+ "type": "array",
89
+ "items": { "type": "string" }
90
+ },
91
+ "userPromptSubmit": {
92
+ "type": "array",
93
+ "items": { "type": "string" }
94
+ },
95
+ "preToolUse": {
96
+ "type": "array",
97
+ "items": { "type": "string" }
98
+ },
99
+ "postToolUse": {
100
+ "type": "array",
101
+ "items": { "type": "string" }
102
+ },
103
+ "stop": {
104
+ "type": "array",
105
+ "items": { "type": "string" }
106
+ }
107
+ }
108
+ },
109
+ "useLegacyMcpJson": {
110
+ "type": "boolean",
111
+ "description": "Include legacy MCP configurations"
112
+ },
113
+ "model": {
114
+ "type": "string",
115
+ "description": "Specific AI model for the agent"
116
+ }
117
+ },
118
+ "examples": [
119
+ {
120
+ "name": "backend-specialist",
121
+ "description": "Expert in building Express.js APIs with MongoDB",
122
+ "prompt": "You are a backend developer specializing in Node.js and Express. Focus on API design, database optimization, and security best practices.",
123
+ "tools": ["fs_read", "fs_write", "execute_bash"],
124
+ "toolsSettings": {
125
+ "fs_write": {
126
+ "allowedPaths": ["src/api/**", "tests/api/**", "server.js", "package.json"]
127
+ }
128
+ },
129
+ "resources": [
130
+ "file://.kiro/steering/backend-standards.md"
131
+ ]
132
+ },
133
+ {
134
+ "name": "aws-rust-agent",
135
+ "description": "Specialized agent for AWS and Rust development",
136
+ "prompt": "file://./prompts/aws-rust-expert.md",
137
+ "mcpServers": {
138
+ "fetch": { "command": "fetch-server", "args": [] },
139
+ "git": { "command": "git-mcp", "args": [] }
140
+ },
141
+ "tools": ["fetch", "git_status", "fs_read", "fs_write"],
142
+ "allowedTools": ["fetch", "git_status"]
143
+ }
144
+ ]
145
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://prpm.dev/schemas/ruler.schema.json",
4
+ "title": "Ruler Rules Format",
5
+ "description": "JSON Schema for Ruler .ruler/ format - plain markdown without frontmatter, used for AI coding assistant instructions",
6
+ "type": "object",
7
+ "required": ["content"],
8
+ "properties": {
9
+ "content": {
10
+ "type": "string",
11
+ "description": "Plain markdown content for AI coding rules and guidelines. No frontmatter required. Files are concatenated with source markers by Ruler.",
12
+ "minLength": 1
13
+ }
14
+ },
15
+ "examples": [
16
+ {
17
+ "content": "<!-- Package: react-best-practices -->\n<!-- Author: @username -->\n\n# React Best Practices\n\n## Core Principles\n\n- Use functional components\n- Keep components small and focused\n\n## Naming Conventions\n\n- Use PascalCase for component names\n- Use camelCase for function names"
18
+ }
19
+ ],
20
+ "additionalProperties": false
21
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prpm",
3
- "version": "1.1.0",
3
+ "version": "1.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": "^1.1.0",
49
- "@pr-pm/registry-client": "^2.1.0",
50
- "@pr-pm/types": "^1.1.0",
48
+ "@pr-pm/converters": "^1.1.2",
49
+ "@pr-pm/registry-client": "^2.1.2",
50
+ "@pr-pm/types": "^1.1.2",
51
51
  "ajv": "^8.17.1",
52
52
  "ajv-formats": "^3.0.1",
53
53
  "commander": "^11.1.0",