prpm 1.1.2 → 1.1.4

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,45 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://prpm.dev/schemas/droid.schema.json",
4
+ "title": "Factory Droid Format",
5
+ "description": "JSON Schema for Factory Droid Skills, Hooks, and Slash Commands",
6
+ "type": "object",
7
+ "required": ["frontmatter", "content"],
8
+ "properties": {
9
+ "frontmatter": {
10
+ "type": "object",
11
+ "required": ["name", "description"],
12
+ "properties": {
13
+ "name": {
14
+ "type": "string",
15
+ "description": "Unique identifier for the skill/command"
16
+ },
17
+ "description": {
18
+ "type": "string",
19
+ "description": "Brief explanation of the skill's purpose"
20
+ },
21
+ "argument-hint": {
22
+ "type": "string",
23
+ "description": "Optional usage hint for slash commands"
24
+ },
25
+ "allowed-tools": {
26
+ "type": "array",
27
+ "description": "Reserved for future use",
28
+ "items": {
29
+ "type": "string"
30
+ }
31
+ }
32
+ },
33
+ "additionalProperties": true
34
+ },
35
+ "content": {
36
+ "type": "string",
37
+ "description": "Body content as markdown"
38
+ },
39
+ "type": {
40
+ "type": "string",
41
+ "enum": ["skill", "slash-command", "hook"],
42
+ "description": "The type of Factory Droid artifact"
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,105 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://prpm.dev/schemas/opencode.schema.json",
4
+ "title": "OpenCode Agent Format",
5
+ "description": "JSON Schema for OpenCode Agents - markdown files with YAML frontmatter stored in .opencode/agent/",
6
+ "type": "object",
7
+ "required": ["frontmatter", "content"],
8
+ "properties": {
9
+ "frontmatter": {
10
+ "type": "object",
11
+ "required": ["description"],
12
+ "properties": {
13
+ "description": {
14
+ "type": "string",
15
+ "description": "Brief description of the agent's purpose (required)"
16
+ },
17
+ "mode": {
18
+ "type": "string",
19
+ "enum": ["subagent", "primary", "all"],
20
+ "description": "Determines usage context - subagent (spawned), primary (main), or all (both)"
21
+ },
22
+ "model": {
23
+ "type": "string",
24
+ "description": "Override default LLM (e.g., 'anthropic/claude-sonnet-4-20250514')"
25
+ },
26
+ "temperature": {
27
+ "type": "number",
28
+ "minimum": 0.0,
29
+ "maximum": 1.0,
30
+ "description": "Control response creativity (0.0-1.0 range)"
31
+ },
32
+ "tools": {
33
+ "type": "object",
34
+ "description": "Enable/disable specific tool access",
35
+ "properties": {
36
+ "write": { "type": "boolean" },
37
+ "edit": { "type": "boolean" },
38
+ "bash": { "type": "boolean" },
39
+ "read": { "type": "boolean" },
40
+ "grep": { "type": "boolean" },
41
+ "glob": { "type": "boolean" },
42
+ "webfetch": { "type": "boolean" },
43
+ "websearch": { "type": "boolean" }
44
+ },
45
+ "additionalProperties": { "type": "boolean" }
46
+ },
47
+ "permission": {
48
+ "type": "object",
49
+ "description": "Granular control over tool usage (ask/allow/deny)",
50
+ "properties": {
51
+ "edit": {
52
+ "type": "string",
53
+ "enum": ["ask", "allow", "deny"]
54
+ },
55
+ "bash": {
56
+ "oneOf": [
57
+ { "type": "string", "enum": ["ask", "allow", "deny"] },
58
+ { "type": "object", "description": "Specific commands allowed" }
59
+ ]
60
+ },
61
+ "webfetch": {
62
+ "type": "string",
63
+ "enum": ["ask", "allow", "deny"]
64
+ }
65
+ },
66
+ "additionalProperties": {
67
+ "oneOf": [
68
+ { "type": "string", "enum": ["ask", "allow", "deny"] },
69
+ { "type": "object" }
70
+ ]
71
+ }
72
+ },
73
+ "disable": {
74
+ "type": "boolean",
75
+ "description": "Boolean to deactivate the agent"
76
+ }
77
+ },
78
+ "additionalProperties": false
79
+ },
80
+ "content": {
81
+ "type": "string",
82
+ "description": "System prompt content as markdown text"
83
+ }
84
+ },
85
+ "examples": [
86
+ {
87
+ "frontmatter": {
88
+ "description": "Reviews code for best practices",
89
+ "mode": "subagent",
90
+ "model": "anthropic/claude-sonnet-4-20250514",
91
+ "temperature": 0.7,
92
+ "tools": {
93
+ "write": false,
94
+ "edit": true,
95
+ "bash": false
96
+ },
97
+ "permission": {
98
+ "edit": "ask",
99
+ "bash": "deny"
100
+ }
101
+ },
102
+ "content": "You are an expert code reviewer.\n\n## Instructions\n\n- Check for code smells\n- Verify test coverage\n- Suggest improvements"
103
+ }
104
+ ]
105
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prpm",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
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.2",
49
- "@pr-pm/registry-client": "^2.1.2",
50
- "@pr-pm/types": "^1.1.2",
48
+ "@pr-pm/converters": "^1.1.4",
49
+ "@pr-pm/registry-client": "^2.1.4",
50
+ "@pr-pm/types": "^1.1.4",
51
51
  "ajv": "^8.17.1",
52
52
  "ajv-formats": "^3.0.1",
53
53
  "commander": "^11.1.0",