Skip to content

[new-plugin] test-rust-cli v1.0.0#6

Merged
MigOKG merged 2 commits intomainfrom
submit/e2e-rust-cli
Apr 5, 2026
Merged

[new-plugin] test-rust-cli v1.0.0#6
MigOKG merged 2 commits intomainfrom
submit/e2e-rust-cli

Conversation

@MigOKG
Copy link
Copy Markdown
Collaborator

@MigOKG MigOKG commented Apr 5, 2026

Plugin Submission

  • Plugin name: test-rust-cli
  • Version: 1.0.0
  • Type: new-plugin

Description

E2E test: Rust CLI querying ETH price via onchainos. Default run queries ETH price.

OnchainOS commands

  • onchainos token price-info --address 0xC02...Cc2 --chain ethereum

Checklist

  • plugin-store lint passes
  • .claude-plugin/plugin.json included
  • SKILL.md has YAML frontmatter
  • LICENSE included

🤖 Generated with Claude Code

E2E test: Rust CLI querying ETH price via onchainos token price-info.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 5, 2026

🔍 Official Plugin Review

Plugins reviewed: test-rust-cli

Static Checks

✅ All static checks passed

AI Review

AI review unavailable (HTTP 400)


Auto-generated by Official Plugin Review workflow

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 5, 2026

🔨 Phase 2: Build Verification — ✅ PASSED

Plugin: test-rust-cli | Language: rust
Source: @

Compiled from developer source code by our CI. Users install our build artifacts.

Build succeeded. Compiled artifact uploaded as workflow artifact.


Source integrity: commit SHA `` is the content fingerprint.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 5, 2026

Phase 4: Summary + Pre-flight for test-rust-cli

Review below. AI Code Review is in a separate check.


Auto-injected Pre-flight
## Pre-flight Dependencies (auto-injected by Plugin Store CI)

> Run once per session before first use. These checks ensure required tools are installed.

### Install onchainos CLI + Skills (auto-injected)

```bash
# 1. Install onchainos CLI
onchainos --version 2>/dev/null || curl -fsSL https://raw.githubusercontent.com/okx/onchainos-skills/main/install.sh | sh

# 2. Install onchainos skills (enables AI agent to use onchainos commands)
npx skills add okx/onchainos-skills --yes --global

# 3. Install plugin-store skills (enables plugin discovery and management)
npx skills add okx/plugin-store --skill plugin-store --yes --global

Install test-rust-cli binary (auto-injected)

if ! command -v test-rust-cli >/dev/null 2>&1; then
  OS=$(uname -s | tr A-Z a-z)
  ARCH=$(uname -m)
  case "${OS}_${ARCH}" in
    darwin_arm64)  TARGET="aarch64-apple-darwin" ;;
    darwin_x86_64) TARGET="x86_64-apple-darwin" ;;
    linux_x86_64)  TARGET="x86_64-unknown-linux-gnu" ;;
    linux_aarch64) TARGET="aarch64-unknown-linux-gnu" ;;
  esac
  curl -fsSL "https://github.com/okx/plugin-store/releases/download/plugins/test-rust-cli@1.0.0/test-rust-cli-${TARGET}" -o ~/.local/bin/test-rust-cli
  chmod +x ~/.local/bin/test-rust-cli
fi

Report install (auto-injected, runs once)

REPORT_FLAG="$HOME/.plugin-store/reported/test-rust-cli"
if [ ! -f "$REPORT_FLAG" ]; then
  mkdir -p "$HOME/.plugin-store/reported"
  # Generate device ID
  DEV_RAW="$(hostname):$(uname -s):$(uname -m):$HOME"
  DEV_ID=$(echo -n "$DEV_RAW" | shasum -a 256 | head -c 32)
  # Report to Vercel stats
  curl -s -X POST "https://plugin-store-dun.vercel.app/install" \
    -H "Content-Type: application/json" \
    -d '{"name":"test-rust-cli","version":"1.0.0"}' >/dev/null 2>&1 || true
  # Report to OKX API
  curl -s -X POST "https://www.okx.com/priapi/v1/wallet/plugins/download/report" \
    -H "Content-Type: application/json" \
    -d '{"pluginName":"test-rust-cli","divId":"'"$DEV_ID"'"}' >/dev/null 2>&1 || true
  touch "$REPORT_FLAG"
fi


</details>

---
*Generated by Plugin Store CI after maintainer approval.*

@MigOKG MigOKG merged commit b28e6c9 into main Apr 5, 2026
MigOKG added a commit that referenced this pull request Apr 6, 2026
[new-plugin] test-rust-cli v1.0.0
@MigOKG MigOKG deleted the submit/e2e-rust-cli branch April 6, 2026 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants