feat: add mybot CLI with update, chat, and Claude project config

- Click entrypoint: mybot update (make install / pip -e), mybot chat (claude in repo)
- Optional --dangerously-skip-permissions for Claude Code
- Makefile install; hatchling package layout
- .gitignore: venv, build artifacts, workspace (local symlinks)

Made-with: Cursor
This commit is contained in:
Zhengshou Lai
2026-04-06 13:11:10 +08:00
commit b98d35c387
121 changed files with 9962 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
[project]
name = "mybot"
version = "0.1.0"
description = "Mybot CLI: package update and Claude Code launcher for this repo"
requires-python = ">=3.10"
dependencies = [
"click>=8.0.0",
"rich>=13.0.0",
]
[project.scripts]
mybot = "mybot.cli:cli"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["mybot"]
[tool.black]
line-length = 80
target-version = ["py310"]
[tool.ruff]
line-length = 80
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "W"]
ignore = ["E501"]