Skip to content

Commit 2f91904

Browse files
committed
chore(release): prepare v1.0.0 packages and publishing
1 parent 24b1633 commit 2f91904

14 files changed

Lines changed: 52 additions & 59 deletions

File tree

.github/workflows/publish.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ jobs:
8383
cd packages/integrations/vercel-ai
8484
pnpm build
8585
86+
- name: Build @cascadeflow/paygentic
87+
run: |
88+
cd packages/integrations/paygentic
89+
pnpm build
90+
8691
- name: Store @cascadeflow/core package
8792
uses: actions/upload-artifact@v4
8893
with:
@@ -113,6 +118,12 @@ jobs:
113118
name: npm-cascadeflow-vercel-ai
114119
path: packages/integrations/vercel-ai/
115120

121+
- name: Store @cascadeflow/paygentic package
122+
uses: actions/upload-artifact@v4
123+
with:
124+
name: npm-cascadeflow-paygentic
125+
path: packages/integrations/paygentic/
126+
116127
publish-to-pypi:
117128
name: Publish to PyPI
118129
needs: build-python
@@ -178,6 +189,12 @@ jobs:
178189
name: npm-cascadeflow-vercel-ai
179190
path: packages/integrations/vercel-ai/
180191

192+
- name: Download @cascadeflow/paygentic
193+
uses: actions/download-artifact@v4
194+
with:
195+
name: npm-cascadeflow-paygentic
196+
path: packages/integrations/paygentic/
197+
181198
- name: Setup pnpm
182199
uses: pnpm/action-setup@v2
183200
with:
@@ -269,6 +286,21 @@ jobs:
269286
env:
270287
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
271288

289+
- name: Publish @cascadeflow/paygentic
290+
run: |
291+
set -euo pipefail
292+
cd packages/integrations/paygentic
293+
PACKAGE_NAME=$(node -p "require('./package.json').name")
294+
PACKAGE_VERSION=$(node -p "require('./package.json').version")
295+
if npm view "${PACKAGE_NAME}@${PACKAGE_VERSION}" version > /dev/null 2>&1; then
296+
echo "${PACKAGE_NAME}@${PACKAGE_VERSION} already exists on npm, skipping."
297+
exit 0
298+
fi
299+
TARBALL=$(pnpm pack --pack-destination .)
300+
npm publish "$TARBALL" --access public --provenance
301+
env:
302+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
303+
272304
publish-to-testpypi:
273305
name: Publish to TestPyPI
274306
needs: build-python

cascadeflow/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
>>> print(f"Used {result.model_used} - Cost: ${result.cost:.6f}")
2828
"""
2929

30-
__version__ = "0.7.1"
30+
__version__ = "1.0.0"
3131
__author__ = "Sascha Buehrle"
3232
__license__ = "MIT"
3333

examples/vercel-ai-nextjs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
},
1111
"dependencies": {
1212
"@ai-sdk/react": "^3.0.0",
13-
"@cascadeflow/core": "^0.7.2",
14-
"@cascadeflow/vercel-ai": "^0.7.6",
13+
"@cascadeflow/core": "^1.0.0",
14+
"@cascadeflow/vercel-ai": "^1.0.0",
1515
"ai": "^6.0.0",
1616
"next": "^16.1.6",
1717
"react": "^19.0.0",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cascadeflow-monorepo",
3-
"version": "0.1.0",
3+
"version": "1.0.0",
44
"private": true,
55
"description": "cascadeflow monorepo - Python and TypeScript libraries",
66
"author": {

packages/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cascadeflow/core",
3-
"version": "0.7.3",
3+
"version": "1.0.0",
44
"description": "cascadeflow TypeScript library - Smart AI model cascading for cost optimization",
55
"author": {
66
"name": "Lemony Inc.",
@@ -57,7 +57,7 @@
5757
"edge-functions"
5858
],
5959
"dependencies": {
60-
"@cascadeflow/ml": "^0.7.0"
60+
"@cascadeflow/ml": "^1.0.0"
6161
},
6262
"peerDependencies": {
6363
"@anthropic-ai/sdk": "^0.30.0",

packages/core/src/integrations/otel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ export class OpenTelemetryExporter {
278278
metrics.setGlobalMeterProvider(provider);
279279

280280
// Get meter for this library
281-
this.meter = metrics.getMeter('cascadeflow', '0.7.0');
281+
this.meter = metrics.getMeter('cascadeflow', '1.0.0');
282282

283283
// Create metrics
284284
this.metrics = {

packages/integrations/n8n/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ Make sure you've connected an AI Chat Model to the **Verifier** input port.
434434

435435
## Version History
436436

437-
### v0.7.9 (Latest)
437+
### v1.0.0 (Latest)
438438

439439
- **CascadeFlow Agent → standalone node**: Converted from `supplyData()` sub-node to `execute()` node with main in/out
440440
- **Memory support**: Added `ai_memory` input for conversation history (Window Buffer Memory, etc.)

packages/integrations/n8n/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cascadeflow/n8n-nodes-cascadeflow",
3-
"version": "0.7.9",
3+
"version": "1.0.0",
44
"description": "n8n node for cascadeflow - Smart AI model cascading with 40-85% cost savings",
55
"keywords": [
66
"n8n-community-node-package",
@@ -62,6 +62,6 @@
6262
},
6363
"dependencies": {
6464
"@langchain/core": "^1.1.0",
65-
"@cascadeflow/core": "^0.6.0"
65+
"@cascadeflow/core": "^1.0.0"
6666
}
6767
}

packages/integrations/paygentic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cascadeflow/paygentic",
3-
"version": "0.7.2",
3+
"version": "1.0.0",
44
"description": "Optional Paygentic billing integration for cascadeflow (usage events, customer/subscription helpers)",
55
"author": {
66
"name": "Lemony Inc.",

packages/integrations/vercel-ai/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cascadeflow/vercel-ai",
3-
"version": "0.7.7",
3+
"version": "1.0.0",
44
"description": "cascadeflow integration for the Vercel AI SDK (useChat handlers + provider ecosystem)",
55
"author": {
66
"name": "Lemony Inc.",

0 commit comments

Comments
 (0)