open-index/open-npm huggingface dataset:
npm package: @rcronin/sequelize-ibmi-mapepire
Description: IBM i (via Mapepire) Sequelize V7 Dialect
Author: rcronin
Latest version: 0.0.26

# @rcronin/sequelize-ibmi-mapepire
IBM i (via Mapepire) Sequelize V7 Dialect

![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/rcronin/sequelize-ibmi-mapepire/publish.yml)
![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/rcronin/sequelize-ibmi-mapepire)
![NPM Version](https://img.shields.io/npm/v/%40rcronin%2Fsequelize-ibmi-mapepire)
![NPM Downloads](https://img.shields.io/npm/dw/%40rcronin%2Fsequelize-ibmi-mapepire)

## Getting Started

### IBM i Prerequisites

#### Mapepire Server
[Documentation](https://mapepire-ibmi.github.io/guides/sysadmin/)

```yum install mapepire-server```

### Package Installation

```npm i @rcronin/sequelize-ibmi-mapepire```

Upon installation, the package will automatically install ```@ibm/mapepire-js```

## Usage

```ts
import { DataTypes, InferAttributes, InferCreationAttributes, Model, Sequelize } from '@sequelize/core';
import { Attribute, PrimaryKey, Table } from '@sequelize/core/decorators-legacy';
import { IBMiDialect } from '@rcronin/sequelize-ibmi-mapepire';
import 'dotenv/config'

@Table({
  freezeTableName: true,
  timestamps: false,
  tableName: 'DEPARTMENT', // whatever the actual IBM i table is called
  schema: 'SAMPLE' // whatever the actual IBM i schema is called
})
export class DepartmentModel extends Model<InferAttributes<DepartmentModel>, InferCreationAttributes<DepartmentModel>> {
  @Attribute({
    type: DataTypes.STRING,
    columnName: 'DEPTNO'
  })
  @PrimaryKey()
  declare number: string;

  @Attribute({
    type: DataTypes.STRING,
    columnName: 'DEPTNAME'
  })
  declare name: string;

  @Attribute({
    type: DataTypes.STRING,
    columnName: 'MGRNO'
  })
  declare managerNumber: string;

  @Attribute({
    type: DataTypes.STRING,
    columnName: 'ADMRDEPT'
  })
  declare parent: string;

  @Attribute({
    type: DataTypes.STRING,
    columnName: 'LOCATION'
  })
  declare location: string;
}

const sequelize = new Sequelize({
    dialect: IBMiDialect,
    host: process.env.HOST as string,
    user: process.env.USERNAME as string,
    password: process.env.PASSWORD as string,
    rejectUnauthorized: false, // false but need to validate certificate
    models: [DepartmentModel]
  });
```
npm package: @rcrsr/rill-agent
Description: Core agent runtime for the [rill](https://github.com/rcrsr/rill) language. Loads agent manifests, builds an `AgentRouter`, and serves agents over HTTP via the included Hono harness. Supports single-agent and multi-agent deployments.
Author: Andre Bremer
Latest version: 0.18.6

# @rcrsr/rill-agent

Core agent runtime for the [rill](https://github.com/rcrsr/rill) language. Loads agent manifests, builds an `AgentRouter`, and serves agents over HTTP via the included Hono harness. Supports single-agent and multi-agent deployments.

## Install

```bash
npm install @rcrsr/rill-agent
```

For the HTTP harness, install the separate package:

```bash
npm install @rcrsr/rill-agent-http
```

## Quick Start

```typescript
import { loadManifest, createRouter } from '@rcrsr/rill-agent';
import { httpHarness } from '@rcrsr/rill-agent-http';

const manifest = await loadManifest('./build');
const router = await createRouter(manifest, {
  globalVars: { ANTHROPIC_API_KEY: process.env.ANTHROPIC_API_KEY ?? '' },
});

const harness = httpHarness(router);
await harness.listen(3000);
```

A handler module exports four functions: `describe`, `init`, `execute`, `dispose`. Place a `handler.js` in a directory for single-agent mode, or a `manifest.json` listing multiple agents for multi-agent mode.

## Documentation

See [full documentation](docs/agent-core.md) for handler contract, router behavior, manifest format, and HTTP routes.

## License

MIT
npm package: @rcrsr/rill-agent-ext-ahi
Description: rill extension for Agent Host Interface (AHI) integration
Author: Andre Bremer
Latest version: 0.18.5

# @rcrsr/rill-agent-ext-ahi

[rill](https://github.com/rcrsr/rill) extension for the Agent Host Interface (AHI). Registers `ahi::<agentName>` host functions so a rill agent can call other agents over HTTP. Uses static URL resolution with `${VAR_NAME}` environment variable substitution.

## Install

```bash
npm install @rcrsr/rill-agent-ext-ahi
```

## Quick Start

```typescript
import { createAhiExtension } from '@rcrsr/rill-agent-ext-ahi';

const ext = createAhiExtension({
  agents: {
    summarizer: { url: 'http://localhost:3001' },
    classifier: { url: 'http://localhost:3002' },
  },
  timeout: 10000,
});
```

```rill
ahi::summarizer([text: "Long article content..."]) => $result
$result -> log
```

## Documentation

See [full documentation](docs/agent-ahi.md) for configuration, error mapping, and in-process binding.

## License

MIT
npm package: @rcrsr/rill-agent-foundry
Description: rill agent foundry — Azure-hosted harness factory
Author: Andre Bremer
Latest version: 0.18.6

# @rcrsr/rill-agent-foundry

Azure-hosted harness factory for the [rill](https://github.com/rcrsr/rill) agent framework. Wraps an `AgentRouter` in a Hono server that implements the Foundry Responses API protocol with SSE streaming, session persistence, and OpenTelemetry tracing. Outbound calls to Azure AI Foundry Conversations authenticate via `DefaultAzureCredential` (Entra ID).

## Install

```bash
npm install @rcrsr/rill-agent-foundry @opentelemetry/api
```

`@opentelemetry/api` is a required peer dependency.

## Quick Start

```typescript
import { loadManifest, createRouter } from '@rcrsr/rill-agent';
import { createFoundryHarness } from '@rcrsr/rill-agent-foundry';

const manifest = await loadManifest('./build');
const router = await createRouter(manifest);

const harness = createFoundryHarness(router, { port: 8080 });

await harness.listen();
```

The harness exposes `POST /responses` and `POST /runs` for synchronous and streaming responses, plus `/liveness`, `/readiness`, and `/metrics` for operations.

## Documentation

- [Reference](docs/agent-foundry.md) — configuration, routes, streaming events, session storage, telemetry, error codes
- [How to deploy a rill agent to Azure AI Foundry](docs/deploy-foundry-agent.md) — end-to-end packaging, Dockerfile, ACR push, and registration script

## License

MIT
npm package: @rcrsr/rill-ext-anthropic
Description: rill extension for Anthropic Claude API integration
Author: Andre Bremer
Latest version: 0.18.4

# @rcrsr/rill-ext-anthropic

[rill](https://rill.run) extension for [Anthropic Claude](https://docs.anthropic.com) API integration. Provides `message`, `messages`, `embed`, `embed_batch`, `tool_loop`, and `generate` host functions.

## Install

```bash
npm install @rcrsr/rill-ext-anthropic
```

## Quick Start

**rill-config.json**

```json
{
  "main": "hello.rill",
  "extensions": {
    "mounts": {
      "llm": "@rcrsr/rill-ext-anthropic"
    },
    "config": {
      "llm": {
        "api_key": "${ANTHROPIC_API_KEY}",
        "model": "claude-sonnet-4-5-20250929"
      }
    }
  }
}
```

**hello.rill**

```rill
use<ext:llm> => $llm

$llm.message("Explain TCP handshakes") -> each { log }
```

```bash
rill-run
```

## Documentation

See [full documentation](docs/extension-llm-anthropic.md) for configuration, functions, error handling, events, and examples.

## License

MIT
npm package: @rcrsr/rill-ext-chroma
Description: rill extension for ChromaDB vector database integration
Author: Andre Bremer
Latest version: 0.18.4

# @rcrsr/rill-ext-chroma

[rill](https://rill.run) extension for [ChromaDB](https://www.trychroma.com) vector database integration. Provides host functions for vector CRUD, batch operations, and collection management.

## Install

```bash
npm install @rcrsr/rill-ext-chroma
```

## Quick Start

**rill-config.json**

```json
{
  "main": "search.rill",
  "extensions": {
    "mounts": {
      "vec": "@rcrsr/rill-ext-chroma"
    },
    "config": {
      "vec": {
        "collection": "my_vectors"
      }
    }
  }
}
```

**search.rill**

```rill
use<ext:vec> => $vec

$vec.upsert("doc-1", $embedding, [title: "Example"])
$vec.search($embedding, [k: 5]) -> log
```

```bash
rill-run
```

## Documentation

See [full documentation](docs/extension-vectordb-chroma.md) for configuration, functions, error handling, and local setup.

## License

MIT
npm package: @rcrsr/rill-ext-claude-code
Description: rill extension for Claude Code CLI integration
Author: Andre Bremer
Latest version: 0.18.4

# @rcrsr/rill-ext-claude-code

[rill](https://rill.run) extension for [Claude Code](https://docs.anthropic.com/en/docs/claude-code) CLI integration. Provides `prompt`, `skill`, and `command` host functions with streaming output, token tracking, and process lifecycle management.

## Install

```bash
npm install @rcrsr/rill-ext-claude-code
```

**Peer dependencies:** `node-pty`

## Quick Start

**rill-config.json**

```json
{
  "main": "task.rill",
  "extensions": {
    "mounts": {
      "cc": "@rcrsr/rill-ext-claude-code"
    },
    "config": {
      "cc": {}
    }
  }
}
```

**task.rill**

```rill
use<ext:cc> => $cc

$cc.prompt("Explain TCP handshakes") -> each { log }
```

```bash
rill-run
```

## Documentation

See [full documentation](docs/extension-claude-code.md) for configuration, functions, error handling, events, and examples.

## License

MIT
npm package: @rcrsr/rill-ext-crypto
Description: rill extension for cryptographic operations (hash, hmac, uuid, random)
Author: Andre Bremer
Latest version: 0.18.4

# @rcrsr/rill-ext-crypto

[rill](https://rill.run) extension for cryptographic operations. Provides hashing, HMAC signatures, UUID generation, and random byte generation via Node.js crypto module.

## Install

```bash
npm install @rcrsr/rill-ext-crypto
```

## Quick Start

**rill-config.json**

```json
{
  "main": "app.rill",
  "extensions": {
    "mounts": {
      "crypto": "@rcrsr/rill-ext-crypto"
    },
    "config": {
      "crypto": {
        "defaultAlgorithm": "sha256",
        "hmacKey": "my-secret-key"
      }
    }
  }
}
```

**app.rill**

```rill
use<ext:crypto> => $crypto

$crypto.hash("hello world") -> log
$crypto.uuid() -> log
```

```bash
rill-run
```

## Documentation

See [full documentation](docs/extension-crypto.md) for configuration, functions, and error handling.

## License

MIT
npm package: @rcrsr/rill-ext-datetime
Description: rill extension for date and time operations
Author: Andre Bremer
Latest version: 0.18.4

# @rcrsr/rill-ext-datetime

[rill](https://rill.run) extension for timezone conversion using the Intl API for timezone/DST resolution, with date/time token formatting and parsing. Zero external dependencies.

## Install

```bash
npm install @rcrsr/rill-ext-datetime
```

## Quick Start

**rill-config.json**

```json
{
  "main": "app.rill",
  "extensions": {
    "mounts": {
      "dt": "@rcrsr/rill-ext-datetime"
    }
  }
}
```

**app.rill**

```rill
use<ext:dt> => $dt

$dt.format(now(), "YYYY-MM-DD HH:mm:ss") -> log
$dt.iso(now(), "America/New_York") -> log
```

```bash
rill-run
```

## Documentation

See [full documentation](docs/extension-datetime.md) for configuration, functions, and error handling.

## License

MIT
npm package: @rcrsr/rill-ext-exec
Description: rill extension for sandboxed command execution
Author: Andre Bremer
Latest version: 0.18.4

# @rcrsr/rill-ext-exec

[rill](https://rill.run) extension for sandboxed command execution. Provides process spawning with allowlist/blocklist argument validation, timeout enforcement, and output size limits.

## Install

```bash
npm install @rcrsr/rill-ext-exec
```

## Quick Start

**rill-config.json**

```json
{
  "main": "app.rill",
  "extensions": {
    "mounts": {
      "exec": "@rcrsr/rill-ext-exec"
    },
    "config": {
      "exec": {
        "commands": {
          "git": {
            "binary": "git",
            "allowedArgs": ["status", "--short", "log", "--oneline"],
            "cwd": "/home/user/repo"
          }
        }
      }
    }
  }
}
```

**app.rill**

```rill
use<ext:exec> => $exec

$exec.git(["status", "--short"]) -> log
```

```bash
rill-run
```

## Documentation

See [full documentation](docs/extension-exec.md) for configuration, functions, security controls, and error handling.

## License

MIT
npm package: @rcrsr/rill-ext-fetch
Description: rill extension for HTTP fetch with configurable endpoints
Author: Andre Bremer
Latest version: 0.18.4

# @rcrsr/rill-ext-fetch

[rill](https://rill.run) extension for HTTP fetch with configurable endpoints. Provides typed endpoint functions, retry logic, concurrency control, and timeout enforcement.

## Install

```bash
npm install @rcrsr/rill-ext-fetch
```

## Quick Start

**rill-config.json**

```json
{
  "main": "app.rill",
  "extensions": {
    "mounts": {
      "api": "@rcrsr/rill-ext-fetch"
    },
    "config": {
      "api": {
        "baseUrl": "https://api.example.com",
        "endpoints": {
          "getUser": {
            "method": "GET",
            "path": "/users/:id",
            "params": [
              { "name": "id", "type": "string", "location": "path" }
            ]
          }
        }
      }
    }
  }
}
```

**app.rill**

```rill
use<ext:api> => $api

$api.getUser("123") -> log
```

```bash
rill-run
```

## Documentation

See [full documentation](docs/extension-fetch.md) for configuration, functions, retry logic, and error handling.

## License

MIT
npm package: @rcrsr/rill-ext-foundry
Description: rill extension for Azure AI Foundry integration
Author: Andre Bremer
Latest version: 0.18.4

# @rcrsr/rill-ext-foundry

[rill](https://rill.run) extension for [Azure AI Foundry](https://learn.microsoft.com/azure/ai-services/openai/) integration. Provides `message`, `messages`, `embed`, `embed_batch`, `tool_loop`, `generate`, `shield`, `ground`, and `search` host functions.

## Install

```bash
npm install @rcrsr/rill-ext-foundry openai
# For Entra ID (recommended for production):
npm install @azure/identity
```

## Quick Start

**rill-config.json**

```json
{
  "main": "app.rill",
  "extensions": {
    "mounts": {
      "foundry": "@rcrsr/rill-ext-foundry"
    },
    "config": {
      "foundry": {
        "endpoint": "https://my-resource.openai.azure.com",
        "auth": {
          "type": "api-key",
          "key": "${AZURE_OPENAI_API_KEY}"
        },
        "inference": {
          "model": "gpt-4o",
          "apiVersion": "2025-01-01-preview"
        }
      }
    }
  }
}
```

**app.rill**

```rill
use<ext:foundry> => $foundry

$foundry.message("Explain TCP handshakes") -> each { log }
```

```bash
rill-run
```

## Documentation

See [full documentation](docs/extension-foundry.md) for configuration, functions, error handling, and events.

## License

MIT
npm package: @rcrsr/rill-ext-fs-local
Description: rill extension for local filesystem operations with mount-based sandboxing
Author: Andre Bremer
Latest version: 0.18.4

# @rcrsr/rill-ext-fs-local

Local filesystem extension for rill with mount-based sandboxing.

## Install

```bash
npm install @rcrsr/rill-ext-fs-local
```

## Usage

```typescript
import { createLocalFsExtension } from '@rcrsr/rill-ext-fs-local';

const ext = await createLocalFsExtension({
  mounts: {
    workspace: {
      path: '/home/user/project',
      mode: 'read-write',
    },
  },
});
```

See `docs/extension-fs-local.md` for full documentation.

## License

MIT
npm package: @rcrsr/rill-ext-fs-s3
Description: rill extension for S3-compatible file system operations
Author: Andre Bremer
Latest version: 0.18.4

# @rcrsr/rill-ext-fs-s3

[rill](https://rill.run) extension for S3-compatible object storage. Provides filesystem operations backed by AWS S3, Cloudflare R2, MinIO, and other S3-compatible services.

## Install

```bash
npm install @rcrsr/rill-ext-fs-s3
```

## Quick Start

**rill-config.json**

```json
{
  "main": "app.rill",
  "extensions": {
    "mounts": {
      "fs": "@rcrsr/rill-ext-fs-s3"
    },
    "config": {
      "fs": {
        "mounts": {
          "data": {
            "mode": "read-write",
            "region": "us-east-1",
            "bucket": "my-app-data",
            "credentials": {
              "accessKeyId": "${AWS_ACCESS_KEY_ID}",
              "secretAccessKey": "${AWS_SECRET_ACCESS_KEY}"
            }
          }
        }
      }
    }
  }
}
```

**app.rill**

```rill
use<ext:fs> => $fs

$fs.read("/data/report.txt") -> log
$fs.write("/data/output.txt", "Hello from rill")
```

```bash
rill-run
```

## Documentation

See [full documentation](docs/extension-fs-s3.md) for configuration, functions, provider examples, and error handling.

## License

MIT
npm package: @rcrsr/rill-ext-gemini
Description: rill extension for Google Gemini API integration
Author: Andre Bremer
Latest version: 0.18.4

# @rcrsr/rill-ext-gemini

[rill](https://rill.run) extension for [Google Gemini](https://ai.google.dev/docs) API integration. Provides `message`, `messages`, `embed`, `embed_batch`, `tool_loop`, and `generate` host functions.

## Install

```bash
npm install @rcrsr/rill-ext-gemini
```

## Quick Start

**rill-config.json**

```json
{
  "main": "hello.rill",
  "extensions": {
    "mounts": {
      "llm": "@rcrsr/rill-ext-gemini"
    },
    "config": {
      "llm": {
        "api_key": "${GOOGLE_API_KEY}",
        "model": "gemini-2.0-flash"
      }
    }
  }
}
```

**hello.rill**

```rill
use<ext:llm> => $llm

$llm.message("Explain TCP handshakes") -> each { log }
```

```bash
rill-run
```

## Documentation

See [full documentation](docs/extension-llm-gemini.md) for configuration, functions, error handling, events, and examples.

## License

MIT
npm package: @rcrsr/rill-ext-kv-file
Description: rill extension for file-based JSON key-value storage
Author: Andre Bremer
Latest version: 0.18.4

# @rcrsr/rill-ext-kv-file

[rill](https://rill.run) extension for file-based JSON key-value storage. Provides persistent key-value operations with schema validation, size limits, and atomic writes.

## Install

```bash
npm install @rcrsr/rill-ext-kv-file
```

## Quick Start

**rill-config.json**

```json
{
  "main": "app.rill",
  "extensions": {
    "mounts": {
      "kv": "@rcrsr/rill-ext-kv-file"
    },
    "config": {
      "kv": {
        "mounts": {
          "user": {
            "mode": "read-write",
            "store": "./data/user.json"
          }
        }
      }
    }
  }
}
```

**app.rill**

```rill
use<ext:kv> => $kv

$kv.set("user", "name", "Alice")
$kv.get("user", "name") -> log
```

```bash
rill-run
```

## Documentation

See [full documentation](docs/extension-kv-file.md) for configuration, functions, schema validation, and error handling.

## License

MIT
npm package: @rcrsr/rill-ext-kv-redis
Description: rill extension for Redis kv backend implementation
Author: Andre Bremer
Latest version: 0.18.4

# @rcrsr/rill-ext-kv-redis

[rill](https://rill.run) extension for Redis key-value storage. Provides persistent key-value operations with TTL support, SCAN-based key listing, and TLS connectivity.

## Install

```bash
npm install @rcrsr/rill-ext-kv-redis
```

## Quick Start

**rill-config.json**

```json
{
  "main": "app.rill",
  "extensions": {
    "mounts": {
      "kv": "@rcrsr/rill-ext-kv-redis"
    },
    "config": {
      "kv": {
        "url": "redis://localhost:6379",
        "mounts": {
          "user": {
            "mode": "read-write",
            "prefix": "app:user:"
          }
        }
      }
    }
  }
}
```

**app.rill**

```rill
use<ext:kv> => $kv

$kv.set("user", "name", "Alice")
$kv.get("user", "name") -> log
```

```bash
rill-run
```

## Documentation

See [full documentation](docs/extension-kv-redis.md) for configuration, functions, mount options, and error handling.

## License

MIT
npm package: @rcrsr/rill-ext-kv-sqlite
Description: rill extension for SQLite key-value storage backend
Author: Andre Bremer
Latest version: 0.18.4

# @rcrsr/rill-ext-kv-sqlite

[rill](https://rill.run) extension for SQLite key-value storage. Provides persistent key-value operations backed by SQLite for large datasets and concurrent access.

## Install

```bash
npm install @rcrsr/rill-ext-kv-sqlite
```

## Quick Start

**rill-config.json**

```json
{
  "main": "app.rill",
  "extensions": {
    "mounts": {
      "kv": "@rcrsr/rill-ext-kv-sqlite"
    },
    "config": {
      "kv": {
        "mounts": {
          "user": {
            "mode": "read-write",
            "database": "./data/app.db",
            "table": "user_state"
          }
        }
      }
    }
  }
}
```

**app.rill**

```rill
use<ext:kv> => $kv

$kv.set("user", "name", "Alice")
$kv.get("user", "name") -> log
```

```bash
rill-run
```

## Documentation

See [full documentation](docs/extension-kv-sqlite.md) for configuration, functions, mount options, and error handling.

## License

MIT
npm package: @rcrsr/rill-ext-mcp
Description: rill extension for Model Context Protocol (MCP) integration
Author: Andre Bremer
Latest version: 0.18.4

# @rcrsr/rill-ext-mcp

[rill](https://rill.run) extension for [Model Context Protocol (MCP)](https://modelcontextprotocol.io) integration. Generates host functions dynamically from MCP server capabilities. Supports stdio and HTTP transports.

## Install

```bash
npm install @rcrsr/rill-ext-mcp
```

## Quick Start

**rill-config.json**

```json
{
  "main": "browse.rill",
  "extensions": {
    "mounts": {
      "fs": "@rcrsr/rill-ext-mcp"
    },
    "config": {
      "fs": {
        "transport": {
          "type": "stdio",
          "command": "npx",
          "args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]
        }
      }
    }
  }
}
```

**browse.rill**

```rill
use<ext:fs> => $fs

$fs.tools.list_directory([path: "/tmp"]) => $listing
$listing.content -> log
```

```bash
rill-run
```

The extension discovers the MCP server's capabilities at startup and exposes them as callable dicts under `tools`, `resources`, and `prompts`.

## Documentation

See [full documentation](docs/extension-mcp.md) for configuration, transport types, authentication patterns, error handling, and examples.

## License

MIT
npm package: @rcrsr/rill-ext-openai
Description: rill extension for OpenAI API integration
Author: Andre Bremer
Latest version: 0.18.4

# @rcrsr/rill-ext-openai

[rill](https://rill.run) extension for [OpenAI](https://platform.openai.com/docs) API integration. Provides `message`, `messages`, `embed`, `embed_batch`, `tool_loop`, and `generate` host functions. Compatible with OpenAI-compatible servers (LM Studio, Ollama, vLLM).

## Install

```bash
npm install @rcrsr/rill-ext-openai
```

## Quick Start

**rill-config.json**

```json
{
  "main": "hello.rill",
  "extensions": {
    "mounts": {
      "llm": "@rcrsr/rill-ext-openai"
    },
    "config": {
      "llm": {
        "api_key": "${OPENAI_API_KEY}",
        "model": "gpt-4o"
      }
    }
  }
}
```

**hello.rill**

```rill
use<ext:llm> => $llm

$llm.message("Explain TCP handshakes") -> each { log }
```

```bash
rill-run
```

For local models, set `base_url` to point at the compatible server:

```json
{
  "llm": {
    "base_url": "http://localhost:1234/v1",
    "model": "llama3"
  }
}
```

## Documentation

See [full documentation](docs/extension-llm-openai.md) for configuration, functions, error handling, events, and examples.

## License

MIT
npm package: @rcrsr/rill-ext-outlook
Description: rill extension for Microsoft Outlook (Microsoft Graph API) integration
Author: Andre Bremer
Latest version: 0.18.4

# @rcrsr/rill-ext-outlook

[rill](https://rill.run) extension for Microsoft Outlook via the Graph API. Provides `inbox`, `from`, `search`, `read`, `send`, `draft`, `reply`, `flag`, `events`, `today`, `free_busy`, and `create_event` host functions.

## Install

```bash
npm install @rcrsr/rill-ext-outlook
```

## Quick Start

**rill-config.json**

```json
{
  "main": "app.rill",
  "extensions": {
    "mounts": {
      "mail": "@rcrsr/rill-ext-outlook"
    },
    "config": {
      "mail": {
        "auth": {
          "type": "bearer",
          "token": "${OUTLOOK_TOKEN}"
        }
      }
    }
  }
}
```

**app.rill**

```rill
use<ext:mail> => $mail

$mail.inbox() => $result
$result.messages -> each { log }
```

```bash
rill-run
```

## Documentation

See [full documentation](docs/extension-outlook.md) for configuration, functions, error handling, and events.

## License

MIT
npm package: @rcrsr/rill-ext-pinecone
Description: rill extension for Pinecone vector database integration
Author: Andre Bremer
Latest version: 0.18.4

# @rcrsr/rill-ext-pinecone

[rill](https://rill.run) extension for [Pinecone](https://www.pinecone.io) vector database integration. Provides host functions for vector CRUD, batch operations, and collection management.

## Install

```bash
npm install @rcrsr/rill-ext-pinecone
```

## Quick Start

**rill-config.json**

```json
{
  "main": "search.rill",
  "extensions": {
    "mounts": {
      "vec": "@rcrsr/rill-ext-pinecone"
    },
    "config": {
      "vec": {
        "apiKey": "${PINECONE_API_KEY}",
        "index": "my-index"
      }
    }
  }
}
```

**search.rill**

```rill
use<ext:vec> => $vec

$vec.upsert("doc-1", $embedding, [title: "Example"])
$vec.search($embedding, [k: 5]) -> log
```

```bash
rill-run
```

## Documentation

See [full documentation](docs/extension-vectordb-pinecone.md) for configuration, functions, error handling, and cloud setup.

## License

MIT
npm package: @rcrsr/rill-ext-qdrant
Description: rill extension for Qdrant vector database integration
Author: Andre Bremer
Latest version: 0.18.4

# @rcrsr/rill-ext-qdrant

[rill](https://rill.run) extension for [Qdrant](https://qdrant.tech) vector database integration. Provides host functions for vector CRUD, batch operations, and collection management.

## Install

```bash
npm install @rcrsr/rill-ext-qdrant
```

## Quick Start

**rill-config.json**

```json
{
  "main": "search.rill",
  "extensions": {
    "mounts": {
      "vec": "@rcrsr/rill-ext-qdrant"
    },
    "config": {
      "vec": {
        "url": "http://localhost:6333",
        "collection": "my_vectors",
        "dimensions": 384
      }
    }
  }
}
```

**search.rill**

```rill
use<ext:vec> => $vec

$vec.upsert("doc-1", $embedding, [title: "Example"])
$vec.search($embedding, [k: 5]) -> log
```

```bash
rill-run
```

## Documentation

See [full documentation](docs/extension-vectordb-qdrant.md) for configuration, functions, error handling, and local setup.

## License

MIT
npm package: @rcrwrate/cli
Description: Cli
Author: Rcrwrate
Latest version: 0.1.12

# 一个神秘的交互式 Cli 框架
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FRcrwrate%2FCli.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FRcrwrate%2FCli?ref=badge_shield)


内含如下内容：

1. 秉持能用就行的理念

2. 想到哪做到哪

### example

引入就能运行

```ts name="test.ts"
import { Task, m, type Message } from "@rcrwrate/cli";

const sleep = (t: number | undefined) => new Promise((r) => setTimeout(r, t));

/** 示例任务 */
class exampleTask extends Task {
  uid: string;

  constructor(uid: string) {
    super();
    this.uid = uid;
  }

  async Run(m: Message): Promise<any> {
    await sleep(10000);
    m.pushLog(this.uuid, "INFO");
  }

  async onClose(m: Message): Promise<void> {
    //保存未完成的队列
    m.cache.push("exampleTask", this.uid);
  }
}

//注册控制台命令
m.registerCommand([
  {
    func(input, m) {
      //推送任务日志
      m.pushLog(input, "INFO");
      //注册任务队列
      m.registerTask([
        new exampleTask("1"),
        new exampleTask("1"),
        new exampleTask("1"),
        new exampleTask("1"),
      ]);
    },
    keyword: ["test"],
    priority: 10,
    help: "说明文字",
  },
  {
    func(input, m) {
      //写入测试
      m.Storage.write(input, "test.txt");
      m.Storage.write(new Response(input), "test2.txt");
    },
    keyword: ["test.w"],
    priority: 9,
    help: "写入测试",
  },
]);

//立即执行
m.run((m) => {
  const all = m.cache.get<string[]>("exampleTask");
  //如果cache中存在预定义的未完成任务信息，读取并移除
  if (all) {
    m.registerTask(all.map((i) => new exampleTask(i)));
    m.cache.delete("exampleTask");
  }
});
```

更多请自行查看相关 Typescript 信息


## License
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FRcrwrate%2FCli.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FRcrwrate%2FCli?ref=badge_large)