stackprep-pro 0.2.4__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 +9 -1
- {stackprep_pro-0.2.4.dist-info → stackprep_pro-0.2.5.dist-info}/METADATA +2 -2
- stackprep_pro-0.2.5.dist-info/RECORD +8 -0
- stackprep_pro-0.2.4.dist-info/RECORD +0 -8
- {stackprep_pro-0.2.4.dist-info → stackprep_pro-0.2.5.dist-info}/WHEEL +0 -0
- {stackprep_pro-0.2.4.dist-info → stackprep_pro-0.2.5.dist-info}/entry_points.txt +0 -0
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:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: stackprep-pro
|
|
3
|
-
Version: 0.2.
|
|
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=QGHBMsTiu4h4U9GyQ2vWLTuUYtvoXIwTPeVwj0xNyUY,4330
|
|
4
|
-
stackprep_pro/skills/interview.md,sha256=Hryp2x6oOvopviN_ZvC_EIi50-kJ8eAgEY5jgRm8gc4,3656
|
|
5
|
-
stackprep_pro-0.2.4.dist-info/METADATA,sha256=5BcR8RfPc1qLowm7qUPe1grovQ7txi7LDaVC--ev6NM,7663
|
|
6
|
-
stackprep_pro-0.2.4.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
|
|
7
|
-
stackprep_pro-0.2.4.dist-info/entry_points.txt,sha256=DGlPLlB4ZCqcNBs8PVMfOR8iklxbucEeIFvaECa_XuA,60
|
|
8
|
-
stackprep_pro-0.2.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|