stackprep-pro 0.2.10__tar.gz → 0.2.11__tar.gz
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.
- {stackprep_pro-0.2.10 → stackprep_pro-0.2.11}/.claude/settings.json +7 -0
- {stackprep_pro-0.2.10 → stackprep_pro-0.2.11}/PKG-INFO +1 -1
- {stackprep_pro-0.2.10 → stackprep_pro-0.2.11}/pyproject.toml +1 -1
- {stackprep_pro-0.2.10 → stackprep_pro-0.2.11}/src/stackprep_pro/server.py +8 -7
- {stackprep_pro-0.2.10 → stackprep_pro-0.2.11}/uv.lock +1 -1
- {stackprep_pro-0.2.10 → stackprep_pro-0.2.11}/.githooks/pre-commit +0 -0
- {stackprep_pro-0.2.10 → stackprep_pro-0.2.11}/.github/workflows/publish.yml +0 -0
- {stackprep_pro-0.2.10 → stackprep_pro-0.2.11}/.gitignore +0 -0
- {stackprep_pro-0.2.10 → stackprep_pro-0.2.11}/.mcp.json +0 -0
- {stackprep_pro-0.2.10 → stackprep_pro-0.2.11}/CLAUDE.md +0 -0
- {stackprep_pro-0.2.10 → stackprep_pro-0.2.11}/README.md +0 -0
- {stackprep_pro-0.2.10 → stackprep_pro-0.2.11}/scripts/bump_version.sh +0 -0
- {stackprep_pro-0.2.10 → stackprep_pro-0.2.11}/scripts/generate_readme.py +0 -0
- {stackprep_pro-0.2.10 → stackprep_pro-0.2.11}/src/stackprep_pro/__init__.py +0 -0
- {stackprep_pro-0.2.10 → stackprep_pro-0.2.11}/src/stackprep_pro/skills/certification.md +0 -0
- {stackprep_pro-0.2.10 → stackprep_pro-0.2.11}/src/stackprep_pro/skills/interview.md +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: stackprep-pro
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.11
|
|
4
4
|
Summary: stackprep-pro — interview & certification prep MCP server for any AI client
|
|
5
5
|
Project-URL: Homepage, https://github.com/youngpada1/stackprep-pro
|
|
6
6
|
Project-URL: Repository, https://github.com/youngpada1/stackprep-pro
|
|
@@ -279,7 +279,8 @@ def end_session(session_id: str) -> str:
|
|
|
279
279
|
all_flagged = list(dict.fromkeys(session["auto_flagged"] + session["flagged"]))
|
|
280
280
|
session["ended"] = True
|
|
281
281
|
session["all_flagged"] = all_flagged
|
|
282
|
-
|
|
282
|
+
# Do NOT auto-save the session here. It is only saved if the user explicitly
|
|
283
|
+
# chooses to, via save_session (with a name they provide).
|
|
283
284
|
|
|
284
285
|
score = session["score"]
|
|
285
286
|
topics_list = "\n".join(f" • {t}" for t in all_flagged) if all_flagged else " (none — full score!)"
|
|
@@ -293,13 +294,13 @@ def end_session(session_id: str) -> str:
|
|
|
293
294
|
topics_list,
|
|
294
295
|
"",
|
|
295
296
|
"Now (this flow is identical for interview and certification mode):",
|
|
296
|
-
' 1. Ask the user: "Do you want to save
|
|
297
|
-
" 2. If NO: stop here.
|
|
297
|
+
' 1. Ask the user: "Do you want to save this session? (y/n)"',
|
|
298
|
+
" 2. If NO: stop here. Do NOT save anything — nothing is persisted.",
|
|
298
299
|
" 3. If YES:",
|
|
299
|
-
' a. Ask: "
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
"
|
|
300
|
+
' a. Ask: "What would you like to name this session?" — the user MUST provide a name; never auto-generate one.',
|
|
301
|
+
" b. Call save_session(session_id='{}', session_name=<name the user chose>)".format(session_id),
|
|
302
|
+
' c. Then ask: "Do you want a study pack from this session too? (y/n)" — if yes, generate it and call'
|
|
303
|
+
" save_study_pack(session_id='{}', name=<pack name the user chose>, content=<generated pack>).".format(session_id),
|
|
303
304
|
])
|
|
304
305
|
|
|
305
306
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|