npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ai-rpg-engine/ollama

v2.0.7

Published

AI design studio for AI RPG Engine — scaffolding, critique, guided workflows, tuning, experiments, studio UX

Readme

@ai-rpg-engine/ollama

AI 设计工作室,用于 AI 角色扮演游戏引擎,提供脚手架、评论、引导工作流程、调优、实验以及工作室用户体验。

连接到本地的 Ollama 实例。绝不会直接修改模拟结果,所有输出默认输出到标准输出。

安装

npm install @ai-rpg-engine/ollama

包含内容

  • 内容脚手架 — 根据主题生成房间、派系、任务、区域、地点包、遭遇包。
  • 评论与修复 — 验证生成的 内容是否符合引擎的结构,如果失败则自动修复。
  • 聊天界面 — 具有上下文感知路由、工具编排和记忆的交互式设计会话。
  • 引导构建 — 基于会话,采用计划优先的、多步骤的世界构建工作流程。
  • 模拟分析 — 带有结构化平衡分析的回放。
  • 引导调优 — 根据平衡分析结果,提供结构化的调优计划,并提供逐步执行的指导。
  • 场景实验 — 批量模拟运行,方差检测,参数扫描,以及前后比较。
  • 工作室用户体验 — 提供仪表盘、问题浏览、实验检查、会话历史、命令发现以及新手引导。

使用方法

import { translateMarkdown, ChatEngine, createSession } from '@ai-rpg-engine/ollama';

// Start a design session
const session = createSession('haunted-chapel');

// Use the chat engine
const engine = new ChatEngine({ session });
const response = await engine.chat('scaffold a haunted chapel district');

文档


构建者:MCP Tool Shop