feat(rename): supercharge for agents — -j alias, exit_code, duration_ms, sanitized errors, expanded docstrings
- Add -j alias for --json in register() - Add exit_code: int and duration_ms: float to _RenameResult TypedDict - Add start_timer() + elapsed() wired into run(); inject into JSON output - Sanitize new_name in _validate_identifier error messages (null-byte safety) - Expand register() docstring to list all 8 arguments - Expand run() docstring to document JSON envelope, exit_code, duration_ms - 99 new tests: TestJsonAlias, TestJsonEnvelope, TestUnitValidateIdentifier, TestUnitParseAddress, TestUnitLine, TestUnitDedup, TestUnitApplyEdits, TestUnitFindDefinitionSite, TestUnitFindReferenceSites, TestCLIScopeCallsites, TestCLIScopeAll, TestCLIAliases, TestCLIAsyncDef, TestCLIAttributeRename, TestCLIMultipleOccurrences, TestCLIWarnings, TestCLINoSites, TestCLISecurity, TestDocstrings
0 comments
muse hub commit comment sha256:5054e4739d4a05413c3a5c6a75f2b395c45f84f0f3e268211184daf468eeaa1f --body "your comment"
No comments yet. Be the first to start the discussion.