open-index/open-npm huggingface dataset:
npm package: @magicapply/retool-typebox-client
Description: Minimal TypeBox client for Retool Workflows with compile-time autocompletion
Latest version: 2.0.27

# `@magicapply/retool-typebox-client`

A minimal TypeBox client for Retool Workflows with compile-time autocompletion.

This package implements the two-block workflow described in the docs. Block 1
fetches remote TypeMap syntax and compiles it into JSON Schema; Block 2 consumes
the plain payload object to provide fully typed validation helpers.

## Installation

```bash
npm install @magicapply/retool-typebox-client
```

## Block 1: `fetchAndBuild`

```javascript
const { fetchAndBuildPayload } = require('@magicapply/retool-typebox-client');

// Replace with your schema registry URL
const SCHEMA_REGISTRY_URL = 'https://example.com/api/schemas';

return await fetchAndBuildPayload(SCHEMA_REGISTRY_URL);
```

## Block 2: `runValidation`

```javascript
// @ts-check
const { createClient } = require('@magicapply/retool-typebox-client');

const payload = /** @type {const} */ (fetchAndBuild.data);
const client = createClient(payload);

// Example
client.assert('example.onboard.user', { id: '1', name: 'Jane', email: 'a@b.c' });
```

See `AGENTS.md` for an overview of the project and `AI-CONTEXT.md` for more
details on the two-block workflow.
npm package: @magicbell/support-widget
Description: The support widget used on the marketing site, docs site, and in app.
Author: Stephan Meijer
Latest version: 1.0.2

# Support Widget

The support widget used on the marketing site, docs site, and in app.

```jsx
import { SupportWidget } from '@magicbell/support-widget';
import 'botz/styles.css';

function Layout() {
  return (
    <div>
      <SupportWidget />
    </div>
  );
}
```
npm package: @magicblock-console/cli
Description: CLI for MagicBlock Ephemeral Rollups — manage projects, delegate accounts, monitor costs
Author: shipooor
Latest version: 0.1.7

# @magicblock-console/cli

CLI for managing [MagicBlock Ephemeral Rollups](https://www.magicblock.gg/) on Solana. Full control over ER lifecycle, features, and monitoring from the terminal.

## Installation

```bash
npm install -g @magicblock-console/cli
```

## Authentication

Set your Solana keypair path:

```bash
export MB_KEYPAIR_PATH=~/.config/solana/id.json
```

Without a keypair, the CLI runs in **simulated mode** with realistic mock data.

## Usage

### Projects

```bash
mb-console project create my-game --region us
mb-console project list
mb-console project configure my-game --gasless --vrf --privacy
mb-console project get my-game
```

### ER Lifecycle

```bash
mb-console er delegate <address> --project my-game
mb-console er status <address>
mb-console er commit <address> --project my-game
mb-console er undelegate <address> --project my-game
mb-console er list --project my-game
```

### Features

```bash
# VRF — verifiable randomness
mb-console vrf request --project my-game

# Privacy — confidential transfers via TEE
mb-console privacy deposit --token SOL --amount 1.0 --project my-game
mb-console privacy transfer --token SOL --amount 0.5 --to <wallet> --project my-game
mb-console privacy withdraw --token SOL --amount 0.5 --project my-game

# Cranks — scheduled execution
mb-console crank create --interval 5000 --iterations 100 --project my-game
mb-console crank list --project my-game
mb-console crank stop <crank_id>

# Oracle — price feeds
mb-console oracle price --feed SOL/USD --project my-game
```

### Monitoring

```bash
mb-console monitor status --project my-game
mb-console monitor logs --project my-game --limit 20
mb-console monitor costs --project my-game --period 30d
```

## Related Packages

- [`@magicblock-console/core`](https://www.npmjs.com/package/@magicblock-console/core) — Core SDK
- [`@magicblock-console/mcp`](https://www.npmjs.com/package/@magicblock-console/mcp) — AI agent interface (MCP Server)

## Author

**[shipooor](https://shipooor.xyz)** · [@shipooor](https://x.com/shipooor)

## License

MIT
npm package: @magicblock-console/core
Description: Core SDK for MagicBlock Ephemeral Rollups — shared logic for CLI, MCP, and Web
Author: shipooor
Latest version: 0.1.7

# @magicblock-console/core

Core SDK for managing [MagicBlock Ephemeral Rollups](https://www.magicblock.gg/) on Solana. Shared logic used by the CLI, MCP Server, and Web Dashboard.

## Features

- **Project Management** — create, configure, and manage ER projects
- **ER Lifecycle** — delegate, commit, undelegate accounts on Ephemeral Rollups
- **Gasless Transactions** — zero-fee execution on ER
- **Privacy Mode** — confidential state via TEE (Private Ephemeral Rollups)
- **VRF** — verifiable randomness requests
- **Cranks** — scheduled automatic execution
- **Oracle** — Pyth price feeds on ER
- **Monitoring** — status, costs, and logs

## Installation

```bash
npm install @magicblock-console/core
```

## Quick Start

```typescript
import { createClient, MemoryStorage } from '@magicblock-console/core';

const client = createClient({
  network: 'devnet',
  storage: new MemoryStorage(),
});

// Create a project
await client.projects.create({ name: 'my-game', region: 'us' });

// Enable features
await client.projects.configure('my-game', {
  features: { gasless: true, vrf: true },
});

// Delegate an account to ER
await client.er.delegate({
  account: 'YourAccountPubkey...',
  project: 'my-game',
});

// Request VRF randomness
const result = await client.vrf.request({ project: 'my-game' });
console.log(result.randomness); // 32 bytes of randomness
```

## Wallet Connection

Connect a Solana wallet for real blockchain operations:

```typescript
// From keypair file (CLI/server)
await client.connectWithKeypair('~/.config/solana/id.json');

// From browser wallet (web)
await client.connectWithSigner({
  publicKey: wallet.publicKey,
  signTransaction: (tx) => wallet.signTransaction(tx),
});
```

Without a wallet connection, all operations run in **simulated mode** with realistic mock data.

## Network

Operates on Solana Devnet by default. ER validators available in US, EU, and Asia regions.

## Related Packages

- [`@magicblock-console/cli`](https://www.npmjs.com/package/@magicblock-console/cli) — Terminal interface
- [`@magicblock-console/mcp`](https://www.npmjs.com/package/@magicblock-console/mcp) — AI agent interface (MCP Server)

## Author

**[shipooor](https://shipooor.xyz)** · [@shipooor](https://x.com/shipooor)

## License

MIT
npm package: @magicblock-console/mcp
Description: MCP server for MagicBlock Ephemeral Rollups — AI agent integration via Model Context Protocol
Author: shipooor
Latest version: 0.1.7

# @magicblock-console/mcp

MCP Server for managing [MagicBlock Ephemeral Rollups](https://www.magicblock.gg/) on Solana. Enables AI agents to manage ER infrastructure from any MCP-compatible client (Claude, Cursor, etc.).

## Installation

Add to your MCP client configuration:

```json
{
  "mcpServers": {
    "magicblock-console": {
      "command": "npx",
      "args": ["@magicblock-console/mcp"]
    }
  }
}
```

For real blockchain operations, provide a keypair:

```json
{
  "mcpServers": {
    "magicblock-console": {
      "command": "npx",
      "args": ["@magicblock-console/mcp"],
      "env": {
        "MB_KEYPAIR_PATH": "~/.config/solana/id.json"
      }
    }
  }
}
```

## Available Tools (22)

### Projects
| Tool | Description |
|------|-------------|
| `create_project` | Create a new project with ER configuration |
| `list_projects` | List all projects |
| `get_project` | Get project details |
| `configure_project` | Enable/disable features (gasless, privacy, vrf, cranks, oracle) |
| `delete_project` | Delete a project |

### ER Lifecycle
| Tool | Description |
|------|-------------|
| `delegate_account` | Delegate account to Ephemeral Rollup |
| `commit_account` | Commit ER state to Solana base layer |
| `undelegate_account` | Return account to Solana |
| `get_delegation_status` | Check delegation status |
| `list_delegated_accounts` | List delegated accounts |
| `get_state_diff` | Compare ER vs base layer state |

### Features
| Tool | Description |
|------|-------------|
| `request_vrf` | Request verifiable randomness |
| `create_crank` | Schedule automatic execution |
| `list_cranks` | List cranks |
| `stop_crank` | Stop a crank |
| `get_price_feed` | Get oracle price (SOL/USD, BTC/USD, etc.) |
| `deposit_private` | Deposit tokens to privacy layer (TEE) |
| `transfer_private` | Confidential token transfer |
| `withdraw_private` | Withdraw from privacy layer |

### Monitoring
| Tool | Description |
|------|-------------|
| `get_project_status` | Project status, uptime, tx count |
| `get_project_costs` | Cost breakdown by period |
| `get_project_logs` | Recent log entries |

## Example

> "Create a project called my-game in the US region with gasless and VRF enabled"

The agent will call `create_project` and `configure_project` to set everything up.

## Related Packages

- [`@magicblock-console/core`](https://www.npmjs.com/package/@magicblock-console/core) — Core SDK
- [`@magicblock-console/cli`](https://www.npmjs.com/package/@magicblock-console/cli) — Terminal interface

## Author

**[shipooor](https://shipooor.xyz)** · [@shipooor](https://x.com/shipooor)

## License

MIT
npm package: @magicblock-labs/ephemeral-rollups-kit
Description: TypeScript helpers for preparing and routing transactions to Ephemeral Rollups on Solana with `@solana/kit`.
Author: MagicBlock Labs
Latest version: 0.10.5

# @magicblock-labs/ephemeral-rollups-kit

TypeScript helpers for preparing and routing transactions to Ephemeral Rollups on Solana with `@solana/kit`.

Quickstart and integration guide:
https://docs.magicblock.gg

## Install
```bash
npm install @magicblock-labs/ephemeral-rollups-kit
```
# or
```bash
yarn add @magicblock-labs/ephemeral-rollups-kit
```
## Usage (basic)

import { Connection } from "@magicblock-labs/ephemeral-rollups-kit";

// See full examples and docs in the Quickstart link above.
```
npm package: @magicblock-labs/ephemeral-rollups-sdk
Description: TypeScript helpers for preparing and routing transactions to Ephemeral Rollups on Solana with @solana/web3.js.
Author: MagicBlock Labs
Latest version: 0.10.5

# @magicblock-labs/ephemeral-rollups-sdk

TypeScript helpers for preparing and routing transactions to Ephemeral Rollups on Solana with @solana/web3.js.

Quickstart and integration guide:
https://docs.magicblock.gg

## Install

npm install @magicblock-labs/ephemeral-rollups-sdk

# or

yarn add @magicblock-labs/ephemeral-rollups-sdk

## Usage (basic)

import { MagicRouter } from "@magicblock-labs/ephemeral-rollups-sdk";

// See full examples and docs in the Quickstart link above.
npm package: @magicblock-labs/unity-wallet-adapter
Description: Solana Wallet Adapter for Unity WebGL, to be used with the Solana-Unity.SDK
Author: Magicblock Labs dev@magicblock.gg
Latest version: 1.2.1

# Unity JS Wallet Adapter

This repository contains a minimalistic library for interacting with Solana wallets implementing the [Wallet Standard](https://github.com/wallet-standard/wallet-standard). 

It is used internally in the [Solana.Unity-SDK](https://github.com/magicblock-labs/Solana.Unity-SDK), see the [installation](https://github.com/magicblock-labs/Solana.Unity-SDK/tree/main#-installation) instructions to use it in your project.
npm package: @magicbutton.cloud/nats-transport
Description: NATS transport provider for Magic Button Cloud messaging library
Author: Magic Button Cloud Team
Latest version: 0.1.2

# NATS Transport Provider

NATS transport provider for the Magic Button Cloud messaging library.

[![npm version](https://img.shields.io/npm/v/@magicbutton.cloud/nats-transport.svg)](https://www.npmjs.com/package/@magicbutton.cloud/nats-transport)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Part of the [Magic Button Cloud Providers](https://github.com/magicbutton-cloud/providers) collection.

## Installation

```bash
# With npm
npm install @magicbutton.cloud/nats-transport

# With pnpm
pnpm add @magicbutton.cloud/nats-transport

# With yarn
yarn add @magicbutton.cloud/nats-transport
```

## Usage

```typescript
import { Client } from '@magicbutton.cloud/messaging';
import { NatsTransportFactory } from '@magicbutton.cloud/nats-transport';

// Create your transport factory
const transportFactory = new NatsTransportFactory();

// Create a client with your transport
const client = Client.create({
  transportFactory,
  transportConfig: {
    servers: ['nats://localhost:4222'],
    subjects: {
      requests: 'myapp.requests',
      events: 'myapp.events'
    }
  }
});

// Connect the client
await client.connect();

// Make a request
const response = await client.request('getUsers', { filter: 'active' });

// Subscribe to events
client.on('userAdded', (user) => {
  console.log('New user added:', user);
});

// Disconnect when done
await client.disconnect();
```

## Configuration Options

| Option | Type | Required | Description |
|--------|------|----------|-------------|
| servers | string[] | Yes | Array of NATS server URLs |
| token | string | No | Authentication token |
| user | string | No | Username for authentication |
| pass | string | No | Password for authentication |
| subjects.requests | string | No | Base subject for requests (default: 'messaging.requests') |
| subjects.events | string | No | Base subject for events (default: 'messaging.events') |
| connectTimeout | number | No | Connection timeout in milliseconds (default: 10000) |

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
npm package: @magicbutton.cloud/sharepoint
Description: SharePoint integration utilities for fetching data from Microsoft Graph API
Author: MagicButton Cloud
Latest version: 1.0.0

# @magicbutton.cloud/sharepoint

A TypeScript library for interacting with SharePoint lists via Microsoft Graph API.

## Installation

```bash
npm install @magicbutton.cloud/sharepoint
```

## Usage

```typescript
import { 
  getCountries, 
  getUnits, 
  getNewsCategories, 
  getNewsChannels,
  getValidGuestDomains 
} from '@magicbutton.cloud/sharepoint';

// Fetch countries from SharePoint
const countries = await getCountries(accessToken);

// Fetch units from SharePoint
const units = await getUnits(accessToken);

// Fetch news categories
const categories = await getNewsCategories(accessToken);

// Fetch news channels
const channels = await getNewsChannels(accessToken);

// Fetch valid guest domains
const domains = await getValidGuestDomains(accessToken);
```

## API Reference

### Functions

#### `getCountries(accessToken: string)`
Fetches country data from SharePoint Countries list.

Returns: `Promise<Country[] | undefined>`

#### `getUnits(accessToken: string)`
Fetches unit data from SharePoint Units list.

Returns: `Promise<Unit[] | undefined>`

#### `getNewsCategories(accessToken: string)`
Fetches news category data from SharePoint News Categories list.

Returns: `Promise<NewsCategory[] | undefined>`

#### `getNewsChannels(accessToken: string)`
Fetches news channel data from SharePoint News Channels list.

Returns: `Promise<NewsChannel[] | undefined>`

#### `getValidGuestDomains(accessToken: string)`
Fetches valid guest domain data from SharePoint Valid Guest Domains list.

Returns: `Promise<ValidGuestDomain[] | undefined>`

### Types

#### Country
```typescript
interface Country {
  countryName: string;
  countryCode: string;
}
```

#### Unit
```typescript
interface Unit {
  unitName: string;
  unitCode: string;
  unitType: string;
  sortOrder: number;
}
```

#### NewsCategory
```typescript
interface NewsCategory {
  categoryName: string;
  categoryId: number;
  sortOrder: number;
}
```

#### NewsChannel
```typescript
interface NewsChannel {
  id: string;
  channelName: string;
  channelType: string;
  channelCode: string;
  sortOrder: string;
  RelevantUnits: LookupValue[];
  Mandatory: boolean;
  RelevantCountires: LookupValue[];
  RegionId: number;
  NewsCategoryId: number;
  GroupId: string;
}
```

#### ValidGuestDomain
```typescript
interface ValidGuestDomain {
  domainName: string;
  redirectURL: string;
}
```

#### LookupValue
```typescript
interface LookupValue {
  LookupId: number;
  LookupValue: string;
}
```

## Authentication

All functions require a valid Microsoft Graph API access token with appropriate permissions to read SharePoint lists.

## Error Handling

Functions return `undefined` if there's an error fetching data. The library includes retry logic for transient failures.

## License

MIT