Skip to content

Commit cd9efdd

Browse files
authored
chore: bump agent-toolkit version to 0.1.3 and add Python publish workflow
1 parent a6d97cd commit cd9efdd

File tree

6 files changed

+37
-6
lines changed

6 files changed

+37
-6
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Publish Agent Toolkit (Python)
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
tags:
7+
- "v*.*.*" # e.g. v1.2.3
8+
9+
jobs:
10+
build-and-upload:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- uses: actions/setup-python@v5
18+
with:
19+
python-version: "3.11" # choose what you like
20+
21+
- name: Install build tools
22+
run: python -m pip install --upgrade build twine
23+
24+
- name: Build wheel & sdist
25+
run: cd python && python -m build # outputs to ./dist
26+
27+
- name: Upload to PyPI
28+
env:
29+
TWINE_USERNAME: __token__
30+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
31+
run: python -m twine upload dist/* --non-interactive

mcp-server/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@trysiren/mcp",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"homepage": "https://github.com/KeyValueSoftwareSystems/siren-agent-toolkit/tree/main/mcp-server",
55
"description": "A command line tool for setting up Siren MCP server",
66
"bin": "dist/index.js",
@@ -25,7 +25,7 @@
2525
},
2626
"dependencies": {
2727
"@modelcontextprotocol/sdk": "^1.4.1",
28-
"@trysiren/agent-toolkit": "^0.1.2",
28+
"@trysiren/agent-toolkit": "^0.1.3",
2929
"colors": "^1.4.0"
3030
},
3131
"keywords": [

typescript/examples/ai-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"dependencies": {
1111
"@ai-sdk/openai": "^1.3.22",
12-
"@trysiren/agent-toolkit": "^0.1.2",
12+
"@trysiren/agent-toolkit": "^0.1.3",
1313
"dotenv": "^16.4.5",
1414
"ai": "^4.0.0"
1515
},

typescript/examples/langchain/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"dev": "tsx --watch index.ts"
99
},
1010
"dependencies": {
11-
"@trysiren/agent-toolkit": "^0.1.2",
11+
"@trysiren/agent-toolkit": "^0.1.3",
1212
"@langchain/core": "^0.1.0",
1313
"@langchain/openai": "^0.0.15",
1414
"dotenv": "^16.4.5",

typescript/examples/openai/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"dev": "tsx --watch index.ts"
99
},
1010
"dependencies": {
11-
"@trysiren/agent-toolkit": "^0.1.2",
11+
"@trysiren/agent-toolkit": "^0.1.3",
1212
"openai": "^4.86.0",
1313
"dotenv": "^16.0.5"
1414
},

typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@trysiren/agent-toolkit",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Agent toolkit for Siren notification platform",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)