open-index/open-npm huggingface dataset:
npm package: @redjay/threads
Description: Entry point composition package for Threads CLI - wires together CLI + storage based on config
Author: Joshua Ramirez
Latest version: 1.4.0

# @redjay/threads

Entry point composition package for Threads CLI - wires together CLI, MCP server, and storage based on configuration.

## Installation

```bash
npm install -g @redjay/threads
# or
pnpm add -g @redjay/threads
```

Requires Node.js 20 or later.

## Executables

After installation, three commands are available:

| Command | Description |
|---------|-------------|
| `threads` | Main CLI for managing threads |
| `threads-mcp` | MCP server for Claude Code integration |
| `threads-migrate` | Migration utilities for data upgrades |

## Quick Start

```bash
# Create a new thread
threads new "API refactoring" -d "Modernize REST endpoints" -t hot -i 4

# List active threads
threads list --active

# Add progress to a thread
threads progress "API refactoring" "Completed authentication endpoints"

# View a specific thread
threads show "API refactoring"
```

## Storage Backends

By default, data is stored locally at `~/.threads/threads.json`. Firebase storage is available as an optional backend via `@redjay/threads-firebase-storage`.

## Related Packages

| Package | Description |
|---------|-------------|
| `@redjay/threads-core` | Core types and models |
| `@redjay/threads-storage` | Storage interface definitions |
| `@redjay/threads-json-storage` | JSON file storage adapter |
| `@redjay/threads-firebase-storage` | Firebase Firestore adapter |
| `@redjay/threads-cli` | CLI command implementations |
| `@redjay/threads-mcp` | MCP server implementation |

## License

MIT
npm package: @redjay/threads-core
Description: Core types and models for Threads platform
Author: Joshua Ramirez
Latest version: 1.4.0

# @redjay/threads-core

Core types and models for the Threads platform.

## Installation

```bash
npm install @redjay/threads-core
```

## Usage

```typescript
import { Thread, Container, Progress, ThreadStatus, Temperature } from '@redjay/threads-core';
import { createThread, createProgress } from '@redjay/threads-core/models';
```

## Types

### Thread

Represents a stream of activity with:
- `status`: active, paused, stopped, completed, archived
- `temperature`: frozen, freezing, cold, tepid, warm, hot (momentum indicator)
- `size`: tiny, small, medium, large, huge (scope)
- `importance`: 1-5 priority level

### Container

Organizational node for grouping threads without momentum semantics.

### Progress

Timestamped notes for tracking activity on a thread.

### Dependencies

Links between threads with why/what/how/when context.

## License

MIT
npm package: @redjay/threads-firebase-storage
Description: Firebase Firestore storage adapter for Threads platform
Author: Joshua Ramirez
Latest version: 1.2.2

# @redjay/threads-firebase-storage

Firebase Firestore storage adapter for the Threads platform. Enables cloud-based storage with real-time sync capabilities.

## Installation

```bash
npm install @redjay/threads-firebase-storage firebase-admin
```

Note: `firebase-admin` is a peer dependency and must be installed separately.

## Usage

```typescript
import { FirebaseStorageAdapter } from '@redjay/threads-firebase-storage';
import * as admin from 'firebase-admin';

// Initialize Firebase
admin.initializeApp({
  credential: admin.credential.applicationDefault()
});

const storage = new FirebaseStorageAdapter({
  firestore: admin.firestore()
});

// Use storage adapter
const threads = await storage.getAllThreads();
```

## Features

- Cloud-based Firestore storage
- Real-time sync across devices
- Scalable for large datasets
- Firebase security rules support

## Configuration

Requires Firebase Admin SDK initialization with appropriate credentials. See [Firebase Admin SDK Setup](https://firebase.google.com/docs/admin/setup) for details.

## License

MIT
npm package: @redjay/threads-json-storage
Description: JSON file storage adapter for Threads platform
Author: Joshua Ramirez
Latest version: 1.1.4

# @redjay/threads-json-storage

JSON file storage adapter for the Threads platform. Stores all data in a local JSON file.

## Installation

```bash
npm install @redjay/threads-json-storage
```

## Usage

```typescript
import { JsonStorageAdapter } from '@redjay/threads-json-storage';

const storage = new JsonStorageAdapter({
  filePath: '~/.threads/threads.json'
});

// Use storage adapter
const threads = await storage.getAllThreads();
```

## Features

- Local file-based storage
- Automatic backup before writes
- Human-readable JSON format
- No external dependencies

## Default Location

Data is stored at `~/.threads/threads.json` by default.

## License

MIT
npm package: @redjay/threads-mcp
Description: MCP server for Threads platform
Author: Joshua Ramirez
Latest version: 1.4.0

# @redjay/threads-mcp

MCP (Model Context Protocol) server for the Threads platform. Enables AI assistants like Claude to interact with your threads data.

## Installation

```bash
npm install @redjay/threads-mcp
```

## Usage

### With Claude Code

Add to your Claude Code MCP configuration:

```json
{
  "mcpServers": {
    "threads": {
      "command": "threads-mcp"
    }
  }
}
```

### Standalone

```bash
npx @redjay/threads-mcp
```

## Available Tools

The MCP server exposes tools for:
- Creating and managing threads
- Adding progress entries
- Listing and searching threads
- Managing containers and groups
- Handling dependencies

## Protocol

Implements the Model Context Protocol specification for seamless AI assistant integration.

## License

MIT
npm package: @redjay/threads-storage
Description: Storage adapters for Threads platform
Author: Joshua Ramirez
Latest version: 3.1.2

# @redjay/threads-storage

Storage interface definitions for the Threads platform. This package defines the abstract storage layer that concrete implementations (JSON file, Firebase, etc.) must implement.

## Installation

```bash
npm install @redjay/threads-storage
```

## Usage

```typescript
import { StorageAdapter } from '@redjay/threads-storage';

// Implement the StorageAdapter interface for custom storage backends
class MyStorageAdapter implements StorageAdapter {
  // ... implementation
}
```

## Storage Implementations

| Package | Backend |
|---------|---------|
| `@redjay/threads-json-storage` | Local JSON file |
| `@redjay/threads-firebase-storage` | Firebase Firestore |

## Interface

The `StorageAdapter` interface provides methods for:
- Thread CRUD operations
- Container management
- Progress tracking
- Dependency management
- Backup and restore

## License

MIT
npm package: @redkassa/phone-parser-default-set
Description: This set with default formats and resolvers and also helper functions for RedKassa.
Author: Alex Baretsky
Latest version: 0.0.1

# RedKassa Phone Parser Default Set

This set with default formats and resolvers and also helper functions for RedKassa.

### ⚠️ Important

Required **@redkassa/phone-parser** (You should add @redkassa/phone-parser from npm)

## Installation

```bash
npm i @redkassa/phone-parser-default-set --save
```

or

```bash
yarn add @redkassa/phone-parser-default-set
```

## Usage

```javascript

import { parsePhoneNumber } from '@redkassa/phone-parser';
import { defaultFormats, defaultResolvers } from '@redkassa/phone-parser-default-set';

const result = parsePhoneNumber('12089999999', {
  formats: defaultFormats,
  resolvers: defaultResolvers,
});

```

## Helpers

### parsePriorityRU


```javascript

import { parsePhoneNumber } from '@redkassa/phone-parser';
import { parsePriorityRU, defaultFormats } from '@redkassa/phone-parser-default-set';

const result1 = parsePriorityRU(parsePhoneNumber, '9198221234', defaultFormats);

const result2 = parsePhoneNumber('9198221234', {
  formats: defaultFormats,
});

/*

result1 = {
  code: 'RU',
  dialCode: '+7',
  nationalNumber: '9198221234',
  formattedNumber: '+7 (919) 822 1234',
}

result2 = {
  code: 'IN',
  dialCode: '+91',
  nationalNumber: '98221234',
  formattedNumber: '+91 98221234',
}

*/

```
npm package: @redknife/eslint-config-base
Description: Node.js ESLint configuration
Author: Rogachev Sergey
Latest version: 1.0.0

# @redknife/eslint-config-base

A Node.js ESLint configuration

## Usage

Add this package to your project as a dev-dependency:

```console
$ yarn add --dev eslint @redknife/eslint-config-base
```
npm package: @redlasha/usage-statusbar
Description: Claude Code statusline for subscription users — context window, 5-hour usage quota, and reset timer
Author: redlasha
Latest version: 1.4.0

# usage-statusbar

Claude Code statusline that shows what matters for subscription users.

```
🧠 ████░░░░░░ 42% | ⏰ █████░░░░░ 53% | 🔄 03:00 (-2h 14m)
```

- **🧠 Context** — context window usage %
- **⏰ Usage** — 5-hour block usage % (Anthropic OAuth API)
- **🔄 Reset** — reset time (KST) and countdown

## Why

Most statusline tools focus on cost tracking. If you're on a Claude Pro/Team subscription, cost doesn't matter — **usage quota does**. This tool shows exactly that.

## Install

```bash
npm install -g @redlasha/usage-statusbar
```

The installer will ask to configure your `~/.claude/settings.json` automatically.

### Manual setup

If you skipped the auto-setup, add this to `~/.claude/settings.json`:

```json
{
  "statusLine": {
    "type": "command",
    "command": "usage-statusbar",
    "padding": 0
  }
}
```

### Re-run setup

```bash
usage-statusbar --setup
```

## Display

| Section | Source | Description |
|---------|--------|-------------|
| 🧠 Context | Claude Code stdin | Context window usage percentage |
| ⏰ Usage | Anthropic OAuth API | 5-hour rolling block utilization |
| 🔄 Reset | Anthropic OAuth API | Next reset time (KST) and countdown |

### Color thresholds (ANSI)

| Range | Color | Meaning |
|-------|-------|---------|
| 0-50% | Green | Safe |
| 51-80% | Yellow | Moderate |
| 81-100% | Red | High |

Bar characters: `█` (filled) / `░` (empty) — single-width Unicode, works on all terminals.

## How it works

1. Claude Code pipes JSON session data to the statusline command via stdin
2. Context window % is extracted from the JSON
3. Usage quota % and reset time are fetched from `api.anthropic.com/api/oauth/usage`
4. OAuth token is read from `~/.claude/.credentials.json` (Linux/WSL) or macOS Keychain

## Requirements

- Node.js 18+
- Claude Code with an active session (for OAuth credentials)

## License

MIT
npm package: @redle/hello-world-vue
Description: example vue component npn
Author: redle
Latest version: 1.0.2

# Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.

Learn more about the recommended Project Setup and IDE Support in the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup).
npm package: @redlink/amsui
Description: Search UI elements on top of Angular Material
Author: redlink
Latest version: 0.0.6

# AMSUI - Angular Material Search User Interfaces

This library provides a set of UI elements of search interfaces.
Each element's recommendations have been researched and the identified best practices from main UX/UI institutions and
researchers ([Nielsen Norman Group](https://www.nngroup.com/), [Baymard Institue](https://baymard.com/), etc.) have taken into account.
Not only theoretical knowledge has been used to develop the library, but also our empirical knowledge in information retrieval and search sector.
The library is developed by the [Redlink GmbH](https://redlink.at) based in Austria.

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.0.6 and it depends on a few packages (@angular/material, @ngx-translate/core).

## Open-Source Code

You can find the code of the [AMSUI library on github](https://github.com/redlink-gmbh/amsui).

## Documentation

The documentation is written within Storybook and it can be found [here](https://dev.redlink.io/amsui).

## Demos

- [Demo with Public API](https://dev.redlink.io/amsui-public-api-demo/) -- [source code](https://github.com/redlink-gmbh/amsui-public-api-demo)
- [Standalone demo usage of library's components](https://dev.redlink.io/amsui-standalone-demo/) -- [source code](https://github.com/redlink-gmbh/amsui-standalone-demo)

## About [Redlink](https://redlink.at)

Redlink packs cutting-edge technologies from the areas of information discovery, natural language processing and artificial intelligence into maintainable and durable software.
This creates tailor-made solutions for national and international customers as well as universally applicable products.
npm package: @redlink/tm-annotation-store-api
Description: Repo contains all api specs for accessing tm-annotation-store
Author: thomas.kurz@redlink.at
Latest version: 2.0.40

# Tailored Media Annotation Store API

## Most recent Version
| Spec                   | Version | Path                               |
|------------------------|---------|------------------------------------|
| *Resource-Store API*   | _1.3.0_ | /api/resource/spec.yaml            |
| *Annotation-Store API* | _1.0.0_ | /api/resource/annotation-spec.yaml |
| *GraphQL Schema*       | _1.0.2_ | /api/graphql/schema.graphql        |

## Usage:
### NPM

1. Import lib `npm -i --save @redlink/tm-annotation-store-api`
2. Import files, like `import * as typeDefs from '@redlink/tm-annotation-store-api/api/graphql/schema.graphql'`

## Versions

To use specific versions follow the pattern `/{basePath}/{specPath}/{name}-{version}.{suffix}`, e.g. /api/graphql/schema-1.0.0.graphql.

* *Resource-Store API*: [1.3.0](./CHANGELOG.md#2.0.9)
* *Annotation-Store API*: [1.0.0](./CHANGELOG.md#2.0.40)
* *GraphQL Schema*: [1.0.0](./CHANGELOG.md#1.0.0), [1.0.1](./CHANGELOG.md#1.0.1), [1.0.2](./CHANGELOG.md#1.0.2)
npm package: @redlotus/get-urls
Description: Get all URLs in a string
Latest version: 1.0.5

![RedLotus-Logo-Dark](.github/base-logo-dark-mode.svg#gh-dark-mode-only)
![RedLotus-Logo-Light](.github/base-logo-light-mode.svg#gh-light-mode-only)

## Redlotus fork for adding CommonJS support

# get-urls

> Get all URLs in a string

The URLs will be [normalized](https://github.com/sindresorhus/normalize-url).

*Do not use this for any kind of security-related validation.*

Please note the [known limitation](https://github.com/niftylettuce/url-regex-safe#limitations). You can work around this by setting `requireSchemeOrWww` to `true`.

## Install

```sh
npm install @redlotus/get-urls

yarn add @redlotus/get-urls
```

## Usage

```js
import { getUrls } from '@redlotus/get-urls';

const text = 'Lorem ipsum dolor sit amet, //sindresorhus.com consectetuer adipiscing http://yeoman.io elit.';

getUrls(text);
//=> Set {'http://sindresorhus.com', 'http://yeoman.io'}
```

## API

### getUrls(text, options?)

Returns a `Set` of URLs.

### text

Type: `string`

### options

Type: `object`

All the `normalize-url` [options](https://github.com/sindresorhus/normalize-url#options) in addition to:

#### extractFromQueryString

Type: `boolean`\
Default: `false`

Extract URLs that appear as query parameters in the found URLs.

#### exclude

Type: `string[]`\
Default: `[]`

Exclude URLs that match URLs in the given array.

#### requireSchemeOrWww

Type: `boolean`\
Default: `false`

Require URLs to have a scheme or leading `www.` to be considered an URL. When `false`, matches against a list of valid TLDs, so it will match URLs like `unicorn.education`.

Does not affect URLs in query parameters if using the `extractFromQueryString` option.

## Related

- [get-urls-cli](https://github.com/sindresorhus/get-urls-cli) - CLI for this module
- [linkify-urls](https://github.com/sindresorhus/linkify-urls) - Linkify URLs in text
npm package: @redlotus/super-regex
Description: Make a regular expression time out if it takes too long to execute
Latest version: 1.0.1

![RedLotus-Logo-Dark](.github/base-logo-dark-mode.svg#gh-dark-mode-only)
![RedLotus-Logo-Light](.github/base-logo-light-mode.svg#gh-light-mode-only)

# @redlotus/super-regex

> Make a regular expression time out if it takes too long to execute

This can be used to prevent [ReDoS vulnerabilities](https://en.wikipedia.org/wiki/ReDoS) when running a regular expression against untrusted user input.

This package also has a better API than the built-in regular expression methods. For example, none of the methods mutate the regex.

The timeout only works in Node.js. In the browser, it will simply not time out.

## Install

```sh
npm install @redlotus/super-regex

yarn add @redlotus/super-regex
```

## Usage

```js
import {isMatch} from 'super-regex';

console.log(isMatch(/\d+/, getUserInput(), {timeout: 1000}));
```

## API

### isMatch(regex, string, options?)

Returns a boolean for whether the given `regex` matches the given `string`.

If the regex takes longer to match than the given timeout, it returns `false`.

*This method is similar to [`RegExp#test`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test), but differs in that the given `regex` is [never mutated, even when it has the `/g` flag](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test#using_test_on_a_regex_with_the_global_flag).*

### firstMatch(regex, string, options?)

Returns the first `Match` or `undefined` if there was no match.

If the regex takes longer to match than the given timeout, it returns `undefined`.

### matches(regex, string, options?)

Returns an iterable of `Match`es.

If the regex takes longer to match than the given timeout, it returns an empty array.

**The `regex` must have the `/g` flag.**

#### options

Type: `object`

##### timeout?

Type: `number` *(integer)*

The time in milliseconds to wait before timing out.

##### matchTimeout?

Type: `number` *(integer)*

Only works in `matches()`.

The time in milliseconds to wait before timing out when searching for each match.

### Match

```ts
{
	match: string;
	index: number;
	groups: string[];
	namedGroups: {string: string}; // object with string values
	input: string;
}
```

## Related

- [function-timeout](https://github.com/sindresorhus/function-timeout) - Make a synchronous function have a timeout
npm package: @redlotus/ui
Description: React UI library
Author: Tomi Markus Alber
Latest version: 0.1.67

![RedLotusUI-Logo-Dark](.github/logo-dark-mode.svg#gh-dark-mode-only)
![RedLotusUI-Logo-Light](.github/logo-light-mode.svg#gh-light-mode-only)

<p>
  <a href="https://github.com/redlotus-io/ui/actions/workflows/release-package.yml"><img src="https://github.com/tomimarkus991/lotusui/actions/workflows/release-package.yml/badge.svg?branch=main&event=push" alt="ci"></a>
  <a href="https://www.npmjs.com/package/@redlotus/ui"><img src="https://badgen.net/npm/dm/@redlotus/ui" alt="Downloads"></a>
  <a href="https://www.npmjs.com/package/@redlotus/ui"><img src="https://badgen.net/npm/v/@redlotus/ui/latest" alt="Version"></a>
  <a href="https://www.npmjs.com/package/@redlotus/ui"><img src="https://badgen.net/npm/license/@redlotus/ui" alt="License"></a>
</p>

React UI Components built with Tailwind 3. **Get a super boost to your development** 🚀

## 📖 Documentation
Read the <a href="">Online Documentation</a>.

## Quickstart
```bash
yarn add @redlotus/ui
```
Add the following to your `main.tsx` file:

```bash
import "@redlotus/ui/dist/style.css";
```

---

### Development

- Clone repository
- Ensure you have the latest LTS version of Node.js installed
- Install dependencies with `yarn`
- Run `yarn add react react-dom react-router-dom tailwindcss-border-gradient-radius framer-motion @headlessui/react @emotion/react @emotion/styled @react-hook/window-size clsx date-fns formik react-icons react-use-measure react-hotkeys-hook` to install peer dependencies
- Run `yarn start` or `yarn dev` to enter dev mode watch

## License

[MIT](./LICENSE)

Copyright (c) 2022, tomimarkus991