open-index/open-npm huggingface dataset:
npm package: @primodiumxyz/contracts
Description: This monorepo contains documentation source and extension examples for Primodium developers. Visit [here](https://developer.primodium.xyz) for the live developer documentation.
Latest version: 0.11.0

# Primodium Developer Docs and Examples

This monorepo contains documentation source and extension examples for Primodium developers. Visit [here](https://developer.primodium.xyz) for the live developer documentation.

## Directories

```bash
/docs
/examples
  /ReadDemo
  /WriteDemo
  /building-upgrade-bounty
```

NOTE: The example MUD projects in `examples` are meant to be used independently as templates. A `packages` directory will be created for relevant external packages for world extension examples in the future.
npm package: @primodiumxyz/mud-game-tools
Description: Tools for MUD Games
Latest version: 1.0.15

# Primodium Game Tools

## Description

`@primodiumxyz/mud-game-tools` is a developer utility package designed to assist in building Ethereum applications with the MUD framework. This package streamlines the development process by offering a browser and specialized tabs: CheatcodesList and Editor, to interact with the onchain game state.

## Features

- **Browser**: A basic browser to navigate the onchain environment.
- **CheatcodesList**: Write cheatcodes to manipulate the game state for testing.
- **Editor**: A comprehensive editor to view and edit all parts of the game state.

## Prerequisites

- Node.js (>=14.0.0)
- pnpm
- MUD V2

## Installation

Install with npm:

```bash
npm install @primodiumxyz/mud-game-tools
```

## Usage

### Browser

To integrate the development browser, add the following to your file:

```jsx
import { Browser } from "mud-game-tools";
<Browser
  layers={{ react: { world, components: mud.components } }}
  world={world}
/>;
```

### CheatcodesList

To add the Cheatcodes list to the browser, create a Cheatcodes object with the following interface:

```jsx
export type Cheatcodes = Record<string, Cheatcode>;

// NOTE: the params field must match the names and types of function arguments
export type Cheatcode = {
  function: (...args: any[]) => any,
  params: { name: string, type: "number" | "string" | "boolean" }[],
};
```

To use it, add the cheatcodes as a parameter to the Browser:

```jsx
import { Browser } from "mud-game-tools";
<Browser
  layers={{ react: { world, components: mud.components } }}
  world={world}
  cheatcodes={cheatcodes}
/>;
```

Access via the browser's `Cheatcodes` tab.

### Editor

Access via the browser's `Editor` tab. This allows you to:

- View game state
- Modify components
- Execute queries

## Development

1. Run the local development server:
   ```bash
   pnpm run dev
   ```

## Contributions

Pull requests and issues are welcome.

To develop this package locally, clone the repository and install dependencies.

```bash
git clone https://github.com/primodiumxyz/mud-dev-tools.git
cd mud-dev-tools
pnpm install
pnpm build
```

## License

MIT
npm package: @primordia1/mcp-server
Description: MCP server exposing Primordia clearing tools
Latest version: 0.1.0

# Primordia Clearing MCP Server

MCP server exposing Primordia clearing tools for AI agents.

## Installation

```bash
npm install
npm run build
```

## Configuration

Set the Primordia kernel URL via environment variable:

```bash
export PRIMORDIA_KERNEL_URL=http://localhost:3000
```

Default: `http://localhost:3000`

## Tools

### Free Operations

- **verify_receipt**: Verify MSR/IAN/FC signature
- **verify_seal**: Verify conformance seal

### Paid Operations

- **net_receipts**: Net receipts into signed IAN
- **open_credit_line**: Open credit line with MBS backing
- **commit_future**: Commit Future Commitment
- **trigger_default**: Trigger default event

## Usage with Claude Desktop

Add to your Claude Desktop configuration:

```json
{
  "mcpServers": {
    "primordia-clearing": {
      "command": "node",
      "args": ["C:\\Users\\trunk\\primordia\\mcp-server\\build\\index.js"],
      "env": {
        "PRIMORDIA_KERNEL_URL": "http://localhost:3000"
      }
    }
  }
}
```

## Development

```bash
# Watch mode
npm run watch

# Build
npm run build
```

## License

MIT
npm package: @primoui/utils
Description: A lightweight set of utilities
Author: Piotr Kulpinski
Latest version: 1.4.3
Deprecated: This package has moved to @dirstack/utils

# @primoui/utils

To install dependencies:

```bash
bun install
```

To run:

```bash
bun run index.ts
```

This project was created using `bun init` in bun v1.0.0. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
npm package: @primoziv/widget-sdk
Description: widget chat SDK.
Author: fe
Latest version: 1.0.1

# Widget SDK

## 安装

### ES6 模块
```shell
npm install @meiqia/widget-sdk
或
yarn add @meiqia/widget-sdk
```

### 浏览器环境
```html
<script src="widget-sdk.js"></script>
```

## 使用
### ES6 模块
```javascript
import widgetSdk from '@meiqia/widget-sdk';
widgetSdk.init();
```

### 浏览器环境
```html
<script>
  widgetSdk.init();
</script>
```

## 注意事项

SDK内部使用了 `JSON` , `Array` 等原生对象的原型链方法，如果您的应用有修改原生对象的行为则可能造成未知影响。