open-index/open-npm huggingface dataset:
npm package: @phantomind/contracts
Description: PhantomindAI shared domain contracts — types for the observability dashboard API
Author: Synaptode
Latest version: 0.1.1

# @phantomind/contracts

Shared TypeScript domain contracts for PhantomindAI.

This package provides the public type definitions used across the PhantomindAI ecosystem — consumed by `@phantomind/core` and the Angular observability dashboard.

## Install

```bash
npm install @phantomind/contracts
```

## Types

### `DashboardMetrics`

Aggregated metrics returned by the `/api/metrics` endpoint.

```ts
import type { DashboardMetrics } from '@phantomind/contracts';
```

| Field | Description |
|---|---|
| `overview` | Total requests, cost, tokens, active providers |
| `performance` | Avg response time, success rate, error count |
| `quality` | Secrets detected, hallucinations, consistency issues |
| `agents` | Tasks completed/failed, avg steps per task |

### `CostReport`

Cost breakdown for a given period returned by `/api/costs`.

```ts
import type { CostReport, CostPeriod } from '@phantomind/contracts';
```

`CostPeriod` is one of `'today' | 'week' | 'month' | 'all'`.

### `AuditEntry`

A single audit log entry from `/api/audit`.

```ts
import type { AuditEntry } from '@phantomind/contracts';
```

## License

MIT
npm package: @phantompane/cli
Description: A powerful CLI tool for managing Git worktrees for parallel development
Author: aku11i
Latest version: 6.2.0

# 👻 Phantom

A powerful CLI tool for seamless parallel development with Git worktrees.

Phantom makes Git worktrees simple and intuitive, enabling you to run multiple tasks in isolated environments simultaneously and achieve true multitask development.

## Installation

```bash
npm install -g @phantompane/cli
```

## Documentation

For detailed documentation, examples, and advanced usage, please visit:

https://github.com/phantompane/phantom

## License

MIT
npm package: @phantonaut/jsrpt-studio-theme-cc-blue
Description: Blue header theme for jsreport studio
Author: phantonaut
Latest version: 1.0.6

# @phantonaut-jsrpt/jsrpt-studio-theme-cc-blue
Blue theme header for JS-Reports.  Based on dark theme:
[![version](https://img.shields.io/npm/v/@finviet-jsrpt/jsrpt-studio-theme-dark.svg)](https://www.npmjs.org/package/@finviet-jsrpt/jsrpt-studio-theme-dark)
[![npm](https://img.shields.io/npm/dm/@finviet-jsrpt/jsrpt-studio-theme-dark.svg)](https://www.npmjs.org/package/@finviet-jsrpt/jsrpt-studio-theme-dark)
npm package: @phantonaut/jsrpt-studio-theme-cc-orange
Description: Orange header theme for jsreport studio
Author: phantonaut
Latest version: 1.0.7

# @phantonaut-jsrpt/jsrpt-studio-theme-cc-orange
Orange theme header for JS-Reports.  Based on dark theme:
[![version](https://img.shields.io/npm/v/@finviet-jsrpt/jsrpt-studio-theme-dark.svg)](https://www.npmjs.org/package/@finviet-jsrpt/jsrpt-studio-theme-dark)
[![npm](https://img.shields.io/npm/dm/@finviet-jsrpt/jsrpt-studio-theme-dark.svg)](https://www.npmjs.org/package/@finviet-jsrpt/jsrpt-studio-theme-dark)
npm package: @phanty/sass-bundler
Description: A package for bundling page-specific SASS/SCSS
Author: phanty
Latest version: 1.0.2

# sass-bundler
A quick and dirty npm package for bundling page-specific SASS/SCSS.

## Installation
`npm install --save-dev @phanty/sass-bundler`

## Usage

`@import` and `@use` statements in SASS must be preceeded by `!bundler`, e.g. `@use "!bundler/_partial.scss"`.

For the bundler to recognize partials, their filename must be preceeded by `_`.

Outputs partials used by all SASS files to a single file.

### Example

#### Input

`a.scss`
```
@use "!bundler/_partial1.scss"

#a{
  color: red;
}
```

`b.scss`
```
@use "!bundler/_partial1.scss"

#b{
  color: green;
}
```

`_partial1.scss`
```
span{
  font-weight: bold;
}
```

#### Compiles to

`a.css`
```
#a{
  color: red;
}
```

`b.css`
```
#b{
  color: green;
}
```

`shared.css`
```
span{
  font-weight: bold;
}
```

## CLI

### `sass-bundler [command] [options]` 

#### Commands:
* `help` - Print help
* `init` - Generate a default config file in current directory
* `build` - Build and bundle SASS/SCSS files. If sass-bundler.config.js isn't in the project root, uses default config.
* `watch` - Watch SASS/SCSS files for changes. If sass-bundler.config.js isn't in the project root, uses default config.

#### Options:
* `--config [string]` - Path to config file
* `--<CONFIG_ARG> [string]` - Overwrite config argument

## API

### `class Bundler(config?)`

* `.buildAll()` - Builds and bundles all SCSS/SASS files according to `config`
* `.watch()` - Watches files for changes. Incrementally compiles.

## Configuration

* `sassDir: [string]` - `./sass` - Path to the SASS/SCSS directory
* `outDir: [string]` - Default: `./build` - Path to the output directory
* `verbose: [boolean]` - Default: `false` - If true, prints which files have been compiled
* `sharedPath: [string]` - Default: `./build/shared.css` - Path to the file where to output the shared css
npm package: @phaoerjs/auto-resize
Description: web automatic adaptation
Author: phaoer
Latest version: 1.0.0

# auto-resize

web automatic adaptation

## Installation

```bash
npm i @phaoerjs/auto-resize
```

## Useage

```javascript
autoResize({
	container: "#content",
	iframes: [".iframes"],
	standardWidth: 1920,
	minimumWidth: 1200, 
	zoomCallback: function (res) {
	    console.log(res);
	},
});
```

## Option

- container

  Body or any other element

- iframes

  When an iframe is embedded, it can be configured to scale the iframe

- standardWidth

  Web page standard width

- minimumWidth

  When the width is less than or equal to minimaWidth, no scaling is performed

- zoomCallback

  Every time you make a zoom, this function will be called and you can replace the background image