Release v1.0.1: Fix CLI error messages and improve user experience
### Key Fixes - Resolve spurious "Got unexpected extra argument" error messages in Click library - Fix malformed YAML frontmatter in agent definition files - Enhance global installation capability with improved make install-global ### Technical Implementation - Add intelligent CLI error handling with safe_cli_wrapper() function - Implement comprehensive test suite for error suppression (11 test cases) - Create detailed documentation and future maintenance guide - Update entry point to provide clean user experience ### Files Added - tests/test_cli_error_handling.py - Comprehensive test coverage - CLICK_WORKAROUND.md - Technical documentation and removal timeline ### Files Modified - pyproject.toml - Version bump to 1.0.1 and entry point update - CHANGELOG.md - Detailed release notes for v1.0.1 - README.md - Added known issues section - src/kaizen_agentic/cli.py - Click error handling implementation - Multiple agent files - Fixed YAML frontmatter formatting Resolves: Issue #3 - CLI argument parsing errors and user confusion 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "kaizen-agentic"
|
||||
version = "1.0.0"
|
||||
version = "1.0.1"
|
||||
description = "AI agent development framework embracing continuous improvement (kaizen)"
|
||||
readme = "README.md"
|
||||
license = {file = "LICENSE"}
|
||||
@@ -46,8 +46,11 @@ test = [
|
||||
"pytest-randomly>=3.10.0",
|
||||
]
|
||||
|
||||
# NOTE: Using safe_cli_wrapper instead of direct CLI function
|
||||
# This is a workaround for Click library spurious error messages
|
||||
# TODO: Test with Click 9.x+ and revert to "kaizen_agentic.cli:cli" when issue is resolved
|
||||
[project.scripts]
|
||||
kaizen-agentic = "kaizen_agentic.cli:cli"
|
||||
kaizen-agentic = "kaizen_agentic.cli:safe_cli_wrapper"
|
||||
|
||||
[project.urls]
|
||||
"Homepage" = "https://github.com/kaizen-agentic/kaizen-agentic"
|
||||
|
||||
Reference in New Issue
Block a user