open-index/open-npm huggingface dataset:
npm package: @opencitylabs/bootstrap-italia
Description: Bootstrap Italia templates for Form.io forms
Latest version: 0.7.2

# **Template Form.io Bootstrap Italia**

Questo repository modifica il rendering dei moduli in **formio.js** per utilizzare **HTML** e classi compatibili con il framework [Bootstrap Italia](https://italia.github.io/bootstrap-italia/docs/come-iniziare/introduzione/).
La versione pubblica della demo è disponibile [qui](https://formbuilder-bootstrap-italia-opencity-labs-a93e4b76e725c1a5db50.gitlab.io) per l'ultima release stabile pubblicata.


## 🚀 **Installazione**

Per installare le dipendenze necessarie in un'applicazione **React**, eseguire i seguenti comandi:

```sh
npm i @opencitylabs/bootstrap-italia
npm i @formio/js
```

## 🚀 **Utilizzo con Bootstrap Italia**

Per utilizzare **Bootstrap Italia** in Form.io, importa il modulo e abilitalo con il seguente codice:

```javascript
import { Formio, Templates } from "@formio/js";
import bootstrapItalia from "@opencitylabs/bootstrap-italia/bootstrapItalia";
import "@opencitylabs/bootstrap-italia/dist/ocl.min.css"
```

## ⚙️ **Configurazione dello Script**

Per impostare **Bootstrap Italia** come framework predefinito in Form.io:

```javascript
Formio.use(bootstrapItalia);
Templates.framework = bootstrapItalia;
```

## 📋 **Componenti Form.io Accessibili**

Di seguito è riportata una tabella con la lista dei componenti accessibili in Form.io:

| **Categoria**  | **Componenti**                                                              |
|--------------|-----------------------------------------------------------------------------|
| **Base**    | Textfield, Text Area, Number, Password, Checkbox, Select Box, Radio, Button |
| **Avanzati** | Email, Phone Number, Time, Currency, Select                                 |

## 🎨 **Risoluzione problemi icone mancanti**

Se le icone non vengono visualizzate correttamente, aggiungi **Font Awesome** al tuo progetto con il seguente codice:

```html
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<script>
  Formio.icons = "fontawesome";
</script>
```

📌 **Nota:** Assicurati di caricare il file **CSS** prima di inizializzare Form.io.
npm package: @opencitylabs/formio-custom-components
Description: Custom Form.io components for formbuilderjs
Latest version: 0.6.11

# Formio Custom Components

Libreria di componenti custom per Form.io, sviluppata con React e pronta per la pubblicazione su npm.

## Requisiti

- Node.js 20+
- npm 10+

## Installazione

```bash
npm install
```

## Sviluppo locale (Playground)

Il progetto include un playground per testare i componenti in locale con Form Builder + Preview.

```bash
npm run dev
```

Apri nel browser:
- `http://localhost:5173`

## Script disponibili

- `npm run dev`: avvia il playground in modalità sviluppo
- `npm run build`: build della libreria in `dist/`
- `npm run build:playground`: build del playground
- `npm run preview`: anteprima della build del playground
- `npm run clean`: pulizia cartelle di output

## Output build libreria

La build genera:

- `dist/index.js` (ESM)
- `dist/index.cjs` (CommonJS)

## Utilizzo della libreria

Esempio di import:

```js
import { registerFormioComponents } from "@opencitylabs/formio-custom-components";
import { Components } from "@formio/js";

registerFormioComponents(Components);
```

Sono anche esportati:

- `formioCustomComponents`
- singoli componenti da `src/index.js`

## Pubblicazione su npm

Prima della publish viene eseguita automaticamente la build (`prepublishOnly`).

```bash
npm publish
```

## Struttura principale

- `src/`: codice della libreria e componenti Form.io
- `playground/`: ambiente locale di test
- `vite.config.js`: configurazione Vite (libreria + playground)

## Note

Alcuni componenti fanno uso di API esterne o variabili globali (`window.BASE_URL`, `window.OC_SERVICE_DETAILS`) nel playground sono valorizzate con fallback minimi per facilitare i test.
npm package: @openclaw-agent-trace/cli
Description: CLI tool for Agent Monitor — interactive onboarding, status, logs, and local dashboard
Latest version: 0.1.5

# @openclaw-agent-trace/cli

> Interactive CLI for **Agent Monitor** — open-source observability for AI agents.

## Quick Start

```bash
npx @openclaw-agent-trace/cli init
```

The `init` command walks you through:

1. **Paste your API key** (must start with `ap_proj_`)
2. **Choose your framework** — OpenClaw, LangChain, CrewAI, AutoGen, or Custom
3. **Name your project**
4. Validates the key against the server
5. Saves config to `.agent-monitor/config.json`

## Commands

| Command     | Description                                  |
| ----------- | -------------------------------------------- |
| `init`      | Interactive project setup                    |
| `status`    | Show agent status and key metrics            |
| `logs`      | View recent event logs (`--tail` to stream)  |
| `dashboard` | Launch the local web dashboard               |

## Options

```
--server-url    Server URL (default: production)
--project-key   Project API key (shorthand: -k)
--local         Use local-only transport
--dir           Data directory (default: .agent-monitor)
--verbose       Verbose error output
```

## Example

```bash
# Initialize with custom server
npx @openclaw-agent-trace/cli init --server-url http://localhost:3000

# Check status
npx @openclaw-agent-trace/cli status -k ap_proj_abc123

# Tail logs
npx @openclaw-agent-trace/cli logs --tail
```

## After Init

Add the SDK to your agent code:

```ts
import { AgentMonitor } from "@openclaw-agent-trace/sdk";

const monitor = new AgentMonitor({
  projectKey: "ap_proj_...",
  framework: "openclaw",
});
```

Events will automatically flow to your dashboard.

## License

MIT
npm package: @openclaw-agent-trace/core
Description: Core types, schemas, and utilities for Agent Monitor
Latest version: 0.1.2

# @openclaw-agent-trace/core

Core types, schemas, and utilities for Agent Monitor — open-source observability for AI agents.

## What's Inside

- **Types** — Event, Agent, Analytics type definitions
- **Schemas** — Zod validation schemas for all data structures
- **Redaction Engine** — Strips API keys and secrets from 20+ providers before data leaves your machine
- **Cost Calculator** — Built-in pricing for OpenAI, Anthropic, Google, Mistral, DeepSeek, Groq, Cohere
- **Event Classifier** — Categorizes events by type (LLM, tool call, API, shell, etc.)
- **Fingerprinting** — Deduplication via content hashing

## Install

```bash
npm install @openclaw-agent-trace/core
```

## Usage

```typescript
import {
  RedactionEngine,
  calculateEventCost,
  classifyEvent,
  generateId,
} from '@openclaw-agent-trace/core';

// Redact sensitive data
const engine = new RedactionEngine();
const cleaned = engine.redact(myData);

// Calculate cost for an LLM event
const cost = calculateEventCost(event);

// Generate time-sortable UUID v7
const id = generateId();
```

## Part of Agent Monitor

This is the core library used by:
- `@openclaw-agent-trace/sdk` — Client SDK for tracking events
- `@openclaw-agent-trace/server` — API server

GitHub: https://github.com/YasirAmeen/agent_open_claw_trace

## License

MIT
npm package: @openclaw-agent-trace/sdk
Description: Lightweight SDK for agent observability. Install in your agent framework to capture events.
Latest version: 0.1.3

# @openclaw-agent-trace/sdk

Lightweight SDK for AI agent observability. Track every tool call, LLM request, API hit, and error your agents make.

Works with OpenClaw, LangChain, CrewAI, AutoGen, or any custom agent framework.

## Install

```bash
npm install @openclaw-agent-trace/sdk
```

## Quick Start

```typescript
import { AgentMonitor } from '@openclaw-agent-trace/sdk';

const monitor = new AgentMonitor({
  projectKey: 'ap_proj_xxx',
  serverUrl: 'https://your-server.up.railway.app',
  framework: 'openclaw',
});

// Track a tool call
await monitor.trackToolCall('web_search', { query: 'AI news' }, async () => {
  return mySearchFunction();
});

// Track an LLM call
monitor.trackLlmCall({
  provider: 'anthropic',
  model: 'claude-sonnet-4-5',
  promptTokens: 1500,
  completionTokens: 800,
  durationMs: 2400,
});

// Flush before shutdown
await monitor.shutdown();
```

## OpenClaw Adapter

```typescript
import { AgentMonitor } from '@openclaw-agent-trace/sdk';
import { OpenClawAdapter } from '@openclaw-agent-trace/sdk/adapters/openclaw';

const monitor = new AgentMonitor({ framework: 'openclaw' });
const adapter = new OpenClawAdapter(monitor);

// Automatically tracks tool calls with category detection
await adapter.trackToolCall(
  { toolName: 'web_search', parameters: { query: 'AI news' } },
  () => toolFn()
);
```

## Local Mode (No Server)

```typescript
const monitor = new AgentMonitor({
  transport: 'local',
  localDir: '.agent-monitor',
});
```

Events stored as NDJSON files on your machine. Zero data leaves your system.

## Features

- **Auto-batching** — Events are buffered and sent in batches
- **Retry with backoff** — Failed requests retry automatically
- **Gzip compression** — Minimizes bandwidth usage
- **Smart redaction** — API keys stripped before transmission
- **Cost calculation** — Automatic per-event cost tracking
- **Zero-config interception** — Wrap tool registries with `createInterceptor()`

## Privacy

API keys and secrets are **never** transmitted. The SDK runs a client-side redaction engine that strips sensitive data from 20+ providers before any data leaves your machine.

## Links

- GitHub: https://github.com/YasirAmeen/agent_open_claw_trace
- Server: `@openclaw-agent-trace/server`
- Core: `@openclaw-agent-trace/core`

## License

MIT
npm package: @openclaw-china/wecom-kf
Description: OpenClaw WeCom Customer Service (微信客服) channel plugin
Latest version: 2026.3.29

# @openclaw-china/wecom-kf

`wecom-kf` 是一个独立的微信客服渠道插件，用于把外部微信用户的客服会话接入 OpenClaw/Moltbot。

基础版范围：

- 单账号配置
- 回调 GET/POST 验证
- `sync_msg` 拉取真实消息
- `cursor` 持久化和短期 `msgid` 去重
- 客户文本消息入站
- Agent 文本回复回发
- `enter_session` 欢迎语
- 基础状态与日志

不在基础版范围内：

- 多账号运行
- 图片/语音/文件收发
- 客服账号管理、客户资料增强、第三方代运营模式

## 配置示例

```json
{
  "channels": {
    "wecom-kf": {
      "enabled": true,
      "webhookPath": "/wecom-kf",
      "token": "your-callback-token",
      "encodingAESKey": "your-43-char-encoding-aes-key",
      "corpId": "ww1234567890abcdef",
      "corpSecret": "your-wecom-kf-secret",
      "openKfId": "wkABCDEF1234567890",
      "welcomeText": "你好，我是 AI 客服，请问有什么可以帮你？",
      "dmPolicy": "open"
    }
  }
}
```

## 后台前置条件

1. 在微信客服管理后台开启 API。
2. 将某个自建应用配置成“可调用接口的应用”。
3. 将具体客服账号授权给该应用。
4. 确保接待成员在该应用的可见范围内。
5. 回调 URL 支持 `GET` 和 `POST`，且可被公网访问。

## 已知限制

- 微信客服回调只发通知，不直接携带完整消息体。
- 文本回发受 48 小时窗口和最多 5 条消息限制。
- 单条文本最多 2048 字节，因此插件会做纯文本降级和分片。
- 欢迎语依赖 `welcome_code`，需在事件触发后 20 秒内调用一次。
npm package: @openclaw-harness/core
Description: OpenClaw Harness Core - Workflow engine and state management for Agent orchestration
Author: OpenClaw Harness Team
Latest version: 0.1.0

# @openclaw-harness/core

[![npm version](https://badge.fury.io/js/@openclaw-harness%2Fcore.svg)](https://www.npmjs.com/package/@openclaw-harness/core)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

[English](./README.md) | 中文

> 用于 Agent 编排的工作流引擎和状态管理

## 特性

- 🔄 **工作流引擎** - 定义复杂的多阶段工作流
- 🗃️ **状态管理** - 用于稳健控制的有限状态机
- 📡 **事件系统** - 解耦的、事件驱动的架构
- 🎯 **多种阶段类型** - Agent、工具、条件、并行、循环、等待

## 安装

```bash
npm install @openclaw-harness/core
```

## 快速开始

```typescript
import { HarnessCorePlugin } from '@openclaw-harness/core';

const plugin = new HarnessCorePlugin();

// 使用 OpenClaw 上下文初始化
await plugin.init(openClawContext);

// 获取工作流服务
const workflowService = openClawContext.api.getService('harness:workflow');

// 创建工作流
const workflow = workflowService.create({
  id: 'my-workflow',
  name: '我的工作流',
  version: '1.0.0',
  stages: [
    {
      id: 'stage1',
      name: '第一阶段',
      type: 'tool',
      tool: { name: 'echo', parameters: { message: 'Hello' } },
      transitions: []
    }
  ]
});

// 执行工作流
const result = await workflowService.execute('my-workflow', {});
```

## CLI 命令

```bash
# 列出所有工作流
openclaw harness:workflow:list

# 从 JSON 文件创建工作流
openclaw harness:workflow:create ./my-workflow.json

# 运行工作流
openclaw harness:workflow:run my-workflow '{"input": "test"}'

# 查看执行状态
openclaw harness:execution:status <execution-id>
```

## HTTP API

```bash
# 列出工作流
curl http://localhost:3000/harness/workflows

# 创建工作流
curl -X POST http://localhost:3000/harness/workflows \
  -H "Content-Type: application/json" \
  -d @workflow-config.json

# 执行工作流
curl -X POST http://localhost:3000/harness/workflows/<id>/execute \
  -H "Content-Type: application/json" \
  -d '{"input": "test"}'
```

## 工作流配置示例

```json
{
  "id": "customer-support",
  "name": "客户支持工作流",
  "version": "1.0.0",
  "triggers": [
    { "type": "webhook", "config": { "endpoint": "/support" } }
  ],
  "stages": [
    {
      "id": "intake",
      "name": "工单录入",
      "type": "agent",
      "agent": { "agentId": "classifier", "maxTurns": 3 },
      "transitions": [{ "to": "routing" }]
    },
    {
      "id": "routing",
      "name": "路由分配",
      "type": "condition",
      "condition": {
        "expression": "${category} === \"technical\"",
        "branches": [
          { "condition": "true", "next": "tech-support" },
          { "condition": "false", "next": "general-support" }
        ]
      }
    },
    {
      "id": "tech-support",
      "name": "技术支持",
      "type": "agent",
      "agent": { "agentId": "tech-agent", "maxTurns": 10 },
      "transitions": []
    }
  ]
}
```

## 文档

查看 [完整文档](https://github.com/your-username/harness-core#readme) 获取更多详情。

## 许可证

MIT © [OpenClaw Harness Team](https://github.com/your-username)
npm package: @openclaw-infra/clawflow
Description: ClawFlow mobile companion plugin for OpenClaw — Elysia WebSocket/HTTP gateway for iOS app
Latest version: 2.0.0

# Elysia with Bun runtime

## Getting Started
To get started with this template, simply paste this command into your terminal:
```bash
bun create elysia ./elysia-example
```

## Development
To start the development server run:
```bash
bun run dev
```

Open http://localhost:3000/ with your browser to see the result.
npm package: @openclaw-memory/cli
Description: Command-line interface for managing OpenClaw memory daemon (ocmem)
Author: Michael Lynn
Latest version: 0.3.0

# @openclaw-memory/cli

Command-line interface for managing OpenClaw memory daemon (`ocmem`).

## Installation

```bash
npm install -g @openclaw-memory/cli
```

## Quick Start

```bash
# Check daemon status
ocmem status

# View daemon health and memory stats
ocmem debug

# Export all memories to JSON
ocmem export my-agent > backup.json

# Clear all memories for an agent
ocmem clear my-agent

# Purge expired memories
ocmem purge
```

## Commands

### `ocmem status`

Check if the daemon is running and show connection info.

```bash
ocmem status
```

### `ocmem debug`

Display detailed daemon health, MongoDB status, and memory statistics.

```bash
ocmem debug
```

### `ocmem export <agentId>`

Export all memories for an agent to JSON (stdout).

```bash
ocmem export my-agent > backup.json
```

### `ocmem clear <agentId>`

Delete all memories for a specific agent.

```bash
ocmem clear my-agent --confirm
```

### `ocmem purge`

Remove expired memories (TTL-based cleanup).

```bash
ocmem purge
```

## Configuration

The CLI connects to the daemon via `http://localhost:7654` by default.

Override with environment variable:

```bash
export MEMORY_DAEMON_URL=http://localhost:8080
ocmem status
```

## Documentation

Full documentation: [github.com/mrlynn/openclaw-mongodb-memory](https://github.com/mrlynn/openclaw-mongodb-memory)

## License

MIT
npm package: @openclaw-memory/client
Description: TypeScript client library for OpenClaw memory daemon - semantic memory with MongoDB and Voyage AI
Author: Michael Lynn
Latest version: 0.3.0

# @openclaw-memory/client

TypeScript client library for OpenClaw memory daemon - semantic memory with MongoDB and Voyage AI.

## Installation

```bash
npm install @openclaw-memory/client
```

## Quick Start

```typescript
import { MemoryClient } from '@openclaw-memory/client';

const client = new MemoryClient({ baseURL: 'http://localhost:7654' });

// Store a memory
await client.remember({
  agentId: 'my-agent',
  text: 'User prefers dark mode',
  tags: ['preference', 'ui'],
  ttl: 2592000  // 30 days
});

// Search memories semantically
const results = await client.recall({
  agentId: 'my-agent',
  query: 'what UI preferences does the user have?',
  limit: 5
});

console.log(results.results);  // [{ text, score, tags, ... }]
```

## API

### `remember(params)`

Store a new memory.

```typescript
await client.remember({
  agentId: string;      // Agent identifier
  text: string;         // Memory content
  tags?: string[];      // Optional tags for filtering
  ttl?: number;         // Time-to-live in seconds (auto-expire)
  metadata?: object;    // Optional JSON metadata
});
```

### `recall(params)`

Search memories semantically.

```typescript
const results = await client.recall({
  agentId: string;      // Agent identifier
  query: string;        // Search query (semantic, not keyword)
  limit?: number;       // Max results (default: 10)
  tags?: string[];      // Filter by tags
});
```

### `forget(id)`

Delete a memory by ID.

```typescript
await client.forget('memory-id-here');
```

### `getStatus()`

Get daemon status and memory statistics.

```typescript
const status = await client.getStatus();
console.log(status.stats.totalMemories);
```

## Documentation

Full documentation: [github.com/mrlynn/openclaw-mongodb-memory](https://github.com/mrlynn/openclaw-mongodb-memory)

## License

MIT
npm package: @openclaw-memory/daemon
Description: Memory daemon for OpenClaw agents with MongoDB and Voyage AI semantic search
Author: Michael Lynn
Latest version: 0.3.0

# @openclaw-memory/daemon

Memory daemon for OpenClaw agents with MongoDB and Voyage AI semantic search.

## Installation

```bash
npm install @openclaw-memory/daemon
```

## Quick Start

```bash
# Set environment variables
export MONGODB_URI="mongodb+srv://user:pass@cluster.mongodb.net/openclaw_memory"
export VOYAGE_API_KEY="your-voyage-api-key"  # Optional: defaults to mock embeddings

# Start the daemon
npx @openclaw-memory/daemon
```

The daemon will start on `http://localhost:7654` by default.

## API Endpoints

- `POST /remember` - Store a memory
- `GET /recall` - Search memories semantically
- `DELETE /forget/:id` - Delete a memory
- `GET /status` - Daemon status & memory stats
- `GET /health` - Health check

## Environment Variables

| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| `MONGODB_URI` | Yes | - | MongoDB connection string |
| `MONGODB_DB_NAME` | No | `openclaw_memory` | Database name |
| `VOYAGE_API_KEY` | No | - | Voyage AI API key (uses mock if absent) |
| `VOYAGE_MOCK` | No | `false` | Force mock embeddings (free, deterministic) |
| `PORT` | No | `7654` | HTTP server port |

## Documentation

Full documentation: [github.com/mrlynn/openclaw-mongodb-memory](https://github.com/mrlynn/openclaw-mongodb-memory)

## License

MIT