stackprep-pro 0.2.7__py3-none-any.whl → 0.2.9__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
@@ -9,7 +9,23 @@ from typing import Any
9
9
 
10
10
  from mcp.server.fastmcp import FastMCP
11
11
 
12
- mcp = FastMCP("stackprep-pro")
12
+ SERVER_INSTRUCTIONS = """\
13
+ stackprep-pro — adaptive interview & certification prep.
14
+
15
+ PRESENTATION (applies to EVERY message from the very first one, before and after a session starts):
16
+ Always respond as elegant, RENDERED markdown blocks — use bold headers, dividers, and clean lists or
17
+ tables so each step renders as a polished UI block. NEVER output flat plain text.
18
+
19
+ STARTUP FLOW (in plain human language — never show tool or field names to the user):
20
+ 1. Ask what they want to prep for (interview or certification), as a clean block.
21
+ 2. After they choose, silently check for saved sessions of that mode. If any exist, ask whether they
22
+ want to continue a saved session (list them by the name the user gave them) or start a new one.
23
+ If none exist, just start a new one.
24
+ 3. Collect the inputs the skill requires, then call start_session.
25
+
26
+ Follow the skill rules returned by start_session exactly. The skill is the source of truth for behavior."""
27
+
28
+ mcp = FastMCP("stackprep-pro", instructions=SERVER_INSTRUCTIONS)
13
29
 
14
30
  SKILLS_DIR = Path(__file__).parent / "skills"
15
31
 
@@ -79,11 +95,13 @@ def start_session(
79
95
  ) -> str:
80
96
  """Start a new stackprep session. Returns a session ID and the skill rules for the AI to follow.
81
97
 
82
- STARTUP FLOW (follow exactly, in plain language — never show tool or field names to the user):
98
+ STARTUP FLOW (follow exactly, in plain language — never show tool or field names to the user).
99
+ Present EVERY step of this flow as elegant RENDERED markdown blocks — use bold headers, dividers,
100
+ and bullet/numbered lists so each question renders as a clean UI block. Never output flat plain text.
83
101
  1. First ask the user, in plain language, what they want to prep for (e.g. "What would you like to prep for?") and let them indicate interview or certification.
84
102
  2. After they choose, check for saved sessions of that mode (call list_sessions silently).
85
103
  - 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.
104
+ and list the saved sessions by the name the user gave them, as a clean markdown list block.
87
105
  - If none exist, just proceed to start a new session.
88
106
  3. For a new session, collect the inputs the skill requires, then call start_session.
89
107
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stackprep-pro
3
- Version: 0.2.7
3
+ Version: 0.2.9
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
@@ -0,0 +1,8 @@
1
+ stackprep_pro/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ stackprep_pro/server.py,sha256=qecA8D2dd2j8a4hQcVCxRGn4anMkFEsYjsHNjr4Vi3Y,17597
3
+ stackprep_pro/skills/certification.md,sha256=m7TdVHPwjAxbgqem0VPnOPjwmACMZoGWZakoNpBcX5M,4966
4
+ stackprep_pro/skills/interview.md,sha256=T-neB4K_9hXlnCfBb0MNxk21V-HBSdUP37Pr7drm3HE,4172
5
+ stackprep_pro-0.2.9.dist-info/METADATA,sha256=t8VMepCfahkOI8JIzcvuKVDoqh12WenAsNV3o75jkiY,7949
6
+ stackprep_pro-0.2.9.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
7
+ stackprep_pro-0.2.9.dist-info/entry_points.txt,sha256=DGlPLlB4ZCqcNBs8PVMfOR8iklxbucEeIFvaECa_XuA,60
8
+ stackprep_pro-0.2.9.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- stackprep_pro/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- stackprep_pro/server.py,sha256=0CHpvKyU6Utgr4MfL1r0j7OtCQ8m2fI3PkdxBuAvJpA,16362
3
- stackprep_pro/skills/certification.md,sha256=m7TdVHPwjAxbgqem0VPnOPjwmACMZoGWZakoNpBcX5M,4966
4
- stackprep_pro/skills/interview.md,sha256=T-neB4K_9hXlnCfBb0MNxk21V-HBSdUP37Pr7drm3HE,4172
5
- stackprep_pro-0.2.7.dist-info/METADATA,sha256=jj95dAx1AuG8Z2Zl33eZFAzOvkA84zKES-8Oh8shD6Q,7949
6
- stackprep_pro-0.2.7.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
7
- stackprep_pro-0.2.7.dist-info/entry_points.txt,sha256=DGlPLlB4ZCqcNBs8PVMfOR8iklxbucEeIFvaECa_XuA,60
8
- stackprep_pro-0.2.7.dist-info/RECORD,,