Skip to content

Commit 76a7609

Browse files
Nicer tui setup colors for manual json
1 parent ebfb0b9 commit 76a7609

File tree

4 files changed

+19
-11
lines changed

4 files changed

+19
-11
lines changed

.github/workflows/install-matrix.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
os: [macos-14, ubuntu-24.04]
3434
runs-on: ${{ matrix.os }}
3535
steps:
36-
- name: Curl installer smoke
36+
- name: Curl installer smoke test
3737
shell: bash
3838
run: |
3939
set -euxo pipefail

docs/testing_status.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ Notes:
1919

2020
High-level summary of automation coverage for each install path and platform.
2121

22-
| Install method | macOS | Linux (debian-based) | Windows |
23-
|----------------------|----------------------------------------|----------------------|-------------|
24-
| direct uvx | CI | CI | Manual only |
25-
| curl pipe bash | CI | CI | None |
26-
| clone & make run | CI | CI | None |
27-
| clone & docker_run | CI (No nested virtualization possible) | CI | Manual only |
22+
| Install method | macOS | Linux (debian-based) | Windows |
23+
|----------------------|---------------------------------|----------------------|-------------|
24+
| direct uvx | CI | CI | Manual only |
25+
| curl pipe bash | CI | CI | None |
26+
| clone & make run | CI | CI | None |
27+
| clone & docker_run | None (no nested virtualization) | CI | Manual only |
2828

2929
Notes:
3030

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "open-edison"
3-
version = "0.1.44"
3+
version = "0.1.45"
44
description = "Open-source MCP security, aggregation, and monitoring. Single-user, self-hosted MCP proxy."
55
readme = "README.md"
66
authors = [

src/setup_tui/main.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ def handle_mcp_source(source: CLIENT, *, dry_run: bool = False) -> list[MCPServe
4646
verified_configs: list[MCPServerConfig] = []
4747

4848
for config in configs:
49-
print(f"Verifying the configuration for {config.name}... (TODO)")
49+
print(f"Verifying the configuration for {config.name}... ")
5050
result = verify_mcp_server(config)
5151
if result:
52+
print(f"The configuration for {config.name} is valid!")
5253
verified_configs.append(config)
5354
else:
5455
print(
@@ -95,8 +96,10 @@ def show_manual_setup_screen() -> None:
9596
9697
To set up open-edison manually in other clients, find your client's MCP config
9798
JSON file and add the following configuration:
99+
"""
98100

99-
"mcpServers": {
101+
json_snippet = """{
102+
"mcpServers": {
100103
"open-edison": {
101104
"command": "npx",
102105
"args": [
@@ -108,12 +111,17 @@ def show_manual_setup_screen() -> None:
108111
"Authorization: Bearer dev-api-key-change-me"
109112
]
110113
}
111-
},
114+
}
115+
}"""
112116

117+
after_text = """
113118
Make sure to replace 'dev-api-key-change-me' with your actual API key.
114119
"""
115120

116121
print(manual_setup_text)
122+
# Use questionary's print with style for color
123+
questionary.print(json_snippet, style="bold fg:ansigreen")
124+
print(after_text)
117125

118126

119127
def run(*, dry_run: bool = False) -> None:

0 commit comments

Comments
 (0)