besh 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
besh/__about__.py ADDED
@@ -0,0 +1,4 @@
1
+ # SPDX-FileCopyrightText: 2026-present cqian-cs <cqian.cs@qq.com>
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+ __version__ = "0.1.0"
besh/__init__.py ADDED
@@ -0,0 +1,18 @@
1
+ # SPDX-FileCopyrightText: 2026-present cqian-cs <cqian.cs@qq.com>
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+ """besh - Beacon Shell.
5
+
6
+ 把闲置算力(手机 Termux、免费云 IDE、云 NoteBook)变成可远程操作的工人。
7
+
8
+ 四个角色:
9
+
10
+ * 信标(beacon)—— 有公网 IP 的服务器,中转命令、记录状态、提供 Web 界面与 MCP。
11
+ * 工人(worker)—— 任意终端,向信标轮询命令并交给 tmux 执行。
12
+ * 遥控器(controller)—— 本地电脑,用 tmux 风格的命令行操作多个工人。
13
+ * 对象存储(R2)—— 备份工人的工作目录。
14
+ """
15
+
16
+ from .__about__ import __version__
17
+
18
+ __all__ = ["__version__"]
besh/__main__.py ADDED
@@ -0,0 +1,9 @@
1
+ # SPDX-FileCopyrightText: 2026-present cqian-cs <cqian.cs@qq.com>
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+ import sys
5
+
6
+ from .cli import main
7
+
8
+ if __name__ == "__main__":
9
+ sys.exit(main())