open-index/open-npm huggingface dataset:
npm package: @soleri/domain-code-review
Description: Code review intelligence domain pack for Soleri agents — hex color detection, architecture boundary warnings, and review patterns.
Latest version: 1.0.0

# @soleri/domain-code-review

Code review intelligence domain pack for Soleri agents — design token enforcement, architecture boundary detection, accessibility auditing, and visual change classification.

## What it does

This pack provides the `code-review` domain with 8 algorithmic ops split across two facades and 2 warning detectors.

### Warning Detectors

| Detector | Scans | Purpose |
|----------|-------|---------|
| `HexColorDetector` | `.ts`, `.tsx`, `.js`, `.jsx`, `.css`, `.scss` | Flags hardcoded hex colors that bypass the design token system |
| `ArchitectureBoundaryDetector` | `.ts`, `.tsx` | Flags cross-feature imports and UI-data layer coupling violations |

Detectors are registered with `PackRuntime` via `onActivate`.

### Ops

**GitHub-sourced (pre-extracted diff data):**

| Op | Description |
|----|-------------|
| `review_pr_design` | Review PR diff for design token violations (hex colors, arbitrary values, `!important`, inline styles, missing alt) |
| `check_architecture` | Check import statements for architecture boundary violations |
| `search_review_context` | Search the built-in knowledge base (or vault) for review patterns |
| `generate_review_summary` | Generate a structured summary with severity counts and verdict |

**Playwright-sourced (pre-extracted DOM/style data):**

| Op | Description |
|----|-------------|
| `validate_page_styles` | Validate computed styles against design system scales (font size, spacing, line height, colors) |
| `accessibility_audit` | Audit elements for missing labels, bad contrast, missing roles, tab order issues |
| `classify_visual_changes` | Classify before/after style changes as cosmetic, structural, or behavioral |
| `validate_component_states` | Validate that a component implements all required interaction states (default, hover, focus, disabled, error) |

## Install

```bash
npm install @soleri/domain-code-review
```

Requires `@soleri/core` >= 9.0.0 as a peer dependency.

## Usage

Add to your `agent.yaml`:

```yaml
packs:
  - name: code-review
    package: "@soleri/domain-code-review"
```

## Development

```bash
npm install
npm run build        # tsc
npm test             # vitest run
npm run typecheck    # tsc --noEmit
```

## Publishing

Tag and push to trigger CI:

```bash
git tag v<version>
git push origin v<version>
```

## License

Apache-2.0
npm package: @soleri/domain-component
Description: Component intelligence domain pack for Soleri agents.
Latest version: 1.0.0

# @soleri/domain-component

Component registry lifecycle domain pack for Soleri agents.

## What it does

Provides component intelligence ops across a single `component` domain: search, inspect, register, drift detection, dependency analysis, and sync status checking. Ops are vault-backed when a `PackRuntime` is available, with an in-memory registry fallback.

### Ops

| Op | Auth | Description |
|----|------|-------------|
| `search` | read | Search vault for components by query string |
| `get` | read | Get a component by ID from the registry |
| `list` | read | List components with optional tag/name filters |
| `create` | write | Register a new component in the vault with metadata |
| `detect_drift` | read | Compare component code against stored vault metadata to detect prop/structure changes |
| `analyze_dependencies` | read | Parse import statements in component code to build a dependency graph |
| `sync_status` | read | Check sync between vault registry and a provided file list |

## Install

```bash
npm install @soleri/domain-component
```

Requires `@soleri/core` ^9.0.0 as a peer dependency.

## Usage

Add the pack to your `agent.yaml`:

```yaml
packs:
  - name: component
    package: "@soleri/domain-component"
```

## Development

```bash
npm install
npm run build       # tsc
npm test            # vitest
npm run typecheck   # tsc --noEmit
```

## Pack Structure

```
src/
  index.ts          # Pack definition (default export)
  __tests__/        # Tests
data/               # Static data files (JSON, etc.)
knowledge/          # Tiered knowledge (canonical, curated, captured)
```

## Publishing

Tag a release and push to trigger CI:

```bash
git tag v<version>
git push origin v<version>
```

## License

Apache-2.0
npm package: @soleri/domain-design-qa
Description: Design QA intelligence domain pack for Soleri agents.
Latest version: 1.0.0

# @soleri/domain-design-qa

Design QA intelligence domain pack for Soleri agents. Provides 5 algorithmic ops for token drift detection, hardcoded color detection, component sync, accessibility prechecks, and handoff audits. All ops process pre-extracted data -- no external API calls required.

## Ops

| Op | Description |
|----|-------------|
| `detect_token_drift` | Compare design tokens against a token map. Returns matched, unmatched, and drifted lists with a health score. |
| `detect_hardcoded_colors` | Reverse-index hex colors against a token map. Returns which colors have tokens and which are hardcoded. |
| `sync_components` | Match design components against code components by name. Reports sync status with multi-strategy matching. |
| `accessibility_precheck` | WCAG contrast check on foreground/background color pairs. Supports text, large-text, and graphics contexts. |
| `handoff_audit` | Audit component metadata completeness. With full inputs, returns a composite score (40% token drift, 30% component sync, 30% accessibility). |

## Install

```bash
npm install @soleri/domain-design-qa
```

Requires `@soleri/core` >= 9.0.0 as a peer dependency.

## Usage

Add the pack to your `agent.yaml`:

```yaml
packs:
  - name: design-qa
    package: "@soleri/domain-design-qa"
```

The pack registers under the `design-qa` domain and activates automatically when the agent starts.

## Development

```bash
npm install
npm run build
npm test
npm run typecheck
```

## Publishing

Tag and push to trigger CI:

```bash
git tag v<version>
git push origin v<version>
```

## License

Apache-2.0
npm package: @soleri/engine
Description: Soleri Knowledge Engine — MCP server binary for AI agents. Reads agent.yaml, boots vault/brain/planner, registers tools.
Author: adrozdenko
Latest version: 9.20.2

# @soleri/engine

MCP server binary for Soleri agents. Reads `agent.yaml`, boots the Knowledge Engine (vault, brain, planner, curator), and registers all tools over stdio.

## Usage

```bash
npx @soleri/engine --agent ./agent.yaml
```

Or in `.mcp.json`:

```json
{
  "mcpServers": {
    "my-agent": {
      "command": "npx",
      "args": ["-y", "@soleri/engine", "--agent", "./agent.yaml"]
    }
  }
}
```

This package is a thin wrapper around `@soleri/core`'s engine binary.