open-index/open-npm huggingface dataset:
npm package: @gloablehive/cache
Description: Universal cache system for GloableHive - FTS5 search, chunk indexing, 4-layer compression, AI extraction, cloud sync
Latest version: 2.0.2

# @gloablehive/cache

Shared WeChat cache system for GlobeHive channel plugins.

## Features

- **4-Layer Compression**: Micro → Auto → Full → Session compaction
- **AI Extraction**: LLM-powered conversation summary and user profile updates
- **Cloud Sync**: Incremental sync to remote database
- **Offline Fallback**: SAAS connector with message queue retry
- **Per-Account Isolation**: Account-scoped cache paths
- **YAML Frontmatter**: Aligned with Claude Code memory system

## Installation

```bash
npm install @gloablehive/cache
```

## Usage

```typescript
import { createCacheManager, type WeChatMessage } from '@gloablehive/cache';

const cache = createCacheManager({
  basePath: './cache',
  accounts: [
    { accountId: 'acc1', wechatId: 'wx123', nickName: 'Account 1', wechatAccountId: 'wa1', enabled: true }
  ]
});

await cache.init();

// Handle incoming message
await cache.onMessage({
  messageId: 'msg_123',
  accountId: 'acc1',
  conversationType: 'friend',
  conversationId: 'wx_friend',
  senderId: 'wx_friend',
  content: 'Hello',
  messageType: 1,
  timestamp: Date.now(),
  isSelf: false,
  direction: 'inbound'
});
```

## Architecture

```
src/
├── types.ts        # Core type definitions
├── manager.ts      # CacheManager - main orchestration
├── writer.ts       # File operations (read/write cache files)
├── indexer.ts      # MEMORY.md index generation
├── extractor.ts    # AI summary extraction
├── compactor.ts    # 4-layer compression
├── syncer.ts       # Cloud sync
├── saas-connector.ts # SAAS offline fallback
└── message-queue.ts  # Offline message queue
```

## For Plugin Developers

### Message Format

Transform your protocol-specific message to this format before passing to cache:

```typescript
const wechatMessage: WeChatMessage = {
  messageId: 'protocol-specific-id',
  accountId: 'your-account-id',
  conversationType: 'friend' | 'chatroom',
  conversationId: 'wxid_xxx or xxx@chatroom',
  senderId: 'wxid_xxx',
  content: 'message content',
  messageType: 1, // 1=text, 3=image, etc.
  timestamp: Date.now(),
  isSelf: false,
  direction: 'inbound' | 'outbound'
};
```

Then call `cache.onMessage(wechatMessage)` - the cache system handles all storage, indexing, and sync.
npm package: @gloablehive/wechat-cache
Description: Shared WeChat cache system - 4-layer compression, AI extraction, cloud sync, transport layer (REST/WebSocket/gRPC)
Latest version: 1.4.0

# @gloablehive/wechat-cache

Shared WeChat cache system for GlobeHive channel plugins.

## Features

- **4-Layer Compression**: Micro → Auto → Full → Session compaction
- **AI Extraction**: LLM-powered conversation summary and user profile updates
- **Cloud Sync**: Incremental sync to remote database
- **Offline Fallback**: SAAS connector with message queue retry
- **Per-Account Isolation**: Account-scoped cache paths
- **YAML Frontmatter**: Aligned with Claude Code memory system

## Installation

```bash
npm install @gloablehive/wechat-cache
```

## Usage

```typescript
import { createCacheManager, type WeChatMessage } from '@gloablehive/wechat-cache';

const cache = createCacheManager({
  basePath: './cache',
  accounts: [
    { accountId: 'acc1', wechatId: 'wx123', nickName: 'Account 1', wechatAccountId: 'wa1', enabled: true }
  ]
});

await cache.init();

// Handle incoming message
await cache.onMessage({
  messageId: 'msg_123',
  accountId: 'acc1',
  conversationType: 'friend',
  conversationId: 'wx_friend',
  senderId: 'wx_friend',
  content: 'Hello',
  messageType: 1,
  timestamp: Date.now(),
  isSelf: false,
  direction: 'inbound'
});
```

## Architecture

```
src/
├── types.ts        # Core type definitions
├── manager.ts      # CacheManager - main orchestration
├── writer.ts       # File operations (read/write cache files)
├── indexer.ts      # MEMORY.md index generation
├── extractor.ts    # AI summary extraction
├── compactor.ts    # 4-layer compression
├── syncer.ts       # Cloud sync
├── saas-connector.ts # SAAS offline fallback
└── message-queue.ts  # Offline message queue
```

## For Plugin Developers

### Message Format

Transform your protocol-specific message to this format before passing to cache:

```typescript
const wechatMessage: WeChatMessage = {
  messageId: 'protocol-specific-id',
  accountId: 'your-account-id',
  conversationType: 'friend' | 'chatroom',
  conversationId: 'wxid_xxx or xxx@chatroom',
  senderId: 'wxid_xxx',
  content: 'message content',
  messageType: 1, // 1=text, 3=image, etc.
  timestamp: Date.now(),
  isSelf: false,
  direction: 'inbound' | 'outbound'
};
```

Then call `cache.onMessage(wechatMessage)` - the cache system handles all storage, indexing, and sync.
npm package: @gloat/shared-components
Description: shared-components React component
Latest version: 0.1.47

# shared-components

[![Travis][build-badge]][build]
[![npm package][npm-badge]][npm]
[![Coveralls][coveralls-badge]][coveralls]

Describe shared-components here.

[build-badge]: https://img.shields.io/travis/user/repo/master.png?style=flat-square
[build]: https://travis-ci.org/user/repo

[npm-badge]: https://img.shields.io/npm/v/npm-package.png?style=flat-square
[npm]: https://www.npmjs.org/package/npm-package

[coveralls-badge]: https://img.shields.io/coveralls/user/repo/master.png?style=flat-square
[coveralls]: https://coveralls.io/github/user/repo
npm package: @global-cache/core
Description: Key-value cache for sharing data between parallel workers.
Latest version: 0.4.1

# @global-cache/core

[![npm version](https://img.shields.io/npm/v/@global-cache/core)](https://www.npmjs.com/package/@global-cache/core)

Core Global Cache package. Refer to the main [README](https://github.com/vitalets/global-cache) for setup and examples.
npm package: @global-chat/mcp-server
Description: MCP server for global-chat.io — AI agent discovery, directory search, and agents.txt validation
Author: global-chat.io
Latest version: 0.1.1

# global-chat MCP Server

An MCP (Model Context Protocol) server that provides AI agent discovery tools powered by [global-chat.io](https://global-chat.io).

## Tools

| Tool | Description |
|------|-------------|
| `validate_agents_txt` | Validate an agents.txt file by URL or raw content |
| `list_agents` | List all registered AI agents, optionally filtered by type |
| `search_agents` | Search agents by name, description, or capabilities |
| `register_agent` | Register a new AI agent in the directory |

## Installation

```bash
npm install -g @global-chat/mcp-server
```

## Usage with Claude Desktop

Add to your Claude Desktop configuration (`claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "global-chat": {
      "command": "npx",
      "args": ["-y", "@global-chat/mcp-server"]
    }
  }
}
```

### Using a custom API base URL

```json
{
  "mcpServers": {
    "global-chat": {
      "command": "npx",
      "args": ["-y", "@global-chat/mcp-server"],
      "env": {
        "GLOBAL_CHAT_BASE_URL": "https://your-instance.example.com"
      }
    }
  }
}
```

## Usage with Claude Code

```bash
claude mcp add global-chat -- npx -y @global-chat/mcp-server
```

## Development

```bash
git clone <repo-url>
cd mcp-server
npm install
npm run build
```

Run locally:

```bash
node dist/index.js
```

## Configuration

| Environment Variable | Default | Description |
|---------------------|---------|-------------|
| `GLOBAL_CHAT_BASE_URL` | `https://global-chat.io` | Base URL for the global-chat API |

## License

MIT
npm package: @global-envs/front
Description: This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
Latest version: 0.0.10

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `yarn start`

Runs the app in the development mode.<br />
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.<br />
You will also see any lint errors in the console.

### `yarn test`

Launches the test runner in the interactive watch mode.<br />
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `yarn build`

Builds the app for production to the `build` folder.<br />
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br />
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `yarn eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

### Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

### Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

### Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

### Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

### `yarn build` fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify