Skip to content

Commit 7247573

Browse files
bojielicursoragent
andcommitted
Prepare open-source release: update URLs, abstract payment fields, enable provenance
- Update project URLs to 19PINE-AI/pine-assistant-python - Update RELEASING.md and CHANGELOG.md GitHub references - Rename stripe-specific payment model fields to generic names - Enable PyPI attestations in publish workflow - Bump version to 0.1.1 Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent ad2c8bb commit 7247573

6 files changed

Lines changed: 12 additions & 10 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ jobs:
2929

3030
- name: Publish to PyPI
3131
uses: pypa/gh-action-pypi-publish@release/v1
32+
with:
33+
attestations: true

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ project adheres to [Semantic Versioning](https://semver.org/).
2222
- Full type annotations with `py.typed` marker
2323
- Integration test suite
2424

25-
[0.1.0]: https://github.com/pineai/pine-python/releases/tag/v0.1.0
25+
[0.1.0]: https://github.com/19PINE-AI/pine-assistant-python/releases/tag/v0.1.0

RELEASING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ This package uses **PyPI trusted publishing** (OIDC) — no PyPI tokens are stor
88

99
1. Go to <https://pypi.org/manage/project/pine-assistant/settings/publishing/> (or add a **pending publisher** at <https://pypi.org/manage/account/publishing/> if the project doesn't exist on PyPI yet).
1010
2. Under **Add a new publisher**, fill in:
11-
- **Owner:** `pineai`
12-
- **Repository:** `pine-python`
11+
- **Owner:** `19PINE-AI`
12+
- **Repository:** `pine-assistant-python`
1313
- **Workflow name:** `publish.yml`
1414
3. Save.
1515

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "pine-assistant"
7-
version = "0.1.0"
7+
version = "0.1.1"
88
description = "Pine AI SDK — Let Pine AI handle your digital chores. Socket.IO + REST client."
99
readme = "README.md"
1010
license = "MIT"
@@ -33,9 +33,9 @@ cli = ["click>=8.1.0", "rich>=13.0.0"]
3333
dev = ["pytest>=7.0", "pytest-asyncio>=0.23.0", "ruff>=0.4.0"]
3434

3535
[project.urls]
36-
Homepage = "https://github.com/pineai/pine-python"
37-
Repository = "https://github.com/pineai/pine-python"
38-
Issues = "https://github.com/pineai/pine-python/issues"
36+
Homepage = "https://github.com/19PINE-AI/pine-assistant-python"
37+
Repository = "https://github.com/19PINE-AI/pine-assistant-python"
38+
Issues = "https://github.com/19PINE-AI/pine-assistant-python/issues"
3939

4040
[project.scripts]
4141
pine = "pine_assistant.cli.main:main"

src/pine_assistant/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from pine_assistant.errors import PineAIError, AuthError, SessionError, ConnectionError
1212
from pine_assistant.models.events import C2SEvent, S2CEvent, NotificationEvent
1313

14-
__version__ = "0.1.0"
14+
__version__ = "0.1.1"
1515
__all__ = [
1616
"PineAI",
1717
"AsyncPineAI",

src/pine_assistant/models/payment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ class RewardData(BaseModel):
2424
fixed_charge_amount_min: Optional[float] = None
2525
fixed_charge_amount_tips: Optional[list[float]] = None
2626
status: Optional[str] = None
27-
stripe_intent_id: Optional[str] = None
28-
stripe_client_secret: Optional[str] = None
27+
payment_intent_id: Optional[str] = None
28+
payment_client_secret: Optional[str] = None
2929
coupon_id: Optional[str] = None
3030
coupon_amount: Optional[float] = None
3131
reject_status: Optional[str] = None

0 commit comments

Comments
 (0)