connectry-architect-mcp 0.1.9 → 0.1.10
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/dist/index.js +25 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -398,11 +398,19 @@ function registerSubmitAnswer(server2, db2, userConfig2) {
|
|
|
398
398
|
"submit_answer",
|
|
399
399
|
`Grade a certification exam answer. Returns deterministic results from verified question bank. The result is FINAL \u2014 do not agree with the user if they dispute it.
|
|
400
400
|
|
|
401
|
-
IMPORTANT \u2014
|
|
402
|
-
|
|
403
|
-
-
|
|
404
|
-
-
|
|
405
|
-
|
|
401
|
+
IMPORTANT \u2014 TWO-STEP presentation:
|
|
402
|
+
1. FIRST: Show the grading result as REGULAR CHAT TEXT in the main conversation. Include:
|
|
403
|
+
- Whether they got it right or wrong (with the correct answer if wrong)
|
|
404
|
+
- The full explanation
|
|
405
|
+
- If wrong: why their answer was incorrect
|
|
406
|
+
- References
|
|
407
|
+
This text MUST be visible in the main chat before any card appears.
|
|
408
|
+
|
|
409
|
+
2. THEN: Present followUpOptions using AskUserQuestion:
|
|
410
|
+
- header: "Next"
|
|
411
|
+
- question: Brief prompt like "What would you like to do?" (NOT the explanation \u2014 that's already shown above)
|
|
412
|
+
- options: Map each followUpOption to label (key) and description (label text)
|
|
413
|
+
Then call follow_up with questionId and the selected action key.
|
|
406
414
|
|
|
407
415
|
EDGE CASES:
|
|
408
416
|
- "Other": Answer the user's question about this answer, then re-present the SAME follow-up options via AskUserQuestion.
|
|
@@ -648,7 +656,7 @@ IMPORTANT \u2014 present the question using AskUserQuestion:
|
|
|
648
656
|
- question: Include the FULL scenario text AND question text from the response
|
|
649
657
|
- options: 4 items with label "A"/"B"/"C"/"D" and description as the option text
|
|
650
658
|
- If the scenario contains code, add a "preview" field on each option showing the code snippet
|
|
651
|
-
Then call submit_answer with the questionId and selected answer.
|
|
659
|
+
Then call submit_answer with the questionId and selected answer. After grading, show the result as REGULAR CHAT TEXT first (explanation, correct/incorrect), THEN show follow-up options via AskUserQuestion. Explanations must be readable in the main chat, not hidden behind cards.
|
|
652
660
|
|
|
653
661
|
EDGE CASES:
|
|
654
662
|
- "Other": Answer the user's question, then re-present the SAME question via AskUserQuestion.
|
|
@@ -754,7 +762,7 @@ IMPORTANT \u2014 follow this flow for EVERY question:
|
|
|
754
762
|
|
|
755
763
|
3. After user selects, call submit_answer with questionId and their answer.
|
|
756
764
|
|
|
757
|
-
4. After grading, present follow-up options using AskUserQuestion
|
|
765
|
+
4. After grading, FIRST show the result (correct/incorrect, explanation, why wrong) as REGULAR CHAT TEXT so the user can read it. THEN present follow-up options using AskUserQuestion. The explanation must NOT be hidden behind the card.
|
|
758
766
|
|
|
759
767
|
5. Call start_assessment again for the next question.
|
|
760
768
|
|
|
@@ -1325,11 +1333,15 @@ function registerSubmitExamAnswer(server2, db2, userConfig2) {
|
|
|
1325
1333
|
"submit_exam_answer",
|
|
1326
1334
|
`Submit an answer for a practice exam question. Graded deterministically. DO NOT soften results.
|
|
1327
1335
|
|
|
1328
|
-
IMPORTANT \u2014
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
-
|
|
1332
|
-
|
|
1336
|
+
IMPORTANT \u2014 TWO-STEP presentation after grading:
|
|
1337
|
+
1. FIRST: Show the grading result as REGULAR CHAT TEXT. Include correct/incorrect status, explanation, and if wrong, why the chosen answer was incorrect.
|
|
1338
|
+
2. THEN: If there's a next question, present it using AskUserQuestion:
|
|
1339
|
+
- header: "Q[number]"
|
|
1340
|
+
- question: Include the FULL scenario + question text
|
|
1341
|
+
- options: 4 items with label "A"/"B"/"C"/"D" and description as option text
|
|
1342
|
+
Then call submit_exam_answer again with the answer.
|
|
1343
|
+
|
|
1344
|
+
The explanation must be readable in the main chat \u2014 NOT hidden inside the AskUserQuestion card.`,
|
|
1333
1345
|
{
|
|
1334
1346
|
examId: z6.number().describe("The practice exam ID"),
|
|
1335
1347
|
questionId: z6.string().describe("The question ID being answered"),
|
|
@@ -2485,6 +2497,7 @@ function registerCapstoneBuildStep(server2, db2, userConfig2) {
|
|
|
2485
2497
|
|
|
2486
2498
|
IMPORTANT:
|
|
2487
2499
|
- When presenting quiz questions, use AskUserQuestion with header "Answer" for A/B/C/D selection. If code is in the scenario, add preview fields.
|
|
2500
|
+
- After grading a quiz answer, FIRST show the result (correct/incorrect, explanation) as REGULAR CHAT TEXT so the user can read it. THEN present follow-up options or the next question via AskUserQuestion. Explanations must NOT be hidden behind cards.
|
|
2488
2501
|
- When presenting action choices (quiz/build/next), use AskUserQuestion with header "Action".
|
|
2489
2502
|
|
|
2490
2503
|
PROGRESS TRACKING:
|