stackprep-pro 0.2.1__tar.gz → 0.2.3__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.
@@ -0,0 +1,46 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ environment: pypi
12
+ permissions:
13
+ id-token: write
14
+ contents: write
15
+
16
+ steps:
17
+ - uses: actions/checkout@v5
18
+ with:
19
+ token: ${{ secrets.GITHUB_TOKEN }}
20
+
21
+ - name: Bump patch version in pyproject.toml
22
+ id: version
23
+ run: |
24
+ CURRENT=$(grep '^version' pyproject.toml | sed 's/version = "\(.*\)"/\1/')
25
+ IFS='.' read -r MAJOR MINOR PATCH <<< "$CURRENT"
26
+ NEW="$MAJOR.$MINOR.$((PATCH + 1))"
27
+ sed -i "s/^version = \"$CURRENT\"/version = \"$NEW\"/" pyproject.toml
28
+ echo "VERSION=$NEW" >> $GITHUB_OUTPUT
29
+
30
+ - name: Commit and tag new version
31
+ run: |
32
+ git config user.name "github-actions[bot]"
33
+ git config user.email "github-actions[bot]@users.noreply.github.com"
34
+ git add pyproject.toml
35
+ git commit -m "chore: bump version to ${{ steps.version.outputs.VERSION }}"
36
+ git tag "v${{ steps.version.outputs.VERSION }}"
37
+ git push origin main --follow-tags
38
+
39
+ - name: Install uv
40
+ uses: astral-sh/setup-uv@v8.2.0
41
+
42
+ - name: Build
43
+ run: uv build
44
+
45
+ - name: Publish to PyPI
46
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stackprep-pro
3
- Version: 0.2.1
3
+ Version: 0.2.3
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.1"
3
+ version = "0.2.3"
4
4
  description = "stackprep-pro — interview & certification prep MCP server for any AI client"
5
5
  readme = "README.md"
6
6
  license = { text = "MIT" }
@@ -81,7 +81,7 @@ def start_session(
81
81
 
82
82
  Args:
83
83
  mode: "interview" or "certification"
84
- cert_name: For certification mode — the exam name (e.g. "AWS SAA-C03")
84
+ 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.
85
85
  cv: For interview mode — the user's CV/resume text
86
86
  jd: For interview mode — the job description text
87
87
  extra_topics: Optional comma-separated extra topics to focus on
@@ -213,9 +213,10 @@ def end_session(session_id: str) -> str:
213
213
  "Auto-detected study topics:",
214
214
  topics_list,
215
215
  "",
216
- "Generate a Study Plan now (see skill rules), then ask the user:",
217
- ' "Want to add any extra topics to your study pack before I save it?"',
218
- f"Then call save_study_pack(session_id='{session_id}', name=<chosen name>, content=<generated pack>)",
216
+ "Generate a Study Plan now (see skill rules), then:",
217
+ ' 1. Ask the user: "Want to add any extra topics to your study pack before I save it?"',
218
+ ' 2. Ask the user: "What would you like to name this study pack? (e.g. snowpro-core-week1)"',
219
+ ' 3. Call save_study_pack(session_id=\'{}\', name=<name the user chose>, content=<generated pack>)'.format(session_id),
219
220
  ])
220
221
 
221
222
 
@@ -1,48 +0,0 @@
1
- name: Publish to PyPI
2
-
3
- on:
4
- push:
5
- branches:
6
- - main
7
-
8
- jobs:
9
- publish:
10
- runs-on: ubuntu-latest
11
- environment: pypi
12
- permissions:
13
- id-token: write
14
- contents: write
15
-
16
- steps:
17
- - uses: actions/checkout@v4
18
-
19
- - name: Get version from pyproject.toml
20
- id: version
21
- run: echo "VERSION=$(grep '^version' pyproject.toml | sed 's/version = \"\(.*\)\"/\1/')" >> $GITHUB_OUTPUT
22
-
23
- - name: Check if tag already exists
24
- id: tag_check
25
- run: |
26
- if git ls-remote --tags origin "refs/tags/v${{ steps.version.outputs.VERSION }}" | grep -q .; then
27
- echo "EXISTS=true" >> $GITHUB_OUTPUT
28
- else
29
- echo "EXISTS=false" >> $GITHUB_OUTPUT
30
- fi
31
-
32
- - name: Create and push tag
33
- if: steps.tag_check.outputs.EXISTS == 'false'
34
- run: |
35
- git tag "v${{ steps.version.outputs.VERSION }}"
36
- git push origin "v${{ steps.version.outputs.VERSION }}"
37
-
38
- - name: Install uv
39
- if: steps.tag_check.outputs.EXISTS == 'false'
40
- uses: astral-sh/setup-uv@v4
41
-
42
- - name: Build
43
- if: steps.tag_check.outputs.EXISTS == 'false'
44
- run: uv build
45
-
46
- - name: Publish to PyPI
47
- if: steps.tag_check.outputs.EXISTS == 'false'
48
- uses: pypa/gh-action-pypi-publish@release/v1
File without changes
File without changes
File without changes
File without changes