stackprep-pro 0.2.3__tar.gz → 0.2.4__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,51 @@
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
+
19
+ - name: Get version from pyproject.toml
20
+ id: version
21
+ run: |
22
+ echo "VERSION=$(grep '^version' pyproject.toml | sed 's/version = "\(.*\)"/\1/')" >> $GITHUB_OUTPUT
23
+
24
+ - name: Check if tag already exists
25
+ id: tag_check
26
+ run: |
27
+ if git ls-remote --tags origin "refs/tags/v${{ steps.version.outputs.VERSION }}" | grep -q .; then
28
+ echo "EXISTS=true" >> $GITHUB_OUTPUT
29
+ else
30
+ echo "EXISTS=false" >> $GITHUB_OUTPUT
31
+ fi
32
+
33
+ - name: Tag version
34
+ if: steps.tag_check.outputs.EXISTS == 'false'
35
+ run: |
36
+ git config user.name "github-actions[bot]"
37
+ git config user.email "github-actions[bot]@users.noreply.github.com"
38
+ git tag "v${{ steps.version.outputs.VERSION }}"
39
+ git push origin "v${{ steps.version.outputs.VERSION }}"
40
+
41
+ - name: Install uv
42
+ if: steps.tag_check.outputs.EXISTS == 'false'
43
+ uses: astral-sh/setup-uv@v8.2.0
44
+
45
+ - name: Build
46
+ if: steps.tag_check.outputs.EXISTS == 'false'
47
+ run: uv build
48
+
49
+ - name: Publish to PyPI
50
+ if: steps.tag_check.outputs.EXISTS == 'false'
51
+ 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.3
3
+ Version: 0.2.4
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.3"
3
+ version = "0.2.4"
4
4
  description = "stackprep-pro — interview & certification prep MCP server for any AI client"
5
5
  readme = "README.md"
6
6
  license = { text = "MIT" }
@@ -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.
@@ -723,7 +723,7 @@ wheels = [
723
723
 
724
724
  [[package]]
725
725
  name = "stackprep-pro"
726
- version = "0.2.1"
726
+ version = "0.2.4"
727
727
  source = { editable = "." }
728
728
  dependencies = [
729
729
  { name = "mcp", extra = ["cli"] },
@@ -1,46 +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@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
File without changes
File without changes
File without changes