mvp-ai/skill-base / github.com /0xnyk /xint /.github /workflows /capability-contract.yml
mvp-ai's picture
download
raw
1.53 kB
name: Capability Contract
on:
workflow_dispatch:
permissions:
contents: read
jobs:
parity:
runs-on: ubuntu-latest
steps:
- name: Checkout xint
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- name: Checkout xint-rs
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
repository: 0xNyk/xint-rs
path: xint-rs
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
- name: Setup Rust
uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30 # stable
- name: Install xint deps
run: bun install --frozen-lockfile
- name: Generate manifests
run: |
bun run xint.ts capabilities --compact > /tmp/xint-ts-capabilities.json
cargo run --manifest-path xint-rs/Cargo.toml -- capabilities --compact > /tmp/xint-rs-capabilities.json
- name: Check contract parity
run: bun scripts/check-capability-contract.mjs /tmp/xint-ts-capabilities.json /tmp/xint-rs-capabilities.json
- name: Run MCP envelope contract tests (TypeScript)
run: bun test lib/mcp-envelope-contract.test.ts
- name: Run MCP envelope contract tests (Rust)
run: |
cargo test --manifest-path xint-rs/Cargo.toml mcp::costs_tool_returns_success_payload_without_network
cargo test --manifest-path xint-rs/Cargo.toml mcp::cache_clear_tool_returns_success_payload

Xet Storage Details

Size:
1.53 kB
·
Xet hash:
9dca37ae337826ce9b4f49ebb21d3bdd178f7aff469a8d6c47c12dcb787cb70a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.