open-index/open-npm huggingface dataset:
npm package: @lucaschultz/eslint-map-rules
Description: Map eslint rules to your desired severity
Author: Luca Schultz
Latest version: 0.0.1

Map eslint rules to your desired severity

## 📝 License

Copyright © 2024 [Luca Schultz](https://github.com/lucaschultz).  
This project is [MIT](LICENSE) licensed.
npm package: @lucasconnellm/openclaw-fluxer
Description: OpenClaw Fluxer channel plugin powered by @fluxerjs/core
Latest version: 0.1.4
Deprecated: Moved to @lucasconnellm/fluxer for easier integration with OpenClaw's plugin system

![Openclaw Fluxer Plugin banner](docs/assets/openclaw-fluxer-banner.jpg)

# Openclaw Fluxer Plugin

Fluxer channel plugin for OpenClaw, built on top of `@fluxerjs/core`.

## Current status

Installable local plugin scaffold with:

- inbound monitoring via `@fluxerjs/core` gateway client
- outbound send via `@fluxerjs/core` REST/client helpers
- OpenClaw DM/group policy gates, pairing, routing, debounce/dedupe
- status/probe wiring in OpenClaw channel model

## Install

Install from the published plugin package:

```bash
openclaw plugins install @lucasconnellm/openclaw-fluxer
openclaw plugin enable fluxer
openclaw gateway restart
```

If you’re developing locally, use a linked install as needed.

## Configure

Use OpenClaw’s JSON config format. Set your `fluxer` block like this:

```json
{
  "fluxer": {
    "enabled": true,
    "apiToken": "<REDACTED>",
    "baseUrl": "https://api.fluxer.app",
    "authScheme": "bot",
    "dmPolicy": "allowlist",
    "allowFrom": [
      "<YOUR_USER_ID>"
    ],
    "groupPolicy": "allowlist",
    "groupAllowFrom": [
      "<YOUR_USER_ID>"
    ]
  }
}
```

### Notes on `baseUrl`

- If your API root is standard hosted Fluxer, `https://api.fluxer.app` is correct.
- If self-hosted behind `/api/v1`, set `baseUrl` to the parent API root (for example `https://fluxer.example/api`) so the SDK resolves `/v1` correctly.

### Optional config knobs

```json
{
  "fluxer": {
    "authScheme": "bot",
    "textChunkLimit": 4000,
    "reconnect": {
      "baseDelayMs": 1000,
      "maxDelayMs": 30000,
      "maxAttempts": 0,
      "jitterRatio": 0.2
    }
  }
}
```

You can also use env vars (default account only):

- `FLUXER_API_TOKEN`
- `FLUXER_BASE_URL`

## Feature parity snapshot (vs Discord channel plugin)

- ✅ DM + channel/group inbound/outbound
- ✅ pairing / allowlist / policy gates
- ✅ message update + delete inbound events captured
- ✅ reaction add inbound event captured
- ✅ media attachment URLs passed inbound
- ⚠️ outbound media currently URL/caption fallback (native file send wiring not finished)
- ⚠️ outbound reactions not wired yet
- ⚠️ thread routing parity not complete

## Dev checks

```bash
npm install
npm run typecheck
npm test
```
npm package: @lucascv/box-resizer
Description: 可自由拖动边框调整容器大小的插件式组件，支持自定义可拖动调整的方向
Author: Lucas
Latest version: 1.0.8

# box-resizer

这是一个可通过鼠标拖拽，从各个方向来调整容器大小的组件

[在线预览](https://blog.zhouweibin.top/lab/box-resizer)

### 安装

```
yarn add @lucascv/box-resizer
// npm install @lucascv/box-resizer
```

### 使用

直接将组件 BoxResizer 放入需要调整的容器中即可，假设容器组件是 Box

```
// hook中使用
import { BoxResizer } from '@lucascv/box-resizer';
...
const boxRef = useRef<HTMLDivElement|null>(null);

return (
  ...
  <Box ref={boxRef}>
    <BoxResizer boxRef={boxRef}/>
  <Box/>
  ...
)
...
```

### 注意事项

容器暂且需要绝对定位、固定宽高，适用于给弹框类组件套壳

```
.Container {
  position: absolute;
  top: 100px;
  left: 100px;
  width: 300px;
  height: 300px;
  // NOTE: 以上为必备属性
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: aquamarine;
}
```

### API

| 属性     | 说明                                 | 类型                              | 默认值 | 版本 |
| -------- | ------------------------------------ | --------------------------------- | ------ | ---- |
| boxRef   | 必选。容器 ref，用于获取容器样式属性 | React.ref                         |        |
| config   | 可选。容器的一些配置                 | IConfig                           |        |
| onChange | 可选。容器改动后的回调               | (modalStyle: IModalStyle) => void |        |

config：
| 属性 | 说明 | 类型 | 默认值 | 版本 |
| minWidth | 可选。最小宽度 | number | 300 |
| maxWidth | 可选。最大宽度 | number | 800 |
| minHeight | 可选。最小高度 | number | 200 |
| maxHeight | 可选。最大高度 | number | 600 |
| resizeDirection | 可选。指定可缩放的边框，默认全部放开 | TResizeDirection | 全部 |

```typescript
type TResizeDirection =
  | 'right'
  | 'left'
  | 'top'
  | 'bottom'
  | 'lt'
  | 'lb'
  | 'rt'
  | 'rb';
```

### Todo

1.x

- [x] 上下左右拖动调整
- [x] 斜方向四个角度拖动调整
- [x] 宽高边缘限制

  2.x

- [ ] 放开容器限制，比如绝对布局/宽高
- [ ] 性能优化，拖动节流和引入 mutationObserver
- [ ] 体验优化

### 其他

该项目会持续优化，欢迎提 issues.