stackprep-pro 0.2.19__tar.gz → 0.2.20__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stackprep-pro
3
- Version: 0.2.19
3
+ Version: 0.2.20
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "stackprep-pro"
3
- version = "0.2.19"
3
+ version = "0.2.20"
4
4
  description = "stackprep-pro — interview & certification prep MCP server for any AI client"
5
5
  readme = "README.md"
6
6
  license = { text = "MIT" }
@@ -166,6 +166,8 @@ def start_session(
166
166
  _sessions[session_id] = {
167
167
  "mode": mode,
168
168
  "cert_name": cert_name,
169
+ "cv": cv,
170
+ "jd": jd,
169
171
  "session_name": "",
170
172
  "extra_topics": extra_topics,
171
173
  "q_num": 0,
@@ -459,6 +461,12 @@ def resume_session(session_id: str) -> str:
459
461
  ]
460
462
  if cert:
461
463
  context_lines.append(f"Certification: {cert}")
464
+ cv = session.get("cv", "")
465
+ jd = session.get("jd", "")
466
+ if cv:
467
+ context_lines.append(f"\n--- CV ---\n{cv}")
468
+ if jd:
469
+ context_lines.append(f"\n--- Job description ---\n{jd}")
462
470
  context_lines += [
463
471
  f"Questions answered so far: {q_num}",
464
472
  f"Score so far: {score['correct']}/{score['total']} "
@@ -22,6 +22,13 @@ This is mandatory EVERY time, no matter how few questions were answered.
22
22
 
23
23
  ## Session setup
24
24
 
25
+ When starting a NEW interview session, first check (silently, via list_sessions) whether the user has a
26
+ previously saved interview session. If so, ask: "Do you want to reuse the same CV and job description from a
27
+ previous session, or provide new ones?" If they reuse, take the CV and JD from that saved session and pass
28
+ them to start_session unchanged. Otherwise ask for the new CV and JD.
29
+
30
+ The CV and JD are stored on the session, so a resumed session keeps the exact same CV and JD.
31
+
25
32
  Inputs arrive via MCP (CV, job description, extra topics). After analysing the CV and JD, present a clean, structured overview in this exact layout:
26
33
 
27
34
  ```
@@ -723,7 +723,7 @@ wheels = [
723
723
 
724
724
  [[package]]
725
725
  name = "stackprep-pro"
726
- version = "0.2.19"
726
+ version = "0.2.20"
727
727
  source = { editable = "." }
728
728
  dependencies = [
729
729
  { name = "mcp", extra = ["cli"] },
File without changes
File without changes
File without changes