open-index/open-npm huggingface dataset:
npm package: @pioneer-platform/evm-web3-wallets
Description: THORSwap Lib evm-web3-wallets
Author: thorswap
Latest version: 3.0.1

# @pioneer-platform/evm-web3-wallets

## Install

```bash
pnpm add @pioneer-platform/evm-web3-wallets
```
To use the browser extensions you need to [extend core](packages/swapkit/swapkit-core#swapkitcore-api) and install the corresponding package for the chain you want to use.

```ts
import { SwapKitCore } from '@pioneer-platform/swapkit-core';
import { evmWallet } from '@pioneer-platform/evm-web3-wallets';

const client = new SwapKitCore();

client.extend({
  wallets: [
    evmWallet, // MM, Brave, Trust, Coinbase
  ],
});

client.connectEVMWallet(chains, WalletOption.Metamask)
```


| chain            | Metamask | BraveWallet | Walletconnect | Coinbase |  package                                                                          |
| ---------------- | -------- | ----------- | ----------- | -------- |  -------------------------------------------------------------------------------- |
| BTC              | ❌       | ❌          | ❌          | ❌       |  [@pioneer-platform/toolbox-utxo](../toolboxes/toolbox-utxo/README.md)                          |
| LTC              | ❌       | ❌          | ❌          | ❌       |  [@pioneer-platform/toolbox-utxo](../toolboxes/toolbox-utxo/README.md)                          |
| BCH              | ❌       | ❌          | ❌          | ❌       |  [@pioneer-platform/toolbox-utxo](../toolboxes/toolbox-utxo/README.md)                          |
| DOGE             | ❌       | ❌          | ❌          | ❌       |  [@pioneer-platform/toolbox-utxo](../toolboxes/toolbox-utxo/README.md)                          |
| ETH              | ✅       | ✅          | ✅          | ✅       |  [@pioneer-platform/toolbox-evm](../toolboxes/toolbox-evm/README.md)                            |
| AVAX             | ✅       | ✅          | ✅          | ✅       |  [@pioneer-platform/toolbox-evm](../toolboxes/toolbox-evm/README.md)                            |
| BSC              | ✅       | ❌          | ✅          | ❌       |  [@pioneer-platform/toolbox-evm](../toolboxes/toolbox-evm/README.md)                            |
| COSMOS (ATOM)    | ❌       | ❌          | ❌          | ❌       |  [@pioneer-platform/toolbox-cosmos](../toolboxes/toolbox-cosmos/README.md)                      |
| BNB              | ❌       | ❌          | ✅          | ❌       |  [@pioneer-platform/toolbox-cosmos](../toolboxes/toolbox-cosmos/README.md)                      |
| THORCHAIN (RUNE) | ❌       | ❌          | ✅          | ❌       |  [@pioneer-platform/toolbox-cosmos](../toolboxes/toolbox-cosmos/README.md) |

## Links
npm package: @pioneer-platform/keepkey
Description: THORSwap Lib keepkey
Author: thorswap
Latest version: 3.0.1

# @pioneer-platform/keepkey

## Install:

```bash
pnpm add @pioneer-platform/keepkey
```

To use KeepKey-sdk you need to have keepkey desktop installed [get started](https://keepkey.com/get-started)

```ts
import { SwapKitCore } from '@pioneer-platform/swapkit-core';
import { keepkeyWallet } from '@pioneer-platform/trezor';

const client = new SwapKitCore();

client.extend({
  wallets: [keepkeyWallet],
});
```

### Supported chains:

| chain            | status | package                      |
| ---------------- | ------ | ---------------------------- |
| BTC              | ✅     | [@pioneer-platform/toolbox-utxo](../toolbox-utxo/README.md)                          |
| LTC              | ✅     | [@pioneer-platform/toolbox-utxo](../toolbox-utxo/README.md)                          |
| BCH              | ✅     | [@pioneer-platform/toolbox-utxo](../toolbox-utxo/README.md)                          |
| DOGE             | ✅     | [@pioneer-platform/toolbox-utxo](../toolbox-utxo/README.md)                          |
| ETH              | ✅     | [@pioneer-platform/toolbox-evm](../toolbox-evm/README.md)                            |
| AVAX             | ✅     | [@pioneer-platform/toolbox-evm](../toolbox-evm/README.md)                            |
| BSC              | ✅     | [@pioneer-platform/toolbox-evm](../toolbox-evm/README.md)                            |
| COSMOS (ATOM)    | ✅     | [@pioneer-platform/toolbox-cosmos](../toolbox-cosmos/README.md)                      |
| BNB              | ✅     | [@pioneer-platform/toolbox-cosmos](../toolbox-cosmos/README.md)                      |
| THORCHAIN (RUNE) | ✅     | [@pioneer-platform/toolbox-cosmos](../toolbox-cosmos/README.md) cosmos-client@0.39.2 |

## Links:

[Playground & Docs](https://github.com/BitHighlander/keepkey-template)
npm package: @pioneer-platform/keplr
Description: THORSwap Lib keplr
Author: thorswap
Latest version: 3.0.1

# @pioneer-platform/keplr

## Install

```bash
pnpm add @pioneer-platform/keplr
```

To use the browser extensions you need to [extend core](packages/swapkit/swapkit-core#swapkitcore-api) and install the corresponding package for the chain you want to use.

```ts
import { SwapKitCore } from '@pioneer-platform/swapkit-core';
import { keplrWallet } from '@pioneer-platform/keplr';

const client = new SwapKitCore();

client.extend({
  wallets: [keplrWallet],
});
```

| chain            | Keplr | package                                                                                    |
| ---------------- | ----- | ------------------------------------------------------------------------------------------ |
| BTC              | ❌    | [@pioneer-platform/toolbox-utxo](../toolboxes/toolbox-utxo/README.md)                          |
| LTC              | ❌    | [@pioneer-platform/toolbox-utxo](../toolboxes/toolbox-utxo/README.md)                          |
| BCH              | ❌    | [@pioneer-platform/toolbox-utxo](../toolboxes/toolbox-utxo/README.md)                          |
| DOGE             | ❌    | [@pioneer-platform/toolbox-utxo](../toolboxes/toolbox-utxo/README.md)                          |
| ETH              | ❌    | [@pioneer-platform/toolbox-evm](../toolboxes/toolbox-evm/README.md)                            |
| AVAX             | ❌    | [@pioneer-platform/toolbox-evm](../toolboxes/toolbox-evm/README.md)                            |
| BSC              | ❌    | [@pioneer-platform/toolbox-evm](../toolboxes/toolbox-evm/README.md)                            |
| COSMOS (ATOM)    | ✅    | [@pioneer-platform/toolbox-cosmos](../toolboxes/toolbox-cosmos/README.md)                      |
| BNB              | ❌    | [@pioneer-platform/toolbox-cosmos](../toolboxes/toolbox-cosmos/README.md)                      |
| THORCHAIN (RUNE) | ❌    | [@pioneer-platform/toolbox-cosmos](../toolboxes/toolbox-cosmos/README.md) |

## Links
npm package: @pioneer-platform/keystore
Description: THORSwap Lib keystore
Author: thorswap
Latest version: 3.0.1

# @pioneer-platform/keystore

## Install:

```bash
pnpm add @pioneer-platform/keystore
```

To use the keystore you need to [extend core](packages/swapkit/swapkit-core#swapkitcore-api) with `keystoreWallet` and install the corresponding package for the chain you want to use.

```ts
import { SwapKitCore } from '@pioneer-platform/swapkit-core';
import { keystoreWallet } from '@pioneer-platform/keystore';

const client = new SwapKitCore();

client.extend({
  wallets: [keystoreWallet],
});
```

### Supported chains:

| chain            | status | package                                                               |
| ---------------- | ------ | --------------------------------------------------------------------- |
| BTC              | ✅     | [@pioneer-platform/toolbox-utxo](../toolboxes/toolbox-utxo/README.md)     |
| LTC              | ✅     | [@pioneer-platform/toolbox-utxo](../toolboxes/toolbox-utxo/README.md)     |
| BCH              | ✅     | [@pioneer-platform/toolbox-utxo](../toolboxes/toolbox-utxo/README.md)     |
| DOGE             | ✅     | [@pioneer-platform/toolbox-utxo](../toolboxes/toolbox-utxo/README.md)     |
| ETH              | ✅     | [@pioneer-platform/toolbox-evm](../toolboxes/toolbox-evm/README.md)       |
| AVAX             | ✅     | [@pioneer-platform/toolbox-evm](../toolboxes/toolbox-evm/README.md)       |
| BSC              | ✅     | [@pioneer-platform/toolbox-evm](../toolboxes/toolbox-evm/README.md)       |
| COSMOS (ATOM)    | ✅     | [@pioneer-platform/toolbox-cosmos](../toolboxes/toolbox-cosmos/README.md) |
| BNB              | ✅     | [@pioneer-platform/toolbox-cosmos](../toolboxes/toolbox-cosmos/README.md) |
| THORCHAIN (RUNE) | ✅     | [@pioneer-platform/toolbox-cosmos](../toolboxes/toolbox-cosmos/README.md) |
npm package: @pioneer-platform/ledger
Description: THORSwap Lib ledger
Author: thorswap
Latest version: 3.0.1

# @pioneer-platform/ledger

## Install:

```bash
pnpm add @pioneer-platform/ledger
```

To use the ledger you need to [extend core](packages/swapkit/swapkit-core#swapkitcore-api) with `ledgerWallet` and install the corresponding package for the chain you want to use.

```ts
import { SwapKitCore } from '@pioneer-platform/swapkit-core';
import { ledgerWallet } from '@pioneer-platform/ledger';

const client = new SwapKitCore();

client.extend({
  wallets: [ledgerWallet],
});
```

### Supported chains:

| chain            | status | package                                                                                    |
| ---------------- | ------ | ------------------------------------------------------------------------------------------ |
| BTC              | ✅     | [@pioneer-platform/toolbox-utxo](../toolboxes/toolbox-utxo/README.md)                          |
| LTC              | ✅     | [@pioneer-platform/toolbox-utxo](../toolboxes/toolbox-utxo/README.md)                          |
| BCH              | ✅     | [@pioneer-platform/toolbox-utxo](../toolboxes/toolbox-utxo/README.md)                          |
| DOGE             | ✅     | [@pioneer-platform/toolbox-utxo](../toolboxes/toolbox-utxo/README.md)                          |
| ETH              | ✅     | [@pioneer-platform/toolbox-evm](../toolboxes/toolbox-evm/README.md)                            |
| AVAX             | ✅     | [@pioneer-platform/toolbox-evm](../toolboxes/toolbox-evm/README.md)                            |
| BSC              | ✅     | [@pioneer-platform/toolbox-evm](../toolboxes/toolbox-evm/README.md)                            |
| COSMOS (ATOM)    | ✅     | [@pioneer-platform/toolbox-cosmos](../toolboxes/toolbox-cosmos/README.md)                      |
| BNB              | ✅     | [@pioneer-platform/toolbox-cosmos](../toolboxes/toolbox-cosmos/README.md)                      |
| THORCHAIN (RUNE) | ✅     | [@pioneer-platform/toolbox-cosmos](../toolboxes/toolbox-cosmos/README.md) |

## Links:
npm package: @pioneer-platform/metamask
Description: THORSwap Lib metamask
Author: thorswap
Latest version: 3.0.1

# @pioneer-platform/keepkey

## Install:

```bash
pnpm add @pioneer-platform/keepkey
```

To use KeepKey-sdk you need to have keepkey desktop installed [get started](https://keepkey.com/get-started)

```ts
import { SwapKitCore } from '@pioneer-platform/swapkit-core';
import { keepkeyWallet } from '@pioneer-platform/trezor';

const client = new SwapKitCore();

client.extend({
  wallets: [keepkeyWallet],
});
```

### Supported chains:

| chain            | status | package                      |
| ---------------- | ------ | ---------------------------- |
| BTC              | ✅     | [@pioneer-platform/toolbox-utxo](../toolbox-utxo/README.md)                          |
| LTC              | ✅     | [@pioneer-platform/toolbox-utxo](../toolbox-utxo/README.md)                          |
| BCH              | ✅     | [@pioneer-platform/toolbox-utxo](../toolbox-utxo/README.md)                          |
| DOGE             | ✅     | [@pioneer-platform/toolbox-utxo](../toolbox-utxo/README.md)                          |
| ETH              | ✅     | [@pioneer-platform/toolbox-evm](../toolbox-evm/README.md)                            |
| AVAX             | ✅     | [@pioneer-platform/toolbox-evm](../toolbox-evm/README.md)                            |
| BSC              | ✅     | [@pioneer-platform/toolbox-evm](../toolbox-evm/README.md)                            |
| COSMOS (ATOM)    | ✅     | [@pioneer-platform/toolbox-cosmos](../toolbox-cosmos/README.md)                      |
| BNB              | ✅     | [@pioneer-platform/toolbox-cosmos](../toolbox-cosmos/README.md)                      |
| THORCHAIN (RUNE) | ✅     | [@pioneer-platform/toolbox-cosmos](../toolbox-cosmos/README.md) cosmos-client@0.39.2 |

## Links:

[Playground & Docs](https://github.com/BitHighlander/keepkey-template)
npm package: @pioneer-platform/mongo-atlas
Description: Modern MongoDB Atlas connection manager for Pioneer platform
Author: Pioneer Team
Latest version: 1.8.0

# MongoDB Atlas Connection Manager

A modern, robust connection manager for MongoDB Atlas specifically designed for the Pioneer platform.

## Features

- Proper connection pooling and reuse
- Support for MongoDB Atlas connection strings
- Automatic reconnection
- Connection caching
- Monk-like API for backward compatibility
- MongoDB native driver for optimal performance

## Usage

```javascript
const mongo = require('@pioneer-platform/mongo-atlas');

// Get a collection from a specific database
async function getTickets() {
  const ticketsCollection = await mongo.get('tickets', 'support');
  return ticketsCollection.find({ status: 'open' });
}

// Use the MongoDB native collection
async function advancedQuery() {
  const collection = await mongo.get('users', 'admin');
  return collection.collection.aggregate([
    { $match: { active: true } },
    { $group: { _id: '$role', count: { $sum: 1 } } }
  ]).toArray();
}
```

## Environment Variables

- `MONGO_CONNECTION`: MongoDB connection string (required)
- `MONGO_DEFAULT_DB`: Default database name (optional, defaults to 'pioneer')

## Installation

```bash
npm install @pioneer-platform/mongo-atlas
```

## Migrating from @pioneer-platform/default-mongo

### Before:
```javascript
const connection = require('@pioneer-platform/default-mongo');
const ticketsDb = connection.get('tickets');

// Using ticketsDb
const tickets = await ticketsDb.find({ status: 'open' });
```

### After:
```javascript
const mongo = require('@pioneer-platform/mongo-atlas');

// Make sure to await the get method as it's now async
const ticketsDb = await mongo.get('tickets', 'support');

// The same methods are available
const tickets = await ticketsDb.find({ status: 'open' });
```

## License

MIT
npm package: @pioneer-platform/pioneer-cli
Description: AI coding assistant CLI agent with MCP and A2A support
Author: Pioneer Platform
Latest version: 1.0.41

# Pioneer CLI

A TypeScript-based CLI agent for long-running AI processes with Qwen code-style UX.

## Features

- 🎨 Beautiful ASCII art banner
- 💬 Interactive chat interface with real AI
- 🔗 Connects to pioneer-server for LLM inference
- 📍 Context-aware (shows current directory)
- 🔄 Conversation history management
- ⚡ Built with TypeScript

## Quick Start

### 1. Install dependencies

```bash
cd apps/pioneer-cli
npm install
```

### 2. Configure environment

```bash
cp .env.example .env
```

Edit `.env`:
```bash
PIONEER_URL=http://127.0.0.1:9101
```

### 3. Make sure pioneer-server is running

See [pioneer-server README](../pioneer-server/README.md) for setup.

### 4. Start the CLI

```bash
npm start
```

Or with hot reload:

```bash
npm run dev
```

## Usage

### Interactive Mode

Simply run `npm start` and start typing your requests. The AI will respond via pioneer-server.

### Commands

- `/help` - Show available commands
- `/status` - Display agent status (mode, context, conversation count, server)
- `/clear` - Clear the screen
- `/reset` - Clear conversation history
- `/quit` or `/exit` - Exit the CLI

### Example Session

```
❯ help me refactor this authentication code
◆ Pioneer: I'd be happy to help you refactor your authentication code. Let me analyze...

❯ /status
📊 Pioneer Agent Status:
  Mode: Light Mode
  Context: /Users/you/project
  Conversations: 1
  Server: http://127.0.0.1:9101
  Model: gpt-4-turbo-preview
  MCP Server: Not implemented
  Sub-agents: 0 spawned
```

## Architecture

```
pioneer-cli (TypeScript)
  ├── src/
  │   ├── index.ts      # Main CLI interface
  │   ├── agent.ts      # Agent that talks to pioneer-server
  │   ├── config.ts     # Configuration and .env handling
  │   └── colors.ts     # Terminal color constants
  └── dist/             # Compiled JavaScript
```

**Built with:**
- TypeScript for type safety
- Node.js native `readline` for input handling
- `dotenv` for environment configuration
- `fetch` API for HTTP requests to pioneer-server
- ANSI color codes for terminal styling
- Typewriter effect for AI responses

## Configuration

### Environment Variables

- `PIONEER_URL` - URL of pioneer-server (default: `http://127.0.0.1:9101`)
- `MODEL` - Override default model (optional)

### Hard-coded Defaults

If no `.env` file is present, the CLI will use:
- `PIONEER_URL`: `http://127.0.0.1:9101`
- `MODEL`: `gpt-4-turbo-preview`

This allows users who just install pioneer-cli to get started quickly with sensible defaults.

## Development

### Build

```bash
npm run build
```

### Run

```bash
npm start
```

### Watch mode

```bash
npm run dev
```

## Next Steps

- [ ] Implement MCP server integration
- [ ] Add sub-agent spawning
- [ ] Connect to pioneer-desktop
- [ ] Add agent-to-agent communication
- [ ] Stream responses from server
- [ ] Add context file loading (@file syntax)