open-index/open-npm huggingface dataset:
npm package: @kristoffertonning/vue-laravel-errors
Description: Vue helper to use Laravel's error message bag
Author: Kristoffer Tonning
Latest version: 1.0.0

### Installation
Pull in by running: `yarn add @tonning/vue-laravel-old`

In your app.blade.php layouts file add:
```html
<script type="text/javascript">
    let Laravel = {
        error: {!! json_encode($errors->messages()) !!},
    };
</script>
```

In your app.js file
* `import Vue from 'vue'`  
* `import VueLaravelOld from 'vue-laravel-error'` 
* `Vue.use('vue-laravel-error', Laravel.error)`  


### Usage
Now you can use it in Vue and your Vue components  
`Vue.$error.get('email')` or `this.$error.get('email')`
npm package: @kristw-lab/gh-conventional-release
Description: Creates a new GitHub Release following Conventional Commits
Latest version: 1.0.0

# gh-conventional-release

Create releases on GitHub based on tags

This was forked and modified from <https://github.com/escaletech/circleci-gh-conventional-release>

## Usage

### Plain Node.js

```sh
GITHUB_TOKEN="$GITHUB_TOKEN" \
TARGET_TAG="$CIRCLE_TAG" \
REPO_OWNER="$CIRCLE_PROJECT_USERNAME" \
REPO_NAME="$CIRCLE_PROJECT_REPONAME" \
CONTINUE_ON_ERROR="false" \
npx https://github.com/kristw/circleci-gh-conventional-release
```

### CircleCI

Environment variables used for default parameters:

- `GITHUB_TOKEN`
- `CIRCLE_TAG` (set by default in CircleCI when build is triggered by a tag push)
- `CIRCLE_PROJECT_USERNAME` (set by default in CircleCI)
- `CIRCLE_PROJECT_REPONAME` (set by default in CircleCI)

Assuming an environment with all the required variables, usage consists of simply calling the `create-release` job or command:

```yaml
version: 2.1

orbs:
  gh-release: escaletech/gh-conventional-release@0.1.0

workflows:
  version: 2
  release:
    jobs:
      # ... more jobs
      - gh-release/create-release:
          context: context-with-github-token-env-var
```

But you can always specify parameters individually:

```yaml
version: 2.1

orbs:
  gh-release: escaletech/gh-conventional-release@0.1.0

workflows:
  version: 2
  release:
    jobs:
      # ... more jobs
      - gh-release/create-release:
          github-token: ABCXYZ457 # default is $GITHUB_TOKEN
          target-tag: v0.1.2 # default is $CIRCLE_TAG
          repo-owner: your-username # default is $CIRCLE_PROJECT_USERNAME
          repo-name: your-repo-name # default is $CIRCLE_PROJECT_REPONAME
```

This will result in a GitHub release like the following:

![sample](docs/sample-release.png)

### Github Actions

```yaml
name: New Release

on:
  push:
    tags:
      - "v*"

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Setup Node
        uses: actions/setup-node@v1
        with:
          node-version: 12.x
      - name: Install GH Conventional Release
        run: sudo npm install -g @kristw/gh-conventional-release
      - name: Generate Release
        shell: bash
        run: |
          TARGET_TAG="${GITHUB_REF#refs/*/}" \
          REPO_OWNER="${GITHUB_REPOSITORY%/*}" \
          REPO_NAME="${GITHUB_REPOSITORY#*/}" \
          CONTINUE_ON_ERROR="false" \
          GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}" \
          circleci-gh-conventional-release
```

#### Github Actions with template

```yaml
name: New Release

on:
  push:
    tags:
      - "v*"

jobs:
  stage:
    uses: kristw/gh-conventional-release/.github/workflows/create-release-template.yml@master
    name: "Release"
    secrets:
      gh_token: ${{ secrets.GITHUB_TOKEN }}
```

## Development

In order to publish to production you should generate a new tag.

The convenient and proper way to do it is to run the following command:

```sh
npm run release
```
npm package: @krisyoung1028/liblib-mcp
Description: MCP server for LiblibAI image generation API with design templates support
Author: Your Name
Latest version: 1.1.1

# LiblibAI MCP Server

这是一个用于LiblibAI图像生成API的MCP (Model Context Protocol) 服务器，提供了完整的图像生成功能封装。

## 功能特性

- 🎨 **设计模板支持**: 内置多种产品设计模板（金属、木质、塑料、织物等）
- 🚀 **星流Star-3 Alpha**: 支持最新的星流模型进行文生图和图生图
- 🔧 **自定义模型**: 支持LiblibAI平台上的自定义模型调用
- ⏱️ **异步处理**: 支持异步生图和轮询等待完成
- 🔐 **安全认证**: 完整的API签名验证机制
- 📊 **状态监控**: 实时查询生图进度和结果

## 安装配置

### 1. 安装依赖

```bash
npm install
```

### 2. 环境变量配置

创建 `.env` 文件并配置以下环境变量：

```env
LIBLIB_ACCESS_KEY=your_access_key_here
LIBLIB_SECRET_KEY=your_secret_key_here
LIBLIB_BASE_URL=https://openapi.liblibai.cloud
```

### 3. 获取API密钥

1. 访问 [LiblibAI开放平台](https://www.liblib.art/apis)
2. 注册并登录账号
3. 领取试用积分或购买API积分
4. 获取AccessKey和SecretKey

### 4. 构建和运行

```bash
# 构建项目
npm run build

# 运行服务器
npm start

# 开发模式
npm run dev
```

## MCP工具说明

### 1. test_liblib_connection
测试LiblibAI API连接状态

```json
{
  "name": "test_liblib_connection",
  "arguments": {}
}
```

### 2. list_design_templates
列出所有可用的设计模板

```json
{
  "name": "list_design_templates",
  "arguments": {}
}
```

### 3. generate_design_image
使用设计模板生成图片（基于星流Star-3 Alpha）

```json
{
  "name": "generate_design_image",
  "arguments": {
    "prompt": "一个现代简约的水杯设计",
    "template_id": "product_metal",
    "width": 1024,
    "height": 1024,
    "img_count": 1,
    "wait_for_completion": true,
    "max_wait_seconds": 180
  }
}
```

**可用模板ID:**
- `product_metal`: 金属产品设计
- `product_wood`: 木质产品设计
- `product_plastic`: 塑料产品设计
- `product_fabric`: 织物产品设计
- `ui_modern`: 现代UI设计
- `logo_minimalist`: 简约Logo设计

### 4. generate_text2img_advanced
高级文生图功能（使用自定义模型）

```json
{
  "name": "generate_text2img_advanced",
  "arguments": {
    "prompt": "beautiful landscape, mountains, sunset",
    "model_version_uuid": "your_model_version_uuid",
    "negative_prompt": "blurry, low quality",
    "width": 768,
    "height": 1024,
    "steps": 20,
    "cfg_scale": 7,
    "wait_for_completion": true
  }
}
```

### 5. check_generation_status
查询生图任务状态

```json
{
  "name": "check_generation_status",
  "arguments": {
    "generate_uuid": "your_generation_uuid"
  }
}
```

### 6. get_server_info
获取MCP服务器信息

```json
{
  "name": "get_server_info",
  "arguments": {}
}
```

## 生图状态说明

- `1`: 排队中
- `2`: 生图中
- `5`: 完成
- `6`: 失败

## 审核状态说明

- `3`: 审核通过
- 其他值: 审核中或未通过

## 错误处理

服务器会自动处理以下错误情况：

1. **认证错误**: 检查AccessKey和SecretKey是否正确
2. **网络错误**: 自动重试机制
3. **参数错误**: 详细的错误信息提示
4. **积分不足**: 返回账户余额信息

## 开发说明

### 项目结构

```
src/
├── index.ts          # MCP服务器主入口
├── liblib-client.ts  # LiblibAI API客户端
└── types.ts          # 类型定义（可选）
```

### 添加新功能

1. 在 `liblib-client.ts` 中添加新的API方法
2. 在 `index.ts` 中注册新的MCP工具
3. 更新工具的输入schema和处理逻辑

## 注意事项

1. **API限制**: 注意QPS限制和并发数限制
2. **积分消耗**: 每次生图都会消耗积分，请合理使用
3. **图片时效**: 生成的图片URL有7天有效期
4. **内容审核**: 生成的图片需要通过平台审核

## 许可证

MIT License

## 支持

如有问题，请联系LiblibAI商务：17521599324
npm package: @kriszu/eslint-plugin
Description: Kriszu extended ESLint rules
Author: Kriszu
Latest version: 5.1.0

# @kriszu/eslint-plugin

[![npm version](https://img.shields.io/npm/v/@kriszu/eslint-plugin?color=yellow)](https://npmjs.com/package/@kriszu/eslint-plugin)
[![npm downloads](https://img.shields.io/npm/dm/@kriszu/eslint-plugin?color=yellow)](https://npmjs.com/package/@kriszu/eslint-plugin)

Extended ESLint rules for Kriszu's coding style preferences.

## 📦 Installation

```bash
pnpm add -D @kriszu/eslint-plugin
```

## 📖 Usage

```js
// eslint.config.js
import kriszu from '@kriszu/eslint-plugin'

export default [
  {
    plugins: {
      kriszu
    },
    rules: {
      'kriszu/top-level-function': 'error',
      'kriszu/import-dedupe': 'error',
      // ... other rules
    }
  }
]
```

Or use with [@kriszu/eslint-config](https://github.com/wangsizhu0504/eslint-config) which includes this plugin by default:

```bash
pnpm add -D @kriszu/eslint-config
```

## 🔗 Related

- [@kriszu/eslint-config](https://github.com/wangsizhu0504/eslint-config) - My ESLint flat config presets

## 📄 License

[MIT](../../LICENSE) License © 2024-PRESENT [Kriszu](https://github.com/wangsizhu0504)
npm package: @kriszu/hooks
Description: Collection of essential Vue Composition Utilities
Author: Kriszu
Latest version: 0.0.12

# @kriszu/hooks
<p align="center">
  <a href="https://www.npmjs.com/package/@kriszu/hooks"><img src="https://img.shields.io/npm/v/@kriszu/hooks.svg" alt="npm package"></a>
  <a href="#badge"><img src="https://img.shields.io/github/languages/top/wangsizhu0504/hooks" alt="language"></a>
  <a href="#badge"><img src="https://img.shields.io/github/repo-size/wangsizhu0504/hooks" alt="librariesio"></a>
  <a href="https://github.com/InhiblabCore/vue-hooks-plus/blob/master/LICENSE"><img src="https://img.shields.io/github/license/wangsizhu0504/hooks" alt="LICENSE"></a>
</p>
<br>
Hook collection of essential Vue
</p>

## ✨ Features

- 🏄🏼‍♂️ Easy to learn and use
- 🛸 Contains a comprehensive collection of basic Hooks
- 🏟️ A wide range of application scenarios
- 🎪 Interactive demo, immersive
- 🎯 Written in TypeScript with predictable static types
- 🪄 Support the on-demand load, and reduce the packing volume
- 🤺 Playground, there's ample scope for one's abilities
- 🔐 Perfect test, safe and reliable

## 📦 Install

>  works for Vue 2 & 3 **within a single package** by the power of [vue-demi](https://github.com/vueuse/vue-demi)!

```bash
npm i @kriszu/hooks
```


## 📄 License

[MIT License](./LICENSE) © 2023-PRESENT [Kriszu](https://github.com/wangsizhu0504)
npm package: @kriszu/ni
Description: Use the right package manager
Latest version: 1.0.0

# ni
Forked from [antfu/ni](https://github.com/antfu/ni);

~~*`npm i` in a yarn project, again? F\*\*k!*~~

**ni** - use the right package manager

<br>

<pre>
npm i -g <b>@kriszu/ni</b>
</pre>

<a href='https://docs.npmjs.com/cli/v6/commands/npm'>npm</a> · <a href='https://yarnpkg.com'>yarn</a> · <a href='https://pnpm.js.org/en/'>pnpm</a> · <a href='https://bun.sh/'>bun</a>


<br>


### `ni` - install

```bash
ni

# npm install
# yarn install
# pnpm install
# bun install
```

```bash
ni vite

# npm i vite
# yarn add vite
# pnpm add vite
# bun add vite
```

```bash
ni @types/node -D

# npm i @types/node -D
# yarn add @types/node -D
# pnpm add -D @types/node
# bun add -d @types/node
```

```bash
ni --frozen

# npm ci
# yarn install --frozen-lockfile (Yarn 1)
# yarn install --immutable (Yarn Berry)
# pnpm install --frozen-lockfile
# bun install --no-save
```

```bash
ni -g eslint

# npm i -g eslint
# yarn global add eslint (Yarn 1)
# pnpm add -g eslint
# bun add -g eslint

# this uses default agent, regardless your current working directory
```

<br>

### `nr` - run

```bash
nr dev --port=3000

# npm run dev -- --port=3000
# yarn run dev --port=3000
# pnpm run dev --port=3000
# bun run dev --port=3000
```

```bash
nr

# interactively select the script to run
# supports https://www.npmjs.com/package/npm-scripts-info convention
```

```bash
nr -

# rerun the last command
```

<br>

### `nu` - upgrade

```bash
nu

# (not available for bun)
# npm upgrade
# yarn upgrade (Yarn 1)
# yarn up (Yarn Berry)
# pnpm update
```

```bash
nu -i

# (not available for npm & bun)
# yarn upgrade-interactive (Yarn 1)
# yarn up -i (Yarn Berry)
# pnpm update -i
```

<br>

### `nun` - uninstall

```bash
nun webpack

# npm uninstall webpack
# yarn remove webpack
# pnpm remove webpack
# bun remove webpack
```

```bash
nun -g silent

# npm uninstall -g silent
# yarn global remove silent
# pnpm remove -g silent
# bun remove -g silent
```

<br>

### Change Directory

```bash
ni -C packages/foo vite
nr -C playground dev
```

<br>

### Config

```ini
; ~/.nirc

; fallback when no lock found
defaultAgent=npm # default "prompt"

; for global installs
globalAgent=npm
```

```bash
# ~/.bashrc

# custom configuration file path
export NI_CONFIG_FILE="$HOME/.config/ni/nirc"
```

<br>
npm package: @kriszu/toolkit
Description: A collection of common JavaScript / TypeScript utils
Author: Kriszu
Latest version: 1.0.17

# @kriszu/toolkit

[![][npm-release-shield]][npm-release-link] [![][npm-downloads-shield]][npm-downloads-link] [![][github-license-shield]][github-license-link] <br/>
A collection of common JavaScript / TypeScript utils

## 📦 Installation

To install `@kriszu/toolkit`, run the following command:

```bash
$ pnpm install @kriszu/toolkit
```

<br/>

## ✨ Features

- 🛠️ &nbsp; Provides a variety of modern implementations of everyday utility functions
- 🛠️ &nbsp; Written based on ts, providing complete ts types
- 💪 &nbsp; Make sure more than 99% unit test coverage, providing stability assurance

## License

[MIT](./LICENSE) License © 2024-PRESENT [Kriszu](https://github.com/wangsizhu0504)

<!-- LINK GROUP -->

[github-codespace-link]: https://codespaces.new/wangsizhu0504/toolkit
[github-codespace-shield]: https://github.com/codespaces/badge.svg
[github-license-link]: https://github.com/wangsizhu0504/toolkit/blob/master/LICENSE
[github-license-shield]: https://img.shields.io/github/license/wangsizhu0504/toolkit?color=1677FF&labelColor=black&style=flat-square
[npm-downloads-link]: https://www.npmjs.com/package/@kriszu/toolkit
[npm-downloads-shield]: https://img.shields.io/npm/dt/@kriszu/toolkit?labelColor=black&style=flat-square&color=1677FF
[npm-release-link]: https://www.npmjs.com/package/@kriszu/toolkit
[npm-release-shield]: https://img.shields.io/npm/v/@kriszu/toolkit?color=1677FF&labelColor=black&logo=npm&logoColor=white&style=flat-square
npm package: @kriszu/utils
Description: Opinionated collection of common JavaScript / TypeScript utils
Author: Kriszu
Latest version: 0.0.9

# @kriszu/utils

[![NPM version](https://img.shields.io/npm/v/@kriszu/utils?color=a1b858&label=)](https://www.npmjs.com/package/@kriszu/utils)

Opinionated collection of common JavaScript / TypeScript utils.

## License

[MIT](./LICENSE) License © 2023 [WSZ](https://github.com/wangsizhu0504)