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

@datami/at-tuner

v0.0.2

Published

AskTable datasource tuning CLI - problem-driven optimization via API

Readme

at-tuner CLI 命令完整文档
mkdir -p ~/.npm-global npm config set prefix '~/.npm-global' echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.zshrc source ~/.zshrc npm install -g @datami/at-tuner

配置管理

at-tuner config set # 保存配置到 ~/.at-tuner/config.json
at-tuner config list # 查看所有配置(敏感值掩码)
at-tuner config init # 配置引导提示

支持的 key:

┌──────────────┬───────────────────────────┐
│ Key │ 说明 │
├──────────────┼───────────────────────────┤
│ server │ AskTable API 地址 │
├──────────────┼───────────────────────────┤
│ api-key │ 管理员 API Key │
├──────────────┼───────────────────────────┤ │ datasource │ 数据源 ID │ ├──────────────┼───────────────────────────┤ │ project │ 项目 ID(术语库用) │ ├──────────────┼───────────────────────────┤ │ llm-provider │ LLM 引擎: openai / claude │ ├──────────────┼───────────────────────────┤ │ llm-api-key │ LLM API Key │ ├──────────────┼───────────────────────────┤ │ llm-model │ LLM 模型名 │ ├──────────────┼───────────────────────────┤ │ llm-base-url │ LLM API 自定义地址 │ └──────────────┴───────────────────────────┘

优先级:CLI flag > 工作区配置 > 全局配置


5 步调优流水线

┌────────┬──────────────────────────────┬────────────────┬─────────────────┐ │ 命令 │ 功能 │ 输入 │ 输出 │ ├────────┼──────────────────────────────┼────────────────┼─────────────────┤ │ at-tun │ │ │ .at-tuner/resul │ │ er │ 创建工作区目录 │ — │ ts/ │ │ init │ │ │ │ ├────────┼──────────────────────────────┼────────────────┼─────────────────┤ │ at-tun │ 获取数据源 schema 转 │ │ │ │ er exp │ Markdown │ --datasource │ schema.md │ │ lore │ │ │ │ ├────────┼──────────────────────────────┼────────────────┼─────────────────┤ │ at-tun │ │ │ │ │ er gen │ AI 生成 15 个测试问题 │ schema.md │ test-cases.md │ │ erate │ │ │ │ ├────────┼──────────────────────────────┼────────────────┼─────────────────┤ │ at-tun │ │ │ results/case-*. │ │ er exe │ 批量并发提问,收集 SQL 结果 │ test-cases.md │ json │ │ cute │ │ │ │ ├────────┼──────────────────────────────┼────────────────┼─────────────────┤ │ at-tun │ │ │ tuning-report.m │ │ er ana │ 分析失败+LLM 诊断根因 │ results/ │ d + .json │ │ lyze │ │ │ │ ├────────┼──────────────────────────────┼────────────────┼─────────────────┤ │ at-tun │ 执行调优(更新字段备注/术语/ │ tuning-report. │ │ │ er │ Skill) │ json │ API 调用 │ │ apply │ │ │ │ └────────┴──────────────────────────────┴────────────────┴─────────────────┘

一键流水线

at-tuner tune # 自动执行全部 5 步


参数速查

┌─────────────────┬───────────────────────────────┬────────────────┐ │ 参数 │ 说明 │ 默认值 │ ├─────────────────┼───────────────────────────────┼────────────────┤ │ -w, --workspace │ 工作区路径 │ .at-tuner │ ├─────────────────┼───────────────────────────────┼────────────────┤ │ --datasource │ 数据源 ID │ 从 config 加载 │ ├─────────────────┼───────────────────────────────┼────────────────┤ │ --server │ API 地址 │ 从 config 加载 │ ├─────────────────┼───────────────────────────────┼────────────────┤ │ --api-key │ API Key │ 从 config 加载 │ ├─────────────────┼───────────────────────────────┼────────────────┤ │ --concurrency │ 并发数(execute 步骤) │ 3 │ ├─────────────────┼───────────────────────────────┼────────────────┤ │ --timeout │ 单问超时(ms) │ 120000 │ ├─────────────────┼───────────────────────────────┼────────────────┤ │ --scope │ 业务场景范围(generate 步骤) │ — │ ├─────────────────┼───────────────────────────────┼────────────────┤ │ --llm-provider │ LLM 引擎 │ 从 config 加载 │ ├─────────────────┼───────────────────────────────┼────────────────┤ │ --llm-api-key │ LLM Key │ 从 config 加载 │ ├─────────────────┼───────────────────────────────┼────────────────┤ │ --llm-model │ LLM 模型 │ — │ ├─────────────────┼───────────────────────────────┼────────────────┤ │ --llm-base-url │ LLM 自定义地址 │ — │ ├─────────────────┼───────────────────────────────┼────────────────┤ │ --project │ 项目 ID(术语库) │ "" │ ├─────────────────┼───────────────────────────────┼────────────────┤ │ --dry-run │ 预览不执行 │ false │ ├─────────────────┼───────────────────────────────┼────────────────┤ │ --confirm │ 跳过确认 │ false │ └─────────────────┴───────────────────────────────┴────────────────┘