@goodboyjs/schema 1.0.0 → 1.1.0
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/generated/ts/index.d.ts
CHANGED
|
@@ -23,9 +23,9 @@ export interface GoodBoySkillManifest {
|
|
|
23
23
|
*/
|
|
24
24
|
license: string;
|
|
25
25
|
/**
|
|
26
|
-
* GoodBoy manifest schema version
|
|
26
|
+
* GoodBoy manifest schema version, semver-shaped (v1.x only). CLIs tolerate a newer minor than they know, stripping unknown top-level fields with a warning; a newer major is rejected. See manifest.ts.
|
|
27
27
|
*/
|
|
28
|
-
schema_version:
|
|
28
|
+
schema_version: string;
|
|
29
29
|
/**
|
|
30
30
|
* Maturity signal for registry display and filtering
|
|
31
31
|
*/
|
|
@@ -112,4 +112,16 @@ export interface GoodBoySkillManifest {
|
|
|
112
112
|
* @maxItems 5
|
|
113
113
|
*/
|
|
114
114
|
permissions?: ("read_files" | "write_files" | "network" | "shell" | "env")[];
|
|
115
|
+
/**
|
|
116
|
+
* Logical runtime requirements. Introduced in schema 1.1.0; manifests using this field must declare schema_version >= 1.1.0.
|
|
117
|
+
*/
|
|
118
|
+
requires?: {
|
|
119
|
+
/**
|
|
120
|
+
* Logical secret names (environment-variable style) this skill requires at runtime. DECLARED INTENT ONLY — GoodBoy validates and displays these; it never resolves or injects them during install, and never executes the skill.
|
|
121
|
+
*
|
|
122
|
+
* @minItems 1
|
|
123
|
+
* @maxItems 32
|
|
124
|
+
*/
|
|
125
|
+
secrets: string[];
|
|
126
|
+
};
|
|
115
127
|
}
|
package/package.json
CHANGED
package/src/manifest.schema.json
CHANGED
|
@@ -42,8 +42,9 @@
|
|
|
42
42
|
},
|
|
43
43
|
"schema_version": {
|
|
44
44
|
"type": "string",
|
|
45
|
-
"
|
|
46
|
-
"
|
|
45
|
+
"pattern": "^1\\.\\d+\\.\\d+$",
|
|
46
|
+
"maxLength": 32,
|
|
47
|
+
"description": "GoodBoy manifest schema version, semver-shaped (v1.x only). CLIs tolerate a newer minor than they know, stripping unknown top-level fields with a warning; a newer major is rejected. See manifest.ts."
|
|
47
48
|
},
|
|
48
49
|
"status": {
|
|
49
50
|
"type": "string",
|
|
@@ -127,6 +128,26 @@
|
|
|
127
128
|
"maxItems": 5,
|
|
128
129
|
"uniqueItems": true,
|
|
129
130
|
"description": "DECLARED INTENT ONLY — not enforced at runtime. Skill authors declare what their scripts intend to access. GoodBoy displays this to users before install as a trust signal. An empty array or omitted field means no elevated access is claimed."
|
|
131
|
+
},
|
|
132
|
+
"requires": {
|
|
133
|
+
"type": "object",
|
|
134
|
+
"additionalProperties": false,
|
|
135
|
+
"required": ["secrets"],
|
|
136
|
+
"properties": {
|
|
137
|
+
"secrets": {
|
|
138
|
+
"type": "array",
|
|
139
|
+
"items": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"pattern": "^[A-Z_][A-Z0-9_]*$",
|
|
142
|
+
"maxLength": 64
|
|
143
|
+
},
|
|
144
|
+
"minItems": 1,
|
|
145
|
+
"maxItems": 32,
|
|
146
|
+
"uniqueItems": true,
|
|
147
|
+
"description": "Logical secret names (environment-variable style) this skill requires at runtime. DECLARED INTENT ONLY — GoodBoy validates and displays these; it never resolves or injects them during install, and never executes the skill."
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"description": "Logical runtime requirements. Introduced in schema 1.1.0; manifests using this field must declare schema_version >= 1.1.0."
|
|
130
151
|
}
|
|
131
152
|
}
|
|
132
153
|
}
|
|
@@ -42,8 +42,9 @@
|
|
|
42
42
|
},
|
|
43
43
|
"schema_version": {
|
|
44
44
|
"type": "string",
|
|
45
|
-
"
|
|
46
|
-
"
|
|
45
|
+
"pattern": "^1\\.\\d+\\.\\d+$",
|
|
46
|
+
"maxLength": 32,
|
|
47
|
+
"description": "GoodBoy manifest schema version, semver-shaped (v1.x only). CLIs tolerate a newer minor than they know, stripping unknown top-level fields with a warning; a newer major is rejected. See manifest.ts."
|
|
47
48
|
},
|
|
48
49
|
"status": {
|
|
49
50
|
"type": "string",
|
|
@@ -127,6 +128,26 @@
|
|
|
127
128
|
"maxItems": 5,
|
|
128
129
|
"uniqueItems": true,
|
|
129
130
|
"description": "DECLARED INTENT ONLY — not enforced at runtime. Skill authors declare what their scripts intend to access. GoodBoy displays this to users before install as a trust signal. An empty array or omitted field means no elevated access is claimed."
|
|
131
|
+
},
|
|
132
|
+
"requires": {
|
|
133
|
+
"type": "object",
|
|
134
|
+
"additionalProperties": false,
|
|
135
|
+
"required": ["secrets"],
|
|
136
|
+
"properties": {
|
|
137
|
+
"secrets": {
|
|
138
|
+
"type": "array",
|
|
139
|
+
"items": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"pattern": "^[A-Z_][A-Z0-9_]*$",
|
|
142
|
+
"maxLength": 64
|
|
143
|
+
},
|
|
144
|
+
"minItems": 1,
|
|
145
|
+
"maxItems": 32,
|
|
146
|
+
"uniqueItems": true,
|
|
147
|
+
"description": "Logical secret names (environment-variable style) this skill requires at runtime. DECLARED INTENT ONLY — GoodBoy validates and displays these; it never resolves or injects them during install, and never executes the skill."
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"description": "Logical runtime requirements. Introduced in schema 1.1.0; manifests using this field must declare schema_version >= 1.1.0."
|
|
130
151
|
}
|
|
131
152
|
}
|
|
132
153
|
}
|