Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
5e5dfca
feat: 添加 ZZZ OD MCP 服务器
DoctorReid Feb 12, 2026
2c8f579
docs: 添加开发规范文档
DoctorReid Feb 14, 2026
91baf99
docs: 补充 one_dragon 框架文档和开发配置
DoctorReid Feb 14, 2026
ca4a655
feat: 领取奖励后识别活跃度 (#1985)
ShadowLemoon Feb 9, 2026
bec9984
feat: 悠真模板支持站场C (#2000)
kawayiYokami Feb 9, 2026
027ae92
自动构建运行资源 2026-02-09 14:52:46
invalid-email-address Feb 9, 2026
02fe69b
feat: 矩阵行动 (#1987)
kawayiYokami Feb 10, 2026
fede715
fix: 日常奖励领取使用模板匹配 (#1999)
ShadowLemoon Feb 11, 2026
252ee24
fix: 适配回归地图按钮
ShadowLemoon Feb 12, 2026
5103bde
feat: 适配千夏皮肤和专业挑战室的牲鬼·卫律使者 (#2010)
Usagi-wusaqi Feb 12, 2026
9074c98
fix: 丽都城募修复等级领取逻辑和优化通知时机 (#2001)
Usagi-wusaqi Feb 15, 2026
19c9ce0
feat: 回到大世界操作添加确保回到街区的可选参数 (#2009)
ShadowLemoon Feb 15, 2026
0920089
fix: 修复日常奖励领取
ShadowLemoon Feb 16, 2026
6153b77
fix: 修复日常奖励领取时无法关闭奖励预览弹窗
ShadowLemoon Feb 16, 2026
e94590d
fix: 不使用代理的情况下不进行代理获取
kawayiYokami Feb 10, 2026
15364fa
perf: 代理地址获取添加ua
ShadowLemoon Feb 18, 2026
e22f45f
fix: 修复日志文本
ShadowLemoon Feb 18, 2026
0826a79
feat: 恶名狩猎计划支持拖动来调整刷取顺序 (#1986)
Usagi-wusaqi Feb 20, 2026
05c0148
perf: 增强锄大地准备效率和选择区域各类错误处理 (#2024)
Usagi-wusaqi Feb 20, 2026
411c2c6
feat: 添加安装清单生成和文件校验;迁移pwsh脚本至python (#1772)
ShadowLemoon Feb 22, 2026
8f42cc7
feat: 适配潘引壶的皮肤-馔玉烹金 (#2034)
Usagi-wusaqi Feb 22, 2026
2bb1628
ci: PR 自动构建预览 (#2036)
ShadowLemoon Feb 22, 2026
c5edeb5
fix: PR构建不触发上传
ShadowLemoon Feb 22, 2026
55fbf4a
feat: 自动处理情报板委托 (#1995)
ShadowLemoon Feb 25, 2026
e2209bd
fix: 修复开局武备选择识别错误和通用武备选择偶发的选择错误以及增强日志 (#2040)
kawayiYokami Feb 26, 2026
909b76d
feat: 默认识别到区域或文本后延时点击 (#2029)
ShadowLemoon Feb 26, 2026
68bedfb
feat: 优化矩阵行动配队选择流程 (#2030)
kawayiYokami Feb 26, 2026
855ebc3
perf: switch YAML parsing to CSafeLoader with fallback (#2044)
kawayiYokami Feb 28, 2026
f465c30
feat: 集成启动器(RuntimeLauncher)— 嵌入 Python 运行时的免安装启动方案 (#2035)
ShadowLemoon Feb 28, 2026
124a140
自动构建运行资源 2026-02-28 16:17:07
invalid-email-address Feb 28, 2026
c26a3fd
ci: 修复Mirror酱上传
ShadowLemoon Feb 28, 2026
2b16591
feat: 总通知增加当前体力信息 (#2046)
123hi123 Mar 1, 2026
c507ae9
refactor: 重构画面管理,优化表格列处理方式 (#2051)
ShadowLemoon Mar 1, 2026
275133f
自动构建运行资源 2026-03-01 18:46:05
invalid-email-address Mar 1, 2026
08bfb0b
feat: 角色模板生成工具 (#1984)
kawayiYokami Mar 2, 2026
6c41dd6
feat: 手风琴式设置卡组 (#2061)
ShadowLemoon Mar 3, 2026
f3e4012
自动构建运行资源 2026-03-03 12:23:40
invalid-email-address Mar 3, 2026
7e339cf
refactor: UI优化 (#2062)
ShadowLemoon Mar 3, 2026
9e0bfd5
refactor: 优化通知UI (#2069)
ShadowLemoon Mar 4, 2026
ccc2c96
feat: 开发工具增加截图按钮 (#2027)
kawayiYokami Mar 5, 2026
db19245
feat: 新增爱芮角色及优化终结技模板 (#2070)
kawayiYokami Mar 5, 2026
d8a6b11
自动构建运行资源 2026-03-05 09:40:11
invalid-email-address Mar 5, 2026
1e61883
feat(random_play): 成功等待优化为点击延迟;处理进入咨询的情况等 (#2055)
Usagi-wusaqi Mar 5, 2026
62f968b
fix(transport): 选择区域失败后重试
ShadowLemoon Mar 5, 2026
ab17eb5
feat: 后台模式 (#2057)
ShadowLemoon Mar 5, 2026
3258d55
自动构建运行资源 2026-03-05 21:13:41
invalid-email-address Mar 5, 2026
464f5ec
fix(auto_battle): 修复耀嘉音终结技被错误延长 (#2072)
kawayiYokami Mar 6, 2026
87df93c
自动构建运行资源 2026-03-06 05:36:38
invalid-email-address Mar 6, 2026
10611bc
fix(world_patrol): 优化传送逻辑 (#2067)
Usagi-wusaqi Mar 6, 2026
fd56fc5
refactor(charge_plan): 优化任务跳过机制 (#1960)
ShadowLemoon Mar 6, 2026
57beef5
ci(running_resource): 添加PR检查,优化提交流程 (#2073)
ShadowLemoon Mar 6, 2026
53421a1
fix(lost_void): 修复选择Buff (#2075)
kawayiYokami Mar 6, 2026
499e716
chore: 清理到期的迁移代码
ShadowLemoon Mar 6, 2026
3d786e1
fix(ui): 修复体力计划弹窗模态范围
ShadowLemoon Mar 6, 2026
f320998
perf(auto_battle): 优化叶瞬光明光镜动作模板
kawayiYokami Mar 7, 2026
203b7dd
ci: 自动构建运行资源 2026-03-07 14:52:34
github-actions[bot] Mar 7, 2026
cd82b94
perf(random_play): 录像店营业添加兜底,优化节点 (#2050)
luoyrair Mar 7, 2026
4a649af
refactor(team_choose): 编队识别时去除空格,优化流程 (#2076)
LevelDownRefine Mar 9, 2026
4a10ef9
fix(framework): 修复后台驻留线程 (#2053)
kawayiYokami Mar 9, 2026
8217550
自动更新兑换码 [skip ci]
actions-user Mar 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 23 additions & 0 deletions .claude-plugin/uv-pyright-lsp/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "uv-pyright-lsp",
"version": "0.1.0",
"description": "Pyright LSP server launched via uv run for project-specific Python type checking",
"author": {
"name": "OneDragon",
"email": "one-dragon@example.com"
},
"lspServers": {
"uv-pyright": {
"command": "uv",
"args": [
"run",
"pyright-langserver",
"--stdio"
],
"extensionToLanguage": {
".py": "python",
".pyi": "python"
}
}
}
}
122 changes: 122 additions & 0 deletions .claude-plugin/uv-pyright-lsp/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
# uv-pyright-lsp

Pyright Language Server Protocol (LSP) integration for Claude Code, launched via `uv run` for project-specific Python type checking.

## Features

- **Project-isolated Pyright**: Uses the project's own Python environment and dependencies via `uv`
- **Seamless Integration**: Provides type checking, code completion, go-to-definition, and more
- **No Global Installation**: Works with Pyright installed in the project's virtual environment

## Supported Extensions

- `.py` - Python source files
- `.pyi` - Python type stub files

## How It Works

This plugin launches Pyright LSP server using `uv run pyright-langserver --stdio`, which:

1. Runs `pyright-langserver` from the project's virtual environment
2. Communicates with Claude Code via standard input/output (stdio)
3. Provides language features like type checking, autocomplete, and navigation

## Installation

The plugin should already be enabled in this project. To verify:

```bash
# Check if plugin is loaded
claude plugin list
```

## Requirements

This plugin requires:

1. **uv** - The Python package installer (https://github.com/astral-sh/uv)
2. **Pyright** - Must be installed in the project via uv

To install Pyright in the current project:

```bash
uv add pyright
# or
uv pip install pyright
```

## Usage

Once enabled, Claude Code automatically uses this plugin for `.py` and `.pyi` files:

- **Type Checking**: Automatic type errors detection as you type
- **Code Completion**: Intelligent autocomplete based on type information
- **Go to Definition**: Navigate to function/class definitions
- **Find References**: Find all usages of a symbol
- **Refactoring**: Safe code refactoring with type checking

## Configuration

Pyright configuration is loaded from standard locations:

- `pyrightconfig.json` in project root
- `[tool.pyright]` section in `pyproject.toml`

Example `pyrightconfig.json`:

```json
{
"include": ["src"],
"exclude": ["**/node_modules",
"**/__pycache__",
"src/zzz_od/geometry"
],
"ignore": [],
"defineConstant": {
"DEBUG": true
},
"stubPath": "src/typings",
"typeCheckingMode": "standard"
}
```

## Troubleshooting

### Pyright not found

If you see errors about `pyright-langserver` not being found:

```bash
# Install pyright in the project
uv pip install pyright

# Verify installation
uv run pyright --version
```

### Type checking not working

1. Check that `pyrightconfig.json` exists and is valid
2. Verify the Python environment is correctly configured
3. Check Claude Code's LSP output for errors

### uv command not found

Install uv following official documentation: https://github.com/astral-sh/uv#installation

## Comparison with pyright-lsp

This plugin differs from the official `pyright-lsp` plugin:

| Feature | pyright-lsp | uv-pyright-lsp |
|---------|-------------|-----------------|
| Pyright installation | Global (npm/pip/pipx) | Project-local (uv) |
| Command | `pyright-langserver` | `uv run pyright-langserver` |
| Isolation | Uses global Pyright | Uses project's virtual environment |
| Best for | General Python development | Project-specific environments |

## More Information

- [Pyright Documentation](https://github.com/microsoft/pyright)
- [uv Documentation](https://github.com/astral-sh/uv)
- [Claude Code LSP Integration](https://docs.anthropic.com/claude-code/lsp)
Loading