Skip to content

Commit 3d5721c

Browse files
author
Alex J Lennon
committed
Rename package and repository to ai-lab-testing
- Update package name from lab-testing to ai-lab-testing - Update repository references from mcp-remote-testing to ai-lab-testing - Update cache directories to ~/.cache/ai-lab-testing - Update all documentation and configuration files - Update GitHub URLs and repository paths - Package builds successfully as ai_lab_testing-0.1.0
1 parent ce1d210 commit 3d5721c

File tree

20 files changed

+58
-58
lines changed

20 files changed

+58
-58
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
environment:
1717
name: pypi
18-
url: https://pypi.org/p/lab-testing
18+
url: https://pypi.org/p/ai-lab-testing
1919
permissions:
2020
id-token: write # IMPORTANT: this permission is needed for trusted publishing
2121

IMPROVEMENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
**Improvement**:
88
- Add structured logging (Python `logging` module)
99
- Log levels: DEBUG, INFO, WARNING, ERROR
10-
- Log to file (`~/.cache/lab-testing/logs/`) and optionally stderr
10+
- Log to file (`~/.cache/ai-lab-testing/logs/`) and optionally stderr
1111
- Include request IDs for tracing
1212
- Add metrics: tool call counts, success/failure rates, execution times
1313

PUBLISHING.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Publishing Guide
22

3-
This guide explains how to package and publish `lab-testing` to PyPI.
3+
This guide explains how to package and publish `ai-lab-testing` to PyPI.
44

55
## ⚠️ Alpha Quality Notice
66

@@ -35,15 +35,15 @@ Generate API tokens (recommended over passwords):
3535
**Test PyPI:**
3636
1. Go to https://test.pypi.org/manage/account/token/
3737
2. Click "Add API token"
38-
3. Name it (e.g., "lab-testing-testpypi")
39-
4. Scope: "Entire account" (or "Project: lab-testing" if you prefer)
38+
3. Name it (e.g., "ai-lab-testing-testpypi")
39+
4. Scope: "Entire account" (or "Project: ai-lab-testing" if you prefer)
4040
5. Copy the token (starts with `pypi-`)
4141

4242
**Production PyPI:**
4343
1. Go to https://pypi.org/manage/account/token/
4444
2. Click "Add API token"
45-
3. Name it (e.g., "lab-testing-pypi")
46-
4. Scope: "Entire account" (or "Project: lab-testing" if you prefer)
45+
3. Name it (e.g., "ai-lab-testing-pypi")
46+
4. Scope: "Entire account" (or "Project: ai-lab-testing" if you prefer)
4747
5. Copy the token (starts with `pypi-`)
4848

4949
**Security**: Store tokens securely. Never commit them to git.
@@ -58,8 +58,8 @@ python3.10 -m pip install --upgrade build twine
5858
### 4. Verify Package Name Availability
5959

6060
Before first publish, verify the package name is available:
61-
- Check https://pypi.org/project/lab-testing/ (should not exist or be yours)
62-
- Check https://test.pypi.org/project/lab-testing/ (should not exist or be yours)
61+
- Check https://pypi.org/project/ai-lab-testing/ (should not exist or be yours)
62+
- Check https://test.pypi.org/project/ai-lab-testing/ (should not exist or be yours)
6363

6464
## Configuration
6565

@@ -121,7 +121,7 @@ make publish-test
121121

122122
Then test installation:
123123
```bash
124-
python3.10 -m pip install --index-url https://test.pypi.org/simple/ lab-testing
124+
python3.10 -m pip install --index-url https://test.pypi.org/simple/ ai-lab-testing
125125
```
126126

127127
### Publish to Production PyPI
@@ -167,10 +167,10 @@ After publishing, users can install:
167167

168168
```bash
169169
# From PyPI
170-
python3.10 -m pip install lab-testing
170+
python3.10 -m pip install ai-lab-testing
171171

172172
# With dev dependencies
173-
python3.10 -m pip install "lab-testing[dev]"
173+
python3.10 -m pip install "ai-lab-testing[dev]"
174174
```
175175

176176
## Troubleshooting
@@ -233,7 +233,7 @@ PyPI supports trusted publishing via GitHub Actions. This is more secure than AP
233233
3. Select "GitHub" as the provider
234234
4. Enter:
235235
- Owner: `DynamicDevices`
236-
- Repository name: `mcp-remote-testing`
236+
- Repository name: `ai-lab-testing`
237237
- Workflow filename: `.github/workflows/build.yml`
238238
5. Click "Add"
239239

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Lab Testing MCP Server
22

3-
[![Tests](https://github.com/DynamicDevices/mcp-remote-testing/actions/workflows/tests.yml/badge.svg)](https://github.com/DynamicDevices/mcp-remote-testing/actions/workflows/tests.yml)
3+
[![Tests](https://github.com/DynamicDevices/ai-lab-testing/actions/workflows/tests.yml/badge.svg)](https://github.com/DynamicDevices/ai-lab-testing/actions/workflows/tests.yml)
44
[![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
55
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
66
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
@@ -19,18 +19,18 @@ MCP server exposing remote embedded hardware testing capabilities to AI assistan
1919

2020
```bash
2121
# Install from PyPI
22-
python3.10 -m pip install lab-testing
22+
python3.10 -m pip install ai-lab-testing
2323

2424
# Or with development dependencies
25-
python3.10 -m pip install "lab-testing[dev]"
25+
python3.10 -m pip install "ai-lab-testing[dev]"
2626
```
2727

2828
### From Source
2929

3030
```bash
3131
# Clone the repository
32-
git clone https://github.com/DynamicDevices/mcp-remote-testing.git
33-
cd mcp-remote-testing
32+
git clone https://github.com/DynamicDevices/ai-lab-testing.git
33+
cd ai-lab-testing
3434

3535
# Install in development mode
3636
python3.10 -m pip install -e ".[dev]"
@@ -46,11 +46,11 @@ Add to Cursor MCP config (`~/.cursor/mcp.json`):
4646
```json
4747
{
4848
"mcpServers": {
49-
"lab-testing": {
49+
"ai-lab-testing": {
5050
"command": "python3.10",
51-
"args": ["/path/to/lab-testing/lab_testing/server.py"],
51+
"args": ["/path/to/ai-lab-testing/lab_testing/server.py"],
5252
"env": {
53-
"LAB_TESTING_ROOT": "/path/to/lab-testing",
53+
"LAB_TESTING_ROOT": "/path/to/ai-lab-testing",
5454
"VPN_CONFIG_PATH": "/path/to/wg0.conf"
5555
}
5656
}

ROADMAP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def setup_logger(name: str = "lab_testing") -> logging.Logger:
2424
logger.setLevel(logging.DEBUG)
2525

2626
# File handler
27-
log_dir = Path.home() / ".cache" / "lab-testing" / "logs"
27+
log_dir = Path.home() / ".cache" / "ai-lab-testing" / "logs"
2828
log_dir.mkdir(parents=True, exist_ok=True)
2929
file_handler = logging.FileHandler(log_dir / "server.log")
3030
file_handler.setLevel(logging.DEBUG)

docs/SECURITY.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Credential Management
44

5-
**No secrets in repository**: Credentials are cached in `~/.cache/lab-testing/credentials.json` (user's home directory, not in repo).
5+
**No secrets in repository**: Credentials are cached in `~/.cache/ai-lab-testing/credentials.json` (user's home directory, not in repo).
66

77
### Authentication Preferences
88

@@ -22,7 +22,7 @@
2222

2323
### Credential Cache
2424

25-
- Location: `~/.cache/lab-testing/credentials.json`
25+
- Location: `~/.cache/ai-lab-testing/credentials.json`
2626
- Permissions: 600 (read/write owner only)
2727
- Format: JSON with device_id:credential_type keys
2828
- Never committed to repository
@@ -33,5 +33,5 @@
3333
- Enable passwordless sudo for debugging convenience
3434
- Use password caching only when keys unavailable
3535
- Regularly rotate credentials if passwords used
36-
- Review credential cache: `~/.cache/lab-testing/credentials.json`
36+
- Review credential cache: `~/.cache/ai-lab-testing/credentials.json`
3737

docs/SETUP.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Uses existing lab testing framework:
2525

2626
### Environment Variables
2727

28-
- `LAB_TESTING_ROOT`: Path to lab testing framework (default: `/data_drive/esl/lab-testing`)
28+
- `LAB_TESTING_ROOT`: Path to lab testing framework (default: `/data_drive/esl/ai-lab-testing`)
2929
- `VPN_CONFIG_PATH`: Path to WireGuard config file (optional, auto-detected if not set)
3030

3131
### VPN Configuration
@@ -48,10 +48,10 @@ Add to `~/.cursor/mcp.json`:
4848
```json
4949
{
5050
"mcpServers": {
51-
"lab-testing": {
51+
"ai-lab-testing": {
5252
"command": "python3.10",
5353
"args": ["/absolute/path/to/lab_testing/server.py"],
54-
"env": {"LAB_TESTING_ROOT": "/data_drive/esl/lab-testing"}
54+
"env": {"LAB_TESTING_ROOT": "/data_drive/esl/ai-lab-testing"}
5555
}
5656
}
5757
}

docs/VPN_SETUP.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ Or in Cursor MCP config:
2828
```json
2929
{
3030
"mcpServers": {
31-
"lab-testing": {
31+
"ai-lab-testing": {
3232
"command": "python3.10",
3333
"args": ["/path/to/lab_testing/server.py"],
3434
"env": {
35-
"LAB_TESTING_ROOT": "/path/to/lab-testing",
35+
"LAB_TESTING_ROOT": "/path/to/ai-lab-testing",
3636
"VPN_CONFIG_PATH": "/path/to/your/wg0.conf"
3737
}
3838
}
@@ -304,5 +304,5 @@ AllowedIPs = 192.168.2.0/24
304304

305305
- Use MCP tool: `vpn_setup_instructions` for detailed help
306306
- Check WireGuard documentation: https://www.wireguard.com/
307-
- Check server logs: `~/.cache/lab-testing/logs/`
307+
- Check server logs: `~/.cache/ai-lab-testing/logs/`
308308

lab_testing/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
from typing import Optional
1111

1212
# Default paths - can be overridden via environment variables
13-
DEFAULT_LAB_TESTING_ROOT = Path("/data_drive/esl/lab-testing")
13+
DEFAULT_LAB_TESTING_ROOT = Path("/data_drive/esl/ai-lab-testing")
1414
LAB_TESTING_ROOT = Path(os.getenv("LAB_TESTING_ROOT", DEFAULT_LAB_TESTING_ROOT))
1515

1616
# Configuration file paths
1717
CONFIG_DIR = LAB_TESTING_ROOT / "config"
1818
SECRETS_DIR = LAB_TESTING_ROOT / "secrets"
1919
SCRIPTS_DIR = LAB_TESTING_ROOT / "scripts" / "local"
2020
LOGS_DIR = LAB_TESTING_ROOT / "logs"
21-
CACHE_DIR = Path.home() / ".cache" / "lab-testing"
21+
CACHE_DIR = Path.home() / ".cache" / "ai-lab-testing"
2222

2323
# Key configuration files
2424
LAB_DEVICES_JSON = CONFIG_DIR / "lab_devices.json"

lab_testing/resources/help.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def get_help_content() -> Dict[str, Any]:
7373
"health://status": "Server health, metrics, SSH pool status, and uptime",
7474
},
7575
"configuration": {
76-
"lab_testing_root": "Path to lab testing framework (default: /data_drive/esl/lab-testing)",
76+
"lab_testing_root": "Path to lab testing framework (default: /data_drive/esl/ai-lab-testing)",
7777
"device_config": "Device inventory: {lab_testing_root}/config/lab_devices.json",
7878
"vpn_config": "VPN config: {lab_testing_root}/secrets/wg0.conf",
7979
"environment": "Override with LAB_TESTING_ROOT environment variable",

0 commit comments

Comments
 (0)