open-index/open-npm huggingface dataset:
npm package: @rhobot-dev/pi-ralph
Description: pi extension/package to manage ralph loops from within the pi TUI
Latest version: 0.1.1

# pi-ralph

pi extension/package for managing **ralph** loops from inside the pi TUI.

- Status widget below the editor when loops exist
- `/ralph` overlay to inspect loops, follow logs, and run common loop actions
- `ralph_loop(...)` LLM tool to start loops in a PTY (so the native ralph TUI can be embedded)

## Requirements

- `pi` (works with the current pi package system)
- `ralph` on your `PATH` (tested with `ralph 2.4.4`)

## Install

### From npm

```bash
pi install npm:@rhobot-dev/pi-ralph
```

### Local (for development)

```bash
pi install ~/projects/pi-ralph
```

## Usage

- Start `pi` in a project where `ralph` works (has a `ralph.yml`).
- When loops exist, a small status widget appears **below the editor**.
- Open the loop manager overlay:
  - `/ralph`

### Keybindings

Overlay:

- `Esc` close (or back out of confirm/subviews)
- `←/→` switch focused loop
- `Shift+Up/Down` scroll (PTY)
- `s` stop (confirm with `y`/`n`)
- `m` merge
- `d` discard (confirm with `y`/`n`)
- `r` retry
- `H` history view (`q` back, arrows or `j/k` scroll)
- `D` diff view (`q` back)
- `a` attach a shell in the loop's directory/worktree

Main editor:

- `Ctrl+Shift+R` cycle focused loop

## LLM Tool

The extension registers a tool:

- `ralph_loop(prompt, directory, config?, maxIterations?, backend?, customArgs?)`

This spawns `ralph run` in a PTY so the native ralph TUI can be embedded in the overlay.

## Notes / Limitations

- `ralph loops list --json` may label the in-place loop as `(primary)`. For commands that require an actual loop ID (history/diff/logs/retry), pi-ralph attempts to resolve it from `.ralph/current-loop-id`.
- If `ralph` is not found on `PATH`, the extension disables itself gracefully.

## Release

This repo publishes to npm via GitHub Actions.

1) Bump `package.json` version.
2) Commit.
3) Tag and push a matching `v*` tag:

```bash
git tag v0.1.0
git push origin v0.1.0
```

The workflow supports npm Trusted Publishing (OIDC). Configure it in npm package settings (Trusted Publisher: GitHub Actions). If you haven't set that up yet, the workflow falls back to `NPM_TOKEN`.
npm package: @rhobweb/unit-test-utils
Description: Node CJS module unit test utilities
Author: Rhob Weber
Latest version: 1.0.1

# @rhobweb/unit-test-utils

## Overview

Simple framework for unit testing CJS Node.js modules using the following modules:

  - [mocha](https://www.npmjs.com/package/mocha) - testing framework;
  - [chai](https://www.npmjs.com/package/chai) - assertion library;
  - [sinon](https://www.npmjs.com/package/sinon) - test framework for stubs, spies and mocks;
  - [nyc](https://www.npmjs.com/package/nyc) - code coverage checker;
  - [rewire](https://www.npmjs.com/package/rewire) - allows access to the unexported items from the module under test;

## Features

The following unexported module items may be stubbed for testing:
  - function;
  - class constructor.

Unexported module items, e.g., variables, required modules, may be accessed and faked.

## Usage

See <code>./test/unit</code> for example usage.

## Testing

The following test scripts may be run from the command line:

  - <code>npm run test</code>
    - Runs the unit tests, code coverage and outputs the coverage stats.
  - <code>npm run coverage</code>
    - Generates the code coverage data in html format in the './coverage' directory.
  - <code>npm run lint</code>
    - Run eslint on the source and test code; if no errors are detected, only the lint command line is output.
npm package: @rhodesjason/webpack-filter-warnings-plugin
Description: Allows you to hide certain warnings from webpack compilations (forked from mattlewis92's abandoned package)
Author: Matt Lewis
Latest version: 2.0.0

# webpack-filter-warnings-plugin
[![npm][npm]][npm-url]
[![node][node]][node-url]
[![deps][deps]][deps-url]
[![tests][tests]][tests-url]
[![coverage][cover]][cover-url]

> Allows you to hide certain warnings from webpack compilations

## Install
```bash
npm i -D webpack-filter-warnings-plugin
```

## Usage

```js
// webpack.config.js
const { FilterWarningsPlugin } = require('webpack-filter-warnings-plugin');

module.exports = {
  // ... rest of webpack config
  plugins: [
    new FilterWarningsPlugin({ 
      exclude: /any-warnings-matching-this-will-be-hidden/ 
    })
  ]
}
```

### Using with Typescript

Webpack Filter Warnings Plugin is completely written in Typescript. As such, it exposes Typescript bindings. 

Before using it, install webpack typings:

```bash
npm i --save-dev @types/webpack
```

or

```bash
yarn add --dev @types/webpack
```

Use ES imports:

```typescript
// webpack.config.ts
import { FilterWarningsPlugin } from 'webpack-filter-warnings-plugin';

```

## Options

Library exposes only one option: `exclude`. It may be one of `RegExp`, `String` or `Function`.

### String as `exclude` filter

When passing string as exclude parameter, phrase is converted to wildcard and matches any phrase that contains it.

```js
// webpack.config.js
module.exports = {
  // ... rest of webpack config
  plugins: [
    new FilterWarningsPlugin({ 
      exclude: 'hide me'
    })
  ]
}

```

This config will match any of `Should hide me`, `Hide me, please`, `HiDe Me` (filter is case insensitive) etc.

### Function as `exclude` filter

```js
// webpack.config.js
module.exports = {
  // ... rest of webpack config
  plugins: [
    new FilterWarningsPlugin({ 
      exclude: (input) => /.*hide.*/.test(input),
    })
  ]
}
```

## Why not use the built in stats.warningsFilter option?
Currently karma-webpack does not respect the stats.warningsFilter option. Also when excluding all warnings, webpack still says `Compiled with warnings.` when all warnings are filtered. Hopefully this plugin will no longer need to exist one day.

## Licence
MIT

[npm]: https://img.shields.io/npm/v/webpack-filter-warnings-plugin.svg
[npm-url]: https://npmjs.com/package/webpack-filter-warnings-plugin

[node]: https://img.shields.io/node/v/webpack-filter-warnings-plugin.svg
[node-url]: https://nodejs.org

[deps]: https://david-dm.org/mattlewis92/webpack-filter-warnings-plugin.svg
[deps-url]: https://david-dm.org/mattlewis92/webpack-filter-warnings-plugin

[tests]: http://img.shields.io/travis/mattlewis92/webpack-filter-warnings-plugin.svg
[tests-url]: https://travis-ci.org/mattlewis92/webpack-filter-warnings-plugin

[cover]: https://codecov.io/gh/mattlewis92/webpack-filter-warnings-plugin/branch/master/graph/badge.svg
[cover-url]: https://codecov.io/gh/mattlewis92/webpack-filter-warnings-plugin
npm package: @rhodey/mdpage
Description: markdown html cli
Latest version: 1.1.0

# mdpage
Small cli for [markdown-it](https://www.npmjs.com/package/markdown-it)

Used to publish [lock.host](https://lock.host/) and [hecate.video](https://hecate.video/)

## Usage
+ Mdpage renders the input to HTML and adds it to \<body\>
+ Pass -i index.html if you have an index.html file with for example css to include
+ Pass -s with an html selector such as #text to place the markdown inside the element with id=text
+ All other args used as [markdown-it configs](https://markdown-it.github.io/markdown-it/#MarkdownIt.new)

```
npm install -g @rhodey/mdpage
mdpage README.md > readme.html
mdpage README.md -i index.html > readme.html
mdpage README.md -i index.html -s "#text" > readme.html
mdpage README.md --html true > readme.html (enables html in markdown)
```

## License
Copyright 2026 - mike@rhodey.org

MIT