Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:

- name: Publish platform package
working-directory: dist
run: npm publish --access public
run: npm publish --access public || echo "Version may already exist, continuing..."
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand All @@ -118,7 +118,7 @@ jobs:

- name: Publish
working-directory: crates/capsule-cli/npm
run: npm publish --access public
run: npm publish --access public || echo "Version may already exist, continuing..."
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand All @@ -132,9 +132,15 @@ jobs:
- name: Install Rust
uses: dtolnay/rust-toolchain@stable

- name: Prepare capsule-core for publishing
run: |
cp -r crates/capsule-wit crates/capsule-core/
sed -i 's|../../../../capsule-wit|../../../capsule-wit|g' crates/capsule-core/src/wasm/compiler/mod.rs
sed -i 's|"../capsule-wit"|"./capsule-wit"|g' crates/capsule-core/src/wasm/state.rs

- name: Publish capsule-core
working-directory: crates/capsule-core
run: cargo publish
run: cargo publish || echo "Version may already exist, continuing..."
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

Expand All @@ -143,7 +149,7 @@ jobs:

- name: Publish capsule-run
working-directory: crates/capsule-cli
run: cargo publish
run: cargo publish || echo "Version may already exist, continuing..."
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

Expand All @@ -170,7 +176,7 @@ jobs:

- name: Publish
working-directory: crates/capsule-sdk/javascript
run: npm publish --access public
run: npm publish --access public || echo "Version may already exist, continuing..."
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down
4 changes: 2 additions & 2 deletions crates/capsule-cli/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/capsule-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "capsule-run"
version = "0.2.0"
version = "0.2.1"
edition = "2024"
description = "Secure WASM runtime to isolate and manage AI agent tasks"
license = "Apache-2.0"
Expand Down
10 changes: 5 additions & 5 deletions crates/capsule-cli/npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@capsule-run/cli",
"version": "0.1.0",
"version": "0.2.1",
"description": "Secure WASM runtime to isolate and manage AI agent tasks",
"keywords": [
"webassembly",
Expand All @@ -20,9 +20,9 @@
"node": ">=18"
},
"optionalDependencies": {
"@capsule-run/cli-darwin-arm64": "0.1.0",
"@capsule-run/cli-darwin-x64": "0.1.0",
"@capsule-run/cli-linux-x64": "0.1.0",
"@capsule-run/cli-win32-x64": "0.1.0"
"@capsule-run/cli-darwin-arm64": "0.2.1",
"@capsule-run/cli-darwin-x64": "0.2.1",
"@capsule-run/cli-linux-x64": "0.2.1",
"@capsule-run/cli-win32-x64": "0.2.1"
}
}
2 changes: 1 addition & 1 deletion crates/capsule-cli/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "capsule-run"
version = "0.1.0"
version = "0.2.1"
description = "Secure WASM runtime to isolate and manage AI agent tasks"
license = {text = "Apache-2.0"}
requires-python = ">=3.8"
Expand Down
2 changes: 1 addition & 1 deletion crates/capsule-core/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/capsule-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "capsule-core"
version = "0.2.0"
version = "0.2.1"
edition = "2024"
description = "Core library for Capsule - WASM runtime for AI agent isolation"
license = "Apache-2.0"
Expand Down
6 changes: 3 additions & 3 deletions crates/capsule-sdk/javascript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/capsule-sdk/javascript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@capsule-run/sdk",
"version": "0.1.0",
"version": "0.2.1",
"description": "Capsule JavaScript SDK - run AI agent tasks in secure WASM sandboxes",
"type": "module",
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion crates/capsule-sdk/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "capsule"
version = "0.1.0"
version = "0.2.1"
description = "Capsule Python SDK - run AI agent tasks in secure WASM sandboxes"
readme = "README.md"
requires-python = ">=3.8"
Expand Down
17 changes: 0 additions & 17 deletions examples/python/voice-of-customer/capsule.toml

This file was deleted.