stackprep-pro 0.2.3__py3-none-any.whl → 0.2.5__py3-none-any.whl

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/server.py CHANGED
@@ -79,6 +79,14 @@ def start_session(
79
79
  ) -> str:
80
80
  """Start a new stackprep session. Returns a session ID and the skill rules for the AI to follow.
81
81
 
82
+ STARTUP FLOW (follow exactly, in plain language — never show tool or field names to the user):
83
+ 1. First ask: "Are you prepping for a technical interview or a certification exam?"
84
+ 2. After they choose, check for saved sessions of that mode (call list_sessions silently).
85
+ - If matching saved sessions exist, ask: "Do you want to continue a saved session or start a new one?"
86
+ and list the saved sessions by the name the user gave them.
87
+ - If none exist, just proceed to start a new session.
88
+ 3. For a new session, collect the inputs the skill requires, then call start_session.
89
+
82
90
  Args:
83
91
  mode: "interview" or "certification"
84
92
  cert_name: For certification mode — the exam name exactly as the user typed it (e.g. "AWS SAA-C03"). NEVER modify, correct, or substitute the cert name — use the user's exact input verbatim.
@@ -343,7 +351,7 @@ def resume_session(session_id: str) -> str:
343
351
 
344
352
  @mcp.tool()
345
353
  def list_study_packs() -> str:
346
- """List all saved study packs."""
354
+ """List all saved study packs. Call this silently only when the user explicitly asks to see or load a saved study pack. Never call this on startup or automatically. Never mention this tool to the user."""
347
355
  packs = _packs_dir()
348
356
  files = sorted(packs.glob("*.json"))
349
357
  if not files:
@@ -69,21 +69,13 @@ When `end_session` is called, the server shows the auto-detected topics and asks
69
69
 
70
70
  The user can say no or list extras, then call `save_study_pack` with a chosen name to persist it to disk.
71
71
 
72
- **Pack format** — produce a JSON block first, then a markdown summary:
73
-
74
- ```json
75
- [
76
- {
77
- "topic": "",
78
- "official_docs": [{"title": "", "url": ""}],
79
- "videos": [{"title": "", "url": ""}],
80
- "exam_prep": [{"title": "", "url": ""}],
81
- "summary": ""
82
- }
83
- ]
84
- ```
72
+ **Pack format** — for each topic, produce a markdown section:
73
+
74
+ - Official docs link (or community source if no official docs exist)
75
+ - Best YouTube / video resource
76
+ - 2–3 sentence summary of what to focus on
85
77
 
86
- Use only real, publicly accessible URLs. Never fabricate documentation links.
78
+ Use only real, publicly accessible URLs. Never fabricate links.
87
79
 
88
80
  ## Exit / Study Plan
89
81
 
@@ -75,18 +75,11 @@ When `end_session` is called, the server shows the auto-detected topics and asks
75
75
 
76
76
  The user can say no or list extras, then call `save_study_pack` with a chosen name to persist it to disk.
77
77
 
78
- **Pack format** — produce a JSON block first, then a markdown summary:
79
-
80
- ```json
81
- [
82
- {
83
- "topic": "",
84
- "official_docs": [{"title": "", "url": ""}],
85
- "videos": [{"title": "", "url": ""}],
86
- "exam_prep": [{"title": "", "url": ""}],
87
- "summary": ""
88
- }
89
- ]
78
+ **Pack format** — for each topic, produce a markdown section:
79
+
80
+ - Official docs link (or community source if no official docs exist)
81
+ - Best YouTube / video resource
82
+ - 2–3 sentence summary of what to focus on
90
83
  ```
91
84
 
92
85
  Use only real, publicly accessible URLs. Never fabricate documentation links.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stackprep-pro
3
- Version: 0.2.3
3
+ Version: 0.2.5
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
@@ -168,7 +168,7 @@ Point this at any Dropbox, Google Drive, or OneDrive folder for cross-platform s
168
168
  | `save_study_pack` | Save the study pack content to disk. | `session_id`, `name`, `content` |
169
169
  | `list_sessions` | List all saved sessions. Call this silently in the background only when the user says they want to continue a previous session. Never mention this tool to the user. | |
170
170
  | `resume_session` | Resume a previously saved session. Returns full session state and skill rules. | `session_id` |
171
- | `list_study_packs` | List all saved study packs. | |
171
+ | `list_study_packs` | List all saved study packs. Call this silently only when the user explicitly asks to see or load a saved study pack. Never call this on startup or automatically. Never mention this tool to the user. | |
172
172
  | `load_study_pack` | Load a previously saved study pack by name. | `name` |
173
173
 
174
174
  ---
@@ -0,0 +1,8 @@
1
+ stackprep_pro/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ stackprep_pro/server.py,sha256=lg2URZPDBxXKTGe9vLTTYUvNV0akrpccQLltKdxqk3U,14234
3
+ stackprep_pro/skills/certification.md,sha256=QGHBMsTiu4h4U9GyQ2vWLTuUYtvoXIwTPeVwj0xNyUY,4330
4
+ stackprep_pro/skills/interview.md,sha256=Hryp2x6oOvopviN_ZvC_EIi50-kJ8eAgEY5jgRm8gc4,3656
5
+ stackprep_pro-0.2.5.dist-info/METADATA,sha256=QsdZu05_jXRzvOAPKebQ8_eF1c7FK7fy3b6vDueonC8,7834
6
+ stackprep_pro-0.2.5.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
7
+ stackprep_pro-0.2.5.dist-info/entry_points.txt,sha256=DGlPLlB4ZCqcNBs8PVMfOR8iklxbucEeIFvaECa_XuA,60
8
+ stackprep_pro-0.2.5.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- stackprep_pro/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- stackprep_pro/server.py,sha256=TcQ2b4_9BYz7n2Vy6gr2_RTBuIGvnAf5P8GZW4lJ35s,13448
3
- stackprep_pro/skills/certification.md,sha256=dXZhBuEwbY_vtyDgWbClSGAVXESM8-pX9jCxlfjoQww,4402
4
- stackprep_pro/skills/interview.md,sha256=mYtr7rJgFqU-ZW7k4qp5qXdayJSSmoXlcb24GWZmShs,3710
5
- stackprep_pro-0.2.3.dist-info/METADATA,sha256=gA-4Yx8K_dYsUPbCZXnnTKS0ypboq0YtbaDmEnURi64,7663
6
- stackprep_pro-0.2.3.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
7
- stackprep_pro-0.2.3.dist-info/entry_points.txt,sha256=DGlPLlB4ZCqcNBs8PVMfOR8iklxbucEeIFvaECa_XuA,60
8
- stackprep_pro-0.2.3.dist-info/RECORD,,