Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
10db3ab
feat(platform): add CLI platform adapter for testing
YukiRa1n Jan 31, 2026
fbf935d
refactor(platform): rename CLI adapter to CLI Tester and disable by d…
YukiRa1n Jan 31, 2026
f27ed1f
style: fix code formatting with ruff
YukiRa1n Jan 31, 2026
eb6791e
feat: add token-based authentication for CLI platform
YukiRa1n Jan 31, 2026
a8c9498
refactor(cli): fix hardcoded paths and improve code quality
YukiRa1n Jan 31, 2026
1c5f421
feat(cli): support multi-round reply and large response handling
YukiRa1n Jan 31, 2026
600b12c
fix(ci): skip release step in forked repositories
YukiRa1n Jan 31, 2026
e0d09c9
fix(ci): correct checkout parameter from fetch-tag to fetch-tags
YukiRa1n Feb 1, 2026
af063f6
feat(cli): add cross-platform socket support for Windows compatibility
YukiRa1n Feb 2, 2026
19b9c9e
refactor(cli): 重构CLI适配器为模块化架构
YukiRa1n Feb 5, 2026
079bbeb
feat: 添加 `astr` CLI 客户端命令
YukiRa1n Feb 5, 2026
c66b1d9
chore: 删除独立的 脚本
YukiRa1n Feb 5, 2026
e9b60fc
docs: 改进 usage: astr [-h] [-s SOCKET] [-t TIMEOUT] [-j] [--log] [--li…
YukiRa1n Feb 5, 2026
f6eb34a
docs: 修正 help 示例,移除命令前的 /
YukiRa1n Feb 5, 2026
4056250
fix: 支持以 / 开头的命令参数
YukiRa1n Feb 5, 2026
e190581
fix: 修复 UTF-8 多字节字符解码问题
YukiRa1n Feb 5, 2026
91fc5e5
feat: 改进 CLI 输出格式和添加日志查询功能
YukiRa1n Feb 5, 2026
b72e206
chore: 改进日志查询错误提示
YukiRa1n Feb 5, 2026
c03e768
style: ruff format 和 lint 检查通过
YukiRa1n Feb 5, 2026
8f1fed1
fix: 兼容 Git Bash 的路径转换问题
YukiRa1n Feb 5, 2026
1eac3cf
style: ruff format
YukiRa1n Feb 5, 2026
813d93e
fix: CLI 客户端支持全局调用
YukiRa1n Feb 5, 2026
82fde88
refactor(cli): 采纳PR review,argparse改为click + 修复asyncio弃用API
YukiRa1n Feb 6, 2026
fa5e2d4
fix(cli): 完善旧用法兼容,astr -j/--log等flag自动路由到子命令
YukiRa1n Feb 6, 2026
b2bda83
fix(cli): 修复日志级别筛选功能
YukiRa1n Feb 8, 2026
7619560
style: ruff format
YukiRa1n Feb 8, 2026
42c02e1
feat(cli): 默认使用文件模式读取日志
YukiRa1n Feb 8, 2026
c980e70
style: ruff format
YukiRa1n Feb 8, 2026
d0702a7
fix(cli): 修复插件指令执行后触发 LLM 回复的问题
YukiRa1n Feb 10, 2026
c1dcafc
feat(cli): 添加重启命令和可选的新窗口启动
YukiRa1n Feb 10, 2026
9387d5e
feat(cli): Windows 默认在新窗口启动
YukiRa1n Feb 10, 2026
e49f056
fix(cli): 优化消息接收逻辑,用 finalize 机制替代延迟响应
YukiRa1n Feb 12, 2026
90fa151
style: ruff format
YukiRa1n Feb 12, 2026
996c7c2
style: ruff format network_utils.py
YukiRa1n Feb 12, 2026
e99ecb5
fix(cli): 支持全局调用 run/restart,run 默认当前窗口
YukiRa1n Feb 12, 2026
dcc2390
fix(cli): 修复全局调用时路径定位错误
YukiRa1n Feb 12, 2026
24d6f14
merge: resolve conflict with upstream master, keep both cli and line …
YukiRa1n Feb 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"permissions": {
"allow": [
"Bash(ruff format:*)",
"Bash(ruff check:*)",
"Bash(git -C \"C:\\\\Users\\\\29594\\\\Desktop\\\\astrbotcc\\\\AstrBot\" diff)",
"Bash(git -C \"C:\\\\Users\\\\29594\\\\Desktop\\\\astrbotcc\\\\AstrBot\" add -A)",
"Bash(git -C \"C:\\\\Users\\\\29594\\\\Desktop\\\\astrbotcc\\\\AstrBot\" commit -m \"style: ruff format\")"
]
}
}
2 changes: 1 addition & 1 deletion .github/workflows/dashboard_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
!dist/**/*.md

- name: Create GitHub Release
if: github.event_name == 'push'
if: github.event_name == 'push' && github.repository == 'AstrBotDevs/AstrBot'
uses: ncipollo/release-action@v1
with:
tag: release-${{ github.sha }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/checkout@v6
with:
fetch-depth: 1
fetch-tag: true
fetch-tags: true

- name: Check for new commits today
if: github.event_name == 'schedule'
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
uses: actions/checkout@v6
with:
fetch-depth: 1
fetch-tag: true
fetch-tags: true

- name: Get latest tag (only on manual trigger)
id: get-latest-tag
Expand Down
3 changes: 2 additions & 1 deletion astrbot/cli/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import click

from . import __version__
from .commands import conf, init, plug, run
from .commands import conf, init, plug, restart, run

logo_tmpl = r"""
___ _______.___________..______ .______ ______ .___________.
Expand Down Expand Up @@ -51,6 +51,7 @@ def help(command_name: str | None) -> None:

cli.add_command(init)
cli.add_command(run)
cli.add_command(restart)
cli.add_command(help)
cli.add_command(plug)
cli.add_command(conf)
Expand Down
4 changes: 4 additions & 0 deletions astrbot/cli/client/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"""AstrBot CLI Client - Socket客户端工具

用于通过Unix Socket或TCP Socket与AstrBot CLIPlatformAdapter通信
"""
Loading