open-index/open-npm huggingface dataset:
npm package: @fold-ui/core
Description: Zero gravity React components.
Author: Jo du Plessis
Latest version: 0.23.0

# Fold

## Overview

Zero-dependency React components for scaling your product to the next level.

- [Getting Started](#getting-started)
    - [Prerequisites](#prerequisites)
    - [Installation](#installation)
    - [Usage](#usage)
    - [Building](#building)
- [Documentation](#documentation)
- [Theming](#theming)
- [Contributing](#contributing)
    - [Reporting Bugs](#reporting-bugs-)
    - [Sharing Feedback](#sharing-feedback-)
- [Code of Conduct](#code-of-conduct-)
- [License](#license)
- [Support](#support)

### Installation

``` bash
# Using npm
npm install @fold-ui/core

# Using yarn
yarn add @fold-ui/core
```

### Usage

```jsx
import React from 'react';
import { FoldProvider, Heading, Button, Card, Input } from '@fold-ui/core';
import '@fold-ui/core/dist/styles.css';

const App = () => {
    return (
        <FoldProvider>
            <Card>
                <Heading>My Component</Heading>
                <Input placeholder="Enter your text" />
                <Button>Submit</Button>
            </Card>
        </FoldProvider>
    );
};

export default App;
```

### Building

Ensure you have the following prerequisites installed:

- [Node](https://nodejs.org/) - v18.17.1
- [Npm](https://www.npmjs.com/) (Node Package Manager) - v9.6.7

1. Clone the repository:

   ```bash
   git clone https://github.com/fold-ui/fold.git
   ```

2. Navigate to the project directory:

   ```bash
   cd fold
   ```

3. Install dependencies:

   ```bash
   npm install
   ```

4. Developing:

   ```bash
   npm run dev
   ```

## Documentation

For detailed information on each component and their props, please refer to our [Documentation](https://www.fold-ui.com/docs).

## Theming

The library provides easy-to-use theming options. Learn more about them in the [Theming Guide](https://www.fold-ui.com/docs/theming).

## Contributing

### Reporting Bugs 🐞
If you've come across a bug or an issue, please don't hesitate to open a new issue. To make the process as smooth as possible, we've created some issue templates to get you started.

### Sharing Feedback 📢
We'd love to get your feedback, be it suggestions, feature requests, or general thoughts on your experience. If you believe that creating a new issue isn't the best choice, don't hesitate to initiate a [discussion](https://github.com/fold-ui/fold/discussions) instead.

## Code of Conduct ☀️
Please note that we have a [Code of Conduct](CODE_OF_CONDUCT.md) that we expect everyone to follow when participating in this repository. We want to maintain a welcoming and inclusive environment for everyone.

## License

This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.

## Support

If you encounter any issues or have questions, feel free to [open an issue](https://github.com/fold-ui/fold/issues) or start a [discussion](https://github.com/fold-ui/fold/discussions).

Thank you for being part of our community, and for helping us.
npm package: @fold-ui/pro
Description: Zero gravity React components.
Author: Jo du Plessis
Latest version: 0.23.0

# Fold

## Overview

Zero-dependency React components for scaling your product to the next level.

- [Getting Started](#getting-started)
    - [Prerequisites](#prerequisites)
    - [Installation](#installation)
    - [Usage](#usage)
    - [Building](#building)
- [Documentation](#documentation)
- [Theming](#theming)
- [Contributing](#contributing)
    - [Reporting Bugs](#reporting-bugs-)
    - [Sharing Feedback](#sharing-feedback-)
- [Code of Conduct](#code-of-conduct-)
- [License](#license)
- [Support](#support)

### Installation

``` bash
# Using npm
npm install @fold-ui/core

# Using yarn
yarn add @fold-ui/core
```

### Usage

```jsx
import React from 'react';
import { FoldProvider, Heading, Button, Card, Input } from '@fold-ui/core';
import '@fold-ui/core/dist/styles.css';

const App = () => {
    return (
        <FoldProvider>
            <Card>
                <Heading>My Component</Heading>
                <Input placeholder="Enter your text" />
                <Button>Submit</Button>
            </Card>
        </FoldProvider>
    );
};

export default App;
```

### Building

Ensure you have the following prerequisites installed:

- [Node](https://nodejs.org/) - v18.17.1
- [Npm](https://www.npmjs.com/) (Node Package Manager) - v9.6.7

1. Clone the repository:

   ```bash
   git clone https://github.com/fold-ui/fold.git
   ```

2. Navigate to the project directory:

   ```bash
   cd fold
   ```

3. Install dependencies:

   ```bash
   npm install
   ```

4. Developing:

   ```bash
   npm run dev
   ```

## Documentation

For detailed information on each component and their props, please refer to our [Documentation](https://www.fold-ui.com/docs).

## Theming

The library provides easy-to-use theming options. Learn more about them in the [Theming Guide](https://www.fold-ui.com/docs/theming).

## Contributing

### Reporting Bugs 🐞
If you've come across a bug or an issue, please don't hesitate to open a new issue. To make the process as smooth as possible, we've created some issue templates to get you started.

### Sharing Feedback 📢
We'd love to get your feedback, be it suggestions, feature requests, or general thoughts on your experience. If you believe that creating a new issue isn't the best choice, don't hesitate to initiate a [discussion](https://github.com/fold-ui/fold/discussions) instead.

## Code of Conduct ☀️
Please note that we have a [Code of Conduct](CODE_OF_CONDUCT.md) that we expect everyone to follow when participating in this repository. We want to maintain a welcoming and inclusive environment for everyone.

## License

This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.

## Support

If you encounter any issues or have questions, feel free to [open an issue](https://github.com/fold-ui/fold/issues) or start a [discussion](https://github.com/fold-ui/fold/discussions).

Thank you for being part of our community, and for helping us.
npm package: @folderr/folderr-mcp-server
Description: A Model Context Protocol server
Author: santiq
Latest version: 0.0.1

# Folderr MCP Server

A Model Context Protocol (MCP) server that provides tools to interact with Folderr's API, specifically for managing and communicating with Folderr Assistants.

## Features

The server provides the following tools:

### Authentication

Two methods of authentication are supported:

1. **Login with Email/Password**
   ```typescript
   {
     "name": "login",
     "arguments": {
       "email": "user@example.com",
       "password": "your-password"
     }
   }
   ```

2. **API Token Authentication**
   ```typescript
   {
     "name": "set_api_token",
     "arguments": {
       "token": "your-api-token"
     }
   }
   ```
   API tokens can be generated from the Folderr developers section. This method is recommended for automated or long-running processes.

### Assistant Management

1. **List Assistants**
   ```typescript
   {
     "name": "list_assistants",
     "arguments": {}
   }
   ```
   Returns a list of all available assistants for the authenticated user.

2. **Ask Assistant**
   ```typescript
   {
     "name": "ask_assistant",
     "arguments": {
       "assistant_id": "assistant-id",
       "question": "Your question here"
     }
   }
   ```
   Send a question to a specific assistant and receive their response.

## Configuration

The server stores its configuration in a `config.json` file, which includes:
- Base URL for the Folderr API
- Authentication token (from login or API key)

## Error Handling

The server provides detailed error messages for common scenarios:
- Authentication failures
- Invalid requests
- API errors
- Network issues

## Development

To build the server:
```bash
npm install
npm run build
```

## Usage in MCP Settings

Add the following to your MCP settings configuration:
```json
{
  "mcpServers": {
    "folderr": {
      "command": "node",
      "args": ["/path/to/folderr-server/build/index.js"]
    }
  }
}
```

## Authentication Flow

1. Either:
   - Use the `login` tool with email and password
   - Use the `set_api_token` tool with an API token from Folderr's developers section
2. The authentication token is automatically saved and used for subsequent requests
3. All assistant-related tools require authentication before use

## Error Messages

Common error messages and their meanings:
- "Not logged in": No authentication token is set
- "Login failed": Invalid credentials
- "Failed to list assistants": Error retrieving assistant list
- "Failed to ask assistant": Error sending question to assistant
npm package: @foldkit/vite-plugin
Description: Vite plugin for Foldkit hot module reloading with state preservation
Author: Devin Jameson
Latest version: 0.2.3

# @foldkit/vite-plugin

Vite plugin for Foldkit that enables hot module reloading with model preservation.

## Installation

```bash
npm install -D @foldkit/vite-plugin
# or
pnpm add -D @foldkit/vite-plugin
# or
yarn add -D @foldkit/vite-plugin
```

## Usage

Add the plugin to your `vite.config.ts`:

```typescript
import { foldkit } from '@foldkit/vite-plugin'
import { defineConfig } from 'vite'

export default defineConfig({
  plugins: [foldkit()],
})
```

## What it does

When you save a file during development, the plugin:

1. Preserves your application's current state (model)
2. Triggers a full page reload
3. Restores the preserved model after reload

This means you can make code changes without losing your application's state - forms stay filled, counters keep their values, game positions are maintained, etc.

## How it works

The plugin uses Vite's WebSocket connection to communicate between the dev server and browser:

- **On file change**: The browser sends the current model to the Vite server for preservation
- **On reload**: The browser requests the preserved model from the server and initializes the Foldkit runtime with it

Model is preserved across hot reloads but cleared on manual browser refreshes, giving you control over when to reset your app.

## License

MIT