cortexctl 0.1.0.dev20260904071038__tar.gz → 1.0.0__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.
- {cortexctl-0.1.0.dev20260904071038 → cortexctl-1.0.0}/PKG-INFO +4 -4
- {cortexctl-0.1.0.dev20260904071038 → cortexctl-1.0.0}/README.md +3 -3
- {cortexctl-0.1.0.dev20260904071038 → cortexctl-1.0.0}/cortex_cli/main.py +1 -1
- {cortexctl-0.1.0.dev20260904071038 → cortexctl-1.0.0}/pyproject.toml +1 -1
- {cortexctl-0.1.0.dev20260904071038 → cortexctl-1.0.0}/tests/test_cli.py +2 -2
- {cortexctl-0.1.0.dev20260904071038 → cortexctl-1.0.0}/uv.lock +1 -1
- {cortexctl-0.1.0.dev20260904071038 → cortexctl-1.0.0}/.gitignore +0 -0
- {cortexctl-0.1.0.dev20260904071038 → cortexctl-1.0.0}/cortex_cli/__init__.py +0 -0
- {cortexctl-0.1.0.dev20260904071038 → cortexctl-1.0.0}/cortex_cli/__main__.py +0 -0
- {cortexctl-0.1.0.dev20260904071038 → cortexctl-1.0.0}/cortex_cli/client.py +0 -0
- {cortexctl-0.1.0.dev20260904071038 → cortexctl-1.0.0}/cortex_cli/config.py +0 -0
- {cortexctl-0.1.0.dev20260904071038 → cortexctl-1.0.0}/cortex_cli/registry.py +0 -0
- {cortexctl-0.1.0.dev20260904071038 → cortexctl-1.0.0}/tests/test_packaging.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: cortexctl
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1.0.0
|
|
4
4
|
Summary: Cortex knowledge base CLI (console command: cortex)
|
|
5
5
|
Project-URL: Homepage, https://github.com/eeeming/Cortex
|
|
6
6
|
Project-URL: Repository, https://github.com/eeeming/Cortex
|
|
@@ -104,9 +104,9 @@ cortex vector-index rebuild --workspace-id <workspace-id> --yes --json
|
|
|
104
104
|
# 默认安装最新「正式版」(不含 .dev 预发布)
|
|
105
105
|
uv tool install cortexctl
|
|
106
106
|
|
|
107
|
-
# 测试通道:选最新
|
|
108
|
-
uv tool install --prerelease=allow "cortexctl>=
|
|
109
|
-
# 或钉死某个 CI 号:uv tool install --prerelease=allow "cortexctl==
|
|
107
|
+
# 测试通道:选最新 1.0.dev*(有正式 1.0 时,只加 --prerelease=allow 仍会装正式版)
|
|
108
|
+
uv tool install --prerelease=allow "cortexctl>=1.0.dev0,<1.0"
|
|
109
|
+
# 或钉死某个 CI 号:uv tool install --prerelease=allow "cortexctl==1.0.dev20260811153045"
|
|
110
110
|
|
|
111
111
|
# 升级正式版
|
|
112
112
|
uv tool upgrade cortexctl
|
|
@@ -93,9 +93,9 @@ cortex vector-index rebuild --workspace-id <workspace-id> --yes --json
|
|
|
93
93
|
# 默认安装最新「正式版」(不含 .dev 预发布)
|
|
94
94
|
uv tool install cortexctl
|
|
95
95
|
|
|
96
|
-
# 测试通道:选最新
|
|
97
|
-
uv tool install --prerelease=allow "cortexctl>=
|
|
98
|
-
# 或钉死某个 CI 号:uv tool install --prerelease=allow "cortexctl==
|
|
96
|
+
# 测试通道:选最新 1.0.dev*(有正式 1.0 时,只加 --prerelease=allow 仍会装正式版)
|
|
97
|
+
uv tool install --prerelease=allow "cortexctl>=1.0.dev0,<1.0"
|
|
98
|
+
# 或钉死某个 CI 号:uv tool install --prerelease=allow "cortexctl==1.0.dev20260811153045"
|
|
99
99
|
|
|
100
100
|
# 升级正式版
|
|
101
101
|
uv tool upgrade cortexctl
|
|
@@ -71,7 +71,7 @@ def test_cli_version_json(capsys) -> None:
|
|
|
71
71
|
|
|
72
72
|
assert exit_code == EXIT_SUCCESS
|
|
73
73
|
payload = json.loads(capsys.readouterr().out)
|
|
74
|
-
assert payload == {"cli": "cortex", "version": "
|
|
74
|
+
assert payload == {"cli": "cortex", "version": "1.0"}
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
def test_cli_global_json_before_subcommand(capsys) -> None:
|
|
@@ -79,7 +79,7 @@ def test_cli_global_json_before_subcommand(capsys) -> None:
|
|
|
79
79
|
|
|
80
80
|
assert exit_code == EXIT_SUCCESS
|
|
81
81
|
payload = json.loads(capsys.readouterr().out)
|
|
82
|
-
assert payload == {"cli": "cortex", "version": "
|
|
82
|
+
assert payload == {"cli": "cortex", "version": "1.0"}
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
def test_cli_commands_json(capsys) -> None:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|