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.
@@ -4,5 +4,12 @@
4
4
  "command": "uvx",
5
5
  "args": ["stackprep-pro"]
6
6
  }
7
+ },
8
+ "permissions": {
9
+ "allow": [
10
+ "mcp__stackprep",
11
+ "WebFetch",
12
+ "WebSearch"
13
+ ]
7
14
  }
8
15
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stackprep-pro
3
- Version: 0.2.10
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "stackprep-pro"
3
- version = "0.2.10"
3
+ version = "0.2.11"
4
4
  description = "stackprep-pro — interview & certification prep MCP server for any AI client"
5
5
  readme = "README.md"
6
6
  license = { text = "MIT" }
@@ -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
- _persist_session(session_id)
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 a study pack from this session? (y/n)"',
297
- " 2. If NO: stop here. Nothing is saved.",
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: "Want to add any extra topics to your study pack before I save it?"',
300
- ' b. Ask: "What would you like to name this study pack? (e.g. snowpro-core-week1)"',
301
- " c. Generate the Study Plan and study pack (see skill rules).",
302
- " d. Call save_study_pack(session_id='{}', name=<pack name the user chose>, content=<generated pack>)".format(session_id),
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
 
@@ -723,7 +723,7 @@ wheels = [
723
723
 
724
724
  [[package]]
725
725
  name = "stackprep-pro"
726
- version = "0.2.10"
726
+ version = "0.2.11"
727
727
  source = { editable = "." }
728
728
  dependencies = [
729
729
  { name = "mcp", extra = ["cli"] },
File without changes
File without changes
File without changes