cfgit 0.4.4__tar.gz → 0.4.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cfgit-0.4.4 → cfgit-0.4.5}/PKG-INFO +14 -1
- {cfgit-0.4.4 → cfgit-0.4.5}/README.md +13 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/plugins/cfg_impact/pyproject.toml +2 -2
- {cfgit-0.4.4 → cfgit-0.4.5}/pyproject.toml +1 -1
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/mcp/server.py +20 -1
- {cfgit-0.4.4 → cfgit-0.4.5}/.github/workflows/ci.yml +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/.github/workflows/publish.yml +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/.gitignore +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/CONTRIBUTING.md +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/CREDITS.md +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/LICENSE +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/NOTICE +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/SECURITY.md +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/docs/ADAPTERS.md +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/docs/AGENTS.md +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/docs/BRANCHING_PLAN.md +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/docs/CONFIGURATION.md +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/docs/IDENTITY_AND_ATTRIBUTION.md +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/docs/PUBLISHING.md +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/docs/README.md +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/docs/SPEC.md +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/docs/SPEC_CORE.md +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/docs/USAGE.md +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/docs/screenshots/01-diff.png +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/docs/screenshots/02-impact.png +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/docs/screenshots/03-scoped-impact.png +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/docs/screenshots/04-branches.png +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/docs/screenshots/05-pull-request.png +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/examples/.cfg.toml +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/examples/cfgit-support-demo.toml +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/examples/seed_support_demo.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/plugins/cfg_impact/README.md +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/plugins/cfg_impact/cfg_impact/__init__.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/plugins/cfg_impact/cfg_impact/overview.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/plugins/cfg_impact/cfg_impact/providers/__init__.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/plugins/cfg_impact/cfg_impact/providers/base.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/plugins/cfg_impact/cfg_impact/providers/claude.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/plugins/cfg_impact/cfg_impact/providers/factory.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/plugins/cfg_impact/cfg_impact/providers/gemini.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/plugins/cfg_impact/cfg_impact/providers/openai_provider.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/skills/cfgit/SKILL.md +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/__init__.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/adapters/__init__.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/adapters/base.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/adapters/mongo.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/adapters/postgres.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/approval/__init__.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/approval/base.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/cli/__init__.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/cli/main.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/core/__init__.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/core/authz.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/core/config.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/core/diff.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/core/engine.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/core/hashing.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/core/identity.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/core/remedy.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/interfaces/__init__.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/interfaces/actions.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/mcp/__init__.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/ui/__init__.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/ui/server.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/src/cfg/update.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_adapter_contract_live.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_authz.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_awareness.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_commit_dry_run.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_config.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_config_discovery.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_console_script.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_core_purity.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_engine_safety.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_export_import.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_hashing.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_identity.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_impact_boundary.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_mcp_identity.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_mongo_history.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_output_mode.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_postgres_history.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_remedy.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_set_fields.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_ui_server.py +0 -0
- {cfgit-0.4.4 → cfgit-0.4.5}/tests/test_update_check.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cfgit
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.5
|
|
4
4
|
Summary: Git-style history, diff, drift detection, and rollback for live database records without migrating or owning your datastore
|
|
5
5
|
Project-URL: Homepage, https://github.com/AusafMo/cfgit
|
|
6
6
|
Project-URL: Repository, https://github.com/AusafMo/cfgit
|
|
@@ -565,6 +565,19 @@ Run the MCP server:
|
|
|
565
565
|
cfg-mcp
|
|
566
566
|
```
|
|
567
567
|
|
|
568
|
+
`cfg-mcp` requires the `mcp` extra. If you installed cfgit without it (a plain
|
|
569
|
+
`pip install cfgit` / `pipx install cfgit`), `cfg-mcp` exits with
|
|
570
|
+
`ModuleNotFoundError` — which is what an MCP client (or a one-click install
|
|
571
|
+
deeplink) will surface as a failed connection. Install the extra:
|
|
572
|
+
|
|
573
|
+
```bash
|
|
574
|
+
pip install 'cfgit[mcp]' # pip / venv
|
|
575
|
+
pipx inject cfgit 'mcp>=1.0,<2' # if cfgit was installed via pipx
|
|
576
|
+
```
|
|
577
|
+
|
|
578
|
+
The extra currently pins `mcp>=1.0,<2` — the cfgit MCP server targets the mcp 1.x
|
|
579
|
+
`FastMCP` API and is not yet ported to mcp 2.0.
|
|
580
|
+
|
|
568
581
|
## Record syntax
|
|
569
582
|
|
|
570
583
|
Records are addressed as:
|
|
@@ -332,6 +332,19 @@ Run the MCP server:
|
|
|
332
332
|
cfg-mcp
|
|
333
333
|
```
|
|
334
334
|
|
|
335
|
+
`cfg-mcp` requires the `mcp` extra. If you installed cfgit without it (a plain
|
|
336
|
+
`pip install cfgit` / `pipx install cfgit`), `cfg-mcp` exits with
|
|
337
|
+
`ModuleNotFoundError` — which is what an MCP client (or a one-click install
|
|
338
|
+
deeplink) will surface as a failed connection. Install the extra:
|
|
339
|
+
|
|
340
|
+
```bash
|
|
341
|
+
pip install 'cfgit[mcp]' # pip / venv
|
|
342
|
+
pipx inject cfgit 'mcp>=1.0,<2' # if cfgit was installed via pipx
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
The extra currently pins `mcp>=1.0,<2` — the cfgit MCP server targets the mcp 1.x
|
|
346
|
+
`FastMCP` API and is not yet ported to mcp 2.0.
|
|
347
|
+
|
|
335
348
|
## Record syntax
|
|
336
349
|
|
|
337
350
|
Records are addressed as:
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "cfgit-impact"
|
|
3
|
-
version = "0.4.
|
|
3
|
+
version = "0.4.5"
|
|
4
4
|
description = "Optional cfgit plugin for deterministic system-impact summaries and opt-in LLM narration of database record diffs"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.11"
|
|
7
7
|
license = "Apache-2.0"
|
|
8
8
|
authors = [{ name = "Mohammad Ausaf" }]
|
|
9
9
|
dependencies = [
|
|
10
|
-
"cfgit>=0.4.
|
|
10
|
+
"cfgit>=0.4.5,<0.5.0",
|
|
11
11
|
"httpx>=0.27",
|
|
12
12
|
]
|
|
13
13
|
|
|
@@ -14,9 +14,28 @@ except ModuleNotFoundError: # pragma: no cover
|
|
|
14
14
|
FastMCP = None # type: ignore[assignment]
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
def _mcp_missing_message() -> str:
|
|
18
|
+
"""Actionable install hint. `cfg-mcp` is commonly launched by an MCP client (e.g. via a
|
|
19
|
+
one-click deeplink) against a cfgit that was installed WITHOUT the mcp extra. For a pipx
|
|
20
|
+
install, `pip install cfgit[mcp]` is the wrong fix (it won't touch the pipx venv), so lead
|
|
21
|
+
with `pipx inject` when we detect we're running from one."""
|
|
22
|
+
import sys
|
|
23
|
+
|
|
24
|
+
base = (
|
|
25
|
+
"The cfgit MCP server needs the 'mcp' package, which is not installed in this "
|
|
26
|
+
"environment. cfgit was installed without the [mcp] extra."
|
|
27
|
+
)
|
|
28
|
+
if "/pipx/venvs/" in sys.prefix or "/pipx/venvs/" in sys.executable:
|
|
29
|
+
return (
|
|
30
|
+
f"{base}\nFix (pipx): pipx inject cfgit 'mcp>=1.0,<2'\n"
|
|
31
|
+
"or reinstall with the extra: pipx install 'cfgit[mcp]' --force"
|
|
32
|
+
)
|
|
33
|
+
return f"{base}\nFix: pip install 'cfgit[mcp]' (mcp 2.0 is not yet supported; the extra pins mcp<2)"
|
|
34
|
+
|
|
35
|
+
|
|
17
36
|
def _mcp() -> Any:
|
|
18
37
|
if FastMCP is None:
|
|
19
|
-
raise ModuleNotFoundError(
|
|
38
|
+
raise ModuleNotFoundError(_mcp_missing_message())
|
|
20
39
|
return FastMCP("cfgit")
|
|
21
40
|
|
|
22
41
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|