@projectsolo/solo-mission-mcp 0.21.13 → 0.21.14
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/DEVELOPER_README.md +1 -1
- package/dist/index.js +5 -2
- package/package.json +1 -1
- package/src/tools/missions.ts +11 -2
package/DEVELOPER_README.md
CHANGED
|
@@ -99,7 +99,7 @@ but the package itself is `@projectsolo/solo-mission-mcp` (org-scoped) — insta
|
|
|
99
99
|
```
|
|
100
100
|
2. **Register Trusted Publishing.** On https://www.npmjs.com, open
|
|
101
101
|
`@projectsolo/solo-mission-mcp` → **Settings → Trusted Publisher → GitHub Actions**:
|
|
102
|
-
- Organization/repo: `
|
|
102
|
+
- Organization/repo: `ProjectSoloAI/solo_mission_mcp`
|
|
103
103
|
- Workflow filename: `release.yml`
|
|
104
104
|
- Environment: (leave blank)
|
|
105
105
|
3. **Grant team publish access** so other org members aren't stuck relying on step 1's
|
package/dist/index.js
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
var RESPONSE_SCHEMA_PROPERTY = {
|
|
20
20
|
type: "array",
|
|
21
21
|
maxItems: 20,
|
|
22
|
-
description: 'Structured completion questions a human answers to complete the mission. Question ids must be unique within one schema \u2014 a duplicate id is rejected at creation/update, not merged or silently overwritten. When set, finalize_qualification auto-derives qualified UIDs from completion instead of requiring an explicit qualified_human_uids list \u2014 same mechanism media_review has always used for track ratings, generalized to any mission type. media_review defaults to a canonical two-question schema when this is omitted at creation \u2014 literally { id: "rating", kind: "stars", required: true } and { id: "comment", kind: "long", required:
|
|
22
|
+
description: 'Structured completion questions a human answers to complete the mission. Question ids must be unique within one schema \u2014 a duplicate id is rejected at creation/update, not merged or silently overwritten. When set, finalize_qualification auto-derives qualified UIDs from completion instead of requiring an explicit qualified_human_uids list \u2014 same mechanism media_review has always used for track ratings, generalized to any mission type. media_review defaults to a canonical two-question schema when this is omitted at creation \u2014 literally { id: "rating", kind: "stars", required: true } and { id: "comment", kind: "long", required: true } \u2014 so read/append against those exact ids if you rely on the default rather than supplying your own schema. Every other type has no default (stays fully manual/chat-based unless you set this).',
|
|
23
23
|
items: {
|
|
24
24
|
type: "object",
|
|
25
25
|
properties: {
|
|
@@ -43,7 +43,10 @@ var RESPONSE_SCHEMA_PROPERTY = {
|
|
|
43
43
|
},
|
|
44
44
|
label: { type: "string", description: "Question text shown to the human (max 200 chars). For the checkbox kind this is the checkbox's own clickable text, not a separate heading." },
|
|
45
45
|
help: { type: "string", description: "Optional helper text shown under the label (max 500 chars)." },
|
|
46
|
-
required: {
|
|
46
|
+
required: {
|
|
47
|
+
type: "boolean",
|
|
48
|
+
description: "Whether this question must be answered to complete the mission. A required: false question does NOT block mission completion or finalize_qualification's auto-qualification \u2014 both derive purely from the required questions, so an optional question left blank (or still being typed into) will not stop either from firing the instant the required ones are answered. If every question in the schema should actually be answered, mark them all required: true; reserve required: false for a genuinely optional/skippable field."
|
|
49
|
+
},
|
|
47
50
|
options: {
|
|
48
51
|
type: "array",
|
|
49
52
|
items: { type: "string" },
|
package/package.json
CHANGED
package/src/tools/missions.ts
CHANGED
|
@@ -26,7 +26,7 @@ const RESPONSE_SCHEMA_PROPERTY = {
|
|
|
26
26
|
'media_review has always used for track ratings, generalized to any mission type. ' +
|
|
27
27
|
'media_review defaults to a canonical two-question schema when this is omitted at creation — ' +
|
|
28
28
|
'literally { id: "rating", kind: "stars", required: true } and { id: "comment", kind: "long", ' +
|
|
29
|
-
'required:
|
|
29
|
+
'required: true } — so read/append against those exact ids if you rely on the default rather ' +
|
|
30
30
|
'than supplying your own schema. Every other type has no default (stays fully manual/chat-based ' +
|
|
31
31
|
'unless you set this).',
|
|
32
32
|
items: {
|
|
@@ -63,7 +63,16 @@ const RESPONSE_SCHEMA_PROPERTY = {
|
|
|
63
63
|
},
|
|
64
64
|
label: { type: 'string', description: 'Question text shown to the human (max 200 chars). For the checkbox kind this is the checkbox\'s own clickable text, not a separate heading.' },
|
|
65
65
|
help: { type: 'string', description: 'Optional helper text shown under the label (max 500 chars).' },
|
|
66
|
-
required: {
|
|
66
|
+
required: {
|
|
67
|
+
type: 'boolean',
|
|
68
|
+
description:
|
|
69
|
+
'Whether this question must be answered to complete the mission. A required: false question ' +
|
|
70
|
+
'does NOT block mission completion or finalize_qualification\'s auto-qualification — both ' +
|
|
71
|
+
'derive purely from the required questions, so an optional question left blank (or still ' +
|
|
72
|
+
'being typed into) will not stop either from firing the instant the required ones are ' +
|
|
73
|
+
'answered. If every question in the schema should actually be answered, mark them all ' +
|
|
74
|
+
'required: true; reserve required: false for a genuinely optional/skippable field.',
|
|
75
|
+
},
|
|
67
76
|
options: {
|
|
68
77
|
type: 'array',
|
|
69
78
|
items: { type: 'string' },
|