open-index/open-npm huggingface dataset:
npm package: @ones006/adonisjs-acl
Description: Role & Permission support for Adonisjs v6
Author: Oneslynx
Latest version: 1.1.0

# AdonisJS ACL
![npm](https://img.shields.io/npm/dt/@ones006/adonisjs-acl?style=plastic)
![npm (scoped)](https://img.shields.io/npm/v/@ones006/adonisjs-acl)
![NPM](https://img.shields.io/npm/l/@ones006/adonisjs-acl)

Version [for **Adonis v6**]

This package allows you easily add role/permission based access to your [AdonisJS](https://adonisjs.com/) applications routes:

## Available Features
- Role based route authentication
- Permission based route authentication

## Requirements
- Adonisjs v6
- Node >=8
- Mysql >=5
- PostgreSQL >=10


## Dependencies
- Adonisjs6 [lucid(`@adonisjs/lucid`)](https://docs.adonisjs.com/guides/database/introduction)
- Adonisjs6 [auth(`@adonisjs/auth`)](https://docs.adonisjs.com/guides/auth/introduction)

## Installation

You can install the package via NPM:
``` bash
npm install @ones006/adonisjs-acl
```
Or with yarn
``` bash
yarn add @ones006/adonisjs-acl
```

## Setup
- Configure package with `node ace configure @ones006/adonisjs-acl`
- In `start/kernel.ts`, add the following to `Server.middleware.registerNamed`:
```
is: () => import('App/Middleware/Is'),
can: () => import('App/Middleware/Can'),
```
- Update `config/rolePermission.ts` to customize table names
- Run migration to create role and permission tables: `node ace migration:run`
## Usage
### Role Based Access
```
Route.get('/something-important', 'ImportantController.show').middleware('is:administrator')
```
#### Multiple Roles
```
Route.get('/something-important', 'ImportantController.show').middleware('is:administrator,superadmin')
```
### Permission Based Access
```
Route.get('/important', 'SomeController.show').middleware('can:view-important')
```
#### Multiple Roles
```
Route.get('/important', 'SomeController.show').middleware('can:view-important,read-important')
```
><span style="color:red">NB: User is granted access if they have one or more role/permission specified</span>

## Todo
- Add properties to models e.g `User.hasRole`, `User.hasPermission`, `role.hasPermission`, etc

## Contributing
If you have a feature you'd like to add, kindly send a Pull Request (PR)

## Security
If you discover any security related issues, please email [ones006@gmail.com](mailto:ones006@gmail.com) instead of using the issue tracker.

## Credits
- [Ones006](https://github.com/ones006)
- [All Contributors](../../contributors)

## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
npm package: @onesaz/tailwind-config
Description: Tailwind CSS preset for Onesaz UI - shared configuration with design tokens (supports v3 and v4)
Author: Onesaz
Latest version: 0.3.6

# @onesaz/tailwind-config

Shared Tailwind CSS configuration for Onesaz applications. Supports both Tailwind v3 and v4.

## Installation

```bash
npm install @onesaz/tailwind-config tailwindcss
```

## Usage

### Tailwind v4 (CSS-first)

In your main CSS file:

```css
@import "tailwindcss";
@import "@onesaz/tailwind-config/v4.css";

/* Your custom styles */
```

### Tailwind v3 (JS preset)

In your `tailwind.config.js`:

```javascript
/** @type {import('tailwindcss').Config} */
module.exports = {
  presets: [require('@onesaz/tailwind-config')],
  content: [
    './src/**/*.{js,ts,jsx,tsx}',
    './node_modules/@onesaz/ui/**/*.js',
  ],
}
```

## Features

- Pre-configured color palette (purple, blue, cyan, teal, green, orange, red, pink)
- Gray scales (slate, neutral)
- Semantic colors (success, warning, error, info)
- CSS variable-based colors for dynamic theming
- Typography scale
- Border radius scale
- Shadow scale
- Animation keyframes
- Dark mode support

## Included Colors

### Accent Colors
- `purple-1` to `purple-12`
- `blue-1` to `blue-12`
- `cyan-1` to `cyan-12`
- `teal-1` to `teal-12`
- `green-1` to `green-12`
- `orange-1` to `orange-12`
- `red-1` to `red-12`
- `pink-1` to `pink-12`

### Gray Colors
- `slate-1` to `slate-12`
- `neutral-1` to `neutral-12`

### Semantic Colors
- `success`, `success-light`, `success-dark`
- `warning`, `warning-light`, `warning-dark`
- `error`, `error-light`, `error-dark`
- `info`, `info-light`, `info-dark`

## Peer Dependencies

- `tailwindcss` ^3.4.0 or ^4.0.0

## License

MIT
npm package: @onesaz/tokens
Description: Design tokens for Onesaz UI component library - colors, spacing, typography, and theming
Author: Onesaz
Latest version: 0.1.3

# @onesaz/tokens

Design tokens for the Onesaz UI component library.

## Installation

```bash
npm install @onesaz/tokens
```

## Usage

```typescript
import { accentColors, grayColors, lightTheme, darkTheme } from '@onesaz/tokens'

// Access color scales
console.log(accentColors.purple[500]) // #8B5CF6

// Use theme tokens
console.log(lightTheme.background) // #FFFFFF
console.log(darkTheme.background) // #0F172A
```

## Available Exports

### Colors

- **Accent Colors**: `purple`, `blue`, `cyan`, `teal`, `green`, `orange`, `red`, `pink`
- **Gray Colors**: `slate`, `gray`, `zinc`, `neutral`

Each color includes a full scale from 50 to 950.

### Themes

- `lightTheme` - Light mode semantic tokens
- `darkTheme` - Dark mode semantic tokens

### Utilities

- `generateCSSVariables()` - Generate CSS custom properties from tokens

## License

MIT
npm package: @onesaz/ui
Description: Onesaz UI component library - React components with theming and Tailwind CSS
Author: Onesaz
Latest version: 0.4.12

# @onesaz/ui

A React component library with theming, accessibility, and Tailwind CSS support.

## Installation

```bash
npm install @onesaz/ui
```

## Quick Start

```tsx
import '@onesaz/ui/styles.css'
import { ThemeProvider, Button, Select } from '@onesaz/ui'

function App() {
  return (
    <ThemeProvider defaultTheme="system" accentColor="purple">
      <Button>Click me</Button>

      <Select>
        <Select.Trigger placeholder="Select option..." />
        <Select.Content>
          <Select.Item value="1">Option 1</Select.Item>
          <Select.Item value="2">Option 2</Select.Item>
        </Select.Content>
      </Select>
    </ThemeProvider>
  )
}
```

## Components

### Form Controls
- `Button` - Buttons with multiple variants
- `Input` - Text input fields
- `Textarea` - Multi-line text input
- `Checkbox` - Checkbox with label support
- `Switch` - Toggle switch
- `Select` - Dropdown select with search
- `Combobox` - Autocomplete input
- `Label` - Form labels

### Layout
- `Card` - Container component with header/footer
- `Separator` - Visual divider
- `Table` - Data tables with sorting

### Feedback
- `Badge` - Status badges
- `Spinner` - Loading indicator
- `Dialog` - Modal dialogs

### Navigation
- `Pagination` - Page navigation

## Theming

The library supports dynamic theming with:

- **Light/Dark mode**: Automatic system preference detection
- **Accent colors**: purple, blue, cyan, teal, green, orange, red, pink
- **Gray scales**: slate, gray, zinc, neutral
- **Border radius**: none, small, medium, large, full

```tsx
<ThemeProvider
  defaultTheme="system"
  accentColor="blue"
  grayColor="slate"
  radius="medium"
>
  <App />
</ThemeProvider>
```

### useTheme Hook

```tsx
import { useTheme } from '@onesaz/ui'

function ThemeToggle() {
  const { theme, setTheme } = useTheme()

  return (
    <button onClick={() => setTheme(theme === 'dark' ? 'light' : 'dark')}>
      Toggle theme
    </button>
  )
}
```

## Tailwind CSS Setup

For custom components, use the shared Tailwind config:

```javascript
// tailwind.config.js
module.exports = {
  presets: [require('@onesaz/tailwind-config')],
  content: [
    './src/**/*.{js,ts,jsx,tsx}',
    './node_modules/@onesaz/ui/**/*.js',
  ],
}
```

## Peer Dependencies

- `react` ^18.0.0
- `react-dom` ^18.0.0

## License

MIT
npm package: @oneschema/filefeeds
Description: OneSchema FileFeeds embedding library
Author: OneSchema
Latest version: 0.5.2

<p align="center">
  <a href="https://www.oneschema.co/">
    <img src="https://uploads-ssl.webflow.com/62902d243ad8aef519be0d3e/62902d243ad8ae4014be0e97_oneschema-256.png" height="128">
    <h1 align="center">OneSchema FileFeeds</h1>
  </a>
</p>

A tool for embedding [OneSchema FileFeeds](https://www.oneschema.co/filefeeds)
into your application.

This library will give you convenient bindings to add an iframe to your
application which can create new OneSchema FileFeeds and edit their transforms.

## Getting Started

### Installation

You can install this package with npm:

```bash
npm i --save @oneschema/filefeeds
```

or with a script tag:

```html
<script src="https://d3ah8o189k1llu.cloudfront.net/oneschema-filefeeds-0.4.latest.min.js"></script>
```

### Sample usage

```javascript
import oneschemaFileFeeds from "@oneschema/filefeeds"

const fileFeeds = oneschemaFileFeeds({
  userJwt: "YOUR_USER_JWT",
  devMode: true,
  className: "oneschema-filefeeds",
})

fileFeeds.launch()

fileFeeds.on("init-failed", (data) => {
  // handle failures.
})

fileFeeds.on("init-succeeded", (data) => {
  // handle embedding session updates.
})

fileFeeds.on("saved", (data) => {
  // handle FileFeeds transforms being saved.
})
```

## Documentation

Please see [📚 OneSchema's documentation](https://docs.oneschema.co/) for
[▶️ Getting Started](https://docs.oneschema.co/docs/filefeeds-getting-started),
[📒 API reference](https://docs.oneschema.co/docs/javascript#api-reference) and
other helpful guides.
npm package: @oneschema/filefeeds-react
Description: React component for embedding OneSchema FileFeeds
Author: OneSchema
Latest version: 0.5.2

<p align="center">
  <a href="https://www.oneschema.co/">
    <img src="https://uploads-ssl.webflow.com/62902d243ad8aef519be0d3e/62902d243ad8ae4014be0e97_oneschema-256.png" height="128">
    <h1 align="center">OneSchema FileFeeds</h1>
  </a>
</p>

A tool for embedding [OneSchema FileFeeds](https://www.oneschema.co/filefeeds)
into your application with React.

This library contains a React component which will allow you to add an iframe to
your application which can create new OneSchema FileFeeds and edit their
transforms.

## Getting Started

### Installation

You can install this package with npm:

```bash
npm i --save @oneschema/filefeeds-react
```

### Sample usage

```javascript
import React, { useState } from "react"
import OneSchemaFileFeeds from "@oneschema/filefeeds-react"

function OneSchemaFileFeedsExample() {
  const [isOpen, setIsOpen] = useState(false)

  const handleData = (data) => {
    console.log(data)
  }

  return (
    <div>
      <button onClick={() => setIsOpen(true)}>Open the file feed transforms</button>

      <OneSchemaFileFeeds
        /* managing state from your application */
        isOpen={isOpen}
        /* required config values */
        userJwt={userJwt}
        /* optional config values */
        devMode={process.env.NODE_ENV !== "production"}
        style={{
          position: "fixed",
          top: 0,
          left: 0,
          width: "100vw",
          height: "100vh",
        }}
        inline={false}
        /* handling results */
        onInitFail={(data) => updateStatus("Initialization failed.", data)}
        onInitSucceed={(data) => {
          setSessionId(data.sessionId)
          updateStatus("Initialization succeeded.", data)
        }}
        onSave={(data) => updateStatus("Saved.", data)}
      />
    </div>
  )
}
```

## Documentation

Please see [📚 OneSchema's documentation](https://docs.oneschema.co/) for
[▶️ Getting Started](https://docs.oneschema.co/docs/filefeeds-getting-started),
[📒 API reference](https://docs.oneschema.co/docs/javascript#api-reference) and
other helpful guides.
npm package: @oneschema/importer
Description: Vanilla JS library for embedding OneSchema Importer
Author: OneSchema
Latest version: 0.7.3

<p align="center">
  <a href="https://www.oneschema.co/">
    <img src="https://uploads-ssl.webflow.com/62902d243ad8aef519be0d3e/62902d243ad8ae4014be0e97_oneschema-256.png" height="128">
    <h1 align="center">OneSchema Importer</h1>
  </a>
</p>

A tool for embedding OneSchema into your application. This library will give you convenient bindings to add an iframe to your application which can open OneSchema and import data into your application.

## Getting Started

### Installation

You can install this package with npm:

```bash
npm i --save @oneschema/importer
```

or with a script tag:

```html
<script src="https://d3ah8o189k1llu.cloudfront.net/oneschema-importer-0.3.latest.min.js"></script>
```

### Sample usage

```javascript
import oneschemaImporter from "@oneschema/importer"

const importer = oneschemaImporter({
  /* required here */
  clientID: 'YOUR_CLIENT_ID',
  /* required here or at launch */
  templateKey: 'YOUR_TEMPLATE_KEY',
  userJwt: 'YOUR_USER_JWT',
  /* optional */
  importConfig: { type: "local" }
  devMode: true,
  className: 'oneschema-importer',
})

importer.launch()
// OR
// pass overrides and values not specified at creation time:
importer.launch({
  templateKey: 'YOUR_TEMPLATE_KEY',
  userJwt: 'YOUR_USER_JWT',
  importConfig: { type: "local" }
})

importer.on("success", (data) => {
  // handle success
})

importer.on("cancel", () => {
  // handle cancel
})

importer.on("error", (message) => {
  // handle error
})
```

## Documentation

Please see [📚 OneSchema's documentation](https://docs.oneschema.co/) for [📒 API reference](https://docs.oneschema.co/docs/javascript#api-reference) and other helpful guides.
npm package: @oneschema/react
Description: React component for embedding OneSchema Importer
Author: OneSchema
Latest version: 0.7.2

<p align="center">
  <a href="https://www.oneschema.co/">
    <img src="https://uploads-ssl.webflow.com/62902d243ad8aef519be0d3e/62902d243ad8ae4014be0e97_oneschema-256.png" height="128">
    <h1 align="center">OneSchema Importer</h1>
  </a>
</p>

A tool for embedding OneSchema into your application with React. This library contains a React component which will allow you to add an iframe to your application which can open OneSchema and import data into your application.

## Getting Started

### Installation

You can install this package with npm:

```bash
npm i --save @oneschema/react
```

### Sample usage

```javascript
import React, { useState } from "react"
import OneSchemaImporter from "@oneschema/react"

function OneSchemaExample() {
  const [isOpen, setIsOpen] = useState(false)

  const handleData = (data) => {
    console.log(data)
  }

  return (
    <div>
      <button onClick={() => setIsOpen(true)}>Import</button>

      <OneSchemaImporter
        /* managing state from your application */
        isOpen={isOpen}
        onRequestClose={() => setIsOpen(false)}
        /* required config values */
        clientId={clientId}
        userJwt={token}
        templateKey={templateKey}
        /* optional config values */
        importConfig={{ type: "local", metadataOnly: false, }}
        devMode={process.env.NODE_ENV !== "production"}
        className="oneschema-importer"
        style={{
          position: "fixed",
          top: 0,
          left: 0,
          width: "100vw",
          height: "100vh",
        }}
        inline={false}
        /* handling results */
        onSuccess={handleData}
        onCancel={() => console.log("cancelled")}
        onError={(error) => console.log(error)}
      />
    </div>
  )
}
```

## Documentation

Please see [📚 OneSchema's documentation](https://docs.oneschema.co/) for [📒 API reference](https://docs.oneschema.co/docs/react#api-reference) and other helpful guides.
npm package: @oneschema/vue
Description: Vue plugin for embedding OneSchema Importer
Author: OneSchema
Latest version: 0.7.2

<p align="center">
  <a href="https://www.oneschema.co/">
    <img src="https://uploads-ssl.webflow.com/62902d243ad8aef519be0d3e/62902d243ad8ae4014be0e97_oneschema-256.png" height="128">
    <h1 align="center">OneSchema Importer</h1>
  </a>
</p>

A tool for embedding OneSchema into your application with Vue. This library contains a Vue plugin which will allow you to add an iframe to your application which can open OneSchema and import data into your application.

## Getting Started

### Installation

You can install this package with npm:

```bash
npm i --save @oneschema/vue
```

### Configure the SDK
Create an instance of the `OneSchemaPlugin` by calling `createOneSchemaImporter` and passing it to Vue's `app.use()`

```javascript
import { createOneSchemaImporter } from '@oneschema/vue'

const app = createApp(App)

app.use(
  createOneSchemaImporter({
    clientId: '<CLIENT_ID>',
    ...initParams
  })
)

app.mount('#app')
```

### Sample usage
Once the OneSchema plugin has been registered, you can call the `useOneSchemaImporter` function to obtain the `OneSchemaImporterClass` instance.

```vue
<script setup lang="ts">
  import { useOneSchemaImporter } from "@oneschema/vue"

  const importer = useOneSchemaImporter();

  const launchOneSchema = function () {
    importer.launch();

    importer.on('success', (data) => {
      // TODO: handle success
      console.log(data);
    });

    importer.on('cancel', () => {
      // TODO: handle cancel
    });

    importer.on('error', (message) => {
      // TODO: handle errors
      console.log(message);
    });
  };
</script>
<template>
  <button @click="launchOneSchema">Launch embed</button>
</template>

<style>
  .oneschema-iframe {
    width: 100vw;
    height: 100vh;
    border: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10000; /* adjust as needed */
  }
</style> 
```

## Documentation

Please see [📚 OneSchema's documentation](https://docs.oneschema.co/) for [📒 API reference](https://docs.oneschema.co/docs/vue#api-reference) and other helpful guides.
npm package: @onesclawkolor/onesclaw
Description: ONES internal AI Agent CLI
Latest version: 0.1.1

# onesclaw

ONES 企业内部 AI Agent CLI。

## Quick Start

公开 npm 安装：

```bash
npm install -g @onesclawkolor/onesclaw
onesclaw init
onesclaw
```

或手动安装：

```bash
npm install -g @onesclawkolor/onesclaw
onesclaw init
onesclaw
```

公开 npm 发布使用个人 scope，例如当前账号为 `onesclawkolor` 时：

```bash
npm install -g @onesclawkolor/onesclaw
onesclaw init
onesclaw
```

## Requirements

- Node.js >= 18
- macOS / Linux（Windows 请使用 WSL）

## Stage Gates

- 路线图：`phases.md`
- 蓝图：`docs/blueprint-v1.md`
- 面试讲述稿：`docs/interview/onesclaw-sre-interview.md`
- 标准部署文档：`docs/operations/standard-deployment-guide.md`
- 阶段门禁文档：`docs/gates/`
- 发布运维 Runbook：`docs/operations/release-runbook.md`
- Phase1 冲刺看板：`docs/gates/phase1-sprint-board.md`
- Phase1 OAuth 矩阵：`docs/gates/phase1-oauth-matrix.md`
- 核心覆盖率检查：`npm run coverage:core`
- 运行自检：`npm run doctor`
- 安装演练：`npm run install:rehearsal`
- 本地预检：`npm run gate:all:local`
- 私有发布：`npm run release:publish:private`
- 公开发布：`npm run release:publish:public`
- 安装入口上传：`npm run release:install:upload`
- 远端安装验证：`npm run release:install:verify`
- 阶段命令：
  - `npm run gate:phase0`
  - `npm run gate:phase1`
  - `npm run gate:phase1:strict-dryrun`
  - `npm run gate:phase1_5`
  - `npm run gate:phase2`
  - `npm run gate:phase3`
  - `npm run gate:phase4`
  - `npm run gate:phase4-skills`
  - `npm run gate:phase5`
  - `npm run gate:phase6-provider`
  - `npm run gate:all:local`
  - `npm run gate:all`
- 作用域白名单强制模式：`GATE_STRICT_SCOPE=true npm run gate:phaseX`
npm package: @onescreener/meteor-auth0-lock
Description: Use the Auth0 lock widget to log into a meteor app from another origin (e.g. landing page)
Author: Joël Meiller
Latest version: 0.3.0

# meteor-auth0-lock
Log into your Meteor application from an external resource using the Auth0 lock widget.


## Requirements
Your application needs to install the meteor package optune:meteor-auth0-oauth in order for it to work.

## Options
The following example shows all the options available to configure your lock widget and login parameters.

```

```
## Installation

### Npm
```npm i @onescreener/meteor-auth0-lock```

### Yarn
```yarn add @onescreener/meteor-auth0-lock```

Import the package on start up. Auth0 is added globally.

```
import moment from 'moment'

...

import '@onescreener/meteor-auth0-lock'

...
```

## Setup
To open Auth0 lock provide the options as in the example below

```
const options = {
  type: 'login' // Either 'login', 'signup' or <empty> which shows both options in the widget
  auth0: {
    clientId: 'isWcakHuMWoQlrEIdPhUpb-lo9VOnRzJ',
    domain: 'auth-dev.onescreener.com',
    rootUrl: 'http://localhost:3000',
    callbackUrl: 'http://localhost:3000',
    origin: 'localhost', // Use for cookie control access make
  },

  containerId: 'lock-container', // DIV container id to add the lock inline
  languageDictionary: {
    title: 'Log in',
    signUpTitle: 'Get started for free',
  },
  theme: {
    logo:
      'https://res.cloudinary.com/optune-me/image/upload/c_pad,h_58,w_200/v1558014130/onescreener-v2/app/logo-onescreener.png',
    primaryColor: '#27E200',
  },
}

Auth0.showLock(options)

```
npm package: @onesheep/prettier-config
Description: Standardised code formatting
Author: Jannie Theunissen
Latest version: 0.0.12

# @onesheep/prettier-config
[![Build Status][shield-github-build-status]][link-build-status] [![npm][shield-npm]][npm] [![MIT License][shield-license]][license]

Standardised code formatting via [Prettier](https://prettier.io/)
[config](https://prettier.io/docs/en/configuration.html).

## Installation

```shell script
npm i -D @onesheep/prettier-config
```

## Usage

Reference `@onesheep/prettier-config` in your `package.json`:

<!-- prettier-ignore -->
```json
{
  "name": "the-wicked-app",
  "version": "1.2.4",
  "prettier": "@onesheep/prettier-config"
}
```

## Contribution

See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

Use the following to cut a new release:

```
npx standard-version
```

## License

[MIT][license] &copy; [OneSheep][onesheep]

[license]: ./LICENSE
[onesheep]: https://onesheep.org
[npm]: https://npmjs.org/package/@onesheep/prettier-config
[link-build-status]:https://github.com/OneSheep/prettier-config/actions/workflows/npm-publish.yml
[shield-github-build-status]:https://github.com/OneSheep/prettier-config/actions/workflows/npm-publish.yml/badge.svg
[shield-license]: https://img.shields.io/badge/License-MIT-lavender.svg
[shield-npm]: https://img.shields.io/npm/v/@onesheep/prettier-config.svg