open-index/open-npm huggingface dataset:
npm package: @smartergpt/lex-mcp
Description: MCP server for Lex episodic memory - stdio transport wrapper
Author: Guffawaffle
Latest version: 2.5.2

# @smartergpt/lex-mcp

MCP server wrapper for [Lex](https://github.com/Guffawaffle/lex) episodic memory.

## Quick Start

```bash
npx @smartergpt/lex-mcp
```

## Configuration

### VS Code / Copilot

Add to `.vscode/mcp.json`:

```json
{
  "servers": {
    "lex": {
      "command": "npx",
      "args": ["@smartergpt/lex-mcp"],
      "env": {
        "LEX_WORKSPACE_ROOT": "${workspaceFolder}"
      }
    }
  }
}
```

### Claude Desktop

Add to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "lex": {
      "command": "npx",
      "args": ["@smartergpt/lex-mcp"]
    }
  }
}
```

## Environment Variables

| Variable | Description | Default |
|----------|-------------|---------|
| `LEX_WORKSPACE_ROOT` | Workspace root directory | Current directory |
| `LEX_MEMORY_DB` | SQLite database path | `.smartergpt/lex/lex.db` |
| `LEX_DEBUG` | Enable debug logging | Off |

## Tools

This MCP server provides 14 tools for episodic memory management:

- `frame_create` - Store episodic memory snapshot
- `frame_search` - Search frames by reference, branch, or ticket
- `frame_get` - Retrieve specific frame by ID
- `frame_list` - List recent frames with filtering
- `frame_validate` - Validate frame input (dry-run)
- `policy_check` - Validate code against policy rules
- `timeline_show` - Visual timeline of frame evolution
- `atlas_analyze` - Analyze code structure and dependencies
- `system_introspect` - Discover Lex capabilities and state
- `help` - Usage help and examples
- `hints_get` - Retrieve error recovery hints
- `contradictions_scan` - Detect conflicting information across frames
- `db_stats` - Database statistics and activity metrics
- `turncost_calculate` - Turn Cost governance metrics

## Learn More

See the [Lex documentation](https://github.com/Guffawaffle/lex) for full details.
npm package: @smarterlabs/babel-preset
Description: A Babel preset for JavaScript projects.
Author: Kennedy Rose
Latest version: 1.1.2

# @smarterlabs/babel-preset

A Babel preset for JavaScript projects.

## Installation

```bash
$ npm install --save @smarterlabs/babel-preset
```

## Usage

In your `.babelrc` file:

```json
{
  "presets": [
    "@smarterlabs/babel-preset"
  ]
}
```

## Targeting Environments

Please refer to [@babel/preset-env#targets](https://babeljs.io/docs/en/babel-preset-env#targets) for a list of available options.

For a list of browsers please see [browserlist](https://github.com/ai/browserslist).

You may override our default list of targets by providing your own `targets` key.

```json
{
  "presets": [["@smarterlabs/babel-preset", {
    "targets": {
      "chrome": 50,
      "ie": 11,
      "firefox": 45
    }
  }]]
}
```
npm package: @smarterlabs/eslint-config
Description: An ESLint config for Smarter Labs JavaScript projects.
Author: https://smarterlabs.com
Latest version: 1.0.9

# @smarterlabs/eslint-config

An ESLint config for JavaScript projects.

## Installation

```bash
$ npm install --save @smarterlabs/eslint-config
```

## Usage

In your `.eslintrc` file:

```json
{
	"extends": "@smarterlabs"
}
```
npm package: @smarterlabs/gatsby-plugin-browser-dependencies
Description: Excludes browser-only dependencies from your SSR builds in Gatsby.
Author: Kennedy Rose
Latest version: 1.0.2

# @smarterlabs/gatsby-plugin-browser-dependencies

Excludes browser-only dependencies from your SSR builds in Gatsby.

## Installation

```bash
yarn add @smarterlabs/gatsby-plugin-browser-dependencies
```

or

```bash
npm install --save @smarterlabs/gatsby-plugin-browser-dependencies
```

## Usage

```js
// gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: `@smarterlabs/gatsby-plugin-browser-dependencies`,
      options: {
        dependencies: [
          `auth-js`,
          `browser-only-module`,
        ]
      },
    },
  ],
}
```
npm package: @smarterlabs/gatsby-source-cloudinary
Description: Transform Cloudinary images for use with gatsby-image
Latest version: 1.0.0

# gatsby-plugin-cloudinary

## More documentation coming soon!! This package is not well tested and is assumed to have bugs, please submit an issue or open a PR if you can fix one!

### gatsby-config.js
```js
//
plugins = [
	...plugins,
	{
		resolve: `gatsby-plugin-cloudinary`,
		options: {
			apiKey: CLOUDINARY_API_KEY,
			apiSecret: CLOUDINARY_API_SECRET,
			cloudName: CLOUDINARY_NAME,
			queryParams: {...queryParams},
		},
	},
]
```

### Query Params
- resource_type
- type
- prefix
- public_ids
- max_results
- next_cursor
- start_at
- direction
- tags
- context
- moderation

More information regarding query params: [here](https://cloudinary.com/documentation/admin_api)

## Graphql

Example Query including all fields

```graphql
allCloudinary {
	edges {
		node {
			bytes
			children
			cloudName
			createdAt
			fixed
			fluid
			format
			height
			id
			internal
			parent
			publicId
			resourceType
			secureUrl
			type
			url
			version
			width
		}
	}
}
```

### Gatsby Image Support

#### Fixed/Fluid Args
- fixed: background, crop, format, gravity, height, quality, width
- fluid: background, crop, format, gravicty, maxHeight, maxWidth, quality, sizes

#### Fragments
- fixed: GatsbyCloudinaryFixed, GatsbyCloudinaryFixed_tracedSVG, GatsbyCloudinaryFixed_noBase64, GatsbyCloudinaryFixed_withWebp, GatsbyCloudinaryFixed_withWebp_noBase64
- fluid: GatsbyCloudinaryFluid, GatsbyCloudinaryFluid_tracedSVG, GatsbyCloudinaryFluid_noBase64, GatsbyCloudinaryFluid_withWebp, GatsbyCloudinaryFluid_withWebp_noBase64
npm package: @smarterlabs/norman-plugin-lunr
Description: Creates lunr indexes with Norman
Author: https://smarterlabs.com
Latest version: 0.1.2

# @smarterlabs/norman-plugin-lunr

Creates lunr indexes with [Norman](https://github.com/smarterlabs/norman#readme).

## Installation

```bash
npm install --save @smarterlabs/norman-plugin-lunr
```

or with Yarn

```bash
yarn add @smarterlabs/norman-plugin-lunr
```

## Usage

```js
const Norman = require(`@smarterlabs/norman`)
const lunrPlugin = require(`@smarterlabs/norman-source-shopify`)

const norman = new Norman({
   collections: {
      'lunr-index': {
         type: `lunr`,
         ref: `id`,
         fields: [`title`, `sku`]
      },
   },
   on: {
      'data:shopify:product': ({ add, data }) => {
         add(`lunr-index`, data)
      },
   },
   plugins: [
      lunrPlugin(),
   ],
})
```
npm package: @smarterlabs/norman-source-shopify
Description: Adds Shopify data to a Norman data layer
Author: https://smarterlabs.com
Latest version: 0.3.0

# @smarterlabs/norman-source-shopify

Allows use of Shopify data in [Norman](https://github.com/smarterlabs/norman#readme).

## Installation

```bash
npm install --save @smarterlabs/norman-source-shopify
```

or with Yarn

```bash
yarn add @smarterlabs/norman-source-shopify
```

## Usage

**Note:** At the moment, this plugin only pulls in product data. This may change in the future, but for now we welcome any pull requests to expand the functionality of this plugin.

```js
const Norman = require(`@smarterlabs/norman`)
const shopifySource = require(`@smarterlabs/norman-source-shopify`)

const norman = new Norman({
   plugins: [
      shopifySource({
         // Required options
         domain: `store-name.myshopify.com`,
         storefrontAccessToken: process.env.SHOPIFY_ACCESS_TOKEN,

         // Other options and defaults
         maxFailures: 20,  // Number of failed fetches allowed before exiting process
         fetchSize: 250,   // Number of products to fetch at once, max 250
         timeout: 1000,    // Number of ms to wait before retrying after a fetch error
         pageLimit: 0,     // Set to zero to not restrict the number of page requests
      }),
   ],
   on: {
      'data:shopify:product': ({ data }) => {
         console.log(`Product:`, data)
      },
   }
})
```
npm package: @smarterlabs/omni
Description: Core module for [Omni-Directional Documents](https://github.com/smarterlabs/omni).
Author: https://smarterlabs.com
Latest version: 0.1.19

# Omni

Core module for [Omni-Directional Documents](https://github.com/smarterlabs/omni).

## Installation

```
npm install @smarterlabs/omni --save
```

or

```
yarn add @smarterlabs/omni
```

## Usage

```js
import Omni  from '@smarterlabs/omni'

const omni = new Omni({
	input: `src`,
	output: `dist`,
})

omni.watch()
```
npm package: @smarterlabs/omni-core
Description: Core module for [Omni-Directional Documents](https://github.com/smarterlabs/omni).
Author: https://smarterlabs.com
Latest version: 0.0.4

# Omni

Core module for [Omni-Directional Documents](https://github.com/smarterlabs/omni).

## Installation

```
npm install @smarterlabs/omni --save
```

or

```
yarn add @smarterlabs/omni
```

## Usage

```js
import Omni  from '@smarterlabs/omni'

const omni = new Omni({
	input: `src`,
	output: `dist`,
})

omni.watch()
```
npm package: @smarterlabs/omni-javascript
Description: A plugin that allows you to run JavaScript in [Omni-Directional Documents](https://github.com/smarterlabs/omni).
Author: https://smarterlabs.com
Latest version: 0.1.10
Deprecated: This package has been deprecated. Please use @smarterlabs/omni-plugin/javascript instead.

# Omni JavaScript Plugin

A plugin that allows you to run JavaScript in [Omni-Directional Documents](https://github.com/smarterlabs/omni).

## Installation

```
npm install @smarterlabs/omni-javascript --save
```

or

```
yarn add @smarterlabs/omni-javascript
```

## Usage

```js
import Omni  from '@smarterlabs/omni'
import omniJS from '@smarterlabs/omni-javascript'

const omni = new Omni({
	input: `src`,
  output: `dist`,
  plugins: [
    omniJS(),
  ],
})

omni.watch()
```

## Example

<pre lang='no-highlight'><code>
```js run
console.log(`Omni file processed!`)
```
</code></pre>
npm package: @smarterlabs/omni-php
Description: A plugin that allows you to run PHP in [Omni-Directional Documents](https://github.com/smarterlabs/omni).
Author: https://smarterlabs.com
Latest version: 0.1.9
Deprecated: This package has been deprecated. Please use @smarterlabs/omni-plugin-php instead.

# Omni PHP Plugin

A plugin that allows you to run PHP in [Omni-Directional Documents](https://github.com/smarterlabs/omni).

## Installation

```
npm install @smarterlabs/omni-php --save-dev
```

or

```
yarn add @smarterlabs/omni-php
```

## Usage

```js
import Omni  from '@smarterlabs/omni'
import omniPHP from '@smarterlabs/omni-php'

const omni = new Omni({
	input: `src`,
  output: `dist`,
  plugins: [
    omniPHP(),
  ],
})

omni.watch()
```

## Example

<pre lang='no-highlight'><code>
```php run
echo "Hello world!";
```
</code></pre>
npm package: @smarterlabs/omni-plugin-interpolation
Description: String interpolation plugin for [Omni-Directional Documents](https://github.com/smarterlabs/omni).
Author: https://smarterlabs.com
Latest version: 0.1.13

# Omni Interpolation Plugin

String interpolation plugin for [Omni-Directional Documents](https://github.com/smarterlabs/omni).

## Installation

```
npm install @smarterlabs/omni-plugin-interpolation --save
```

or

```
yarn add @smarterlabs/omni-plugin-interpolation
```

## Usage

```js
import Omni  from '@smarterlabs/omni'
import omniInterpolation from '@smarterlabs/omni-plugin-interpolation'

const omni = new Omni({
	input: `src`,
  output: `dist`,
  plugins: [
    omniInterpolation(),
  ],
})

omni.watch()
```

## Example

<pre lang='no-highlight'><code>
```json interpolate
{
  "__scope": "nav"
}
```

```js export
console.log(`__scope`) // Logs "nav"
```
</code></pre>
npm package: @smarterlabs/omni-plugin-javascript
Description: A plugin that allows you to run JavaScript in [Omni-Directional Documents](https://github.com/smarterlabs/omni).
Author: https://smarterlabs.com
Latest version: 0.1.12

# Omni JavaScript Plugin

A plugin that allows you to run JavaScript in [Omni-Directional Documents](https://github.com/smarterlabs/omni).

## Installation

```
npm install @smarterlabs/omni-plugin-javascript --save
```

or

```
yarn add @smarterlabs/omni-plugin-javascript
```

## Usage

```js
import Omni  from '@smarterlabs/omni'
import omniJS from '@smarterlabs/omni-plugin-javascript'

const omni = new Omni({
	input: `src`,
  output: `dist`,
  plugins: [
    omniJS(),
  ],
})

omni.watch()
```

## Example

<pre lang='no-highlight'><code>
```js run
console.log(`Omni file processed!`)
```
</code></pre>
npm package: @smarterlabs/omni-plugin-json
Description: A plugin that allows you to use `json` config blocks in [Omni-Directional Documents](https://github.com/smarterlabs/omni).
Author: https://smarterlabs.com
Latest version: 0.0.2

# Omni Yaml JSON

A plugin that allows you to use `json` config blocks in [Omni-Directional Documents](https://github.com/smarterlabs/omni).

## Installation

```
npm install @smarterlabs/omni-plugin-json --save
```

or

```
yarn add @smarterlabs/omni-plugin-json
```

## Usage

```js
import Omni  from '@smarterlabs/omni'
import omniJSON from '@smarterlabs/omni-plugin-json'

const omni = new Omni({
  input: `src`,
  output: `dist`,
  plugins: [
    omniJSON(),
  ],
})

omni.watch()
```

## Example

<pre lang='no-highlight'><code>
```json config
{
	"interpolate": {
		"_scope_": "scope-name"
	}
}
```
</code></pre>
npm package: @smarterlabs/omni-plugin-php
Description: A plugin that allows you to run PHP in [Omni-Directional Documents](https://github.com/smarterlabs/omni).
Author: https://smarterlabs.com
Latest version: 0.1.12

# Omni PHP Plugin

A plugin that allows you to run PHP in [Omni-Directional Documents](https://github.com/smarterlabs/omni).

## Installation

```
npm install @smarterlabs/omni-plugin-php --save-dev
```

or

```
yarn add @smarterlabs/omni-pugin-php
```

## Usage

```js
import Omni  from '@smarterlabs/omni'
import omniPHP from '@smarterlabs/omni-plugin-php'

const omni = new Omni({
	input: `src`,
  output: `dist`,
  plugins: [
    omniPHP(),
  ],
})

omni.watch()
```

## Example

<pre lang='no-highlight'><code>
```php run
echo "Hello world!";
```
</code></pre>
npm package: @smarterlabs/omni-plugin-yaml
Description: A plugin that allows you to use `yaml` config blocks in [Omni-Directional Documents](https://github.com/smarterlabs/omni).
Author: https://smarterlabs.com
Latest version: 0.1.13

# Omni Yaml Plugin

A plugin that allows you to use `yaml` config blocks in [Omni-Directional Documents](https://github.com/smarterlabs/omni).

## Installation

```
npm install @smarterlabs/omni-plugin-yaml --save
```

or

```
yarn add @smarterlabs/omni-plugin-yaml
```

## Usage

```js
import Omni  from '@smarterlabs/omni'
import omniYaml from '@smarterlabs/omni-plugin-yaml'

const omni = new Omni({
	input: `src`,
  output: `dist`,
  plugins: [
    omniYaml(),
  ],
})

omni.watch()
```

## Example

<pre lang='no-highlight'><code>
```yaml config
interpolate:
  __scope: scope-name
```
</code></pre>
npm package: @smarterlabs/site-downloader
Description: Converts any website into a static site. Minimal changes are made to ensure pages can still render staticly.
Latest version: 0.0.4

# @smarterlabs/site-downloader

Converts any website into a static site. Minimal changes are made to ensure pages can still render staticly.

## Usage

```js
const siteDownloader = require(`@smarterlabs/site-downloader`)

siteDownloader({

	// Sitemaps to be parsed for page locations
	entry: [
		`https://originsite.com/sitemap.xml`,
	],


	// Add domains here to also crawl assets from other locations when encountered, useful for CDNs
	domains: [
		{ domain: `originsite.com`, path: `/` },
		{ domain: `assets.cdn.com`, path: `/assets` },
	],

	// Output directory
    dist: `dist`,
})
```