commit 79f1fd3f756cdf7eab1763232d3126abfaedbc04 Author: Mortdecai Date: Sun Mar 29 19:02:51 2026 -0400 feat: project scaffold with pyproject.toml and package structure diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..14fac91 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..4ce0ac3 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,21 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "kitty-workbench" +version = "0.1.0" +description = "MCP server that gives AI CLIs a rich interactive display panel in the terminal" +readme = "README.md" +license = "MIT" +requires-python = ">=3.10" +dependencies = [ + "mcp>=1.26.0", + "textual>=0.70.0", +] + +[project.optional-dependencies] +svg = ["cairosvg"] + +[project.scripts] +kitty-workbench = "kitty_workbench.cli:main" diff --git a/src/kitty_workbench/__init__.py b/src/kitty_workbench/__init__.py new file mode 100644 index 0000000..c8d49e0 --- /dev/null +++ b/src/kitty_workbench/__init__.py @@ -0,0 +1,3 @@ +"""Kitty-Workbench — MCP server for AI-driven terminal display panels.""" + +__version__ = "0.1.0" diff --git a/src/kitty_workbench/__main__.py b/src/kitty_workbench/__main__.py new file mode 100644 index 0000000..96a9938 --- /dev/null +++ b/src/kitty_workbench/__main__.py @@ -0,0 +1,5 @@ +"""Allow running as `python -m kitty_workbench`.""" + +from kitty_workbench.cli import main + +main()