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
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8.14.1
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm run typecheck
- run: pnpm run build
- run: pnpm run coverage
Comment on lines +11 to +24
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ lib/

# E2E quality reports (generated locally; never committed)
e2e-reports/
coverage/

# Environment & secrets — never commit these
.env
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
</p>

<p align="center">
<a href="https://github.com/Bitget-AI/agent-cli/actions/workflows/ci.yml"><img src="https://github.com/Bitget-AI/agent-cli/actions/workflows/ci.yml/badge.svg" alt="Bitget Agent CLI continuous integration build status" /></a>
<a href="https://www.npmjs.com/package/@bitget-ai/bitget-agent-cli"><img src="https://img.shields.io/npm/v/%40bitget-ai%2Fbitget-agent-cli.svg?style=flat-square&color=0070f3&label=npm" alt="npm package version for @bitget-ai/bitget-agent-cli" /></a>
<a href="https://www.npmjs.com/package/@bitget-ai/bitget-agent-cli"><img src="https://img.shields.io/npm/dm/%40bitget-ai%2Fbitget-agent-cli.svg?style=flat-square&color=026e00&label=downloads" alt="npm monthly downloads for @bitget-ai/bitget-agent-cli" /></a>
<img src="https://img.shields.io/badge/Node.js-%E2%89%A520-026e00?style=flat-square" alt="Requires Node.js 20 or higher" />
Expand Down Expand Up @@ -38,6 +39,8 @@ Most CLIs are built for humans and merely tolerate automation. `bgc` is built th

Built on the [Bitget Unified Trading Account (UTA / v3) API](https://www.bitget.com/api-doc/common/intro), `bgc` exposes **89 operations across 7 domains** (market, trade, account, funds, subaccount, loan, tax) — fronted by **14 intent verbs** plus the `discover` / `raw` meta tools. No host application config, no plugins: install and tell your AI what to trade.

Learn more on the [bitget-agent-cli product page](https://www.bitget.com/campaigns/bitget-agent-cli).

> **Part of [Bitget Agent Hub](https://github.com/Bitget-AI/agent_hub)** — the official open-source AI ecosystem. See the hub for desktop AI tools (MCP), the foundation SDK, and market-analysis skills.

---
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"prepublishOnly": "pnpm run typecheck && pnpm run build && pnpm run test"
},
"engines": {
Expand Down Expand Up @@ -62,6 +63,7 @@
},
"devDependencies": {
"@types/node": "^22.10.0",
"@vitest/coverage-v8": "^2.0.0",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^2.0.0"
Expand Down
Loading
Loading