comfygit 0.7.0__tar.gz → 0.7.1__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.
- comfygit-0.7.1/PKG-INFO +115 -0
- comfygit-0.7.1/README.md +100 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/pyproject.toml +3 -3
- comfygit-0.7.0/PKG-INFO +0 -697
- comfygit-0.7.0/README.md +0 -682
- {comfygit-0.7.0 → comfygit-0.7.1}/.gitignore +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/LICENSE.txt +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/__init__.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/__main__.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/cli.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/cli_utils.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/completers.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/completion_commands.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/env_commands.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/formatters/__init__.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/formatters/error_formatter.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/global_commands.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/interactive/__init__.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/logging/compressed_handler.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/logging/environment_logger.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/logging/log_compressor.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/logging/logging_config.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/logging/security.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/resolution_strategies.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/strategies/__init__.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/strategies/confirmation.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/strategies/conflict_resolver.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/strategies/interactive.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/strategies/rollback.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/update_commands.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/utils/__init__.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/utils/civitai_errors.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/utils/formatting.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/utils/orchestrator.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/utils/pagination.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/utils/progress.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/utils/runtime_client.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/utils/update_checker.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/utils/update_notice.py +0 -0
- {comfygit-0.7.0 → comfygit-0.7.1}/comfygit_cli/utils/workflow_result.py +0 -0
comfygit-0.7.1/PKG-INFO
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: comfygit
|
|
3
|
+
Version: 0.7.1
|
|
4
|
+
Summary: ComfyGit - Git-based environment management for ComfyUI
|
|
5
|
+
Project-URL: Documentation, https://docs.comfygit.org/
|
|
6
|
+
Project-URL: Repository, https://github.com/comfygit-ai/comfygit
|
|
7
|
+
Project-URL: Issues, https://github.com/comfygit-ai/comfygit/issues
|
|
8
|
+
License-File: LICENSE.txt
|
|
9
|
+
Requires-Python: >=3.10
|
|
10
|
+
Requires-Dist: argcomplete>=3.5.0
|
|
11
|
+
Requires-Dist: comfygit-core[keyring]==0.7.1
|
|
12
|
+
Requires-Dist: comfygit-studio==0.7.1
|
|
13
|
+
Requires-Dist: requests>=2.32.4
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
|
|
16
|
+
# ComfyGit CLI
|
|
17
|
+
|
|
18
|
+
The `comfygit` package provides the `cg` and `comfygit` commands for managing
|
|
19
|
+
ComfyUI environments. Version 0.7.0 depends on matched Core and Studio runtime
|
|
20
|
+
releases and includes the packaged Studio frontend.
|
|
21
|
+
|
|
22
|
+
## Install
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
uv tool install comfygit --upgrade
|
|
26
|
+
cg --version
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
For a source checkout, follow the root [installation guide](../../README.md#install-from-a-source-checkout)
|
|
30
|
+
so all workspace packages come from the same checkout.
|
|
31
|
+
|
|
32
|
+
## First environment
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
cg init --models-dir ~/ComfyUI/models --yes
|
|
36
|
+
cg create demo --use
|
|
37
|
+
cg run
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Use an existing model directory to reuse model bytes across environments.
|
|
41
|
+
Each environment retains isolated mutable ComfyUI/node checkouts and a virtualenv;
|
|
42
|
+
uv caches can reuse package artifacts.
|
|
43
|
+
|
|
44
|
+
## Workflow automation
|
|
45
|
+
|
|
46
|
+
Save the workflow in ComfyUI, then resolve dependencies explicitly:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
cg -e demo workflow resolve my-workflow --auto --no-install --json --strict
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Use `--install` to install missing resolved packages. JSON mode requires `--auto`
|
|
53
|
+
and an explicit install choice. Strict mode fails if dependencies remain
|
|
54
|
+
unresolved or uninstalled. Run the actual workflow afterward to validate runtime
|
|
55
|
+
behavior and outputs.
|
|
56
|
+
|
|
57
|
+
Unregistered class ownership can be recorded against an already tracked package:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
cg -e demo workflow node map my-workflow MyCustomNode my-package --json
|
|
61
|
+
cg -e demo workflow node list my-workflow --json
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Inspect and control
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
cg -e demo status --verbose
|
|
68
|
+
cg -e demo orch status --json
|
|
69
|
+
cg -e demo orch restart --wait --timeout 180 --json
|
|
70
|
+
cg inventory --json --storage
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Named restart requires a current `cg run` supervisor, matching Manager ownership
|
|
74
|
+
and a verified idle queue. Processes started before the CLI upgrade need a relaunch.
|
|
75
|
+
The CLI never adopts arbitrary processes by guessing their PIDs.
|
|
76
|
+
|
|
77
|
+
## Authentication
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
cg auth status
|
|
81
|
+
cg auth set civitai
|
|
82
|
+
cg auth login huggingface
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
`auth set` uses a hidden prompt and needs working OS secure storage. The CLI ships
|
|
86
|
+
the optional keyring adapter; headless downloads can instead use environment or
|
|
87
|
+
provider-native credentials. Core itself has no hard keyring dependency.
|
|
88
|
+
|
|
89
|
+
Supported environment overrides include `CIVITAI_API_TOKEN` / `CIVITAI_API_KEY`,
|
|
90
|
+
`HF_TOKEN` / `HUGGING_FACE_HUB_TOKEN`, and `GITHUB_TOKEN` / `GH_TOKEN`. Credentials
|
|
91
|
+
are never portable manifest fields. Set `COMFYGIT_HOME` to select a different
|
|
92
|
+
workspace.
|
|
93
|
+
|
|
94
|
+
## Documentation and development
|
|
95
|
+
|
|
96
|
+
Use `cg -h` and `cg COMMAND -h` for the exact installed command options.
|
|
97
|
+
|
|
98
|
+
- [Quickstart](https://docs.comfygit.org/getting-started/quickstart/)
|
|
99
|
+
- [CLI reference](https://docs.comfygit.org/cli-reference/global-commands/)
|
|
100
|
+
- [Workflow resolution](https://docs.comfygit.org/user-guide/workflows/workflow-resolution/)
|
|
101
|
+
- [Studio/API serving](https://docs.comfygit.org/user-guide/serve-studio/serving-workflows/)
|
|
102
|
+
- [CLI architecture](docs/architecture.md)
|
|
103
|
+
- [Contributing](../../CONTRIBUTING.md)
|
|
104
|
+
- [Core library](../core/README.md)
|
|
105
|
+
|
|
106
|
+
The parser and router live in `comfygit_cli/cli.py`, handlers in
|
|
107
|
+
`global_commands.py` and `env_commands.py`, with strategies and formatting in
|
|
108
|
+
separate modules. Update the curated public docs when commands change. Generate
|
|
109
|
+
a parser-help snapshot with `make -C docs/comfygit-docs generate-cli` from the
|
|
110
|
+
monorepo root; it never overwrites those docs.
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
uv run pytest packages/cli/tests -q
|
|
114
|
+
make lint
|
|
115
|
+
```
|
comfygit-0.7.1/README.md
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# ComfyGit CLI
|
|
2
|
+
|
|
3
|
+
The `comfygit` package provides the `cg` and `comfygit` commands for managing
|
|
4
|
+
ComfyUI environments. Version 0.7.0 depends on matched Core and Studio runtime
|
|
5
|
+
releases and includes the packaged Studio frontend.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
uv tool install comfygit --upgrade
|
|
11
|
+
cg --version
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
For a source checkout, follow the root [installation guide](../../README.md#install-from-a-source-checkout)
|
|
15
|
+
so all workspace packages come from the same checkout.
|
|
16
|
+
|
|
17
|
+
## First environment
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
cg init --models-dir ~/ComfyUI/models --yes
|
|
21
|
+
cg create demo --use
|
|
22
|
+
cg run
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Use an existing model directory to reuse model bytes across environments.
|
|
26
|
+
Each environment retains isolated mutable ComfyUI/node checkouts and a virtualenv;
|
|
27
|
+
uv caches can reuse package artifacts.
|
|
28
|
+
|
|
29
|
+
## Workflow automation
|
|
30
|
+
|
|
31
|
+
Save the workflow in ComfyUI, then resolve dependencies explicitly:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
cg -e demo workflow resolve my-workflow --auto --no-install --json --strict
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Use `--install` to install missing resolved packages. JSON mode requires `--auto`
|
|
38
|
+
and an explicit install choice. Strict mode fails if dependencies remain
|
|
39
|
+
unresolved or uninstalled. Run the actual workflow afterward to validate runtime
|
|
40
|
+
behavior and outputs.
|
|
41
|
+
|
|
42
|
+
Unregistered class ownership can be recorded against an already tracked package:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
cg -e demo workflow node map my-workflow MyCustomNode my-package --json
|
|
46
|
+
cg -e demo workflow node list my-workflow --json
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Inspect and control
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
cg -e demo status --verbose
|
|
53
|
+
cg -e demo orch status --json
|
|
54
|
+
cg -e demo orch restart --wait --timeout 180 --json
|
|
55
|
+
cg inventory --json --storage
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Named restart requires a current `cg run` supervisor, matching Manager ownership
|
|
59
|
+
and a verified idle queue. Processes started before the CLI upgrade need a relaunch.
|
|
60
|
+
The CLI never adopts arbitrary processes by guessing their PIDs.
|
|
61
|
+
|
|
62
|
+
## Authentication
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
cg auth status
|
|
66
|
+
cg auth set civitai
|
|
67
|
+
cg auth login huggingface
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
`auth set` uses a hidden prompt and needs working OS secure storage. The CLI ships
|
|
71
|
+
the optional keyring adapter; headless downloads can instead use environment or
|
|
72
|
+
provider-native credentials. Core itself has no hard keyring dependency.
|
|
73
|
+
|
|
74
|
+
Supported environment overrides include `CIVITAI_API_TOKEN` / `CIVITAI_API_KEY`,
|
|
75
|
+
`HF_TOKEN` / `HUGGING_FACE_HUB_TOKEN`, and `GITHUB_TOKEN` / `GH_TOKEN`. Credentials
|
|
76
|
+
are never portable manifest fields. Set `COMFYGIT_HOME` to select a different
|
|
77
|
+
workspace.
|
|
78
|
+
|
|
79
|
+
## Documentation and development
|
|
80
|
+
|
|
81
|
+
Use `cg -h` and `cg COMMAND -h` for the exact installed command options.
|
|
82
|
+
|
|
83
|
+
- [Quickstart](https://docs.comfygit.org/getting-started/quickstart/)
|
|
84
|
+
- [CLI reference](https://docs.comfygit.org/cli-reference/global-commands/)
|
|
85
|
+
- [Workflow resolution](https://docs.comfygit.org/user-guide/workflows/workflow-resolution/)
|
|
86
|
+
- [Studio/API serving](https://docs.comfygit.org/user-guide/serve-studio/serving-workflows/)
|
|
87
|
+
- [CLI architecture](docs/architecture.md)
|
|
88
|
+
- [Contributing](../../CONTRIBUTING.md)
|
|
89
|
+
- [Core library](../core/README.md)
|
|
90
|
+
|
|
91
|
+
The parser and router live in `comfygit_cli/cli.py`, handlers in
|
|
92
|
+
`global_commands.py` and `env_commands.py`, with strategies and formatting in
|
|
93
|
+
separate modules. Update the curated public docs when commands change. Generate
|
|
94
|
+
a parser-help snapshot with `make -C docs/comfygit-docs generate-cli` from the
|
|
95
|
+
monorepo root; it never overwrites those docs.
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
uv run pytest packages/cli/tests -q
|
|
99
|
+
make lint
|
|
100
|
+
```
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "comfygit"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.1"
|
|
4
4
|
description = "ComfyGit - Git-based environment management for ComfyUI"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.10"
|
|
7
7
|
dependencies = [
|
|
8
|
-
"comfygit-core[keyring]==0.7.
|
|
9
|
-
"comfygit-studio==0.7.
|
|
8
|
+
"comfygit-core[keyring]==0.7.1",
|
|
9
|
+
"comfygit-studio==0.7.1",
|
|
10
10
|
"argcomplete>=3.5.0",
|
|
11
11
|
"requests>=2.32.4",
|
|
12
12
|
]
|