Commit Graph
38 Commits
Author SHA1 Message Date
Zhengshou Lai 29fafc39db test: add pytest suite for core modules
- Add pytest dependency and config to pyproject.toml
- Test project_root: env var priority, fallback, directory creation
- Test CLI: help, version, subcommands, default behavior, options
2026-04-23 09:00:44 +08:00
Zhengshou Lai bb39b80d06 refactor: clean up outdated references and orphan files
- Fix __init__.py docstring: Mybot → Myclaude
- Remove stale .gitignore entries (workspace/, knowledge/)
- Delete orphan package-lock.json from Python project
- Update README: project structure, commands, env vars
- Replace all myclaude chat references with myclaude
- Update defaultWorkingDirectory examples to ~/workspace
- Add MYCLAUDE_WORKSPACE_ROOT documentation
2026-04-23 08:55:15 +08:00
Zhengshou Lai 475a0911e2 feat(workspace): make workspace location configurable via env var
- Add MYCLAUDE_WORKSPACE_ROOT env var, default ~/workspace
- Auto-create workspace directory if it does not exist
- Move workspace/CLAUDE.md + .gitignore to workspace_template/
- Remove hardcoded symlink paths from workspace template
- Update get_workspace_root() with env-var priority logic
- Update metabot bots.json defaultWorkingDirectory to ~/workspace
2026-04-23 08:47:22 +08:00
Zhengshou Lai bebf7ba17a feat(cli): merge chat into default behavior, default cwd to workspace/
- Remove standalone chat subcommand; chat becomes default behavior
- Default --cwd resolves to workspace/ instead of repo root
- Split CLAUDE.md: repo/ for CLI dev, workspace/ for daily workflow
- Add workspace/CLAUDE.md, workspace/.gitignore for tmp files
- Ignore MCP temp artifacts (.mcp.json, .playwright-mcp/)
- Clean up removed mail subcommand files
2026-04-23 08:38:59 +08:00
Zhengshou Lai 5a665e38bb feat(mail): add IMAP/STP email subcommand
New `myclaude mail` group with:
- config: interactive account setup
- inbox: list recent messages
- read: show message by UID
- send: send email with attachments
- reply/forward: reply to or forward messages
2026-04-17 00:02:54 +08:00
Zhengshou Lai e8320b1798 feat(scripts): add rename_funcs_to_snake helper
Utility script to bulk-rename Python and C++ functions to
snake_case using AST analysis and regex heuristics.
2026-04-17 00:02:50 +08:00
Zhengshou Lai afc81dcd84 feat(cli): add upgrade alias and register mail command
- Add upgrade as an alias for update
- Register mail_cmd in CLI entrypoint
2026-04-17 00:02:46 +08:00
Zhengshou Lai 2618f626a7 feat(make): extract completion install to standalone script
Move shell-specific completion generation from Makefile inline
logic to scripts/install_completion.sh for easier maintenance.
2026-04-17 00:02:41 +08:00
Zhengshou Lai c890ef6d72 docs(CLAUDE): update workspace structure and memory mechanism
- Refresh workspace directory layout with current symlinks
- Replace old knowledge protocol with metamemory (mm CLI)
- Add mydesktop, myslides, mytoolkit paths
2026-04-17 00:02:37 +08:00
Zhengshou Lai 152db75e15 chore(skills): remove deprecated skills and update permissions
- Delete update-mykb-files and update-mykb-memories skills
- Update update-mywebpage skill to use lowercase mywebpage path
- Sync settings.local.json permissions
2026-04-17 00:02:30 +08:00
Zhengshou Lai f05811ef54 style(update): remove unused sys import
Oops, sys is still used by sys.executable. Restored.
2026-04-17 00:02:07 +08:00
Zhengshou Lai 686c0f736c fix(chat): register --cwd as Click option for shell completion
Replace manual ctx.args parsing with a proper @click.option using
is_flag=False and flag_value='.'. This enables tab completion for
the --cwd / -C option and directory-only path completion after it.
Also bump click dependency to >=8.3.2 to avoid the optional-value
regression in 8.3.0/8.3.1.
2026-04-17 00:00:49 +08:00
Zhengshou Lai 7c39d7c9d9 feat(make): auto install/uninstall shell completions
Add _install-completions and _uninstall-completions targets to Makefile:
- Detect shell (zsh/bash) and generate appropriate completion files
- Install to ~/.local/bin/completions/ on make install
- Remove completions on make uninstall
- Integrate with existing update/upgrade commands
2026-04-13 11:07:37 +08:00
Zhengshou Lai 929d808b3e fix(chat): remove --cwd from Click options to allow optional value parsing
--cwd was defined as a Click option but also parsed manually from ctx.args,
which caused conflicts when --cwd was followed by another flag (like
--dangerously-skip-permissions). Now --cwd is parsed entirely manually,
allowing:
  --cwd alone -> use current directory
  --cwd /path -> use specified path
  (none)      -> use myclaude project root (default)
2026-04-13 09:09:53 +08:00
Zhengshou Lai 250e3dd096 feat(chat): --cwd 支持可选值,缺省为当前目录
使 --cwd 选项支持无值调用:
- --cwd 单独使用 → 默认为当前目录 "."
- --cwd /path → 使用指定路径
- --cwd=. / -C. → 等号或短选项语法

修复:--cwd 后接其他 flag 时被误认为值的歧义问题。
2026-04-13 09:02:16 +08:00
Zhengshou Lai 6caf471eb3 docs: move git-proxy-clone to appendix with proper setup instructions
- Remove git-proxy-clone from skills table (it's a custom local skill)
- Add appendix section explaining FastGithub setup
- Include copy-paste prompt for Claude to create the skill
- Add manual alias configuration as fallback
2026-04-10 10:26:00 +08:00
Zhengshou Lai 21a7f032bf feat(install): symlink myclaude to ~/.local/bin, make uninstall, docs
- Makefile: uv sync or venv pip install -e, then ln -sf to ~/.local/bin/myclaude
- Add scripts/rm_user_local_myclaude.py for safe unlink on make uninstall
- README: install path, shell completion guarded by command -v
- Track uv.lock for reproducible uv sync

Made-with: Cursor
2026-04-10 08:23:14 +08:00
Zhengshou Lai 596da55753 chore: update local settings 2026-04-09 23:18:44 +08:00
Zhengshou Lai 7d37914cbf docs: update README with improved installation and configuration guide 2026-04-09 23:17:07 +08:00
Zhengshou Lai e693198727 minors 2026-04-09 14:06:07 +08:00
Zhengshou Lai 1bead9a6d8 chore: persist memories and excerpts under knowledge/ instead of .claude/
Move documented and skill paths to knowledge/memories and knowledge/files
(project root, mappable to @knowledge) to reduce sandbox issues on .claude/.
Update CLAUDE.md memory protocol, update-mykb-* skills, and settings.local.json
bootstrap check for core.json.

Made-with: Cursor
2026-04-09 10:36:00 +08:00
Zhengshou Lai d63ce56e3f update skills 2026-04-09 10:31:29 +08:00
Zhengshou Lai 18943a7399 update skills 2026-04-09 10:31:13 +08:00
Zhengshou Lai 2b3296b6a5 update skills 2026-04-09 10:27:34 +08:00
Zhengshou Lai da713c969e minor 2026-04-09 10:14:25 +08:00
Zhengshou Lai 790a16d030 chore(claude): version skills and local settings; add rag-files/rag-memories
- Adjust .gitignore to track .claude/settings.local.json and .claude/skills/** while keeping other .claude content local.

- Add rag-files (knowledge retrieval + .claude/files notes), rag-memories, and mywebpage-update skills with PDF/Excel references.

- Fix settings.local.json hooks (SessionStart schema) for Claude Code.

- Update CLAUDE.md for rag-files paths and memory/file pool notes.

- Remove tracked .claude/plans and sessions placeholders no longer used.

Made-with: Cursor
2026-04-09 10:11:54 +08:00
Zhengshou Lai e84737b527 Merge remote-tracking branch 'origin/main' into myusing 2026-04-08 22:20:50 +08:00
Zhengshou Lai 0b8a60b919 cleanup: remove old framework files and update CLAUDE.md
- Remove legacy agent/, todo/, souls/, insights/, conversations/ folders
- Remove outdated skills (coding.md, debugging.md, architecture.md)
- Remove old memory files (core.json, current_mode.json)
- Update CLAUDE.md with workspace structure and knowledge retrieval principles
- Add .claude/ and .obsidian/ to .gitignore
2026-04-08 22:20:36 +08:00
Zhengshou Lai 38ac5bd7b5 docs: add PATH configuration for metabot and myclaude commands 2026-04-07 09:50:23 +08:00
Zhengshou Lai eb609d8118 docs: add Feishu event subscription configuration to README 2026-04-07 09:47:05 +08:00
Zhengshou Lai 3b7a10ee00 docs: add Claude authentication tip about using cc-switch config 2026-04-07 09:43:18 +08:00
Zhengshou Lai ba8d63ab1a docs: clarify Kimi and Kimi Code pricing models 2026-04-07 09:40:40 +08:00
Zhengshou Lai 2d9a20046f docs: restructure README for clarity
- Reorganize sections: Quick Start -> Usage Guide -> Advanced Config
- Move Skill installation to Advanced Config section
- Update Workspace management to emphasize telling Claude to do it
- Simplify language and remove redundant content
- Keep video tutorial and project structure sections
2026-04-07 09:35:16 +08:00
Zhengshou Lai 9226df44b6 docs: add skill installation guide to README
- Add manual installation (project-level and global)
- Add automatic installation via npx skills
- Include recommended skill sources and URLs
- Add table of recommended skills with install commands
2026-04-07 09:31:39 +08:00
Zhengshou Lai 5cacbbc82e docs: fix bots.json configuration example
- Correct file location to metabot/bots.json
- Update JSON structure to feishuBots array format
- Add defaultWorkingDirectory configuration
2026-04-07 09:28:27 +08:00
Zhengshou Lai 643a128697 docs: add comprehensive README with installation guides 2026-04-07 09:25:33 +08:00
Zhengshou Lai 5ecf737de6 renaming from mybot to myclaude 2026-04-06 14:04:11 +08:00
Zhengshou Lai b98d35c387 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
2026-04-06 13:11:10 +08:00