feat: workspace support, pure-zsh parsing, color fix, tests, README, LICENSE
- Fix muse_prompt_info color bug: dirty_mark rendered in cyan instead of yellow; dirty_mark now carries its own %F{yellow} escape - Replace python3 domain parse (_muse_parse_domain) with pure-zsh regex match on .muse/repo.json — removes the python3 fork from every cd - Add _muse_json_int() pure-zsh helper: extracts integer fields from JSON via zsh =~ regex; replaces python3 in _muse_check_dirty - Add workspace awareness: _muse_find_workspace() walks up from repo root looking for .muse/workspace.toml; sets MUSE_WORKSPACE_ROOT - Add muse_workspace_info() prompt segment (opt-in: MUSE_SHOW_WORKSPACE=1) - Add MUSE_WORKSPACE_ROOT as 8th field in muse_branch_info() output - Add MUSE_SHOW_WORKSPACE config variable (default 0) - Add MUSE_DISABLE_INIT=1 guard: skip automatic _muse_refresh when sourcing during tests; keeps bats test output hermetic - Add tests/test_plugin.bats: 26 bats-core unit tests covering _muse_find_root, _muse_find_workspace, _muse_parse_head, _muse_parse_domain, _muse_json_int, and muse_branch_info - Add MIT LICENSE - Add README.md with full docs: features, requirements, installation, prompt examples, config table, all public functions, workspace support, alias table, testing, performance model, security notes
0 comments
muse hub commit comment sha256:eeec36d744d48c1e49ae93ff1c7055de03a52cdfa91388608229719833a45462 --body "your comment"
No comments yet. Be the first to start the discussion.