Skip to content

feat: package dacli as single executatble#289

Open
mrsimpson wants to merge 3 commits intodocToolchain:mainfrom
mrsimpson:claude/package-python-project-IWnA6
Open

feat: package dacli as single executatble#289
mrsimpson wants to merge 3 commits intodocToolchain:mainfrom
mrsimpson:claude/package-python-project-IWnA6

Conversation

@mrsimpson
Copy link

Motivation

In order to package dacli e. g. with skills, it's essential it's self-contained (no installation process needed).

Key changes

  • Adds a script to package dacli as zipapp
  • In order to do this, some refactoring was needed to decouple cli and mcp

Out of scope

Integration into CI/CD
Include zipapp in docs

claude added 3 commits March 5, 2026 08:49
Extract _build_index from mcp_app.py into index_builder.py to decouple
the CLI from heavy MCP dependencies (fastmcp, pydantic, cryptography).
The CLI now only needs pure-Python deps (click, pyyaml, pathspec),
enabling packaging as a cross-platform .pyz zipapp via build_zipapp.sh.

Bump version to 0.4.37.

https://claude.ai/code/session_01Mj7TA6eQmnX54KCPzJBfSP
Verify that:
- index_builder.py has no heavy deps (fastmcp, pydantic, etc.)
- cli.py does not import from mcp_app or fastmcp
- build_index works standalone for indexing documents
- mcp_app still exposes _build_index for backward compatibility

https://claude.ai/code/session_01Mj7TA6eQmnX54KCPzJBfSP
@mrsimpson
Copy link
Author

@raifdmueller please accept my contribution tokens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants