open-index/open-npm huggingface dataset:
npm package: @rborn/react-native-wireframe-ui
Description: Wireframe UI components for React-Native (and web)
Author: Dan Tamas
Latest version: 0.1.0

# react-native-wireframe-ui

A wireframe UI kit for React Native (and web, with Expo).

## Installation

```
yarn add @rborn/react-native-wireframe-ui
```

You will also need to install the `WaitingfortheSunrise-Regular.ttf` font. Check the example project for details.

## Usage

Check the example project for details. (Will update with more details soon.)
All components have an `onPress` prop, which is called when the component is pressed. Otherwise, the components are not interactive nor very configurable.

> Note:

    - For now it uses [twrnc](https://github.com/jaredh159/tailwind-react-native-classnames), therefore the colors are tailwind specific or they need to be defined as `[_hexcode_]` if you want custom colors. Eg `#ff0000` is `[#ff0000]`.
    - Sizes are also tailwind specific and multiple of 4dp (read more in [twrnc documentation](https://github.com/jaredh159/tailwind-react-native-classnames#api))

## Primitives

-   Avatar
-   Badge
-   Button
-   Card
-   LineChart
-   VBarChart
-   Checkbox
-   Divider
-   Icon
-   Image
-   TextInput
-   TextArea
-   Loader
-   ProgressBar
-   RadioButton
-   Slider
-   Switch
-   Text
-   VBox
-   HBox

## Dialogs

-   Alert
npm package: @rbowui/react-native-template
Description: React Native template for @ant-design/icons-react-native
Author: zsm
Latest version: 1.0.6

<p align="center">
  <a href="http://rn.mobile.ant.design">
    <img width="320" src="https://zos.alipayobjects.com/rmsportal/wIjMDnsrDoPPcIV.png">
  </a>
</p>

<h1 align="center">rbowui/react-native-template 脚手架</h1>

<div align="left">

rbowui/react-native-template 基于 react-native 脚手架和 rAnt Design Mobile RN 库+dva-core 数据流,支持hooks写的一个脚手架。配置了axios统一请求及拦截及路由的跳转，底部导航路由跳转，开发语言是JS。
</div>



## 📦 安装

```bash
npx react-native init myapp --template @rbowui/react-native-template

cd myapp

> 运行
yarn start
yarn ios
或者是
npx react-native run-ios

> 修改 app.json 文件
{
  "name": "myapp",
  "displayName": "myapp"
}
不修改运行会报错:A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called.

```


## 🔨 项目结构

```
.
├── mocker                            # mocker data
├── android                           # native android code
├── ios                               # native ios code
├── src                               # code directory
│   ├── components                    # 存放公共组件库代码
│   ├── models                        # models
│   ├── pages                         # 每个页面
│   ├── routes                        # 路由配置，每个页面需要引入一下
│   ├── services                      # 请求
│   ├── utils                         # 公共函数
│   ├── App.js                        # 开始界面
│   ├── config.js                     # 页面配置
│   └── global.js                     # 存全局函数
├── .eslintrc                         # eslint configuration
├── index.js                          # app entry file
└── package.json                      # This document is all you need to know about what’s required in your package.json file.

```
##  效果

![861608013478_.pic_hd.jpg](https://i.loli.net/2020/12/15/MXwRmhpNEe9Dj31.png)

##  想要自己搭建的小伙伴，可以看看我的笔记：
https://www.jianshu.com/p/ac82b369ef9a
npm package: @rbright/pi-notify-core
Description: Shared notification primitives for Pi extensions.
Author: Ryan Bright
Latest version: 0.1.2

# pi-notify-core

[![CI](https://github.com/rbright/pi-notify-core/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/rbright/pi-notify-core/actions/workflows/ci.yml)

`pi-notify-core` is a small shared library for Pi notification extensions.

npm package: `@rbright/pi-notify-core`

It provides:
- turn-completion detection/wiring helpers (`agent_start`, `message_end`, `agent_end`)
- deterministic text sanitization/truncation for notifications

Pi agent project: https://github.com/badlogic/pi-mono

## Install

```bash
bun add @rbright/pi-notify-core
# or
npm install @rbright/pi-notify-core
```

## Usage

```ts
import { registerTurnCompletionHooks, sanitizeNotificationText } from '@rbright/pi-notify-core';

registerTurnCompletionHooks(pi, () => {
  const title = sanitizeNotificationText('Pi', 'Pi', 64);
  const body = sanitizeNotificationText('Turn complete — awaiting feedback', 'Turn complete', 180);
  sendNotification(title, body);
});
```

## API

### `registerTurnCompletionHooks(api, onTurnComplete)`
Registers completion handlers with dedupe per agent run:
- resets state on `agent_start`
- triggers on final assistant `message_end` (non-tool, non-error, non-aborted)
- falls back to `agent_end`

### `createTurnCompletionTracker(onTurnComplete)`
Lower-level tracker if you need custom event wiring.

### `shouldNotifyFromAssistantMessage(message)`
Returns `true` for assistant messages that represent a completed turn.

### `sanitizeNotificationText(input, fallback, maxLength)`
Strips control chars/semicolons, normalizes whitespace, and truncates with `…`.

### `truncateText(input, maxLength)`
Truncates string with ellipsis behavior used by sanitizer.

## Development

```bash
just deps
just lint
just typecheck
just test
just build
just check
just precommit-install
just precommit-run
```

## Publishing

Manual publish (`@rbright/pi-notify-core`):

```bash
bun run check
bun run build
npm publish --access public
```

Automated publish is available via GitHub Actions (`.github/workflows/publish.yml`) and runs on:
- `workflow_dispatch`
- tag pushes matching `v*`

Required repository secret:
- `NPM_TOKEN` (npm token with publish permission)
npm package: @rbright/pi-notify-koko
Description: Koko voice notifications for Pi agent turn completion.
Author: Ryan Bright
Latest version: 0.1.2

# pi-notify-koko

[![CI](https://github.com/rbright/pi-notify-koko/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/rbright/pi-notify-koko/actions/workflows/ci.yml)

`pi-notify-koko` triggers Koko voice playback when the Pi agent completes a turn.

- Pi agent: https://github.com/badlogic/pi-mono
- Koko CLI: https://github.com/rbright/koko
- npm package: `@rbright/pi-notify-koko`

## Install into Pi (npm, recommended)

Global install:

```bash
pi install npm:@rbright/pi-notify-koko
```

Project-local install:

```bash
pi install -l npm:@rbright/pi-notify-koko
```

Git install fallback:

```bash
pi install git:github.com/rbright/pi-notify-koko
pi install -l git:github.com/rbright/pi-notify-koko
```

If Pi is already running, reload extensions:

```text
/reload
```

## How it works

The extension is zero-config by default.

- completion trigger: final assistant `message_end` (non-tool) with `agent_end` fallback
- per-agent dedupe: one Koko invocation per completed agent run
- speaks the last assistant response text (sanitized, no truncation)
- strips markdown/link formatting, wrapper symbols, and emojis before speaking
- if no assistant response text is available, it says nothing
- skips non-TTY sessions by default

## Configuration (optional)

| Variable | Default | Description |
| --- | --- | --- |
| `PI_NOTIFY_KOKO_ENABLED` | `true` | Enable/disable notifications |
| `PI_NOTIFY_KOKO_COMMAND` | `koko` | Koko executable name/path |
| `PI_NOTIFY_KOKO_TIMEOUT_MS` | `15000` | Subprocess timeout in ms |
| `PI_NOTIFY_KOKO_ALLOW_NON_TTY` | `false` | Allow triggering in non-TTY contexts |
| `PI_NOTIFY_KOKO_VOICE` | unset | Passed as `--voice <value>` |
| `PI_NOTIFY_KOKO_MODEL_DIR` | unset | Passed as `--model-dir <value>` |
| `PI_NOTIFY_KOKO_NO_PLAY` | `false` | Adds `--no-play` |
| `PI_NOTIFY_KOKO_ARGS_JSON` | unset | JSON array of extra args (e.g. `["--device","cpu"]`) |

Example:

```bash
export PI_NOTIFY_KOKO_VOICE=af_heart
pi
```

## Troubleshooting

1. Confirm extension install: `pi list`
2. If Pi was open during install/update, run `/reload`
3. Confirm Koko is on PATH: `command -v koko`
4. Run a short prompt and wait for completion
5. If no sound but command works, test Koko directly (for example: `koko "test"`)

## Development

```bash
just deps
just lint
just typecheck
just test
just check
just precommit-install
just precommit-run
```

Run extension directly during local development:

```bash
bun install
pi --no-extensions -e ./src/index.ts
```

## Publishing

Manual publish (`@rbright/pi-notify-koko`):

```bash
bun run check
npm publish --access public
```

Automated publish via GitHub Actions (`.github/workflows/publish.yml`) runs on:
- `workflow_dispatch`
- tag pushes matching `v*`

Required repository secret:
- `NPM_TOKEN` (npm token with publish permission)
npm package: @rbrlortie/nwayo-cli
Description: CLI for nwayo
Author: Absolunet
Latest version: 1.4.0

# nwayo CLI

[![npm](https://img.shields.io/npm/v/@rbrlortie/nwayo-cli.svg)](https://www.npmjs.com/package/@rbrlortie/nwayo-cli)
[![npm dependencies](https://david-dm.org/absolunet/nwayo-cli/status.svg)](https://david-dm.org/absolunet/nwayo-cli)
[![npms](https://badges.npms.io/%40absolunet%2Fnwayo-cli.svg)](https://npms.io/search?q=%40absolunet%2Fnwayo-cli)
[![Travis CI](https://api.travis-ci.org/absolunet/nwayo-cli.svg?branch=master)](https://travis-ci.org/absolunet/nwayo-cli/builds)
[![Code style ESLint](https://img.shields.io/badge/code_style-@absolunet/node-659d32.svg)](https://github.com/absolunet/eslint-config-node)

> CLI for [nwayo](https://absolunet.github.io/nwayo/)


## Install

```bash
$ npm i -g @rbrlortie/nwayo-cli
```

## Documentation

[https://absolunet.github.io/nwayo/cli/](https://absolunet.github.io/nwayo/cli/)

## License

MIT © [Absolunet](https://absolunet.com)
npm package: @rbrowser/main
Description: RBrowser is a novel RNA-centric data exploration platform
Author: Zheng Lei
Latest version: 1.0.43

# @rbrowser/main

RBrowser is a novel RNA-centric data exploration platform.

## Installation

```bash
npm install @rbrowser/main
```

## Usage

```ts
import { mountBrowser } from "@rbrowser/main";

const unmount = mountBrowser("container-id");
```

## License

[MIT](./LICENSE)
npm package: @rbrtbrnschn.dev/my-backend
Description: Personal modular backend.
Author: Robert Bornschein
Latest version: 1.0.3

# MyBackend
Personal api allowing for modularization, for personal domain: https://rbrtbrnschn.dev

Dependencies:
- [my-backend-application](https://www.npmjs.com/package/@rbrtbrnschn.dev/my-backend-application)
- [my-backend-router](https://www.npmjs.com/package/@rbrtbrnschn.dev/my-backend-router)
- [util](https://www.npmjs.com/package/@rbrtbrnschn.dev/util)
npm package: @rbrtbrnschn.dev/my-backend-application
Description: Application builder for {@link @rbrtbrnschn.dev/my-backend}
Author: Robert Bornschein
Latest version: 1.0.4
Deprecated: false

# MyBackendApplication

Simple application builder for [my-backend](https://www.npmjs.com/package/@rbrtbrnschn.dev/my-backend).
Takes in express(), routers[], {...options}.
npm package: @rbrtbrnschn.dev/my-backend-router
Description: Router Class For @rbrtbrnschn.dev/my-backend
Author: Robert Bornschein
Latest version: 1.0.2
Deprecated: false

# my-backend-router

Simple router class for personal API, to use with [my-backend](https://www.npmjs.com/package/@rbrtbrnschn.dev/my-backend)
as backend for personal domain https://rbrtbrnschn.dev
npm package: @rbrtbrnschn.dev/util
Description: Utility module used in conjunction with {@link @rbrtbrnschn.dev/my-backend}.
Author: Robert Bornschein
Latest version: 1.0.1
Deprecated: false

# @rbrtbrnschn.dev/util

Utilities for [my-backend](https://www.npmjs.com/package/@rbrtbrnschn.dev/my-backend) npm module.
npm package: @rbrtdds/acp-core
Description: AI Context Protocol — core library for persistent AI memory
Author: Robert Dudas
Latest version: 0.1.5

# @rbrtdds/acp-core

Core library for [ACP (AI Context Protocol)](https://github.com/robodudas/acp) — storage adapters, fact extraction, recall engine, and memory compaction.

## Install

```bash
npm i @rbrtdds/acp-core
```

> This is an internal dependency of `@rbrtdds/acp-cli` and `@rbrtdds/acp-mcp`. You don't need to install it directly unless you're building custom integrations.

## What's inside

- **Storage adapters** — SQLite WASM (sql.js, zero native deps) and SQLite Native (better-sqlite3, ~10x faster)
- **Fact extractor** — Heuristic extraction of semantic facts from conversations (regex-based, no LLM needed)
- **Recall engine** — Hybrid search combining keyword matching and semantic embeddings
- **Chunk store** — RAG-style conversation chunking with 300-token chunks and 50-token overlap
- **Compaction engine** — Memory tiering (hot/warm/cold) with automatic cleanup
- **Claude Code reader** — Session reader for `~/.claude/projects/` with lossy path decoding

## Usage

```typescript
import { ACP } from '@rbrtdds/acp-core';

const acp = new ACP({
  storage: 'sqlite-wasm',
  storagePath: '~/.acp/acp.db',
});
await acp.initialize();

const project = await acp.getOrCreateProject('my-app', '/path/to/project');
const context = await acp.recall({ query: 'authentication', projectId: project.id });

await acp.close();
```

## Storage options

| Engine | Config value | Technology | Trade-offs |
|--------|-------------|------------|------------|
| WASM (default) | `sqlite-wasm` | sql.js | Zero deps, works everywhere, slower |
| Native | `sqlite-native` | better-sqlite3 | ~10x faster, requires `npm i better-sqlite3` |

## Related

- [`@rbrtdds/acp-cli`](https://www.npmjs.com/package/@rbrtdds/acp-cli) — CLI tool
- [`@rbrtdds/acp-mcp`](https://www.npmjs.com/package/@rbrtdds/acp-mcp) — MCP server for Claude Code
- [`@rbrtdds/acp-embeddings`](https://www.npmjs.com/package/@rbrtdds/acp-embeddings) — Local embedding provider

## License

MIT
npm package: @rbrtdds/acp-embeddings
Description: AI Context Protocol — local embedding provider using transformers.js
Author: Robert Dudas
Latest version: 0.1.5

# @rbrtdds/acp-embeddings

Local embedding provider for [ACP (AI Context Protocol)](https://github.com/robodudas/acp) — offline semantic search using transformers.js.

## Install

```bash
npm i @rbrtdds/acp-embeddings
```

> This is an internal dependency of `@rbrtdds/acp-cli` and `@rbrtdds/acp-mcp`. You don't need to install it directly unless you're building custom integrations.

## What it does

Provides a local embedding provider that generates 384-dimensional vectors using the `all-MiniLM-L6-v2` model via [transformers.js](https://huggingface.co/docs/transformers.js). The model (~23MB) is downloaded automatically on first use and cached in `~/.acp/models/`.

- Fully offline — no API keys or network required after initial download
- Used by ACP's recall engine for semantic (hybrid) search
- Falls back gracefully — ACP works with keyword-only search if embeddings are disabled

## Usage

```typescript
import { LocalEmbeddingProvider } from '@rbrtdds/acp-embeddings';

const provider = new LocalEmbeddingProvider();
await provider.initialize();

const vector = await provider.embed('authentication middleware');
// Float32Array(384) [0.023, -0.041, ...]
```

## Configuration

Enabled/disabled during `acp init`. Stored in `~/.acp/config.json`:

```json
{
  "embedding": {
    "engine": "local",
    "model": "Xenova/all-MiniLM-L6-v2",
    "dimensions": 384
  }
}
```

Set `engine` to `"none"` to disable embeddings (keyword-only search).

## Related

- [`@rbrtdds/acp-core`](https://www.npmjs.com/package/@rbrtdds/acp-core) — Core library
- [`@rbrtdds/acp-cli`](https://www.npmjs.com/package/@rbrtdds/acp-cli) — CLI tool
- [`@rbrtdds/acp-mcp`](https://www.npmjs.com/package/@rbrtdds/acp-mcp) — MCP server for Claude Code

## License

MIT
npm package: @rbrtdds/acp-mcp
Description: AI Context Protocol — MCP server for Claude Code integration
Author: Robert Dudas
Latest version: 0.1.5

# @rbrtdds/acp-mcp

MCP server for [ACP (AI Context Protocol)](https://github.com/robodudas/acp) — gives Claude Code persistent memory across sessions.

## Install & Setup

```bash
npm i -g @rbrtdds/acp-cli @rbrtdds/acp-mcp
acp init
```

Requires Node.js >= 18.

`acp init` handles everything — config, MCP registration with Claude Code, and CLAUDE.md setup. No manual steps needed.

If you need to register the MCP server manually (e.g. `claude` CLI not in PATH during init):

```bash
claude mcp add --transport stdio --scope user acp -- acp-mcp
```

## Tools

The MCP server exposes these tools to Claude:

### `acp_context`

Get proactive context for current project. Call at the **start of every session**.

- Returns relevant facts and project history
- No parameters required

### `acp_recall`

Search memory for relevant context from previous sessions.

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `query` | string | — | What to search for (e.g., "auth middleware") |
| `scope` | `"project"` \| `"all"` | `"project"` | Search current project or all projects |
| `max_results` | number | 10 | Maximum facts to return |

### `acp_remember`

Save important facts, decisions, or learnings to persistent memory.

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `content` | string | — | The fact to remember |
| `type` | string | — | Category: `stack`, `decision`, `architecture`, `convention`, `blocker`, `task`, `learning`, `preference`, `contact`, `custom` |
| `confidence` | number | 0.9 | Confidence score (0-1) |
| `pinned` | boolean | false | Pin to prevent compaction |

### `acp_status`

Show memory stats — facts count, sessions, storage size. No parameters.

### `acp_facts`

List all stored facts for current project.

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `type` | string | — | Filter by fact type (optional) |
| `limit` | number | 50 | Maximum facts to return |

## How it works

```
Claude Code ←→ MCP protocol ←→ acp-mcp ←→ SQLite (~/.acp/acp.db)
```

The server runs as a stdio MCP process. Claude Code launches it automatically when configured. Project context is scoped by the working directory — ACP won't leak context from other projects.

## Related

- [`@rbrtdds/acp-cli`](https://www.npmjs.com/package/@rbrtdds/acp-cli) — CLI tool for managing ACP
- [`@rbrtdds/acp-core`](https://www.npmjs.com/package/@rbrtdds/acp-core) — Core library
- [`@rbrtdds/acp-embeddings`](https://www.npmjs.com/package/@rbrtdds/acp-embeddings) — Local embedding provider

## License

MIT